/* ============================================================
   HERBACALS — Design System
   Palette: Forest Green / Warm Parchment / Teal Accent
   Fonts: Cormorant Garamond (display) + Jost (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=Jost:wght@300;400;500;600&display=swap');

/* ── Tokens ── */
:root {
  --cream:        #F7F4EF;
  --cream-dark:   #EDE9E1;
  --forest:       #263B2C;
  --forest-light: #3D5C46;
  --sage:         #5A7D62;
  --teal:         #5BBFB0;
  --teal-dark:    #3FA090;
  --stone:        #C4B89A;
  --stone-light:  #E2DBCE;
  --amber:        #8B6914;
  --text:         #1C1C1A;
  --text-muted:   #5C5955;  /* lifted from #6E6B63 → passes WCAG AA on cream */
  --white:        #FFFFFF;
  --error:        #C0392B;
  --success:      #27AE60;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', system-ui, sans-serif;

  --radius-sm:  4px;
  --radius:     8px;
  --radius-md:  12px;       /* fills the gap — used in hero cards, etc. */
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-pill: 999px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.08);
  --shadow:     0 4px 16px rgba(0,0,0,.10);
  --shadow-md:  0 8px 28px rgba(0,0,0,.14);
  --shadow-lg:  0 12px 40px rgba(0,0,0,.16);

  --transition: all .3s cubic-bezier(.4,0,.2,1);
  --transition-slow: all .6s cubic-bezier(.4,0,.2,1);

  --header-h: 80px;
  --container: 1280px;
  --gap: 2rem;
}

/* Scoped overflow containment — does NOT clip fixed/sticky children */
.hero, .trust-strip, .newsletter,
.section, .section--sm, .section--lg,
.section--dark, .section--cream,
.page-hero, .privacy-page, .cart-page,
.checkout-page, .account-page, .blog-single-layout,
.product-single, .shop-layout {
  overflow-x: clip;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
  max-width: 100vw;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

/* ── Typography ── */
h1,h2,h3,h4,h5 { font-family: var(--font-display); font-weight: 500; line-height: 1.15; }
h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: 1.25rem; }
p  { font-size: 1rem; color: var(--text-muted); }

.eyebrow {
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
}

/* ── Container ── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .8rem 2rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .04em;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--forest);
  color: var(--white);
  border-color: var(--forest);
}
.btn-primary:hover { background: var(--forest-light); border-color: var(--forest-light); }
.btn-teal {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.btn-teal:hover { background: var(--teal-dark); border-color: var(--teal-dark); }
.btn-outline {
  background: transparent;
  color: var(--forest);
  border-color: var(--forest);
}
.btn-outline:hover { background: var(--forest); color: var(--white); }
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.btn-outline-white:hover { background: var(--white); color: var(--forest); border-color: var(--white); }
.btn-lg { padding: 1rem 2.5rem; font-size: 1rem; }
.btn-sm { padding: .5rem 1.25rem; font-size: .8rem; }
.btn-full { width: 100%; }

/* ── Tags / Badges ── */
.badge {
  display: inline-block;
  padding: .2rem .7rem;
  border-radius: var(--radius-pill);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.badge-forest   { background: var(--forest); color: var(--white); }
.badge-teal     { background: var(--teal);   color: var(--white); }
.badge-amber    { background: var(--amber);  color: var(--white); }
.badge-cream    { background: var(--stone-light); color: var(--forest); }

/* ── Stars ── */
.stars { display: inline-flex; gap: 2px; color: var(--amber); font-size: .9rem; }
.stars .empty { color: var(--stone); }

/* ── Divider ── */
.divider { width: 48px; height: 2px; background: var(--teal); margin: 1rem 0; }
.divider.center { margin: 1rem auto; }

/* ============================================================
   COUNTRY POPUP
   ============================================================ */
.country-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20,30,22,.75);
  backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  transition: var(--transition);
}
.country-overlay.hidden { opacity: 0; pointer-events: none; }
.country-modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 3rem;
  max-width: 500px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.country-modal__logo { width: 100px; margin: 0 auto 1.5rem; }
.country-modal h2 { font-size: 2rem; color: var(--forest); margin-bottom: .5rem; }
.country-modal p { margin-bottom: 2rem; }
.country-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  margin-bottom: 1.5rem;
}
.country-btn {
  padding: .9rem 1rem;
  border: 2px solid var(--stone-light);
  border-radius: var(--radius);
  background: var(--cream);
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .95rem;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
  cursor: pointer;
}
.country-btn:hover, .country-btn.active {
  border-color: var(--teal);
  background: rgba(91,191,176,.07);
  color: var(--forest);
}
.country-btn .flag { font-size: 1.4rem; }
.lang-row {
  display: flex;
  gap: .5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.lang-pill {
  padding: .4rem 1.1rem;
  border-radius: var(--radius-pill);
  border: 2px solid var(--stone-light);
  background: transparent;
  font-size: .85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text);
}
.lang-pill:hover, .lang-pill.active {
  border-color: var(--forest);
  background: var(--forest);
  color: var(--white);
}

/* ============================================================
   AUTH MODALS
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20,30,22,.7);
  backdrop-filter: blur(4px);
  z-index: 8000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem;        /* on-grid: was 2.5rem */
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(16px);
  transition: var(--transition);
  box-shadow: var(--shadow-lg);
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.modal__close:hover { background: var(--stone-light); color: var(--text); }
.modal h3 { font-size: 1.8rem; color: var(--forest); margin-bottom: .3rem; }
.modal .subtitle { font-size: .9rem; color: var(--text-muted); margin-bottom: 2rem; }
.modal__switch { text-align: center; margin-top: 1.5rem; font-size: .9rem; }
.modal__switch a { color: var(--teal); font-weight: 500; cursor: pointer; }
.modal__switch a:hover { text-decoration: underline; }

@media (max-width: 500px) {
  .modal-overlay {
    align-items: flex-end;
    padding: 0;
    overflow: hidden;
  }
  .modal {
    width: 100vw;
    max-width: 100vw;
    max-height: 92dvh;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    padding: 2rem 1.25rem 2rem;
    transform: translateY(100%);
    overflow-x: hidden;
  }
  .modal-overlay.open .modal { transform: translateY(0); }
}

/* ── Focus states ── */
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
.btn:focus-visible, .nav__icon-btn:focus-visible {
  outline-offset: 4px;
}
.form-control:focus-visible {
  outline: none; /* handled by border-color change */
}

/* ── Form Elements ── */
.form-group { margin-bottom: 1.5rem; }
.form-group label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: .4rem;
}
.form-control {
  width: 100%;
  padding: .8rem 1rem;
  border: 2px solid var(--stone-light);
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--text);
  font-size: .95rem;
  transition: var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--teal); background: var(--white); }
.form-control.error { border-color: var(--error); }
.input-icon { position: relative; }
.input-icon .form-control { padding-right: 3rem; }
.input-icon .eye-toggle {
  position: absolute;
  right: .9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.1rem;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: var(--cream);
  box-shadow: 0 1px 0 var(--stone-light);
  transition: box-shadow var(--transition);
}

/* padding-top set dynamically by JS to match actual header height */
body { padding-top: 112px; }
@media (max-width: 900px) { body { padding-top: 88px; } }

.header__bar {
  background: var(--forest);
  color: var(--white);
  padding: .4rem 0;
  font-size: .8rem;
  max-height: 60px;
  overflow: hidden;
  transition:
    max-height .4s cubic-bezier(.4, 0, .2, 1),
    opacity    .25s ease,
    padding    .4s cubic-bezier(.4, 0, .2, 1);
}
.site-header.band-hidden .header__bar {
  max-height: 0;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
}
.header__bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header__bar p { color: rgba(255,255,255,.8); margin: 0; font-size: .78rem; }

/* Lang switcher */
.lang-switcher__current {
  display: flex;
  align-items: center;
  gap: .3rem;
  font-size: .78rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  cursor: pointer;
  padding: .2rem .4rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.lang-switcher__current::after { content: '▾'; font-size: .6rem; }
.lang-switcher__current:hover { background: rgba(255,255,255,.1); }
.lang-switcher { position: relative; }
.lang-switcher__dropdown {
  position: absolute;
  top: calc(100% + .4rem);
  left: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-width: 150px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: var(--transition);
  z-index: 300;
}
/* Transparent bridge fills the .4rem gap */
.lang-switcher__dropdown::before {
  content: '';
  position: absolute;
  top: -.4rem;
  left: 0;
  right: 0;
  height: .4rem;
}
.lang-switcher:hover .lang-switcher__dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.lang-switcher__dropdown a {
  display: block;
  padding: .6rem 1rem;
  font-size: .85rem;
  color: var(--text);
  transition: var(--transition);
}
.lang-switcher__dropdown a:hover { background: var(--cream); color: var(--forest); }

/* Main nav */
.header__nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
}
.header__nav-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: 100%;
}
.nav__logo img { height: 52px; width: auto; filter: invert(0); }
.nav__logo { background: var(--forest); padding: .5rem .9rem; border-radius: var(--radius); }
.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
  margin-right: 2rem;
}
.nav__links > li { position: relative; }
.nav__links a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
  padding: .3rem 0;
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal);
  transition: var(--transition);
}
.nav__links a:hover { color: var(--forest); }
.nav__links a:hover::after, .nav__links a.active::after { width: 100%; }

/* Dropdown nav */
.has-dropdown { position: relative; }
.has-dropdown .dropdown {
  position: absolute;
  top: calc(100% + .6rem);
  left: -1rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--teal);
  min-width: 220px;
  padding: .75rem 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: var(--transition);
  z-index: 200;
}
/* Transparent hover bridge — fills only the .6rem gap above the dropdown */
.has-dropdown .dropdown::before {
  content: '';
  position: absolute;
  top: -.6rem;
  left: 0;
  right: 0;
  height: .6rem;
}
.has-dropdown:hover .dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: .6rem 1.25rem;
  font-size: .88rem;
}
.dropdown a:hover { background: var(--cream); color: var(--forest); }
.dropdown a::after { display: none; }
.dropdown--right { left: auto; right: -1rem; }
.dropdown-username {
  display: block;
  padding: .5rem 1.25rem .6rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--stone-light);
  margin-bottom: .25rem;
  pointer-events: none;
}

/* Nav actions */
.nav__actions { display: flex; align-items: center; gap: .5rem; }
.nav__icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: var(--transition);
  position: relative;
  font-size: 1.1rem;
}
.nav__icon-btn:hover { background: var(--cream-dark); color: var(--forest); }
.cart-count {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 18px;
  height: 18px;
  background: var(--teal);
  color: var(--white);
  border-radius: 50%;
  font-size: .65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
@keyframes navItemIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: min(380px, 100%);
  height: 100vh;
  background: var(--white);
  z-index: 2000;
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  transition: transform .45s cubic-bezier(.4, 0, .2, 1);
  overflow-y: auto;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
}
.mobile-nav.open { transform: translateX(0); }

.mobile-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateX(16px);
  transition: opacity .2s ease, transform .2s ease;
}
.mobile-nav.open .mobile-nav__head {
  opacity: 1;
  transform: translateX(0);
  transition-delay: .06s;
}

.mobile-nav__close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text);
}
.mobile-nav__links { display: flex; flex-direction: column; gap: .25rem; }

/* Links: hidden by default, quick-fade out on close */
.mobile-nav__links a {
  opacity: 0;
  transform: translateX(20px);
  transition: opacity .15s ease, transform .15s ease, color .2s ease;
  padding: .8rem .5rem;
  font-size: 1.1rem;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--stone-light);
}
.mobile-nav__links a:hover { color: var(--teal); }
.mobile-nav__footer {
  margin-top: auto;
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  opacity: 0;
  transition: opacity .2s ease .5s;
}
.mobile-nav.open .mobile-nav__footer { opacity: 1; }
.mobile-nav__trust {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  color: var(--text-muted);
  font-family: var(--font-body);
}

/* Staggered slide-in from right when open */
.mobile-nav.open .mobile-nav__links a {
  animation: navItemIn .22s ease forwards;
}
.mobile-nav.open .mobile-nav__links a:nth-child(1)  { animation-delay: .08s; }
.mobile-nav.open .mobile-nav__links a:nth-child(2)  { animation-delay: .12s; }
.mobile-nav.open .mobile-nav__links a:nth-child(3)  { animation-delay: .16s; }
.mobile-nav.open .mobile-nav__links a:nth-child(4)  { animation-delay: .20s; }
.mobile-nav.open .mobile-nav__links a:nth-child(5)  { animation-delay: .24s; }
.mobile-nav.open .mobile-nav__links a:nth-child(6)  { animation-delay: .28s; }
.mobile-nav.open .mobile-nav__links a:nth-child(7)  { animation-delay: .32s; }
.mobile-nav.open .mobile-nav__links a:nth-child(8)  { animation-delay: .36s; }
.mobile-nav.open .mobile-nav__links a:nth-child(9)  { animation-delay: .40s; }
.mobile-nav.open .mobile-nav__links a:nth-child(10) { animation-delay: .44s; }
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
.mobile-overlay.open { opacity: 1; pointer-events: all; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: calc(100vh - var(--header-h) - 32px);
  background: var(--forest);
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 5rem 0;
  width: 100%;
}
.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero h1 em { font-style: italic; color: var(--teal); }
.hero p { color: rgba(255,255,255,.7); font-size: 1.05rem; margin-bottom: 2.5rem; max-width: 480px; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__image {
  position: relative;
  overflow: hidden;
}
.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .6;
  mix-blend-mode: luminosity;
}
.hero__badge {
  position: absolute;
  bottom: 2.5rem;
  right: 2.5rem;
  background: var(--teal);
  color: var(--white);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 600;
  text-align: center;
  letter-spacing: .06em;
  text-transform: uppercase;
  animation: spin-slow 20s linear infinite;
}
@keyframes spin-slow { to { transform: rotate(360deg); } }
.hero__deco {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(transparent, var(--forest));
  pointer-events: none;
}
/* Full-width hero variant */
.hero--full {
  grid-template-columns: 1fr;
  min-height: 70vh;
  align-items: center;
  position: relative;
}
.hero--full::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../src/Img/karollyne-videira-hubert-amRwmBdkZhY-unsplash.jpg') center/cover;
  opacity: .18;
}
.hero--full .hero__content { max-width: 700px; }

/* ============================================================
   MARQUEE / TRUST STRIP
   ============================================================ */
.trust-strip {
  background: var(--teal);
  color: var(--white);
  padding: .85rem 0;
  overflow: hidden;   /* clips the marquee track */
  max-width: 100vw;
}
.trust-strip__track {
  display: flex;
  gap: 3rem;
  animation: marquee 28s linear infinite;
  width: max-content;
}
.trust-strip__item {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .05em;
  white-space: nowrap;
}
.trust-strip__item svg { flex-shrink: 0; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ============================================================
   SECTION COMMONS
   ============================================================ */
.section { padding: 6rem 0; }
.section--sm { padding: 4rem 0; }
.section--lg { padding: 8rem 0; }
.section--dark { background: var(--forest); }
.section--cream { background: var(--cream-dark); }
.section__head { margin-bottom: 3.5rem; }
.section__head.center { text-align: center; }
.section__head h2 { color: var(--forest); }
.section--dark .section__head h2 { color: var(--white); }
.section--dark p { color: rgba(255,255,255,.65); }

.benefit-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--teal);
  transition: var(--transition);
}
.benefit-icon:hover { background: rgba(255,255,255,.14); }

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-card__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
}
.product-card__wishlist {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-muted);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  z-index: 2;
}
.product-card__wishlist:hover { color: var(--error); }
.product-card__img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--cream);
  position: relative;
}
.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.product-card:hover .product-card__img img { transform: scale(1.05); }
.product-card__body {
  padding: 1.5rem;      /* on-grid: was 1.25rem */
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-card__cat {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: .4rem;
}
.product-card__name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: .5rem;
  line-height: 1.25;
}
.product-card__rating {
  display: flex;
  align-items: center;
  gap: .4rem;
  margin-bottom: .75rem;
  font-size: .82rem;
  color: var(--text-muted);
}
.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--stone-light);
}
.product-card__price {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--forest);
}
.product-card__price span { font-size: .85rem; font-weight: 400; color: var(--text-muted); }
.product-card__add {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
}
.product-card__add:hover { background: var(--teal); }

/* ============================================================
   SHOP PAGE — Layout
   ============================================================ */
.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 3rem;
  align-items: start;
}
.shop-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 32px + 1rem);
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.sidebar__section { margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--stone-light); }
.sidebar__section:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.sidebar__title {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.filter-option {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .4rem 0;
  cursor: pointer;
  font-size: .9rem;
}
.filter-option input[type="checkbox"] { accent-color: var(--teal); width: 16px; height: 16px; }
.filter-option:hover { color: var(--forest); }
.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--stone-light);
}
.shop-toolbar__count { font-size: .9rem; color: var(--text-muted); }
.shop-toolbar select {
  border: 2px solid var(--stone-light);
  border-radius: var(--radius);
  padding: .4rem .9rem;
  background: var(--white);
  font-size: .88rem;
  color: var(--text);
  outline: none;
}
.shop-toolbar select:focus { border-color: var(--teal); }
.filter-toggle {
  display: none;
  align-items: center;
  gap: .4rem;
  padding: .5rem 1rem;
  border: 2px solid var(--stone-light);
  border-radius: var(--radius-pill);
  font-size: .85rem;
  font-weight: 500;
}

/* ============================================================
   PRODUCT SINGLE
   ============================================================ */
.product-single { padding: 4rem 0 6rem; }
.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

/* Gallery */
.product-gallery { position: sticky; top: calc(var(--header-h) + 32px + 1.5rem); }
.gallery-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--cream-dark);
  margin-bottom: 1rem;
  aspect-ratio: 1;
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 2rem;
  transition: var(--transition);
}
.gallery-thumbs { display: flex; gap: .75rem; }
.gallery-thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  background: var(--cream-dark);
  transition: var(--transition);
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; padding: .4rem; }
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--teal); }

/* Product details */
.product-details__cat {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: .5rem;
}
.product-details__name { color: var(--forest); margin-bottom: .75rem; }
.product-details__rating {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.25rem;
  font-size: .9rem;
  color: var(--text-muted);
}
.product-details__price {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 1.5rem;
}
.product-details__price del { font-size: 1.2rem; color: var(--stone); margin-left: .5rem; }
.variant-group { margin-bottom: 1.75rem; }
.variant-label {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: .75rem;
  display: block;
}
.variant-options { display: flex; flex-wrap: wrap; gap: .5rem; }
.variant-btn {
  padding: .5rem 1.1rem;
  border-radius: var(--radius-pill);
  border: 2px solid var(--stone-light);
  background: var(--white);
  font-size: .88rem;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
  cursor: pointer;
}
.variant-btn:hover, .variant-btn.active {
  border-color: var(--forest);
  background: var(--forest);
  color: var(--white);
}
.qty-add-row { display: flex; gap: 1rem; align-items: center; margin-bottom: 1.5rem; }
.qty-control {
  display: flex;
  align-items: center;
  border: 2px solid var(--stone-light);
  border-radius: var(--radius-pill);
  overflow: hidden;
  background: var(--white);
}
.qty-btn {
  width: 40px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text);
  transition: var(--transition);
  cursor: pointer;
}
.qty-btn:hover { color: var(--forest); }
.qty-input {
  width: 50px;
  text-align: center;
  border: none;
  background: transparent;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
}
.product-meta {
  border-top: 1px solid var(--stone-light);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  font-size: .85rem;
  color: var(--text-muted);
}
.product-meta span { color: var(--text); font-weight: 500; }

/* ── Tabs ── */
.product-tabs { margin-top: 5rem; }
.tabs-nav {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--stone-light);
  overflow-x: auto;
}
.tab-btn {
  padding: .9rem 1.75rem;
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--text-muted);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: var(--transition);
  cursor: pointer;
}
.tab-btn:hover { color: var(--forest); }
.tab-btn.active { color: var(--forest); border-bottom-color: var(--teal); }
.tab-panel { display: none; padding: 2.5rem 0; }
.tab-panel.active { display: block; }
.tab-panel h4 { color: var(--forest); margin-bottom: 1rem; }
.tab-panel p, .tab-panel li { color: var(--text-muted); margin-bottom: .6rem; }
.tab-panel ul { padding-left: 1.25rem; list-style: disc; }
.tab-panel table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
.tab-panel table th, .tab-panel table td {
  padding: .65rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--stone-light);
}
.tab-panel table th { font-weight: 600; color: var(--forest); background: var(--cream); }
.cert-grid { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1rem; }
.cert-badge {
  background: var(--cream);
  border: 2px solid var(--stone-light);
  border-radius: var(--radius);
  padding: .75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .85rem;
  font-weight: 500;
  color: var(--forest);
}

/* ── FAQ ── */
.faq-list { margin-top: 1.5rem; }
.faq-item {
  border-bottom: 1px solid var(--stone-light);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  text-align: left;
  gap: 1rem;
  cursor: pointer;
  transition: var(--transition);
}
.faq-question:hover { color: var(--forest); }
.faq-question svg { flex-shrink: 0; transition: var(--transition); color: var(--teal); }
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}
.faq-answer p { padding-bottom: 1.25rem; }

/* ============================================================
   CART PAGE
   ============================================================ */
.cart-page { padding: 4rem 0 6rem; }
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  align-items: start;
}
.cart-item {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--stone-light);
}
.cart-item__img {
  width: 90px;
  height: 90px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream-dark);
}
.cart-item__img img { width: 100%; height: 100%; object-fit: contain; padding: .4rem; }
.cart-item__name { font-family: var(--font-display); font-size: 1.1rem; color: var(--forest); margin-bottom: .25rem; }
.cart-item__variant { font-size: .82rem; color: var(--text-muted); }
.cart-item__remove { font-size: .8rem; color: var(--text-muted); cursor: pointer; margin-top: .5rem; }
.cart-item__remove:hover { color: var(--error); }
.cart-item__price { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--forest); text-align: right; }
.cart-summary {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: calc(var(--header-h) + 32px + 1rem);
}
.cart-summary h3 { color: var(--forest); margin-bottom: 1.5rem; font-size: 1.5rem; }
.summary-row {
  display: flex;
  justify-content: space-between;
  padding: .6rem 0;
  font-size: .9rem;
  border-bottom: 1px solid var(--stone-light);
}
.summary-row:last-of-type { border-bottom: 0; }
.summary-row.total {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--forest);
  padding-top: 1rem;
  border-top: 2px solid var(--stone-light);
  border-bottom: 0;
}
.coupon-input {
  display: flex;
  gap: .5rem;
  margin: 1rem 0;
}
.coupon-input .form-control { flex: 1; }

/* ============================================================
   CHECKOUT PAGE
   ============================================================ */
.checkout-page { padding: 4rem 0 6rem; }
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4rem;
  align-items: start;
}
.checkout-section {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.checkout-section h3 {
  color: var(--forest);
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--stone-light);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.checkout-order-item {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: .75rem 0;
  border-bottom: 1px solid var(--stone-light);
}
.checkout-order-item:last-child { border-bottom: 0; }
.checkout-order-item img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  background: var(--cream);
  border-radius: var(--radius);
  padding: .3rem;
}
.checkout-order-item__info { flex: 1; }
.checkout-order-item__name { font-size: .9rem; font-weight: 500; color: var(--text); }
.checkout-order-item__variant { font-size: .78rem; color: var(--text-muted); }
.checkout-order-item__price { font-family: var(--font-display); font-weight: 600; color: var(--forest); }
.payment-options { display: grid; gap: .75rem; }
.payment-option {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: 1rem 1.25rem;
  border: 2px solid var(--stone-light);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}
.payment-option:hover, .payment-option.selected {
  border-color: var(--teal);
  background: rgba(91,191,176,.05);
}
.payment-option input { accent-color: var(--teal); width: 18px; height: 18px; }

/* Success state */
.checkout-success {
  text-align: center;
  padding: 4rem 2rem;
  display: none;
}
.checkout-success.show { display: block; }
.success-icon {
  width: 80px;
  height: 80px;
  background: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--white);
  font-size: 2rem;
}

/* ============================================================
   ACCOUNT PAGES
   ============================================================ */
.account-page { padding: 4rem 0 6rem; }
.account-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 3rem;
  align-items: start;
}
.account-sidebar {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: calc(var(--header-h) + 32px + 1rem);
}
.account-sidebar__head {
  background: var(--forest);
  padding: 1.75rem;
  color: var(--white);
}
.account-sidebar__head h4 { color: var(--white); font-size: 1.2rem; }
.account-sidebar__head p { color: rgba(255,255,255,.6); font-size: .82rem; margin: 0; }
.account-nav a {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .9rem 1.5rem;
  font-size: .9rem;
  color: var(--text);
  border-bottom: 1px solid var(--stone-light);
  transition: var(--transition);
}
.account-nav a:hover, .account-nav a.active {
  background: var(--cream);
  color: var(--forest);
  font-weight: 500;
}
.account-nav a.active { border-left: 3px solid var(--teal); }
.account-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;        /* on-grid: was 2.5rem */
  box-shadow: var(--shadow-sm);
}
.account-content h2 { color: var(--forest); font-size: 2rem; margin-bottom: .5rem; }
.account-content > p { margin-bottom: 2.5rem; }
.account-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-bottom: 2rem; }
.account-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.account-card__icon { font-size: 1.5rem; margin-bottom: .75rem; }
.account-card h4 { color: var(--forest); font-size: 1rem; margin-bottom: .3rem; }
.account-card p { font-size: .85rem; margin: 0; }

/* Orders table */
.orders-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.orders-table th {
  text-align: left;
  padding: .75rem 1rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 2px solid var(--stone-light);
  background: var(--cream);
}
.orders-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--stone-light);
  color: var(--text);
}
.orders-table tr:hover td { background: rgba(247,244,239,.5); }
.order-status {
  display: inline-block;
  padding: .2rem .65rem;
  border-radius: var(--radius-pill);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.order-status--delivered { background: rgba(39,174,96,.12); color: var(--success); }
.order-status--processing { background: rgba(91,191,176,.12); color: var(--teal-dark); }
.order-status--shipped { background: rgba(139,105,20,.12); color: var(--amber); }

/* Address cards */
.addresses-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.address-card {
  border: 2px solid var(--stone-light);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: relative;
  transition: var(--transition);
}
.address-card:hover { border-color: var(--teal); }
.address-card.default { border-color: var(--forest); }
.address-card__label {
  position: absolute;
  top: -10px;
  left: 1rem;
  background: var(--forest);
  color: var(--white);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .15rem .5rem;
  border-radius: var(--radius-sm);
}
.address-card h4 { color: var(--forest); margin-bottom: .5rem; }
.address-card p { font-size: .88rem; margin: 0; line-height: 1.7; }
.address-card__actions { margin-top: 1rem; display: flex; gap: .75rem; }
.address-card__actions a { font-size: .82rem; color: var(--teal); font-weight: 500; cursor: pointer; }
.address-card__actions a:hover { text-decoration: underline; }
.add-address {
  border: 2px dashed var(--stone);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  min-height: 160px;
}
.add-address:hover { border-color: var(--teal); color: var(--teal); }
.add-address span { font-size: 2rem; }

/* ============================================================
   BLOG
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.blog-card__img {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.blog-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.blog-card:hover .blog-card__img img { transform: scale(1.05); }
.blog-card__body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.blog-card__cat {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: .5rem;
}
.blog-card__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--text);
  margin-bottom: .75rem;
  line-height: 1.3;
  transition: var(--transition);
}
.blog-card:hover .blog-card__title { color: var(--forest); }
.blog-card__excerpt { font-size: .88rem; color: var(--text-muted); margin-bottom: 1.25rem; }
.blog-card__meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .78rem;
  color: var(--text-muted);
}
.blog-card__meta a { color: var(--teal); font-weight: 500; }
.blog-card__meta a:hover { text-decoration: underline; }

/* Blog single */
.blog-single-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 4rem;
  align-items: start;
}
.blog-article__hero {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2.5rem;
  aspect-ratio: 16/9;
}
.blog-article__hero img { width: 100%; height: 100%; object-fit: cover; }
.blog-article__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: .85rem;
  color: var(--text-muted);
}
.blog-article h1 { color: var(--forest); margin-bottom: 1rem; font-size: clamp(2rem,3.5vw,3rem); }
.blog-article__content { font-size: 1.02rem; color: var(--text); line-height: 1.8; }
.blog-article__content h2 { font-size: 1.7rem; color: var(--forest); margin: 2.5rem 0 1rem; }
.blog-article__content h3 { font-size: 1.3rem; color: var(--forest); margin: 2rem 0 .75rem; }
.blog-article__content p { margin-bottom: 1.25rem; color: var(--text); }
.blog-article__content ul { padding-left: 1.5rem; list-style: disc; margin-bottom: 1.25rem; }
.blog-article__content li { margin-bottom: .4rem; }
.blog-article__content blockquote {
  border-left: 4px solid var(--teal);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--cream);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--forest);
}
.blog-sidebar { position: sticky; top: calc(var(--header-h) + 32px + 1rem); }
.blog-sidebar__widget {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.blog-sidebar__widget h4 { color: var(--forest); margin-bottom: 1.25rem; font-size: 1.1rem; }

/* ============================================================
   ABOUT SECTION (HOMEPAGE)
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-img-stack { position: relative; }
.about-img-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
}
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }
.about-img-accent {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  width: 45%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 5px solid var(--cream);
  box-shadow: var(--shadow);
}
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.about-stat {
  background: var(--cream-dark);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.about-stat__num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--forest);
  line-height: 1;
  margin-bottom: .25rem;
}
.about-stat__label { font-size: .82rem; color: var(--text-muted); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--teal);
  opacity: .2;
  position: absolute;
  top: .5rem;
  left: 1.5rem;
  line-height: 1;
}
.testimonial-card__stars { margin-bottom: 1rem; }
.testimonial-card__text { color: var(--text); font-size: .95rem; line-height: 1.7; margin-bottom: 1.5rem; }
.testimonial-card__author { display: flex; align-items: center; gap: .75rem; }
.testimonial-card__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--cream-dark);
}
.testimonial-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-card__name { font-weight: 600; font-size: .9rem; color: var(--text); }
.testimonial-card__country { font-size: .78rem; color: var(--text-muted); }

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter {
  background: var(--forest);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.newsletter::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: var(--teal);
  border-radius: 50%;
  top: -200px;
  right: -100px;
  opacity: .07;
}
.newsletter h2 { color: var(--white); margin-bottom: .75rem; }
.newsletter p { color: rgba(255,255,255,.65); margin-bottom: 2rem; max-width: 480px; margin-left: auto; margin-right: auto; }
.newsletter-form {
  display: flex;
  gap: .75rem;
  max-width: 480px;
  margin: 0 auto;
}
.newsletter-form .form-control {
  flex: 1;
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.2);
  color: var(--white);
}
.newsletter-form .form-control::placeholder { color: rgba(255,255,255,.45); }
.newsletter-form .form-control:focus { border-color: var(--teal); background: rgba(255,255,255,.15); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--text);
  color: var(--white);
  padding: 5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand__logo { height: 52px; margin-bottom: 1.25rem; filter: brightness(2); }
.footer-brand__desc { color: rgba(255,255,255,.55); font-size: .88rem; line-height: 1.7; margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: .75rem; }
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  color: rgba(255,255,255,.7);
  transition: var(--transition);
}
.footer-social a:hover { background: var(--teal); color: var(--white); }
.footer-col h5 {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .5rem; }
.footer-col ul a {
  font-size: .88rem;
  color: rgba(255,255,255,.6);
  transition: var(--transition);
}
.footer-col ul a:hover { color: var(--teal); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .8rem;
  color: rgba(255,255,255,.35);
}
.footer-bottom a { color: rgba(255,255,255,.45); }
.footer-bottom a:hover { color: var(--teal); }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: var(--forest);
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../src/Img/pexels-n-voitkevich-7526012.jpg') center/cover;
  opacity: .08;
}
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3.5rem); }
.page-hero p { color: rgba(255,255,255,.6); margin-top: .75rem; }
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-size: .82rem;
  color: rgba(255,255,255,.45);
  margin-bottom: 1rem;
}
.breadcrumb a { color: var(--teal); }
.breadcrumb span { color: rgba(255,255,255,.3); }

/* ============================================================
   404 PAGE
   ============================================================ */
.page-404 {
  min-height: calc(100vh - var(--header-h) - 32px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
  background: var(--cream);
}
.page-404__num {
  font-family: var(--font-display);
  font-size: clamp(8rem, 20vw, 16rem);
  font-weight: 700;
  color: var(--forest);
  line-height: 1;
  opacity: .08;
  position: absolute;
}
.page-404__content { position: relative; }
.page-404__icon { font-size: 4rem; margin-bottom: 1.5rem; }
.page-404 h2 { font-size: clamp(2rem, 4vw, 3rem); color: var(--forest); margin-bottom: 1rem; }
.page-404 p { max-width: 440px; margin: 0 auto 2rem; }

/* ============================================================
   PRIVACY POLICY
   ============================================================ */
.privacy-page { padding: 5rem 0; }
.privacy-content { max-width: 800px; }
.privacy-content h2 { color: var(--forest); font-size: 1.7rem; margin: 3rem 0 1rem; }
.privacy-content h3 { color: var(--forest); font-size: 1.2rem; margin: 2rem 0 .75rem; }
.privacy-content p { color: var(--text); line-height: 1.8; margin-bottom: 1rem; }
.privacy-content ul { padding-left: 1.5rem; list-style: disc; margin-bottom: 1rem; }
.privacy-content li { color: var(--text); margin-bottom: .4rem; }

/* ============================================================
   UTILITY
   ============================================================ */
.text-center { text-align: center; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.hidden { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.login-required-msg {
  text-align: center;
  padding: 4rem 2rem;
}
.login-required-msg h3 { color: var(--forest); margin-bottom: .75rem; }
.login-required-msg p { margin-bottom: 1.5rem; }

/* ============================================================
   SWUP PAGE TRANSITIONS
   ============================================================ */
.transition-fade { transition: opacity .3s ease; }
html.is-animating .transition-fade { opacity: 0; }

/* ============================================================
   AOS OVERRIDES
   ============================================================ */
[data-aos] { pointer-events: none; }
[data-aos].aos-animate { pointer-events: auto; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .shop-layout { grid-template-columns: 220px 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-grid > *:first-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  :root { --header-h: 60px; }
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }

  .header__bar-inner { justify-content: space-between; }
  .header__bar p { font-size: .72rem; }

  /* Nav: tighten gap, push actions to the right */
  .header__nav-inner { gap: 0; }
  .nav__actions { margin-left: auto; gap: .25rem; }

  /* Logo: slightly smaller on mobile */
  .nav__logo { padding: .4rem .75rem; }
  .nav__logo img { height: 44px; }
  .hero { min-height: 70vh; }
  .hero-grid { grid-template-columns: 1fr; padding: 3rem 0; gap: 2rem; }
  .hero-grid > *:last-child { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-img-accent { bottom: -1rem; right: -1rem; }
  .product-layout { grid-template-columns: 1fr; gap: 2rem; }
  .product-gallery { position: static; }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .checkout-layout { grid-template-columns: 1fr; }
  .account-layout { grid-template-columns: 1fr; }
  .account-sidebar { position: static; }
  .blog-single-layout { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar { position: static; display: none; }
  .shop-sidebar.open { display: block; }
  .filter-toggle { display: flex; }
  .addresses-grid { grid-template-columns: 1fr; }
  .account-cards { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .container { padding: 0 1rem; }
  .nav__icon-btn { width: 36px; height: 36px; }
  .section { padding: 4rem 0; }
  .hero__content { padding: 3rem 0; }
  .products-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .country-grid { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 72px 1fr; }
  .cart-item__price { grid-column: 2; }
  .checkout-layout, .cart-layout { gap: 2rem; }
}
@media (max-width: 380px) {
  .products-grid { grid-template-columns: 1fr; }
}
