/*
Theme Name: Greenleaf Armenia
Theme URI: https://greenleaf.am
Description: Child theme for Kadence, styled to the official Greenleaf brandbook for Greenleaf Armenia.
Author: Greenleaf Armenia
Template: kadence
Version: 1.0.0
Text Domain: greenleaf-armenia
*/

:root{
  --gl-green:#4EAE36;
  --gl-lime:#86B726;
  --gl-blue:#30A8D7;
  --gl-ink:#333533;
  --gl-white:#FFFFFF;
  --gl-soft:#F5F9F2;
  --gl-border:#E6EDE3;
  --gl-radius:18px;
  --gl-shadow:0 12px 35px rgba(51,53,51,.08);
}

html{scroll-behavior:smooth}
body{
  color:var(--gl-ink);
  background:var(--gl-white);
  font-family:Futura,"Trebuchet MS",Arial,sans-serif;
  line-height:1.6;
}

h1,h2,h3,h4,h5,h6,
.site-title,
.woocommerce-loop-product__title{
  color:var(--gl-ink);
  font-family:Futura,"Trebuchet MS",Arial,sans-serif;
  font-weight:700;
  letter-spacing:-.02em;
}

a{color:var(--gl-green)}
a:hover{color:var(--gl-lime)}

/* Header */
.site-header,
#masthead{
  background:#fff;
  border-bottom:1px solid var(--gl-border);
  box-shadow:0 4px 20px rgba(51,53,51,.04);
}
.site-branding img,.custom-logo{max-height:64px;width:auto}
.main-navigation a,
.header-navigation a{
  color:var(--gl-ink)!important;
  font-weight:600;
}
.main-navigation a:hover,
.header-navigation a:hover,
.current-menu-item>a{color:var(--gl-green)!important}

/* Buttons */
button,
.button,
.wp-element-button,
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button{
  background:var(--gl-green)!important;
  color:#fff!important;
  border:0!important;
  border-radius:999px!important;
  padding:.85rem 1.35rem!important;
  font-weight:700!important;
  box-shadow:none!important;
  transition:.2s ease!important;
}
button:hover,
.button:hover,
.wp-element-button:hover,
.wp-block-button__link:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover{
  background:var(--gl-lime)!important;
  transform:translateY(-1px);
}

/* Forms */
input[type=text],input[type=email],input[type=tel],input[type=number],input[type=password],select,textarea{
  border:1px solid var(--gl-border)!important;
  border-radius:12px!important;
  min-height:46px;
  background:#fff!important;
}
input:focus,select:focus,textarea:focus{border-color:var(--gl-green)!important;box-shadow:0 0 0 3px rgba(78,174,54,.12)!important}

/* Homepage helpers */
.gl-hero{
  background:linear-gradient(110deg,#F6FBF3 0%,#FFFFFF 62%);
  border-radius:28px;
  overflow:hidden;
  padding:clamp(32px,6vw,82px);
  position:relative;
}
.gl-hero:after{
  content:"";
  position:absolute;
  width:340px;height:340px;border-radius:50%;
  right:-120px;top:-120px;
  background:rgba(48,168,215,.10);
}
.gl-kicker{color:var(--gl-green);font-weight:700;text-transform:uppercase;letter-spacing:.08em;font-size:.82rem}
.gl-section-title{font-size:clamp(28px,4vw,46px);margin-bottom:24px}
.gl-soft-section{background:var(--gl-soft);border-radius:28px;padding:clamp(24px,4vw,52px)}
.gl-accent-line{width:72px;height:5px;border-radius:99px;background:linear-gradient(90deg,var(--gl-green),var(--gl-blue));margin:12px 0 24px}

/* Cards */
.gl-card,
.woocommerce ul.products li.product{
  background:#fff;
  border:1px solid var(--gl-border);
  border-radius:var(--gl-radius);
  padding:16px;
  box-shadow:0 8px 26px rgba(51,53,51,.04);
  transition:.2s ease;
}
.gl-card:hover,
.woocommerce ul.products li.product:hover{transform:translateY(-3px);box-shadow:var(--gl-shadow)}
.woocommerce ul.products li.product img{border-radius:14px;margin-bottom:14px}
.woocommerce ul.products li.product .price{color:var(--gl-green)!important;font-size:1.1rem;font-weight:700}
.woocommerce span.onsale{background:var(--gl-blue)!important;color:#fff!important;border-radius:999px!important;min-height:auto!important;line-height:1!important;padding:8px 10px!important}

/* Product page */
.single-product div.product .product_title{font-size:clamp(30px,4vw,48px)}
.single-product div.product p.price,
.single-product div.product span.price{color:var(--gl-green)!important;font-weight:800}
.woocommerce-product-gallery__wrapper img{border-radius:20px}
.woocommerce-tabs ul.tabs li.active a{color:var(--gl-green)!important}

/* Notices */
.woocommerce-message,.woocommerce-info{border-top-color:var(--gl-green)!important;background:var(--gl-soft)!important}
.woocommerce-message::before,.woocommerce-info::before{color:var(--gl-green)!important}

/* Footer */
.site-footer,#colophon{
  margin-top:64px;
  background:var(--gl-green)!important;
  color:#fff!important;
}
.site-footer a,#colophon a{color:#fff!important}
.site-footer a:hover,#colophon a:hover{color:#eaffdf!important}

/* Utility brand classes */
.gl-bg-green{background:var(--gl-green)!important;color:#fff!important}
.gl-bg-lime{background:var(--gl-lime)!important;color:#fff!important}
.gl-bg-blue{background:var(--gl-blue)!important;color:#fff!important}
.gl-text-green{color:var(--gl-green)!important}
.gl-text-blue{color:var(--gl-blue)!important}

@media(max-width:767px){
  .site-branding img,.custom-logo{max-height:48px}
  .gl-hero{border-radius:20px;padding:28px 20px}
  .woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
