/* KwetuMart storefront — design system
   Brand: leaf green (fresh), sun orange (action), sky blue (trust).
   Each department re-skins the page through body[data-dept]. */
:root {
  --leaf: #1E6B3A; --leaf-2: #2F9E52; --leaf-ink: #0F3D20;
  --sun: #F07F13; --sun-2: #D96A05; --sky: #1F5FA6;
  --ink: #14201A; --ink-2: #4A5650; --mute: #6B766F;
  --paper: #FFFFFF; --mist: #F2F5F1; --line: #E1E6DF; --red: #C8361F;
  --bg: #F2F5F1; --surface: #FFFFFF; --card: #FFFFFF; --text: var(--ink); --text-2: var(--ink-2); --accent: var(--leaf); --border: var(--line);
  --r-sm: 8px; --r: 14px; --r-lg: 22px;
  --shadow: 0 1px 2px rgba(20,32,26,.06), 0 8px 24px -12px rgba(20,32,26,.18);
  --display: 'Bricolage Grotesque', 'Figtree', system-ui, sans-serif;
  --body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1240px;
}
body[data-dept="groceries"] { --bg: #EEF4E8; --accent: #1E6B3A; }
body[data-dept="electronics"] { --bg: #0E141B; --surface: #151D27; --card: #1A2430; --text: #E8EDF2; --text-2: #A9B6C3; --mute: #8796A5; --border: #263241; --accent: #3C9DFF; }
body[data-dept="plastics"] { --bg: #F7FAFC; --accent: #0E8FB0; }
body[data-dept="utensils"] { --bg: #EFE9E1; --card: #FBF8F4; --accent: #9A5426; --border: #E0D6CA; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.55; color: var(--text); background: var(--bg); transition: background-color .5s ease, color .4s ease; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.12; margin: 0 0 .4em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.45rem, 2.6vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; z-index: 999; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--mute); }
.seo-fallback { max-width: var(--wrap); margin: 40px auto; padding: 0 16px; }
.noscript { padding: 16px; background: #fff3e6; text-align: center; }

/* ---------- loader ---------- */
#loader { position: fixed; inset: 0; z-index: 1000; background: #fff; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 18px; }
html.intro #loader { display: flex; }
.loader-row { display: flex; gap: 14px; height: 74px; }
.loader-row img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; box-shadow: 0 10px 22px -10px rgba(0,0,0,.45); opacity: 0; transform: translateX(-60vw) rotate(-220deg); animation: roll .9s cubic-bezier(.2,.8,.2,1) forwards; }
.loader-row img:nth-child(2) { animation-delay: .08s } .loader-row img:nth-child(3) { animation-delay: .16s } .loader-row img:nth-child(4) { animation-delay: .24s } .loader-row img:nth-child(5) { animation-delay: .32s }
@keyframes roll { to { opacity: 1; transform: none; } }
.loader-logo { width: 230px; opacity: 0; transform: scale(.92); animation: pop .6s .55s ease forwards; }
@keyframes pop { to { opacity: 1; transform: none; } }
.loader-tag { font-family: var(--display); font-weight: 700; color: var(--leaf); margin: 0; opacity: 0; animation: pop .5s .8s ease forwards; }
.loader-bar { width: 160px; height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; }
.loader-bar span { display: block; height: 100%; width: 0; background: var(--sun); animation: bar 1.4s ease forwards; }
@keyframes bar { to { width: 100%; } }
#loader.out { opacity: 0; transition: opacity .45s ease; pointer-events: none; }

/* ---------- announcement & header ---------- */
.announce { background: var(--leaf-ink); color: #DDF0E2; font-size: .84rem; }
.announce .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 36px; }
.announce .msg { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity .35s; }
.announce a { text-decoration: none; white-space: nowrap; }
.announce .side { display: none; gap: 18px; }
@media (min-width: 900px) { .announce .side { display: flex; } }

.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); color: var(--ink); }
body[data-dept="electronics"] .hdr { background: rgba(14,20,27,.94); border-color: #263241; color: #E8EDF2; }
.hdr-main { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding-top: 12px; padding-bottom: 12px; }
.logo { display: block; width: 156px; flex: none; }
.logo img { width: 100%; height: auto; }
.search { position: relative; grid-column: 1 / -1; order: 3; }
.search form { display: flex; background: var(--mist); border: 1.5px solid transparent; border-radius: 999px; padding: 4px 4px 4px 16px; transition: border-color .2s, background .2s; }
.search form:focus-within { border-color: var(--leaf); background: #fff; }
body[data-dept="electronics"] .search form { background: #1A2430; }
body[data-dept="electronics"] .search form:focus-within { background: #1F2B39; border-color: #3C9DFF; }
.search input { flex: 1; border: 0; background: transparent; outline: none; min-width: 0; padding: 8px 4px; }
.search button { border: 0; background: var(--sun); color: #fff; border-radius: 999px; padding: 0 18px; font-weight: 700; cursor: pointer; }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: #fff; color: var(--ink); border-radius: var(--r); box-shadow: 0 18px 50px -20px rgba(0,0,0,.4); border: 1px solid var(--line); overflow: hidden; display: none; z-index: 60; }
.suggest.open { display: block; }
.suggest a { display: flex; align-items: center; gap: 12px; padding: 9px 14px; text-decoration: none; }
.suggest a:hover, .suggest a.active { background: var(--mist); }
.suggest img { width: 42px; height: 42px; object-fit: cover; border-radius: 8px; }
.suggest .lbl { font-size: .75rem; color: var(--mute); padding: 10px 14px 4px; }
.suggest .price { margin-left: auto; font-weight: 700; white-space: nowrap; }
.hdr-icons { display: flex; align-items: center; gap: 0; }
@media (max-width: 599px) { .hdr-icons .hide-sm { display: none; } .logo { width: 138px; } .icon-btn { min-width: 40px; padding: 0 8px; } }
.icon-btn { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 42px; min-width: 42px; justify-content: center; padding: 0 10px; border-radius: 12px; border: 0; background: transparent; cursor: pointer; text-decoration: none; font-weight: 600; font-size: .9rem; }
.icon-btn:hover { background: rgba(127,140,133,.12); }
.icon-btn svg { width: 22px; height: 22px; flex: none; }
.icon-btn .txt { display: none; }
.badge { position: absolute; top: 3px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--sun); color: #fff; font-size: .7rem; font-weight: 700; display: grid; place-items: center; }
.badge:empty, .badge[data-n="0"] { display: none; }
.menu-btn { display: inline-flex; }
@media (min-width: 900px) {
  .hdr-main { grid-template-columns: auto minmax(300px, 1fr) auto; gap: 28px; }
  .search { grid-column: auto; order: 0; }
  .logo { width: 176px; }
  .icon-btn .txt { display: inline; }
  .menu-btn { display: none; }
}

/* desktop nav + mega menu */
.nav { display: none; border-top: 1px solid var(--line); }
body[data-dept="electronics"] .nav { border-color: #263241; }
@media (min-width: 900px) { .nav { display: block; } }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav > .wrap > ul > li > a { display: block; padding: 11px 14px; font-weight: 600; text-decoration: none; border-bottom: 3px solid transparent; }
.nav > .wrap > ul > li > a.on, .nav > .wrap > ul > li > a:hover { border-color: var(--sun); }
.nav .offers-link { color: var(--sun-2); }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; color: var(--ink); border-top: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(0,0,0,.35); display: none; }
.nav li:hover > .mega, .nav li:focus-within > .mega { display: block; }
.mega-in { display: grid; grid-template-columns: 260px 1fr 300px; gap: 28px; padding: 26px 16px; max-width: var(--wrap); margin: 0 auto; }
.mega-photo { border-radius: var(--r); overflow: hidden; position: relative; min-height: 220px; background: #ddd center/cover; }
.mega-photo span { position: absolute; left: 14px; bottom: 12px; color: #fff; font-family: var(--display); font-weight: 800; font-size: 1.5rem; text-shadow: 0 2px 12px rgba(0,0,0,.5); }
.mega-links { columns: 2; column-gap: 28px; }
.mega-links a { display: block; padding: 6px 0; text-decoration: none; break-inside: avoid; color: var(--ink-2); }
.mega-links a:hover { color: var(--leaf); }
.mega-feat a { display: flex; gap: 12px; align-items: center; text-decoration: none; padding: 8px 0; }
.mega-feat img { width: 54px; height: 54px; border-radius: 10px; object-fit: cover; }
.mega h4 { font-size: .8rem; color: var(--mute); font-family: var(--body); font-weight: 600; margin: 0 0 10px; }

/* ---------- buttons & forms ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 12px; border: 0; cursor: pointer; font-weight: 700; text-decoration: none; transition: transform .15s ease, background .2s, box-shadow .2s; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--sun); color: #fff; box-shadow: 0 8px 18px -10px rgba(240,127,19,.9); }
.btn-primary:hover { background: var(--sun-2); }
.btn-green { background: var(--leaf); color: #fff; }
.btn-green:hover { background: var(--leaf-ink); }
.btn-ghost { background: transparent; border: 1.5px solid currentColor; }
.btn-light { background: #fff; color: var(--ink); }
.btn-wa { background: #1FA855; color: #fff; }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: .9rem; border-radius: 10px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.field { display: block; margin-bottom: 14px; }
.field > span { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 5px; }
.field small { color: var(--mute); }
.input, .field input, .field select, .field textarea { width: 100%; min-height: 46px; padding: 10px 14px; border-radius: 11px; border: 1.5px solid var(--border); background: var(--surface); color: var(--text); }
.field textarea { min-height: 90px; resize: vertical; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--leaf); box-shadow: 0 0 0 3px rgba(30,107,58,.15); }
.pw { position: relative; }
.pw button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--mute); cursor: pointer; padding: 6px 8px; font-size: .85rem; font-weight: 600; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; margin: 10px 0; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--leaf); flex: none; }
.alert { padding: 12px 14px; border-radius: 11px; margin: 10px 0; font-size: .94rem; }
.alert-err { background: #FDECE8; color: #8A2414; }
.alert-ok { background: #E4F4E8; color: #14532D; }
.alert-info { background: #EAF2FB; color: #17406F; }
.alert-warn { background: #FFF3E3; color: #7A3E00; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--leaf-ink); color: #fff; }
.hero-grid { display: grid; gap: 0; }
.hero-copy { padding: 44px 16px 36px; position: relative; z-index: 2; }
.hero-copy h1 { color: #fff; max-width: 13ch; }
.hero-copy p { color: #D2E7D8; font-size: 1.08rem; max-width: 44ch; }
.hero-copy .btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.hero-copy .btn-ghost { color: #fff; }
.hero-meta { display: flex; gap: 22px; margin-top: 30px; font-size: .88rem; color: #BFDCC8; flex-wrap: wrap; }
.hero-meta b { display: block; color: #fff; font-family: var(--display); font-size: 1.1rem; }
.aisles { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 170px 170px; gap: 6px; padding: 0 6px 6px; }
.aisle { position: relative; overflow: hidden; border-radius: 12px; text-decoration: none; color: #fff; isolation: isolate; }
.aisle img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); z-index: -1; }
.aisle::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.62)); z-index: -1; }
.aisle:hover img { transform: scale(1.06); }
.aisle .lab { position: absolute; left: 14px; bottom: 12px; right: 14px; }
.aisle .lab small { display: block; font-size: .75rem; opacity: .85; }
.aisle .lab strong { font-family: var(--display); font-size: 1.25rem; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr 1fr; min-height: 560px; }
  .hero-copy { padding: 76px 48px 60px max(16px, calc((100vw - var(--wrap)) / 2 + 16px)); display: flex; flex-direction: column; justify-content: center; }
  .aisles { grid-template-columns: 1.25fr 1fr; grid-template-rows: repeat(3, 1fr); padding: 10px; gap: 10px; }
  .aisle:first-child { grid-row: span 3; }
  .aisle .lab strong { font-size: 1.6rem; }
}
.hero.reveal .hero-copy > * { animation: rise .8s cubic-bezier(.2,.8,.2,1) both; }
.hero.reveal .hero-copy > *:nth-child(2) { animation-delay: .08s } .hero.reveal .hero-copy > *:nth-child(3) { animation-delay: .16s } .hero.reveal .hero-copy > *:nth-child(4) { animation-delay: .24s }
.hero.reveal .aisle { animation: tile .9s cubic-bezier(.2,.8,.2,1) both; }
.hero.reveal .aisle:nth-child(2) { animation-delay: .1s } .hero.reveal .aisle:nth-child(3) { animation-delay: .2s } .hero.reveal .aisle:nth-child(4) { animation-delay: .3s }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes tile { from { opacity: 0; transform: scale(.94); } }

/* ---------- sections ---------- */
.sec { padding: 42px 0; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.sec-head h2 { margin: 0; }
.sec-head p { margin: 4px 0 0; color: var(--text-2); }
.sec-head a { font-weight: 700; color: var(--accent); text-decoration: none; white-space: nowrap; }
.demo-note { background: #FFF6EA; color: #7A3E00; font-size: .85rem; text-align: center; padding: 8px 16px; }

/* department entrances */
.depts { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .depts { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .depts { grid-template-columns: repeat(4, 1fr); } }
.dept { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; border-radius: var(--r-lg); overflow: hidden; text-decoration: none; padding: 20px; isolation: isolate; }
.dept img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.dept::before { content: ""; position: absolute; inset: 0; z-index: -1; }
.dept:hover img { transform: scale(1.07); }
.dept h3 { font-size: 1.6rem; margin: 0 0 4px; }
.dept p { margin: 0 0 14px; font-size: .94rem; }
.dept .go { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; font-weight: 700; padding: 9px 16px; border-radius: 999px; font-size: .9rem; transition: gap .2s; }
.dept:hover .go { gap: 12px; }
.dept.d-groceries { color: #fff; } .dept.d-groceries::before { background: linear-gradient(180deg, rgba(15,61,32,0) 35%, rgba(15,61,32,.9)); } .dept.d-groceries .go { background: #fff; color: var(--leaf); }
.dept.d-electronics { color: #E8EDF2; background: #0E141B; } .dept.d-electronics::before { background: linear-gradient(180deg, rgba(14,20,27,.1), rgba(14,20,27,.92)); } .dept.d-electronics .go { background: #3C9DFF; color: #fff; }
.dept.d-plastics { color: #0B3442; } .dept.d-plastics::before { background: linear-gradient(180deg, rgba(255,255,255,0) 30%, rgba(255,255,255,.94) 75%); } .dept.d-plastics .go { background: #0E8FB0; color: #fff; }
.dept.d-utensils { color: #2A2522; } .dept.d-utensils::before { background: linear-gradient(180deg, rgba(239,233,225,0) 30%, rgba(239,233,225,.95) 75%); } .dept.d-utensils .go { background: #9A5426; color: #fff; }

/* product rails & grid */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(168px, 46%); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 640px) { .rail { grid-auto-columns: minmax(200px, 31%); } }
@media (min-width: 1000px) { .rail { grid-auto-columns: calc((100% - 48px) / 5); } }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.grid.g5 { } @media (min-width: 1100px) { .grid.g5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

.card { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; transition: box-shadow .25s, transform .25s; }
.card:hover { box-shadow: var(--shadow); }
.card .ph { position: relative; aspect-ratio: 1 / 1; background: #EEF1EC; overflow: hidden; }
body[data-dept="electronics"] .card .ph { background: radial-gradient(circle at 50% 35%, #263446, #141C26 70%); }
body[data-dept="utensils"] .card .ph { background: #E9E1D6; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .ph img { transform: scale(1.04); }
.card .tags { position: absolute; left: 8px; top: 8px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.tag { font-size: .72rem; font-weight: 700; padding: 3px 8px; border-radius: 6px; background: #fff; color: var(--ink); }
.tag-off { background: var(--sun); color: #fff; }
.tag-new { background: var(--sky); color: #fff; }
.tag-out { background: #333; color: #fff; }
.wish { position: absolute; right: 8px; top: 8px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.wish svg { width: 18px; height: 18px; }
.wish.on { color: #D23B4B; }
.wish.on svg path { fill: currentColor; }
.qv { position: absolute; left: 50%; bottom: 10px; transform: translate(-50%, 8px); opacity: 0; border: 0; border-radius: 999px; background: rgba(20,32,26,.85); color: #fff; font-size: .8rem; font-weight: 600; padding: 6px 12px; cursor: pointer; transition: .2s; }
.card:hover .qv, .qv:focus { opacity: 1; transform: translate(-50%, 0); }
@media (hover: none) { .qv { display: none; } }
.card .body { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px 12px; flex: 1; }
.card .name { font-weight: 600; font-size: .95rem; text-decoration: none; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .name::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.card .unit { font-size: .8rem; color: var(--mute); }
.card .rate { font-size: .8rem; color: var(--mute); }
.card .rate b { color: #E0A100; }
.card .foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 6px; padding-top: 6px; position: relative; z-index: 1; }
.price { font-weight: 800; font-family: var(--display); font-size: 1.1rem; }
.was { color: var(--mute); text-decoration: line-through; font-size: .82rem; margin-left: 4px; font-weight: 500; }
.stock-low { color: #B35400; font-size: .78rem; font-weight: 600; }
.wish, .qv { z-index: 2; }
.add { width: 40px; height: 40px; border-radius: 12px; border: 0; background: var(--leaf); color: #fff; cursor: pointer; display: grid; place-items: center; flex: none; transition: background .2s, transform .15s; }
body[data-dept="electronics"] .add { background: #3C9DFF; }
body[data-dept="plastics"] .add { background: #0E8FB0; }
body[data-dept="utensils"] .add { background: #9A5426; }
.add:hover { transform: scale(1.06); }
.add svg { width: 20px; height: 20px; }
.add[disabled] { background: #A9B1AC; cursor: not-allowed; transform: none; }
.stepper { display: inline-flex; align-items: center; border-radius: 12px; background: var(--leaf); color: #fff; height: 40px; overflow: hidden; }
.stepper button { width: 36px; height: 100%; border: 0; background: transparent; color: inherit; cursor: pointer; font-size: 1.2rem; font-weight: 700; }
.stepper span { min-width: 26px; text-align: center; font-weight: 700; }
.stepper.lg { height: 50px; } .stepper.lg button { width: 46px; }
.stepper.light { background: var(--mist); color: var(--ink); }

/* home feature bands */
.band { border-radius: var(--r-lg); overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); }
.band > *, .house > *, .cols > *, .shop > *, .pdp > *, .acct > *, .grid2 > * { min-width: 0; }
.band-fresh { background: #E5EFDC; }
.band-fresh .band-photo { min-height: 240px; background: center/cover; }
.band-fresh .band-copy { padding: 28px 22px; }
@media (min-width: 900px) { .band { grid-template-columns: 380px minmax(0, 1fr); } .band-fresh .band-photo { min-height: 100%; } .band-fresh .band-copy { padding: 34px; } }
.band-tech { background: #0E141B; color: #E8EDF2; padding: 30px 22px; position: relative; isolation: isolate; }
.band-tech::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 300px at 85% 0%, rgba(60,157,255,.28), transparent 70%), radial-gradient(500px 260px at 0% 100%, rgba(140,160,190,.14), transparent 70%); }
.band-tech h2 { color: #fff; }
.band-tech .sec-head p { color: #A9B6C3; }
.band-tech .sec-head a { color: #7EC0FF; }
.band-tech .card { background: #1A2430; border-color: #263241; color: #E8EDF2; }
.band-tech .card .ph { background: radial-gradient(circle at 50% 35%, #263446, #141C26 70%); }
.band-tech .add { background: #3C9DFF; }
.band-tech .unit, .band-tech .was { color: #8796A5; }
@media (min-width: 900px) { .band-tech { padding: 40px; } }
.house { display: grid; gap: 14px; }
@media (min-width: 900px) { .house { grid-template-columns: 1fr 1fr; } }
.house-col { border-radius: var(--r-lg); padding: 22px; }
.house-plastics { background: #fff; border: 1px solid #DCEBF0; background-image: radial-gradient(#D9EEF4 1.2px, transparent 1.2px); background-size: 18px 18px; }
.house-plastics h3 { color: #0B5B70; }
.house-utensils { background: #EFE9E1; }
.house-utensils h3 { color: #6E3A17; }
.house-col h3 { font-size: 1.45rem; }
.mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.mini a { text-decoration: none; display: block; }
.mini img { aspect-ratio: 1; object-fit: cover; border-radius: 12px; width: 100%; background: #fff; }
.mini span { display: block; font-size: .85rem; font-weight: 600; margin-top: 6px; line-height: 1.25; }
.mini b { font-size: .85rem; }

.promos { display: grid; gap: 14px; }
@media (min-width: 800px) { .promos { grid-template-columns: 1fr 1fr; } }
.promo { position: relative; min-height: 210px; border-radius: var(--r-lg); overflow: hidden; color: #fff; text-decoration: none; display: flex; align-items: flex-end; padding: 22px; isolation: isolate; }
.promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.promo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0,0,0,.66), rgba(0,0,0,.1)); }
.promo h3 { font-size: 1.6rem; margin: 0 0 4px; }
.promo p { margin: 0 0 12px; opacity: .92; }

.why { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 700px) { .why { grid-template-columns: repeat(3, 1fr); } }
.why div { background: var(--card); border: 1px solid var(--border); border-radius: var(--r); padding: 18px; }
.why svg { width: 30px; height: 30px; color: var(--leaf); margin-bottom: 8px; }
.why h3 { font-size: 1.02rem; margin-bottom: 4px; }
.why p { margin: 0; color: var(--text-2); font-size: .93rem; }

.coverage { display: grid; gap: 18px; align-items: center; background: var(--leaf); color: #fff; border-radius: var(--r-lg); padding: 26px 22px; }
.coverage h2 { color: #fff; }
.coverage ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.coverage li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 14px; background: rgba(255,255,255,.1); border-radius: 10px; }
.coverage li span:last-child { font-weight: 700; white-space: nowrap; }
@media (min-width: 900px) { .coverage { grid-template-columns: 1fr 1fr; padding: 36px; } }

/* ---------- department hero (listing pages) ---------- */
.dhero { position: relative; overflow: hidden; isolation: isolate; color: #fff; }
.dhero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.dhero::before { content: ""; position: absolute; inset: 0; z-index: -1; }
.dhero .wrap { padding-top: 46px; padding-bottom: 34px; min-height: 250px; display: flex; flex-direction: column; justify-content: flex-end; }
.dhero h1 { font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 6px; }
.dhero p { max-width: 52ch; margin: 0; font-size: 1.04rem; }
.dhero.t-groceries::before { background: linear-gradient(90deg, rgba(15,61,32,.92), rgba(15,61,32,.35)); }
.dhero.t-electronics { color: #E8EDF2; }
.dhero.t-electronics::before { background: linear-gradient(90deg, rgba(14,20,27,.96) 30%, rgba(14,20,27,.55)), radial-gradient(500px 240px at 80% 20%, rgba(60,157,255,.35), transparent); }
.dhero.t-plastics { color: #0B3442; }
.dhero.t-plastics::before { background: linear-gradient(90deg, rgba(255,255,255,.96) 35%, rgba(255,255,255,.45)); }
.dhero.t-utensils { color: #2A2522; }
.dhero.t-utensils::before { background: linear-gradient(90deg, rgba(239,233,225,.97) 35%, rgba(239,233,225,.45)); }
.dhero.t-plain { color: var(--ink); background: var(--mist); }
.dhero.t-plain::before { display: none; }
.dhero.t-offers { background: var(--sun); }
.dhero.t-offers::before { background: linear-gradient(90deg, rgba(160,70,0,.85), rgba(160,70,0,.2)); }
.crumbs { font-size: .85rem; margin-bottom: 12px; opacity: .85; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 16px 0 4px; scrollbar-width: none; }
.chip { flex: none; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--border); background: var(--surface); text-decoration: none; font-size: .9rem; font-weight: 600; white-space: nowrap; cursor: pointer; color: var(--text); }
.chip.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.chip small { opacity: .7; font-weight: 500; }

.shop { display: grid; gap: 22px; padding: 18px 0 50px; }
@media (min-width: 1000px) { .shop { grid-template-columns: 250px 1fr; } }
.filters { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 16px; align-self: start; }
.filters h4 { font-family: var(--body); font-size: .9rem; margin: 14px 0 8px; }
.filters h4:first-child { margin-top: 0; }
.filters .row { display: flex; gap: 8px; }
.filters label.opt { display: flex; gap: 8px; align-items: center; padding: 4px 0; font-size: .92rem; cursor: pointer; }
.filters input[type=checkbox] { accent-color: var(--accent); width: 18px; height: 18px; }
.filters .input { min-height: 40px; padding: 6px 10px; }
@media (max-width: 999px) {
  .filters { position: fixed; inset: auto 0 0 0; z-index: 90; border-radius: 20px 20px 0 0; max-height: 80vh; overflow: auto; transform: translateY(105%); transition: transform .3s ease; padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
  .filters.open { transform: none; box-shadow: 0 -20px 60px rgba(0,0,0,.3); }
}
.filters .close-f { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
@media (min-width: 1000px) { .filters .close-f, .f-toggle { display: none !important; } }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.toolbar select { min-height: 40px; border-radius: 10px; border: 1.5px solid var(--border); background: var(--surface); padding: 0 10px; }
.empty { text-align: center; padding: 50px 20px; background: var(--surface); border-radius: var(--r); border: 1px dashed var(--border); }
.empty h3 { margin-bottom: 6px; }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 24px; }
.pager button { min-width: 42px; height: 42px; border-radius: 10px; border: 1.5px solid var(--border); background: var(--surface); cursor: pointer; font-weight: 700; }
.pager button.on { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ---------- product page ---------- */
.pdp { display: grid; gap: 26px; padding: 18px 0 40px; }
@media (min-width: 900px) { .pdp { grid-template-columns: 1.05fr 1fr; gap: 44px; } }
.gallery .main { aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; background: #EEF1EC; position: relative; }
body[data-dept="electronics"] .gallery .main { background: radial-gradient(circle at 50% 35%, #263446, #10161E 72%); }
.gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.gallery .thumbs { display: flex; gap: 8px; margin-top: 10px; }
.gallery .thumbs button { width: 70px; height: 70px; border-radius: 12px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: none; }
.gallery .thumbs button.on { border-color: var(--accent); }
.gallery .thumbs img { width: 100%; height: 100%; object-fit: cover; }
.photo-note { font-size: .78rem; color: var(--mute); margin-top: 8px; }
.pinfo .brand { color: var(--accent); font-weight: 700; font-size: .9rem; }
.pinfo h1 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
.pinfo .bigprice { font-family: var(--display); font-size: 2rem; font-weight: 800; }
.pinfo .save { display: inline-block; background: var(--sun); color: #fff; font-weight: 700; padding: 3px 10px; border-radius: 8px; font-size: .85rem; margin-left: 8px; vertical-align: middle; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 16px; }
.opt { padding: 10px 14px; border-radius: 11px; border: 1.5px solid var(--border); background: var(--surface); cursor: pointer; font-weight: 600; text-align: left; color: var(--text); }
.opt small { display: block; font-weight: 500; color: var(--mute); }
.opt.on { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.opt[disabled] { opacity: .45; text-decoration: line-through; cursor: not-allowed; }
.buy { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 14px 0; }
.buy .btn { flex: 1; min-width: 140px; min-height: 52px; }
.instock { font-weight: 600; color: var(--leaf-2); }
body[data-dept="electronics"] .instock { color: #5FD08A; }
.outstock { font-weight: 600; color: var(--red); }
.info-list { display: grid; gap: 10px; margin: 18px 0; padding: 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--border); font-size: .93rem; }
.info-list div { display: flex; gap: 10px; }
.info-list svg { width: 20px; height: 20px; flex: none; color: var(--accent); margin-top: 2px; }
.specs { width: 100%; border-collapse: collapse; font-size: .94rem; }
.specs th, .specs td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--border); vertical-align: top; }
.specs th { width: 40%; color: var(--mute); font-weight: 600; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin: 24px 0 14px; overflow-x: auto; }
.tabs button { padding: 10px 14px; border: 0; background: none; font-weight: 700; color: var(--mute); border-bottom: 3px solid transparent; cursor: pointer; white-space: nowrap; }
.tabs button.on { color: var(--text); border-color: var(--sun); }
.review { padding: 14px 0; border-bottom: 1px solid var(--border); }
.stars { color: #E0A100; letter-spacing: 2px; }
.star-pick { display: flex; gap: 4px; }
.star-pick button { font-size: 1.6rem; border: 0; background: none; cursor: pointer; color: #C9CFCB; padding: 0 2px; }
.star-pick button.on { color: #E0A100; }

/* ---------- cart & checkout ---------- */
.page { padding: 26px 0 60px; }
.page-title { margin-bottom: 18px; }
.cols { display: grid; gap: 22px; }
@media (min-width: 950px) { .cols { grid-template-columns: 1fr 380px; align-items: start; } }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 18px; }
.panel h3 { margin-bottom: 12px; }
.panel + .panel { margin-top: 14px; }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border); }
.line:last-child { border-bottom: 0; }
.line img { width: 72px; height: 72px; object-fit: cover; border-radius: 12px; background: var(--mist); }
.line .ln { font-weight: 600; text-decoration: none; }
.line .lv { font-size: .85rem; color: var(--mute); }
.line .lr { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.line .rm { border: 0; background: none; color: var(--mute); cursor: pointer; font-size: .82rem; text-decoration: underline; padding: 0; }
.sum { display: grid; gap: 8px; font-size: .95rem; }
.sum div { display: flex; justify-content: space-between; gap: 10px; }
.sum .tot { font-size: 1.2rem; font-weight: 800; font-family: var(--display); padding-top: 10px; border-top: 1px solid var(--border); }
.sticky { position: sticky; top: 140px; }
.radio-card { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1.5px solid var(--border); border-radius: 12px; cursor: pointer; margin-bottom: 8px; background: var(--surface); }
.radio-card input { accent-color: var(--leaf); width: 20px; height: 20px; margin-top: 2px; flex: none; }
.radio-card:has(input:checked) { border-color: var(--leaf); background: #F3F9F4; }
.radio-card b { display: block; }
.radio-card small { color: var(--mute); }
.radio-card .fee { margin-left: auto; font-weight: 700; white-space: nowrap; }
.two { display: grid; gap: 0 12px; }
@media (min-width: 600px) { .two { grid-template-columns: 1fr 1fr; } }
.coupon { display: flex; gap: 8px; }
.coupon input { flex: 1; }
.steps { display: flex; gap: 6px; margin-bottom: 18px; font-size: .85rem; color: var(--mute); }

/* payment screen */
.pay-box { max-width: 520px; margin: 30px auto; text-align: center; }
.pay-icon { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 16px; }
.pay-icon svg { width: 40px; height: 40px; }
.pay-wait .pay-icon { background: #E4F4E8; color: var(--leaf); }
.pay-ok .pay-icon { background: var(--leaf); color: #fff; }
.pay-bad .pay-icon { background: #FDECE8; color: var(--red); }
.spin { width: 40px; height: 40px; border: 4px solid rgba(30,107,58,.2); border-top-color: var(--leaf); border-radius: 50%; animation: sp 1s linear infinite; }
@keyframes sp { to { transform: rotate(360deg); } }

/* timeline */
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { position: relative; padding: 0 0 18px 30px; }
.timeline li::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: -6px; width: 2px; background: var(--border); }
.timeline li:last-child::before { display: none; }
.timeline li::after { content: ""; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--leaf); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--leaf); }
.timeline time { font-size: .8rem; color: var(--mute); display: block; }
.progress { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin: 14px 0 22px; }
.progress div { height: 6px; border-radius: 3px; background: var(--border); }
.progress div.done { background: var(--leaf); }
.progress-l { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; font-size: .72rem; color: var(--mute); margin-top: -16px; margin-bottom: 18px; }

.status { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: var(--mist); color: var(--ink-2); }
.st-delivered, .st-payment_confirmed { background: #E4F4E8; color: #14532D; }
.st-pending_payment { background: #FFF3E3; color: #7A3E00; }
.st-cancelled, .st-refunded { background: #FDECE8; color: #8A2414; }
.st-out_for_delivery, .st-ready_for_dispatch, .st-processing, .st-order_received { background: #EAF2FB; color: #17406F; }

/* account */
.acct { display: grid; gap: 22px; }
@media (min-width: 900px) { .acct { grid-template-columns: 230px 1fr; } }
.acct-nav { display: flex; gap: 6px; overflow-x: auto; }
@media (min-width: 900px) { .acct-nav { flex-direction: column; } }
.acct-nav a { padding: 10px 14px; border-radius: 10px; text-decoration: none; font-weight: 600; white-space: nowrap; }
.acct-nav a.on { background: var(--leaf); color: #fff; }
.table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.table th, .table td { padding: 10px 8px; border-bottom: 1px solid var(--border); text-align: left; }
.table th { color: var(--mute); font-weight: 600; font-size: .82rem; }
.auth { max-width: 460px; margin: 30px auto; }

/* content pages */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; font-size: 1.35rem; }
.prose h3 { margin-top: 1.3em; }
.prose p, .prose li { color: var(--text-2); }
.prose a { color: var(--leaf); }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; margin-bottom: 8px; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq details p { margin: 10px 0 0; color: var(--text-2); }
.review-flag { background: #FFF3E3; border-left: 4px solid var(--sun); padding: 12px 14px; border-radius: 8px; margin-bottom: 20px; font-size: .92rem; }

/* receipt */
.receipt { max-width: 720px; margin: 0 auto; background: #fff; color: #14201A; padding: 30px; border-radius: var(--r); border: 1px solid var(--line); }
.receipt .rh { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; border-bottom: 2px solid #14201A; padding-bottom: 16px; margin-bottom: 16px; }
@media print {
  body { background: #fff !important; }
  .announce, .hdr, .ftr, .bnav, .no-print, #toast, .demo-note { display: none !important; }
  .receipt { border: 0; padding: 0; }
}

/* ---------- drawer / modal ---------- */
.scrim { position: fixed; inset: 0; background: rgba(10,16,12,.5); z-index: 100; opacity: 0; transition: opacity .25s; }
.scrim.open { opacity: 1; }
.drawer { position: fixed; top: 0; bottom: 0; right: 0; width: min(420px, 100%); background: #fff; color: var(--ink); z-index: 101; transform: translateX(100%); transition: transform .3s cubic-bezier(.2,.8,.2,1); display: flex; flex-direction: column; }
.drawer.left { left: 0; right: auto; transform: translateX(-100%); }
.drawer.open { transform: none; }
.drawer-h { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.drawer-b { flex: 1; overflow: auto; padding: 8px 18px; }
.drawer-f { padding: 14px 18px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.x { width: 40px; height: 40px; border-radius: 10px; border: 0; background: var(--mist); cursor: pointer; font-size: 1.3rem; line-height: 1; }
.modal { position: fixed; z-index: 101; left: 50%; top: 50%; transform: translate(-50%, -46%); opacity: 0; width: min(860px, calc(100% - 24px)); max-height: calc(100vh - 40px); overflow: auto; background: #fff; color: var(--ink); border-radius: var(--r-lg); transition: .25s; }
.modal.open { opacity: 1; transform: translate(-50%, -50%); }
.qv-grid { display: grid; gap: 20px; padding: 20px; }
@media (min-width: 700px) { .qv-grid { grid-template-columns: 1fr 1fr; } }
.qv-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r); }
.mnav a { display: flex; justify-content: space-between; padding: 13px 4px; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.mnav details summary { display: flex; justify-content: space-between; padding: 13px 4px; border-bottom: 1px solid var(--line); font-weight: 600; cursor: pointer; list-style: none; }
.mnav details summary::-webkit-details-marker { display: none; }
.mnav details a { padding-left: 18px; font-weight: 500; color: var(--ink-2); }

/* toast */
#toast { position: fixed; left: 50%; bottom: 84px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 600; z-index: 200; opacity: 0; pointer-events: none; transition: .25s; max-width: calc(100% - 32px); box-shadow: 0 14px 30px -10px rgba(0,0,0,.4); }
#toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 900px) { #toast { bottom: 28px; } }

/* bottom nav (mobile app feel) */
.bnav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: rgba(255,255,255,.97); backdrop-filter: blur(10px); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(5, 1fr); padding-bottom: env(safe-area-inset-bottom); color: var(--ink); }
.bnav a, .bnav button { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0 7px; font-size: .7rem; font-weight: 600; text-decoration: none; border: 0; background: none; cursor: pointer; position: relative; color: var(--ink-2); }
.bnav a.on { color: var(--leaf); }
.bnav svg { width: 22px; height: 22px; }
.bnav .badge { top: 2px; right: calc(50% - 22px); }
@media (min-width: 900px) { .bnav { display: none; } }
@media (max-width: 899px) { body { padding-bottom: 64px; } }

/* footer */
.ftr { background: #0F1A14; color: #BCC9C0; margin-top: 30px; font-size: .93rem; }
.ftr a { text-decoration: none; color: #DDE7E0; }
.ftr a:hover { color: #fff; text-decoration: underline; }
.ftr-top { display: grid; gap: 26px; padding: 44px 0 30px; }
@media (min-width: 800px) { .ftr-top { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.ftr h4 { color: #fff; font-family: var(--body); font-size: .95rem; margin-bottom: 12px; }
.ftr ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.news { display: flex; gap: 8px; margin-top: 12px; }
.news input { flex: 1; min-width: 0; min-height: 44px; border-radius: 10px; border: 1px solid #2B3B31; background: #16241B; color: #fff; padding: 0 12px; }
.ftr-bot { border-top: 1px solid #22332A; padding: 16px 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: .82rem; }
.wa-float { position: fixed; right: 16px; bottom: 80px; z-index: 55; width: 54px; height: 54px; border-radius: 50%; background: #1FA855; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(0,0,0,.45); }
.wa-float svg { width: 28px; height: 28px; }
@media (min-width: 900px) { .wa-float { bottom: 24px; } }

/* skeletons */
.sk { background: linear-gradient(90deg, rgba(127,140,133,.12), rgba(127,140,133,.22), rgba(127,140,133,.12)); background-size: 200% 100%; animation: sk 1.3s infinite; border-radius: var(--r); }
@keyframes sk { to { background-position: -200% 0; } }

/* reveal on scroll (single orchestrated motion for sections) */
.rv { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.rv.in { opacity: 1; transform: none; }

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

/* feature-band layout fixes */
.band.band-tech { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .band-fresh .rail { grid-auto-columns: calc((100% - 36px) / 4); } }
.card .foot .price { white-space: nowrap; }
@media (max-width: 1199px) { .rail .price { font-size: 1rem; } }

/* ---------- v3: scroll effects, WhatsApp, logos, pages ---------- */
.hdr { transition: box-shadow .3s ease, background-color .3s ease; }
body.scrolled .hdr { box-shadow: 0 10px 30px -18px rgba(15, 40, 25, .45); }
.logo img { transition: transform .35s cubic-bezier(.2,.8,.2,1); transform-origin: left center; }
body.scrolled .logo img { transform: scale(.9); }
#sprog { position: fixed; left: 0; top: 0; height: 3px; width: 100%; z-index: 80; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--leaf), var(--sun)); pointer-events: none; }
.to-top { position: fixed; right: 22px; bottom: 146px; z-index: 54; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border); background: var(--card, #fff); color: var(--ink); display: grid; place-items: center; box-shadow: 0 10px 24px -12px rgba(0,0,0,.35); opacity: 0; transform: translateY(14px) scale(.9); pointer-events: none; transition: opacity .3s, transform .3s cubic-bezier(.2,.8,.2,1); cursor: pointer; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { color: var(--leaf); }
@media (min-width: 900px) { .to-top { bottom: 90px; right: 21px; } }
.wa-float { transition: transform .25s cubic-bezier(.2,.8,.2,1); }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #1FA855; animation: waPulse 2.6s ease-out infinite; }
.wa-float:hover { transform: scale(1.07); }
.wa-tip { position: absolute; right: 64px; white-space: nowrap; background: #0F2A1A; color: #fff; font-size: .82rem; font-weight: 600; padding: 7px 11px; border-radius: 10px; opacity: 0; transform: translateX(6px); transition: opacity .25s, transform .25s; pointer-events: none; }
.wa-float:hover .wa-tip, .wa-float:focus-visible .wa-tip { opacity: 1; transform: none; }
@keyframes waPulse { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(1.55); opacity: 0; } }
.btn-wa { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.or-wa { display: flex; align-items: center; gap: 10px; margin: 14px 0 10px; color: var(--muted, #6b7a70); font-size: .82rem; }
.or-wa::before, .or-wa::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.offer-ends { display: inline-block; margin: 8px 0 0; padding: 4px 10px; border-radius: 999px; background: #FFF1E2; color: #A3470B; font-size: .82rem; font-weight: 700; }
.logo-chip { background: #fff; border-radius: 10px; padding: 6px 10px; box-sizing: content-box; }
.logo img.logo-chip { width: calc(100% - 20px); }

/* cards rise one after another */
.card.st { opacity: 0; transform: translateY(22px); }
.card.st.in { opacity: 1; transform: none; transition: opacity .55s ease calc(var(--i, 0) * 70ms), transform .7s cubic-bezier(.2,.8,.2,1) calc(var(--i, 0) * 70ms); }

/* gentle parallax on page heroes (image is taller than the hero so no gap shows) */
.dhero > img { top: -15%; height: 130%; will-change: transform; }
.hero-copy { will-change: transform; }

/* custom pages */
.prose img { max-width: 100%; height: auto; border-radius: 14px; margin: 10px 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 12px 0; }
.prose th, .prose td { border: 1px solid var(--border); padding: 8px 10px; text-align: left; }

@media (prefers-reduced-motion: reduce) {
  .card.st { opacity: 1; transform: none; }
  .wa-float::after { display: none; }
  .dhero > img, .hero-copy { transform: none !important; }
}

/* Delivery pin (checkout and saved addresses) */
.pinbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 8px; }
.pinbar .muted { font-size: .86rem; }
.pinmap { height: 300px; border-radius: var(--r); border: 1px solid var(--border); overflow: hidden; position: relative; z-index: 0; isolation: isolate; background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath d='M0 16 16 0' stroke='%23dfe5dc' stroke-width='1'/%3E%3C/svg%3E"); }
.pinmap .leaflet-container, .pinmap.leaflet-container { font-family: var(--body); }
.pinmsg { margin-top: 8px; padding: 10px 12px; border-radius: var(--r-sm); background: var(--mist); border: 1px solid var(--line); font-size: .9rem; }
.pinmsg:empty { display: none; }
.pinmsg.ok { background: #E8F4EC; border-color: #BFDDC9; }
.pinmsg.warn { background: #FFF6E0; border-color: #F0D48A; }
.linkbtn { background: none; border: 0; padding: 0; margin-left: 6px; color: var(--leaf); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.km-pin { background: none; border: 0; }
@media (max-width: 640px) { .pinmap { height: 260px; } }

/* Install-the-app link in the footer */
.getapp { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }

/* ============================================================
   No motion anywhere (owner's rule): no animations, transitions,
   hover zooms, parallax or smooth scrolling. Everything that used
   to fade or slide in is simply shown in its final position.
   ============================================================ */
*, *::before, *::after { animation: none !important; transition: none !important; }
html { scroll-behavior: auto !important; }
.loader-row img, .loader-logo, .loader-tag { opacity: 1 !important; transform: none !important; }
.loader-bar span { width: 100% !important; }
.rv, .card.st, .hero.reveal .hero-copy > *, .hero.reveal .aisle { opacity: 1 !important; transform: none !important; }
.aisle:hover img, .dept:hover img, .card:hover .ph img, .add:hover, .btn:active, .wa-float:hover, body.scrolled .logo img { transform: none !important; }
.dhero > img, .page-hero > img, .hero-copy { transform: none !important; will-change: auto; }
.dhero > img { top: 0; height: 100%; }
.wa-float::after, #sprog { display: none !important; }
.qv { transform: translate(-50%, 0); }
