/* =====================================================================
   LEAFLET — Premium Houseplants & Gardening E-commerce Template
   Plain HTML5 + CSS3 + vanilla JS. No frameworks, no build tools.
   NO external image files — every plant, pot and visual is built from
   CSS gradients, shapes, inline SVG, and emoji, so it works offline.
   ---------------------------------------------------------------------
   TABLE OF CONTENTS
   1.  Design tokens (:root)        ← REBRAND HERE
   2.  Reset & base
   3.  Layout helpers
   4.  Buttons, chips & badges
   5.  Header / nav / search / cart
   6.  Footer
   7.  CSS PLANT SYSTEM (pots + foliage, no images)
   8.  Hero (home)
   9.  Sections & headings
   10. Categories
   11. Product cards
   12. Promo banner
   13. Care-tips strip
   14. Trust strip
   15. Newsletter
   16. Page banner + breadcrumb (inner pages)
   17. Shop layout (sidebar + grid + pagination)
   18. Product detail (gallery, options, tabs)
   19. About page
   20. Contact page
   21. Toast
   22. Scroll-reveal
   23. Responsive (1024 / 768 / 360)
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. DESIGN TOKENS  ← REBRAND HERE
   Edit these CSS variables to re-skin the entire store from one place.
   --------------------------------------------------------------------- */
:root {
  /* Brand palette */
  --bg:       #f4f7f1;   /* page background — soft sage         */
  --ink:      #20301c;   /* near-black forest green (headings)  */
  --accent:   #4e7c52;   /* leaf green (primary)                */
  --accent-d: #3c6240;   /* darker leaf green (hovers)          */
  --accent2:  #c98a3c;   /* terracotta (secondary)             */
  --accent2-d:#b1762d;   /* darker terracotta                   */
  --muted:    #6f7c68;   /* muted body / captions               */
  --surface:  #ffffff;   /* cards / surfaces                    */
  --line:     #e0e8da;   /* borders / dividers                  */
  --soft:     #eaf1e4;   /* soft alt background                 */

  /* Status */
  --error:    #c0492f;
  --success:  #2f7d4f;

  /* Typography */
  --font-head: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Radii */
  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(32,48,28,.06), 0 1px 2px rgba(32,48,28,.05);
  --shadow:    0 8px 26px rgba(32,48,28,.09);
  --shadow-lg: 0 22px 56px rgba(32,48,28,.16);

  /* Layout */
  --container: 1200px;
  --gutter: 24px;
  --header-h: 72px;

  /* Motion */
  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ---------------------------------------------------------------------
   2. RESET & BASE
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.12;
  letter-spacing: -.01em;
  color: var(--ink);
  font-weight: 600;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 3.7rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p  { margin: 0; }

::selection { background: var(--accent); color: #fff; }

/* ---------------------------------------------------------------------
   3. LAYOUT HELPERS
   --------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding: 88px 0; }
.section--alt { background: var(--soft); }
.section--tight { padding: 60px 0; }
.muted { color: var(--muted); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(78,124,82,.10);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}

.section__head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section__title { font-size: clamp(1.9rem, 4vw, 2.7rem); }
.section__subtitle { color: var(--muted); margin-top: 12px; font-size: 1.05rem; }

/* ---------------------------------------------------------------------
   4. BUTTONS, CHIPS & BADGES
   --------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  transition: transform .2s var(--ease), background .2s var(--ease),
              box-shadow .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }

.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(78,124,82,.28); }
.btn--primary:hover { background: var(--accent-d); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(78,124,82,.36); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

.btn--light { background: #fff; color: var(--accent); }
.btn--light:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }

.btn--terra { background: var(--accent2); color: #fff; box-shadow: 0 8px 20px rgba(201,138,60,.28); }
.btn--terra:hover { background: var(--accent2-d); transform: translateY(-2px); }

.btn--add {
  width: 100%;
  margin-top: 16px;
  background: var(--ink);
  color: #fff;
  padding: 11px;
  font-size: .9rem;
}
.btn--add:hover { background: var(--accent); transform: translateY(-2px); }

/* Care / light chips on product cards */
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .73rem;
  font-weight: 600;
  color: var(--accent-d);
  background: var(--soft);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
}

.badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  color: #fff;
}
.badge--sale { background: var(--accent2); }
.badge--new  { background: var(--accent); }

/* ---------------------------------------------------------------------
   5. HEADER / NAV / SEARCH / CART  (shared, identical IDs every page)
   --------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244,247,241,.85);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease);
}
.header.is-scrolled { box-shadow: var(--shadow-sm); }
.header__inner { display: flex; align-items: center; gap: 22px; height: var(--header-h); }

.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600; font-size: 1.42rem; color: var(--ink); letter-spacing: -.01em; }
.logo__mark {
  width: 36px; height: 36px;
  border-radius: 11px;
  background: linear-gradient(140deg, var(--accent), var(--accent-d));
  display: grid; place-items: center;
  box-shadow: 0 6px 14px rgba(78,124,82,.34);
}
.logo--light { color: #fff; }

.nav { margin-left: 6px; }
.nav__list { display: flex; gap: 26px; }
.nav__link {
  font-weight: 500;
  font-size: .95rem;
  color: var(--muted);
  position: relative;
  padding: 4px 0;
  transition: color .2s;
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -3px;
  width: 0; height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: width .25s var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { width: 100%; }
.nav__link.active { color: var(--ink); font-weight: 600; }
.nav__link.active::after { width: 100%; }

.header__actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }

.search { position: relative; display: flex; align-items: center; }
.search__icon { position: absolute; left: 14px; color: var(--muted); display: flex; pointer-events: none; }
.search__input {
  width: 210px;
  padding: 10px 16px 10px 40px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: .9rem;
  background: var(--surface);
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s, width .25s var(--ease);
}
.search__input::placeholder { color: var(--muted); }
.search__input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(78,124,82,.12); }

/* Cart pill */
.cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px 9px 14px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1.5px solid var(--line);
  font-weight: 600;
  font-size: .9rem;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.cart:hover { border-color: var(--accent); transform: translateY(-1px); }
.cart__count {
  min-width: 22px; height: 22px;
  padding: 0 6px;
  background: var(--accent);
  color: #fff;
  font-size: .74rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .25s var(--ease), background .2s;
}
.cart__count.is-active { background: var(--accent2); }
.cart__count.is-bump { animation: bump .35s var(--ease); }
@keyframes bump { 0%,100% { transform: scale(1); } 40% { transform: scale(1.45); } }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  border-radius: 11px;
  background: var(--soft);
}
.hamburger span { display: block; width: 21px; height: 2px; margin: 0 auto; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s var(--ease); }
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------------------------------------------------------------
   6. FOOTER (shared)
   --------------------------------------------------------------------- */
.footer { background: var(--ink); color: rgba(255,255,255,.72); }
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 70px var(--gutter) 52px;
  max-width: var(--container);
  margin-inline: auto;
}
.footer .logo__mark { box-shadow: none; }
.footer__tagline { font-size: .92rem; margin: 16px 0 22px; max-width: 290px; line-height: 1.7; color: rgba(255,255,255,.65); }
.footer__social { display: flex; gap: 10px; }
.footer__social-link {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius-pill);
  font-size: 1.05rem;
  transition: background .2s, transform .2s;
}
.footer__social-link:hover { background: var(--accent); transform: translateY(-3px); }
.footer__col h4 { color: #fff; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.footer__col ul { display: flex; flex-direction: column; gap: 11px; }
.footer__col a { font-size: .9rem; color: rgba(255,255,255,.7); transition: color .2s; }
.footer__col a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer__bottom-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px var(--gutter);
  max-width: var(--container); margin-inline: auto;
  font-size: .85rem; color: rgba(255,255,255,.6);
}
.footer__legal { display: flex; gap: 20px; }
.footer__legal a:hover { color: #fff; }

/* ---------------------------------------------------------------------
   7. CSS PLANT SYSTEM — pots + foliage built entirely from shapes.
   A .plant element layers a terracotta pot and a leafy crown using
   pseudo-elements and box-shadows. Variants set --leaf / --leaf2 / --pot.
   --------------------------------------------------------------------- */
.plant {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  --leaf:  #5d9c63;
  --leaf2: #3f7a47;
  --pot:   #c98a3c;
  --pot2:  #a96f2a;
  --soil:  #5a4632;
}
/* leafy crown — overlapping radial "leaves" via layered gradients */
.plant__foliage {
  position: absolute;
  left: 50%;
  bottom: 30%;
  width: 70%;
  height: 64%;
  transform: translateX(-50%);
  background:
    radial-gradient(closest-side at 30% 60%, var(--leaf2) 0 70%, transparent 72%),
    radial-gradient(closest-side at 70% 60%, var(--leaf2) 0 70%, transparent 72%),
    radial-gradient(closest-side at 22% 40%, var(--leaf) 0 70%, transparent 72%),
    radial-gradient(closest-side at 78% 40%, var(--leaf) 0 70%, transparent 72%),
    radial-gradient(closest-side at 50% 18%, var(--leaf) 0 70%, transparent 72%),
    radial-gradient(closest-side at 50% 52%, var(--leaf2) 0 72%, transparent 74%);
  filter: drop-shadow(0 8px 14px rgba(32,48,28,.18));
}
.plant__foliage::before {
  /* central stem highlight */
  content: "";
  position: absolute;
  left: 50%; top: 12%;
  width: 6px; height: 70%;
  transform: translateX(-50%);
  background: linear-gradient(var(--leaf), var(--leaf2));
  border-radius: 6px;
  opacity: .55;
}
/* terracotta pot — trapezoid with rim */
.plant__pot {
  position: relative;
  z-index: 1;
  width: 46%;
  height: 32%;
  background: linear-gradient(180deg, var(--pot), var(--pot2));
  border-radius: 6px 6px 16px 16px;
  clip-path: polygon(8% 0, 92% 0, 80% 100%, 20% 100%);
  box-shadow: inset 0 -10px 18px rgba(0,0,0,.14);
}
.plant__pot::before {
  /* rim */
  content: "";
  position: absolute;
  left: -8%; top: -10px;
  width: 116%; height: 16px;
  background: linear-gradient(180deg, var(--pot), var(--pot2));
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,.12);
}
.plant__pot::after {
  /* soil line */
  content: "";
  position: absolute;
  left: 6%; top: -3px;
  width: 88%; height: 8px;
  background: var(--soil);
  border-radius: 4px;
}

/* --- Foliage shape variants (per plant) --- */
/* Tall upright (snake plant): vertical blades */
.plant--upright .plant__foliage {
  width: 50%;
  height: 78%;
  bottom: 26%;
  background:
    linear-gradient(180deg, var(--leaf) 0 100%) 18% 100% / 14% 92% no-repeat,
    linear-gradient(180deg, var(--leaf2) 0 100%) 36% 100% / 13% 100% no-repeat,
    linear-gradient(180deg, var(--leaf) 0 100%) 54% 100% / 13% 96% no-repeat,
    linear-gradient(180deg, var(--leaf2) 0 100%) 70% 100% / 12% 84% no-repeat,
    linear-gradient(180deg, var(--leaf) 0 100%) 84% 100% / 11% 72% no-repeat;
  border-radius: 0;
  filter: drop-shadow(0 8px 12px rgba(32,48,28,.16));
}
.plant--upright .plant__foliage::before { display: none; }

/* Big single leaves (fiddle-leaf / monstera): large rounded blobs */
.plant--broad .plant__foliage {
  width: 80%; height: 70%; bottom: 28%;
  background:
    radial-gradient(closest-side at 26% 70%, var(--leaf2) 0 62%, transparent 64%),
    radial-gradient(closest-side at 74% 70%, var(--leaf2) 0 62%, transparent 64%),
    radial-gradient(closest-side at 18% 36%, var(--leaf) 0 60%, transparent 62%),
    radial-gradient(closest-side at 82% 36%, var(--leaf) 0 60%, transparent 62%),
    radial-gradient(closest-side at 50% 14%, var(--leaf) 0 62%, transparent 64%);
}

/* Trailing (pothos): drooping vines */
.plant--trailing .plant__foliage {
  width: 86%; height: 60%; bottom: 30%;
  background:
    radial-gradient(closest-side at 50% 30%, var(--leaf) 0 40%, transparent 42%),
    radial-gradient(closest-side at 20% 60%, var(--leaf2) 0 30%, transparent 32%),
    radial-gradient(closest-side at 80% 60%, var(--leaf2) 0 30%, transparent 32%),
    radial-gradient(closest-side at 8% 88%, var(--leaf) 0 22%, transparent 24%),
    radial-gradient(closest-side at 92% 88%, var(--leaf) 0 22%, transparent 24%);
}

/* Succulent rosette: tight clustered tips */
.plant--succulent .plant__foliage {
  width: 56%; height: 46%; bottom: 30%;
  background:
    radial-gradient(closest-side at 50% 60%, var(--leaf2) 0 60%, transparent 62%),
    radial-gradient(closest-side at 26% 56%, var(--leaf) 0 48%, transparent 50%),
    radial-gradient(closest-side at 74% 56%, var(--leaf) 0 48%, transparent 50%),
    radial-gradient(closest-side at 38% 30%, var(--leaf) 0 40%, transparent 42%),
    radial-gradient(closest-side at 62% 30%, var(--leaf) 0 40%, transparent 42%);
}
.plant--succulent .plant__foliage::before { display: none; }

/* Flowering (peace lily): white spathes among leaves */
.plant--flower .plant__foliage::after {
  content: "";
  position: absolute;
  left: 50%; top: 6%;
  width: 22%; height: 32%;
  transform: translateX(-50%) rotate(-8deg);
  background: radial-gradient(closest-side at 50% 60%, #fdfdfb 0 70%, transparent 72%);
  filter: drop-shadow(0 2px 3px rgba(0,0,0,.12));
}

/* Object products (planter, watering can) — emoji-led, no foliage */
.plant--object {
  align-items: center;
}
.plant__object {
  font-size: clamp(3.5rem, 14vw, 6rem);
  filter: drop-shadow(0 10px 16px rgba(32,48,28,.18));
  line-height: 1;
}

/* Soft circular backdrop behind every plant media */
.plant__bg {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 38%, #fff, var(--soft) 78%);
  z-index: 0;
}
.plant > .plant__pot,
.plant > .plant__foliage,
.plant > .plant__object { z-index: 1; }

/* ---------------------------------------------------------------------
   8. HERO (home)
   --------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 88% -10%, rgba(78,124,82,.16), transparent 60%),
    radial-gradient(800px 500px at 0% 110%, rgba(201,138,60,.12), transparent 55%),
    var(--bg);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 52px;
  align-items: center;
  padding: 84px 0 92px;
}
.hero__title { margin-bottom: 20px; }
.hero__title em { color: var(--accent); font-style: normal; }
.hero__text { font-size: 1.08rem; color: var(--muted); max-width: 480px; margin-bottom: 32px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 42px; }
.hero__stats { display: flex; gap: 40px; flex-wrap: wrap; }
.hero__stats div { display: flex; flex-direction: column; }
.hero__stats strong { font-family: var(--font-head); font-size: 1.7rem; font-weight: 600; color: var(--ink); }
.hero__stats span { font-size: .85rem; color: var(--muted); }

/* Hero visual — large CSS plant in a card + floating accents */
.hero__visual { position: relative; min-height: 460px; }
.hero__blob {
  position: absolute;
  inset: 4% 6% 4% 8%;
  background: linear-gradient(150deg, #cfe3c4, #eaf1e4 60%, #f0dcc0);
  border-radius: 46% 54% 58% 42% / 48% 44% 56% 52%;
  animation: morph 14s ease-in-out infinite;
}
@keyframes morph {
  0%,100% { border-radius: 46% 54% 58% 42% / 48% 44% 56% 52%; }
  50% { border-radius: 58% 42% 44% 56% / 54% 58% 42% 46%; }
}
.hero__card {
  position: absolute;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.hero__card--main { inset: 12% 16% 12% 18%; display: flex; flex-direction: column; padding: 18px; }
.hero__card--main .plant { flex: 1; }
.hero__card--main .plant__bg { inset: 4%; }
.hero__product-meta { display: flex; justify-content: space-between; align-items: center; padding: 14px 6px 4px; font-weight: 500; }
.hero__product-meta strong { font-family: var(--font-head); font-size: 1.15rem; }
.hero__card--float { display: flex; align-items: center; gap: 10px; padding: 12px 16px; font-size: .8rem; }
.hero__card--float span:first-child { font-size: 1.5rem; }
.hero__card--float small { color: var(--muted); display: block; }
.hero__card--float strong { font-family: var(--font-head); font-size: .92rem; }
.hero__card--float-1 { top: 6%; right: 0; animation: floaty 5s ease-in-out infinite; }
.hero__card--float-2 { bottom: 7%; left: -2%; animation: floaty 6s ease-in-out infinite reverse; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------------------------------------------------------------------
   10. CATEGORIES
   --------------------------------------------------------------------- */
.categories { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.category-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--cat, linear-gradient(150deg,#cfe3c4,#eaf1e4));
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.category-card__emoji {
  position: absolute;
  top: 46%; left: 50%;
  transform: translate(-50%,-55%);
  font-size: 4.4rem;
  transition: transform .4s var(--ease);
  filter: drop-shadow(0 8px 12px rgba(32,48,28,.16));
}
.category-card:hover .category-card__emoji { transform: translate(-50%,-55%) scale(1.12); }
.category-card__body { position: relative; background: linear-gradient(transparent, rgba(255,255,255,.94)); padding: 30px 22px 20px; }
.category-card__body h3 { font-size: 1.25rem; }
.category-card__link { font-size: .85rem; font-weight: 600; color: var(--accent); opacity: .8; transition: opacity .2s; }
.category-card:hover .category-card__link { opacity: 1; }

/* ---------------------------------------------------------------------
   11. PRODUCT CARDS
   --------------------------------------------------------------------- */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.products--three { grid-template-columns: repeat(3, 1fr); }

.product {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product__media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: linear-gradient(160deg, #fff, var(--soft));
  border-bottom: 1px solid var(--line);
}
.product__media .plant { position: absolute; inset: 0; }
.product:hover .plant__foliage,
.product:hover .plant__object { transform: translateX(-50%) scale(1.05); }
.product--object:hover .plant__object,
.product:hover .plant__object { transform: scale(1.08); }
.product__body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.product__cat { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.product__name { font-size: 1.1rem; margin: 4px 0 6px; }
.product__rating { color: var(--accent2); font-size: .9rem; letter-spacing: 1px; }
.product__rating span { color: var(--muted); font-size: .8rem; letter-spacing: 0; }
.product__price { display: flex; align-items: baseline; gap: 8px; margin-top: 10px; }
.price { font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; color: var(--ink); }
.price--old { color: var(--muted); text-decoration: line-through; font-size: .95rem; }
.product .btn--add { margin-top: auto; }

/* ---------------------------------------------------------------------
   12. PROMO BANNER
   --------------------------------------------------------------------- */
.promo {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  background:
    radial-gradient(600px 400px at 90% 10%, rgba(201,138,60,.22), transparent 60%),
    linear-gradient(125deg, var(--ink), #2c4226 75%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: #fff;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.promo__content { padding: 58px 54px; }
.promo__eyebrow { display: inline-block; font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--accent2); margin-bottom: 16px; }
.promo__title { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 14px; }
.promo__text { color: rgba(255,255,255,.78); max-width: 380px; margin-bottom: 28px; }
.promo__visual { position: relative; min-height: 280px; }
.promo__circle {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 180px; height: 180px; border-radius: 50%;
  background: var(--accent2);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 600; font-size: 3rem; color: #fff;
  box-shadow: 0 0 0 14px rgba(201,138,60,.2);
}
.promo__circle small { font-size: 1rem; letter-spacing: .2em; }
.promo__emoji { position: absolute; font-size: 2.4rem; animation: floaty 5s ease-in-out infinite; }
.promo__emoji--1 { top: 16%; left: 18%; }
.promo__emoji--2 { top: 22%; right: 18%; animation-delay: 1s; }
.promo__emoji--3 { bottom: 14%; left: 26%; animation-delay: 2s; }

/* ---------------------------------------------------------------------
   13. CARE-TIPS STRIP
   --------------------------------------------------------------------- */
.tips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tip {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.tip:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.tip__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--soft); display: grid; place-items: center; font-size: 1.6rem; margin-bottom: 16px; }
.tip h3 { font-size: 1.12rem; margin-bottom: 6px; }
.tip p { color: var(--muted); font-size: .94rem; }

/* ---------------------------------------------------------------------
   14. TRUST STRIP
   --------------------------------------------------------------------- */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.trust__item {
  display: flex; align-items: center; gap: 14px;
  padding: 22px 22px;
  background: var(--soft);
  border-radius: var(--radius);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.trust__item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.trust__icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--surface);
  color: var(--accent);
  font-size: 1.4rem;
  box-shadow: var(--shadow-sm);
}
.trust__item h3 { font-size: .98rem; margin-bottom: 2px; }
.trust__item p { font-size: .82rem; color: var(--muted); }

/* ---------------------------------------------------------------------
   15. NEWSLETTER
   --------------------------------------------------------------------- */
.newsletter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background:
    radial-gradient(600px 320px at 100% 0%, rgba(78,124,82,.12), transparent 60%),
    var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 52px 56px;
}
.newsletter__title { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 8px; }
.newsletter__content p { color: var(--muted); max-width: 420px; }
.newsletter__field { display: flex; gap: 10px; }
.newsletter__input {
  flex: 1;
  padding: 14px 18px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface);
  font-size: .95rem;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.newsletter__input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(78,124,82,.12); }
.newsletter__input.is-error { border-color: var(--error); }
.newsletter__msg { font-size: .85rem; margin-top: 10px; min-height: 1.2em; font-weight: 500; }
.newsletter__msg.is-error { color: var(--error); }
.newsletter__msg.is-success { color: var(--success); }

/* ---------------------------------------------------------------------
   16. PAGE BANNER + BREADCRUMB (inner pages)
   --------------------------------------------------------------------- */
.page-banner {
  background:
    radial-gradient(900px 420px at 88% -20%, rgba(78,124,82,.16), transparent 60%),
    radial-gradient(800px 420px at 0% 120%, rgba(201,138,60,.12), transparent 55%),
    var(--soft);
  border-bottom: 1px solid var(--line);
  padding: 56px 0 52px;
  text-align: center;
}
.page-banner__title { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.page-banner__subtitle { color: var(--muted); margin-top: 12px; font-size: 1.05rem; max-width: 600px; margin-inline: auto; }
.breadcrumb {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 8px;
  margin-top: 18px; font-size: .85rem; color: var(--muted); font-weight: 500;
}
.breadcrumb a { color: var(--accent); transition: color .2s; }
.breadcrumb a:hover { color: var(--accent-d); }
.breadcrumb span[aria-hidden] { color: var(--line); }
.breadcrumb .is-current { color: var(--ink); }

/* ---------------------------------------------------------------------
   17. SHOP LAYOUT
   --------------------------------------------------------------------- */
.shop-layout { display: grid; grid-template-columns: 270px 1fr; gap: 40px; align-items: start; }
.shop-sidebar { position: sticky; top: calc(var(--header-h) + 20px); display: flex; flex-direction: column; gap: 22px; }
.filter-group {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.filter-group__title { font-family: var(--font-head); font-size: 1.02rem; font-weight: 600; margin-bottom: 16px; }
.filter-list { display: flex; flex-direction: column; gap: 11px; }
.filter-check { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: var(--muted); cursor: pointer; transition: color .2s; }
.filter-check:hover { color: var(--ink); }
.filter-check input { width: 16px; height: 16px; accent-color: var(--accent); cursor: pointer; }
.filter-check .filter-count { margin-left: auto; color: var(--muted); font-size: .8rem; }

.price-range input[type="range"] { width: 100%; accent-color: var(--accent); cursor: pointer; }
.price-range__labels { display: flex; justify-content: space-between; font-size: .82rem; color: var(--muted); margin-top: 10px; font-weight: 600; }

.size-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.size-chip {
  min-width: 44px; padding: 8px 12px; text-align: center;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-size: .85rem; font-weight: 600; color: var(--muted); background: var(--surface);
  cursor: pointer; transition: all .2s var(--ease);
}
.size-chip:hover { border-color: var(--accent); color: var(--ink); }
.size-chip.is-active { background: var(--accent); color: #fff; border-color: var(--accent); }

.color-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.color-dot {
  width: 30px; height: 30px; border-radius: 50%; cursor: pointer;
  border: 2px solid #fff; box-shadow: 0 0 0 1.5px var(--line);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.color-dot:hover { transform: scale(1.12); }
.color-dot.is-active { box-shadow: 0 0 0 2px var(--accent); }

.filter-clear {
  width: 100%; padding: 11px;
  background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius-pill);
  font-family: var(--font-body); font-weight: 600; font-size: .88rem; color: var(--muted);
  transition: all .2s var(--ease);
}
.filter-clear:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

.shop-main { min-width: 0; }
.sort-bar {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  margin-bottom: 26px; padding-bottom: 18px; border-bottom: 1px solid var(--line);
}
.sort-bar__count { font-size: .9rem; color: var(--muted); }
.sort-bar__count strong { color: var(--ink); font-family: var(--font-head); }
.sort-bar__right { display: flex; align-items: center; gap: 12px; }
.sort-select {
  padding: 10px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-pill);
  background: var(--surface); font-family: var(--font-body); font-size: .9rem; color: var(--ink); cursor: pointer;
  transition: border-color .2s;
}
.sort-select:focus { outline: none; border-color: var(--accent); }
.filter-toggle {
  display: none; align-items: center; gap: 8px; padding: 10px 18px;
  border: 1.5px solid var(--line); border-radius: var(--radius-pill);
  font-weight: 600; font-size: .9rem; background: var(--surface);
}
.products--shop { grid-template-columns: repeat(3, 1fr); }

.pagination { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 50px; }
.pagination__item {
  min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  padding: 0 12px; border: 1.5px solid var(--line); border-radius: var(--radius-pill);
  font-weight: 600; font-size: .9rem; color: var(--muted); background: var(--surface);
  transition: all .2s var(--ease);
}
.pagination__item:hover { border-color: var(--accent); color: var(--ink); transform: translateY(-2px); }
.pagination__item.is-active { background: var(--accent); color: #fff; border-color: var(--accent); }
.pagination__item.is-disabled { opacity: .4; pointer-events: none; }

/* ---------------------------------------------------------------------
   18. PRODUCT DETAIL
   --------------------------------------------------------------------- */
.product-detail { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: start; }
.gallery { position: sticky; top: calc(var(--header-h) + 20px); }
.gallery__main {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #fff, var(--soft));
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid var(--line);
}
.gallery__main .plant { position: absolute; inset: 0; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 16px; }
.gallery__thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  background: linear-gradient(160deg, #fff, var(--soft));
  cursor: pointer;
  border: 2px solid transparent;
  overflow: hidden;
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.gallery__thumb .plant { position: absolute; inset: 0; }
.gallery__thumb:hover { transform: translateY(-3px); }
.gallery__thumb.is-active { border-color: var(--accent); }

.pd-info__cat { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.pd-info__title { font-size: clamp(1.9rem, 3.5vw, 2.7rem); margin: 8px 0 14px; }
.pd-info__rating { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.pd-info__rating .stars { color: var(--accent2); letter-spacing: 1px; }
.pd-info__rating .rating-meta { font-size: .88rem; color: var(--muted); }
.pd-info__price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.pd-info__price .price { font-size: 2rem; }
.pd-info__price .price--old { font-size: 1.1rem; }
.pd-info__price .price-save { font-weight: 700; font-size: .8rem; color: #fff; background: var(--accent2); padding: 4px 10px; border-radius: var(--radius-pill); }
.pd-info__desc { color: var(--muted); margin: 16px 0 24px; max-width: 480px; }

.pd-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }

.pd-option { margin-bottom: 22px; }
.pd-option__label { display: flex; justify-content: space-between; font-family: var(--font-head); font-weight: 600; font-size: .94rem; margin-bottom: 12px; }
.pd-option__label .pd-option__value { color: var(--muted); font-weight: 500; font-family: var(--font-body); }

.pd-actions { display: flex; flex-direction: column; gap: 14px; margin: 26px 0; }
.pd-qty-row { display: flex; align-items: center; gap: 16px; }
.pd-actions__row { display: flex; gap: 14px; }
.pd-actions__row .btn { flex: 1; }

.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--radius-pill); overflow: hidden; background: var(--surface); }
.qty__btn { width: 46px; height: 48px; font-size: 1.3rem; color: var(--ink); background: var(--surface); transition: background .2s; }
.qty__btn:hover { background: var(--soft); }
.qty__input {
  width: 50px; height: 48px; text-align: center; border: none;
  border-left: 1.5px solid var(--line); border-right: 1.5px solid var(--line);
  font-family: var(--font-head); font-weight: 600; font-size: 1rem; background: var(--surface);
  -moz-appearance: textfield; appearance: textfield;
}
.qty__input::-webkit-outer-spin-button, .qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty__input:focus { outline: none; }

.pd-meta { border-top: 1px solid var(--line); padding-top: 22px; display: flex; flex-direction: column; gap: 10px; font-size: .88rem; color: var(--muted); }
.pd-meta span strong { color: var(--ink); font-weight: 600; }

/* Tabs */
.tabs { margin-top: 70px; }
.tabs__nav { display: flex; gap: 6px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.tabs__btn { padding: 14px 24px; font-family: var(--font-head); font-weight: 600; font-size: .98rem; color: var(--muted); position: relative; transition: color .2s; }
.tabs__btn::after { content: ''; position: absolute; left: 0; bottom: -1px; width: 0; height: 2px; background: var(--accent); transition: width .25s var(--ease); }
.tabs__btn:hover { color: var(--ink); }
.tabs__btn.is-active { color: var(--ink); }
.tabs__btn.is-active::after { width: 100%; }
.tabs__panel { display: none; padding: 30px 0; max-width: 760px; color: var(--muted); }
.tabs__panel.is-active { display: block; animation: fadeIn .35s var(--ease); }
.tabs__panel h4 { margin: 18px 0 10px; color: var(--ink); }
.tabs__panel p { margin-bottom: 14px; }
.tabs__panel ul { display: flex; flex-direction: column; gap: 9px; }
.tabs__panel ul li { padding-left: 24px; position: relative; color: var(--muted); }
.tabs__panel ul li::before { content: '\1F331'; position: absolute; left: 0; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.spec-table { width: 100%; border-collapse: collapse; }
.spec-table tr { border-bottom: 1px solid var(--line); }
.spec-table th, .spec-table td { text-align: left; padding: 13px 0; font-size: .92rem; }
.spec-table th { font-family: var(--font-head); font-weight: 600; color: var(--ink); width: 200px; }
.spec-table td { color: var(--muted); }

.related { margin-top: 88px; }

/* ---------------------------------------------------------------------
   19. ABOUT PAGE
   --------------------------------------------------------------------- */
.about-story { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-story__visual {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, #cfe3c4, #eaf1e4 60%, #f0dcc0);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.about-story__visual .plant { position: absolute; inset: 8%; }
.about-story h2 { margin-bottom: 18px; }
.about-story p { color: var(--muted); margin-bottom: 16px; }

.stats-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 20px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.stat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.stat-card strong { display: block; font-family: var(--font-head); font-size: 2.6rem; font-weight: 600; color: var(--accent); }
.stat-card span { color: var(--muted); font-size: .92rem; }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.value-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 28px; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.value-card__icon { width: 56px; height: 56px; border-radius: var(--radius); display: grid; place-items: center; font-size: 1.8rem; background: var(--soft); margin-bottom: 18px; }
.value-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.value-card p { color: var(--muted); font-size: .92rem; }

/* ---------------------------------------------------------------------
   20. CONTACT PAGE
   --------------------------------------------------------------------- */
.contact-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: start; }
.contact-form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); }
.contact-form-card h2 { font-size: 1.6rem; margin-bottom: 8px; }
.contact-form-card > p { color: var(--muted); margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .86rem; margin-bottom: 8px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 13px 16px;
  border: 1.5px solid var(--line); border-radius: var(--radius);
  background: var(--bg); font-size: .95rem; color: var(--ink);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: none; border-color: var(--accent); background: var(--surface); box-shadow: 0 0 0 4px rgba(78,124,82,.12); }
.form-field input.is-error, .form-field textarea.is-error { border-color: var(--error); }
.form-msg { font-size: .88rem; margin-top: 6px; min-height: 1.2em; font-weight: 500; }
.form-msg.is-error { color: var(--error); }
.form-msg.is-success { color: var(--success); }

.contact-info { display: flex; flex-direction: column; gap: 18px; }
.info-card { display: flex; gap: 16px; padding: 24px; background: var(--soft); border-radius: var(--radius); }
.info-card__icon { flex-shrink: 0; width: 48px; height: 48px; border-radius: var(--radius-sm); background: var(--surface); color: var(--accent); display: grid; place-items: center; font-size: 1.35rem; box-shadow: var(--shadow-sm); }
.info-card h3 { font-size: 1rem; margin-bottom: 4px; }
.info-card p { font-size: .9rem; color: var(--muted); }
.info-card a { color: var(--accent); }

.hours-table { width: 100%; }
.hours-table tr { border-bottom: 1px solid var(--line); }
.hours-table td { padding: 11px 0; font-size: .9rem; }
.hours-table td:first-child { color: var(--muted); font-weight: 500; }
.hours-table td:last-child { text-align: right; color: var(--ink); font-family: var(--font-head); font-weight: 600; }

.map-placeholder {
  aspect-ratio: 16 / 7;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(rgba(78,124,82,.05), rgba(78,124,82,.05)),
    repeating-linear-gradient(0deg, var(--line) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 44px),
    var(--soft);
  display: grid; place-items: center; text-align: center;
  box-shadow: var(--shadow-sm); position: relative;
  border: 1px solid var(--line);
}
.map-placeholder__pin { font-size: 2.6rem; }
.map-placeholder b { font-family: var(--font-head); color: var(--ink); display: block; }
.map-placeholder span { color: var(--muted); font-size: .85rem; }

/* ---------------------------------------------------------------------
   21. TOAST
   --------------------------------------------------------------------- */
.toast {
  position: fixed;
  bottom: 28px; left: 50%;
  transform: translateX(-50%) translateY(140%);
  background: var(--ink);
  color: #fff;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  font-size: .9rem; font-weight: 500;
  box-shadow: var(--shadow-lg);
  z-index: 200; opacity: 0;
  transition: transform .35s var(--ease), opacity .35s var(--ease);
  pointer-events: none;
}
.toast.is-visible { transform: translateX(-50%) translateY(0); opacity: 1; }

/* ---------------------------------------------------------------------
   22. SCROLL-REVEAL
   --------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------------------
   23. RESPONSIVE  (1024 / 768 / 360)
   --------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .categories, .products { grid-template-columns: repeat(2, 1fr); }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .tips { grid-template-columns: 1fr; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { min-height: 400px; max-width: 480px; }
  .promo { grid-template-columns: 1fr; }
  .promo__visual { min-height: 220px; order: -1; }
  .promo__content { padding: 44px 36px; }
  .newsletter { grid-template-columns: 1fr; gap: 24px; padding: 42px 34px; }
  .footer__inner { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .search__input { width: 160px; }

  /* Shop sidebar becomes a drawer */
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar {
    position: fixed; inset: 0 auto 0 0; width: min(82vw, 340px);
    background: var(--bg); z-index: 99; padding: calc(var(--header-h) + 20px) 22px 22px;
    overflow-y: auto; transform: translateX(-100%); transition: transform .35s var(--ease);
    box-shadow: var(--shadow-lg);
  }
  .shop-sidebar.is-open { transform: translateX(0); }
  .filter-toggle { display: inline-flex; }
  .products--shop { grid-template-columns: repeat(2, 1fr); }

  .product-detail { grid-template-columns: 1fr; gap: 36px; }
  .gallery { position: static; max-width: 520px; }
  .about-story { grid-template-columns: 1fr; gap: 32px; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }

  /* Mobile nav drawer */
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px);
    background: var(--bg); padding: calc(var(--header-h) + 24px) 28px 28px;
    box-shadow: var(--shadow-lg); transform: translateX(100%);
    transition: transform .35s var(--ease); margin: 0; z-index: 99;
  }
  .nav.is-open { transform: translateX(0); }
  .nav__list { flex-direction: column; gap: 4px; }
  .nav__link { display: block; padding: 13px 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav__link::after { display: none; }
  .hamburger { display: flex; }
  .search { display: none; }
  body.nav-open { overflow: hidden; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(32,48,28,.45); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease); z-index: 98; }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; }

  .promo__content { padding: 36px 26px; }
  .form-row { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__bottom-inner { flex-direction: column; text-align: center; }
  .hero__stats { gap: 26px; }
}

@media (max-width: 480px) {
  .categories, .products, .products--shop, .trust { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .newsletter__field { flex-direction: column; }
  .newsletter__field .btn { width: 100%; }
  .pd-actions__row { flex-direction: column; }
  .contact-form-card { padding: 26px 20px; }
  .hero__card--main { inset: 8% 8% 8% 10%; }
}
