:root {
  /* Type scale (sizes / line heights). Web sizes; phones switch below. */
  --fs-h1: 48px; --lh-h1: 56px; --fs-h2: 28px; --lh-h2: 36px; --fs-h3: 24px; --lh-h3: 32px; --fs-h4: 20px; --lh-h4: 28px;
  --fs-b1: 16px; --lh-b1: 24px; --fs-b2: 14px; --lh-b2: 20px; --fs-b3: 12px; --lh-b3: 16px; --fs-b4: 10px; --lh-b4: 12px;
}
@media (max-width: 760px) {
  :root { --fs-h1: 28px; --lh-h1: 36px; --fs-h2: 24px; --lh-h2: 32px; --fs-h3: 20px; --lh-h3: 28px; --fs-h4: 20px; --lh-h4: 28px; }
}
@font-face { font-family: 'Inter'; src: url('../fonts/inter-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../fonts/inter-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../fonts/inter-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../fonts/inter-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Cormorant'; src: url('../fonts/cormorant-garamond-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Cormorant'; src: url('../fonts/cormorant-garamond-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Cormorant'; src: url('../fonts/cormorant-garamond-latin-500-italic.woff2') format('woff2'); font-weight: 500; font-style: italic; font-display: swap; }

:root {
  --ink: var(--w40, #241b1e);
  --ink-2: var(--w41, #5b4f52);
  --ink-3: var(--w42, #8f8386);
  --line: var(--w43, #ebe2da);
  --bg: var(--w44, #faf6f1);
  --card: var(--w45, #ffffff);
  --brand: var(--w46, #2b2024);
  --brand-2: var(--w47, #3d2e33);
  --rose: var(--w48, #a95d69);
  --rose-soft: var(--w49, #f6e6e6);
  --gold: var(--w50, #b88a5a);
  --ok: #3f7d5c;
  --ok-soft: #e5f1ea;
  --warn: #a8672a;
  --warn-soft: #fbefe2;
  --err: #b4423f;
  --shelf-wall-1: var(--w51, #fbf8f4);
  --shelf-wall-2: var(--w52, #f3ece5);
  --ledge-top: var(--w53, #efe2d8);
  --ledge-front: var(--w54, #e2cfc2);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-1: 0 1px 2px var(--w0, rgba(43, 32, 36, .06)), 0 2px 8px var(--w1, rgba(43, 32, 36, .05));
  --shadow-2: 0 10px 30px var(--w2, rgba(43, 32, 36, .12)), 0 2px 6px var(--w0, rgba(43, 32, 36, .06));
  --serif: 'Cormorant', 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --pad: clamp(16px, 3vw, 32px);
  --header-h: 120px;
  --card-w: 168px;
}

* { box-sizing: border-box; }
html:root {
  --w0: rgba(37, 42, 40, .06);
  --w1: rgba(37, 42, 40, .05);
  --w2: rgba(37, 42, 40, .12);
  --w3: rgba(250, 247, 242, .92);
  --w4: rgba(185, 120, 112, .1);
  --w5: rgba(250, 247, 242, .85);
  --w6: rgba(37, 42, 40, .16);
  --w7: rgba(37, 42, 40, 0);
  --w8: rgba(37, 42, 40, .08);
  --w9: rgba(37, 42, 40, .18);
  --w10: rgba(250, 247, 242, .4);
  --w11: rgba(37, 42, 40, .32);
  --w12: rgba(37, 42, 40, .12);
  --w13: rgba(37, 42, 40, .16);
  --w14: rgba(37, 42, 40, 0);
  --w15: rgba(37, 42, 40, .3);
  --w16: rgba(37, 42, 40, .45);
  --w17: rgba(37, 42, 40, .25);
  --w18: rgba(37, 42, 40, .38);
  --w19: rgba(250, 247, 242, .9);
  --w20: rgba(37, 42, 40, .12);
  --w21: rgba(250, 247, 242, .12);
  --w22: rgba(250, 247, 242, .9);
  --w23: rgba(37, 42, 40, .1);
  --w24: rgba(250, 247, 242, .94);
  --w25: rgba(250, 247, 242, .96);
  --w26: rgba(37, 42, 40, .35);
  --w27: rgba(37, 42, 40, .14);
  --w28: rgba(250, 247, 242, .3);
  --w29: rgba(37, 42, 40, .08);
  --w30: rgba(37, 42, 40, .15);
  --w31: rgba(37, 42, 40, .25);
  --w32: rgba(243, 240, 235, .96);
  --w33: rgba(250, 247, 242, .92);
  --w34: rgba(37, 42, 40, .45);
  --w35: rgba(37, 42, 40, .2);
  --w36: rgba(37, 42, 40, .1);
  --w37: rgba(37, 42, 40, .18);
  --w38: rgba(37, 42, 40, .22);
  --w39: rgba(250, 247, 242, 1);
  --w40: #252A28;
  --w41: #4F5350;
  --w42: #858683;
  --w43: #E5E3DF;
  --w44: #F9F6F1;
  --w45: #FAF7F2;
  --w46: #252A28;
  --w47: #2E3331;
  --w48: #B97870;
  --w49: #F2E8E2;
  --w50: #D49A35;
  --w51: #FAF7F2;
  --w52: #EFEDE8;
  --w53: #E6E4DF;
  --w54: #D4D2CE;
  --w55: #FAF7F2;
  --w56: #EBE9E4;
  --w57: #C8C7C2;
  --w58: #EEECE7;
  --w59: #F4F2ED;
  --w60: #E3E1DC;
  --w61: #C4C3BF;
  --w62: #F1EEE9;
  --w63: #BFBEBA;
  --w64: #ECE9E4;
  --w65: #EDEAE5;
  --w66: #F6F4EF;
  --w67: #BEBEBA;
  --w68: #F2EFEA;
  --w69: #F3F0EB;
  --w70: #BBBAB6;
  --w71: #CAC9C5;
  --w72: #E5C48A;
  --w73: #E1DFDA;
  --w74: #C3C2BD;
  --w75: #9C9D99;
  --w76: #EFECE7;
  --w77: #DCDAD6;
  --w78: #D1D0CB;
  --w79: #DEDCD7;
  --w80: #EAE7E3;
  --w81: #BFBEBA;
  --w82: #B0B0AC;
  --w83: #DFDDD8;
  --w84: #E8E6E1;
  --w85: #898B87;
  --w86: #EEECE7;
  --w87: #EFEDE8;
  --w88: #ECEAE5;
  --w89: #F4F1EC;
  --w90: #F3F0EB;
  --w91: #CFCEC9;
  --w92: #D49A35;
  --w93: #F6F3EE;
  --w94: #F0EEE9;
  --w95: #F3F0EB;
  --w96: #F2EFEB;
  --w97: #C9C8C3;
  --w98: #D0A49E;
  --w99: #EDEBE6;
  --w100: #B97870;
  --w101: #F9F6F1;
  --w102: #F8F2ED;
  --w103: #252A28;
  --w104: #C8C7C3;
  --w105: #F5F2ED;
  --w106: #EBE8E4;
  --w107: #E2E0DB;

  /* Beaute colour identity (desktop + mobile web). 6 colours: Lake Kagera Teal #155B56 (primary, Bukoba),
     Skin Clay Rose #B97870 (secondary, beauty), Harvest Amber #D49A35 (signature accent, the hustle),
     Warm Ivory #FAF7F2, Ink Charcoal #252A28, Stone Grey #68716E. Tints below are mixes of these six. */
  --ink: #252A28; --ink-2: #4B4F4C; --ink-3: #68716E;
  --bg: #FAF7F2; --card: #FAF7F2; --line: #E0DEDA;
  --brand: #155B56; --brand-2: #1B4A46;
  --rose: #B97870; --rose-soft: #F0E4DE; --gold: #D49A35;
  --shelf-wall-1: #FAF7F2; --shelf-wall-2: #F5EEE9;
  --ledge-top: #EAD7D2; --ledge-front: #E0C4BE;
  --shadow-1: 0 1px 2px rgba(37, 42, 40, .06), 0 2px 8px rgba(37, 42, 40, .05);
  --shadow-2: 0 10px 30px rgba(37, 42, 40, .12), 0 2px 6px rgba(37, 42, 40, .06);
}
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--bg); font-size: var(--fs-b2); line-height: var(--lh-b2); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brand); color: var(--w55, #fff); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 2px; }
[hidden] { display: none !important; }

/* ---------- Announcement ---------- */
.announce { background: var(--brand); color: var(--w56, #f3e7e0); font-size: var(--fs-b3); line-height: var(--lh-b3); letter-spacing: .02em; text-align: center; padding: 7px var(--pad); }
.announce:empty { display: none; }
.announce b { color: var(--w55, #fff); font-weight: 600; }

/* ---------- Header ---------- */
.top { position: sticky; top: 0; z-index: 30; background: var(--w3, rgba(250, 246, 241, .92)); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.top-inner { display: flex; align-items: center; gap: 18px; padding: 12px var(--pad); max-width: 1480px; margin: 0 auto; }
.brand { text-decoration: none; display: flex; align-items: center; gap: 10px; padding-right: 18px; border-right: 1px solid var(--line); flex: none; }
.brand img { height: 34px; width: auto; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: var(--fs-h2); line-height: var(--lh-h2); letter-spacing: .01em; white-space: nowrap; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; transition: background .15s; }
.icon-btn:hover { background: var(--w0, rgba(43, 32, 36, .06)); }
.menu-btn { display: none; }

.search { position: relative; flex: 1; max-width: 640px; }
.search input { width: 100%; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--w55, #fff); padding: 0 44px 0 46px; font-size: var(--fs-b2); line-height: var(--lh-b2); outline: none; transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; }
.search input::-webkit-search-cancel-button { display: none; }
.search input:focus { border-color: var(--w57, #d7c3b6); box-shadow: 0 0 0 4px var(--w4, rgba(169, 93, 105, .1)); }
.search-ico { position: absolute; left: 16px; top: 12px; color: var(--ink-2); }
.search-clear { position: absolute; right: 8px; top: 7px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--w58, #f2ebe5); color: var(--ink-2); }
.search-clear svg { width: 14px; height: 14px; }
.suggest { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: var(--w55, #fff); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-2); padding: 14px; z-index: 40; }
.suggest h4 { margin: 0 0 8px; font-size: var(--fs-b3); line-height: var(--lh-b3); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.suggest h4:not(:first-child) { margin-top: 14px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1px solid var(--line); background: var(--w55, #fff); border-radius: 999px; padding: 6px 12px; font-size: var(--fs-b2); line-height: var(--lh-b2); color: var(--ink-2); transition: all .15s; white-space: nowrap; text-decoration: none; }
.chip:hover { border-color: var(--w57, #d7c3b6); color: var(--ink); }
.chip.on { background: var(--brand); border-color: var(--brand); color: var(--w55, #fff); }
.sugg-item { display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: 10px; width: 100%; text-align: left; }
.sugg-item:hover, .sugg-item.active { background: var(--w59, #f7f1ec); }
.sugg-item img { width: 34px; height: 40px; object-fit: contain; }
.sugg-item small { display: block; color: var(--ink-3); font-size: var(--fs-b3); line-height: var(--lh-b3); }

.cart-pill { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 6px 0 18px; border-radius: 999px; background: var(--brand); color: var(--w55, #fff); margin-left: auto; flex: none; transition: transform .15s, background .15s; box-shadow: var(--shadow-1); }
.cart-pill:hover { background: var(--brand-2); }
.cart-pill.bump { animation: bump .35s ease; }
.cart-pill-label { font-size: var(--fs-b3); line-height: var(--lh-b3); opacity: .75; }
.cart-pill-total { font-weight: 600; font-variant-numeric: tabular-nums; font-size: var(--fs-b2); line-height: var(--lh-b2); }
.cart-pill-count { min-width: 32px; height: 32px; border-radius: 999px; background: var(--w55, #fff); color: var(--brand); font-weight: 700; font-size: var(--fs-b2); line-height: var(--lh-b2); display: grid; place-items: center; padding: 0 8px; }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.07); } 100% { transform: scale(1); } }

.cats { display: flex; gap: 6px; overflow-x: auto; padding: 0 var(--pad) 10px; max-width: 1480px; margin: 0 auto; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.cats a { text-decoration: none; font-size: var(--fs-b2); line-height: var(--lh-b2); padding: 7px 14px; border-radius: 999px; color: var(--ink-2); white-space: nowrap; transition: background .15s, color .15s; }
.cats a:hover { background: var(--w1, rgba(43, 32, 36, .05)); color: var(--ink); }
.cats a.on { background: var(--w55, #fff); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); font-weight: 500; }
.cats .sep { width: 1px; background: var(--line); margin: 6px 4px; flex: none; }

/* ---------- Page ---------- */
main { min-height: 60vh; outline: none; padding-bottom: calc(var(--bw) * .25 + var(--bw) * .24 + 24px); }
.page-head { max-width: 1480px; margin: 0 auto; padding: 28px var(--pad) 6px; }
.crumbs { font-size: var(--fs-b3); line-height: var(--lh-b3); color: var(--ink-3); margin-bottom: 6px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.page-head h1 { font-family: var(--serif); font-weight: 600; font-size: var(--fs-h1); line-height: var(--lh-h1); margin: 0; letter-spacing: -.005em; }
.page-head p { color: var(--ink-2); margin: 8px 0 0; max-width: 60ch; }
.sub-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 16px; }

.group-title { max-width: 1480px; margin: 0 auto; padding: 34px var(--pad) 0; display: flex; align-items: baseline; gap: 14px; }
.group-title h2 { font-family: var(--serif); font-weight: 600; font-size: var(--fs-h2); line-height: var(--lh-h2); margin: 0; }
.group-title a { font-size: var(--fs-b2); line-height: var(--lh-b2); color: var(--ink-2); text-decoration: none; border-bottom: 1px solid currentColor; }

/* ---------- Shelves ---------- */
.shelf { position: relative; background: linear-gradient(180deg, var(--shelf-wall-1), var(--shelf-wall-2)); border-bottom: 1px solid var(--w60, #eadfd5); }
.shelf-in { max-width: 1480px; margin: 0 auto; position: relative; }
.shelf-head { display: flex; align-items: baseline; gap: 10px; padding: 22px var(--pad) 0; }
.shelf-head h3 { margin: 0; font-size: var(--fs-b3); line-height: var(--lh-b3); letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--ink); }
.shelf-head .count { font-size: var(--fs-b3); line-height: var(--lh-b3); color: var(--ink-3); }
.shelf-head a.more { margin-left: auto; font-size: var(--fs-b3); line-height: var(--lh-b3); color: var(--ink-2); text-decoration: none; }
.shelf-head a.more:hover { color: var(--ink); text-decoration: underline; }
.shelf-track { --stand-h: 190px; --ledge-y: calc(var(--stand-h) + 8px); display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; padding: 8px var(--pad) 22px; scrollbar-width: none; scroll-padding: 0 var(--pad);
  background-image: linear-gradient(180deg, var(--w5, rgba(255,255,255,.85)) 0, var(--w5, rgba(255,255,255,.85)) 1px, var(--ledge-top) 1px, var(--ledge-top) 9px, var(--ledge-front) 9px, var(--w61, #d6bfaf) 18px), linear-gradient(180deg, var(--w6, rgba(80,50,40,.16)), var(--w7, rgba(80,50,40,0)));
  background-size: 100% 18px, 100% 12px; background-position: 0 var(--ledge-y), 0 calc(var(--ledge-y) + 18px); background-repeat: no-repeat; }
.shelf-track::-webkit-scrollbar { display: none; }
.shelf-rows .shelf-track { overflow: visible; }
.shelf-arrow { position: absolute; top: 46%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; background: var(--w55, #fff); box-shadow: var(--shadow-2); display: grid; place-items: center; z-index: 3; opacity: 0; transition: opacity .2s; }
.shelf:hover .shelf-arrow:not([disabled]) { opacity: 1; }
.shelf-arrow[disabled] { display: none; }
.shelf-arrow.l { left: 10px; } .shelf-arrow.r { right: 10px; }

/* product card = item standing on shelf (top part) + info under ledge */
.item { width: var(--card-w); flex: none; scroll-snap-align: start; display: flex; flex-direction: column; }
.item-stand { position: relative; height: var(--stand-h); display: flex; align-items: flex-end; justify-content: center; cursor: pointer; }
.item-stand img { max-height: 180px; max-width: 86%; object-fit: contain; object-position: bottom; transition: transform .25s ease; filter: drop-shadow(0 6px 6px var(--w8, rgba(60, 40, 30, .08))); }
.item-stand:hover img { transform: translateY(-4px); }
.item.oos .item-stand img { filter: grayscale(.9) opacity(.55); }
.badge { position: absolute; top: 10px; left: 8px; font-size: var(--fs-b3); line-height: var(--lh-b3); font-weight: 700; padding: 3px 8px; border-radius: 999px; letter-spacing: .02em; z-index: 1; }
.badge.sale { background: var(--rose); color: var(--w55, #fff); }
.badge.new { background: var(--w55, #fff); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.badge.oos { background: var(--w55, #fff); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.badge.low { background: var(--warn-soft); color: var(--warn); }

.add { position: absolute; right: 8px; bottom: 6px; z-index: 2; }
.add-btn { width: 34px; height: 34px; border-radius: 50%; background: var(--w55, #fff); box-shadow: 0 2px 8px var(--w9, rgba(43, 32, 36, .18)); display: grid; place-items: center; color: var(--ink); transition: transform .15s, background .15s; }
.add-btn:hover { transform: scale(1.08); background: var(--brand); color: var(--w55, #fff); }
.add-btn svg { width: 18px; height: 18px; stroke-width: 2.2; }
.qty { display: inline-flex; align-items: center; height: 34px; border-radius: 999px; background: var(--w55, #fff); box-shadow: 0 2px 8px var(--w9, rgba(43, 32, 36, .18)); animation: grow .18s ease; }
.qty button { width: 32px; height: 34px; display: grid; place-items: center; border-radius: 999px; color: var(--ink); }
.qty button:hover { background: var(--w62, #f4ede7); }
.qty button:disabled { opacity: .3; cursor: not-allowed; }
.qty button svg { width: 15px; height: 15px; stroke-width: 2.4; }
.qty span { min-width: 22px; text-align: center; font-weight: 600; font-size: var(--fs-b2); line-height: var(--lh-b2); font-variant-numeric: tabular-nums; }
@keyframes grow { from { transform: scale(.7); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.info { padding: 26px 4px 0; cursor: pointer; }
.pricerow { display: flex; align-items: center; gap: 6px; min-width: 0; }
.tag { display: inline-flex; flex: none; align-items: baseline; gap: 3px; background: var(--w55, #fff); border-radius: 6px; padding: 4px 8px; box-shadow: 0 1px 2px var(--w2, rgba(43, 32, 36, .12)); font-variant-numeric: tabular-nums; }
.tag small { font-size: var(--fs-b4); line-height: var(--lh-b4); font-weight: 600; color: var(--ink-2); }
.tag b { font-size: var(--fs-b1); line-height: var(--lh-b1); font-weight: 700; letter-spacing: -.01em; }
.was { font-size: var(--fs-b3); line-height: var(--lh-b3); color: var(--ink-3); text-decoration: line-through; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; font-variant-numeric: tabular-nums; }
.info .brandline { font-size: var(--fs-b4); line-height: var(--lh-b4); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-top: 9px; font-weight: 600; }
.info .name { font-size: var(--fs-b2); line-height: var(--lh-b2); margin-top: 2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 35px; }
.info .meta { font-size: var(--fs-b3); line-height: var(--lh-b3); color: var(--ink-3); margin-top: 3px; display: flex; gap: 6px; align-items: center; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); display: inline-block; }
.dot.low { background: var(--warn); } .dot.oos { background: var(--w63, #c7bcb8); }

/* ---------- Empty / loading / error ---------- */
.state { max-width: 560px; margin: 70px auto; text-align: center; padding: 0 var(--pad); }
.state h2 { font-family: var(--serif); font-weight: 600; font-size: var(--fs-h2); line-height: var(--lh-h2); margin: 14px 0 6px; }
.state p { color: var(--ink-2); margin: 0 0 18px; }
.state .ico { width: 64px; height: 64px; margin: 0 auto; border-radius: 50%; background: var(--w64, #f1e8e1); display: grid; place-items: center; color: var(--ink-2); }
.state .ico svg { width: 28px; height: 28px; }
.state .chip-row { justify-content: center; }
.skel-shelf { height: 330px; background: linear-gradient(180deg, var(--shelf-wall-1), var(--shelf-wall-2)); border-bottom: 1px solid var(--w60, #eadfd5); padding: 22px var(--pad); display: flex; gap: 10px; overflow: hidden; }
.skel { width: var(--card-w); flex: none; border-radius: 12px; background: linear-gradient(90deg, var(--w65, #f1e9e2) 0, var(--w66, #f8f3ef) 50%, var(--w65, #f1e9e2) 100%); background-size: 200% 100%; animation: shimmer 1.2s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.search-note { max-width: 1480px; margin: 0 auto; padding: 18px var(--pad) 0; color: var(--ink-2); font-size: var(--fs-b2); line-height: var(--lh-b2); }
.search-note b { color: var(--ink); }

/* ---------- Buttons & forms ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 600; font-size: var(--fs-b2); line-height: var(--lh-b2); background: var(--brand); color: var(--w55, #fff); transition: background .15s, transform .1s, opacity .15s; text-decoration: none; }
.btn:hover { background: var(--brand-2); }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.block { width: 100%; }
.btn.ghost { background: var(--w55, #fff); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1px var(--w67, #cdbab0); }
.btn.wa { background: #1f8f4e; } .btn.wa:hover { background: #1a7a42; }
.btn.sm { height: 38px; font-size: var(--fs-b2); line-height: var(--lh-b2); padding: 0 16px; }
.spinner { width: 18px; height: 18px; border: 2px solid var(--w10, rgba(255, 255, 255, .4)); border-top-color: var(--w55, #fff); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Drawer ---------- */
.scrim { position: fixed; inset: 0; background: var(--w11, rgba(36, 27, 30, .32)); z-index: 50; animation: fade .2s ease; }
@keyframes fade { from { opacity: 0; } }
.drawer, .menu { position: fixed; top: 0; bottom: 0; right: 0; width: min(420px, 100%); background: var(--w55, #fff); z-index: 60; display: flex; flex-direction: column; transform: translateX(105%); transition: transform .32s cubic-bezier(.2, .8, .2, 1); box-shadow: -10px 0 40px var(--w12, rgba(36, 27, 30, .12)); }
.menu { left: 0; right: auto; transform: translateX(-105%); }
.drawer.open, .menu.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 18px 12px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: var(--fs-h2); line-height: var(--lh-h2); }
.drawer-head h2 span { font-family: var(--sans); font-size: var(--fs-b2); line-height: var(--lh-b2); color: var(--ink-3); font-weight: 400; margin-left: 6px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 6px 22px; }
.line { display: grid; grid-template-columns: 54px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--w58, #f2ebe5); align-items: center; animation: fade .2s ease; }
.line img { width: 54px; height: 62px; object-fit: contain; background: var(--w44, #faf6f1); border-radius: 10px; padding: 4px; }
.line .t { font-size: var(--fs-b2); line-height: var(--lh-b2); font-weight: 500; }
.line .s { font-size: var(--fs-b3); line-height: var(--lh-b3); color: var(--ink-3); margin-top: 2px; }
.line .r { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.line .r b { font-size: var(--fs-b2); line-height: var(--lh-b2); font-variant-numeric: tabular-nums; }
.line .qty { box-shadow: inset 0 0 0 1px var(--line); height: 30px; animation: none; }
.line .qty button { height: 30px; width: 28px; }
.line .rm { font-size: var(--fs-b3); line-height: var(--lh-b3); color: var(--ink-3); text-decoration: underline; margin-top: 4px; }
.line .rm:hover { color: var(--err); }
.line .warn { font-size: var(--fs-b3); line-height: var(--lh-b3); color: var(--warn); margin-top: 3px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 16px 22px calc(18px + env(safe-area-inset-bottom)); background: var(--w55, #fff); }
.progress { margin-bottom: 14px; }
.progress p { margin: 0 0 7px; font-size: var(--fs-b2); line-height: var(--lh-b2); color: var(--ink-2); }
.progress p.ok { color: var(--ok); font-weight: 500; }
.bar { height: 6px; background: var(--w64, #f1e8e1); border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--rose)); border-radius: 99px; transition: width .4s ease; }
.bar.full i { background: var(--ok); }
.sum { display: grid; gap: 6px; font-size: var(--fs-b2); line-height: var(--lh-b2); margin-bottom: 14px; }
.sum div { display: flex; justify-content: space-between; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.sum .disc { color: var(--rose); }
.sum .total { color: var(--ink); font-weight: 700; font-size: var(--fs-b1); line-height: var(--lh-b1); padding-top: 6px; border-top: 1px solid var(--line); margin-top: 4px; }
.sum small { font-size: var(--fs-b3); line-height: var(--lh-b3); color: var(--ink-3); }
.menu-body { overflow-y: auto; padding: 10px 14px 30px; }
.menu-body h4 { margin: 18px 8px 6px; font-size: var(--fs-b3); line-height: var(--lh-b3); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.menu-body a { display: block; padding: 10px 8px; border-radius: 10px; text-decoration: none; font-size: var(--fs-b2); line-height: var(--lh-b2); }
.menu-body a:hover { background: var(--w59, #f7f1ec); }
.menu-body a.sub { padding-left: 22px; font-size: var(--fs-b2); line-height: var(--lh-b2); color: var(--ink-2); }

/* ---------- Basket (docked bottom centre, lower half below the screen edge) ---------- */
:root { --bw: 300px; }
.trolley { position: fixed; left: 50%; bottom: calc(var(--bw) * -0.25); width: var(--bw); height: calc(var(--bw) * .5); transform: translateX(-50%); z-index: 25; display: block; -webkit-tap-highlight-color: transparent; }
.trolley[hidden] { display: none; }
.bk-scale { position: absolute; inset: 0; display: block; transform-origin: 50% 100%; filter: drop-shadow(0 -2px 10px var(--w13, rgba(36, 27, 30, .16))); }
.trolley.bounce .bk-scale { animation: bkBounce .42s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes bkBounce { 0% { transform: translateY(0); } 35% { transform: translateY(6px) scaleY(.97); } 70% { transform: translateY(-3px); } 100% { transform: none; } }
.trolley:hover .bk-scale { transform: translateY(-2px); }
.bk-back, .bk-front { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: block; }
/* stacking, back to front: back rim + interior -> products -> (flying product) -> front wall + front rim -> badge */
.bk-back { z-index: 1; } .bk-items { z-index: 2; } .bk-rimshade { z-index: 3; } .bk-flylayer { z-index: 4; isolation: isolate; } .bk-front { z-index: 5; }
.bk-items, .bk-flylayer { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: block; }
/* everything inside stays within the basket's walls: it may only stick out above the rim */
.bk-items { clip-path: polygon(5.8% -120%, 94.2% -120%, 94.2% 25%, 88.3% 100%, 11.7% 100%, 5.8% 25%); }
.bk-rimshade { position: absolute; left: 5.8%; right: 5.8%; top: 8%; height: 10%; background: linear-gradient(180deg, var(--w14, rgba(36, 27, 30, 0)), var(--w15, rgba(36, 27, 30, .3))); pointer-events: none; }
.bk-unit { position: absolute; object-fit: contain; object-position: 50% 100%; transform-origin: 50% 100%; filter: drop-shadow(0 4px 4px var(--w16, rgba(20, 12, 14, .45))) drop-shadow(-4px -2px 6px var(--w17, rgba(20, 12, 14, .25))); transition: left .35s cubic-bezier(.3, 1.2, .5, 1), top .35s cubic-bezier(.3, 1.2, .5, 1), width .35s ease, height .35s ease, transform .35s ease, opacity .25s ease; }
.bk-unit.pending { opacity: 0; }
.bk-unit.drop { animation: bkDrop .32s cubic-bezier(.3, 1.4, .5, 1); }
.bk-unit.out { opacity: 0; transform: translateY(-24px) !important; }
@keyframes bkDrop { from { translate: 0 -18px; } to { translate: 0 0; } }
.bk-fly.bk-fly-top { position: fixed; z-index: 65; }
.bk-fly { position: absolute; pointer-events: none; object-fit: contain; object-position: 50% 100%; z-index: 1; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .25)); }

/* ---------- Product modal ---------- */
.modal { position: fixed; inset: 0; z-index: 70; background: var(--w18, rgba(36, 27, 30, .38)); display: grid; place-items: center; padding: 24px; animation: fade .2s ease; overflow-y: auto; }
.modal-card { position: relative; background: var(--w55, #fff); border-radius: var(--radius-lg); width: min(1040px, 100%); max-height: calc(100vh - 48px); overflow-y: auto; box-shadow: var(--shadow-2); animation: pop .25s cubic-bezier(.2, .8, .2, 1); }
@keyframes pop { from { transform: translateY(14px) scale(.98); opacity: 0; } }
.modal-close { position: absolute; top: 14px; right: 14px; z-index: 3; background: var(--w19, rgba(255, 255, 255, .9)); box-shadow: var(--shadow-1); }
.pd { display: grid; grid-template-columns: 1.05fr 1fr; }
.pd-media { background: radial-gradient(120% 80% at 50% 30%, var(--w55, #fff) 0, var(--w68, #f6eee8) 70%); display: flex; align-items: center; justify-content: center; padding: 50px 30px 30px; position: relative; min-height: 460px; border-radius: var(--radius-lg) 0 0 0; }
.pd-media img { max-height: 420px; width: auto; max-width: 90%; object-fit: contain; filter: drop-shadow(0 18px 18px var(--w20, rgba(60, 40, 30, .12))); }
.pd-media .badge { top: 18px; left: 18px; font-size: var(--fs-b3); line-height: var(--lh-b3); }
.pd-body { padding: 40px 36px 30px; }
.pd-brand { font-size: var(--fs-b3); line-height: var(--lh-b3); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.pd h2 { font-family: var(--serif); font-weight: 600; font-size: var(--fs-h2); line-height: var(--lh-h2); margin: 6px 0 14px; }
.pd-price { display: flex; align-items: baseline; gap: 10px; font-variant-numeric: tabular-nums; }
.pd-price b { font-size: var(--fs-h3); line-height: var(--lh-h3); font-weight: 700; }
.pd-price .was { font-size: var(--fs-b2); line-height: var(--lh-b2); }
.pd-price .save { font-size: var(--fs-b3); line-height: var(--lh-b3); color: var(--rose); font-weight: 600; background: var(--rose-soft); padding: 3px 8px; border-radius: 99px; }
.demo-note { margin: 16px 0 0; background: var(--warn-soft); color: #7a4a1e; border-radius: 12px; padding: 10px 12px; font-size: var(--fs-b3); line-height: var(--lh-b3); }
.label-sm { font-size: var(--fs-b3); line-height: var(--lh-b3); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); margin: 22px 0 8px; }
.sizes { display: flex; gap: 8px; flex-wrap: wrap; }
.size { min-width: 74px; padding: 9px 14px; border-radius: 12px; border: 1px solid var(--line); text-align: center; font-size: var(--fs-b2); line-height: var(--lh-b2); transition: all .15s; background: var(--w55, #fff); }
.size small { display: block; font-size: var(--fs-b3); line-height: var(--lh-b3); color: var(--ink-3); margin-top: 1px; }
.size.on { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.size.oos { color: var(--ink-3); text-decoration: line-through; }
.stock { font-size: var(--fs-b2); line-height: var(--lh-b2); margin-top: 12px; display: flex; align-items: center; gap: 7px; color: var(--ink-2); }
.pd-buy { display: flex; gap: 10px; margin-top: 20px; align-items: center; }
.pd-buy .qty { height: 48px; box-shadow: inset 0 0 0 1px var(--line); animation: none; }
.pd-buy .qty button { width: 42px; height: 48px; }
.pd-buy .qty span { min-width: 30px; font-size: var(--fs-b1); line-height: var(--lh-b1); }
.pd-buy .btn { flex: 1; }
.incart { font-size: var(--fs-b2); line-height: var(--lh-b2); color: var(--ok); margin-top: 10px; }
.acc { margin-top: 24px; border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; padding: 15px 0; font-weight: 600; font-size: var(--fs-b2); line-height: var(--lh-b2); display: flex; justify-content: space-between; align-items: center; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: '+'; font-size: var(--fs-h4); line-height: var(--lh-h4); font-weight: 400; color: var(--ink-3); }
.acc details[open] summary::after { content: '−'; }
.acc .txt { padding: 0 0 16px; color: var(--ink-2); font-size: var(--fs-b2); line-height: var(--lh-b2); white-space: pre-line; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { background: var(--w69, #f6efe9); border-radius: 99px; padding: 4px 10px; font-size: var(--fs-b3); line-height: var(--lh-b3); color: var(--ink-2); }
.related { border-top: 1px solid var(--line); }
.related .shelf { border-radius: 0 0 var(--radius-lg) var(--radius-lg); }

/* ---------- Checkout ---------- */
.co { max-width: 1180px; margin: 0 auto; padding: 26px var(--pad) 60px; display: grid; grid-template-columns: 1.35fr 1fr; gap: 28px; align-items: start; }
.co h1 { font-family: var(--serif); font-weight: 600; font-size: var(--fs-h1); line-height: var(--lh-h1); margin: 0 0 4px; grid-column: 1 / -1; }
.panel { background: var(--w55, #fff); border-radius: var(--radius-lg); box-shadow: var(--shadow-1); padding: 24px; }
.panel + .panel { margin-top: 16px; }
.panel h2 { margin: 0 0 16px; font-size: var(--fs-b1); line-height: var(--lh-b1); font-weight: 600; display: flex; align-items: center; gap: 10px; }
.panel h2 .n { width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: var(--w55, #fff); font-size: var(--fs-b2); line-height: var(--lh-b2); display: grid; place-items: center; }
.field { display: block; margin-bottom: 14px; }
.field > span { display: block; font-size: var(--fs-b2); line-height: var(--lh-b2); font-weight: 500; margin-bottom: 6px; color: var(--ink-2); }
.field input, .field textarea, .field select { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: var(--w55, #fff); outline: none; transition: border-color .15s, box-shadow .15s; font-size: var(--fs-b2); line-height: var(--lh-b2); }
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field textarea:focus { border-color: var(--w70, #cdb6a8); box-shadow: 0 0 0 4px var(--w4, rgba(169, 93, 105, .1)); }
.field.err input, .field.err textarea { border-color: var(--err); }
.field .msg { color: var(--err); font-size: var(--fs-b3); line-height: var(--lh-b3); margin-top: 5px; }
.field .hint { color: var(--ink-3); font-size: var(--fs-b3); line-height: var(--lh-b3); margin-top: 5px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.opts { display: grid; gap: 10px; }
.opt { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 14px; padding: 14px; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.opt:hover { border-color: var(--w71, #d8c6ba); }
.opt input { accent-color: var(--brand); width: 18px; height: 18px; margin: 0; }
.opt.on { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.opt .grow { flex: 1; }
.opt .grow small { display: block; color: var(--ink-3); font-size: var(--fs-b3); line-height: var(--lh-b3); }
.opt b { font-variant-numeric: tabular-nums; font-size: var(--fs-b2); line-height: var(--lh-b2); }
.pay-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.pay { border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 8px; cursor: pointer; transition: all .15s; text-align: left; }
.pay:hover { border-color: var(--w71, #d8c6ba); }
.pay.on { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.pay .logo { height: 30px; border-radius: 8px; display: grid; place-items: center; font-weight: 800; font-size: var(--fs-b3); line-height: var(--lh-b3); letter-spacing: .02em; color: var(--w55, #fff); width: 100%; }
.pay span { font-size: var(--fs-b2); line-height: var(--lh-b2); font-weight: 500; }
.testbar { background: var(--warn-soft); color: #7a4a1e; border: 1px dashed var(--w72, #e0b88c); border-radius: 12px; padding: 10px 12px; font-size: var(--fs-b2); line-height: var(--lh-b2); margin-bottom: 14px; }
.testbar b { letter-spacing: .06em; }
.alert { background: #fbeceb; color: var(--err); border-radius: 12px; padding: 12px 14px; font-size: var(--fs-b2); line-height: var(--lh-b2); margin-bottom: 14px; }
.summary { position: sticky; top: calc(var(--header-h) + 16px); }
.summary .line { grid-template-columns: 48px 1fr auto; }
.summary .line img { width: 48px; height: 54px; }
.summary .q { font-size: var(--fs-b3); line-height: var(--lh-b3); color: var(--ink-3); }
.secure { font-size: var(--fs-b3); line-height: var(--lh-b3); color: var(--ink-3); text-align: center; margin-top: 10px; }

/* ---------- Order confirmation ---------- */
.conf { max-width: 760px; margin: 0 auto; padding: 36px var(--pad) 60px; }
.conf-hero { text-align: center; margin-bottom: 24px; }
.conf-hero .ico { width: 70px; height: 70px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; margin: 0 auto 14px; }
.conf-hero .ico svg { width: 32px; height: 32px; stroke-width: 2.4; }
.conf-hero h1 { font-family: var(--serif); font-weight: 600; font-size: var(--fs-h1); line-height: var(--lh-h1); margin: 0; }
.conf-hero p { color: var(--ink-2); margin: 6px 0 0; }
.pill { display: inline-block; padding: 4px 10px; border-radius: 99px; font-size: var(--fs-b3); line-height: var(--lh-b3); font-weight: 600; background: var(--w64, #f1e8e1); color: var(--ink-2); text-transform: capitalize; }
.pill.ok { background: var(--ok-soft); color: var(--ok); }
.pill.warn { background: var(--warn-soft); color: var(--warn); }
.pill.err { background: #fbeceb; color: var(--err); }
.kv { display: grid; grid-template-columns: 140px 1fr; gap: 8px 14px; font-size: var(--fs-b2); line-height: var(--lh-b2); }
.kv dt { color: var(--ink-3); }
.kv dd { margin: 0; }
.timeline { list-style: none; padding: 0; margin: 0; font-size: var(--fs-b2); line-height: var(--lh-b2); }
.timeline li { padding: 8px 0 8px 18px; position: relative; color: var(--ink-2); border-left: 1px solid var(--line); margin-left: 4px; }
.timeline li::before { content: ''; position: absolute; left: -5px; top: 13px; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.timeline time { display: block; font-size: var(--fs-b3); line-height: var(--lh-b3); color: var(--ink-3); }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }

/* ---------- Footer ---------- */
.foot { background: var(--brand); color: var(--w73, #e9ddd6); padding: 50px var(--pad) calc(var(--bw) * .25 + var(--bw) * .24 + 24px); }
.foot-in { max-width: 1480px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.foot h4 { margin: 0 0 12px; font-size: var(--fs-b3); line-height: var(--lh-b3); letter-spacing: .14em; text-transform: uppercase; color: var(--w55, #fff); }
.foot .brand-name { color: var(--w55, #fff); font-size: var(--fs-h2); line-height: var(--lh-h2); }
.foot p, .foot a { font-size: var(--fs-b2); line-height: var(--lh-b2); color: var(--w74, #cdbfb8); text-decoration: none; margin: 0 0 8px; display: block; }
.foot a:hover { color: var(--w55, #fff); }
.foot .fine { grid-column: 1 / -1; border-top: 1px solid var(--w21, rgba(255, 255, 255, .12)); padding-top: 18px; font-size: var(--fs-b3); line-height: var(--lh-b3); color: var(--w75, #a8999a); text-align: center; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; top: 18px; transform: translate(-50%, -80px); background: var(--brand); color: var(--w55, #fff); padding: 11px 18px; border-radius: 999px; font-size: var(--fs-b2); line-height: var(--lh-b2); z-index: 90; transition: transform .3s ease; box-shadow: var(--shadow-2); max-width: calc(100% - 32px); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; box-sizing: border-box; }
.toast.show { transform: translate(-50%, 0); }
.toast.err { background: var(--err); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .co { grid-template-columns: 1fr; }
  .summary { position: static; }
  .foot-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .pd { grid-template-columns: 1fr; }
  .pd-media { min-height: 320px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; padding: 40px 20px 20px; }
  .pd-media img { max-height: 300px; }
  .pd-body { padding: 24px 22px; }
}
@media (max-width: 760px) {
  :root { --card-w: 138px; }
  .menu-btn { display: grid; margin-left: -8px; }
  .top-inner { flex-wrap: wrap; gap: 8px 10px; padding: 10px var(--pad); }
  .brand { border: 0; padding-right: 0; margin-right: auto; }
  .brand-name { font-size: var(--fs-h2); line-height: var(--lh-h2); }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .search input { height: 42px; }
  .cart-pill { height: 38px; padding-left: 12px; }
  .cart-pill-label { display: none; }
  .cart-pill-total { font-size: var(--fs-b2); line-height: var(--lh-b2); }
  .cart-pill-count { min-width: 28px; height: 28px; }
  .cats { display: none; }
  .announce .ann-1, .announce .ann-sep { display: none; }
  .pd-buy .btn { font-size: var(--fs-b2); line-height: var(--lh-b2); padding: 0 14px; white-space: nowrap; }
  .shelf-track { --stand-h: 160px; }
  .item-stand img { max-height: 150px; }
  .shelf-arrow { display: none; }
  .modal { padding: 0; place-items: end center; }
  .modal-card { border-radius: var(--radius-lg) var(--radius-lg) 0 0; max-height: 94vh; animation: up .3s cubic-bezier(.2, .8, .2, 1); }
  @keyframes up { from { transform: translateY(40px); opacity: 0; } }
  .pd h2 { font-size: var(--fs-h1); line-height: var(--lh-h1); }
  .grid2 { grid-template-columns: 1fr; gap: 0; }
  .panel { padding: 18px; border-radius: 18px; }
  .co h1, .conf-hero h1 { font-size: var(--fs-h1); line-height: var(--lh-h1); }
  .kv { grid-template-columns: 110px 1fr; }
  .foot-in { grid-template-columns: 1fr; }
  :root { --bw: 250px; }
  /* product cards: fixed rows so every card in a row lines up like a grid */
  .info { padding: 26px 8px 0; }
  .pricerow { height: 28px; gap: 4px; }
  .tag { padding: 4px 8px; }
  .tag small { font-size: var(--fs-b4); line-height: var(--lh-b4); }
  .tag b { font-size: var(--fs-b2); line-height: var(--lh-b2); }
  .was { font-size: var(--fs-b3); line-height: var(--lh-b3); flex: 0 1 auto; }
  .info .brandline { margin-top: 8px; height: 14px; line-height: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .info .name { margin-top: 4px; line-height: 1.3; height: calc(2 * 1.3em); min-height: 0; }
  .info .meta { margin-top: 8px; height: 16px; line-height: 16px; white-space: nowrap; overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* Home shelves: whole cards only, edge to edge between the page margins — the last card's text never runs off the screen */
.shelf-track { --n: 6; } /* desktop: 6 products per shelf row so they are large and easy to read */
.shelf-track:not(.shelf-rows .shelf-track) > .item, .shelf-track:not(.shelf-rows .shelf-track) > .skel { width: calc((100% - (var(--n) - 1) * var(--gap, 10px)) / var(--n)); }
@media (max-width: 1599px) { .shelf-track { --n: 6; } }
@media (max-width: 1399px) { .shelf-track { --n: 6; } }
@media (max-width: 1239px) { .shelf-track { --n: 6; } }
@media (max-width: 1079px) { .shelf-track { --n: 5; } }
@media (max-width: 899px)  { .shelf-track { --n: 4; } }
@media (max-width: 760px)  { .shelf-track { --n: 3; } }
@media (min-width: 1600px) { .shelf-track { --n: 6; } }
@media (min-width: 1800px) { .shelf-track { --n: 6; } }

/* =====================================================================
   APP STYLE (phone app preview) — html.app + .ios / .android
   Spacing follows the scale 4 · 8 · 12 · 16 · 24 · 32 · 48
   ===================================================================== */
.app { --tabh: 49px; }
.app.android { --tabh: 80px; }
.app .menu-btn, .app .cats, .app .foot { display: none !important; }
/* Basket: docked at the bottom centre like the website, resting on the tab bar (the tab bar hides its lower part) */
.app .trolley { bottom: calc(var(--tabh) + var(--sab, 0px) - var(--bw) * 0.25); }
.app .scrim { z-index: 78; }
.app .drawer { z-index: 80; }
.app .brand { margin-right: auto; }
.app main { padding-bottom: calc(var(--tabh) + var(--sab, 0px) + var(--bw) * .25 + var(--bw) * .24 + 24px); }
.app .toast { z-index: 95; }

/* Bottom tab bar */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 75; display: flex; padding-bottom: var(--sab, env(safe-area-inset-bottom, 0px)); }
.tab { flex: 1; display: flex; flex-direction: column; align-items: center; color: var(--ink-3); position: relative; -webkit-tap-highlight-color: transparent; }
.tab-ico { position: relative; display: grid; place-items: center; }
.tab-ico svg { width: 24px; height: 24px; }
.tab-gap { display: none; }
.tab-badge { position: absolute; top: -4px; right: -8px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--rose); color: var(--w55, #fff); font-size: var(--fs-b4); line-height: var(--lh-b4); font-weight: 700; display: grid; place-items: center; }
.tab.bump .tab-ico { animation: bump .35s ease; }
.ios .tabbar { background: var(--w22, rgba(250, 246, 241, .9)); backdrop-filter: saturate(1.6) blur(20px); -webkit-backdrop-filter: saturate(1.6) blur(20px); border-top: 1px solid var(--w23, rgba(43, 32, 36, .1)); }
.ios .tab { height: var(--tabh); justify-content: center; gap: 4px; }
.ios .tab-lbl { font-size: var(--fs-b4); line-height: var(--lh-b4); font-weight: 500; }
.ios .tab.on { color: var(--brand); }
.android .tabbar { background: var(--w76, #f3ebe5); }
.android .tab { height: var(--tabh); justify-content: center; gap: 4px; }
.android .tab-ico { width: 64px; height: 32px; border-radius: 16px; transition: background .2s; }
.android .tab-lbl { font-size: var(--fs-b3); line-height: var(--lh-b3); font-weight: 500; }
.android .tab.on { color: var(--ink); }
.android .tab.on .tab-ico { background: var(--w77, #e8d7cf); }
.android .tab.on .tab-lbl { font-weight: 700; }

/* Shelf + button for products with several sizes (opens the size sheet) */
.add-btn.has { background: var(--brand); color: var(--w55, #fff); }
.add-count { font-size: var(--fs-b2); line-height: var(--lh-b2); font-weight: 700; }

/* Product screen: full-screen push, not a pop-up */
.app .modal { padding: 0; background: var(--bg); display: block; overflow: hidden; animation: none; }
.app .modal-card { width: 100%; height: 100%; max-height: none; border-radius: 0; box-shadow: none; overflow-y: auto; animation: push .34s cubic-bezier(.2, .8, .2, 1); padding-bottom: calc(var(--tabh) + var(--sab, 0px) + 96px); }
.app .modal.popping .modal-card { animation: popout .26s ease forwards; }
@keyframes push { from { transform: translateX(100%); } to { transform: none; } }
@keyframes popout { to { transform: translateX(100%); } }
.app.android .modal-card { animation-name: push-a; }
.app.android .modal.popping .modal-card { animation-name: popout-a; }
@keyframes push-a { from { transform: translateX(24%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes popout-a { to { transform: translateX(24%); opacity: 0; } }
.appbar { position: sticky; top: 0; z-index: 6; height: 48px; display: flex; align-items: center; padding: 0 8px; background: var(--w24, rgba(250, 246, 241, .94)); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--w0, rgba(43, 32, 36, .06)); }
.android .appbar { height: 64px; padding: 0 4px; }
.app .modal-close.back-btn { position: static; box-shadow: none; background: none; width: auto; min-width: var(--tap, 44px); padding: 0 8px; gap: 4px; display: flex; align-items: center; color: var(--brand); border-radius: 12px; }
.ios .back-btn svg { width: 24px; height: 24px; stroke-width: 2.2; margin-left: -4px; }
.ios .back-btn span { font-size: var(--fs-b1); line-height: var(--lh-b1); }
.android .back-btn { border-radius: 50% !important; justify-content: center; padding: 0 !important; }
.appbar-title { flex: 1; min-width: 0; font-size: var(--fs-b1); line-height: var(--lh-b1); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ios .appbar-title { text-align: center; margin-right: 72px; }
.android .appbar-title { font-size: var(--fs-h4); line-height: var(--lh-h4); font-weight: 500; padding-left: 4px; margin-right: 16px; }
.app .pd { grid-template-columns: 1fr; }
.app .pd-media { border-radius: 0; min-height: 360px; }
.app .pd-media img { max-height: 300px; }
.app .incart a { display: none; }
.app .demo-note { margin-top: 16px; }
/* sticky Add to trolley bar, above the tab bar */
.app .pd-buy { position: fixed; left: 0; right: 0; bottom: calc(var(--tabh) + var(--sab, 0px)); margin: 0; padding: 12px 16px; gap: 12px; background: var(--w25, rgba(255, 255, 255, .96)); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--line); z-index: 8; }
/* product screen skeleton */
.pd-skel { padding: 0 16px; }
.pd-skel .skel { display: block; width: 100%; border-radius: 8px; margin-top: 12px; }
.pd-skel .sk-img { height: 360px; border-radius: 0; margin: 0 -16px 12px; width: calc(100% + 32px); }
.pd-skel .sk-l { height: 12px; margin-top: 24px; }
.pd-skel .sk-h { height: 32px; width: 80%; }
.pd-skel .sk-b { height: 48px; margin-top: 16px; }

/* Bottom sheet with grab handle */
.sheet-scrim { position: fixed; inset: 0; z-index: 85; background: var(--w26, rgba(36, 27, 30, .35)); opacity: 0; transition: opacity .25s; }
.sheet-scrim.open { opacity: 1; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; max-height: 85%; overflow-y: auto; background: var(--w55, #fff); border-radius: 24px 24px 0 0; padding: 8px 16px calc(16px + var(--sab, env(safe-area-inset-bottom, 0px))); transform: translateY(100%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); box-shadow: 0 -8px 32px var(--w13, rgba(36, 27, 30, .16)); }
.sheet.open { transform: none; }
.grab { width: 36px; height: 4px; border-radius: 4px; background: var(--w78, #d8cec8); margin: 0 auto 16px; }
.android .grab { width: 32px; }
.sheet-head { display: flex; gap: 12px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); cursor: grab; touch-action: none; }
.sheet-head img { width: 48px; height: 56px; object-fit: contain; background: var(--w44, #faf6f1); border-radius: 8px; padding: 4px; }
.sheet-title { font-size: var(--fs-b1); line-height: var(--lh-b1); font-weight: 600; }
.sheet .label-sm { margin: 16px 0 8px; }
.sheet-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: var(--tap, 44px); padding: 12px 0; border-bottom: 1px solid var(--w58, #f2ebe5); }
.sheet-row b { font-size: var(--fs-b2); line-height: var(--lh-b2); }
.sheet-row small { display: block; font-size: var(--fs-b3); line-height: var(--lh-b3); color: var(--ink-3); margin-top: 4px; }
.sheet-row.oos { opacity: .5; }
.sheet-row .qty { box-shadow: inset 0 0 0 1px var(--line); animation: none; }
.sheet-row .add-btn { box-shadow: inset 0 0 0 1px var(--line); }
.sheet .btn { margin-top: 16px; }

/* Tap feedback */
.ios .btn, .ios .add-btn, .ios .tab, .ios .size, .ios .chip, .ios .back-btn, .ios .qty button { transition: transform .12s ease, opacity .12s ease; }
.ios .btn:active, .ios .add-btn:active, .ios .size:active, .ios .chip:active, .ios .qty button:active { transform: scale(.96); opacity: .8; }
.ios .tab:active, .ios .back-btn:active { opacity: .5; }
.ios .item-stand:active img { transform: scale(.97); }
.ripple { position: absolute; border-radius: 50%; background: var(--w27, rgba(43, 32, 36, .14)); transform: scale(0); animation: rip .5s ease-out forwards; pointer-events: none; }
.btn .ripple, .add-btn.has .ripple { background: var(--w28, rgba(255, 255, 255, .3)); }
@keyframes rip { to { transform: scale(1); opacity: 0; } }
/* native-style toast above the tab bar */
.app .toast { top: auto; bottom: calc(var(--tabh) + var(--sab, 0px) + 16px); transform: translate(-50%, 160px); border-radius: 12px; }
.app .toast.show { transform: translate(-50%, 0); }
.app .modal:not([hidden]) ~ .toast, .app .pd-buy ~ .toast { bottom: calc(var(--tabh) + var(--sab, 0px) + 88px); }
.app .toast { opacity: 0; transition: transform .3s ease, opacity .2s ease; }
.app .toast.show { opacity: 1; }

/* =====================================================================
   SPACING SCALE (phone layout, iPhone + Android): 4 · 8 · 12 · 16 · 24 · 32 · 48 only
   ===================================================================== */
@media (max-width: 760px) {
  :root { --pad: 16px; }
  /* shelves: 12 between products, 48 between shelves (24 + 24), card text 8 from the sides, price tag 8/4 */
  .shelf-track { --gap: 12px; gap: 12px; padding: 8px var(--pad) 24px; }
  .shelf-head { padding: 24px var(--pad) 0; }
  .info { padding: 24px 8px 0; }
  .tag { padding: 4px 8px; }
  .page-head { padding: 24px var(--pad) 8px; }
  .group-title { padding: 32px var(--pad) 0; gap: 16px; }
  /* chips: 8 apart */
  .chip-row, .sub-chips { gap: 8px; }
  /* search suggestions pop-up */
  .suggest { padding: 16px; }
  .suggest h4:not(:first-child) { margin-top: 16px; }
  /* category menu: link text 16 from the edge (container 8 + link 8), sub-categories at 32 */
  .menu-body { padding: 8px 8px 32px; }
  .menu-body h4 { margin: 16px 8px 8px; }
  .menu-body a { padding: 12px 8px; min-height: var(--tap, 44px); }
  .menu-body a.sub { padding-left: 24px; }
  /* trolley drawer: 16 left/right, 12 above and below each divider, footer clears the bottom safe area */
  .drawer-head { padding: 16px; }
  .drawer-body { padding: 4px 16px; }
  .line { padding: 12px 0; gap: 12px; }
  .drawer-foot { padding: 16px 16px calc(16px + var(--sab, env(safe-area-inset-bottom, 0px))); }
  /* product details: 16 left/right, detail rows 16 top and bottom; size buttons 16/8, at least 44 high */
  .pd-body { padding: 24px 16px; }
  .acc summary { padding: 16px 0; }
  .acc .txt { padding: 0 0 16px; }
  .size { padding: 8px 16px; min-height: var(--tap, 44px); }
  .pd-buy { gap: 12px; margin-top: 24px; }
  /* checkout and confirmation: panels 16 (content at 32), fields 16/12 with 16 between, options and payment tiles 16 with 12 between */
  .co { padding: 24px var(--pad) 48px; gap: 24px; }
  .panel { padding: 16px; }
  .panel + .panel { margin-top: 16px; }
  .field { margin-bottom: 16px; }
  .field input, .field textarea, .field select { padding: 12px 16px; min-height: var(--tap, 44px); }
  .opts { gap: 12px; }
  .opt { padding: 16px; }
  .pay-grid { gap: 12px; }
  .pay { padding: 16px; }
  /* tap areas: 44 on iPhone, 48 on Android */
  /* the buttons keep their look; an invisible hit area makes them 44 (iPhone) / 48 (Android) to tap */
  .icon-btn, .qty button, .add-btn { position: relative; }
  .icon-btn::before, .qty button::before, .add-btn::before { content: ''; position: absolute; left: 50%; top: 50%; width: max(100%, var(--tap, 44px)); height: max(100%, var(--tap, 44px)); transform: translate(-50%, -50%); }
}
.app .back-btn:focus, .app .modal-close:focus { outline: none; }

/* =====================================================================
   PAYMENT ("Pay with"): provider cards with the networks' own logos
   ===================================================================== */
.pay-grid { display: none; }
.pay-list { display: flex; flex-direction: column; gap: 12px; }
.pay-title { margin: 0 4px; font-size: var(--fs-b2); line-height: var(--lh-b2); font-weight: 600; color: var(--ink-3); }
.pay-list .pay { width: 100%; box-sizing: border-box; display: flex; flex-direction: row; align-items: center; gap: 14px; padding: 16px; background: var(--w55, #fff); border-radius: 22px; border: 2px solid transparent; box-shadow: 0 4px 20px var(--w29, rgba(17, 17, 17, .08)); text-align: left; cursor: pointer; transition: border-color .15s; }
.pay-list .pay:hover { border-color: var(--w79, #ead9cf); }
.pay-list .pay.on { border-color: var(--brand); box-shadow: 0 4px 20px var(--w29, rgba(17, 17, 17, .08)); }
.pay-logo { width: 67px; height: 48px; flex: none; border-radius: 14px; border: 1px solid var(--w29, rgba(17, 17, 17, .08)); box-sizing: border-box; padding: 6px 8px; display: flex; align-items: center; justify-content: center; }
.pay-logo img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }
.pay-logo.plain { background: var(--w80, #efe6df); border: 0; }
.pay-logo.plain svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.pay-logo.sm { width: 40px; height: 28px; border-radius: 8px; padding: 3px 5px; }
.pay-logo.sm svg { width: 16px; height: 16px; }
.pay-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pay-name { font-size: var(--fs-b1); line-height: var(--lh-b1); font-weight: 600; color: var(--ink); }
.pay-meta { font-size: var(--fs-b2); line-height: var(--lh-b2); color: var(--ink-3); }
.pay-chk { width: 28px; height: 28px; flex: none; border-radius: 999px; box-sizing: border-box; border: 1.5px solid var(--w81, #c9bcb4); display: grid; place-items: center; }
.pay-chk svg { width: 16px; height: 16px; fill: none; stroke: var(--w55, #fff); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.pay.on .pay-chk { background: var(--brand); border-color: var(--brand); }
.pay.on .pay-chk svg { opacity: 1; }
.pay-extra { margin-top: 16px; }
.pay-pin { margin: -4px 4px 0; font-size: var(--fs-b2); line-height: var(--lh-b2); color: var(--ink-3); }
.pay-dd { display: flex; align-items: center; gap: 8px; }
.pay-wait { display: flex; align-items: center; gap: 14px; padding: 16px; margin-bottom: 12px; background: var(--w55, #fff); border-radius: 22px; box-shadow: 0 4px 20px var(--w29, rgba(17, 17, 17, .08)); }
.pay-wait > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pay-wait b { font-size: var(--fs-b1); line-height: var(--lh-b1); }
.pay-wait span:not(.pay-logo):not(.spinner) { font-size: var(--fs-b2); line-height: var(--lh-b2); color: var(--ink-3); }
.pay-wait .spinner { flex: none; border-color: var(--w30, rgba(43, 32, 36, .15)); border-top-color: var(--brand); }
.pay-cards { display: flex; align-items: center; height: 20px; }
.pay-cards img { display: block; height: 14px; width: auto; }
/* Card details (Credit or debit card) */
.cardf { margin-top: 24px; }
.cardf h3 { margin: 0 0 16px; font-size: var(--fs-h4); line-height: var(--lh-h4); font-weight: 700; color: var(--ink); }
.cardf-box { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--w82, #b9aea7); border-radius: 12px; }
.cardf-cell, .cardf-one { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; cursor: text; }
.cardf-cell.full { grid-column: 1 / -1; border-bottom: 1px solid var(--w82, #b9aea7); }
.cardf-cell + .cardf-cell + .cardf-cell { border-left: 1px solid var(--w82, #b9aea7); }
.cardf-cell span, .cardf-one span { display: flex; align-items: center; gap: 4px; font-size: var(--fs-b2); line-height: var(--lh-b2); color: var(--ink-3); }
.cardf-cell span svg { width: 14px; height: 14px; fill: currentColor; stroke: currentColor; stroke-width: 2; }
.cardf-cell span svg path { fill: none; }
.cardf input, .cardf select { border: 0; outline: 0; padding: 0; background: transparent; font: inherit; font-size: var(--fs-b1); line-height: var(--lh-b1); color: var(--ink); width: 100%; min-width: 0; -webkit-appearance: none; appearance: none; }
.cardf input::placeholder { color: var(--w82, #b9aea7); }
.cardf-cell:focus-within { box-shadow: 0 0 0 2px var(--ink); border-radius: 12px; z-index: 1; }
.cardf-cell.full:focus-within { border-radius: 12px; }
.cardf-cell.bad { box-shadow: 0 0 0 2px #c0392b; border-radius: 12px; z-index: 1; }
.cardf-one { margin-top: 12px; border: 1px solid var(--w82, #b9aea7); border-radius: 12px; }
.cardf-one:focus-within { box-shadow: 0 0 0 1px var(--ink); border-color: var(--ink); }
.cardf-one.sel { padding-right: 48px; }
.cardf-one.sel > svg { position: absolute; right: 16px; top: 50%; width: 22px; height: 22px; margin-top: -11px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.cardf-err { margin-top: 8px; font-size: var(--fs-b2); line-height: var(--lh-b2); color: #c0392b; min-height: 0; }
.cardf-err:empty { display: none; }
.cardf-cell.full { padding-right: 76px; }
.cardf-brand { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); height: 14px; width: auto; }
.cardf-brand.mastercard { height: 20px; }
button.cardf-one { width: 100%; text-align: left; background: transparent; font: inherit; cursor: pointer; }
button.cardf-one b { font-weight: 400; font-size: var(--fs-b1); line-height: var(--lh-b1); color: var(--ink); }
/* Country/Region picker */
.ctry-scrim { position: fixed; inset: 0; z-index: 120; background: rgba(0, 0, 0, .4); opacity: 0; pointer-events: none; transition: opacity .25s; }
.ctry-scrim.show { opacity: 1; pointer-events: auto; }
.ctry { position: fixed; z-index: 121; left: 0; right: 0; bottom: 0; top: 48px; display: flex; flex-direction: column; background: var(--w55, #fff); border-radius: 24px 24px 0 0; transform: translateY(100%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); visibility: hidden; }
.ctry.show { transform: none; visibility: visible; }
.ctry-top { display: flex; justify-content: flex-end; padding: 16px 16px 0; }
.ctry-x { width: 44px; height: 44px; border: 0; background: none; display: grid; place-items: center; cursor: pointer; border-radius: 999px; }
.ctry-x svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.ctry h2 { margin: 8px 24px 24px; font-size: var(--fs-h2); line-height: var(--lh-h2); font-weight: 700; letter-spacing: -.5px; color: var(--ink); }
.ctry-list { flex: 1; min-height: 0; overflow: auto; margin: 0 24px; border: 1px solid var(--w83, #ddd); border-radius: 16px; padding: 0 24px; }
.ctry-row { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 0; border: 0; border-bottom: 1px solid var(--w84, #e6e6e6); background: none; font: inherit; font-size: var(--fs-b1); line-height: var(--lh-b1); color: var(--ink); text-align: left; cursor: pointer; }
.ctry-row:last-child { border-bottom: 0; }
.ctry-row i { width: 28px; height: 28px; flex: none; border-radius: 50%; border: 1.5px solid var(--w85, #8a8a8a); box-sizing: border-box; }
.ctry-row.on i { border: 2px solid var(--ink); box-shadow: inset 0 0 0 4px var(--w55, #fff); background: var(--ink); }
.ctry-foot { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px calc(16px + var(--sab, 0px)); border-top: 1px solid var(--w86, #ececec); }
.ctry-cancel { border: 0; background: none; font: inherit; font-size: var(--fs-b1); line-height: var(--lh-b1); font-weight: 600; color: var(--ink); text-decoration: underline; cursor: pointer; padding: 12px 0; }
.ctry-done { min-width: 140px; }
html.ctry-open, html.ctry-open body { overflow: hidden; }
@media (min-width: 761px) {
  .ctry { left: 50%; right: auto; top: 50%; bottom: auto; width: 520px; height: min(720px, 86vh); border-radius: 24px; transform: translate(-50%, -46%); opacity: 0; transition: transform .25s, opacity .25s; }
  .ctry.show { transform: translate(-50%, -50%); opacity: 1; }
}
/* Card details sheet */
.psheet { z-index: 121; }
#ctry { z-index: 123; } #ctryScrim { z-index: 122; }
.ctry-top.left { justify-content: flex-start; }
.psheet-body { flex: 1; min-height: 0; overflow: auto; padding: 0 24px 24px; }
.psheet .cardf { margin-top: 0; }
.ctry-foot.end { justify-content: flex-end; }
.pay-saved { display: flex; align-items: center; gap: 10px; }
.pay-brand { height: 14px; width: auto; }
.pay-brand.mastercard { height: 20px; }
.pay-meta u { text-underline-offset: 2px; }
/* Delivery type wording: "Name | price", description, time on the right */
.opt { align-items: flex-start; }
.opt input { margin-top: 3px; }
.opt-t { display: block; font-weight: 600; font-size: var(--fs-b2); line-height: var(--lh-b2); }
.opt-t b { font-weight: 600; }
.opt-bar { color: var(--ink-3); font-weight: 400; }
.opt .grow small { font-size: var(--fs-b2); line-height: var(--lh-b2); margin-top: 2px; }
.opt-eta { flex: none; font-weight: 600; font-size: var(--fs-b2); line-height: var(--lh-b2); text-align: right; }
.opt.on .opt-t, .opt.on .opt-eta { color: var(--brand); }
.opt-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.opt-row .opt-t { min-width: 0; }
/* Delivery address: saved addresses + "Choose a delivery address" sheet */
.addr-add { width: 100%; display: flex; align-items: center; gap: 16px; padding: 0; border: 0; background: none; font: inherit; font-size: var(--fs-b1); line-height: var(--lh-b1); font-weight: 700; color: var(--brand); cursor: pointer; text-align: left; }
.addr-plus { width: 64px; height: 44px; flex: none; display: grid; place-items: center; border: 1px solid var(--w83, #ddd); border-radius: 10px; background: var(--w55, #fff); }
.addr-plus svg { width: 22px; height: 22px; fill: none; stroke: var(--brand); stroke-width: 2.25; stroke-linecap: round; }
.addr-add.in-sheet { padding-bottom: 24px; border-bottom: 1px solid var(--w84, #e6e6e6); }
.addr-cur { display: flex; align-items: center; gap: 16px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--w55, #fff); }
.addr-ico { width: 64px; height: 56px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--w87, #f1ece8); }
.addr-ico svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.addr-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.addr-txt b { display: flex; align-items: center; gap: 8px; font-size: var(--fs-b1); line-height: var(--lh-b1); color: var(--ink); }
.addr-txt > span { font-size: var(--fs-b2); line-height: var(--lh-b2); color: var(--ink-3); }
.addr-change { flex: none; border: 0; background: none; padding: 8px 0; font: inherit; font-size: var(--fs-b2); line-height: var(--lh-b2); font-weight: 700; color: var(--brand); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.addr-list { display: flex; flex-direction: column; }
.addr-row { display: flex; align-items: flex-start; gap: 16px; padding: 24px 0; border: 0; border-bottom: 1px solid var(--w84, #e6e6e6); background: none; font: inherit; text-align: left; cursor: pointer; }
.addr-row:last-child { border-bottom: 0; }
.addr-sel { font-style: normal; font-size: var(--fs-b3); line-height: var(--lh-b3); font-weight: 700; letter-spacing: .3px; color: #1b7f4b; background: #d6f5e3; padding: 3px 10px; border-radius: 999px; }
.addr-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 24px 24px; }
.addr-head h2 { margin: 0; font-size: var(--fs-h3); line-height: var(--lh-h3); font-weight: 700; color: var(--ink); }
.ctry-x.round { background: var(--w55, #fff); box-shadow: 0 2px 10px rgba(0, 0, 0, .12); }
#addrSheet, #addrForm { top: auto; max-height: calc(100% - 48px); }
@media (min-width: 761px) { #addrSheet, #addrForm { top: 50%; height: auto; max-height: 86vh; } }
.addr-types { display: flex; gap: 8px; flex-wrap: wrap; }
.addr-type { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--w55, #fff); font: inherit; font-size: var(--fs-b2); line-height: var(--lh-b2); color: var(--ink); cursor: pointer; }
.addr-type svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.addr-type.on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); font-weight: 600; }
#addrF .field { margin-bottom: 16px; }
.toast { z-index: 130; }
.foot { padding-bottom: calc(var(--bw) * .25 + 24px); }
/* Delivery distance */
.addr-km { font-size: var(--fs-b2) !important; line-height: var(--lh-b2) !important; color: var(--ink-3); }
.addr-gps { display: flex; align-items: center; gap: 8px; margin: -4px 0 8px; padding: 8px 0; border: 0; background: none; font: inherit; font-size: var(--fs-b2); line-height: var(--lh-b2); font-weight: 600; color: var(--brand); cursor: pointer; min-height: var(--tap, 44px); }
.addr-gps svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.addr-gps.on { color: #1b7f4b; }
.addr-gps-msg { margin: -4px 0 16px; font-size: var(--fs-b2); line-height: var(--lh-b2); color: var(--ink-3); }
.addr-gps-msg.bad { color: #c0392b; }
/* Delivery address: place search suggestions and exact pin on the map */
.addr-search { position: relative; }
.addr-sugg { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 5; background: var(--w55, #fff); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-2); padding: 8px; }
.field.err .addr-sugg { top: calc(100% - 20px); }
.addr-sugg-row { display: flex; flex-direction: column; gap: 4px; width: 100%; min-height: var(--tap, 44px); padding: 12px 8px; border: 0; border-radius: 8px; background: none; font: inherit; text-align: left; cursor: pointer; color: var(--ink); }
.addr-sugg-row b { font-size: var(--fs-b2); line-height: var(--lh-b2); font-weight: 600; }
.addr-sugg-row small { font-size: var(--fs-b2); line-height: var(--lh-b2); color: var(--ink-3); }
.addr-sugg-row:hover, .addr-sugg-row.active { background: var(--w59, #f7f1ec); }
.addr-sugg-none { margin: 0; padding: 12px 8px; font-size: var(--fs-b2); line-height: var(--lh-b2); color: var(--ink-3); }
.addr-sugg-by { margin: 4px 8px 0; font-size: var(--fs-b3); line-height: var(--lh-b3); color: var(--ink-3); text-align: right; }
.addr-gps.addr-pin svg { stroke-linejoin: round; }
#pinSheet { z-index: 125; } #pinSheetScrim { z-index: 124; }
.pin-wrap { position: relative; height: min(56vh, 480px); border-radius: 12px; overflow: hidden; background: var(--w88, #efe9e4); }
.pin-map { position: absolute; inset: 0; }
.pin-mark { position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; margin: -40px 0 0 -20px; pointer-events: none; z-index: 2; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .35)); }
.pin-mark svg { width: 100%; height: 100%; fill: var(--brand); stroke: var(--w55, #fff); stroke-width: 1.5; }
.pin-mark svg circle { fill: var(--w55, #fff); stroke: none; }
.pin-note { margin: 16px 0 0; font-size: var(--fs-b2); line-height: var(--lh-b2); color: var(--ink-2); }
/* Upcountry: Choose your town */
.town-search { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; gap: 8px; padding: 12px 16px; margin-bottom: 8px; border: 1px solid var(--w83, #ddd); border-radius: 12px; background: var(--w55, #fff); }
.town-search svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--ink-3); stroke-width: 2; stroke-linecap: round; }
.town-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: var(--fs-b1); line-height: var(--lh-b1); color: var(--ink); }
.town-list { display: flex; flex-direction: column; }
.town-row { display: flex; align-items: center; gap: 16px; padding: 16px 0; border: 0; border-bottom: 1px solid var(--w84, #e6e6e6); background: none; font: inherit; text-align: left; cursor: pointer; min-height: var(--tap, 44px); }
.town-row:last-child { border-bottom: 0; }
.town-fee { flex: none; font-weight: 700; font-size: var(--fs-b2); line-height: var(--lh-b2); color: var(--ink); font-variant-numeric: tabular-nums; }
.town-none { margin: 24px 0; text-align: center; color: var(--ink-3); }
#townSheet { top: 48px; }
@media (min-width: 761px) { #townSheet { top: 50%; height: min(720px, 86vh); } }
.opt-link { border: 0; background: none; padding: 0; font: inherit; font-weight: 700; color: var(--brand); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.addr-cur.bus .addr-txt > span { color: var(--ink-2, var(--ink)); font-size: var(--fs-b2); line-height: var(--lh-b2); }
.opt-t b { white-space: nowrap; }
.town-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
/* "Where should we deliver?" search bar */
.addr-where { margin-bottom: 8px; }
.where-bar { display: flex; align-items: center; gap: 16px; min-height: 64px; padding: 0 24px; border-radius: 12px; background: var(--w87, #f1ece8); cursor: text; }
.where-bar svg { width: 24px; height: 24px; flex: none; fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linecap: round; }
.where-bar input { flex: 1; min-width: 0; height: 64px; padding: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: var(--fs-b1); line-height: var(--lh-b1); font-weight: 700; color: var(--ink); }
.where-bar input::placeholder { color: var(--ink); opacity: 1; }
.where-bar:focus-within { box-shadow: inset 0 0 0 2px var(--ink); }
.addr-where.err .where-bar { box-shadow: inset 0 0 0 2px #c0392b; }
.addr-gps-msg:not(.bad) { display: none; }
.addr-where .where-bar input, .addr-where .where-bar input:focus { border: 0 !important; border-radius: 0; box-shadow: none !important; background: transparent !important; padding: 0 !important; outline: 0; }
.where-bar input::-webkit-calendar-picker-indicator { display: none !important; opacity: 0; }
@media (max-width: 760px) { .opt-eta { max-width: 96px; white-space: normal; } }
.addr-where .addr-sugg { position: static; margin-top: 8px; box-shadow: none; }
/* Saved addresses: edit and delete */
.addr-item { position: relative; display: flex; align-items: flex-start; gap: 8px; border-bottom: 1px solid var(--w84, #e6e6e6); }
.addr-item:last-child { border-bottom: 0; }
.addr-item .addr-row { flex: 1; min-width: 0; border-bottom: 0; }
.addr-acts { flex: none; display: flex; gap: 4px; padding-top: 24px; }
.addr-act { width: var(--tap, 44px); height: var(--tap, 44px); display: grid; place-items: center; border: 0; border-radius: 999px; background: none; cursor: pointer; color: var(--ink); }
.addr-act:hover { background: var(--w87, #f1ece8); }
.addr-act svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.addr-act[data-addr-del] { color: #c0392b; }
.addr-item.confirm .addr-acts { visibility: hidden; }
.addr-confirm { position: absolute; inset: 8px 0; display: flex; align-items: center; gap: 8px; padding: 0 16px; border-radius: 12px; background: #fdf0ee; }
.addr-confirm span { flex: 1; font-weight: 600; color: var(--ink); }
.btn.danger { background: #c0392b; color: var(--w55, #fff); }
/* First open on phones: splash, Welcome, alerts */
.fo-splash { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: var(--w55, #fff); transition: opacity .35s; }
.fo-splash .brand-name { font-size: var(--fs-h1); line-height: var(--lh-h1); color: var(--ink); }
.fo-splash.out { opacity: 0; }
.fo-welcome { position: fixed; inset: 0; z-index: 299; display: flex; flex-direction: column; background: var(--w55, #fff); overflow: auto; padding: 0 16px calc(24px + var(--sab, 0px)); transition: opacity .3s; }
.fo-welcome.out { opacity: 0; }
.fo-hero { position: relative; display: grid; place-items: center; height: 280px; margin: 0 -16px; overflow: hidden; }
.fo-dots { position: absolute; left: 50%; top: 24px; width: 520px; height: 232px; margin-left: -260px; background: url(../img/world-dots.svg) center / contain no-repeat; opacity: .9; }
.fo-index[hidden] { display: none; }
.fo-hero h1 { position: relative; margin: 96px 16px 0; text-align: center; font-family: var(--serif); font-weight: 600; font-size: var(--fs-h1); line-height: var(--lh-h1); color: var(--ink); }
.fo-rows { display: flex; flex-direction: column; margin-top: 24px; }
.fo-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 80px; padding: 16px 0; border: 0; border-bottom: 1px solid var(--w84, #e6e6e6); background: none; font: inherit; text-align: left; cursor: pointer; color: var(--ink); }
.fo-row span { display: flex; flex-direction: column; gap: 4px; }
.fo-row small { font-size: var(--fs-b2); line-height: var(--lh-b2); color: var(--ink-3); }
.fo-row b { font-size: var(--fs-b1); line-height: var(--lh-b1); font-weight: 700; }
.fo-row svg { width: 24px; height: 24px; flex: none; fill: none; stroke: var(--ink-3); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fo-go { margin-top: 48px; min-height: 56px; }
.fo-note { margin: 16px 0 0; text-align: center; font-size: var(--fs-b2); line-height: var(--lh-b2); color: var(--ink-3); }
.fo-note.left { text-align: left; }
.fo-alert-scrim { position: fixed; inset: 0; z-index: 298; display: grid; place-items: center; padding: 24px; background: rgba(0, 0, 0, .55); }
.fo-alert { position: relative; width: 100%; max-width: 400px; padding: 48px 24px 24px; border-radius: 24px; background: var(--w55, #fff); text-align: center; }
.fo-alert h2 { margin: 0 0 8px; font-size: var(--fs-h2); line-height: var(--lh-h2); font-weight: 700; color: var(--ink); }
.fo-alert p { margin: 0 0 24px; font-size: var(--fs-b2); line-height: var(--lh-b2); color: var(--ink-3); }
.fo-alert .btn { min-height: 56px; }
.fo-alert .fo-note { margin: 16px 0 0; }
.fo-x { position: absolute; top: 8px; right: 8px; width: var(--tap, 44px); height: var(--tap, 44px); display: grid; place-items: center; border: 0; border-radius: 999px; background: none; cursor: pointer; }
.fo-x svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
#foSheet { z-index: 302; } #foSheetScrim { z-index: 301; }
/* First-open pickers (Location / Language / Currency) */
.fo-pick-scrim { position: fixed; inset: 0; z-index: 301; background: rgba(0, 0, 0, .4); opacity: 0; transition: opacity .25s; }
.fo-pick-scrim.show { opacity: 1; }
.fo-pick { position: fixed; left: 0; right: 0; bottom: 0; z-index: 302; display: flex; flex-direction: column; max-height: 82%; background: var(--w55, #fff); border-radius: 16px 16px 0 0; transform: translateY(100%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.fo-pick.tall { height: 82%; }
.fo-pick.show { transform: none; }
.fo-pick-head { position: relative; display: flex; align-items: center; justify-content: center; min-height: 56px; border-bottom: 1px solid var(--w84, #e6e6e6); }
.fo-pick-head span { font-size: var(--fs-b1); line-height: var(--lh-b1); color: var(--ink-3); }
.fo-pick-x { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: var(--tap, 44px); height: var(--tap, 44px); display: grid; place-items: center; border: 0; background: none; cursor: pointer; }
.fo-pick-x svg { width: 18px; height: 18px; fill: none; stroke: var(--ink-3); stroke-width: 1.75; stroke-linecap: round; }
.fo-pick-body { position: relative; flex: 1; min-height: 0; overflow: auto; padding: 16px 16px calc(16px + var(--sab, 0px)); }
.fo-search { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 16px; border-radius: 4px; background: var(--w89, #f4f1ee); }
.fo-search svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--ink-3); stroke-width: 2; stroke-linecap: round; }
.fo-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: var(--fs-b1); line-height: var(--lh-b1); color: var(--ink); }
.fo-cur { display: flex; align-items: center; gap: 16px; width: 100%; min-height: 56px; margin-top: 16px; padding: 0; border: 0; background: none; font: inherit; text-align: left; cursor: pointer; color: var(--ink); }
.fo-cur svg { width: 24px; height: 24px; flex: none; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fo-cur b { font-size: var(--fs-b1); line-height: var(--lh-b1); }
.fo-cur span { font-size: var(--fs-b1); line-height: var(--lh-b1); color: var(--ink-3); }
.fo-sec { margin: 24px 0 8px; font-size: var(--fs-b1); line-height: var(--lh-b1); font-weight: 700; color: var(--ink); }
.fo-opt { display: flex; align-items: center; gap: 24px; width: calc(100% - 24px); min-height: 56px; padding: 16px 0; border: 0; border-bottom: 1px solid var(--w84, #e6e6e6); background: none; font: inherit; font-size: var(--fs-b1); line-height: var(--lh-b1); text-align: left; cursor: pointer; color: var(--ink); }
.fo-opt.chk { width: 100%; }
.fo-opt.chk b { font-weight: 400; min-width: 64px; }
.fo-opt.chk.on b { font-weight: 700; }
.fo-opt.chk span { flex: 1; color: var(--ink-3); }
.fo-opt.chk svg { width: 24px; height: 24px; margin-left: auto; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; visibility: hidden; }
.fo-opt.chk.on svg { visibility: visible; }
.fo-none { margin: 16px 0 0; font-size: var(--fs-b2); line-height: var(--lh-b2); color: var(--ink-3); }
.fo-index { position: fixed; right: 4px; top: 50%; z-index: 3; display: flex; flex-direction: column; transform: translateY(-30%); }
.fo-index button { min-width: 24px; min-height: 16px; padding: 0; border: 0; background: none; font: inherit; font-size: var(--fs-b3); line-height: var(--lh-b3); color: var(--ink); cursor: pointer; }
.fo-pick:not(.show) .fo-index { display: none; }
.fo-locnote { margin: 8px 0 0; font-size: var(--fs-b2); line-height: var(--lh-b2); color: #b3541e; }
.fo-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
/* First open: dark Welcome with Register / Log In */
.fo-auth { position: fixed; inset: 0; z-index: 303; display: flex; flex-direction: column; background: var(--w55, #fff); transform: translateX(100%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); overflow: auto; }
.fo-auth.show { transform: none; }
.fo-auth.out { opacity: 0; transition: opacity .3s; }
.fo-auth .appbar { position: sticky; top: 0; display: flex; align-items: center; min-height: 56px; padding: 0 8px; background: var(--w55, #fff); }
.fo-auth form { padding: 8px 16px calc(24px + var(--sab, 0px)); }
.fo-auth h1 { margin: 0 0 8px; font-family: var(--serif); font-weight: 600; font-size: var(--fs-h1); line-height: var(--lh-h1); color: var(--ink); }
.fo-auth-sub { margin: 0 0 24px; font-size: var(--fs-b2); line-height: var(--lh-b2); color: var(--ink-3); }
.fo-auth .field { margin-bottom: 16px; }
.fo-auth-go { margin-top: 8px; min-height: 56px; }
.fo-auth-alt { margin: 24px 0 0; text-align: center; font-size: var(--fs-b2); line-height: var(--lh-b2); color: var(--ink-3); }
/* Register / Log In steps */
.fo-auth .appbar { justify-content: space-between; }
.au-skip { border: 0; background: none; padding: 0 8px; min-height: var(--tap, 44px); font: inherit; font-size: var(--fs-b1); line-height: var(--lh-b1); font-weight: 700; color: var(--brand); cursor: pointer; }
#foAuthF { padding: 24px 16px calc(24px + var(--sab, 0px)); }
#foAuthF h1 { margin: 0 0 24px; text-align: center; }
.au-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-bottom: 24px; border-radius: 12px; background: var(--w87, #f1ece8); }
.au-seg button { min-height: 44px; border: 0; border-radius: 8px; background: none; font: inherit; font-size: var(--fs-b1); line-height: var(--lh-b1); font-weight: 600; color: var(--ink-3); cursor: pointer; }
.au-seg button.on { background: var(--w55, #fff); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.au-field { margin-bottom: 16px; }
.au-field label { display: block; margin-bottom: 8px; font-size: var(--fs-b2); line-height: var(--lh-b2); font-weight: 600; color: var(--ink-2, var(--ink)); }
.au-box { display: flex; align-items: center; min-height: 56px; border: 1px solid var(--line); border-radius: 12px; background: var(--w55, #fff); overflow: hidden; }
.au-box:focus-within { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.au-box input { flex: 1; min-width: 0; height: 56px; padding: 0 16px; border: 0; outline: 0; background: transparent; font: inherit; font-size: var(--fs-b1); line-height: var(--lh-b1); color: var(--ink); }
.au-cc { align-self: stretch; display: flex; align-items: center; padding: 0 16px; border-right: 1px solid var(--line); font-size: var(--fs-b1); line-height: var(--lh-b1); color: var(--ink); white-space: nowrap; }
.au-clear, .au-eye { flex: none; width: var(--tap, 44px); height: var(--tap, 44px); margin-right: 4px; display: grid; place-items: center; border: 0; background: none; cursor: pointer; color: var(--ink-3); }
.au-clear svg { width: 20px; height: 20px; fill: var(--ink-3); stroke: var(--w55, #fff); stroke-width: 2; stroke-linecap: round; }
.au-eye svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; }
.au-eye.on { color: var(--brand); }
.au-msg { margin: 8px 0 0; font-size: var(--fs-b2); line-height: var(--lh-b2); color: var(--ink-3); }
.au-msg:empty { display: none; }
.au-msg.ok { color: #1b7f4b; }
.au-msg.bad { color: #c0392b; }
.au-hint { margin: 8px 0 0; font-size: var(--fs-b2); line-height: var(--lh-b2); color: var(--ink-3); }
.au-err { margin: 0 0 16px; padding: 12px 16px; border-radius: 12px; background: #fdf0ee; font-size: var(--fs-b2); line-height: var(--lh-b2); color: #c0392b; }
.au-next { margin-top: 24px; min-height: 56px; }
.au-next:disabled { opacity: .4; cursor: default; }
.au-dob { width: 100%; padding: 0 16px; font: inherit; font-size: var(--fs-b1); line-height: var(--lh-b1); text-align: left; color: var(--ink); cursor: pointer; }
.au-dob .ph { color: var(--ink-3); }
.au-check { display: flex; align-items: flex-start; gap: 12px; margin: 24px 0 16px; cursor: pointer; font-size: var(--fs-b2); line-height: var(--lh-b2); color: var(--ink-3); }
.au-check input { position: absolute; opacity: 0; }
.au-check .box { flex: none; width: 28px; height: 28px; display: grid; place-items: center; border: 1.5px solid var(--w81, #c9bcb4); border-radius: 8px; }
.au-check .box svg { width: 18px; height: 18px; fill: none; stroke: var(--w55, #fff); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.au-check input:checked + .box { background: var(--brand); border-color: var(--brand); }
.au-check input:checked + .box svg { opacity: 1; }
.au-check input:focus-visible + .box { box-shadow: 0 0 0 3px var(--w31, rgba(43, 32, 36, .25)); }
.au-terms { margin: 0; font-size: var(--fs-b2); line-height: var(--lh-b2); color: var(--ink-3); }
.au-terms b { color: var(--ink); font-weight: 600; }
/* Date of birth wheel */
.wh-scrim { position: fixed; inset: 0; z-index: 310; background: rgba(0, 0, 0, .4); opacity: 0; transition: opacity .2s; }
.wh-scrim.show { opacity: 1; }
.wh { position: fixed; left: 8px; right: 8px; bottom: calc(8px + var(--sab, 0px)); z-index: 311; display: flex; flex-direction: column; gap: 8px; transform: translateY(110%); transition: transform .25s cubic-bezier(.2, .8, .2, 1); }
.wh.show { transform: none; }
.wh-card { border-radius: 16px; background: var(--w55, #fff); overflow: hidden; }
.wh-title { margin: 16px 0 8px; text-align: center; font-size: var(--fs-b2); line-height: var(--lh-b2); color: var(--ink-3); }
.wh-cols { position: relative; display: grid; grid-template-columns: 1fr 1.6fr 1.2fr; height: 220px; padding: 0 16px; }
.wh-band { position: absolute; left: 8px; right: 8px; top: 88px; height: 44px; border-radius: 10px; background: var(--w87, #f1ece8); pointer-events: none; }
.wh-col { position: relative; height: 220px; overflow-y: auto; scroll-snap-type: y mandatory; scrollbar-width: none; -webkit-mask: linear-gradient(transparent, #000 30%, #000 70%, transparent); mask: linear-gradient(transparent, #000 30%, #000 70%, transparent); }
.wh-col::-webkit-scrollbar { display: none; }
.wh-pad { height: 44px; }
.wh-item { height: 44px; display: grid; place-items: center; scroll-snap-align: center; font-size: var(--fs-b1); line-height: var(--lh-b1); color: var(--ink-3); cursor: pointer; }
.wh-item.on { color: var(--ink); font-weight: 700; }
.wh-ok, .wh-cancel { width: 100%; min-height: 56px; border: 0; background: var(--w55, #fff); font: inherit; font-size: var(--fs-b1); line-height: var(--lh-b1); font-weight: 600; color: var(--brand); cursor: pointer; }
.wh-ok { border-top: 1px solid var(--w84, #e6e6e6); }
.wh-cancel { border-radius: 16px; font-weight: 700; }
/* Location screen: rotating globe, title under the map, flags */
#foLoc .fo-hero { height: 240px; display: block; }
.fo-globe { display: block; width: 100%; height: 240px; }
.fo-loc-title { margin: 8px 0 0; text-align: center; font-family: var(--serif); font-weight: 600; font-size: var(--fs-h1); line-height: var(--lh-h1); color: var(--ink); }
.fo-flag { font-style: normal; font-size: var(--fs-h4); line-height: 1; }
.fo-row b { display: flex; align-items: center; gap: 8px; }
.fo-opt { gap: 16px; }
.fo-opt.sel span { font-weight: 700; }
.fo-cur b { display: flex; align-items: center; gap: 8px; }
/* currency list + charged-in-TZS note + flag in phone prefix */
.fo-opt.chk.cur { gap: 14px; }
.fo-opt.chk.cur b { min-width: 44px; }
.fo-opt.chk.cur span em { display: inline-block; min-width: 40px; font-style: normal; }
.fo-opt.chk.cur span small { font-size: var(--fs-b3); line-height: var(--lh-b3); color: var(--ink-3); }
.fx-note { margin: 10px 0 0; font-size: var(--fs-b3); line-height: var(--lh-b3); color: var(--ink-3); text-align: center; }
.au-cc { gap: 8px; }
.au-cc .fo-flag { font-size: var(--fs-b1); }
/* Settings */
.st { margin: 0; padding: 4px 16px 32px; background: var(--w90, #f2f0ee); min-height: calc(100vh - 220px); }
.st-title { margin: 8px 0 20px; font-size: var(--fs-h2); line-height: var(--lh-h2); font-weight: 600; text-align: center; }
.st-sec { margin: 22px 4px 8px; font-size: var(--fs-b2); line-height: var(--lh-b2); font-weight: 500; color: var(--ink-3); }
.st-card { background: var(--w55, #fff); border-radius: 16px; overflow: hidden; margin-bottom: 16px; }
.st-sec + .st-card { margin-bottom: 0; }
.st-row { display: flex; align-items: center; gap: 16px; width: 100%; min-height: 60px; padding: 0 16px; border: 0; background: none; font: inherit; font-size: var(--fs-b1); line-height: var(--lh-b1); color: var(--ink); text-align: left; cursor: pointer; position: relative; }
.st-row + .st-row::before { content: ""; position: absolute; top: 0; left: 56px; right: 0; border-top: 1px solid var(--line); }
.st-ico { width: 24px; height: 24px; flex: none; display: grid; place-items: center; }
.st-ico svg, .st-ch { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.st-lbl { flex: 1; font-weight: 500; }
.st-row > b { font-weight: 400; color: var(--ink-3); white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.st-ch { width: 20px; height: 20px; color: var(--ink-3); flex: none; }
.st-acc { cursor: default; }
.st-acc .st-lbl { font-weight: 700; }
.st-out { color: #b3261e; }
.st-card.st-end { margin-top: 24px; }
/* Log Out confirm */
.st-out-box { padding: 32px 24px 24px; }
.st-out-box p { font-size: var(--fs-b1); line-height: var(--lh-b1); }
.st-out-box .btn { border-radius: 999px; }
.st-out-box .st-out-yes { background: #b3261e; border-color: #b3261e; color: var(--w55, #fff); }
.st-out-box .st-out-no { margin-top: 12px; background: var(--w55, #fff); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
body.on-settings .top .search { display: none; }
/* Policy pages (full screen) */
.doc-view { position: fixed; inset: 0; z-index: 320; background: var(--w55, #fff); overflow-y: auto; -webkit-overflow-scrolling: touch; transform: translateX(100%); transition: transform .25s cubic-bezier(.2, .8, .2, 1); }
.doc-view.show { transform: none; }
.doc-view .appbar { background: var(--w25, rgba(255, 255, 255, .96)); }
.doc-view .appbar-title { margin: 0; text-align: center; padding-right: 40px; }
.doc { max-width: 720px; margin: 0 auto; padding: 16px 20px 48px; font-size: var(--fs-b2); line-height: var(--lh-b2); color: var(--ink-2, var(--ink)); }
.doc h2 { margin: 24px 0 8px; font-size: var(--fs-h4); line-height: var(--lh-h4); font-weight: 600; color: var(--ink); }
.doc p { margin: 0 0 10px; }
.doc ul { margin: 0 0 10px; padding-left: 20px; }
.doc li { margin-bottom: 6px; }
.doc a { color: var(--ink); text-decoration: underline; }
.doc-upd { color: var(--ink-3); font-size: var(--fs-b3); line-height: var(--lh-b3); }
.doc-contact { list-style: none; padding-left: 0 !important; }
.au-link { padding: 0; border: 0; background: none; font: inherit; font-weight: 700; color: inherit; text-decoration: underline; cursor: pointer; }
/* Rating & Feedback */
.fb-q { margin: 4px 0 16px; text-align: center; font-size: var(--fs-b1); line-height: var(--lh-b1); font-weight: 600; }
.fb-stars { display: flex; justify-content: center; gap: 8px; }
.fb-star { width: 48px; height: 48px; padding: 6px; border: 0; background: none; cursor: pointer; color: var(--w91, #d6ccc6); }
.fb-star svg { width: 100%; height: 100%; fill: currentColor; stroke: none; }
.fb-star.on { color: var(--w92, #e0a43a); }
.fb-lbl { margin: 6px 0 18px; text-align: center; min-height: 20px; font-size: var(--fs-b2); line-height: var(--lh-b2); color: var(--ink-3); }
.fb-field { display: block; }
.fb-field span { display: block; margin-bottom: 6px; font-size: var(--fs-b2); line-height: var(--lh-b2); font-weight: 500; }
.fb-field textarea { width: 100%; box-sizing: border-box; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; font: inherit; font-size: var(--fs-b1); line-height: var(--lh-b1); resize: vertical; background: var(--w55, #fff); color: var(--ink); }
.fb-err { margin: 10px 0 0; color: #b3261e; font-size: var(--fs-b2); line-height: var(--lh-b2); }
.st { padding-top: 12px; }
.st .st-sec:first-child { margin-top: 4px; }
[data-acct] .st-lbl { font-weight: 700; }
/* Account page */
.ac-view { background: var(--w90, #f2f0ee); z-index: 110; }
.ac-view .appbar { background: var(--w32, rgba(242, 240, 238, .96)); }
.ac-body { max-width: 720px; margin: 0 auto; padding: 0 16px 40px; }
.ac-body .st-card { margin-bottom: 0; }
.ac-row > b { max-width: 60%; overflow: hidden; text-overflow: ellipsis; }
.ac-add { color: var(--ink); text-decoration: underline; }
.ac-danger { color: #b3261e; }
.ac-load { padding: 40px 0; text-align: center; color: var(--ink-3); }
.ac-f { display: block; margin-bottom: 14px; }
.ac-f > span:first-child { display: block; margin-bottom: 6px; font-size: var(--fs-b2); line-height: var(--lh-b2); font-weight: 500; }
.ac-in { display: flex; align-items: center; min-height: 52px; border: 1px solid var(--line); border-radius: 12px; background: var(--w55, #fff); overflow: hidden; }
.ac-in input { flex: 1; min-width: 0; height: 50px; padding: 0 14px; border: 0; outline: 0; background: none; font: inherit; font-size: var(--fs-b1); color: var(--ink); }
.ac-in:focus-within { border-color: var(--ink); }
.ac-hint { margin: -6px 0 14px; font-size: var(--fs-b3); line-height: var(--lh-b3); color: var(--ink-3); }
.ac-warn { margin: 0 0 18px; font-size: var(--fs-b1); line-height: var(--lh-b1); color: var(--ink); }
.ac-dbtn { background: #b3261e; border-color: #b3261e; color: var(--w55, #fff); }
/* My orders */
.ords { padding: 8px 16px 32px; overflow-x: hidden; }
.ords-title { margin: 8px 0 16px; font-size: var(--fs-h2); line-height: var(--lh-h2); font-weight: 600; }
.ord { display: block; margin-bottom: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--w55, #fff); color: var(--ink); text-decoration: none; }
.ord-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: var(--fs-b1); line-height: var(--lh-b1); }
.ord-imgs { display: flex; gap: 8px; margin: 12px 0; }
.ord-imgs img { width: 52px; height: 52px; object-fit: contain; border-radius: 10px; background: var(--w93, #f7f3ef); }
.ord-meta { display: flex; justify-content: space-between; gap: 12px; font-size: var(--fs-b2); line-height: var(--lh-b2); color: var(--ink-3); }
.ord-meta b { color: var(--ink); white-space: nowrap; }
.ord-meta span::first-letter { text-transform: uppercase; }
.ord-tabs { display: flex; margin: 0 -16px 20px; border-bottom: 3px solid var(--w94, #eee); }
.ord-tab { flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; margin-bottom: -3px; border: 0; border-bottom: 3px solid transparent; background: none; font: inherit; font-size: var(--fs-b1); line-height: var(--lh-b1); font-weight: 500; color: var(--ink-3); cursor: pointer; }
.ord-tab svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ord-tab.on { color: var(--ink); border-bottom-color: var(--ink); }
.ords .ords-title { text-align: center; }
.ord-empty { margin-top: 18vh; }
.ord-item { cursor: pointer; }
/* Bottom bar: iPhone 49pt + home indicator (34pt), Android 56dp + gesture bar; 24pt icons, no labels.
   Round 44pt buttons, the same size on both phones. */
.app { --tabh: 49px; }
.app.android { --tabh: 56px; }
.ios .tabbar, .android .tabbar { height: calc(var(--tabh) + var(--sab, env(safe-area-inset-bottom, 0px))); align-items: center; box-sizing: border-box; background: none; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; justify-content: center; gap: 20px; padding: 0 16px var(--sab, env(safe-area-inset-bottom, 0px)); pointer-events: none; }
.ios .tab, .android .tab { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--w55, #fff); box-shadow: 0 4px 14px var(--w27, rgba(43, 32, 36, .14)), 0 0 0 1px var(--w0, rgba(43, 32, 36, .06)); justify-content: center; gap: 0; color: var(--ink-3); pointer-events: auto; }
.ios .tab-lbl, .android .tab-lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.android .tab-ico, .android .tab.on .tab-ico { width: auto; height: auto; border-radius: 0; background: none; }
.tab-ico svg { width: 24px; height: 24px; stroke-width: 1.7; }
.ios .tab.on, .android .tab.on { color: var(--ink); }
.tab.on .tab-ico svg { stroke-width: 2.4; }

/* Welcome (log in or sign up) */
.fo-welcome.wl { padding: 0 0 calc(24px + var(--sab, 0px)); background: var(--w55, #fff); color: var(--ink); }
.wl-hero { position: relative; flex: none; height: min(44vh, 380px); overflow: hidden; background: radial-gradient(60% 70% at 50% 40%, var(--w95, #fbeee9) 0%, var(--w55, #fff) 75%); }
.wl-photo { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; object-fit: cover; object-position: center top; background: var(--w55, #fff); }
.wl-body { padding: 24px 16px 0; }
.wl-body h1 { margin: 0 0 20px; font-size: var(--fs-h2); line-height: var(--lh-h2); font-weight: 700; }
.wl-row { display: flex; gap: 10px; width: 100%; }
.wl-cc { flex: none; display: flex; align-items: center; justify-content: center; gap: 6px; width: 96px; height: 56px; border: 0; border-radius: 14px; background: var(--w96, #f3efec); cursor: pointer; }
.wl-cc .fo-flag { font-size: 26px; }
.wl-cc svg { width: 18px; height: 18px; fill: var(--ink); stroke: none; }
.wl-in { flex: 1; min-width: 0; box-sizing: border-box; display: flex; align-items: center; gap: 6px; height: 56px; padding: 0 16px; border-radius: 14px; background: var(--w96, #f3efec); border: 2px solid transparent; }
.wl-in:focus-within { border-color: var(--ink); background: var(--w55, #fff); }
.wl-pre { font-size: var(--fs-b1); line-height: var(--lh-b1); color: var(--ink); }
.wl-in input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font: inherit; font-size: var(--fs-b1); color: var(--ink); }
.wl-err { margin: 10px 0 0; color: #b3261e; font-size: var(--fs-b2); line-height: var(--lh-b2); }
.wl-go { margin-top: 16px; min-height: 56px; border-radius: 14px; }
.wl-or { display: flex; align-items: center; gap: 14px; margin: 20px 0; color: var(--ink-3); font-size: var(--fs-b1); }
.wl-or::before, .wl-or::after { content: ""; flex: 1; border-top: 1px solid var(--w97, #cfc6c0); }
.wl-alt { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 56px; border: 0; border-radius: 14px; background: var(--w96, #f3efec); font: inherit; font-size: var(--fs-b1); line-height: var(--lh-b1); font-weight: 600; color: var(--ink); cursor: pointer; }
.wl-alt svg { width: 22px; height: 22px; }
.ord-none { display: block; width: 96px; height: 96px; margin: 0 auto 12px; fill: none; stroke: var(--ink); stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; }
.ord-none .fill { fill: var(--rose, var(--w98, #c98ea0)); stroke: none; }
.ord-none circle:not(:nth-of-type(n+3)) { fill: var(--ink); stroke: none; }
#wlAlt { display: flex; flex-direction: column; gap: 12px; }
.wl-logo { width: 22px; height: 22px; }
/* Country list for phone numbers */
.cc-search { margin: 0 0 8px; }
.cc-list { display: flex; flex-direction: column; }
.cc-row { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 52px; padding: 0 4px; border: 0; border-bottom: 1px solid var(--w94, #eee); background: none; font: inherit; font-size: var(--fs-b1); line-height: var(--lh-b1); color: var(--ink); text-align: left; cursor: pointer; }
.cc-row .fo-flag { font-size: 24px; }
.cc-row span { flex: 1; }
.cc-row b { font-weight: 400; color: var(--ink-3); }
.cc-row.on span { font-weight: 700; }
#ccSheetScrim { z-index: 310; } #ccSheet { z-index: 311; }
/* Choose your avatar */
.av-view { position: fixed; inset: 0; z-index: 320; display: flex; flex-direction: column; background: var(--w55, #fff); transform: translateY(100%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.av-view.show { transform: none; }
.av-view .appbar, .android .av-view .appbar, .ios .av-view .appbar { flex: none; background: var(--w55, #fff); height: 48px; min-height: 48px; padding-top: 0; }
.av-head { flex: none; padding: 0 16px; text-align: center; }
.av-head h1 { margin: 0 0 8px; font-size: var(--fs-h2); line-height: var(--lh-h2); font-weight: 700; }
.av-head p { margin: 0 0 24px; font-size: var(--fs-b1); line-height: var(--lh-b1); color: var(--ink-3); }
.av-big { width: 128px; height: 128px; margin: 0 auto 24px; border-radius: 50%; border: 2px dashed var(--w97, #cfc6c0); display: grid; place-items: center; overflow: hidden; background: var(--w44, #faf6f1); }
.av-big.picked { border: 3px solid var(--ink); background: none; }
.av-big img { width: 100%; height: 100%; object-fit: cover; }
.av-n { font-family: var(--serif); font-size: 48px; line-height: 1; color: var(--w97, #cfc6c0); }
.av-grid { flex: 1; min-height: 0; overflow-y: auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-content: start; padding: 4px 16px 24px; }
.av-opt { position: relative; aspect-ratio: 1; min-width: 48px; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; }
.av-opt img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.av-opt.on::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 3px solid var(--ink); }
.av-foot { flex: none; padding: 12px 16px calc(16px + var(--sab, 0px)); border-top: 1px solid var(--line); background: var(--w55, #fff); }
.av-err { margin: 0 0 12px; color: #b3261e; font-size: var(--fs-b2); line-height: var(--lh-b2); text-align: center; }
.av-foot .btn { min-height: 48px; }
.av-none { display: grid; place-items: center; border-radius: 50%; background: var(--w99, #f1eae4); font-family: var(--serif); color: var(--ink-3); }
.st-av { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex: none; font-size: 16px; }
.st-me .st-lbl { font-weight: 700; }
.tab-av { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; display: block; }
.tab.on .tab-av { box-shadow: 0 0 0 2px var(--ink); }
/* ---------------- Mobile web (phone browser, html.mweb) ---------------- */
.mweb .acct-btn { width: 44px; height: 44px; margin-left: auto; flex: none; display: grid; place-items: center; border-radius: 50%; }
.mweb .acct-btn svg { width: 24px; height: 24px; }
.mweb .acct-btn + .cart-pill { margin-left: 0; }
.mweb .top-inner { gap: 8px; }
.acct-av { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; display: block; }
.wl-web .wl-x { position: absolute; top: 12px; right: 16px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; background: var(--w33, rgba(255, 255, 255, .92)); box-shadow: 0 2px 8px var(--w2, rgba(43, 32, 36, .12)); }
.wl-note { margin: -12px 0 16px; font-size: var(--fs-b2); line-height: var(--lh-b2); color: var(--ink-3); }
.mweb .st { margin: 0; padding: 12px 16px 32px; box-sizing: border-box; background: none; min-height: 0; }
.mweb .brand { flex: 1; min-width: 0; }
.mweb .brand-name { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: clamp(19px, 5.4vw, 24px); }
.mweb .acct-btn { margin-left: 0; }
.cart-pill-ico { display: none; }
.mweb .cart-pill { padding: 0 6px 0 12px; gap: 6px; }
.mweb .cart-pill-total, .mweb .cart-pill-label { display: none; }
.mweb .cart-pill-ico { display: grid; place-items: center; }
.mweb .cart-pill-ico svg { width: 20px; height: 20px; stroke: var(--w55, #fff); fill: none; stroke-width: 1.8; }
/* Brand names link to the brand's page; they keep their look */
a.brand-link { color: inherit; text-decoration: none; display: inline-block; }
.info a.brandline { display: block; }
a.brand-link:hover { text-decoration: underline; text-underline-offset: 3px; }
a.brand-link:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
/* Mobile web: everything lines up 16 from both screen edges */
.mweb .menu-btn { margin-left: -2px; } /* the menu icon itself sits 16 from the left edge */
.mweb .modal-close { position: absolute; top: 16px; right: 16px; left: auto; } /* product page close button: inside the screen, top right */
.mweb .pd { grid-template-columns: minmax(0, 1fr); } .mweb .pd-body, .mweb .pd-media { min-width: 0; } /* product details never wider than the screen */
.mweb .pd-buy .qty { flex: none; } .mweb .pd-buy .btn { min-width: 0; padding-left: 12px; padding-right: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } /* buy row fits small phones */
/* Product cards on phones (mobile app + mobile web): a smaller − 1 + so it doesn't cover the product.
   The lone + and desktop stay as they are. Each button keeps a 44px-tall invisible tap area. */
.app .add .qty, .mweb .add .qty { height: 24px; box-shadow: 0 1px 6px var(--w9, rgba(43, 32, 36, .18)); }
.app .add .qty button, .mweb .add .qty button { position: relative; width: 22px; height: 24px; }
.app .add .qty button::after, .mweb .add .qty button::after { content: ""; position: absolute; left: 0; right: 0; top: -10px; bottom: -10px; }
.app .add .qty button svg, .mweb .add .qty button svg { width: 12px; height: 12px; }
.app .add .qty span, .mweb .add .qty span { min-width: 14px; font-size: var(--fs-b3); line-height: var(--lh-b3); }
/* Brands page: A to Z */
.az-index { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.az-index .chip { min-width: 44px; min-height: 44px; display: inline-grid; place-items: center; font-weight: 600; color: var(--ink); cursor: pointer; }
.az-wrap { max-width: 1480px; margin: 0 auto; padding: 8px var(--pad) 48px; display: grid; gap: 32px; }
.az-letter { font-family: var(--serif); font-size: 32px; line-height: 36px; font-weight: 600; margin: 0 0 8px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.az-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0 24px; }
.az-brand { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: var(--fs-b1); line-height: var(--lh-b1); }
.az-brand small { color: var(--ink-3); font-size: var(--fs-b3); line-height: var(--lh-b3); white-space: nowrap; }
.az-brand:hover span { text-decoration: underline; text-underline-offset: 3px; }
.az-brand:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
@media (max-width: 760px) { .az-list { grid-template-columns: minmax(0, 1fr); } .az-wrap { gap: 24px; padding-bottom: 32px; } .az-letter { font-size: 28px; line-height: 32px; } }
.app .az-wrap { padding-bottom: calc(var(--tabh) + var(--sab, 0px) + var(--bw) * .25 + 48px); }
/* Scheduled delivery: day chips + time windows (like the referenced schedule sheet) */
.sl-days { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px 8px; padding: 4px 16px 12px; }
.sl-days::-webkit-scrollbar { display: none; }
.sl-day { flex: none; min-width: 104px; min-height: 56px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--w55, #fff); text-align: left; font: inherit; cursor: pointer; display: flex; flex-direction: column; justify-content: center; }
.sl-day b { font-size: var(--fs-b2); line-height: var(--lh-b2); font-weight: 600; color: var(--ink); }
.sl-day span { font-size: var(--fs-b3); line-height: var(--lh-b3); color: var(--ink-3); }
.sl-day.on { border: 2px solid var(--ink); padding: 7px 11px; }
.sl-list { display: flex; flex-direction: column; }
.sl-win { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 52px; padding: 0 4px; border: 0; border-bottom: 1px solid var(--w94, #eee); background: none; font: inherit; font-size: var(--fs-b1); line-height: var(--lh-b1); color: var(--ink); text-align: left; cursor: pointer; }
.sl-win i { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--w42, #8f8386); flex: none; }
.sl-win.on i { border: 6px solid var(--ink); }
.sl-foot { display: flex; flex-direction: column; gap: 8px; }
.sl-cancel { background: var(--w87, #f1ece8); color: var(--ink); border-color: var(--w87, #f1ece8); }
.slot-on { font-weight: 600; color: var(--ink); }
.slot-change { padding: 0; border: 0; background: none; font: inherit; color: var(--ink); text-decoration: underline; cursor: pointer; }

/* Desktop: profile icon next to the trolley, log in as a centred window, profile page as a centred column */
html:not(.mweb) .acct-btn { width: 44px; height: 44px; margin-left: 4px; flex: none; display: grid; place-items: center; border-radius: 50%; }
html:not(.mweb) .acct-btn svg { width: 24px; height: 24px; }
html:not(.mweb) .acct-btn .acct-av { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
html:not(.mweb) .top-inner .search { max-width: none; }
html:not(.mweb) .wl-dim { position: fixed; inset: 0; z-index: 298; background: var(--w34, rgba(36, 27, 30, .45)); }
html:not(.mweb) .fo-welcome.wl-web { inset: auto; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 440px; max-width: calc(100vw - 32px); max-height: calc(100vh - 48px); border-radius: 24px; box-shadow: 0 24px 64px var(--w15, rgba(36, 27, 30, .3)); }
html:not(.mweb) .st { max-width: 720px; margin: 0 auto; padding: 24px 16px 48px; background: none; min-height: 0; }
/* Desktop: the log in / register steps open in the same centred window as the welcome screen */
html:not(.mweb) .fo-auth { inset: auto; top: 50%; left: 50%; width: 440px; max-width: calc(100vw - 32px); max-height: calc(100vh - 48px); border-radius: 24px; box-shadow: 0 24px 64px var(--w15, rgba(36, 27, 30, .3)); transform: translate(-50%, -50%) scale(.97); opacity: 0; transition: transform .25s ease, opacity .25s ease; }
html:not(.mweb) .fo-auth.show { transform: translate(-50%, -50%); opacity: 1; }
html:not(.mweb) .fo-auth .appbar { border-radius: 24px 24px 0 0; }
html:not(.mweb) body:has(#foAuth.show) #foWelcome { visibility: hidden; }
/* Desktop welcome window: no scrolling — the picture shrinks to the space left, buttons always fit */
html:not(.mweb) .fo-welcome.wl-web { overflow: hidden; padding-bottom: 20px; }
html:not(.mweb) .wl-web .wl-hero { flex: 1 1 340px; height: auto; min-height: 72px; max-height: 340px; }
html:not(.mweb) .wl-web .wl-body { flex: none; padding-top: 20px; }
html:not(.mweb) .wl-web .wl-body h1 { margin-bottom: 16px; }
html:not(.mweb) .wl-web .wl-cc, html:not(.mweb) .wl-web .wl-in { height: 52px; }
html:not(.mweb) .wl-web .wl-go, html:not(.mweb) .wl-web .wl-alt { min-height: 52px; }
html:not(.mweb) .wl-web .wl-go { margin-top: 12px; }
html:not(.mweb) .wl-web .wl-or { margin: 14px 0; }
@media (max-height: 700px) {
  html:not(.mweb) .fo-auth .appbar { min-height: 48px; }
  html:not(.mweb) .fo-auth form { padding-top: 4px; padding-bottom: 16px; }
  html:not(.mweb) .fo-auth h1 { font-size: 32px; line-height: 40px; }
  html:not(.mweb) .fo-auth .field { margin-bottom: 12px; }
  html:not(.mweb) .fo-auth-go { min-height: 52px; }
  html:not(.mweb) .fo-auth-alt { margin-top: 16px; }
  html:not(.mweb) .fo-auth .au-seg { margin-bottom: 16px; }
  html:not(.mweb) .fo-auth .au-field { margin-bottom: 12px; }
  html:not(.mweb) .fo-auth .au-msg:empty { display: none; }
  html:not(.mweb) .fo-auth .au-box { min-height: 52px; }
  html:not(.mweb) .fo-auth .au-next { margin-top: 16px; min-height: 52px; }
}

/* Desktop log in / register window: same look as the welcome window, with the same picture on top */
html:not(.mweb) .fo-auth { display: flex; flex-direction: column; overflow-x: hidden; }
html:not(.mweb) .fo-auth .wl-hero { flex: 1 1 300px; height: auto; min-height: 72px; max-height: 300px; border-radius: 24px 24px 0 0; }
html:not(.mweb) .fo-auth .appbar { position: absolute; top: 12px; left: 16px; z-index: 3; min-height: 0; padding: 0; background: none; border: 0; box-shadow: none; }
html:not(.mweb) .fo-auth .back-btn { width: 44px; height: 44px; border-radius: 50%; background: var(--w33, rgba(255, 255, 255, .92)); box-shadow: 0 2px 8px var(--w2, rgba(43, 32, 36, .12)); }
html:not(.mweb) .fo-auth .au-skip { position: fixed; top: 12px; right: 16px; padding: 0 16px; border-radius: 999px; background: var(--w33, rgba(255, 255, 255, .92)); box-shadow: 0 2px 8px var(--w2, rgba(43, 32, 36, .12)); }
html:not(.mweb) .fo-auth form { flex: none; padding: 20px 16px 20px; }
html:not(.mweb) .fo-auth h1, html:not(.mweb) #foAuthF h1 { margin: 0 0 16px; font-family: inherit; font-size: var(--fs-h2); line-height: var(--lh-h2); font-weight: 700; text-align: left; }
html:not(.mweb) .fo-auth .au-box { min-height: 52px; border: 2px solid transparent; border-radius: 14px; background: var(--w96, #f3efec); box-shadow: none; }
html:not(.mweb) .fo-auth .au-box:focus-within { border-color: var(--ink); background: var(--w55, #fff); box-shadow: none; }
html:not(.mweb) .fo-auth .au-box input { height: 48px; }
html:not(.mweb) .fo-auth .au-next { margin-top: 12px; min-height: 52px; border-radius: 14px; }

/* Desktop shelves: every product the same size, starting on the same left line as its price and name */
html:not(.mweb) .item-stand { justify-content: flex-start; padding: 0 4px; }
html:not(.mweb) .item-stand img { width: auto; height: auto; max-height: 168px; max-width: calc(100% - 56px); object-position: left bottom; }

/* Desktop: Saved items (heart) and Notifications (bell) */
.hd-btn { position: relative; width: 44px; height: 44px; flex: none; color: var(--ink); }
.hd-btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hd-btn:hover, .hd-btn[aria-expanded="true"] { background: var(--w0, rgba(43, 32, 36, .06)); }
.hd-btn + .hd-btn { margin-left: -4px; }
.hd-btn + .cart-pill { margin-left: 4px; }
.hd-count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--brand); color: var(--w55, #fff); font-size: 11px; line-height: 18px; font-weight: 700; text-align: center; }
.hd-dot { position: absolute; top: 9px; right: 11px; width: 9px; height: 9px; border-radius: 50%; background: var(--w100, #d1435b); box-shadow: 0 0 0 2px var(--w55, #fff); }
.save-btn { position: absolute; top: 8px; right: 8px; z-index: 2; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--w33, rgba(255, 255, 255, .92)); box-shadow: 0 1px 4px var(--w2, rgba(43, 32, 36, .12)); color: var(--ink); cursor: pointer; }
.save-btn svg, .pd-save svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.save-btn:hover { background: var(--w55, #fff); }
.save-btn.on, .pd-save.on { color: var(--w100, #d1435b); }
.save-btn.on svg, .pd-save.on svg { fill: currentColor; }
.pd-save { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; margin: 4px 0 16px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--w55, #fff); font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; }
.pd-save.on span { color: var(--ink); }
.nt-panel { position: fixed; z-index: 260; width: 380px; max-width: calc(100vw - 32px); max-height: min(70vh, 560px); overflow: auto; background: var(--w55, #fff); border-radius: 16px; box-shadow: 0 16px 48px var(--w35, rgba(36, 27, 30, .2)); }
.nt-head { position: sticky; top: 0; padding: 16px 16px 12px; background: var(--w55, #fff); border-bottom: 1px solid var(--line); }
.nt-head h2 { margin: 0; font-size: 17px; line-height: 24px; font-weight: 700; }
.nt-list { list-style: none; margin: 0; padding: 4px 0; }
.nt-item { display: flex; gap: 12px; padding: 12px 16px; color: var(--ink); text-decoration: none; }
.nt-item:hover { background: var(--w101, #faf6f2); }
.nt-item.new { background: var(--w102, #fbf1f2); }
.nt-ico { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--w96, #f3efec); }
.nt-ico svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nt-txt { display: flex; flex-direction: column; min-width: 0; font-size: 14px; line-height: 20px; }
.nt-txt b { font-weight: 700; }
.nt-txt span { color: var(--ink-2, var(--ink)); }
.nt-txt time { margin-top: 2px; font-size: 12px; color: var(--ink-3); }
.nt-empty { margin: 0; padding: 24px 16px 28px; font-size: 14px; line-height: 20px; color: var(--ink-3); }

/* Desktop: smaller trolley total, so the heart and bell fit beside it */
html:not(.mweb) .cart-pill { height: 38px; gap: 6px; padding: 0 4px 0 14px; }
html:not(.mweb) .cart-pill-label { font-size: 12px; line-height: 16px; }
html:not(.mweb) .cart-pill-total { font-size: 14px; line-height: 20px; }
html:not(.mweb) .cart-pill-count { min-width: 30px; height: 30px; padding: 0 7px; font-size: 13px; line-height: 18px; }

.save-btn:not(.on) { opacity: 0; transition: opacity .15s; }
.item:hover .save-btn, .save-btn:focus-visible { opacity: 1; }

/* Phones: heart and bell at the end of the search bar row, notifications as a sheet */
.mweb .top-inner .search, .app .top-inner .search { flex: 1 1 calc(100% - 104px); }
.mweb .hd-btn, .app .hd-btn { order: 4; width: 40px; height: 40px; }
.mweb .hd-btn svg, .app .hd-btn svg { width: 22px; height: 22px; }
.mweb .hd-btn + .hd-btn, .app .hd-btn + .hd-btn { margin-left: 0; }
.mweb .hd-count, .app .hd-count { top: 0; right: -2px; }
.mweb .hd-dot, .app .hd-dot { top: 8px; right: 10px; }
.nt-sheet { margin: 0 -24px; }
.nt-sheet .nt-list { padding: 0 0 8px; }
.nt-sheet .nt-item { padding: 12px 24px; }
.nt-sheet .nt-empty { padding: 8px 24px 24px; }
.pd-save { margin-top: 0; }
/* "Turn on alerts" popup (mobile app): the title and the note each on one line */
.fo-alert #foAlertT, .fo-alert .fo-note { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* The phone's own notification prompt, drawn in the preview frames (iPhone and Android system style) */
.sys-scrim { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 24px; background: rgba(0, 0, 0, .35); opacity: 0; transition: opacity .2s; font-family: -apple-system, system-ui, "Segoe UI", Roboto, sans-serif; }
.sys-scrim.show { opacity: 1; }
.ios-alert { width: 270px; border-radius: 14px; background: rgba(242, 242, 247, .96); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); overflow: hidden; text-align: center; transform: scale(1.1); transition: transform .2s; }
.sys-scrim.show .ios-alert { transform: none; }
.ios-body { padding: 19px 16px 15px; }
.ios-body h2 { margin: 0 0 4px; font-size: 17px; line-height: 22px; font-weight: 600; color: #000; }
.ios-body p { margin: 0; font-size: 13px; line-height: 18px; color: #000; }
.ios-btns { display: grid; grid-template-columns: 1fr 1fr; border-top: .5px solid rgba(60, 60, 67, .29); }
.ios-btns button { min-height: 44px; border: 0; background: none; font: inherit; font-size: 17px; color: #007aff; cursor: pointer; }
.ios-btns button + button { border-left: .5px solid rgba(60, 60, 67, .29); font-weight: 600; }
.and-alert { width: 312px; padding: 24px 24px 16px; border-radius: 28px; background: #eef0f6; text-align: center; color: var(--w103, #1b1b1f); transform: translateY(16px); transition: transform .2s; }
.sys-scrim.show .and-alert { transform: none; }
.and-ico { width: 24px; height: 24px; fill: #3f5f90; margin-bottom: 16px; }
.and-alert h2 { margin: 0 0 24px; font-size: 24px; line-height: 32px; font-weight: 400; }
.and-alert h2 b { font-weight: 600; }
.and-btn { display: block; width: 100%; min-height: 48px; margin-top: 8px; border: 0; border-radius: 999px; background: #dfe3ec; font: inherit; font-size: 14px; font-weight: 500; color: var(--w103, #1b1b1f); cursor: pointer; }
.and-btn:first-of-type { background: #3f5f90; color: var(--w55, #fff); }

/* Desktop: the top bar is the same on every page (search bar always there, nothing moves); room for the scrollbar is
   always kept so short pages don't shift the bar sideways */
html:not(.mweb) { scrollbar-gutter: stable; }
html:not(.mweb) body.on-settings .top .search { display: block; }

/* Phones (browser and app): every product the same size, starting on the same left line as its price and name */
.mweb .item-stand, .app .item-stand { justify-content: flex-start; padding: 0 8px; }
.mweb .item-stand img, .app .item-stand img { width: auto; height: auto; max-height: 132px; max-width: calc(100% - 16px); object-position: left bottom; }

/* Desktop Brands page */
.bz { max-width: 1480px; margin: 0 auto; padding: 24px var(--pad) 64px; }
.bz-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.bz-head h1 { margin: 6px 0 4px; font-family: var(--serif); font-weight: 600; font-size: 44px; line-height: 52px; }
.bz-head p { margin: 0; color: var(--ink-3); }
.bz-find { position: relative; flex: 0 1 340px; }
.bz-find svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--ink-3); pointer-events: none; }
.bz-find input { width: 100%; height: 44px; padding: 0 16px 0 46px; border: 1px solid var(--line); border-radius: 999px; background: var(--w55, #fff); font: inherit; color: var(--ink); outline: 0; }
.bz-find input:focus { border-color: var(--w57, #d7c3b6); box-shadow: 0 0 0 4px var(--w4, rgba(169, 93, 105, .1)); }
.bz-bar { position: sticky; top: 113px; z-index: 5; display: flex; justify-content: space-between; gap: 4px; margin: 0 calc(var(--pad) * -1) 32px; padding: 10px var(--pad); background: var(--w24, rgba(250, 246, 241, .94)); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bz-l { flex: 1; min-width: 0; max-width: 44px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 10px; background: none; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; }
.bz-l:hover { background: var(--w55, #fff); box-shadow: 0 1px 3px var(--w23, rgba(43, 32, 36, .1)); }
.bz-l.off { color: var(--w104, #cfc5bf); cursor: default; }
.bz-sec { margin: 0 0 16px; font-size: 13px; line-height: 18px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.bz-tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin-bottom: 48px; }
.bz-tile { display: flex; flex-direction: column; gap: 2px; padding: 12px 12px 16px; border-radius: 16px; background: var(--w55, #fff); color: var(--ink); text-decoration: none; box-shadow: 0 1px 2px var(--w1, rgba(43, 32, 36, .05)); transition: transform .2s, box-shadow .2s; }
.bz-tile:hover { transform: translateY(-3px); box-shadow: 0 10px 24px var(--w23, rgba(43, 32, 36, .1)); }
.bz-pics { display: flex; align-items: flex-end; justify-content: center; gap: 4px; height: 128px; margin-bottom: 10px; padding: 12px 8px 10px; border-radius: 12px; background: linear-gradient(180deg, var(--w105, #f8f1eb), var(--w106, #f1e7df)); }
.bz-pics img { min-width: 0; max-width: 34%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 4px 4px var(--w36, rgba(60, 40, 30, .1))); }
.bz-tile b { font-size: 16px; line-height: 22px; font-weight: 600; }
.bz-tile small { color: var(--ink-3); font-size: 13px; }
.bz-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: start; }
.bz-card { scroll-margin-top: 180px; padding: 16px 8px 8px; border-radius: 16px; background: var(--w55, #fff); box-shadow: 0 1px 2px var(--w1, rgba(43, 32, 36, .05)); }
.bz-card h2 { margin: 0 8px 8px; font-family: var(--serif); font-weight: 600; font-size: 32px; line-height: 36px; }
.bz-card ul { list-style: none; margin: 0; padding: 0; }
.bz-card a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 0 8px; border-radius: 10px; color: var(--ink); text-decoration: none; }
.bz-card a:hover { background: var(--w69, #f6efe9); }
.bz-card a small { min-width: 26px; height: 22px; padding: 0 8px; border-radius: 999px; background: var(--w96, #f3efec); color: var(--ink-3); font-size: 12px; line-height: 22px; text-align: center; }
.bz-none { margin: 24px 0 0; color: var(--ink-3); }
@media (max-width: 1180px) { .bz-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } .bz-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Desktop: free delivery on the far left, opening hours on the far right, lined up with the top bar edges */
html:not(.mweb) .announce { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-left: max(var(--pad), calc((100% - 1480px) / 2 + var(--pad))); padding-right: max(var(--pad), calc((100% - 1480px) / 2 + var(--pad))); text-align: left; }
html:not(.mweb) .announce .ann-sep { display: none; }

/* Brands page on phones (browser and app) */
.mweb .bz, .app .bz { padding: 16px 16px 32px; }
.mweb .bz-head, .app .bz-head { flex-direction: column; align-items: stretch; gap: 16px; margin-bottom: 16px; }
.mweb .bz-head h1, .app .bz-head h1 { font-size: 34px; line-height: 40px; }
.mweb .bz-find, .app .bz-find { flex: none; }
.mweb .bz-bar, .app .bz-bar { justify-content: flex-start; gap: 2px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px 24px; padding: 8px 16px; }
.mweb .bz-bar::-webkit-scrollbar, .app .bz-bar::-webkit-scrollbar { display: none; }
.mweb .bz-l, .app .bz-l { flex: none; width: 36px; max-width: none; height: 40px; }
.mweb .bz-tiles, .app .bz-tiles { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; margin: 0 -16px 32px; padding: 0 16px 4px; scroll-padding: 0 16px; }
.mweb .bz-tiles::-webkit-scrollbar, .app .bz-tiles::-webkit-scrollbar { display: none; }
.mweb .bz-tile, .app .bz-tile { flex: none; width: 150px; scroll-snap-align: start; }
.mweb .bz-tile:hover, .app .bz-tile:hover { transform: none; }
.mweb .bz-pics, .app .bz-pics { height: 104px; }
.mweb .bz-grid, .app .bz-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mweb .bz-card, .app .bz-card { padding: 12px 4px 4px; }
.mweb .bz-card h2, .app .bz-card h2 { font-size: 28px; line-height: 32px; margin: 0 8px 4px; }
.mweb .bz-card a, .app .bz-card a { gap: 8px; font-size: 14px; }
.mweb .bz-card a span, .app .bz-card a span { min-width: 0; padding: 6px 0; line-height: 18px; overflow-wrap: anywhere; }
.mweb .bz-card a small, .app .bz-card a small { flex: none; }

/* Phones: the trolley opens from the bottom so the shelves stay visible above it,
   and an item taken out flies back up to its place on the shelf */
.app .drawer, .mweb .drawer { top: auto; left: 0; right: 0; width: 100%; height: 62vh; height: 62dvh; border-radius: 16px 16px 0 0; transform: translateY(105%); box-shadow: 0 -8px 30px var(--w37, rgba(36, 27, 30, .18)); }
.app .drawer.open, .mweb .drawer.open { transform: none; }
.app .scrim, .mweb .scrim { background: var(--w38, rgba(36, 27, 30, .22)); }
.app .bk-fly.bk-fly-top, .mweb .bk-fly.bk-fly-top { z-index: 85; }

/* Phone browser: bottom navigation bar and Sign in strip; the top bar keeps only menu, shop name and search */
.mw-dock { display: none; }
.mweb { --mwnav: 60px; --mwsign: 48px; }
.mweb .mw-dock { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; }
.mweb #acctBtn, .mweb #cartPill, .mweb .top .menu-btn { display: none !important; }
.mweb .top-inner .search { flex: 1 1 100%; }
.mw-sign { display: flex; align-items: center; gap: 10px; min-height: var(--mwsign); padding: 6px 12px 6px 16px; background: var(--w95, #fbeee9); border-top: 1px solid var(--w107, #f1dcd3); }
.mw-sign[hidden] { display: none; }
.mw-sign-ico { flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; background: var(--w55, #fff); color: var(--w100, #d1435b); }
.mw-sign-ico svg { width: 16px; height: 16px; fill: currentColor; stroke: currentColor; }
.mw-sign-txt { flex: 1; min-width: 0; font-size: 13px; line-height: 18px; font-weight: 600; color: var(--ink); }
.mw-sign-btn { flex: none; height: 34px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--brand); color: var(--w55, #fff); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.mw-nav { display: flex; height: calc(var(--mwnav) + var(--sab, env(safe-area-inset-bottom, 0px))); padding-bottom: var(--sab, env(safe-area-inset-bottom, 0px)); background: var(--w55, #fff); border-top: 1px solid var(--line); box-shadow: 0 -4px 16px var(--w1, rgba(43, 32, 36, .05)); }
.mw-tab { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 0; background: none; padding: 0; font: inherit; color: var(--ink-3); text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.mw-tab.on { color: var(--ink); }
.mw-ico { position: relative; width: 26px; height: 26px; display: grid; place-items: center; }
.mw-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mw-tab.on .mw-ico svg { stroke-width: 2.2; }
.mw-av { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.mw-tab.on .mw-av { box-shadow: 0 0 0 2px var(--ink); }
.mw-lbl { font-size: 11px; line-height: 14px; font-weight: 600; }
.mw-badge { position: absolute; top: -4px; left: 15px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--w100, #d1435b); color: var(--w55, #fff); font-size: 11px; line-height: 18px; font-style: normal; font-weight: 700; text-align: center; box-shadow: 0 0 0 2px var(--w55, #fff); }
.mw-dot { position: absolute; top: 1px; right: 2px; width: 9px; height: 9px; border-radius: 50%; background: var(--w100, #d1435b); box-shadow: 0 0 0 2px var(--w55, #fff); }
.mw-badge[hidden], .mw-dot[hidden] { display: none; }
.mweb main { padding-bottom: calc(var(--mwnav) + var(--mwsign) + var(--sab, 0px) + 16px); }
.mweb.mw-signed main { padding-bottom: calc(var(--mwnav) + var(--sab, 0px) + 16px); }
.mweb .foot { padding-bottom: calc(var(--mwnav) + var(--mwsign) + var(--sab, 0px) + 24px); }
.mweb .toast { top: auto; bottom: calc(var(--mwnav) + var(--mwsign) + var(--sab, 0px) + 12px); transform: translate(-50%, 200px); }

/* Phone browser: the trolley basket sits behind the bottom bar, rim on the bar's top edge (as in the app) */
.mweb { --mwdock: calc(var(--mwnav) + var(--mwsign)); }
/* the front rim (y 20–38 of the 120-high drawing) ends exactly on the top edge of the strip / bar */
.mweb .trolley { bottom: calc(var(--mwdock) - var(--bw) * 0.3417); z-index: 50; }
.mweb main, .mweb.mw-signed main { padding-bottom: calc(var(--mwdock) + var(--bw) * .25 + var(--bw) * .24 + 24px); }
.mweb .foot { padding-bottom: calc(var(--mwdock) + var(--bw) * .25 + 24px); }
.mweb .toast { bottom: calc(var(--mwdock) + var(--bw) * .25 + 12px); }

/* Phone browser top bar: menu on the left, shop name in the middle, Saved (heart) on the right; search below */
.mweb .top-inner .brand { flex: 1; min-width: 0; justify-content: center; margin: 0; text-align: center; }
.mweb .top #savedBtn { order: 2; width: 44px; height: 44px; margin: 0 -2px 0 0; }
.mweb .top .menu-btn { width: 44px; height: 44px; }
.mweb .top-inner .search { order: 3; flex: 1 1 100%; }
/* hidden pop-up messages stay fully out of sight above the bottom bar */
.mweb .toast { opacity: 0; transition: transform .25s ease, opacity .2s ease; }
.mweb .toast.show { opacity: 1; }

/* Phones: the welcome screen and the Welcome back screen fit on one page, no scrolling.
   The picture on top gives up height first; the form below always shows in full. */
.app .fo-welcome.wl, .mweb .fo-welcome.wl { overflow: hidden; overscroll-behavior: none; }
.app .fo-welcome.wl .wl-hero, .mweb .fo-welcome.wl .wl-hero { flex: 1 1 auto; height: auto; min-height: 0; max-height: 380px; }
.app .fo-welcome.wl .wl-body, .mweb .fo-welcome.wl .wl-body { flex: none; }
.app .fo-auth, .mweb .fo-auth { overflow: hidden; overscroll-behavior: none; }
@media (max-height: 760px) {
  .app .fo-welcome.wl .wl-body, .mweb .fo-welcome.wl .wl-body { padding-top: 16px; }
  .app .fo-welcome.wl .wl-body h1, .mweb .fo-welcome.wl .wl-body h1 { margin-bottom: 14px; }
  .app .wl-cc, .app .wl-in, .mweb .wl-cc, .mweb .wl-in { height: 50px; }
  .app .wl-go, .app .wl-alt, .mweb .wl-go, .mweb .wl-alt { min-height: 50px; }
  .app .wl-go, .mweb .wl-go { margin-top: 12px; }
  .app .wl-or, .mweb .wl-or { margin: 12px 0; }
  .app #wlAlt, .mweb #wlAlt { gap: 10px; }
  .app .fo-welcome.wl, .mweb .fo-welcome.wl { padding-bottom: calc(16px + var(--sab, 0px)); }
}

/* App Welcome screen: Skip (go shopping without logging in) */
.wl-skip { position: absolute; top: 12px; right: 16px; z-index: 3; height: 36px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--w33, rgba(255, 255, 255, .92)); box-shadow: 0 2px 8px var(--w2, rgba(43, 32, 36, .12)); font: inherit; font-size: var(--fs-b2); font-weight: 600; color: var(--ink); cursor: pointer; }

/* App: the free-delivery line at the top shows only on the checkout screen */
.app body:not(.on-checkout) .announce { display: none; }

/* App: one background colour for the whole screen — the top bar is the page colour, with no dividing line or blur */
.app .top { background: var(--w39, rgb(250, 246, 241)); border-bottom: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }

/* Product details: the product fills its picture area (sized to the screen) so the label can be read */
.pd-media img { width: 84%; height: min(560px, 62vh); max-width: none; max-height: none; object-fit: contain; }
.app .pd-media, .mweb .pd-media { min-height: 0; padding: 28px 16px 24px; }
.app .pd-media img, .mweb .pd-media img { width: 80%; height: min(360px, 44vh); max-height: none; }

/* Desktop: the basket's rim rests on the footer's top edge and the basket goes behind the footer */
html:not(.mweb) .foot { position: relative; z-index: 26; padding-bottom: 32px; }

/* App popups (e.g. Turn on alerts): same size and equal side margins on every phone, never wider than the screen */
.fo-alert-scrim { grid-template-columns: minmax(0, 400px); justify-content: center; }
.fo-alert { min-width: 0; }

/* App home page: the shop name in the middle of the top bar (trolley stays on the right) */
.app body.on-home .top-inner { position: relative; }
.app body.on-home .brand { position: absolute; left: 50%; top: 10px; height: 38px; display: flex; align-items: center; margin: 0; transform: translateX(-50%); white-space: nowrap; }
.app body.on-home .cart-pill { margin-left: auto; }

/* App Categories page (Categories tab): same cards and rows as the profile page */
a.st-row.cg-row { text-decoration: none; color: var(--ink); }
.cg .cg-title { margin: 8px 4px 16px; font-family: var(--serif); font-weight: 600; font-size: 32px; line-height: 38px; }
.cg .st-sec:first-of-type { margin-top: 22px; }

.st.cg { background: none; min-height: 0; }
.cg .st-row + .st-row::before { left: 16px; }

/* App home page: the trolley button is a trolley icon with the number of items inside the basket */
.cart-ico-home { display: none; }
.app body.on-home .top-inner { padding-top: 56px; }
.app body.on-home .brand { top: 10px; }
.app body.on-home .cart-pill { position: absolute; right: var(--pad); top: 7px; height: 44px; padding: 0 2px; gap: 0; background: none; box-shadow: none; color: var(--ink); }
.app body.cart-icon .cart-pill > :not(.cart-ico-home) { display: none; }
.app body.cart-icon .cart-ico-home { position: relative; display: block; width: 40px; height: 35px; }
.app body.cart-icon .cart-ico-home svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.app body.cart-icon .cart-ico-home circle { fill: currentColor; stroke: none; }
.app body.cart-icon .cart-ico-home b { position: absolute; left: 24%; width: 64%; top: 27%; height: 32%; display: grid; place-items: center; font-size: 12px; line-height: 1; font-weight: 700; color: var(--ink); }

/* Phone browser: at the page end the basket rim rests on the footer and the basket goes behind it (bar stays on top) */
.mweb .foot { position: relative; z-index: 52; }

.mweb .top { z-index: 51; }
.mweb .foot { padding-bottom: calc(var(--mwdock) + 24px); }

/* App home trolley icon: the drawing keeps its own colours and the number sits inside the basket */
.app body.cart-icon .cart-ico-home svg { fill: none; stroke: none; }
.app body.cart-icon .cart-ico-home circle { fill: var(--w46, #2B2024); }
.app body.cart-icon .cart-ico-home text { stroke: none; fill: var(--w46, #2B2024); }

/* App home page: the heart (saved items) at the top left, level with the shop name */
.app body.on-home #savedBtn { position: absolute; left: calc(var(--pad) - 9px); top: 9px; }

/* App: every icon the same size as the heart (22 px): top bar, tab bar, close/back, search, profile rows, product page.
   (The small + and − inside quantity buttons keep their size so the buttons stay compact.) */
.app .icon-btn svg, .app .tab-ico svg, .app .search-ico, .app .st-ch, .app .st-ico svg, .app .pd-save svg, .app .ord-tab svg, .app .fo-x svg, .app .modal-close svg { width: 22px; height: 22px; }
.app body.cart-icon .cart-ico-home { width: 25px; height: 22px; }
.app body.cart-icon .cart-ico-home text { font-size: 11.5px; }

/* App home page: trolley count as a badge at the icon's top right, same size and offset as the heart's badge
   (heart: 22 px icon in a 40 px button, badge 9 px above the icon and 11 px past its right edge) */
.app body.cart-icon .cart-ico-home text { display: none; }
.app body.cart-icon .cart-home-count { top: -9px; right: -11px; }
.app body.cart-icon .cart-home-count[hidden] { display: none; }

/* App home page: the bell lines up under the trolley icon (same centre line) */
.app body.on-home #bellBtn { margin-right: -5.5px; }

/* App: the trolley icon (with its count badge) in the top bar of every page except the profile page,
   same place and size as on the home page: icon 2 px in from the right side margin, centred on the shop name's line */
.app body.cart-icon:not(.on-home) .cart-pill { height: 38px; padding: 0 2px; gap: 0; margin-left: auto; background: none; box-shadow: none; color: var(--ink); }
/* pages opened from the profile (My orders, an order) have no search bar: heart and bell sit before the trolley, which stays at the far right */
.app body.on-settings.cart-icon #savedBtn { margin-left: auto; }
.app body.on-settings.cart-icon .cart-pill { order: 5; margin-left: 0; }

/* App profile page: no trolley total and no heart in the top bar; the bell takes the heart's place at the far right */
.app body.on-profile #cartPill, .app body.on-profile #savedBtn { display: none; }
.app body.on-profile #bellBtn { margin-left: auto; }

/* Phone browser top bar: Alerts (bell) on the left where the menu was, shop name in the middle, Saved on the right */
.mweb .top #bellBtn { order: -1; width: 44px; height: 44px; margin: 0 0 0 -2px; }

.mw-tab[hidden] { display: none; }

/* App: the page name sits in the middle of the top bar on every page, same size and line as the shop name on the home page */
.app .top-inner { position: relative; }
.app .brand { position: absolute; left: 50%; top: 10px; height: 38px; display: flex; align-items: center; margin: 0; transform: translateX(-50%); white-space: nowrap; max-width: calc(100% - 2 * (var(--pad) + 44px)); }
.app body.on-home .brand { max-width: none; }
.app body.on-settings .brand { max-width: calc(100% - 2 * (var(--pad) + 124px)); } /* My orders: heart, bell and trolley on the right */
.app .brand .brand-name { overflow: hidden; text-overflow: ellipsis; }
/* pages with a search bar: first line = page name + trolley (both placed like the home page), second line = search, heart, bell */
.app body.cart-icon:not(.on-settings) .top-inner { padding-top: 56px; }
.app body.cart-icon:not(.on-settings) .cart-pill { position: absolute; right: var(--pad); top: 7px; height: 44px; }

/* Phone browser: every page ends with the same balanced gap before the footer (plus room for the basket when shown) */
.mweb main, .mweb.mw-signed main { padding-bottom: calc(32px + var(--bkroom, 0px)); }

/* Phone browser: page blocks add no extra space of their own at the end, so the gap before the footer is always the same */
.mweb .st, .mweb .bz, .mweb .ords { padding-bottom: 0; }
.mweb .st > :last-child, .mweb .bz > :last-child, .mweb .ords > :last-child { margin-bottom: 0; }
.mweb .state { margin-bottom: 0; }
.mweb .state > :last-child { margin-bottom: 0; }

/* App, every page except home: search icon at the top left (same size and place as the heart on the home page), no search bar */
#searchBtn { display: none; }
.app body.app-sub #searchBtn { display: grid; place-items: center; position: absolute; left: calc(var(--pad) - 9px); top: 9px; }
.app body.app-sub .top .search { display: none; }
.app body.app-sub:not(.on-settings) #savedBtn { margin-left: auto; }

/* App: no "Home / …" path line (breadcrumbs) on any page */
.app .crumbs { display: none; }

/* App bottom bar: same design as the phone-browser bar — white full-width bar, icon with its word, active tab darker.
   (Design only: the app keeps its own tabs and pages.) */
.app, .app.android { --tabh: 60px; }
.ios .tabbar, .android .tabbar { height: calc(var(--tabh) + var(--sab, env(safe-area-inset-bottom, 0px))); padding: 0 0 var(--sab, env(safe-area-inset-bottom, 0px)); gap: 0; justify-content: stretch; align-items: stretch; background: var(--w55, #fff); border-top: 1px solid var(--line); box-shadow: 0 -4px 16px var(--w1, rgba(43, 32, 36, .05)); backdrop-filter: none; -webkit-backdrop-filter: none; pointer-events: auto; }
.ios .tab, .android .tab { flex: 1; min-width: 0; width: auto; height: auto; border-radius: 0; background: none; box-shadow: none; justify-content: center; gap: 3px; color: var(--ink-3); }
.ios .tab.on, .android .tab.on { color: var(--ink); }
.ios .tab-lbl, .android .tab-lbl { position: static; width: auto; height: auto; overflow: visible; clip: auto; font-size: 11px; line-height: 14px; font-weight: 600; }
.android .tab.on .tab-lbl { font-weight: 600; }
.app .tab-ico, .android .tab-ico, .android .tab.on .tab-ico { width: 26px; height: 26px; border-radius: 0; background: none; }
.app .tab-ico svg { width: 24px; height: 24px; stroke-width: 1.8; }
.app .tab.on .tab-ico svg { stroke-width: 2.2; }
.app .tab-av { width: 26px; height: 26px; }
.app .tab.on .tab-av { box-shadow: 0 0 0 2px var(--ink); }

/* App: the page name is already in the top bar, so the same name is not repeated as a heading inside the page (every page except home) */
.app body.app-sub #main h1 { display: none; }
.app-dup { display: none !important; }

/* App, every page except home: only two icons in the top bar — search on the left, trolley on the right (page name in the middle).
   Saved items page: search on the left, heart on the right. */
.app body.app-sub:not(.on-home) .top-inner { padding-top: 10px; padding-bottom: 10px; min-height: 58px; }
.app body.app-sub #bellBtn, .app body.app-sub #savedBtn { display: none; }
.app body.app-sub:not(.on-home) .cart-pill { display: flex; position: absolute; right: var(--pad); top: 7px; height: 44px; margin: 0; }
.app body.app-sub:not(.on-home) .brand { max-width: calc(100% - 2 * (var(--pad) + 44px)); }
.app body.app-sub.on-saved .cart-pill { display: none; }
.app body.app-sub.on-saved #savedBtn { display: grid; place-items: center; position: absolute; right: calc(var(--pad) - 7px); top: 9px; margin: 0; }
.app body.app-sub.on-profile #cartPill { display: flex; } /* profile page: search + trolley like every other page */

/* App: the strip along the left edge that catches "swipe to go back" (invisible) */
.swipe-edge { display: none; }
.app .swipe-edge { display: block; position: fixed; left: 0; top: 0; bottom: 0; width: 14px; z-index: 500; touch-action: none; background: transparent; }
.app .swipe-edge[hidden] { display: none; }

/* Trolley basket shrinks while scrolling down: from the middle, around its rim (the rim stays where it rests) */
.trolley .bk-scale { transition: transform .28s cubic-bezier(.2, .8, .2, 1); }
.trolley .bk-scale { transform-origin: 50% 31.667%; }
.trolley.bk-mini .bk-scale, .trolley.bk-mini:hover .bk-scale { transform: scale(.6); }
@media (prefers-reduced-motion: reduce) { .trolley .bk-scale { transition: none; } }

/* App trolley: same as the phone browser — the rim rests exactly on the top edge of the bottom bar, the basket behind it,
   and every page ends with the same balanced gap (plus only the room the basket needs) */
.app .trolley { bottom: calc(var(--tabh) + var(--sab, 0px) - var(--bw) * 0.3417); }
.app main { padding-bottom: calc(var(--tabh) + var(--sab, 0px) + 32px + var(--bkroom, 0px)); }

/* Phones (browser and app): the basket sits a little higher, so the top of its wires shows above the bar */
.mweb, .app { --bklift: 20px; }
.mweb .trolley { bottom: calc(var(--mwdock) - var(--bw) * 0.3417 + var(--bklift)); }
.app .trolley { bottom: calc(var(--tabh) + var(--sab, 0px) - var(--bw) * 0.3417 + var(--bklift)); }

/* Every icon in the shop (desktop, mobile web, app) is drawn with the same line weight, whatever its size.
   Not included: the + and − in quantity / add buttons, the trolley basket drawing, and the large "no orders" illustration. */
svg:not(.ord-none):not(:is(.add-btn, .qty, #trolley) *) :where(path, circle, rect, line, polyline, polygon, ellipse) { vector-effect: non-scaling-stroke; }
svg:not(.ord-none):not(:is(.add-btn, .qty, #trolley) *), svg:not(.ord-none):not(:is(.add-btn, .qty, #trolley) *) * { stroke-width: 1.65px !important; }

/* Mobile web: the page name is in the middle of the top bar (shop name only on home), so it is not repeated as a heading inside the page */
.mweb body.web-sub #main h1 { display: none; }

/* Mobile web, every page except home: only two icons in the top bar — search on the left (where the bell is on home),
   trolley on the right (where the heart is on home). Saved items page: search on the left, heart on the right. */
.mweb body.web-sub .top #bellBtn, .mweb body.web-sub .top #savedBtn, .mweb body.web-sub .top-inner .search { display: none; }
.mweb body.web-sub #searchBtn { display: grid; place-items: center; order: -1; width: 44px; height: 44px; margin: 0 0 0 -2px; }
.mweb body.web-sub #cartPill { display: grid !important; place-items: center; order: 2; width: 44px; height: 44px; margin: 0 -2px 0 0; padding: 0; gap: 0; background: none; box-shadow: none; color: var(--ink); }
.mweb body.web-sub #cartPill > :not(.cart-ico-home) { display: none; }
.mweb body.web-sub .cart-ico-home { position: relative; display: block; width: 25px; height: 22px; }
.mweb body.web-sub .cart-ico-home svg { display: block; width: 100%; height: 100%; }
.mweb body.web-sub .cart-ico-home text { display: none; }
.mweb body.web-sub .cart-home-count { top: -9px; right: -11px; }
.mweb body.web-sub .cart-home-count[hidden] { display: none; }
.mweb body.web-saved #cartPill { display: none !important; }
.mweb body.web-saved .top #savedBtn { display: grid; }
.mweb body.web-sub .crumbs { display: none; } /* "Home / page name": the page name is now in the top bar */

/* ---------- Order page: big status with progress line, help, delivery, payment summary ---------- */
.od-hero { background: var(--w55, #fff); border-radius: var(--radius-lg); box-shadow: var(--shadow-1); padding: 28px 24px 24px; margin-bottom: 16px; text-align: center; }
.od-hero h1 { font-family: var(--serif); font-weight: 600; font-size: var(--fs-h1); line-height: var(--lh-h1); margin: 0; }
.od-hero > p { color: var(--ink-2); margin: 6px 0 0; font-size: var(--fs-b2); line-height: var(--lh-b2); }
.od-hero.is-off h1 { color: var(--err); }
.od-steps { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); }
.od-steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--ink-3); font-size: var(--fs-b3); line-height: var(--lh-b3); }
.od-steps li::before { content: ''; position: absolute; top: 8px; right: 50%; width: 100%; height: 3px; background: var(--line); z-index: 0; }
.od-steps li:first-child::before { display: none; }
.od-steps li.done::before, .od-steps li.now::before { background: var(--brand); }
.od-dot { position: relative; z-index: 1; width: 19px; height: 19px; border-radius: 50%; background: var(--w55, #fff); border: 3px solid var(--line); box-sizing: border-box; }
.od-steps li.done .od-dot { background: var(--brand); border-color: var(--brand); }
.od-steps li.now .od-dot { border-color: var(--brand); box-shadow: 0 0 0 5px color-mix(in srgb, var(--brand) 18%, transparent); }
.od-steps li.done, .od-steps li.now { color: var(--ink); }
.od-steps li.now .od-lbl { font-weight: 700; }
.od-steps.off { opacity: .45; }
.od-hero > .od-eta { margin: 22px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--ok-soft); color: var(--ok); font-weight: 600; font-size: var(--fs-b1); line-height: var(--lh-b1); }
.od-hero > .od-eta.off { background: #fbeceb; color: var(--err); font-weight: 500; font-size: var(--fs-b2); line-height: var(--lh-b2); }
.od-help { display: flex; flex-wrap: wrap; gap: 10px; }
.od-help .btn { flex: 1 1 160px; }
.od-help .btn svg { width: 18px; height: 18px; margin-right: 6px; }
.btn.od-cancel { color: var(--err); border-color: color-mix(in srgb, var(--err) 35%, transparent); }
.od-note { margin: 12px 0 0; color: var(--ink-3); font-size: var(--fs-b2); line-height: var(--lh-b2); }
.od-map { display: block; margin: 14px 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 640 / 240; background: var(--line); }
.od-map img { display: block; width: 100%; height: 100%; object-fit: cover; }
.od .kv + .kv { margin-top: 8px; }
.od .od-map + .kv { margin-top: 0; }
.od-pay { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.od-pay .pay-dd { display: flex; align-items: center; gap: 8px; }
.od .panel h2 .pill { margin-left: auto; }
.od-cancel-foot { display: flex; gap: 10px; }
.od-cancel-foot .btn { flex: 1; }
@media (max-width: 560px) {
  .od-hero { padding: 22px 14px 18px; }
  .od-steps li { font-size: 11px; line-height: 14px; }
  .kv { grid-template-columns: 110px 1fr; }
}
.app body.app-sub #main .od-hero h1, .mweb body.web-sub #main .od-hero h1 { display: block; }
.od-pick-in { display: flex; align-items: center; gap: 20px; }
.od-qr { flex: none; background: var(--w55, #fff); padding: 8px; border-radius: 12px; border: 1px solid var(--line); line-height: 0; }
.od-qr svg { width: 168px; height: 168px; }
.od-pick-in p { margin: 0; color: var(--ink-2); font-size: var(--fs-b2); line-height: var(--lh-b2); }
.od-pick-in p b { display: block; margin-top: 10px; color: var(--ink); font-size: var(--fs-b1); letter-spacing: .02em; }
@media (max-width: 560px) { .od-pick-in { flex-direction: column; text-align: center; } .od-qr svg { width: 200px; height: 200px; } }

/* Colour roles (desktop + mobile web): amber marks signature moments — New tags, counts and new-alert dots */
html .badge.new { background: #D49A35; color: #252A28; box-shadow: none; }
html .hd-dot, html .mw-dot { background: #D49A35; }
html .mw-badge, html .tab-badge { background: #D49A35; color: #252A28; }

/* Trolley basket and icon drawings: brown shades become Ink Charcoal shades on desktop + mobile web */
html [stroke="#2B2024"] { stroke: #252A28; }
html [fill="#2B2024"] { fill: #252A28; }
html [stop-color="#2B2024"] { stop-color: #252A28; }
html [stroke="#2b2024"] { stroke: #252A28; }
html [fill="#2b2024"] { fill: #252A28; }
html [stop-color="#2b2024"] { stop-color: #252A28; }
html [stroke="#3a2b30"] { stroke: #252A28; }
html [fill="#3a2b30"] { fill: #252A28; }
html [stop-color="#3a2b30"] { stop-color: #252A28; }
html [stroke="#5a464c"] { stroke: #484C4A; }
html [fill="#5a464c"] { fill: #484C4A; }
html [stop-color="#5a464c"] { stop-color: #484C4A; }
html [stroke="#6e5a60"] { stroke: #5D605D; }
html [fill="#6e5a60"] { fill: #5D605D; }
html [stop-color="#6e5a60"] { stop-color: #5D605D; }
html [stroke="#d9c6b8"] { stroke: #CBC9C5; }
html [fill="#d9c6b8"] { fill: #CBC9C5; }
html [stop-color="#d9c6b8"] { stop-color: #CBC9C5; }
html [stroke="#9c8579"] { stroke: #898A87; }
html [fill="#9c8579"] { fill: #898A87; }
html [stop-color="#9c8579"] { stop-color: #898A87; }
html [stroke="#5e4a50"] { stroke: #4D504E; }
html [fill="#5e4a50"] { fill: #4D504E; }
html [stop-color="#5e4a50"] { stop-color: #4D504E; }
html [stroke="#1c1417"] { stroke: #1A1E1C; }
html [fill="#1c1417"] { fill: #1A1E1C; }
html [stop-color="#1c1417"] { stop-color: #1A1E1C; }
html [stroke="#3d2e33"] { stroke: #2E3331; }
html [fill="#3d2e33"] { fill: #2E3331; }
html [stop-color="#3d2e33"] { stop-color: #2E3331; }
html :focus-visible { outline-color: #155B56; }
/* Order again */
.ord { padding: 0; overflow: hidden; }
.ord-a { display: block; padding: 16px 16px 12px; color: inherit; text-decoration: none; }
.ord-foot { padding: 0 16px 16px; }
.ord-foot .btn, .od-btns .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.ord-foot .btn { width: 100%; }
.ord-foot .btn svg, .od-btns .btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.od-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.od-btns .btn { flex: 1 1 180px; }
.ro-list { margin: 0 0 14px; padding-left: 20px; color: var(--ink-2); font-size: var(--fs-b2); line-height: var(--lh-b2); }

/* Top brands "stories" (app + phone browser homepage): 5 circles under the search bar */
.bstories { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; padding: 16px 16px 8px; }
.bstory { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; text-decoration: none; color: var(--ink); }
.bs-ring { width: 64px; height: 64px; border-radius: 50%; padding: 2px; background: conic-gradient(from 200deg, #155B56, #B97870, #D49A35, #155B56); flex: none; }
.bs-in { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: #FAF7F2; border: 2px solid #FAF7F2; overflow: hidden; }
.bs-logo { max-width: 78%; max-height: 62%; object-fit: contain; }
.bs-pic { max-width: 70%; max-height: 82%; object-fit: contain; }
.bs-own { font-family: var(--serif); font-weight: 600; font-size: var(--fs-b1); line-height: var(--lh-b1); color: #155B56; }
.bs-name { max-width: 100%; font-size: var(--fs-b3); line-height: var(--lh-b3); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bstory:active .bs-ring { transform: scale(.96); }
/* phone layouts: show a bit of the next product so it's clear the shelf slides; mouse drag works too */
.mweb .shelf-track, .app .shelf-track { --n: 2.6; }
.shelf-track.dragging { scroll-snap-type: none; cursor: grabbing; }
.mweb .shelf-track img, .app .shelf-track img, .bstories img { -webkit-user-drag: none; user-select: none; }
