/* ============================================================
   Green Haven — main stylesheet
   Tokens live in style.css (:root). This file is structure + skin.
   ============================================================ */

/* ---- Self-hosted fonts ---- */
@font-face{font-family:'Poppins';src:url('../fonts/poppins-600.woff2') format('woff2');font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:'Poppins';src:url('../fonts/poppins-700.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:'Inter';src:url('../fonts/inter-400.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Inter';src:url('../fonts/inter-500.woff2') format('woff2');font-weight:500;font-style:normal;font-display:swap}

/* ---- Reset-ish base ---- */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:var(--font-body);font-size:var(--fs-body);line-height:var(--lh-body);color:var(--gh-ink);background:var(--gh-white);-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
h1,h2,h3,h4{font-family:var(--font-head);line-height:var(--lh-head);color:var(--gh-green);margin:0 0 .5em}
p{margin:0 0 1em}
ul{margin:0;padding:0;list-style:none}
:focus-visible{outline:2px solid var(--gh-gold);outline-offset:3px}
.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}

.gh-container{width:min(100% - 2.5rem,var(--container));margin-inline:auto}
.gh-section{padding-block:var(--space)}
.gh-skip{position:absolute;left:-999px;top:0;background:var(--gh-green);color:#fff;padding:.75rem 1rem;z-index:200}
.gh-skip:focus{left:1rem}

/* ---- Buttons ---- */
.gh-btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:48px;padding:.75rem 1.6rem;border-radius:var(--radius);font-family:var(--font-head);font-weight:600;font-size:.95rem;border:2px solid transparent;cursor:pointer;transition:transform var(--transition),background var(--transition),color var(--transition)}
.gh-btn:hover{transform:translateY(-2px)}
.gh-btn--primary{background:var(--gh-green);color:#fff}
.gh-btn--primary:hover{background:var(--gh-green-700)}
.gh-btn--gold{background:var(--gh-gold);color:var(--gh-green-700)}
.gh-btn--ghost{background:transparent;border-color:var(--gh-gold);color:var(--gh-green)}
.gh-btn--ghost:hover{background:var(--gh-gold);color:var(--gh-green-700)}

/* ---- Eyebrow + section heading ---- */
.gh-eyebrow{display:inline-block;font-family:var(--font-head);font-weight:600;font-size:.72rem;letter-spacing:.18em;text-transform:uppercase;color:var(--gh-gold);margin-bottom:.9rem}
.gh-eyebrow--light{color:var(--gh-gold)}
.gh-section-heading{max-width:60ch;margin-bottom:2.5rem}
.gh-section-heading__title{font-size:var(--fs-h2)}
.gh-section-heading__intro{color:var(--gh-muted);margin:0}

/* ---- Announcement + header ---- */
.gh-announce{background:var(--gh-green-700);color:#fff;font-size:.8rem;text-align:center;padding:.55rem 0;letter-spacing:.02em}
.gh-header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.92);backdrop-filter:saturate(1.2) blur(10px);border-bottom:1px solid var(--gh-line);transition:box-shadow var(--transition)}
.gh-header.is-scrolled{box-shadow:var(--shadow-sm)}
.gh-header__inner{display:flex;align-items:center;gap:1.5rem;min-height:72px}
.gh-logo{display:flex;align-items:center;gap:.6rem;font-family:var(--font-head);font-weight:700;color:var(--gh-green)}
.gh-logo__mark{width:38px;height:38px;display:grid;place-items:center;background:var(--gh-green);color:var(--gh-gold);border-radius:50%;font-size:1.1rem}
.gh-logo__text em{display:block;font-style:normal;font-weight:500;font-size:.7rem;letter-spacing:.16em;text-transform:uppercase;color:var(--gh-gold)}
.gh-nav{margin-inline-start:auto}
.gh-nav__list{display:flex;gap:1.4rem;font-family:var(--font-head);font-weight:500;font-size:.92rem}
.gh-nav__list a{padding:.4rem 0;position:relative;color:var(--gh-ink)}
.gh-nav__list a::after{content:"";position:absolute;left:0;bottom:-2px;height:2px;width:0;background:var(--gh-gold);transition:width var(--transition)}
.gh-nav__list a:hover::after,.gh-nav__list .current-menu-item>a::after{width:100%}
.gh-header__actions{display:flex;align-items:center;gap:.75rem}
.gh-icon-btn{position:relative;width:42px;height:42px;display:grid;place-items:center;border:0;background:transparent;color:var(--gh-green);border-radius:50%;cursor:pointer;transition:background var(--transition)}
.gh-icon-btn:hover{background:var(--gh-beige)}
.gh-cart-count{position:absolute;top:4px;right:4px;min-width:18px;height:18px;padding:0 4px;display:grid;place-items:center;background:var(--gh-gold);color:var(--gh-green-700);border-radius:9px;font-size:.65rem;font-weight:700}
.gh-cart-count[data-count="0"]{display:none}
.gh-burger{display:none;flex-direction:column;gap:5px;width:42px;height:42px;border:0;background:transparent;cursor:pointer;align-items:center;justify-content:center}
.gh-burger span{width:22px;height:2px;background:var(--gh-green);transition:transform var(--transition)}

/* ---- Hero ---- */
.gh-hero{position:relative;min-height:clamp(520px,72vh,760px);display:flex;align-items:center;color:#fff;overflow:hidden}
.gh-hero__media{position:absolute;inset:0}
.gh-hero__img{width:100%;height:100%;object-fit:cover}
.gh-hero__overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(22,56,44,.82),rgba(22,56,44,.35) 65%,transparent)}
.gh-hero__content{position:relative;max-width:640px}
.gh-hero__title{color:#fff;font-size:var(--fs-display);margin-bottom:1rem}
.gh-hero__sub{font-size:1.1rem;color:rgba(255,255,255,.9);max-width:48ch}
.gh-hero__cta{display:flex;flex-wrap:wrap;gap:.9rem;margin:1.6rem 0 2rem}
.gh-hero__badges{display:flex;flex-wrap:wrap;gap:1.2rem;font-size:.82rem}
.gh-hero__badges li{position:relative;padding-inline-start:1.1rem}
.gh-hero__badges li::before{content:"";position:absolute;left:0;top:.45em;width:7px;height:7px;border-radius:50%;background:var(--gh-gold)}

/* ---- Category cards ---- */
.gh-categories{background:var(--gh-beige)}
.gh-categories__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--gap)}
.gh-cat-card{position:relative;aspect-ratio:4/5;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-sm)}
.gh-cat-card__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .6s ease}
.gh-cat-card:hover .gh-cat-card__img{transform:scale(1.06)}
.gh-cat-card__overlay{position:absolute;inset:0;background:linear-gradient(to top,rgba(22,56,44,.82),transparent 60%)}
.gh-cat-card__body{position:absolute;left:0;bottom:0;padding:1.3rem;color:#fff}
.gh-cat-card__name{display:block;font-family:var(--font-head);font-weight:600;font-size:1.25rem}
.gh-cat-card__count{font-size:.78rem;color:var(--gh-gold)}

/* ---- Product cards + slider ---- */
.gh-slider{overflow:hidden}
.gh-slider__track,ul.products{display:grid;grid-template-columns:repeat(4,1fr);gap:var(--gap);margin:0;padding:0}
.gh-card{position:relative;background:#fff;border:1px solid var(--gh-line);border-radius:var(--radius);overflow:hidden;transition:box-shadow var(--transition),transform var(--transition);list-style:none}
.gh-card:hover{box-shadow:var(--shadow);transform:translateY(-4px)}
.gh-card__media{display:block;aspect-ratio:1;background:var(--gh-beige)}
.gh-card__media img{width:100%;height:100%;object-fit:cover}
.gh-card__badges{position:absolute;top:.8rem;left:.8rem;display:flex;gap:.4rem;z-index:2}
.gh-badge{font-size:.65rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;padding:.25rem .55rem;border-radius:99px}
.gh-badge--sale{background:var(--gh-gold);color:var(--gh-green-700)}
.gh-badge--new{background:var(--gh-green);color:#fff}
.gh-card__body{padding:1rem 1.1rem 1.2rem}
.gh-card__title{font-size:1rem;margin:0 0 .35rem}
.gh-card__title a{color:var(--gh-ink)}
.gh-card__price{font-family:var(--font-head);font-weight:600;color:var(--gh-green);margin-bottom:.7rem}
.gh-card__price del{color:var(--gh-muted);font-weight:400;margin-inline-end:.4rem}
.gh-card .gh-btn{width:100%}
.gh-featured__more{text-align:center;margin-top:2.2rem}

/* ---- Why us ---- */
.gh-why{background:var(--gh-green);color:#fff}
.gh-why .gh-section-heading__title,.gh-why .gh-eyebrow{color:var(--gh-gold)}
.gh-why .gh-section-heading__intro{color:rgba(255,255,255,.8)}
.gh-why__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:var(--gap)}
.gh-why__item{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);border-radius:var(--radius);padding:1.6rem}
.gh-why__item h3{color:#fff;font-size:1.1rem}
.gh-why__item p{color:rgba(255,255,255,.8);margin:0;font-size:.9rem}

/* ---- Subscriptions ---- */
.gh-subs{background:var(--gh-beige)}
.gh-subs__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--gap)}
.gh-sub-card{position:relative;background:#fff;border:1px solid var(--gh-line);border-radius:var(--radius);padding:2rem;text-align:center}
.gh-sub-card--featured{border-color:var(--gh-gold);box-shadow:var(--shadow)}
.gh-sub-card__flag{position:absolute;top:-12px;left:50%;transform:translateX(-50%);background:var(--gh-gold);color:var(--gh-green-700);font-size:.68rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;padding:.3rem .8rem;border-radius:99px}
.gh-sub-card__price{font-family:var(--font-head);font-weight:700;font-size:2rem;color:var(--gh-green);margin:.4rem 0}
.gh-sub-card__price span{font-size:.9rem;color:var(--gh-muted);font-weight:500}
.gh-sub-card .gh-btn{margin-top:1rem}

/* ---- Testimonials ---- */
.gh-testimonials__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--gap)}
.gh-quote{margin:0;background:var(--gh-beige);border-radius:var(--radius);padding:1.8rem;border-top:3px solid var(--gh-gold)}
.gh-quote p{font-size:1.02rem}
.gh-quote footer strong{display:block;color:var(--gh-green);font-family:var(--font-head)}
.gh-quote footer span{font-size:.82rem;color:var(--gh-muted)}

/* ---- Journal ---- */
.gh-journal__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--gap)}
.gh-post-card{border:1px solid var(--gh-line);border-radius:var(--radius);overflow:hidden;background:#fff}
.gh-post-card__media{display:block;aspect-ratio:16/10;background:var(--gh-beige)}
.gh-post-card__media img{width:100%;height:100%;object-fit:cover}
.gh-post-card__body{padding:1.2rem}
.gh-post-card__body time{font-size:.75rem;color:var(--gh-muted);text-transform:uppercase;letter-spacing:.06em}
.gh-post-card__body h3{font-size:1.1rem;margin:.4rem 0 .6rem}
.gh-post-card__body h3 a{color:var(--gh-ink)}
.gh-link{color:var(--gh-green);font-weight:600;font-family:var(--font-head);font-size:.85rem}
.gh-link::after{content:" →"}

/* ---- Newsletter ---- */
.gh-newsletter{background:var(--gh-green)}
.gh-newsletter__inner{display:grid;grid-template-columns:1fr 1fr;gap:2.5rem;align-items:center}
.gh-newsletter h2,.gh-newsletter p{color:#fff}
.gh-newsletter p{color:rgba(255,255,255,.82);margin:0}
.gh-newsletter__form{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center}
.gh-newsletter__form input{flex:1;min-width:220px;min-height:48px;padding:.75rem 1rem;border:1px solid rgba(255,255,255,.3);border-radius:var(--radius);background:rgba(255,255,255,.95);font-size:1rem}
.gh-newsletter__msg{width:100%;margin:0;font-size:.85rem;color:var(--gh-gold)}

/* ---- Footer ---- */
.gh-footer{background:var(--gh-green-700);color:rgba(255,255,255,.82);padding-top:var(--space)}
.gh-footer__top{display:grid;grid-template-columns:1.4fr 3fr;gap:2.5rem;padding-bottom:2.5rem;border-bottom:1px solid rgba(255,255,255,.12)}
.gh-footer__brand p{font-size:.9rem;margin:1rem 0}
.gh-footer .gh-logo,.gh-footer .gh-logo__text{color:#fff}
.gh-footer__social{display:flex;gap:1rem;font-size:.85rem;color:var(--gh-gold)}
.gh-footer__cols{display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem}
.footer-widget__title,.gh-footer__col h4{color:#fff;font-size:.85rem;text-transform:uppercase;letter-spacing:.1em;margin-bottom:1rem}
.gh-footer__col ul li{margin-bottom:.5rem;font-size:.9rem}
.gh-footer__col a:hover{color:var(--gh-gold)}
.gh-footer__bottom{display:flex;flex-wrap:wrap;justify-content:space-between;gap:1rem;padding:1.4rem 0;font-size:.8rem}

/* ---- WhatsApp float ---- */
.gh-whatsapp{position:fixed;right:1.2rem;bottom:1.2rem;width:56px;height:56px;display:grid;place-items:center;background:#25D366;color:#fff;border-radius:50%;box-shadow:0 8px 24px rgba(0,0,0,.2);z-index:90;transition:transform var(--transition)}
.gh-whatsapp:hover{transform:scale(1.08)}

/* ---- Threshold bar (cart) ---- */
.gh-threshold{background:var(--gh-beige);border-radius:var(--radius);padding:1rem 1.2rem;margin-bottom:1.5rem}
.gh-threshold p{margin:0 0 .5rem;font-size:.9rem;color:var(--gh-green)}
.gh-threshold__track{height:8px;background:var(--gh-line);border-radius:99px;overflow:hidden}
.gh-threshold__track span{display:block;height:100%;background:var(--gh-gold);transition:width .5s ease}

/* ---- Specs table ---- */
.gh-specs{width:100%;border-collapse:collapse}
.gh-specs th,.gh-specs td{text-align:start;padding:.6rem .8rem;border-bottom:1px solid var(--gh-line);font-size:.92rem}
.gh-specs th{color:var(--gh-green);width:40%}

/* ---- Page / article ---- */
.gh-page,.gh-single,.gh-archive,.gh-search,.gh-blog,.gh-404{padding-block:var(--space)}
.gh-404{text-align:center}
.gh-article__body{max-width:70ch;margin-inline:auto;font-size:1.05rem}
.gh-article__media{margin:2rem 0;border-radius:var(--radius);overflow:hidden}

/* ---- Responsive ---- */
@media(max-width:1024px){
	.gh-slider__track,ul.products{grid-template-columns:repeat(3,1fr)}
	.gh-why__grid{grid-template-columns:repeat(2,1fr)}
	.gh-footer__cols{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:820px){
	.gh-nav,.gh-header__cta{display:none}
	.gh-burger{display:flex}
	.gh-nav.is-open{display:block;position:absolute;top:100%;left:0;right:0;background:#fff;border-bottom:1px solid var(--gh-line);padding:1rem 1.25rem}
	.gh-nav.is-open .gh-nav__list{flex-direction:column;gap:.4rem}
	.gh-categories__grid,.gh-subs__grid,.gh-testimonials__grid,.gh-journal__grid{grid-template-columns:1fr 1fr}
	.gh-slider__track,ul.products{grid-template-columns:1fr 1fr}
	.gh-newsletter__inner,.gh-footer__top{grid-template-columns:1fr}
}
@media(max-width:520px){
	.gh-categories__grid,.gh-subs__grid,.gh-testimonials__grid,.gh-journal__grid,.gh-slider__track,ul.products,.gh-why__grid,.gh-footer__cols{grid-template-columns:1fr}
	.gh-hero__title{font-size:2.2rem}
}

/* ---- Reduced motion ---- */
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
