/* ==========================================================
   Fehifan Wholesale — V7 Beverages Maldives
   Minimal green theme. Works with or without Tailwind CDN.
   ========================================================== */

:root {
  --bg: #f6f4ee;
  --paper: #ffffff;
  --tint: #eef2e8;
  --ink: #13261a;
  --ink-2: #2b3d31;
  --muted: #5f6e64;
  --line: #e2e0d6;
  --green: #1f7a3f;
  --green-d: #135a2c;
  --green-dd: #0d3f1f;
  --green-l: #e4efe1;
  --leaf: #8cc63f;
  --wa: #25d366;
  --radius: 22px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --shadow: 0 1px 2px rgba(19, 38, 26, .04), 0 12px 32px -18px rgba(19, 38, 26, .25);
  --head: Montserrat, "Segoe UI", system-ui, sans-serif;
  --body: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- Base / reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; margin: 0; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
[hidden] { display: none !important; }
::selection { background: var(--green); color: #fff; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }
svg { width: 1.15em; height: 1.15em; flex-shrink: 0; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .wrap { padding: 0 32px; } }
.muted { color: var(--muted); }
.small { font-size: 13px; }
@media (max-width: 639px) { .hide-sm { display: none !important; } }

/* ---------- Type ---------- */
.h-display { font-family: var(--head); font-weight: 900; font-size: clamp(2.7rem, 7vw, 5.2rem); line-height: .98; letter-spacing: -.035em; }
.h-display em { font-style: normal; color: var(--green); }
.h2 { font-family: var(--head); font-weight: 800; font-size: clamp(1.9rem, 4.2vw, 3rem); line-height: 1.05; letter-spacing: -.025em; }
.h3 { font-family: var(--head); font-weight: 800; font-size: 1.35rem; line-height: 1.2; letter-spacing: -.01em; }
.lead { font-size: clamp(1.02rem, 1.6vw, 1.15rem); color: var(--muted); max-width: 520px; margin-top: 22px; }
.lead-sm { margin-top: 14px; max-width: 520px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--green); margin-bottom: 12px; }
.eyebrow-light { color: #b9dfa0; }
.sec-head { max-width: 640px; margin-bottom: 44px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 600; font-size: 15px; transition: transform .25s var(--ease), background .2s, box-shadow .25s, border-color .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 10px 24px -12px rgba(31, 122, 63, .7); }
.btn-green:hover { background: var(--green-d); }
.btn-green:disabled { opacity: .6; transform: none; cursor: wait; }
.btn-line { border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); }
.btn-line:hover { border-color: var(--ink); }
.btn-line svg { color: var(--wa); }
.btn-wa { background: var(--wa); color: #06391a; }
.btn-wa:hover { background: #2fe174; }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--rc, var(--green)); margin-top: 18px; }
.link-arrow svg { transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Announcement ---------- */
.announce { background: var(--green-dd); color: #d9ecd0; font-size: 12.5px; font-weight: 500; text-align: center; padding: 8px 16px; letter-spacing: .01em; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 40; background: rgba(246, 244, 238, .82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.header.scrolled { border-bottom-color: var(--line); background: rgba(246, 244, 238, .94); }
.header-in { height: 68px; display: flex; align-items: center; gap: 16px; }
@media (min-width: 768px) { .header-in { height: 78px; } }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-logo { height: 40px; width: auto; }
.brand-mark { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--green); color: #fff; font-family: var(--head); font-weight: 900; font-size: 19px; }
.brand-text { line-height: 1.05; }
.brand-text b { display: block; font-family: var(--head); font-weight: 800; font-size: 17px; letter-spacing: -.01em; }
.brand-text small { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.nav { display: none; gap: 4px; margin-left: 28px; }
@media (min-width: 1024px) { .nav { display: flex; } }
.nav a { padding: 8px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); transition: background .2s, color .2s; }
.nav a:hover { background: rgba(19, 38, 26, .06); color: var(--ink); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.cart-btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 8px 0 16px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: 14px; transition: transform .2s var(--ease); }
.cart-btn:hover { transform: translateY(-1px); }
.cart-btn > svg { width: 18px; height: 18px; }
.count { min-width: 28px; height: 28px; padding: 0 8px; border-radius: 999px; display: grid; place-items: center; background: var(--leaf); color: var(--green-dd); font-size: 13px; font-weight: 800; }
.count.bump { animation: bump .5s var(--spring); }
@keyframes bump { 40% { transform: scale(1.35); } }
.menu-btn { width: 44px; height: 44px; border-radius: 12px; display: grid; place-content: center; gap: 6px; }
.menu-btn span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease); }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
@media (min-width: 1024px) { .menu-btn { display: none; } }
.mobile-menu { padding: 6px 20px 20px; border-top: 1px solid var(--line); background: var(--bg); }
.mobile-menu a { display: block; padding: 14px 0; font-family: var(--head); font-weight: 700; font-size: 20px; border-bottom: 1px solid var(--line); }
.mobile-menu .toggle { margin-top: 16px; }

/* ---------- Retail / Wholesale toggle ---------- */
.toggle { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); isolation: isolate; }
.toggle::before { content: ""; position: absolute; z-index: -1; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--green); transition: transform .45s var(--spring); }
.mode-wholesale .toggle::before { transform: translateX(100%); }
.toggle button { padding: 8px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--muted); transition: color .3s; white-space: nowrap; }
.toggle-lg button { padding: 11px 20px; font-size: 14.5px; }
.mode-retail .toggle [data-mode="retail"], .mode-wholesale .toggle [data-mode="wholesale"] { color: #fff; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-in { display: grid; gap: 24px; align-items: center; padding-top: 36px; padding-bottom: 40px; }
@media (min-width: 960px) { .hero-in { grid-template-columns: 1fr 1fr; gap: 40px; padding-top: 56px; padding-bottom: 72px; min-height: calc(100svh - 120px); } }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 999px; background: var(--green-l); color: var(--green-d); font-size: 13px; font-weight: 600; margin-bottom: 24px; }
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(31, 122, 63, .45); } 70% { box-shadow: 0 0 0 9px rgba(31, 122, 63, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 122, 63, 0); } }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-facts { display: flex; gap: 32px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); max-width: 460px; }
.hero-facts b { display: block; font-family: var(--head); font-weight: 800; font-size: 1.8rem; line-height: 1; }
.hero-facts span { font-size: 13px; color: var(--muted); }

/* Stage / carousel */
.stage { --sc: #1f7a3f; --rx: 0deg; --ry: 0deg; position: relative; height: 470px; perspective: 1000px; user-select: none; touch-action: pan-y; }
@media (min-width: 768px) { .stage { height: 580px; } }
.stage-disc { position: absolute; left: 50%; top: 46%; width: min(86%, 470px); aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); background: color-mix(in srgb, var(--sc) 16%, #fff); transition: background .9s var(--ease); }
.stage-ring { position: absolute; left: 50%; top: 46%; width: min(100%, 560px); aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); border: 1px dashed color-mix(in srgb, var(--sc) 35%, transparent); transition: border-color .9s; animation: spin 50s linear infinite; }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.stage-cans { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .4s var(--ease); }
.stage-can { position: absolute; left: 50%; top: 46%; height: 78%; aspect-ratio: 222 / 540; translate: -50% -50%; opacity: 0; transform: translateX(0) scale(.4); transition: transform 1s var(--ease), opacity .7s var(--ease), filter .8s; pointer-events: none; }
.stage-can img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 28px 26px rgba(19, 38, 26, .28)); }
.stage-can.is-active { opacity: 1; z-index: 3; transform: translateX(0) scale(1); pointer-events: auto; cursor: pointer; }
.stage-can.is-active img { animation: floaty 5s ease-in-out infinite; }
.stage-can.is-prev, .stage-can.is-next { opacity: .9; z-index: 2; pointer-events: auto; cursor: pointer; filter: saturate(.85); }
.stage-can.is-prev { transform: translateX(-88%) translateZ(-120px) rotate(-12deg) scale(.6); }
.stage-can.is-next { transform: translateX(88%) translateZ(-120px) rotate(12deg) scale(.6); }
.stage-can.is-prev2 { opacity: 0; transform: translateX(-150%) scale(.4) rotate(-20deg); }
.stage-can.is-next2 { opacity: 0; transform: translateX(150%) scale(.4) rotate(20deg); }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-16px) rotate(2deg); } }
.stage-shadow { position: absolute; left: 50%; top: 86%; width: 160px; height: 22px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(19, 38, 26, .22), transparent); animation: shadowPulse 5s ease-in-out infinite; }
@keyframes shadowPulse { 50% { transform: translateX(-50%) scale(.78); opacity: .7; } }
.stage-caption { position: absolute; left: 0; right: 0; bottom: 44px; text-align: center; }
.stage-caption small { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--sc); transition: color .6s; }
.stage-caption strong { display: block; font-family: var(--head); font-weight: 800; font-size: 1.3rem; }
.stage-caption.swap { animation: capSwap .6s var(--ease); }
@keyframes capSwap { from { opacity: 0; transform: translateY(8px); } }
.stage-nav { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: center; gap: 14px; }
.stage-nav button { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.stage-nav button:hover { border-color: var(--ink); transform: scale(1.06); }
.stage-nav button svg { width: 16px; height: 16px; }
.stage-dots { display: flex; gap: 6px; }
.stage-dots i { width: 7px; height: 7px; border-radius: 99px; background: #d4d2c8; transition: width .4s var(--ease), background .4s; cursor: pointer; }
.stage-dots i.on { width: 22px; background: var(--c); }

/* ---------- Can parade ---------- */
.parade { overflow: hidden; padding: 30px 0 24px; border-block: 1px solid var(--line); background: var(--paper); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.parade-track { display: flex; gap: 34px; width: max-content; animation: parade 46s linear infinite; }
.parade:hover .parade-track { animation-play-state: paused; }
@keyframes parade { to { transform: translateX(-50%); } }
.parade-can { display: block; height: 150px; aspect-ratio: 222 / 540; animation: bob 3.2s ease-in-out infinite; animation-delay: var(--d); transition: transform .35s var(--spring); }
@media (min-width: 768px) { .parade-can { height: 180px; } }
.parade-can img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 12px 10px rgba(19, 38, 26, .16)); transition: transform .4s var(--spring); }
.parade-can:hover img { transform: translateY(-14px) rotate(-8deg) scale(1.08); }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
@media (min-width: 768px) { .section { padding: 116px 0; } }
.section-tint { background: var(--tint); }
.section-green { background: var(--green-dd); color: #f0f6ec; }
.section-green .muted { color: #a9c3ad; }

/* ---------- Ranges ---------- */
.ranges { display: grid; gap: 18px; }
@media (min-width: 900px) { .ranges { grid-template-columns: repeat(3, 1fr); } }
.range { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s; }
.range:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.fan { position: relative; height: 270px; background: linear-gradient(180deg, color-mix(in srgb, var(--rc) 13%, #fff), color-mix(in srgb, var(--rc) 4%, #fff)); overflow: hidden; }
.fan img { position: absolute; left: 50%; bottom: 22px; height: 210px; width: auto; z-index: var(--z); translate: -50% 0; transform: translateY(40px) scale(.9); opacity: 0; transition: transform 1.1s var(--spring), opacity .6s; transition-delay: calc((var(--o) + 3) * 60ms); filter: drop-shadow(0 14px 12px rgba(19, 38, 26, .2)); }
.fan.in img { opacity: 1; transform: translateX(calc(var(--o) * 52%)) rotate(calc(var(--o) * 8deg)) translateY(calc(var(--o) * var(--o) * 5px)); }
.range:hover .fan.in img { transform: translateX(calc(var(--o) * 62%)) rotate(calc(var(--o) * 11deg)) translateY(calc(var(--o) * var(--o) * 8px - 8px)); }
.range-body { padding: 26px 26px 28px; }
.range-sub { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--rc); }
.range h3 { font-family: var(--head); font-weight: 800; font-size: 1.45rem; margin: 6px 0 10px; letter-spacing: -.01em; }
.range p:not(.range-sub) { color: var(--muted); font-size: 15px; }

/* ---------- Catalog ---------- */
.cat-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 22px; }
.cat-head .muted { margin-top: 12px; max-width: 520px; }
.filters { display: flex; gap: 8px; margin: 34px 0 28px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.chip { flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink-2); transition: all .25s var(--ease); }
.chip i { width: 9px; height: 9px; border-radius: 50%; background: var(--rc); }
.chip:hover { border-color: var(--ink-2); }
.chip.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 768px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { position: relative; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s, opacity .4s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card.is-hidden { display: none; }
.card-visual { position: relative; display: block; width: 100%; height: 230px; overflow: hidden; background: color-mix(in srgb, var(--c1) 7%, #fff); }
@media (min-width: 768px) { .card-visual { height: 270px; } }
.card-disc { position: absolute; left: 50%; top: 52%; width: 72%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%) scale(.92); background: color-mix(in srgb, var(--c1) 20%, #fff); transition: transform .6s var(--spring), background .4s; }
.card:hover .card-disc { transform: translate(-50%, -50%) scale(1.06); }
.card-visual .can-wrap { position: absolute; left: 50%; bottom: 14px; height: 88%; aspect-ratio: 222 / 540; translate: -50% 0; transition: transform .6s var(--spring); }
.card:hover .card-visual .can-wrap { transform: translateY(-12px) rotate(-7deg) scale(1.05); }
.card-visual .can-wrap img { filter: drop-shadow(0 16px 14px rgba(19, 38, 26, .22)); }
.card-peek { position: absolute; right: 12px; bottom: 12px; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .92); font-size: 11.5px; font-weight: 600; color: var(--ink-2); opacity: 0; transform: translateY(6px); transition: all .3s var(--ease); }
.card:hover .card-peek { opacity: 1; transform: none; }
.tag { position: absolute; z-index: 2; top: 12px; left: 12px; padding: 5px 10px; border-radius: 999px; background: var(--paper); color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: .02em; box-shadow: 0 2px 8px rgba(19, 38, 26, .08); }
.tag-soon { background: var(--ink); color: #fff; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 16px 14px 14px; }
@media (min-width: 640px) { .card-body { padding: 18px 18px 18px; } }
.card-line { font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: color-mix(in srgb, var(--c1, var(--green)) 75%, #000); }
.card-name { font-family: var(--head); font-weight: 800; font-size: clamp(1rem, 2.2vw, 1.15rem); line-height: 1.2; margin-top: 4px; letter-spacing: -.01em; }
.card-tag { font-size: 13.5px; color: var(--muted); margin-top: 4px; line-height: 1.4; }
.vits { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 12px; }
.vits span { display: inline-flex; align-items: baseline; gap: 3px; padding: 3px 8px; border-radius: 7px; background: var(--green-l); color: var(--green-d); font-size: 11.5px; font-weight: 700; }
.vits small { font-size: 9px; font-weight: 600; opacity: .7; text-transform: uppercase; }
.card-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 10px; margin-top: auto; padding-top: 14px; font-size: 12.5px; color: var(--muted); }
.price { font-weight: 700; color: var(--ink); font-size: 14px; }
.price.is-quote { color: var(--green); font-size: 13px; }
.card-actions { display: flex; gap: 8px; margin-top: 12px; }
@media (max-width: 440px) { .card .card-actions { flex-direction: column; } }
.qty { flex: 1; display: grid; grid-template-columns: 34px minmax(0, 1fr) 34px; align-items: center; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); }
.qty button { height: 100%; font-size: 18px; color: var(--muted); border-radius: 11px; transition: color .2s, background .2s; }
.qty button:hover { color: var(--ink); background: rgba(19, 38, 26, .05); }
.qty input { width: 100%; min-width: 0; text-align: center; border: 0; background: transparent; font-weight: 700; font-size: 15px; outline: none; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.add { height: 42px; padding: 0 18px; border-radius: 12px; background: var(--green); color: #fff; font-weight: 600; font-size: 14px; transition: background .2s, transform .15s; white-space: nowrap; }
.add:hover { background: var(--green-d); }
.add:active { transform: scale(.95); }
.add:disabled { background: #d7d5cc; color: #8a8a80; cursor: not-allowed; }
.add.added { animation: added .6s var(--spring); }
@keyframes added { 40% { transform: scale(1.08); background: var(--leaf); } }
.add-lg { height: 48px; padding: 0 26px; font-size: 15px; }
.note { margin-top: 26px; text-align: center; font-size: 13.5px; color: var(--muted); }

/* CSS fallback can (only shown if a product has no photo) */
.can-wrap { display: block; }
.can-wrap img { width: 100%; height: 100%; object-fit: contain; }
.can-css { display: none; }
.can-wrap.no-img img { display: none; }
.can-wrap.no-img .can-css { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 100%; border-radius: 18% / 7%; background: linear-gradient(90deg, rgba(0, 0, 0, .25), transparent 25%, rgba(255, 255, 255, .45) 38%, transparent 52%, rgba(0, 0, 0, .3)), linear-gradient(170deg, var(--c1), var(--c2)); color: #fff; box-shadow: inset 0 6px 0 #c9ccd1, inset 0 -6px 0 #a5a9b0; }
.can-css b { font-family: var(--head); font-weight: 900; font-size: 1.8rem; }
.can-css i { font-style: normal; writing-mode: vertical-rl; transform: rotate(180deg); font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }

/* ---------- Pillars & dust cap ---------- */
.pillars-in { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .pillars-in { grid-template-columns: 1.1fr .9fr; gap: 72px; } }
.pillars { margin-top: 32px; border-top: 1px solid var(--line); }
.pillars li { display: flex; align-items: baseline; gap: 22px; padding: 18px 0; border-bottom: 1px solid var(--line); font-family: var(--head); font-weight: 700; font-size: clamp(1.1rem, 2.2vw, 1.4rem); letter-spacing: -.01em; transition: padding .35s var(--ease), color .3s; }
.pillars li:hover { padding-left: 10px; color: var(--green); }
.pillars b { font-family: var(--body); font-size: 12px; font-weight: 700; color: var(--green); letter-spacing: .08em; }
.dustcap { background: var(--paper); border: 1px solid var(--line); border-radius: 28px; padding: 30px; display: grid; gap: 24px; }
.dustcap-visual { position: relative; height: 300px; border-radius: 20px; background: radial-gradient(circle at 50% 60%, var(--green-l), #fff 70%); display: grid; place-items: center; overflow: hidden; }
.dc-can { height: 240px; width: auto; filter: drop-shadow(0 18px 16px rgba(19, 38, 26, .22)); }
.dc-can { position: relative; z-index: 1; animation: floaty 5s ease-in-out infinite; }
.dc-ring { position: absolute; left: 50%; top: 50%; width: 200px; height: 200px; margin: -80px 0 0 -100px; border-radius: 50%; border: 1.5px solid rgba(31, 122, 63, .35); opacity: 0; }
.dustcap.in .dc-ring { animation: ring 3.2s var(--ease) infinite; }
.dustcap.in .dc-ring.r2 { animation-delay: 1.6s; }
@keyframes ring { 0% { transform: scale(.5); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }
.dc-shine { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .55) 48%, transparent 60%); transform: translateX(-120%); }
.dustcap.in .dc-shine { animation: shine 4.5s var(--ease) 1s infinite; }
@keyframes shine { 0% { transform: translateX(-120%); } 40%, 100% { transform: translateX(120%); } }

/* ---------- Wholesale ---------- */
.specs { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid rgba(255, 255, 255, .14); border-left: 1px solid rgba(255, 255, 255, .14); margin-bottom: 26px; }
@media (min-width: 900px) { .specs { grid-template-columns: repeat(4, 1fr); } }
.specs > div { padding: 26px 22px; border-right: 1px solid rgba(255, 255, 255, .14); border-bottom: 1px solid rgba(255, 255, 255, .14); }
.specs b { display: block; font-family: var(--head); font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1; color: #fff; }
.specs small { font-size: .5em; font-weight: 700; margin-left: 2px; }
.specs span { display: block; margin-top: 8px; font-size: 13.5px; color: #a9c3ad; }
.ws-grid { display: grid; gap: 18px; }
@media (min-width: 900px) { .ws-grid { grid-template-columns: 1fr 1fr; } }
.ws-card { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 28px; }
.ws-card h3 { font-family: var(--head); font-weight: 800; font-size: 1.2rem; margin-bottom: 18px; color: #fff; }
.ticks { display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 30px; color: #c6d9c8; font-size: 15px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--leaf) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d3f1f' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.ticks b { color: #fff; }
.steps { counter-reset: s; display: grid; gap: 12px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 30px 1fr; align-items: center; gap: 14px; color: #c6d9c8; font-size: 15px; }
.steps li::before { content: counter(s); flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--leaf); color: var(--leaf); font-weight: 700; font-size: 13px; }
.steps b { color: #fff; }
.who { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; }
.who span { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); font-size: 13px; color: #d9e8d9; }
.route { display: flex; align-items: center; gap: 12px; margin-top: 26px; padding: 26px 24px; border-radius: var(--radius); border: 1px solid rgba(255, 255, 255, .12); }
.route-pt { flex-shrink: 0; text-align: center; min-width: 88px; }
.route-pt i { display: block; width: 12px; height: 12px; margin: 0 auto 10px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 5px rgba(140, 198, 63, .18); }
.route-pt b { display: block; font-size: 14px; color: #fff; }
.route-pt span { font-size: 12px; color: #a9c3ad; }
.route-line { position: relative; flex: 1; height: 2px; margin-bottom: 38px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .3) 0 6px, transparent 6px 12px); }
.route-dot { position: absolute; top: -4px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: #fff; animation: travel 3.6s var(--ease) infinite; }
.route-dot.d2 { animation-delay: 1.8s; }
@keyframes travel { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 10px); opacity: 0; } }
@media (max-width: 640px) { .route { flex-direction: column; } .route-line { width: 2px; height: 34px; flex: none; margin: 0; background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .3) 0 5px, transparent 5px 10px); } .route-dot { display: none; } }

/* ---------- Contact ---------- */
.contact-in { display: grid; gap: 40px; }
@media (min-width: 960px) { .contact-in { grid-template-columns: .9fr 1.1fr; gap: 64px; } }
.contact-in .muted { margin-top: 14px; max-width: 440px; }
.contacts { display: grid; gap: 10px; margin-top: 30px; }
.contact { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); transition: transform .3s var(--ease), border-color .2s; }
a.contact:hover { transform: translateX(4px); border-color: var(--ink-2); }
.contact small { display: block; font-size: 12px; color: var(--muted); }
.contact b { font-weight: 600; word-break: break-word; }
.ci { width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; background: var(--green-l); color: var(--green); }
.ci svg { width: 20px; height: 20px; }
.ci-wa { background: var(--wa); color: #fff; }
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: 26px; padding: 28px 22px; }
@media (min-width: 640px) { .form-card { padding: 36px; } }
.fields { display: grid; gap: 14px; margin: 22px 0; }
@media (min-width: 640px) { .fields { grid-template-columns: 1fr 1fr; } .field.full { grid-column: 1 / -1; } }
.field { display: grid; gap: 6px; }
.field > span { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea, .mini-fields input { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); font-size: 15px; outline: none; transition: border-color .2s, background .2s, box-shadow .2s; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .mini-fields input:focus { border-color: var(--green); background: #fff; box-shadow: 0 0 0 4px rgba(31, 122, 63, .1); }
.field .invalid, .invalid { border-color: #d64545 !important; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.3em; margin-top: 12px; text-align: center; font-size: 14px; font-weight: 600; }
.form-status.ok { color: var(--green); }
.form-status.err { color: #c53030; }

/* ---------- Footer ---------- */
.footer { background: var(--green-dd); color: #a9c3ad; padding: 40px 0 110px; font-size: 14px; }
@media (min-width: 768px) { .footer { padding-bottom: 40px; } }
.footer-in { display: grid; gap: 14px; }
@media (min-width: 768px) { .footer-in { grid-template-columns: 1fr auto; align-items: end; } }
.footer-brand { font-family: var(--head); font-weight: 800; font-size: 18px; color: #fff; margin-bottom: 6px; }

/* ---------- Floating ---------- */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 30; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 10px 24px -8px rgba(37, 211, 102, .65); transition: transform .3s var(--spring); }
.wa-float:hover { transform: scale(1.08) rotate(-6deg); }
.wa-float svg { width: 28px; height: 28px; }
.cartbar { position: fixed; left: 12px; right: 82px; bottom: 16px; z-index: 30; height: 56px; padding: 0 18px; border-radius: 16px; display: flex; align-items: center; justify-content: space-between; background: var(--ink); color: #fff; font-size: 14px; box-shadow: 0 14px 30px -12px rgba(19, 38, 26, .6); animation: up .45s var(--spring); }
.cartbar span:last-child { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--leaf); }
@media (min-width: 768px) { .cartbar { display: none !important; } }
@keyframes up { from { transform: translateY(130%); } }

/* Flying can (add-to-cart) */
.fly-can { position: fixed; z-index: 90; pointer-events: none; object-fit: contain; filter: drop-shadow(0 10px 10px rgba(19, 38, 26, .3)); }

/* ---------- Overlays: drawer, modals ---------- */
.overlay { position: fixed; inset: 0; z-index: 50; background: rgba(19, 38, 26, .35); backdrop-filter: blur(3px); animation: fade .3s; }
@keyframes fade { from { opacity: 0; } }
.x { width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: var(--bg); transition: background .2s, transform .3s var(--ease); }
.x:hover { background: var(--line); transform: rotate(90deg); }
.x svg { width: 20px; height: 20px; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 60; width: min(440px, 100%); display: flex; flex-direction: column; background: var(--paper); transform: translateX(105%); transition: transform .5s var(--ease); box-shadow: -24px 0 60px rgba(19, 38, 26, .14); }
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 22px 20px 16px; border-bottom: 1px solid var(--line); }
.drawer-body { flex: 1; overflow-y: auto; padding: 14px 20px; overscroll-behavior: contain; }
.drawer-foot { padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--bg); display: grid; gap: 8px; }
.cart-empty { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 50px 10px; }
.empty-can { height: 130px; width: auto; opacity: .35; filter: grayscale(1); margin-bottom: 10px; animation: floaty 5s ease-in-out infinite; }
.cart-empty .btn { margin-top: 14px; height: 44px; }
.cart-list { display: grid; gap: 10px; }
.cart-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 10px; border-radius: 16px; border: 1px solid var(--line); animation: slideIn .4s var(--ease); }
@keyframes slideIn { from { opacity: 0; transform: translateX(16px); } }
.ci-thumb { width: 56px; height: 72px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--c1) 14%, #fff); overflow: hidden; }
.ci-thumb .can-wrap { height: 62px; aspect-ratio: 222 / 540; }
.ci-thumb .can-css b { font-size: .7rem; } .ci-thumb .can-css i { display: none; }
.ci-name { font-weight: 700; font-size: 14px; line-height: 1.25; }
.ci-mode { display: inline-block; margin-top: 4px; padding: 2px 8px; border-radius: 6px; font-size: 11px; font-weight: 700; }
.ci-mode.retail { background: var(--green-l); color: var(--green-d); }
.ci-mode.wholesale { background: var(--ink); color: #fff; }
.ci-sub { font-size: 12px; color: var(--muted); margin-top: 3px; }
.ci-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.ci-right .qty { flex: none; width: 104px; height: 34px; grid-template-columns: 28px 1fr 28px; }
.ci-right .qty input { font-size: 14px; }
.ci-remove { font-size: 12px; color: var(--muted); font-weight: 500; }
.ci-remove:hover { color: #c53030; }
.summary { display: grid; gap: 4px; font-size: 14px; margin-bottom: 4px; }
.summary > div { display: flex; justify-content: space-between; color: var(--muted); }
.summary b { color: var(--ink); }
.summary .total { padding-top: 8px; margin-top: 4px; border-top: 1px dashed var(--line); font-size: 16px; }
.summary .total span { color: var(--ink); font-weight: 600; }
.summary .est b { color: var(--green); }
.mini-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mini-fields input { padding: 10px 12px; font-size: 13.5px; background: #fff; }
.drawer-foot .btn { height: 50px; }
.clear { font-size: 12.5px; color: var(--muted); padding: 4px; }
.clear:hover { color: var(--ink); }

.modal { position: fixed; inset: 0; z-index: 70; display: grid; place-items: end center; }
@media (min-width: 720px) { .modal { place-items: center; padding: 24px; } }
.modal-bg { position: absolute; inset: 0; background: rgba(19, 38, 26, .4); backdrop-filter: blur(4px); animation: fade .3s; }
.sheet, .qv { position: relative; width: min(640px, 100%); max-height: 92svh; overflow-y: auto; background: var(--paper); border-radius: 26px 26px 0 0; padding: 24px 20px calc(24px + env(safe-area-inset-bottom)); animation: sheetUp .5s var(--ease); }
@media (min-width: 720px) { .sheet, .qv { border-radius: 26px; padding: 32px; } }
@keyframes sheetUp { from { transform: translateY(40px); opacity: 0; } }
.sheet-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.order-preview { padding: 14px 16px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); }
.order-preview .label { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.order-preview pre { margin: 0; white-space: pre-wrap; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; line-height: 1.65; max-height: 170px; overflow-y: auto; }

/* Quick view */
.qv { width: min(860px, 100%); padding: 0; display: grid; overflow: hidden; }
@media (min-width: 720px) { .qv { grid-template-columns: 1fr 1fr; padding: 0; } }
.qv > .x { position: absolute; top: 14px; right: 14px; z-index: 3; background: rgba(255, 255, 255, .9); }
.qv-visual { --c1: #1f7a3f; position: relative; height: 320px; display: grid; place-items: center; background: color-mix(in srgb, var(--c1) 10%, #fff); overflow: hidden; }
@media (min-width: 720px) { .qv-visual { height: auto; min-height: 480px; } }
.qv-disc { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: color-mix(in srgb, var(--c1) 22%, #fff); animation: discIn .8s var(--spring); }
@keyframes discIn { from { transform: scale(.4); opacity: 0; } }
.qv-visual img { position: relative; height: 82%; max-height: 400px; width: auto; filter: drop-shadow(0 24px 22px rgba(19, 38, 26, .28)); animation: qvCan 1s var(--spring), floaty 5s ease-in-out 1s infinite; }
@keyframes qvCan { from { transform: translateY(60px) rotate(-18deg) scale(.7); opacity: 0; } }
.qv-body { padding: 26px 22px calc(24px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; }
@media (min-width: 720px) { .qv-body { padding: 40px 34px 34px; } }
.qv-body .h3 { font-size: 1.7rem; margin-top: 6px; }
.qv-desc { color: var(--ink-2); margin-top: 12px; font-size: 15px; }
.qv-benefit { margin-top: 10px; padding: 10px 14px; border-radius: 12px; background: var(--green-l); color: var(--green-d); font-size: 14px; font-weight: 500; }
.qv-benefit::before { content: "Benefit · "; font-weight: 700; }
.qv-body .vits { margin-top: 14px; }
.qv-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 18px 0 4px; }
.qv-specs div { padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); }
.qv-specs dt { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.qv-specs dd { font-weight: 700; font-size: 13.5px; }
.qv-body .card-actions { margin-top: auto; padding-top: 18px; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 88px; z-index: 95; max-width: 92vw; padding: 12px 18px; border-radius: 14px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transform: translate(-50%, 16px); pointer-events: none; transition: all .35s var(--ease); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 768px) { .toast { bottom: 30px; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
body.lock { overflow: hidden; }

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

/* Small screens: keep cards light; vitamins are shown in the quick view */
@media (max-width: 639px) { .card .vits { display: none; } .card-line { font-size: 10px; } }
