/* =========================================================
   Food Tawam (ফুড ত্বআম) — public storefront v5
   Light green / off-white ground, dry-fruit watermark,
   photo-first hero, Bangla UI. Mobile-first → TV.
   ========================================================= */
:root {
  --bg: #f2f7ec;
  --bg-2: #eaf4e3;
  --bg-3: #dfeeda;
  --surface: #ffffff;
  --surface-2: #f7fbf3;
  --ink: #16321e;
  --ink-soft: #2c4033;
  --muted: rgba(22, 50, 30, .62);
  --line: rgba(14, 110, 49, .14);
  --line-strong: rgba(14, 110, 49, .28);
  --logo-green: #007a38;
  --logo-deep: #0a5f2a;
  --leaf: #4f9d38;
  --gold: #c9a45c;
  --gold-2: #b8923f;
  --gold-3: #e8d19a;
  --cream: #f6efdc;
  --ivory: #fbf8ef;
  --radius: 1.15rem;
  --radius-lg: 1.7rem;
  --shadow: 0 1rem 2.4rem -1.2rem rgba(26, 46, 31, .22);
  --shadow-soft: 0 .5rem 1.4rem -.6rem rgba(26, 46, 31, .14);
  --shadow-gold: 0 .7rem 1.8rem -.8rem rgba(201, 164, 92, .45);
  --shadow-green: 0 .75rem 1.8rem -.7rem rgba(0, 122, 56, .45);
  --f-body: "Hind Siliguri", "Noto Sans Bengali", system-ui, sans-serif;
  --f-head: "Noto Serif Bengali", "Hind Siliguri", serif;
  --f-en: "Cormorant Garamond", Georgia, serif;
  --wrap: 82rem;
  --gutter: clamp(1rem, 4vw, 3rem);
  --header-h: 4.25rem;
  --tabbar-h: 4.25rem;
  --sat: env(safe-area-inset-top, 0px);
  --sab: env(safe-area-inset-bottom, 0px);
  --sal: env(safe-area-inset-left, 0px);
  --sar: env(safe-area-inset-right, 0px);
  --ease: cubic-bezier(.22, .8, .2, 1);
}

html { font-size: 16px; }
@media (min-width: 1600px) { html { font-size: 17px; } }
@media (min-width: 1920px) { html { font-size: 19px; } }
@media (min-width: 2560px) { html { font-size: 24px; } }
@media (min-width: 3400px) { html { font-size: 30px; } }

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--sat) + .5rem); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-body);
  color: var(--ink);
  background-color: var(--bg);
  background-image:
    url("/static/images/dryfruit-watermark.png"),
    radial-gradient(70rem 40rem at 90% -5%, rgba(90, 167, 63, .12), transparent 55%),
    radial-gradient(50rem 35rem at -10% 40%, rgba(0, 131, 61, .08), transparent 55%),
    linear-gradient(180deg, var(--bg-2), var(--bg) 35%, #f7faf3);
  background-size: 48rem auto, auto, auto, auto;
  background-repeat: repeat, no-repeat, no-repeat, no-repeat;
  background-attachment: fixed, fixed, fixed, fixed;
  background-position: center top, right top, left center, center;
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
  padding-bottom: calc(var(--tabbar-h) + var(--sab));
}
@media (min-width: 900px) { body { padding-bottom: 0; } }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
svg { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 2px solid var(--logo-green); outline-offset: 3px; border-radius: .4rem; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip-link { position: absolute; left: -999px; top: .5rem; z-index: 100; background: var(--gold); color: var(--ink); padding: .5rem 1rem; border-radius: .5rem; }
.skip-link:focus { left: .5rem; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: max(var(--gutter), var(--sal)) max(var(--gutter), var(--sar)); }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.tiny { font-size: .78rem; }
.ph { color: var(--logo-deep); font-style: italic; opacity: .85; }
.gold-text {
  background: linear-gradient(100deg, var(--gold-2) 0%, #d4b06a 45%, var(--gold-2) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.title-xl {
  font-family: var(--f-head);
  font-size: clamp(2.35rem, 5.8vw, 3.85rem);
  font-weight: 800;
  color: var(--logo-deep);
  letter-spacing: -.005em;
  line-height: 1.22;
  text-wrap: balance;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 2.9rem; padding: .7rem 1.4rem; border-radius: 999px;
  font-weight: 600; letter-spacing: .01em; line-height: 1.2;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .25s;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-lg { min-height: 3.3rem; padding: .85rem 1.8rem; font-size: 1.05rem; }
.btn-sm { min-height: 2.4rem; padding: .45rem 1rem; font-size: .9rem; }
.btn-block { width: 100%; }
.btn-gold { background: linear-gradient(135deg, #e3c887, var(--gold) 55%, #a9833d); color: #1a2e1f; box-shadow: var(--shadow-gold); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 1rem 2.2rem -.8rem rgba(201, 164, 92, .7); }
.btn-green {
  background: linear-gradient(160deg, #1aa85a 0%, var(--logo-green) 48%, var(--logo-deep) 100%);
  color: #fff; box-shadow: var(--shadow-green), inset 0 1px 0 rgba(255,255,255,.35), inset 0 -3px 8px rgba(0,0,0,.18);
  text-shadow: 0 1px 0 rgba(0,0,0,.15); border: 1px solid rgba(0,90,40,.25);
}
.btn-green:hover { transform: translateY(-2px); box-shadow: 0 1.1rem 2.2rem -.7rem rgba(0,122,56,.55), inset 0 1px 0 rgba(255,255,255,.4); }
.green-3d {
  background: linear-gradient(160deg, #2bb86a, var(--logo-green) 55%, var(--logo-deep));
  color: #fff !important; border: 1px solid rgba(0,90,40,.28);
  box-shadow: 0 .55rem 1.2rem -.4rem rgba(0,122,56,.45), inset 0 1px 0 rgba(255,255,255,.35), inset 0 -3px 6px rgba(0,0,0,.16);
}
.green-3d:hover { transform: translateY(-2px); filter: brightness(1.04); }
.green-3d-card {
  background: linear-gradient(180deg, #ffffff, #f6fbf2) !important;
  box-shadow: 0 .9rem 1.6rem -1rem rgba(14,60,30,.32), inset 0 1px 0 #fff, inset 0 -3px 0 rgba(14,110,49,.08);
  border-color: rgba(0,122,56,.16) !important;
}
.green-3d-card .c-ico, .green-3d-card .info-ico, .green-3d-card .tool-ico {
  background: linear-gradient(160deg, #2bb86a, var(--logo-green) 60%, var(--logo-deep));
  color: #fff; box-shadow: 0 .4rem .9rem -.3rem rgba(0,122,56,.5), inset 0 1px 0 rgba(255,255,255,.35);
}
.btn-ghost { border: 1px solid var(--line-strong); color: var(--logo-deep); background: rgba(255,255,255,.65); }
.btn-ghost:hover { border-color: var(--logo-green); background: #fff; }
.icon-btn { width: 2.75rem; height: 2.75rem; display: inline-grid; place-items: center; border-radius: 50%; color: var(--ink-soft); position: relative; transition: background .2s; }
.icon-btn:hover { background: rgba(0, 131, 61, .08); }
.round-btn {
  width: 3rem; height: 3rem; border-radius: 50%; border: 1px solid var(--line-strong);
  color: var(--logo-deep); font-size: 1.6rem; line-height: 1; display: grid; place-items: center;
  background: rgba(255,255,255,.85); box-shadow: var(--shadow-soft); transition: all .25s var(--ease);
}
.round-btn:hover { background: var(--logo-green); color: #fff; border-color: var(--logo-green); }

/* ---------- Header — floating 3D "set" plate ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding-top: calc(var(--sat) + .5rem);
  pointer-events: none;
}
.header-inner {
  pointer-events: auto;
  width: min(100% - 1.5rem, var(--wrap)); max-width: none;
  padding-inline: clamp(.85rem, 2vw, 1.5rem);
  margin-inline: auto;
  border-radius: 1.25rem;
  background:
    linear-gradient(180deg, rgba(255,255,255,.97) 0%, rgba(248,252,244,.94) 55%, rgba(234,244,227,.94) 100%);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow:
    0 0 0 1px rgba(14,110,49,.10),
    0 1px 0 rgba(255,255,255,1) inset,
    0 -2px 0 rgba(14,110,49,.10) inset,
    0 .25rem 0 -.05rem rgba(14,110,49,.10),
    0 1.1rem 2rem -1.1rem rgba(14,60,30,.38);
  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  transition: box-shadow .35s, transform .35s var(--ease);
}
.site-header.is-scrolled .header-inner {
  box-shadow:
    0 0 0 1px rgba(14,110,49,.12),
    0 1px 0 rgba(255,255,255,1) inset,
    0 -2px 0 rgba(14,110,49,.12) inset,
    0 .25rem 0 -.05rem rgba(14,110,49,.12),
    0 1.4rem 2.4rem -1.1rem rgba(14,60,30,.45);
}
@media (max-width: 700px) { .header-inner { width: min(100% - 1rem, var(--wrap)); border-radius: 1.1rem; } }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 1rem; }
.brand { display: flex; align-items: center; }
.brand-logo { height: 2.95rem; width: auto; filter: drop-shadow(0 1px 0 rgba(255,255,255,.9)) drop-shadow(0 2px 3px rgba(0,60,25,.14)); }
.main-nav { display: none; margin-inline: auto; gap: .15rem; }
.main-nav { padding: .25rem; border-radius: 999px; background: rgba(14,110,49,.05); box-shadow: inset 0 1px 2px rgba(14,60,30,.10), inset 0 -1px 0 rgba(255,255,255,.9); }
.main-nav a { padding: .42rem .95rem; border-radius: 999px; color: var(--ink-soft); font-weight: 600; position: relative; transition: color .2s, background .25s, box-shadow .25s; }
.main-nav a:hover { color: var(--logo-deep); background: rgba(255,255,255,.7); }
.main-nav a.is-active {
  color: #fff;
  background: linear-gradient(160deg, #2bb86a, var(--logo-green) 55%, var(--logo-deep));
  box-shadow: 0 .35rem .8rem -.3rem rgba(0,122,56,.55), inset 0 1px 0 rgba(255,255,255,.35), inset 0 -2px 4px rgba(0,0,0,.15);
}
.header-actions { margin-left: auto; display: flex; align-items: center; gap: .25rem; }
.btn-staff, .header-actions #btnCart {
  width: 2.6rem; height: 2.6rem; border-radius: 50%;
  border: 1px solid rgba(14,110,49,.16); color: var(--logo-deep);
  display: inline-grid; place-items: center;
  background: linear-gradient(180deg, #fff, #eef6e8);
  box-shadow: 0 .3rem .6rem -.3rem rgba(14,60,30,.35), inset 0 1px 0 #fff, inset 0 -2px 0 rgba(14,110,49,.08);
}
.btn-staff:hover { border-color: var(--logo-green); background: #fff; }
.btn-staff svg { width: 1.35rem; height: 1.35rem; }
.cart-count {
  position: absolute; top: .15rem; right: .05rem; min-width: 1.15rem; height: 1.15rem;
  padding: 0 .25rem; border-radius: 999px; background: var(--logo-green); color: #fff;
  font-size: .7rem; font-weight: 700; display: grid; place-items: center;
}
.menu-toggle { flex-direction: column; gap: 5px; display: inline-flex; align-items: center; justify-content: center; }
.menu-toggle span { width: 1.3rem; height: 1.5px; background: currentColor; transition: transform .3s, opacity .3s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
@media (min-width: 1024px) {
  .main-nav { display: flex; }
  .menu-toggle { display: none; }
}

.mobile-menu {
  position: fixed; inset: 0; z-index: 45;
  padding: calc(var(--header-h) + var(--sat) + 1rem) var(--gutter) calc(var(--tabbar-h) + var(--sab) + 1rem);
  background: rgba(244, 248, 239, .97); backdrop-filter: blur(16px);
  display: flex; flex-direction: column; gap: 1.5rem; overflow-y: auto;
  animation: fadeIn .3s var(--ease);
}
.mobile-menu nav { display: grid; gap: .15rem; }
.mobile-menu a {
  display: block; padding: .95rem .25rem; border-bottom: 1px solid var(--line);
  font-family: var(--f-head); font-size: 1.35rem; color: var(--ink);
}
.mobile-menu .mm-staff { color: var(--logo-deep); }

/* ---------- Tab bar ---------- */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 48;
  display: grid; grid-template-columns: repeat(5, 1fr);
  height: calc(var(--tabbar-h) + var(--sab)); padding-bottom: var(--sab);
  padding-inline: var(--sal) var(--sar);
  background: rgba(255,255,255,.92); backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}
.tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem; font-size: .72rem; color: var(--muted); min-height: 44px; }
.tabbar a svg { width: 1.45rem; height: 1.45rem; }
.tabbar a.is-active { color: var(--logo-deep); }
.tabbar .tab-mic svg {
  width: 2.55rem; height: 2.55rem; padding: .5rem; border-radius: 50%;
  background: linear-gradient(135deg, #e3c887, var(--gold)); color: var(--ink);
  margin-top: -1.15rem; box-shadow: var(--shadow-gold);
}
@media (min-width: 900px) { .tabbar { display: none; } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.25rem, 7vw, 6.5rem); position: relative; }
.section-head { max-width: 46rem; margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .title-xl { text-shadow: 0 1px 0 rgba(255,255,255,.9), 0 3px 10px rgba(0,90,40,.08); }
.section-head.center::after {
  content: ""; display: block; margin: .7rem auto 0;
  width: 4.5rem; height: .3rem; border-radius: 999px;
  background: linear-gradient(90deg, var(--logo-green), var(--gold) 60%, var(--leaf));
  box-shadow: 0 .2rem .5rem -.15rem rgba(0,122,56,.45), inset 0 1px 0 rgba(255,255,255,.5);
}
h1, h2, h3 { font-family: var(--f-head); line-height: 1.3; font-weight: 700; color: var(--ink); }
h2 { font-size: clamp(1.85rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.05rem, 1.7vw, 1.25rem); }
.lead { color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.12rem); margin-top: .7rem; }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .85s var(--ease), transform .85s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- HERO — full-bleed smooth slider ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + var(--sat) + 1.25rem) 0 1.25rem;
  overflow: hidden;
}
.hero-stage {
  position: relative;
  width: min(100% - 1.5rem, var(--wrap));
  margin-inline: auto;
  border-radius: clamp(1.2rem, 3vw, 2rem);
  overflow: hidden;
  box-shadow:
    0 2.5rem 4rem -2rem rgba(26, 46, 31, .28),
    0 0 0 1px rgba(255,255,255,.7),
    inset 0 1px 0 rgba(255,255,255,.5);
  background: #dfead6;
  transform: perspective(1200px) rotateX(.4deg);
  transform-style: preserve-3d;
}
.hero-slider {
  position: relative;
  aspect-ratio: 16 / 10;
  width: 100%;
  overflow: hidden;
  touch-action: pan-y;
  user-select: none;
}
@media (max-width: 700px) {
  .hero-slider { aspect-ratio: 4 / 5; }
  .hero-stage { width: min(100% - 1rem, var(--wrap)); border-radius: 1.25rem; }
}
.hero-slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity 1.2s var(--ease), visibility 1.2s, transform 1.2s var(--ease);
  transform: scale(1.04) translateZ(0);
}
.hero-slide.is-active {
  opacity: 1; visibility: visible; z-index: 1;
  transform: scale(1) translateZ(0);
}
.hero-slide img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.08);
  transition: transform 7s linear;
  filter: saturate(1.05) contrast(1.02);
}
.hero-slide.is-active img { transform: scale(1); }
/* Ribbon — luxury 3D */
.ribbon {
  position: relative;
  overflow: hidden;
  margin-top: 1.35rem;
  padding-block: 1rem;
  border: 0;
  background:
    linear-gradient(180deg, #ffffff 0%, #f0f7ea 28%, #d9ebcf 72%, #c9e0bb 100%);
  box-shadow:
    0 .85rem 1.8rem -.85rem rgba(14,110,49,.35),
    inset 0 1px 0 rgba(255,255,255,.95),
    inset 0 -3px 6px rgba(14,110,49,.12);
}
.ribbon-bevel {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(14,110,49,.12), transparent 12%, transparent 88%, rgba(14,110,49,.12)),
    linear-gradient(180deg, rgba(255,255,255,.55), transparent 40%, rgba(14,110,49,.08));
  border-block: 1px solid rgba(14,110,49,.16);
}
.ribbon-track {
  position: relative; z-index: 1;
  display: flex; gap: 2.5rem; width: max-content;
  animation: marquee 36s linear infinite;
  font-family: var(--f-head); color: var(--logo-deep); font-size: 1.05rem; white-space: nowrap;
  text-shadow: 0 1px 0 rgba(255,255,255,.8);
}
.ribbon-track span { letter-spacing: .01em; font-weight: 700; }

/* ---------- SHOP ---------- */
.shop .section-head { margin-bottom: 1.5rem; }
.shop-title {
  background: linear-gradient(120deg, var(--logo-deep), var(--logo-green) 55%, var(--leaf));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  letter-spacing: .01em;
  text-shadow: none !important;
  filter: drop-shadow(0 1px 0 rgba(255,255,255,.9)) drop-shadow(0 3px 8px rgba(0,90,40,.10));
}
.slider-ui { justify-content: flex-start; }
.slider-btns { display: none !important; }
.cat-slider { position: relative; }
.cat-track {
  display: grid; grid-auto-flow: column;
  /* Mobile: ~2 cards visible */
  grid-auto-columns: calc((100% - 2 * max(var(--gutter), var(--sal)) - .75rem) / 2);
  gap: .75rem;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch;
  padding: .4rem max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))) 1.25rem;
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  scrollbar-width: none; cursor: grab;
}
.cat-track::-webkit-scrollbar { display: none; }
.cat-track.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.cat-track.is-dragging .cat-card { pointer-events: none; }
.cat-card {
  scroll-snap-align: start; position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-soft); isolation: isolate;
  transition: transform .45s var(--ease), border-color .35s, box-shadow .45s;
  background: var(--surface);
}
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.1s var(--ease); }
.cat-shade {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 40, 20, .55) 72%, rgba(8, 30, 16, .88));
}
.cat-card:hover { transform: translateY(-5px); border-color: rgba(0,131,61,.35); box-shadow: var(--shadow); }
.cat-card:hover img { transform: scale(1.06); }
.cat-info { position: absolute; left: .9rem; right: .9rem; bottom: 1rem; text-align: center; }
.cat-info strong {
  font-family: var(--f-head); font-size: clamp(1.05rem, 2.8vw, 1.55rem);
  color: #fff; line-height: 1.25;
  text-shadow: 0 1px 8px rgba(0,0,0,.35);
}
.slider-ui { display: flex; align-items: center; gap: 1rem; margin-top: .25rem; }
.slider-count { font-family: var(--f-en); font-size: 1.1rem; color: var(--muted); min-width: 4.2rem; }
.slider-count b { color: var(--logo-deep); font-size: 1.35rem; }
.slider-bar { flex: 1; height: 2px; background: rgba(14,110,49,.12); border-radius: 2px; overflow: hidden; }
.slider-bar span { display: block; height: 100%; width: 12.5%; background: linear-gradient(90deg, var(--logo-green), var(--leaf)); transition: width .4s var(--ease), transform .4s var(--ease); }
.slider-btns { display: flex; gap: .5rem; }
@media (min-width: 700px) {
  .cat-track { grid-auto-columns: min(38vw, 18rem); gap: 1.1rem; }
}
@media (min-width: 1100px) {
  .cat-track { grid-auto-columns: 17.5rem; }
}

/* ---------- Sheets ---------- */
.sheet {
  position: fixed; inset: 0; z-index: 70; background: rgba(20, 40, 25, .45);
  backdrop-filter: blur(6px); display: flex; align-items: flex-end; justify-content: center;
  animation: fadeIn .3s var(--ease);
}
.sheet-panel {
  width: 100%; max-width: 86rem; height: calc(100% - var(--sat) - 1.5rem); overflow-y: auto; overscroll-behavior: contain;
  background: linear-gradient(180deg, #f7faf3, var(--bg));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0; border: 1px solid var(--line); border-bottom: 0;
  animation: sheetUp .45s var(--ease); padding-bottom: calc(2rem + var(--sab));
  position: relative;
}
.sheet-panel-sm { max-width: 34rem; height: auto; max-height: calc(100% - var(--sat) - 3rem); border-radius: var(--radius-lg); border-bottom: 1px solid var(--line); margin: auto; align-self: center; }
.sheet-panel-md { max-width: 42rem; height: auto; max-height: calc(100% - var(--sat) - 2rem); border-radius: var(--radius-lg); border-bottom: 1px solid var(--line); margin: auto; align-self: center; }
.sheet-hero {
  position: relative; min-height: clamp(11rem, 28vh, 16rem);
  display: flex; align-items: flex-end; padding: 1.5rem var(--gutter);
  background-size: cover; background-position: center;
}
.sheet-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,40,20,.15), rgba(10,40,20,.85)); }
.sheet-hero-text { position: relative; color: #fff; }
.sheet-hero h2 { color: #fff; font-size: clamp(1.9rem, 4.5vw, 3rem); }
.sheet-hero p { color: rgba(255,255,255,.82); }
.sheet-close {
  position: absolute; top: 1rem; right: 1rem; z-index: 2;
  background: rgba(255,255,255,.9); border: 1px solid var(--line); color: var(--ink);
}
.sheet-tools {
  position: sticky; top: 0; z-index: 3; display: flex; flex-wrap: wrap; gap: .7rem; align-items: center;
  padding: 1rem var(--gutter); background: rgba(247,250,243,.94); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.search-box {
  flex: 1 1 14rem; display: flex; align-items: center; gap: .5rem; padding: 0 1rem;
  border: 1px solid var(--line); border-radius: 999px; background: #fff; min-height: 2.9rem;
}
.search-box input { flex: 1; background: none; border: 0; outline: 0; min-width: 0; font-size: 1rem; }
.search-box svg { color: var(--logo-green); }
.sheet-tools select, .converter select, .converter input, .mini-form input {
  min-height: 2.9rem; padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--ink); font-size: 1rem;
}
.sheet-note { font-size: .85rem; color: var(--muted); width: 100%; }
@media (min-width: 760px) {
  .sheet-note { width: auto; margin-left: auto; }
  .sheet { align-items: center; }
  .sheet-panel { height: calc(100% - 3rem); border-radius: var(--radius-lg); border-bottom: 1px solid var(--line); }
}
.sheet .product-grid { padding: 1.5rem var(--gutter); }
.sheet-nav { display: flex; justify-content: space-between; gap: 1rem; padding: 0 var(--gutter) 1rem; flex-wrap: wrap; }
.detail-hero-img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.detail-body { padding: 1.35rem 1.5rem 1.75rem; }
.detail-body h2 { margin: .5rem 0 .75rem; font-size: clamp(1.5rem, 3vw, 2rem); }
.detail-body p { color: var(--muted); font-size: 1.05rem; }

/* ---------- Product cards ---------- */
.product-grid { display: grid; gap: clamp(.85rem, 2vw, 1.35rem); grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); }
@media (max-width: 520px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.p-card {
  display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .35s var(--ease), border-color .3s, box-shadow .35s;
  animation: cardIn .55s var(--ease) both; box-shadow: var(--shadow-soft);
}
.p-card:hover { transform: translateY(-3px); border-color: rgba(0,131,61,.3); box-shadow: var(--shadow); }
.p-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; display: block; background: var(--bg-3); }
.p-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.p-card:hover .p-media img { transform: scale(1.05); }
.badge {
  position: absolute; top: .65rem; left: .65rem; padding: .18rem .6rem; border-radius: 999px;
  font-size: .72rem; font-weight: 600; background: linear-gradient(135deg, #e3c887, var(--gold)); color: var(--ink);
}
.p-body { padding: .85rem 1rem 1rem; display: flex; flex-direction: column; gap: .2rem; flex: 1; }
.p-body h3 { font-size: clamp(.95rem, 1.5vw, 1.08rem); }
.p-body h3 a:hover { color: var(--logo-deep); }
.p-en { font-family: var(--f-en); color: var(--gold-2); font-size: .95rem; line-height: 1.3; }
.p-blurb { font-size: .86rem; color: var(--muted); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.p-foot { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: auto; padding-top: .55rem; }
.p-price { font-family: var(--f-head); color: var(--logo-deep); font-weight: 700; font-size: 1.05rem; line-height: 1.2; }
.p-price small { font-family: var(--f-body); color: var(--muted); font-weight: 400; font-size: .74rem; display: block; }
.add-btn {
  width: 2.65rem; height: 2.65rem; flex: none; border-radius: 50%;
  background: rgba(0,131,61,.1); color: var(--logo-deep); font-size: 1.35rem;
  border: 1px solid var(--line); transition: all .25s;
}
.add-btn:hover, .add-btn.is-added { background: var(--logo-green); color: #fff; border-color: var(--logo-green); }
@media (max-width: 520px) { .p-blurb { display: none; } .p-body { padding: .7rem; } }

/* ---------- HELP DESK ---------- */
.helpdesk { background: linear-gradient(180deg, rgba(0,131,61,.05), transparent 70%); }
.assistant {
  max-width: 40rem; margin-inline: auto;
}
.mic-frame {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem;
  padding: 1.6rem 1.4rem 1.35rem;
  border-radius: 2rem;
  width: max-content; max-width: 100%; margin-inline: auto;
  background:
    radial-gradient(circle at 50% 30%, rgba(255,255,255,.99), rgba(240,247,234,.95) 60%, rgba(224,238,213,.92)),
    linear-gradient(160deg, #fff, var(--bg-2));
  border: 1px solid rgba(255,255,255,.9);
  box-shadow:
    0 0 0 1px rgba(14,110,49,.10),
    inset 0 1px 0 #fff, inset 0 -3px 0 rgba(14,110,49,.08),
    0 1.2rem 2.4rem -1.1rem rgba(14,60,30,.35);
}
.mic-row { display: flex; align-items: center; gap: .6rem; }
.assistant[data-open="true"] .mic-frame { display: none; }
.mic-btn {
  position: relative; width: 6.4rem; height: 6.4rem; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #e8d19a, var(--gold) 55%, #9c7834); color: var(--ink);
  box-shadow: 0 1rem 2.2rem -.7rem rgba(201,164,92,.75), inset 0 -4px 10px rgba(0,0,0,.12);
  transition: transform .25s var(--ease);
}
.mic-btn svg { width: 2.4rem; height: 2.4rem; position: relative; z-index: 1; stroke-width: 1.9; }
.mic-btn:hover { transform: scale(1.05); }
.mic-btn .ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(201,164,92,.5); opacity: 0; }
.mic-btn.is-listening { background: radial-gradient(circle at 35% 30%, #8fe0ad, var(--logo-green) 60%, var(--logo-deep)); color: #fff; }
.mic-btn.is-listening .ring { animation: ripple 2s infinite; }
.mic-btn.is-listening .r2 { animation-delay: .6s; } .mic-btn.is-listening .r3 { animation-delay: 1.2s; }
.mic-btn:not(.is-listening) .r1 { animation: ripple 3.2s infinite; }
.speak-btn {
  display: inline-grid; place-items: center;
  width: 2.45rem; height: 2.45rem; border-radius: 50%;
  border: 1px solid var(--line-strong); background: #fff; color: var(--logo-deep);
  font-weight: 600; font-size: .9rem; cursor: pointer;
  box-shadow: var(--shadow-soft); transition: all .2s;
}
.speak-btn svg { width: 1.2rem; height: 1.2rem; }
#speakToggle:checked + .mic-frame .speak-btn,
#speakToggle:checked ~ .chat-panel .speak-toggle {
  background: linear-gradient(160deg, #2bb86a, var(--logo-green)); color: #fff; border-color: transparent;
}
.lang-toggle {
  display: flex; border: 1px solid var(--line); border-radius: 999px; padding: .18rem; background: #fff;
  box-shadow: var(--shadow-soft);
}
.lang-toggle button { padding: .35rem .95rem; border-radius: 999px; font-size: .85rem; color: var(--muted); min-height: 2.15rem; font-weight: 600; }
.lang-toggle button.is-active { background: var(--logo-green); color: #fff; }

.chat-panel {
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow); max-width: 54rem; margin-inline: auto;
}
.assistant-top {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 1.15rem; border-bottom: 1px solid var(--line); background: var(--surface-2);
}
.assistant-id { display: flex; align-items: center; gap: .7rem; }
.avatar { width: 2.5rem; height: 2.5rem; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2px var(--gold); flex: none; }
.assistant-id strong { display: block; font-family: var(--f-head); font-size: 1.1rem; color: var(--ink); line-height: 1.1; }
.status { font-size: .78rem; color: var(--muted); display: inline-flex; align-items: center; gap: .35rem; }
.status i { width: .45rem; height: .45rem; border-radius: 50%; background: #2fbf6b; box-shadow: 0 0 0 3px rgba(47,191,107,.2); }
.chat-log {
  height: clamp(15rem, 40vh, 24rem); overflow-y: auto; padding: 1.15rem;
  display: flex; flex-direction: column; gap: .8rem; scroll-behavior: smooth; overscroll-behavior: contain;
  background: linear-gradient(180deg, #fafcf7, #fff);
}
.msg {
  max-width: min(88%, 34rem); padding: .7rem .95rem; border-radius: 1.1rem;
  line-height: 1.55; font-size: .97rem; animation: msgIn .3s var(--ease); white-space: pre-line;
}
.msg.bot { align-self: flex-start; background: var(--bg-2); border: 1px solid var(--line); border-top-left-radius: .3rem; }
.msg.user { align-self: flex-end; background: linear-gradient(135deg, var(--logo-green), var(--logo-deep)); color: #fff; border-top-right-radius: .3rem; }
.msg a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }
.msg.user a { color: #fff; }
.msg.typing { display: inline-flex; gap: .3rem; }
.msg.typing i { width: .42rem; height: .42rem; border-radius: 50%; background: var(--logo-green); animation: blink 1.2s infinite; }
.msg.typing i:nth-child(2) { animation-delay: .2s; } .msg.typing i:nth-child(3) { animation-delay: .4s; }
.chips { display: flex; gap: .45rem; padding: .15rem 1.15rem .85rem; overflow-x: auto; scrollbar-width: none; border-top: 1px solid var(--line); background: var(--surface-2); }
.chips::-webkit-scrollbar { display: none; }
.chips button {
  flex: none; padding: .4rem .9rem; border-radius: 999px; border: 1px solid var(--line);
  font-size: .86rem; color: var(--logo-deep); background: #fff; min-height: 2.4rem; transition: all .2s;
}
.chips button:hover { border-color: var(--logo-green); background: var(--bg-2); }
.composer {
  display: flex; align-items: center; gap: .45rem; margin: 0 1rem .85rem;
  padding: .35rem .35rem .35rem 1rem; border-radius: 999px; background: #fff; border: 1px solid var(--line-strong);
}
.composer:focus-within { border-color: var(--logo-green); box-shadow: 0 0 0 4px rgba(0,131,61,.1); }
.composer input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; font-size: 1rem; min-height: 2.5rem; }
.send-btn {
  width: 2.65rem; height: 2.65rem; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, #e3c887, var(--gold)); color: var(--ink); flex: none;
}
.mini-mic.is-listening { color: var(--logo-green); }
.assistant-actions { display: flex; align-items: center; gap: .25rem; }
.speak-toggle { cursor: pointer; color: var(--logo-deep); }
.speak-toggle svg { width: 1.25rem; height: 1.25rem; }
.chat-panel .composer { margin-bottom: 1rem; }
.speak-toggle input { accent-color: var(--logo-green); width: 1rem; height: 1rem; }

/* ---------- GALLERY — rounded-rectangle frame, one photo at a time ---------- */
.gallery { overflow: hidden; padding-block: clamp(2.5rem, 6vw, 5rem); }
.photo-frame {
  position: relative;
  width: min(100% - 2rem, 46rem); margin-inline: auto;
  padding: clamp(.55rem, 1.4vw, .85rem);
  border-radius: clamp(1.4rem, 3vw, 2rem);
  background: linear-gradient(160deg, #ffffff 0%, #f4f9ef 45%, #e2efd8 100%);
  border: 1px solid rgba(255,255,255,.95);
  box-shadow:
    0 0 0 1px rgba(14,110,49,.12),
    inset 0 1px 0 #fff,
    inset 0 -3px 0 rgba(14,110,49,.10),
    0 2.2rem 3.6rem -1.8rem rgba(14,60,30,.45),
    0 .6rem 1.2rem -.6rem rgba(14,60,30,.18);
  cursor: pointer;
  touch-action: pan-y;
  user-select: none; -webkit-user-select: none;
  transform: perspective(1400px) rotateX(.6deg);
  transition: transform .5s var(--ease), box-shadow .5s;
}
.photo-frame:hover { transform: perspective(1400px) rotateX(0deg) translateY(-3px); }
.photo-frame:focus-visible { outline: 3px solid var(--logo-green); outline-offset: 4px; border-radius: 2rem; }
.photo-viewport {
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: clamp(1rem, 2.2vw, 1.4rem);
  background: var(--bg-3);
  box-shadow: inset 0 0 0 1px rgba(14,110,49,.12), inset 0 2px 6px rgba(0,0,0,.08);
  isolation: isolate;
}
@media (max-width: 700px) { .photo-viewport { aspect-ratio: 4 / 4.4; } }
.photo-slide {
  position: absolute; inset: 0;
  transform: translateX(100%); opacity: 0; visibility: hidden;
  transition: transform .7s var(--ease), opacity .7s var(--ease), visibility 0s linear .7s;
}
.photo-slide img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.photo-slide.is-active { transform: none; opacity: 1; visibility: visible; z-index: 2; transition: transform .7s var(--ease), opacity .7s var(--ease), visibility 0s; }
.photo-slide.from-right { transform: translateX(100%); transition: none; visibility: visible; }
.photo-slide.from-left { transform: translateX(-100%); transition: none; visibility: visible; }
.photo-slide.is-leaving { visibility: visible; z-index: 1; opacity: .2; }
.photo-slide.is-leaving.to-left { transform: translateX(-35%) scale(.96); }
.photo-slide.is-leaving.to-right { transform: translateX(35%) scale(.96); }
.photo-viewport::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,.14), transparent 22%, transparent 80%, rgba(0,0,0,.10));
}

/* ---------- PORTAL ---------- */
.portal { overflow: hidden; }
.drift {
  overflow: hidden; padding-block: .5rem;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.drift-track { display: flex; gap: 1rem; width: max-content; animation: marquee 58s linear infinite; }
.drift-reverse .drift-track { animation-direction: reverse; animation-duration: 68s; }
.drift:hover .drift-track, .drift:focus-within .drift-track { animation-play-state: paused; }
.news-card {
  width: min(78vw, 22rem); display: grid; grid-template-columns: 5.8rem 1fr; gap: .9rem; align-items: center;
  padding: .7rem; border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--surface); box-shadow: var(--shadow-soft); text-align: left;
  transition: transform .35s var(--ease), border-color .3s, box-shadow .35s;
}
.news-card:hover { transform: translateY(-4px) scale(1.01); border-color: var(--logo-green); box-shadow: var(--shadow); }
.news-card img { width: 5.8rem; height: 5.8rem; object-fit: cover; border-radius: .85rem; }
.news-tag {
  font-size: .7rem; font-weight: 600; color: #fff; background: var(--logo-green);
  padding: .12rem .5rem; border-radius: 999px; display: inline-block;
}
.news-card h3 { font-size: .98rem; margin-top: .35rem; color: var(--ink); line-height: 1.35; }
.portal-cta { text-align: center; margin-top: 2rem; }

/* ---------- Delivery buttons ---------- */
.info-grid { display: grid; gap: .9rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 800px) { .info-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.info-card, .card-lux, .tool-card {
  padding: clamp(1.15rem, 2.3vw, 1.6rem); border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-soft);
  text-align: center;
}
.info-btn, .tool-card {
  transition: transform .35s var(--ease), border-color .3s, box-shadow .35s; width: 100%;
}
.info-btn:hover, .tool-card:hover {
  transform: translateY(-4px); border-color: rgba(0,131,61,.35); box-shadow: var(--shadow);
}
.info-ico, .tool-ico {
  font-size: 1.7rem; display: inline-grid; place-items: center;
  width: 3.1rem; height: 3.1rem; border-radius: 1rem;
  background: rgba(0,131,61,.08); margin-bottom: .7rem;
}
.info-card h3, .tool-card h3 { color: var(--logo-deep); font-size: clamp(1rem, 2.2vw, 1.15rem); }

/* ---------- Tools grid — 3 on top, 2 centred below ---------- */
.tools-grid {
  display: grid; gap: .9rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 58rem; margin-inline: auto;
}
.tools-grid > * { grid-column: span 2; }
.tools-grid > :nth-child(5) { grid-column: 2 / span 2; }
@media (min-width: 720px) {
  .tools-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.1rem; }
  .tools-grid > :nth-child(1) { grid-column: 1 / 3; }
  .tools-grid > :nth-child(2) { grid-column: 3 / 5; }
  .tools-grid > :nth-child(3) { grid-column: 5 / 7; }
  .tools-grid > :nth-child(4) { grid-column: 2 / 4; }
  .tools-grid > :nth-child(5) { grid-column: 4 / 6; }
}
.tool-pane { margin-top: 1rem; }
.extras.alt { background: linear-gradient(180deg, rgba(0,131,61,.04), transparent); }
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.measure-table { width: 100%; border-collapse: collapse; min-width: 28rem; font-size: .93rem; }
.measure-table th, .measure-table td { padding: .7rem .95rem; text-align: left; border-bottom: 1px solid var(--line); }
.measure-table th { background: rgba(0,131,61,.08); color: var(--logo-deep); font-weight: 600; }
.measure-table tr:last-child td { border-bottom: 0; }
.measure-table td:first-child { color: var(--ink); font-weight: 500; }
.measure-table td { color: var(--muted); }
.tips { margin-top: 1.1rem; padding-left: 1.1rem; color: var(--muted); display: grid; gap: .3rem; }
.tips li::marker { color: var(--logo-green); }
.converter { display: grid; gap: 1rem; }
.converter label { display: grid; gap: .35rem; font-size: .9rem; color: var(--muted); }
.conv-row { display: flex; gap: .5rem; }
.conv-row input { width: 6.5rem; }
.conv-row select { flex: 1; }
.conv-out {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 1rem 1.15rem; border-radius: 1rem; background: rgba(0,131,61,.07); border: 1px dashed var(--logo-green);
}
.conv-out strong { font-family: var(--f-head); color: var(--logo-deep); font-size: 1.5rem; }
.mini-form { display: grid; gap: .55rem; margin-bottom: 1rem; }
.mini-form input { border-radius: .9rem; width: 100%; }
.note-list { list-style: none; display: grid; gap: .5rem; margin-bottom: .85rem; }
.note-list li {
  display: flex; align-items: center; gap: .55rem; padding: .55rem .75rem; border-radius: .8rem;
  background: var(--bg-2); border: 1px solid var(--line); font-size: .9rem;
}
.note-list li .when { margin-left: auto; color: var(--logo-deep); font-size: .8rem; white-space: nowrap; }
.note-list li.is-due { border-color: #e7a14a; }
.note-list li.is-soon .when { color: #c27820; }
.note-list li.is-expired .when { color: #c44b3c; }
.note-list button { width: 2rem; height: 2rem; border-radius: 50%; color: var(--muted); flex: none; }
.note-list button:hover { color: #c44b3c; background: rgba(0,0,0,.04); }
.note-list .empty { justify-content: center; color: var(--muted); border-style: dashed; }
.habit { display: grid; grid-template-columns: repeat(7, 1fr); gap: .3rem; }
.habit button {
  aspect-ratio: 1; border-radius: .5rem; border: 1px solid var(--line);
  font-size: .74rem; color: var(--muted); min-height: 2.1rem; background: #fff; transition: all .2s;
}
.habit button.on { background: linear-gradient(135deg, var(--logo-green), var(--leaf)); color: #fff; border-color: transparent; }
.habit button.today { box-shadow: 0 0 0 2px var(--gold); }
.habit-sum { margin-top: .75rem; font-size: .9rem; color: var(--logo-deep); }

/* ---------- Contact — icon labels only ---------- */
.contact-grid {
  list-style: none;
  display: grid; gap: .85rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 42rem; margin-inline: auto;
}
@media (max-width: 700px) {
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid li:last-child { grid-column: 1 / -1; max-width: 50%; justify-self: center; width: 100%; }
}
@media (min-width: 701px) {
  .contact-grid { grid-template-columns: repeat(6, 1fr); }
  .contact-grid li:nth-child(1) { grid-column: 1 / 3; }
  .contact-grid li:nth-child(2) { grid-column: 3 / 5; }
  .contact-grid li:nth-child(3) { grid-column: 5 / 7; }
  .contact-grid li:nth-child(4) { grid-column: 2 / 4; }
  .contact-grid li:nth-child(5) { grid-column: 4 / 6; }
}
.contact-grid li { list-style: none; }
.contact-chip {
  width: 100%;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: .55rem;
  padding: 1.2rem 1rem; border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--surface); transition: transform .3s var(--ease), box-shadow .3s;
}
.contact-chip:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.c-ico {
  font-size: 1.5rem; width: 3.15rem; height: 3.15rem; display: grid; place-items: center;
  border-radius: 1rem; background: rgba(0,131,61,.1);
}
.contact-chip b {
  font-family: var(--f-head); color: var(--logo-deep); font-size: 1.08rem; font-weight: 700;
}
.map-link-wrap { display: flex; justify-content: center; margin-top: 1.5rem; }
.map-btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .75rem 1.5rem; border-radius: 999px; min-height: 3rem;
  font-weight: 700; transition: all .25s var(--ease);
}
.map-btn svg { width: 1.35rem; height: 1.35rem; fill: currentColor; stroke: none; }
.map-btn:hover { transform: translateY(-2px); }

/* ---------- Product page ---------- */
.page-product .section:first-child, .notfound { padding-top: calc(var(--header-h) + var(--sat) + 2rem); }
.notfound { min-height: 80vh; display: grid; place-items: center; text-align: center; }
.notfound h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-block: .5rem 1rem; }
.notfound p { margin-top: 1rem; display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 1.4rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.crumbs a:hover { color: var(--logo-deep); }
.crumbs b { color: var(--ink); font-weight: 500; }
.pd-grid { display: grid; gap: clamp(1.4rem, 4vw, 3.2rem); align-items: start; }
@media (min-width: 900px) { .pd-grid { grid-template-columns: 1.05fr .95fr; } }
.pd-media {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow); aspect-ratio: 4 / 3.4; background: var(--bg-3);
}
.pd-media img { width: 100%; height: 100%; object-fit: cover; }
.pd-info h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); color: var(--logo-deep); }
.pd-blurb { color: var(--muted); font-size: 1.05rem; margin-top: .55rem; }
.pd-meta { display: flex; flex-wrap: wrap; gap: .7rem; margin-block: 1.15rem; }
.pd-meta div { padding: .5rem .95rem; border: 1px solid var(--line); border-radius: .85rem; background: #fff; }
.pd-meta dt { font-size: .72rem; color: var(--logo-green); }
.pd-meta dd { color: var(--ink); }
.pd-price { font-family: var(--f-head); font-size: clamp(1.85rem, 3.5vw, 2.4rem); color: var(--logo-deep); font-weight: 700; }
.pd-price small { font-size: .95rem; color: var(--muted); font-weight: 400; font-family: var(--f-body); }
.pd-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-block: 1.15rem; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.qty button { width: 2.9rem; height: 3.1rem; font-size: 1.25rem; color: var(--logo-deep); }
.qty input { width: 2.9rem; text-align: center; background: none; border: 0; outline: 0; font-size: 1.05rem; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.pd-promise { list-style: none; color: var(--logo-deep); display: grid; gap: .3rem; margin-bottom: 1.35rem; }
.two-col { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
.two-col > *, .pd-grid > * { min-width: 0; }
@media (min-width: 960px) { .two-col { grid-template-columns: 1.25fr .75fr; } }

/* ---------- Footer — large centred logo + copyright ---------- */
.site-footer {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,.4), rgba(0,131,61,.07));
  padding: clamp(2.75rem, 5vw, 4.25rem) 0 calc(2.25rem + var(--sab));
}
.site-footer::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(100% - 3rem, var(--wrap)); height: 1px;
  background: linear-gradient(90deg, transparent, rgba(14,110,49,.25) 20%, rgba(201,164,92,.55) 50%, rgba(14,110,49,.25) 80%, transparent);
}
.footer-simple {
  display: flex; flex-direction: column; align-items: center; gap: 1.1rem; text-align: center;
}
.footer-logo {
  display: grid; place-items: center;
  padding: clamp(1rem, 2.4vw, 1.5rem) clamp(1.5rem, 4vw, 2.6rem);
  border-radius: 1.6rem;
  background: linear-gradient(180deg, #fff, #f1f8ec);
  border: 1px solid rgba(255,255,255,.95);
  box-shadow: 0 0 0 1px rgba(14,110,49,.10), inset 0 1px 0 #fff, inset 0 -3px 0 rgba(14,110,49,.08), 0 1.2rem 2.2rem -1.2rem rgba(14,60,30,.35);
}
.footer-simple img { width: clamp(13rem, 56vw, 19rem); height: auto; }
.footer-simple p { color: var(--muted); font-size: .95rem; font-weight: 500; letter-spacing: .02em; }

/* ---------- Drawer + toast ---------- */
.drawer {
  position: fixed; inset: 0; z-index: 80; background: rgba(20,40,25,.4);
  backdrop-filter: blur(4px); display: flex; justify-content: flex-end; animation: fadeIn .25s;
}
.drawer-panel {
  width: min(100%, 26rem); height: 100%; display: flex; flex-direction: column;
  background: #fff; border-left: 1px solid var(--line); padding-top: var(--sat); animation: slideIn .4s var(--ease);
}
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); }
.drawer-body { flex: 1; overflow-y: auto; padding: 1rem 1.2rem; display: grid; gap: .65rem; align-content: start; }
.drawer-foot { padding: 1rem 1.2rem calc(1rem + var(--sab)); border-top: 1px solid var(--line); display: grid; gap: .65rem; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; }
.cart-total strong { font-family: var(--f-head); color: var(--logo-deep); font-size: 1.4rem; }
.cart-row { display: grid; grid-template-columns: 3.4rem 1fr auto; gap: .7rem; align-items: center; padding: .55rem; border-radius: .85rem; border: 1px solid var(--line); }
.cart-row img { width: 3.4rem; height: 3.4rem; object-fit: cover; border-radius: .55rem; }
.cart-row b { display: block; font-size: .92rem; color: var(--ink); line-height: 1.35; }
.cart-row small { color: var(--logo-deep); }
.cart-qty { display: flex; align-items: center; gap: .2rem; }
.cart-qty button { width: 1.9rem; height: 1.9rem; border-radius: 50%; border: 1px solid var(--line); color: var(--logo-deep); }
.cart-empty { text-align: center; color: var(--muted); padding: 3rem 1rem; }
.toast {
  position: fixed; left: 50%; top: calc(var(--header-h) + var(--sat) + .5rem);
  transform: translate(-50%, -1rem); z-index: 90; padding: .7rem 1.2rem; border-radius: 999px;
  background: var(--ink); color: #fff; font-weight: 500; box-shadow: var(--shadow);
  opacity: 0; pointer-events: none; transition: all .35s var(--ease);
  max-width: calc(100vw - 2rem); text-align: center; font-size: .92rem;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

body.no-scroll { overflow: hidden; }

@keyframes fadeIn { from { opacity: 0; } }
@keyframes sheetUp { from { transform: translateY(8%); opacity: 0; } }
@keyframes slideIn { from { transform: translateX(100%); } }
@keyframes cardIn { from { opacity: 0; transform: translateY(14px); } }
@keyframes msgIn { from { opacity: 0; transform: translateY(6px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes ripple { 0% { transform: scale(1); opacity: .65; } 100% { transform: scale(1.85); opacity: 0; } }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }

@media (display-mode: standalone) {
  .btn-staff { display: none; }
}
@media (min-width: 1920px) { :root { --wrap: 96rem; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .drift-track, .ribbon-track { animation: none !important; }
  .drift { overflow-x: auto; }
  .photo-slide { transition: none !important; }
}

/* =========================================================
   v6 — softer 3D, stronger light-green ground, harmonious
   sage-green buttons, larger branded mic frame, gallery title
   ========================================================= */
:root {
  --bg: #e5f1db;
  --bg-2: #dbecce;
  --bg-3: #d0e5c2;
  --surface-2: #f3f9ee;
  --btn-g1: #7cc492;   /* soft top */
  --btn-g2: #4fa86c;   /* mid */
  --btn-g3: #3d9159;   /* soft bottom — no harsh dark green */
  --line: rgba(60, 140, 85, .16);
  --line-strong: rgba(60, 140, 85, .28);
  --shadow: 0 .7rem 1.6rem -1rem rgba(40, 80, 50, .20);
  --shadow-soft: 0 .35rem 1rem -.6rem rgba(40, 80, 50, .12);
  --shadow-gold: 0 .45rem 1.1rem -.7rem rgba(201, 164, 92, .38);
  --shadow-green: 0 .45rem 1.1rem -.7rem rgba(61, 145, 89, .38);
}
body {
  background-image:
    url("/static/images/dryfruit-watermark.png"),
    radial-gradient(70rem 40rem at 90% -5%, rgba(110, 180, 90, .16), transparent 55%),
    radial-gradient(50rem 35rem at -10% 40%, rgba(80, 160, 100, .10), transparent 55%),
    linear-gradient(180deg, var(--bg-2), var(--bg) 35%, #eaf4e2);
}

/* Buttons & circles — sage-green, light bevel */
.btn-green, .green-3d, .main-nav a.is-active {
  background: linear-gradient(165deg, var(--btn-g1) 0%, var(--btn-g2) 55%, var(--btn-g3) 100%);
  border: 1px solid rgba(61,145,89,.18);
  box-shadow: 0 .35rem .9rem -.5rem rgba(61,145,89,.40), inset 0 1px 0 rgba(255,255,255,.35);
  text-shadow: none;
}
.btn-green:hover, .green-3d:hover {
  transform: translateY(-1px); filter: none;
  box-shadow: 0 .5rem 1.1rem -.55rem rgba(61,145,89,.45), inset 0 1px 0 rgba(255,255,255,.4);
}
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 .55rem 1.2rem -.7rem rgba(201,164,92,.5); }
.green-3d-card {
  background: linear-gradient(180deg, #ffffff, #f4faef) !important;
  box-shadow: 0 .45rem 1.1rem -.8rem rgba(40,80,50,.22), inset 0 1px 0 #fff !important;
  border-color: rgba(61,145,89,.15) !important;
}
.green-3d-card .c-ico, .green-3d-card .info-ico, .green-3d-card .tool-ico {
  background: linear-gradient(165deg, #d6ecd0, #bfe0bd 60%, #a9d3ab);
  color: #2f6b45;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 .2rem .5rem -.3rem rgba(40,80,50,.25);
}
.info-btn:hover, .tool-card:hover, .contact-chip:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.cat-card:hover { transform: translateY(-3px); }
.news-card:hover { transform: translateY(-2px); border-color: var(--btn-g2); }
.round-btn:hover, .add-btn:hover, .add-btn.is-added { background: var(--btn-g2); border-color: var(--btn-g2); }
.lang-toggle button.is-active, .news-tag, .cart-count { background: var(--btn-g2); }
#speakToggle:checked + .mic-frame .speak-btn,
#speakToggle:checked ~ .chat-panel .speak-toggle { background: linear-gradient(165deg, var(--btn-g1), var(--btn-g2)); }
.msg.user { background: linear-gradient(135deg, var(--btn-g2), var(--btn-g3)); }
.habit button.on { background: linear-gradient(135deg, var(--btn-g1), var(--btn-g2)); }
.btn-staff, .header-actions #btnCart {
  box-shadow: 0 .2rem .45rem -.3rem rgba(40,80,50,.25), inset 0 1px 0 #fff;
}
.site-header .header-inner {
  box-shadow: 0 0 0 1px rgba(61,145,89,.10), inset 0 1px 0 #fff, 0 .6rem 1.4rem -1rem rgba(40,80,50,.28);
}
.site-header.is-scrolled .header-inner {
  box-shadow: 0 0 0 1px rgba(61,145,89,.12), inset 0 1px 0 #fff, 0 .8rem 1.6rem -1rem rgba(40,80,50,.32);
}
.hero-stage {
  transform: none;
  box-shadow: 0 1.2rem 2.4rem -1.6rem rgba(40,80,50,.26), 0 0 0 1px rgba(255,255,255,.7);
}
.ribbon {
  background: linear-gradient(180deg, #f8fcf4 0%, #e8f3df 50%, #d9ebcc 100%);
  box-shadow: 0 .4rem 1rem -.7rem rgba(40,80,50,.25), inset 0 1px 0 rgba(255,255,255,.9);
}
.section-head .title-xl { text-shadow: 0 1px 0 rgba(255,255,255,.8); }
.section-head.center::after {
  background: linear-gradient(90deg, var(--btn-g2), var(--gold) 60%, var(--btn-g1));
  box-shadow: none;
}
.footer-logo { box-shadow: 0 0 0 1px rgba(61,145,89,.10), inset 0 1px 0 #fff, 0 .6rem 1.4rem -1rem rgba(40,80,50,.25); }
.tabbar .tab-mic svg { box-shadow: 0 .3rem .8rem -.4rem rgba(201,164,92,.5); }

/* ---- Help desk: larger branded mic frame ---- */
.help-title {
  font-family: var(--f-head);
  font-size: clamp(1.35rem, 3.2vw, 1.75rem);
  font-weight: 700; color: #2f6b45; line-height: 1.25; letter-spacing: .005em;
}
.mic-frame {
  width: min(100%, 30rem);
  padding: clamp(1.6rem, 4vw, 2.4rem) clamp(1.4rem, 4vw, 2.4rem) clamp(1.5rem, 3.5vw, 2.1rem);
  gap: 1.25rem;
  border-radius: 2.4rem;
  background:
    radial-gradient(circle at 50% 22%, #ffffff, rgba(244,250,239,.97) 55%, rgba(226,240,216,.95)),
    linear-gradient(160deg, #fff, var(--bg-2));
  border: 1px solid rgba(255,255,255,.95);
  box-shadow: 0 0 0 1px rgba(61,145,89,.12), inset 0 1px 0 #fff, 0 .8rem 1.8rem -1.2rem rgba(40,80,50,.30);
}
.mic-brand { display: flex; flex-direction: column; align-items: center; gap: .35rem; text-align: center; }
.mic-brand img { height: clamp(3.4rem, 9vw, 4.4rem); width: auto; }
.mic-brand-line {
  display: block; width: 3.2rem; height: .22rem; border-radius: 999px; margin-top: .2rem;
  background: linear-gradient(90deg, var(--btn-g2), var(--gold) 60%, var(--btn-g1));
}
.mic-btn {
  width: 7.2rem; height: 7.2rem;
  box-shadow: 0 .6rem 1.4rem -.7rem rgba(201,164,92,.6), inset 0 -3px 8px rgba(0,0,0,.08);
}
.mic-btn.is-listening { background: radial-gradient(circle at 35% 30%, #b5e4c2, var(--btn-g2) 60%, var(--btn-g3)); }
.mic-btn:hover { transform: scale(1.03); }
.helpdesk { padding-top: clamp(2.5rem, 6vw, 5rem); }

/* ---- Gallery: title + slightly smaller frame ---- */
.gallery .section-head { margin-bottom: clamp(1.25rem, 3vw, 2rem); }
.photo-frame {
  width: min(100% - 3rem, 38rem);
  transform: none;
  box-shadow: 0 0 0 1px rgba(61,145,89,.12), inset 0 1px 0 #fff, 0 1rem 2rem -1.4rem rgba(40,80,50,.32);
}
.photo-frame:hover { transform: translateY(-2px); }
@media (max-width: 700px) { .photo-frame { width: min(100% - 3.5rem, 38rem); } .photo-viewport { aspect-ratio: 4 / 4.2; } }

/* ---- v7: luminous soft-green mic & related icons (matches contact/info circles) ---- */
.mic-btn {
  background:
    radial-gradient(circle at 34% 26%, rgba(255,255,255,.95) 0, rgba(255,255,255,.55) 18%, rgba(255,255,255,0) 46%),
    radial-gradient(circle at 50% 55%, #d6ecd0 0%, #bfe0bd 55%, #a9d3ab 100%);
  color: #2f6b45;
  border: 1px solid rgba(255,255,255,.9);
  box-shadow:
    0 0 0 6px rgba(255,255,255,.65),
    0 0 1.6rem .2rem rgba(169,211,171,.75),
    0 .7rem 1.6rem -.8rem rgba(40,80,50,.35),
    inset 0 2px 0 rgba(255,255,255,.75),
    inset 0 -6px 14px rgba(61,145,89,.16);
}
.mic-btn .ring { border: 1.5px solid rgba(124,196,146,.55); box-shadow: 0 0 .8rem rgba(255,255,255,.7); }
.mic-btn.is-listening {
  background:
    radial-gradient(circle at 34% 26%, rgba(255,255,255,.9) 0, rgba(255,255,255,.35) 22%, rgba(255,255,255,0) 50%),
    radial-gradient(circle at 50% 55%, #bfe6c6 0%, #9fd4aa 55%, #86c796 100%);
  color: #24603b;
  box-shadow: 0 0 0 6px rgba(255,255,255,.75), 0 0 2.2rem .5rem rgba(124,196,146,.8), inset 0 2px 0 rgba(255,255,255,.75);
}
.speak-btn, .tabbar .tab-mic svg, .send-btn {
  background:
    radial-gradient(circle at 34% 26%, rgba(255,255,255,.9), rgba(255,255,255,0) 55%),
    linear-gradient(165deg, #d6ecd0, #bfe0bd 60%, #a9d3ab);
  color: #2f6b45;
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 0 0 3px rgba(255,255,255,.6), 0 0 .9rem rgba(169,211,171,.7), inset 0 1px 0 rgba(255,255,255,.7);
}
.tabbar .tab-mic svg { box-shadow: 0 0 0 3px rgba(255,255,255,.85), 0 0 1rem rgba(169,211,171,.85), inset 0 1px 0 rgba(255,255,255,.7); }
#speakToggle:checked + .mic-frame .speak-btn,
#speakToggle:checked ~ .chat-panel .speak-toggle {
  background: radial-gradient(circle at 34% 26%, rgba(255,255,255,.85), rgba(255,255,255,0) 55%), linear-gradient(165deg, #a9d3ab, #86c796);
  color: #1f5434; border-color: rgba(255,255,255,.9);
  box-shadow: 0 0 0 3px rgba(255,255,255,.7), 0 0 1rem rgba(124,196,146,.8);
}
.lang-toggle button.is-active {
  background: radial-gradient(circle at 35% 20%, rgba(255,255,255,.8), rgba(255,255,255,0) 60%), linear-gradient(165deg, #cfe8ca, #a9d3ab);
  color: #24603b; box-shadow: 0 0 .7rem rgba(169,211,171,.75), inset 0 1px 0 rgba(255,255,255,.75);
}
.mini-mic { color: #3d9159; }
.mini-mic.is-listening { color: #2f6b45; background: #e3f2df; box-shadow: 0 0 .8rem rgba(169,211,171,.8); }
.mic-brand { gap: .45rem; }

/* =========================================================
   v8 — slightly greener ground, stronger/darker buttons,
        smaller section titles with light 3D text
   ========================================================= */
:root {
  --bg: #d8ebc6;
  --bg-2: #cce4b6;
  --bg-3: #bed9a6;
  --surface-2: #eef7e6;
  --btn-g1: #3cb86a;
  --btn-g2: #1f8f4a;
  --btn-g3: #0f6b35;
  --line: rgba(40, 130, 70, .18);
  --line-strong: rgba(40, 130, 70, .32);
  --shadow-green: 0 .55rem 1.3rem -.65rem rgba(15, 107, 53, .48);
}
body {
  background-image:
    url("/static/images/dryfruit-watermark.png"),
    radial-gradient(70rem 40rem at 90% -5%, rgba(90, 170, 80, .20), transparent 55%),
    radial-gradient(50rem 35rem at -10% 40%, rgba(50, 140, 80, .14), transparent 55%),
    linear-gradient(180deg, var(--bg-2), var(--bg) 35%, #e3f0d6);
}

/* Buttons — richer brand green so they pop on greener ground */
.btn-green, .green-3d, .main-nav a.is-active {
  background: linear-gradient(165deg, var(--btn-g1) 0%, var(--btn-g2) 52%, var(--btn-g3) 100%);
  border: 1px solid rgba(15,107,53,.28);
  box-shadow:
    0 .45rem 1.1rem -.45rem rgba(15,107,53,.50),
    inset 0 1px 0 rgba(255,255,255,.30),
    inset 0 -2px 6px rgba(0,0,0,.14);
  text-shadow: 0 1px 0 rgba(0,0,0,.18);
  color: #fff;
}
.btn-green:hover, .green-3d:hover {
  transform: translateY(-2px);
  box-shadow:
    0 .65rem 1.4rem -.5rem rgba(15,107,53,.58),
    inset 0 1px 0 rgba(255,255,255,.35);
}
.round-btn:hover, .add-btn:hover, .add-btn.is-added {
  background: var(--btn-g2); border-color: var(--btn-g2); color: #fff;
}
.lang-toggle button.is-active, .news-tag, .cart-count { background: var(--btn-g2); color: #fff; }
.msg.user { background: linear-gradient(135deg, var(--btn-g2), var(--btn-g3)); }
.habit button.on { background: linear-gradient(135deg, var(--btn-g1), var(--btn-g2)); }
#speakToggle:checked + .mic-frame .speak-btn,
#speakToggle:checked ~ .chat-panel .speak-toggle {
  background: linear-gradient(165deg, var(--btn-g1), var(--btn-g2));
  color: #fff; border-color: transparent;
  box-shadow: 0 .35rem .8rem -.4rem rgba(15,107,53,.5);
}

/* Section titles — slightly smaller + light 3D */
.title-xl {
  font-size: clamp(1.95rem, 4.6vw, 3.05rem);
}
.section-head .title-xl {
  text-shadow:
    0 1px 0 rgba(255,255,255,.95),
    0 2px 0 rgba(255,255,255,.55),
    1px 2px 0 rgba(40,90,50,.10),
    2px 4px 10px rgba(40,80,50,.18),
    0 1px 2px rgba(15,80,40,.12);
}
.shop-title {
  text-shadow: none !important;
  filter:
    drop-shadow(0 1px 0 rgba(255,255,255,.95))
    drop-shadow(0 2px 0 rgba(255,255,255,.4))
    drop-shadow(1px 2px 0 rgba(40,90,50,.12))
    drop-shadow(2px 4px 8px rgba(40,80,50,.16));
}
.section-head.center::after {
  background: linear-gradient(90deg, var(--btn-g2), var(--gold) 60%, var(--btn-g1));
}
