/* =========================================================
   FOOD PARK — Wholesale & Retail Vegetables + Fruits
   Stylesheet. Pure CSS, no frameworks.
   Design language: "mandi crate label" — stamped display type,
   hand-tied paper price tags, produce-crate colour system.
   ========================================================= */

/* ---------- Design tokens ---------- */
:root{
  --paper:        #F6F7EF;
  --paper-dim:    #EEF1E4;
  --card:         #FFFFFF;
  --forest:       #1F4D2C;
  --forest-dark:  #143420;
  --forest-tint:  #E7EFE6;
  --leaf:         #5FA83E;
  --leaf-dark:    #47872D;
  --tomato:       #C0392B;
  --tomato-dark:  #9E2E22;
  --turmeric:     #E8A33D;
  --ink:          #212A1E;
  --ink-soft:     #57624F;
  --line:         #E1E4D6;
  --line-strong:  #CBD1BC;

  --radius-sm:    8px;
  --radius:       14px;
  --radius-lg:    22px;
  --shadow-sm:    0 2px 10px rgba(31,77,44,0.08);
  --shadow:       0 12px 28px rgba(31,77,44,0.14);
  --shadow-lg:    0 22px 48px rgba(31,77,44,0.20);

  --font-display: 'Alfa Slab One', 'Georgia', serif;
  --font-head:    'Work Sans', 'Segoe UI', sans-serif;
  --font-body:    'Work Sans', 'Segoe UI', sans-serif;
  --font-mono:    'IBM Plex Mono', 'Consolas', monospace;

  --header-h: 108px;
}

/* ---------- Reset ---------- */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family:inherit; cursor:pointer; }
h1,h2,h3,h4,p{ margin:0; }
input, textarea, select{ font-family: inherit; font-size: 1rem; }
.container{ width:100%; max-width: 1200px; margin:0 auto; padding: 0 24px; }
:focus-visible{ outline: 3px solid var(--turmeric); outline-offset: 2px; }

/* ---------- Utility ---------- */
.section{ padding: 84px 0; }
.section--tight{ padding: 56px 0; }
.section--dim{ background: var(--paper-dim); }
.section--forest{ background: var(--forest); color:#fff; }
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family: var(--font-mono); font-size: .78rem; letter-spacing:.14em;
  text-transform: uppercase; color: var(--leaf-dark); font-weight:600;
  background: var(--forest-tint); padding:6px 14px; border-radius: 999px;
}
.section--forest .eyebrow{ background: rgba(255,255,255,.12); color: var(--turmeric); }
.section-head{ max-width: 640px; margin-bottom: 44px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-title{
  font-family: var(--font-head); font-weight:800; text-transform:uppercase;
  letter-spacing:.01em; font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  margin-top:14px; line-height:1.15;
}
.section-sub{ margin-top:14px; color: var(--ink-soft); font-size:1.05rem; }
.section--forest .section-sub{ color: rgba(255,255,255,.78); }

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding: 14px 28px; border-radius: 999px; border:2px solid transparent;
  font-weight:700; font-size: .95rem; letter-spacing:.02em; cursor:pointer;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease;
  white-space: nowrap;
}
.btn:active{ transform: translateY(1px) scale(.98); }
.btn-primary{ background: var(--leaf); color:#fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover{ background: var(--leaf-dark); box-shadow: var(--shadow); transform: translateY(-2px); }
.btn-dark{ background: var(--forest); color:#fff; }
.btn-dark:hover{ background: var(--forest-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline{ background: transparent; border-color: currentColor; color: var(--forest); }
.btn-outline:hover{ background: var(--forest); color:#fff; transform: translateY(-2px); }
.section--forest .btn-outline{ color:#fff; }
.section--forest .btn-outline:hover{ background:#fff; color: var(--forest); }
.btn-tomato{ background: var(--tomato); color:#fff; }
.btn-tomato:hover{ background: var(--tomato-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost{ background: transparent; color: var(--forest); padding:10px 6px; }
.btn-ghost:hover{ text-decoration: underline; }
.btn-block{ width:100%; }
.btn-sm{ padding:10px 18px; font-size:.85rem; }
.btn[disabled]{ opacity:.5; cursor:not-allowed; transform:none !important; }

.tag{
  display:inline-block; font-family: var(--font-mono); font-size:.72rem;
  letter-spacing:.06em; text-transform:uppercase; font-weight:600;
  padding: 4px 10px; border-radius: 999px; background: var(--forest-tint); color: var(--forest);
}
.tag--fruit{ background:#FBEADD; color:#B5651D; }
.tag--veg{ background: var(--forest-tint); color: var(--leaf-dark); }
.tag--wholesale{ background:#FCEFD8; color:#95661C; }

/* Hand-tied price tag — signature detail reused on cards/cart */
.price-tag{
  position:relative; display:inline-flex; align-items:baseline; gap:4px;
  font-family: var(--font-mono); font-weight:600; background:#fff;
  border:1.5px dashed var(--line-strong); border-radius: 6px;
  padding: 6px 12px 6px 16px; transform: rotate(-2deg);
  box-shadow: var(--shadow-sm);
}
.price-tag::before{
  content:''; position:absolute; left:6px; top:50%; transform:translateY(-50%);
  width:6px; height:6px; border-radius:50%; background: var(--paper);
  border:1.5px solid var(--line-strong);
}
.price-tag .amt{ font-size:1.05rem; color: var(--tomato); }
.price-tag .per{ font-size:.72rem; color: var(--ink-soft); }

.visually-hidden{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

/* ---------- Animations ---------- */
@keyframes fadeUp{ from{ opacity:0; transform: translateY(26px);} to{ opacity:1; transform:none; } }
@keyframes fadeIn{ from{ opacity:0; } to{ opacity:1; } }
@keyframes floatY{ 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-10px);} }
@keyframes marquee{ from{ transform: translateX(0);} to{ transform: translateX(-50%);} }
@keyframes bump{ 0%{ transform: scale(1);} 35%{ transform: scale(1.5);} 60%{ transform: scale(.9);} 100%{ transform: scale(1);} }
@keyframes spin{ to{ transform: rotate(360deg); } }
@keyframes pulseRing{ 0%{ box-shadow:0 0 0 0 rgba(95,168,62,.45);} 100%{ box-shadow:0 0 0 14px rgba(95,168,62,0);} }

[data-animate]{ opacity:0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
[data-animate].in-view{ opacity:1; transform:none; }
[data-animate-delay="1"]{ transition-delay:.08s; }
[data-animate-delay="2"]{ transition-delay:.16s; }
[data-animate-delay="3"]{ transition-delay:.24s; }
[data-animate-delay="4"]{ transition-delay:.32s; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *, *::before, *::after{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; }
  [data-animate]{ opacity:1; transform:none; }
}

/* ---------- Top strip ---------- */
.topbar{
  background: var(--forest-dark); color: rgba(255,255,255,.88);
  font-family: var(--font-mono); font-size: .78rem;
}
.topbar .container{ display:flex; align-items:center; justify-content:space-between; padding-top:8px; padding-bottom:8px; gap:16px; flex-wrap:wrap; }
.topbar a{ color: var(--turmeric); font-weight:600; }
.topbar a:hover{ text-decoration:underline; }
.topbar-left{ display:flex; gap:18px; flex-wrap:wrap; }
.topbar-left span{ display:inline-flex; align-items:center; gap:6px; }

/* ---------- Header ---------- */
.site-header{
  position: sticky; top:0; z-index: 60; background: var(--forest);
  box-shadow: 0 6px 18px rgba(0,0,0,.12); transition: padding .25s ease;
}
.navbar{ display:flex; align-items:center; justify-content:space-between; gap: 24px; padding: 16px 24px; }
.logo{
  font-family: var(--font-display); color:#fff; font-size: 1.5rem; letter-spacing:.02em;
  display:flex; align-items:center; gap:2px; flex-shrink:0;
}
.logo span{ color: var(--turmeric); }
.nav-links{ display:flex; gap: 30px; }
.nav-links a{
  color: rgba(255,255,255,.85); font-weight:600; font-size:.94rem; letter-spacing:.02em;
  text-transform: uppercase; position:relative; padding: 6px 0;
}
.nav-links a::after{
  content:''; position:absolute; left:0; right:100%; bottom:0; height:2px; background: var(--turmeric);
  transition: right .25s ease;
}
.nav-links a:hover::after, .nav-links a.active::after{ right:0; }
.nav-links a.active{ color:#fff; }
.nav-actions{ display:flex; align-items:center; gap:18px; }
.cart-link{ position:relative; display:flex; align-items:center; color:#fff; }
.cart-link svg{ width:26px; height:26px; }
.cart-badge{
  position:absolute; top:-8px; right:-10px; background: var(--tomato); color:#fff;
  font-family: var(--font-mono); font-size:.68rem; font-weight:700;
  min-width:18px; height:18px; border-radius:999px; display:flex; align-items:center; justify-content:center;
  padding: 0 4px; border:2px solid var(--forest);
}
.cart-badge.bump{ animation: bump .4s ease; }
.hamburger{
  display:none; flex-direction:column; justify-content:center; gap:5px;
  width:34px; height:34px; background:transparent; border:none; padding:0;
}
.hamburger span{ height:2px; width:100%; background:#fff; border-radius:2px; transition: transform .25s ease, opacity .25s ease; }
.hamburger.open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2){ opacity:0; }
.hamburger.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ---------- Mandi ticker (signature element) ---------- */
.mandi-board{ background: var(--forest-dark); color:#fff; overflow:hidden; border-top:1px solid rgba(255,255,255,.08); }
.mandi-board__inner{ display:flex; align-items:center; }
.mandi-board__label{
  flex-shrink:0; display:flex; align-items:center; gap:8px; background: var(--tomato);
  color:#fff; font-family: var(--font-mono); font-weight:700; font-size:.74rem;
  letter-spacing:.08em; text-transform:uppercase; padding: 9px 18px; white-space:nowrap;
}
.mandi-board__track{ display:flex; overflow:hidden; }
.mandi-board__list{ display:flex; flex-shrink:0; animation: marquee 34s linear infinite; }
.mandi-board__list li{
  display:flex; align-items:baseline; gap:8px; padding: 9px 26px;
  font-family: var(--font-mono); font-size:.82rem; white-space:nowrap; border-right:1px solid rgba(255,255,255,.1);
}
.mandi-board__list li b{ color: var(--turmeric); font-weight:600; }
.mandi-board:hover .mandi-board__list{ animation-play-state: paused; }

/* ---------- Hero ---------- */
.hero{ position:relative; overflow:hidden; background: var(--paper); padding: 64px 0 88px; }
.hero .container{ display:grid; grid-template-columns: 1.05fr .95fr; gap:56px; align-items:center; }
.hero-copy h1{
  font-family: var(--font-display); text-transform:uppercase; line-height:1.02;
  font-size: clamp(2.4rem, 5vw, 4rem); color: var(--forest); letter-spacing:.01em;
}
.hero-copy h1 em{ font-style:normal; color: var(--tomato); }
.hero-copy .lede{ margin-top:22px; font-size:1.12rem; color: var(--ink-soft); max-width:520px; }
.hero-actions{ display:flex; gap:16px; margin-top:34px; flex-wrap:wrap; }
.hero-trust{ display:flex; gap:28px; margin-top:40px; flex-wrap:wrap; }
.hero-trust div{ display:flex; flex-direction:column; }
.hero-trust b{ font-family: var(--font-mono); font-size:1.5rem; color: var(--forest); }
.hero-trust span{ font-size:.82rem; color: var(--ink-soft); }

.hero-art{ position:relative; }
.hero-art__frame{
  position:relative; border-radius: var(--radius-lg); overflow:hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 4/4.6;
}
.hero-art__frame img{ width:100%; height:100%; object-fit:cover; }
.hero-art__badge{
  position:absolute; bottom:-22px; left:-26px; background:#fff; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding:16px 20px; display:flex; align-items:center; gap:12px;
  animation: floatY 5s ease-in-out infinite;
}
.hero-art__badge .ring{
  width:46px; height:46px; border-radius:50%; background: var(--forest-tint); color: var(--leaf-dark);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.hero-art__badge b{ display:block; font-family: var(--font-mono); font-size:1.1rem; color: var(--forest); }
.hero-art__badge span{ font-size:.76rem; color: var(--ink-soft); }
.hero-art__chip{
  position:absolute; top:22px; right:-18px; background: var(--turmeric); color: var(--forest-dark);
  font-family: var(--font-mono); font-weight:700; font-size:.82rem; padding:10px 16px;
  border-radius: 999px; transform: rotate(4deg); box-shadow: var(--shadow);
}

/* ---------- Category grid ---------- */
.cat-grid{ display:grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cat-card{
  position:relative; border-radius: var(--radius); overflow:hidden; aspect-ratio: 3/3.6;
  box-shadow: var(--shadow-sm); transition: box-shadow .3s ease, transform .3s ease;
}
.cat-card:hover{ box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.cat-card img{ width:100%; height:100%; object-fit:cover; transition: transform .5s ease; }
.cat-card:hover img{ transform: scale(1.08); }
.cat-card::after{
  content:''; position:absolute; inset:0; background: linear-gradient(0deg, rgba(20,52,32,.86) 0%, rgba(20,52,32,.05) 55%);
}
.cat-card__label{
  position:absolute; left:0; right:0; bottom:0; padding: 20px; z-index:2; color:#fff;
}
.cat-card__label b{ font-family: var(--font-head); font-weight:800; text-transform:uppercase; font-size:1.05rem; letter-spacing:.02em; }
.cat-card__label span{ display:block; font-size:.78rem; color: var(--turmeric); margin-top:4px; font-family: var(--font-mono); }

/* ---------- Product grid & cards ---------- */
.filter-bar{
  display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap;
  margin-bottom: 34px;
}
.chip-group{ display:flex; gap:10px; flex-wrap:wrap; }
.chip{
  padding:9px 18px; border-radius:999px; border:1.5px solid var(--line-strong); background:#fff;
  font-weight:600; font-size:.86rem; color: var(--ink-soft); transition: all .2s ease;
}
.chip:hover{ border-color: var(--leaf); color: var(--leaf-dark); }
.chip.active{ background: var(--forest); border-color: var(--forest); color:#fff; }

.mode-switch{
  display:inline-flex; background: var(--forest-tint); border-radius:999px; padding:4px; gap:4px;
}
.mode-switch button{
  border:none; background:transparent; padding:9px 20px; border-radius:999px; font-weight:700;
  font-size:.85rem; color: var(--forest); transition: all .2s ease;
}
.mode-switch button.active{ background: var(--forest); color:#fff; box-shadow: var(--shadow-sm); }

.search-box{ position:relative; flex:1; min-width:220px; max-width:340px; }
.search-box input{
  width:100%; padding: 12px 16px 12px 42px; border-radius:999px; border:1.5px solid var(--line-strong);
  background:#fff; font-size:.92rem;
}
.search-box input:focus{ border-color: var(--leaf); }
.search-box svg{ position:absolute; left:14px; top:50%; transform:translateY(-50%); width:18px; height:18px; color: var(--ink-soft); }

.product-grid{ display:grid; grid-template-columns: repeat(4, 1fr); gap:24px; }
.product-card{
  background: var(--card); border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow-sm);
  display:flex; flex-direction:column; transition: transform .3s ease, box-shadow .3s ease;
  border:1px solid var(--line);
}
.product-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-card__media{ position:relative; aspect-ratio: 1/.86; overflow:hidden; background: var(--paper-dim); }
.product-card__media img{ width:100%; height:100%; object-fit:cover; transition: transform .5s ease; }
.product-card:hover .product-card__media img{ transform: scale(1.09); }
.product-card__tags{ position:absolute; top:12px; left:12px; display:flex; gap:6px; z-index:2; }
.product-card__price{ position:absolute; top:12px; right:12px; z-index:2; }
.product-card__body{ padding: 16px 18px 18px; display:flex; flex-direction:column; gap:10px; flex:1; }
.product-card__body h3{ font-family: var(--font-head); font-weight:700; font-size:1.02rem; }
.product-card__body .desc{ font-size:.82rem; color: var(--ink-soft); }
.product-card__foot{ margin-top:auto; display:flex; align-items:center; gap:10px; }

.qty-stepper{
  display:flex; align-items:center; border:1.5px solid var(--line-strong); border-radius:999px; overflow:hidden;
  flex-shrink:0;
}
.qty-stepper button{
  width:32px; height:32px; background:#fff; border:none; font-size:1.1rem; color: var(--forest); font-weight:700;
  display:flex; align-items:center; justify-content:center; transition: background .2s ease;
}
.qty-stepper button:hover{ background: var(--forest-tint); }
.qty-stepper input{
  width:38px; text-align:center; border:none; border-left:1.5px solid var(--line-strong); border-right:1.5px solid var(--line-strong);
  height:32px; font-family: var(--font-mono); font-weight:600; font-size:.85rem;
}
.add-cart-btn{
  flex:1; display:flex; align-items:center; justify-content:center; gap:8px; padding:10px 14px;
  border-radius:999px; border:none; background: var(--leaf); color:#fff; font-weight:700; font-size:.86rem;
  transition: background .2s ease, transform .2s ease;
}
.add-cart-btn:hover{ background: var(--leaf-dark); transform: translateY(-2px); }
.add-cart-btn svg{ width:16px; height:16px; }
.add-cart-btn.added{ background: var(--forest); }

.empty-state{ text-align:center; padding: 60px 20px; color: var(--ink-soft); }
.empty-state svg{ width:64px; height:64px; color: var(--line-strong); margin-bottom:18px; }

/* ---------- Why choose us / stats ---------- */
.feature-grid{ display:grid; grid-template-columns: repeat(4,1fr); gap:24px; }
.feature-card{
  background: var(--card); border-radius: var(--radius); padding: 30px 24px; box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease; border:1px solid var(--line);
}
.feature-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow); }
.feature-card .ic{
  width:52px; height:52px; border-radius:14px; background: var(--forest-tint); color: var(--leaf-dark);
  display:flex; align-items:center; justify-content:center; margin-bottom:18px;
}
.feature-card .ic svg{ width:26px; height:26px; }
.feature-card h3{ font-family: var(--font-head); font-weight:700; font-size:1.05rem; margin-bottom:8px; }
.feature-card p{ font-size:.9rem; color: var(--ink-soft); }

.stat-row{ display:grid; grid-template-columns: repeat(4,1fr); gap:24px; text-align:center; }
.stat-row div b{ display:block; font-family: var(--font-display); font-size: clamp(1.8rem,3vw,2.6rem); color: var(--turmeric); }
.stat-row div span{ font-size:.85rem; color: rgba(255,255,255,.75); text-transform:uppercase; letter-spacing:.06em; }

/* ---------- Split / wholesale banner ---------- */
.split{ display:grid; grid-template-columns: 1fr 1fr; gap:56px; align-items:center; }
.split-media{ border-radius: var(--radius-lg); overflow:hidden; box-shadow: var(--shadow-lg); aspect-ratio: 5/4; }
.split-media img{ width:100%; height:100%; object-fit:cover; }
.check-list{ margin-top:22px; display:flex; flex-direction:column; gap:14px; }
.check-list li{ display:flex; gap:12px; align-items:flex-start; font-size:.96rem; }
.check-list svg{ width:20px; height:20px; color: var(--leaf); flex-shrink:0; margin-top:2px; }
.section--forest .check-list svg{ color: var(--turmeric); }

/* ---------- Testimonials ---------- */
.testi-wrap{ position:relative; max-width:760px; margin:0 auto; }
.testi-slide{ display:none; background:#fff; border-radius: var(--radius-lg); padding: 40px 44px; box-shadow: var(--shadow); text-align:center; }
.testi-slide.active{ display:block; animation: fadeIn .5s ease; }
.testi-slide p{ font-size:1.12rem; color: var(--ink); font-style:italic; }
.testi-slide .who{ margin-top:20px; font-family: var(--font-mono); font-weight:600; color: var(--forest); font-style:normal; }
.testi-dots{ display:flex; justify-content:center; gap:10px; margin-top:24px; }
.testi-dots button{ width:10px; height:10px; border-radius:50%; background: var(--line-strong); border:none; }
.testi-dots button.active{ background: var(--leaf); }

/* ---------- Newsletter ---------- */
.newsletter-box{
  background: var(--forest); border-radius: var(--radius-lg); padding: 48px; display:flex; align-items:center;
  justify-content:space-between; gap:30px; flex-wrap:wrap; color:#fff;
}
.newsletter-box h3{ font-family: var(--font-head); font-weight:800; font-size:1.3rem; text-transform:uppercase; }
.newsletter-box p{ margin-top:8px; color: rgba(255,255,255,.75); max-width:420px; }
.newsletter-form{ display:flex; gap:10px; flex-wrap:wrap; }
.newsletter-form input{
  padding:13px 18px; border-radius:999px; border:none; min-width:240px; font-size:.92rem;
}
.form-msg{ margin-top:12px; font-size:.85rem; font-family: var(--font-mono); }

/* ---------- Page banner (inner pages) ---------- */
.page-banner{
  background: linear-gradient(120deg, var(--forest) 0%, var(--forest-dark) 100%);
  color:#fff; padding: 56px 0 48px; position:relative; overflow:hidden;
}
.page-banner .container{ position:relative; z-index:2; }
.page-banner h1{ font-family: var(--font-display); text-transform:uppercase; font-size: clamp(1.9rem,4vw,2.8rem); }
.page-banner p{ margin-top:12px; color: rgba(255,255,255,.78); max-width:560px; }
.breadcrumb{ font-family: var(--font-mono); font-size:.8rem; color: rgba(255,255,255,.6); margin-bottom:14px; }
.breadcrumb a{ color: var(--turmeric); }
.breadcrumb a:hover{ text-decoration:underline; }

/* ---------- Footer ---------- */
.site-footer{ background: var(--forest-dark); color: rgba(255,255,255,.82); padding: 64px 0 0; }
.footer-grid{ display:grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap:40px; padding-bottom:48px; border-bottom:1px solid rgba(255,255,255,.1); }
.footer-brand .logo{ margin-bottom:14px; }
.footer-brand p{ font-size:.88rem; color: rgba(255,255,255,.62); max-width:280px; }
.social-row{ display:flex; gap:10px; margin-top:20px; }
.social-row a{
  width:38px; height:38px; border-radius:50%; background: rgba(255,255,255,.08); display:flex;
  align-items:center; justify-content:center; transition: background .2s ease, transform .2s ease;
}
.social-row a:hover{ background: var(--leaf); transform: translateY(-3px); }
.social-row svg{ width:17px; height:17px; }
.footer-col h4{ font-family: var(--font-head); text-transform:uppercase; font-size:.86rem; letter-spacing:.08em; color: var(--turmeric); margin-bottom:18px; }
.footer-col ul{ display:flex; flex-direction:column; gap:11px; }
.footer-col a{ font-size:.9rem; color: rgba(255,255,255,.72); transition: color .2s ease; }
.footer-col a:hover{ color:#fff; }
.footer-contact li{ display:flex; gap:10px; font-size:.88rem; align-items:flex-start; }
.footer-contact svg{ width:17px; height:17px; flex-shrink:0; margin-top:2px; color: var(--turmeric); }
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center; padding: 22px 0; font-size:.78rem;
  color: rgba(255,255,255,.5); flex-wrap:wrap; gap:10px;
}
.footer-bottom a{ color: rgba(255,255,255,.5); }
.footer-bottom a:hover{ color:#fff; }

/* ---------- Back to top ---------- */
.back-to-top{
  position: fixed; right: 24px; bottom: 24px; width:48px; height:48px; border-radius:50%;
  background: var(--forest); color:#fff; display:flex; align-items:center; justify-content:center;
  box-shadow: var(--shadow); border:none; opacity:0; pointer-events:none; transform: translateY(12px);
  transition: opacity .3s ease, transform .3s ease, background .2s ease; z-index:50;
}
.back-to-top.show{ opacity:1; pointer-events:auto; transform:none; }
.back-to-top:hover{ background: var(--leaf); }
.back-to-top svg{ width:20px; height:20px; }

/* ---------- Toast ---------- */
.toast-stack{ position: fixed; right:20px; bottom:88px; z-index:80; display:flex; flex-direction:column; gap:10px; }
.toast{
  background: var(--forest); color:#fff; padding: 14px 20px; border-radius: 12px; box-shadow: var(--shadow-lg);
  display:flex; align-items:center; gap:12px; min-width:240px; max-width:320px;
  animation: toastIn .35s ease;
}
.toast svg{ width:20px; height:20px; color: var(--turmeric); flex-shrink:0; }
.toast.out{ animation: toastOut .35s ease forwards; }
@keyframes toastIn{ from{ opacity:0; transform: translateX(30px);} to{ opacity:1; transform:none; } }
@keyframes toastOut{ from{ opacity:1; } to{ opacity:0; transform: translateX(30px);} }

/* ---------- Cart page ---------- */
.cart-layout{ display:grid; grid-template-columns: 1.7fr 1fr; gap:36px; align-items:flex-start; }
.cart-mode-tag{ margin-bottom:20px; display:flex; align-items:center; gap:12px; }
.cart-item{
  display:grid; grid-template-columns: 84px 1fr auto auto auto; gap:18px; align-items:center;
  background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding:16px; margin-bottom:14px;
}
.cart-item img{ width:84px; height:84px; object-fit:cover; border-radius:10px; }
.cart-item__name{ font-family: var(--font-head); font-weight:700; }
.cart-item__meta{ font-size:.78rem; color: var(--ink-soft); margin-top:4px; }
.cart-item__price{ font-family: var(--font-mono); font-weight:600; color: var(--tomato); white-space:nowrap; }
.cart-item__remove{
  width:32px; height:32px; border-radius:50%; background: var(--paper-dim); border:none; color: var(--tomato);
  display:flex; align-items:center; justify-content:center; transition: background .2s ease, transform .2s ease;
}
.cart-item__remove:hover{ background:#FBE1DD; transform: rotate(90deg); }
.cart-item__remove svg{ width:16px; height:16px; }

.summary-card{ background:#fff; border-radius: var(--radius); border:1px solid var(--line); padding:26px; position:sticky; top:calc(var(--header-h) + 20px); }
.summary-card h3{ font-family: var(--font-head); font-weight:800; text-transform:uppercase; font-size:1rem; margin-bottom:18px; }
.summary-row{ display:flex; justify-content:space-between; font-size:.92rem; padding:10px 0; border-bottom:1px dashed var(--line); }
.summary-row.total{ border-bottom:none; font-weight:800; font-size:1.1rem; color: var(--forest); padding-top:16px; }
.summary-note{ font-size:.78rem; color: var(--ink-soft); margin-top:6px; }

.checkout-form{ display:grid; grid-template-columns: 1fr 1fr; gap:16px; margin-top:18px; }
.checkout-form .full{ grid-column: 1/-1; }
.field label{ display:block; font-size:.82rem; font-weight:600; margin-bottom:6px; color: var(--ink-soft); }
.field input, .field textarea, .field select{
  width:100%; padding:12px 14px; border-radius:10px; border:1.5px solid var(--line-strong); background: var(--paper);
}
.field input:focus, .field textarea:focus, .field select:focus{ border-color: var(--leaf); background:#fff; }
.field textarea{ resize: vertical; min-height:90px; }
.form-note{ font-size:.78rem; color: var(--ink-soft); margin-top:14px; }

.order-success{ text-align:center; padding: 40px 20px; }
.order-success .ic{
  width:74px; height:74px; border-radius:50%; background: var(--forest-tint); color: var(--leaf-dark);
  display:flex; align-items:center; justify-content:center; margin:0 auto 18px; animation: pulseRing 1.8s ease-out infinite;
}
.order-success .ic svg{ width:36px; height:36px; }
.order-success h3{ font-family: var(--font-head); font-weight:800; font-size:1.3rem; }
.order-success p{ margin-top:10px; color: var(--ink-soft); }
.order-id{ font-family: var(--font-mono); background: var(--paper-dim); display:inline-block; padding:8px 18px; border-radius:999px; margin-top:14px; font-weight:700; color: var(--forest); }

/* ---------- Contact page ---------- */
.contact-grid{ display:grid; grid-template-columns: .9fr 1.1fr; gap:40px; }
.info-card{ background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding:22px; display:flex; gap:16px; margin-bottom:16px; }
.info-card .ic{ width:46px; height:46px; border-radius:12px; background: var(--forest-tint); color: var(--leaf-dark); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.info-card .ic svg{ width:22px; height:22px; }
.info-card h4{ font-family: var(--font-head); font-weight:700; font-size:.95rem; margin-bottom:4px; }
.info-card p{ font-size:.88rem; color: var(--ink-soft); }
.info-card a{ color: var(--leaf-dark); font-weight:600; }
.map-frame{ border-radius: var(--radius); overflow:hidden; border:1px solid var(--line); margin-top:22px; box-shadow: var(--shadow-sm); }
.map-frame iframe{ width:100%; height:260px; border:0; display:block; }
.contact-form-card{ background:#fff; border:1px solid var(--line); border-radius: var(--radius-lg); padding:36px; box-shadow: var(--shadow-sm); }
.contact-form{ display:grid; grid-template-columns: 1fr 1fr; gap:18px; margin-top:22px; }
.contact-form .full{ grid-column:1/-1; }

/* ---------- Service page ---------- */
.service-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:24px; }
.service-card{ background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding:28px; transition: transform .3s ease, box-shadow .3s ease; }
.service-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card .num{ font-family: var(--font-mono); color: var(--line-strong); font-size:.78rem; letter-spacing:.1em; }
.service-card .ic{ width:52px; height:52px; border-radius:14px; background: var(--forest-tint); color: var(--leaf-dark); display:flex; align-items:center; justify-content:center; margin:14px 0 16px; }
.service-card .ic svg{ width:26px; height:26px; }
.service-card h3{ font-family: var(--font-head); font-weight:700; font-size:1.08rem; margin-bottom:8px; }
.service-card p{ font-size:.9rem; color: var(--ink-soft); }

.compare-table{ width:100%; border-collapse:collapse; background:#fff; border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow-sm); }
.compare-table th, .compare-table td{ padding:16px 20px; text-align:left; border-bottom:1px solid var(--line); font-size:.92rem; }
.compare-table thead th{ background: var(--forest); color:#fff; font-family: var(--font-head); text-transform:uppercase; font-size:.8rem; letter-spacing:.05em; }
.compare-table tbody tr:last-child td{ border-bottom:none; }
.compare-table tbody tr:hover{ background: var(--paper-dim); }
.compare-table td:first-child{ font-weight:700; color: var(--forest); }

/* ---------- FAQ ---------- */
.faq-list{ max-width: 820px; margin:0 auto; display:flex; flex-direction:column; gap:14px; }
.faq-item{ background:#fff; border:1px solid var(--line); border-radius: var(--radius); overflow:hidden; }
.faq-q{
  width:100%; display:flex; justify-content:space-between; align-items:center; gap:16px; padding:20px 24px;
  background:none; border:none; text-align:left; font-family: var(--font-head); font-weight:700; font-size:1rem; color: var(--forest);
}
.faq-q .plus{ width:26px; height:26px; border-radius:50%; background: var(--forest-tint); color: var(--leaf-dark); display:flex; align-items:center; justify-content:center; flex-shrink:0; transition: transform .3s ease; }
.faq-item.open .faq-q .plus{ transform: rotate(45deg); background: var(--leaf); color:#fff; }
.faq-a{ max-height:0; overflow:hidden; transition: max-height .35s ease; }
.faq-a-inner{ padding: 0 24px 22px; color: var(--ink-soft); font-size:.94rem; }
.faq-item.open .faq-a{ max-height: 400px; }
.faq-categories{ display:flex; justify-content:center; gap:10px; margin-bottom:40px; flex-wrap:wrap; }

/* ---------- Legal pages ---------- */
.legal-wrap{ max-width: 820px; margin:0 auto; }
.legal-updated{ font-family: var(--font-mono); font-size:.8rem; color: var(--ink-soft); background: var(--paper-dim); display:inline-block; padding:8px 16px; border-radius:999px; margin-bottom:34px; }
.legal-wrap h2{ font-family: var(--font-head); font-weight:800; font-size:1.25rem; margin-top:38px; margin-bottom:14px; color: var(--forest); text-transform:uppercase; letter-spacing:.01em; }
.legal-wrap h2:first-of-type{ margin-top:0; }
.legal-wrap p{ margin-bottom:14px; color: var(--ink-soft); }
.legal-wrap ul{ margin-bottom:14px; padding-left: 4px; }
.legal-wrap ul li{ display:flex; gap:10px; margin-bottom:10px; color: var(--ink-soft); }
.legal-wrap ul li::before{ content:'—'; color: var(--leaf); font-weight:700; flex-shrink:0; }
.legal-toc{ background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding:22px 26px; margin-bottom:40px; }
.legal-toc b{ font-family: var(--font-head); text-transform:uppercase; font-size:.8rem; letter-spacing:.08em; color: var(--forest); }
.legal-toc ul{ margin-top:12px; columns:2; gap:10px; }
.legal-toc li{ margin-bottom:8px; }
.legal-toc a{ color: var(--leaf-dark); font-size:.88rem; }
.legal-toc a:hover{ text-decoration:underline; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px){
  .cat-grid{ grid-template-columns: repeat(2,1fr); }
  .product-grid{ grid-template-columns: repeat(3,1fr); }
  .feature-grid{ grid-template-columns: repeat(2,1fr); }
  .stat-row{ grid-template-columns: repeat(2,1fr); gap:34px; }
  .service-grid{ grid-template-columns: repeat(2,1fr); }
  .cart-layout{ grid-template-columns: 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }
}
@media (max-width: 900px){
  .hero .container{ grid-template-columns: 1fr; }
  .hero-art{ order:-1; max-width:420px; margin:0 auto; }
  .split{ grid-template-columns: 1fr; }
  .split-media{ order:-1; }
}
@media (max-width: 860px){
  :root{ --header-h: 96px; }
  .nav-links{
    position:fixed; top: var(--header-h); left:0; right:0; background: var(--forest); flex-direction:column;
    padding: 10px 24px 26px; gap:4px; max-height:0; overflow:hidden; transition: max-height .35s ease;
  }
  .nav-links.open{ max-height:400px; }
  .nav-links a{ padding:12px 0; border-bottom:1px solid rgba(255,255,255,.08); width:100%; }
  .hamburger{ display:flex; }
  .topbar .container{ font-size:.72rem; }
}
@media (max-width: 720px){
  .section{ padding: 56px 0; }
  .cat-grid{ grid-template-columns: repeat(2,1fr); }
  .product-grid{ grid-template-columns: repeat(2,1fr); }
  .feature-grid{ grid-template-columns: 1fr; }
  .stat-row{ grid-template-columns: repeat(2,1fr); }
  .service-grid{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .checkout-form{ grid-template-columns: 1fr; }
  .contact-form{ grid-template-columns: 1fr; }
  .cart-item{ grid-template-columns: 60px 1fr; grid-template-areas: "img name" "img price" "img qty"; }
  .cart-item img{ width:60px; height:60px; grid-area: img; }
  .legal-toc ul{ columns:1; }
}
@media (max-width: 520px){
  .cat-grid{ grid-template-columns: 1fr; }
  .product-grid{ grid-template-columns: 1fr 1fr; }
  .footer-grid{ grid-template-columns: 1fr; }
  .newsletter-box{ flex-direction:column; align-items:flex-start; }
}
