/* JV ProMart — one responsive design for website and mobile app. */

:root {
  --green: #176B3A;
  --green-dark: #0F5229;
  --leaf: #2E9E55;
  --mint: #F0F8F1;
  --mint-2: #E2F1E5;
  --offer: #F5A623;
  --amber: #E8961C;
  --offer-soft: #FFF4E0;
  --offer-ink: #6B4500;
  --canvas: #F7F8F4;
  --card: #FFFFFF;
  --ink: #1D261F;
  --muted: #66716A;
  --line: #E3E8E2;
  --red: #C62828;
  --red-soft: #FDECEC;
  --blue: #1F5FAD;
  --blue-soft: #E8F0FB;

  --r: 8px;
  --r-lg: 14px;
  --r-xl: 22px;
  --sh-1: 0 1px 2px rgba(20, 40, 25, .05);
  --sh-2: 0 6px 18px rgba(20, 60, 35, .10);
  --sh-3: 0 -4px 16px rgba(0, 0, 0, .07);
  --sh-4: 0 14px 36px rgba(20, 30, 20, .20);

  --font: "Inter", "Noto Sans Gujarati", system-ui, sans-serif;
  --max: 1240px;
  --nav-h: 64px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 14px; line-height: 1.45; color: var(--ink); background: var(--canvas); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }

.ms {
  font-family: "Material Symbols Outlined"; font-weight: normal; font-style: normal; font-size: 22px; line-height: 1;
  display: inline-block; vertical-align: middle; letter-spacing: normal; text-transform: none; white-space: nowrap;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24; user-select: none;
}
.ms.fill { font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24; }
.ms.sm { font-size: 18px; } .ms.xs { font-size: 16px; } .ms.lg { font-size: 28px; }
.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Layout ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.page { padding: 16px 0 calc(var(--nav-h) + 96px); }
.page.no-nav { padding-bottom: 120px; }
.stack > * + * { margin-top: 16px; }
.stack-lg > * + * { margin-top: 32px; }
.stack-sm > * + * { margin-top: 8px; }
.row { display: flex; align-items: center; gap: 8px; }
.row.between { justify-content: space-between; }
.row.top { align-items: flex-start; }
.row.wrap-ok { flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.hide-m { display: none !important; }
.grid { display: grid; gap: 12px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.split { display: grid; gap: 16px; }
@media (min-width: 640px) {
  .wrap { padding: 0 24px; }
  .g3-t { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .g4-t { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .wrap { padding: 0 32px; }
  .page { padding: 28px 0 72px; }
  .page.no-nav { padding-bottom: 72px; }
  .hide-m { display: initial !important; }
  .seg.hide-m, .row.hide-m { display: flex !important; }
  .hide-d { display: none !important; }
  .grid { gap: 16px; }
  .g2-d { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g3-d { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .g4-d { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .g5-d { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .split { grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
  .split .side { position: sticky; top: 140px; }
}

/* ---------- Type ---------- */
.h1 { font-size: 22px; font-weight: 750; letter-spacing: -.02em; line-height: 1.2; }
.h2 { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.h3 { font-size: 15px; font-weight: 650; }
.gu { color: var(--muted); font-size: 12px; font-weight: 500; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.tiny { font-size: 11px; }
.b { font-weight: 700; } .sb { font-weight: 600; }
.green { color: var(--green); } .leaf { color: var(--leaf); } .red { color: var(--red); }
.price { font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.price-lg { font-size: 26px; font-weight: 750; letter-spacing: -.02em; }
.mrp { color: var(--muted); font-size: 12px; }
.num { font-variant-numeric: tabular-nums; }
@media (min-width: 1024px) { .h1 { font-size: 30px; } .h2 { font-size: 20px; } }

/* ---------- Header ---------- */
.hdr { position: sticky; top: 0; z-index: 40; background: var(--card); border-bottom: 1px solid var(--line); }
.hdr-top { display: flex; align-items: center; gap: 10px; height: 58px; }
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 44px; width: auto; max-width: 48vw; object-fit: contain; }
.loc-btn { display: flex; align-items: center; gap: 4px; min-width: 0; background: none; border: 0; padding: 4px 0; text-align: left; }
.loc-btn .t { display: block; font-size: 11px; color: var(--muted); }
.loc-btn .v { display: block; font-weight: 600; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 36vw; }
.icon-btn { position: relative; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: none; border: 0; flex-shrink: 0; }
.icon-btn:hover { background: var(--mint); }
.dot-count { position: absolute; top: 0; right: -4px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--offer); color: #3A2600; font-size: 11px; font-weight: 700; display: grid; place-items: center; border: 2px solid #fff; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 2px; flex-shrink: 0; }
.lang button { border: 0; background: none; padding: 4px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--muted); }
.lang button.on { background: var(--green); color: #fff; }
.hdr-search { padding: 0 0 10px; }
.search { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; background: var(--canvas); border: 1px solid var(--line); border-radius: var(--r); }
.search:focus-within { background: #fff; border: 1.5px solid var(--green); }
.search input { border: 0; outline: 0; background: none; flex: 1; min-width: 0; font-size: 14px; }
.hdr-links { display: none; }
.slot-strip { background: var(--mint); color: var(--green); font-size: 12px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 7px 16px; text-align: center; }
@media (min-width: 1024px) {
  .hdr-top { height: 72px; gap: 20px; }
  .logo img { height: 66px; max-width: none; }
  .hdr-top .search { max-width: 520px; margin: 0 auto; }
  .hdr-search { display: none; }
  .loc-btn { max-width: 230px; }
  .loc-btn .v { max-width: 180px; }
  .hdr-links { display: flex; gap: 2px; border-top: 1px solid var(--line); height: 44px; align-items: center; }
  .hdr-links a { padding: 6px 12px; border-radius: 999px; font-weight: 500; color: var(--muted); }
  .hdr-links a:hover, .hdr-links a.on { background: var(--mint); color: var(--green); }
  .hdr-links .sp { flex: 1; }
}
.titlebar { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.titlebar .back { margin-left: -8px; }

/* ---------- Bottom nav + cart bar (app) ---------- */
.bnav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; height: calc(var(--nav-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: #fff; border-top: 1px solid var(--line); box-shadow: var(--sh-3); display: grid; grid-template-columns: repeat(5, 1fr); }
.bnav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 11px; color: var(--muted); font-weight: 500; }
.bnav .ico { position: relative; }
.bnav a.on { color: var(--green); font-weight: 700; }
.bnav a.on .ms { font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 24; }
.bbar { position: fixed; left: 12px; right: 12px; z-index: 44; bottom: calc(var(--nav-h) + 8px + env(safe-area-inset-bottom)); background: var(--green); color: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-4); display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 16px; }
.bbar .go { background: #fff; color: var(--green); border-radius: var(--r); padding: 8px 12px; font-weight: 700; display: flex; align-items: center; gap: 2px; white-space: nowrap; }
.bbar.solo { bottom: calc(12px + env(safe-area-inset-bottom)); }
@media (min-width: 1024px) { .bnav { display: none; } .bbar { left: auto; right: 32px; bottom: 24px; width: 380px; } .bbar.solo { bottom: 24px; } }
.actionbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: #fff; border-top: 1px solid var(--line); box-shadow: var(--sh-3); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px; }
@media (min-width: 1024px) { .actionbar.m-only { display: none; } }

/* ---------- Surfaces ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-1); }
.pad { padding: 16px; } .pad-sm { padding: 12px; }
@media (min-width: 1024px) { .pad { padding: 20px; } }
.tint { background: var(--mint); border: 1px solid var(--mint-2); border-radius: var(--r-lg); }
.warn { background: var(--offer-soft); border: 1px solid #F8DDA8; border-radius: var(--r-lg); color: var(--offer-ink); }
.danger { background: var(--red-soft); border: 1px solid #F5C6C6; border-radius: var(--r-lg); color: #7A1616; }
.info { background: var(--blue-soft); border: 1px solid #CADBF3; border-radius: var(--r-lg); }
.divider { height: 1px; background: var(--line); margin: 12px 0; }
.sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.sec-h a, .sec-h .link { color: var(--green); font-weight: 600; font-size: 13px; white-space: nowrap; }
.or { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; margin: 16px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 44px; padding: 0 18px; border-radius: var(--r); border: 1px solid transparent; font-weight: 700; font-size: 14px; white-space: nowrap; background: none; }
.btn-p { background: var(--green); color: #fff; } .btn-p:hover { background: var(--green-dark); }
.btn-o { background: #fff; color: var(--green); border-color: var(--green); } .btn-o:hover { background: var(--mint); }
.btn-g { background: var(--mint); color: var(--green); }
.btn-r { background: #fff; color: var(--red); border-color: #F0B8B8; }
.btn-w { background: #fff; color: var(--green); }
.btn-sm { height: 34px; padding: 0 12px; font-size: 13px; }
.btn-lg { height: 52px; font-size: 16px; padding: 0 22px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.link { color: var(--green); font-weight: 600; background: none; border: 0; padding: 0; }

/* ---------- Pills / chips / seg ---------- */
.pill { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
.p-offer { background: var(--offer); color: #3A2600; }
.p-leaf { background: var(--leaf); color: #fff; }
.p-mint { background: var(--mint); color: var(--green); }
.p-red { background: var(--red-soft); color: var(--red); }
.p-grey { background: #ECEFEB; color: var(--muted); }
.p-blue { background: var(--blue-soft); color: var(--blue); }
.p-amber { background: var(--offer-soft); color: var(--offer-ink); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex-shrink: 0; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: 13px; display: inline-flex; align-items: center; gap: 6px; }
.chip.on { background: var(--green); border-color: var(--green); color: #fff; }
.seg { display: flex; background: var(--mint); border-radius: var(--r); padding: 3px; gap: 3px; }
.seg > * { flex: 1; border: 0; background: none; border-radius: 6px; padding: 9px 12px; font-weight: 600; font-size: 13px; color: var(--muted); display: flex; align-items: center; justify-content: center; gap: 6px; text-align: center; white-space: nowrap; }
.seg > .on { background: var(--green); color: #fff; box-shadow: var(--sh-2); }
.seg-sm > * { padding: 7px 12px; }

/* ---------- Product card ---------- */
.pcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-1); transition: box-shadow .15s, border-color .15s; }
.pcard:hover { box-shadow: var(--sh-2); border-color: #BFE0C9; }
.pcard.is-out img { filter: grayscale(.7); opacity: .7; }
.pcard .img { position: relative; aspect-ratio: 1 / 1; background: #fff; border-bottom: 1px solid var(--line); }
.pcard .img img { width: 100%; height: 100%; object-fit: contain; padding: 8px; transition: transform .25s; }
.pcard:hover .img img { transform: scale(1.04); }
.pcard .img .pill { position: absolute; top: 8px; left: 8px; }
.pcard .body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pcard .name { font-weight: 600; font-size: 14px; line-height: 1.3; }
.pcard .bottom { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 6px; }
.packsel { position: relative; display: flex; align-items: center; height: 34px; border: 1px solid var(--line); border-radius: 6px; background: #fff; font-size: 12px; font-weight: 600; }
.packsel select { appearance: none; -webkit-appearance: none; border: 0; background: none; width: 100%; height: 100%; padding: 0 28px 0 10px; font-weight: 600; font-size: 12px; outline: 0; cursor: pointer; }
.packsel .ms { position: absolute; right: 8px; pointer-events: none; color: var(--muted); }
.packsel select { text-overflow: ellipsis; }
.packsel.one { padding: 0 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.add { height: 36px; min-width: 76px; border-radius: var(--r); border: 1px solid var(--green); background: #fff; color: var(--green); font-weight: 700; font-size: 13px; padding: 0 12px; }
.add:hover { background: var(--mint); }
.add[disabled] { border-color: var(--line); color: var(--muted); background: var(--canvas); cursor: not-allowed; }
.stepper { height: 36px; min-width: 92px; display: inline-flex; align-items: center; justify-content: space-between; background: var(--green); color: #fff; border-radius: var(--r); padding: 0 2px; }
.stepper button { width: 32px; height: 32px; border-radius: 6px; border: 0; background: none; color: #fff; display: grid; place-items: center; }
.stepper button:hover { background: rgba(255,255,255,.15); }
.stepper span { font-weight: 700; min-width: 20px; text-align: center; }

.lrow { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.lrow:last-child { border-bottom: 0; }
.lrow .thumb { width: 64px; height: 64px; border-radius: 10px; overflow: hidden; flex-shrink: 0; background: #fff; border: 1px solid var(--line); }
.lrow .thumb img { width: 100%; height: 100%; object-fit: contain; }

.ctile { display: flex; flex-direction: column; gap: 8px; text-align: center; }
.ctile .ci { aspect-ratio: 1 / 1; border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.ctile .ci img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s; }
.ctile:hover .ci { border-color: #BFE0C9; box-shadow: var(--sh-2); }
.ctile:hover .ci img { transform: scale(1.05); }
.ctile .cn { font-weight: 600; font-size: 12.5px; line-height: 1.25; }
@media (min-width: 1024px) { .g9-d { grid-template-columns: repeat(9, minmax(0, 1fr)); } }

/* shop: category sidebar (web) */
.shop { display: grid; gap: 24px; }
@media (min-width: 1024px) { .shop { grid-template-columns: 250px minmax(0, 1fr); align-items: start; } }
.catside { position: sticky; top: 140px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 12px 8px; }
.catside button { width: 100%; display: flex; align-items: center; gap: 10px; padding: 7px 10px; border: 0; background: none; border-radius: var(--r); text-align: left; font-size: 13px; font-weight: 500; color: var(--ink); }
.catside button img, .catside button .ms { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line); object-fit: contain; background: #fff; display: grid; place-items: center; flex-shrink: 0; }
.catside button:hover { background: var(--mint); }
.catside button.on { background: var(--mint); color: var(--green); font-weight: 700; }

/* Shop by Category menu (web header) */
.catbtn { position: relative; flex-shrink: 0; }
.catbtn > button { height: 42px; padding: 0 12px; border-radius: var(--r); border: 0; background: var(--green); color: #fff; font-weight: 700; display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.catmenu { display: none; position: absolute; top: 46px; left: 0; width: 300px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--sh-4); padding: 8px; z-index: 60; }
.catbtn:hover .catmenu, .catbtn:focus-within .catmenu { display: block; }
.catmenu a { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 8px; font-weight: 500; font-size: 13px; }
.catmenu a:hover { background: var(--mint); color: var(--green); }
.catmenu img { width: 34px; height: 34px; border-radius: 8px; object-fit: contain; border: 1px solid var(--line); }
@media (min-width: 1024px) { .catbtn.hide-m { display: block !important; } }

.hero { position: relative; overflow: hidden; border-radius: var(--r-xl); color: #fff; background: linear-gradient(120deg, #0F5229 0%, #176B3A 60%, #2E9E55 100%); padding: 24px 20px; display: grid; gap: 16px; }
.hero h1 { font-size: 26px; line-height: 1.15; font-weight: 800; letter-spacing: -.025em; }
.hero p { opacity: .88; }
.hero .hero-img { display: none; }
.hero .chip-w { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.15); border-radius: 999px; padding: 6px 12px; font-size: 12.5px; font-weight: 600; }
@media (min-width: 1024px) {
  .hero { grid-template-columns: 1.1fr 1fr; padding: 48px; align-items: center; gap: 40px; }
  .hero h1 { font-size: 44px; }
  .hero p { font-size: 16px; }
  .hero .hero-img { display: block; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; }
  .hero .hero-img img { width: 100%; height: 100%; object-fit: cover; }
}
.promise { display: flex; gap: 12px; align-items: center; }
.promise .pi { width: 40px; height: 40px; border-radius: 12px; background: var(--mint); color: var(--green); display: grid; place-items: center; flex-shrink: 0; }
.hscroll { display: grid; grid-auto-flow: column; grid-auto-columns: 46%; gap: 12px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.hscroll::-webkit-scrollbar { display: none; }
@media (min-width: 640px) { .hscroll { grid-auto-columns: 30%; } }
@media (min-width: 1024px) { .hscroll { grid-auto-flow: row; grid-template-columns: repeat(5, minmax(0, 1fr)); overflow: visible; } }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12px; font-weight: 600; color: var(--muted); }
.input, .select, .textarea { height: 46px; border: 1px solid var(--line); background: #fff; border-radius: var(--r); padding: 0 12px; outline: 0; width: 100%; }
.select { padding-right: 8px; }
.textarea { height: auto; min-height: 80px; padding: 10px 12px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { border: 1.5px solid var(--green); }
.input.sm, .select.sm { height: 36px; }
.phone-in { display: flex; align-items: center; height: 52px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.phone-in:focus-within { border: 1.5px solid var(--green); }
.phone-in span { padding: 0 12px; font-weight: 600; color: var(--muted); border-right: 1px solid var(--line); height: 100%; display: grid; place-items: center; background: var(--canvas); }
.phone-in input { border: 0; outline: 0; flex: 1; height: 100%; padding: 0 12px; font-size: 17px; letter-spacing: .04em; min-width: 0; }
.otp { display: flex; gap: 10px; }
.otp input { width: 54px; height: 58px; text-align: center; font-size: 24px; font-weight: 700; border: 1px solid var(--line); border-radius: var(--r); outline: 0; }
.otp input:focus { border: 1.5px solid var(--green); }
.opt { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; }
.opt + .opt { margin-top: 8px; }
.opt.on { border: 1.5px solid var(--green); background: var(--mint); }
.opt .radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #A9B4AB; flex-shrink: 0; margin-top: 1px; display: grid; place-items: center; }
.opt.on .radio { border-color: var(--green); }
.opt.on .radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--green); }
.opt.disabled { opacity: .5; cursor: not-allowed; }
.tog { width: 44px; height: 26px; border-radius: 13px; background: #C9D2CB; position: relative; border: 0; flex-shrink: 0; transition: background .15s; padding: 0; }
.tog::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: left .15s; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.tog.on { background: var(--green); }
.tog.on::after { left: 21px; }
.bill > div { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; }
.bill .tot { border-top: 1px dashed var(--line); margin-top: 6px; padding-top: 10px; font-size: 16px; font-weight: 700; }

/* order progress */
.prog { display: flex; align-items: flex-start; }
.prog .st { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: 11px; font-weight: 600; color: var(--muted); position: relative; }
.prog .st::before { content: ""; position: absolute; top: 13px; left: -50%; right: 50%; height: 2px; background: var(--line); }
.prog .st:first-child::before { display: none; }
.prog .st .d { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line); background: #fff; display: grid; place-items: center; z-index: 1; }
.prog .st.done { color: var(--green); }
.prog .st.done::before { background: var(--green); }
.prog .st.done .d { background: var(--green); border-color: var(--green); color: #fff; }

/* ---------- Tables / stats (admin) ---------- */
.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; min-width: 640px; }
.tbl th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 700; padding: 10px 12px; background: var(--canvas); border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr.click { cursor: pointer; }
.tbl tbody tr.click:hover { background: #FAFCF9; }
.tbl .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl input.input { height: 34px; width: 80px; text-align: right; padding: 0 8px; }
.tbl tfoot td { font-weight: 700; background: var(--canvas); border-top: 1px solid var(--line); }
.stat { padding: 14px 16px; }
.stat .k { font-size: 12px; color: var(--muted); font-weight: 600; display: flex; align-items: center; gap: 6px; }
.stat .v { font-size: 26px; font-weight: 750; letter-spacing: -.02em; margin-top: 4px; font-variant-numeric: tabular-nums; }
.stat .s { font-size: 12px; color: var(--muted); margin-top: 2px; }
.bar { height: 8px; border-radius: 4px; background: var(--mint-2); overflow: hidden; }
.bar > i { display: block; height: 100%; background: var(--green); border-radius: 4px; }

.adm { display: grid; min-height: 100vh; }
.adm-side { display: none; }
.adm-main { padding: 16px; min-width: 0; padding-bottom: 48px; }
.adm-top { display: flex; align-items: center; gap: 12px; padding: 10px 16px; background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
.adm-mnav { display: flex; gap: 6px; overflow-x: auto; padding: 8px 16px; background: #fff; border-bottom: 1px solid var(--line); scrollbar-width: none; position: sticky; top: 57px; z-index: 29; }
.adm-mnav a { flex-shrink: 0; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--muted); border: 1px solid var(--line); }
.adm-mnav a.on { background: var(--green); color: #fff; border-color: var(--green); }
@media (min-width: 1024px) {
  .adm { grid-template-columns: 232px 1fr; }
  .adm-side { display: flex; flex-direction: column; gap: 2px; background: #fff; border-right: 1px solid var(--line); padding: 16px 12px; position: sticky; top: 0; height: 100vh; }
  .adm-side a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r); font-weight: 500; color: var(--muted); }
  .adm-side a:hover { background: var(--mint); color: var(--green); }
  .adm-side a.on { background: var(--green); color: #fff; font-weight: 600; }
  .adm-side .grp { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; padding: 14px 12px 4px; }
  .adm-mnav { display: none; }
  .adm-main { padding: 24px 32px 64px; }
}
.toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.toolbar .search { height: 38px; min-width: 220px; flex: 1; max-width: 360px; background: #fff; }

/* side drawer (admin details) */
.drawer-bg { position: fixed; inset: 0; background: rgba(20,28,20,.4); z-index: 80; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(480px, 100%); background: #fff; z-index: 81; box-shadow: var(--sh-4); display: flex; flex-direction: column; animation: slideIn .18s ease-out; }
.drawer .dh { display: flex; align-items: center; gap: 8px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.drawer .db { padding: 16px; overflow: auto; flex: 1; }
@keyframes slideIn { from { transform: translateX(40px); opacity: 0; } }

/* chart */
.chart { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; align-items: end; height: 220px; padding-top: 8px; border-bottom: 1px solid var(--line); position: relative; }
.chart .col { display: flex; flex-direction: column-reverse; gap: 2px; height: 100%; justify-content: flex-start; position: relative; cursor: default; }
.chart .col i { display: block; border-radius: 4px 4px 0 0; min-height: 0; width: min(100%, 44px); align-self: center; }
.chart .col i + i { border-radius: 4px 4px 0 0; }
.chart .col i.h { background: var(--green); }
.chart .col i.w { background: var(--amber); }
.chart .col i.h:not(:only-child) { border-radius: 0; }
.chart .col:hover i { filter: brightness(1.08); }
.chart-x { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; font-size: 10.5px; color: var(--muted); text-align: center; margin-top: 6px; }
.grid-lines { position: absolute; inset: 8px 0 0 0; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; }
.grid-lines span { border-top: 1px dashed #E8ECE7; font-size: 10px; color: var(--muted); }
.legend { display: flex; gap: 14px; font-size: 12px; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.tip { position: fixed; z-index: 90; background: var(--ink); color: #fff; border-radius: 8px; padding: 8px 10px; font-size: 12px; pointer-events: none; box-shadow: var(--sh-4); }

/* phone notification preview */
.lock { background: linear-gradient(160deg, #20402C, #0F2A1B 70%); border-radius: 32px; padding: 22px 14px 28px; color: #fff; max-width: 360px; margin: 0 auto; border: 8px solid #141814; }
.lock .clock { text-align: center; font-size: 56px; font-weight: 300; letter-spacing: -.02em; line-height: 1; }
.lock .date { text-align: center; font-size: 13px; opacity: .8; margin: 6px 0 18px; }
.notif { background: rgba(255,255,255,.92); color: var(--ink); border-radius: 18px; padding: 10px 12px; display: flex; gap: 10px; align-items: flex-start; }
.notif + .notif { margin-top: 8px; }
.notif img { width: 34px; height: 34px; border-radius: 8px; flex-shrink: 0; }
.notif .t { font-weight: 700; font-size: 13px; }
.notif .m { font-size: 12.5px; color: #33403A; }
.notif .w { font-size: 11px; color: var(--muted); margin-left: auto; white-space: nowrap; }
.pop { animation: pop .35s ease-out; }
@keyframes pop { from { transform: translateY(-10px) scale(.97); opacity: 0; } }

/* home-page banner slider */
.slider { position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--green-dark); height: 400px; }
@media (min-width: 640px) { .slider { height: 360px; } }
@media (min-width: 1024px) { .slider { height: auto; aspect-ratio: 1600 / 600; } }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; display: flex; align-items: flex-end; color: #fff; pointer-events: none; }
.slide.on { opacity: 1; pointer-events: auto; }
.slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 80% center; }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.35) 45%, rgba(0,0,0,0) 75%); }
.slide .txt { position: relative; z-index: 1; padding: 20px 20px 46px; max-width: 600px; }
.slide h2 { font-size: 26px; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.slide p { opacity: .94; margin: 8px 0 14px; font-size: 14px; }
@media (min-width: 1024px) {
  .slide { align-items: center; }
  .slide::after { background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.28) 42%, rgba(0,0,0,0) 62%); }
  .slide .txt { padding: 48px 56px; }
  .slide h2 { font-size: 42px; }
  .slide p { font-size: 16px; }
}
.slider .dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; z-index: 2; }
.slider .dots button { width: 8px; height: 8px; border-radius: 4px; border: 0; padding: 0; background: rgba(255,255,255,.5); transition: width .3s, background .3s; }
.slider .dots button.on { width: 24px; background: #fff; }
.slider .arr { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.88); color: var(--ink); display: none; place-items: center; box-shadow: var(--sh-2); }
.slider .arr.prev { left: 16px; } .slider .arr.next { right: 16px; }
@media (min-width: 1024px) { .slider .arr { display: grid; } }

/* WhatsApp chat button (customer pages) */
.wa-fab { position: fixed; right: 16px; bottom: calc(var(--nav-h) + 84px + env(safe-area-inset-bottom)); z-index: 46; width: 54px; height: 54px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: var(--sh-4); }
.wa-fab:hover { background: #1EBE5A; }
@media (min-width: 1024px) { .wa-fab { right: 32px; bottom: 104px; } }
.btn-wa { background: #25D366; color: #fff; }
.btn-wa:hover { background: #1EBE5A; }
.btn-wa svg { width: 18px; height: 18px; }

/* toast */
.toast { position: fixed; left: 50%; bottom: calc(var(--nav-h) + 96px); transform: translateX(-50%) translateY(20px); background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r); font-weight: 600; font-size: 13px; box-shadow: var(--sh-4); opacity: 0; transition: .2s; z-index: 100; pointer-events: none; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
@media (min-width: 1024px) { .toast { bottom: 32px; } }

/* bottom sheet / modal */
.sheet-bg { position: fixed; inset: 0; background: rgba(20, 28, 20, .45); z-index: 80; opacity: 0; transition: opacity .2s; }
.sheet-bg.show { opacity: 1; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 81; background: #fff; border-radius: var(--r-xl) var(--r-xl) 0 0; max-height: 90vh; overflow: auto; padding: 8px 20px calc(24px + env(safe-area-inset-bottom)); transform: translateY(100%); transition: transform .22s; }
.sheet.show { transform: translateY(0); }
.sheet .grab { width: 40px; height: 4px; border-radius: 2px; background: var(--line); margin: 4px auto 8px; }
.sheet-x { position: absolute; top: 10px; right: 10px; }
.sheet-body { padding-top: 8px; }
@media (min-width: 1024px) {
  .sheet { left: 50%; right: auto; bottom: auto; top: 50%; width: 460px; border-radius: var(--r-xl); padding: 28px; transform: translate(-50%, -46%); opacity: 0; transition: .2s; }
  .sheet.show { transform: translate(-50%, -50%); opacity: 1; }
  .sheet .grab { display: none; }
}

/* footer (web) */
.foot { display: none; }
@media (min-width: 1024px) {
  .foot { display: block; background: #fff; border-top: 1px solid var(--line); padding: 36px 0 28px; margin-top: 32px; color: var(--muted); font-size: 13px; }
  .foot .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 24px; }
  .foot h4 { color: var(--ink); font-size: 13px; margin-bottom: 8px; }
  .foot a { display: block; padding: 3px 0; }
  .foot a:hover { color: var(--green); }
}
.soc { width: 34px; height: 34px; border-radius: 50%; background: var(--mint); color: var(--green); display: grid; place-items: center; }

.empty { text-align: center; padding: 48px 16px; }
.empty .ico { width: 88px; height: 88px; border-radius: 50%; background: var(--mint); color: var(--green); display: grid; place-items: center; margin: 0 auto 16px; }
.empty .ico .ms { font-size: 44px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
:focus-visible { outline: 2px solid var(--leaf); outline-offset: 2px; }

/* ---------- Tap feel (owner, 9 Nov: "click experience needs to be enhanced") ---------- */
html { -webkit-tap-highlight-color: transparent; }
a, button, select, label, .pcard, .click, .tog, [data-act] { touch-action: manipulation; }
.btn, .icon-btn, .add, .stepper button, .tog, .seg button, .bnav a, .hdr-links a, .pcard, .click, .chip, .lrow { transition: transform .08s ease, background-color .15s, box-shadow .15s, opacity .15s; }
.btn:active, .btn.pressed, .icon-btn:active, .icon-btn.pressed, .add:active, .add.pressed, .stepper button:active, .seg button:active, .bnav a:active, .bnav a.pressed, .chip:active { transform: scale(.95); }
.pcard.pressed, .click.pressed, .card.click:active { transform: scale(.985); }
.btn:active, .btn.pressed { filter: brightness(.94); }
tr.click:active td, tr.click.pressed td { background: var(--mint); }
.btn.busy { pointer-events: none; opacity: .7; }
.btn.busy::after { content: ""; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
/* thin bar at the top while the next page opens */
#navBar { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--leaf, #2E9E5B); z-index: 10000; opacity: 0; pointer-events: none; }
#navBar.go { opacity: 1; animation: navgo 2.5s cubic-bezier(.1,.7,.2,1) forwards; }
@keyframes navgo { from { width: 0; } 30% { width: 55%; } to { width: 92%; } }
/* "new version ready" bar */
.upd-bar { position: fixed; left: 50%; bottom: 84px; transform: translateX(-50%); z-index: 9997; background: #14301F; color: #fff; border-radius: 14px; padding: 8px 8px 8px 14px; display: flex; gap: 10px; align-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.25); width: max-content; max-width: calc(100% - 24px); font-size: 14px; }
@media (prefers-reduced-motion: reduce) { .btn, .pcard, .click { transition: none; } #navBar.go { animation: none; width: 80%; } }

/* ---------- Order status buttons in Admin → Orders ---------- */
.stbtns { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.stbtns button { border: 0; background: none; padding: 6px 9px; font-size: 12px; font-weight: 700; color: var(--muted); display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.stbtns button + button { border-left: 1px solid var(--line); }
.stbtns button.on { background: var(--green); color: #fff; }
.stbtns button.done { color: var(--green); }
.stbtns button:active { background: var(--mint); }
.bulkbar { position: sticky; top: 0; z-index: 5; }
.qtyed { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.qtyed button { border: 0; background: var(--mint); color: var(--green); width: 32px; height: 32px; display: grid; place-items: center; }
.qtyed span { min-width: 34px; text-align: center; font-weight: 700; }
.line-x { opacity: .45; text-decoration: line-through; }

/* ---------- Floating calculator button ---------- */

/* ---------- Pack savings ---------- */
.perkg { font-size: 11px; color: var(--muted); font-weight: 600; }
.save-tag { display: inline-block; font-size: 11px; font-weight: 700; color: #0B6B32; background: #E3F6EA; border-radius: 6px; padding: 1px 6px; margin-top: 2px; }

/* ---------- Health & dashboard ---------- */
.hc { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: start; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.hc:last-child { border-bottom: 0; }
.hc .dot { width: 12px; height: 12px; border-radius: 50%; margin-top: 4px; }
.hc.ok .dot { background: #1F9D55; } .hc.warn .dot { background: #E0A100; } .hc.bad .dot { background: #D93B3B; } .hc.info .dot { background: #8AA095; }
.attn { display: block; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px; background: #fff; }
.attn.hot { background: #FFF7E6; border-color: #F5D38A; }
.attn .n { font-size: 28px; font-weight: 800; line-height: 1.1; }
.bars { display: flex; align-items: flex-end; gap: 4px; height: 110px; padding-top: 8px; }
.bars .b { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; min-width: 0; }
.bars .b i { display: block; width: 100%; max-width: 26px; background: var(--leaf, #2E9E5B); border-radius: 4px 4px 0 0; min-height: 2px; }
.bars .b span { font-size: 10px; color: var(--muted); margin-top: 4px; white-space: nowrap; }
.sysbanner { border-radius: var(--r-lg); padding: 12px 14px; display: flex; gap: 10px; align-items: center; font-weight: 700; }
.sysbanner.ok { background: #E7F7EE; color: #0B6B32; } .sysbanner.warn { background: #FFF4DB; color: #8A5A00; } .sysbanner.bad { background: #FDE8E8; color: #A61B1B; }

/* ---------- Invoice on phones ---------- */
@media (max-width: 600px) {
  .inv { padding: 14px !important; border-radius: 12px !important; }
  .inv .inv-head { flex-direction: column; gap: 10px !important; }
  .inv .inv-head > div:last-child { text-align: left !important; }
  .inv .grid.g2 { grid-template-columns: 1fr !important; gap: 10px !important; }
  .inv .tbl th, .inv .tbl td { padding: 8px 6px; font-size: 13px; }
  .inv .tbl .hide-sm { display: none; }
  .inv .tbl { table-layout: auto; }
  .inv .tbl-wrap { overflow: visible; }
}

/* ---------- Product card v2 (owner, 9 Nov: cleaner price layout) ---------- */
.pcard .pbox { margin-top: auto; display: flex; flex-direction: column; gap: 3px; min-height: 42px; }
.pcard .p-row { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.pcard .p-row .price { font-size: 18px; font-weight: 800; color: var(--ink); }
.pcard .p-row .mrp { font-size: 12.5px; }
.pk-line { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 11.5px; color: var(--muted); font-weight: 600; line-height: 1.5; }
.pk-save { color: #0B6B32; background: #E3F6EA; border-radius: 5px; padding: 0 6px; font-weight: 700; }
.pcard .pact .add, .pcard .pact .stepper { width: 100%; height: 38px; }
.pcard .pact .add { background: var(--green); color: #fff; }
.pcard .pact .add:hover { background: var(--green-dark); }
.pcard .pact .add[disabled] { background: var(--canvas); color: var(--muted); }
.pcard .packsel select { font-size: 12.5px; }

/* ---------- More menu ---------- */
.more-dd { position: relative; }
.more-dd > button { border: 0; background: none; padding: 6px 12px; border-radius: 999px; font-weight: 500; color: var(--muted); display: inline-flex; align-items: center; gap: 2px; font-size: inherit; }
.more-dd > button:hover, .more-dd > button.on, .more-dd:focus-within > button { background: var(--mint); color: var(--green); }
.more-dd .dd { display: none; position: absolute; top: calc(100% + 4px); left: 0; z-index: 60; min-width: 230px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--sh-3); padding: 6px; }
.more-dd:hover .dd, .more-dd:focus-within .dd { display: block; }
.more-dd .dd a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; color: var(--ink); font-weight: 500; }
.more-dd .dd a:hover { background: var(--mint); color: var(--green); }
.more-dd .dd::before { content: ""; position: absolute; left: 0; right: 0; top: -6px; height: 6px; }
.more-list { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.more-list a { display: flex; align-items: center; gap: 12px; padding: 13px 14px; color: var(--ink); background: #fff; }
.more-list a + a { border-top: 1px solid var(--line); }
.more-list a:active { background: var(--mint); }
.more-list b { display: block; font-weight: 600; font-size: 15px; }

/* phones: the bigger logo needs the room — language switch lives in the More menu there */
@media (max-width: 640px) { .hdr-top > .lang { display: none; } .loc-btn { min-width: 0; } }

/* ---------- Admin on phones: sliding menu + ☰ full menu ---------- */
@media (max-width: 1023px) { .adm { grid-template-columns: minmax(0, 1fr); } }
.adm-mnav { -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; touch-action: pan-x pan-y; scroll-snap-type: x proximity; }
.adm-mnav a { scroll-snap-align: start; touch-action: pan-x pan-y; }
.adm-mnav::-webkit-scrollbar { display: none; }
.adm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.adm-grid a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 12px 6px; border: 1px solid var(--line); border-radius: 14px; font-size: 12.5px; font-weight: 600; color: var(--ink); min-height: 78px; }
.adm-grid a .ms { color: var(--green); }
.adm-grid a.on { background: var(--green); color: #fff; border-color: var(--green); }
.adm-grid a.on .ms { color: #fff; }
.adm-grid a:active { background: var(--mint); }
.adm-top .lang button { padding: 4px 8px; }
@media (min-width: 1024px) { .adm-top .grow > div { display: block !important; } }

/* ---------- Layout fixes (owner, 12 Nov 2026: "app layout needs to be improved") ---------- */
/* grid items may shrink: wide tables and chip rows scroll inside their card instead of widening the page */
.grid > *, .split > * { min-width: 0; }
/* My orders: items as a clean list, buttons on their own row */
.o-items { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; background: var(--canvas); border-radius: 12px; font-size: 14px; }
.o-item { display: flex; align-items: baseline; gap: 10px; }
.o-item .grow { min-width: 0; }
.o-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.o-acts .btn { flex: 1 1 auto; justify-content: center; }
/* phones: the WhatsApp button would cover "Add" buttons when the cart bar is showing */
@media (max-width: 1023px) { body:has(.bbar) .wa-fab { display: none; } }
/* help page contact cards: numbers and email never break in the middle */
.toolbar, .chips { min-width: 0; max-width: 100%; }
@media (max-width: 600px) { .sum-tbl { min-width: 0; } .sum-tbl .hide-sm { display: none; } .sum-tbl th, .sum-tbl td { padding: 9px 8px; } }
.o-tot { border-top: 1px dashed var(--line); margin-top: 4px; padding-top: 8px; display: flex; flex-direction: column; gap: 4px; }
.o-grand { font-size: 16px; font-weight: 800; color: var(--ink); }
/* ---------- Footer on every screen + "Get the app" buttons (owner, 13 Nov 2026) ---------- */
.foot { display: block; background: #fff; border-top: 1px solid var(--line); padding: 28px 0 calc(150px + env(safe-area-inset-bottom)); margin-top: 28px; color: var(--muted); font-size: 13px; }
.foot .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.foot .cols > div:first-child { grid-column: 1 / -1; }
.foot h4 { color: var(--ink); font-size: 13px; margin-bottom: 8px; }
.foot a { display: block; padding: 4px 0; }
.foot-app { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 22px; padding: 16px; border-radius: 16px; background: #F1FAF4; border: 1px solid #BFE6CF; }
.foot-app h4 { margin-bottom: 2px; }
.app-badge { display: inline-flex; align-items: center; gap: 10px; min-width: 150px; padding: 8px 16px 8px 12px; border-radius: 12px; background: #111; color: #fff; border: 1px solid #111; cursor: pointer; text-align: left; font: inherit; }
.app-badge .ms { font-size: 30px; color: #fff; }
.app-badge small { display: block; font-size: 10px; opacity: .85; line-height: 1.2; }
.app-badge b { display: block; font-size: 17px; line-height: 1.2; }
.app-badge:hover { background: #2a2a2a; }
@media (min-width: 1024px) {
  .foot { padding: 36px 0 28px; margin-top: 32px; }
  .foot .cols { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 24px; }
  .foot .cols > div:first-child { grid-column: auto; }
}
@media (max-width: 1023px) { .page:has(+ .foot) { padding-bottom: 8px; } }
.foot a.soc { display: grid; padding: 0; }
.foot a.soc:hover { background: var(--green); color: #fff; }
/* footer social links: name on the button so every customer knows what it opens (owner, 14 Nov 2026) */
.foot a.soc-pill { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px 7px 10px; border-radius: 999px; color: #fff; font-weight: 600; font-size: 13px; }
.foot a.soc-pill svg { width: 16px; height: 16px; fill: currentColor; }
.soc-instagram { background: linear-gradient(45deg, #F58529, #DD2A7B 55%, #8134AF); }
.soc-facebook { background: #1877F2; }
.soc-whatsapp { background: #25D366; }
.soc-youtube { background: #FF0000; }
.foot a.soc-pill:hover { filter: brightness(1.08); color: #fff; }
/* ---------- Admin → Products & prices: one card per item (owner, 15 Nov 2026) ---------- */
.inv-list { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 1024px) { .inv-list { grid-template-columns: 1fr 1fr; } }
.inv-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.inv-card.is-hidden { opacity: .6; }
.inv-head { display: flex; align-items: center; gap: 10px; }
.inv-head img { width: 44px; height: 44px; border-radius: 10px; object-fit: contain; border: 1px solid var(--line); background: #fff; display: block; }
.inv-name { font-size: 15px; line-height: 1.25; }
.inv-name .gu { font-weight: 400; font-size: 13px; }
.inv-head .icon-btn { width: 34px; height: 34px; flex-shrink: 0; }
.inv-prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 600px) { .inv-prices { grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); } }
.inv-pr { display: flex; flex-direction: column; gap: 3px; min-width: 0; padding: 6px; border-radius: 10px; background: var(--canvas); }
.inv-pr.base { background: #EAF6EF; }
.inv-pk { font-size: 12px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.inv-pk b { font-size: 10px; text-transform: uppercase; letter-spacing: .03em; }
.inv-in { display: flex; align-items: center; gap: 2px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 0 8px; height: 40px; }
.inv-in:focus-within { border-color: var(--green); box-shadow: 0 0 0 2px rgba(23,107,58,.15); }
.inv-in span { color: var(--muted); font-size: 14px; }
.inv-in input { flex: 1; min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; font: inherit; font-size: 16px; font-weight: 700; color: var(--ink); text-align: right; padding: 0; }
.inv-rate { font-size: 11px; color: var(--muted); min-height: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inv-savebar { position: fixed; left: 12px; right: 12px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 10px 10px 14px; border-radius: 14px; background: var(--green); color: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.18); font-weight: 600; font-size: 14px; }
.inv-savebar[hidden] { display: none; }
.inv-savebar span { display: flex; align-items: center; gap: 6px; }
.inv-savebar .btn { background: #fff; color: var(--green); border: 0; }
@media (min-width: 1024px) { .inv-savebar { left: auto; right: 24px; width: 380px; } }
.inv-out { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); padding: 6px 10px; border-radius: 10px; background: var(--canvas); cursor: pointer; }
.inv-out.on { background: #FEF3F2; color: #B42318; font-weight: 600; }
.inv-out input { width: 18px; height: 18px; accent-color: #B42318; }
