/* Fitmess redesign.
   Look: bold condensed headlines, the logo's red and black, warm paper background,
   big tappable ingredient tiles and a live macro HUD (inspired by build-your-own ordering flows). */
:root {
  --ink: #161616;
  --ink-2: #2B2B2B;
  --paper: #F6F3EE;
  --surface: #FFFFFF;
  --sunk: #EEE9E1;
  --line: #E3DDD3;
  --muted: #6B655E;
  --red: #D62E2E;
  --red-dark: #B32222;
  --red-soft: #FBE5E3;
  --orange: #F26A1B;
  --protein: #D62E2E;
  --carbs: #E89A12;
  --fat: #3B7DD8;
  --veg: #1E8A3A;
  --nonveg: #9A3A12;
  --ok: #1E8A3A;
  --ok-soft: #E2F3E6;
  --warn: #A86300;
  --warn-soft: #FCEFD8;
  --display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --shadow: 0 1px 2px rgba(22, 22, 22, .06), 0 8px 24px rgba(22, 22, 22, .07);
  --hdr: 72px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 15px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 6px; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; z-index: 200; background: #fff; padding: 8px 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1280px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
@media (max-width: 600px) { .wrap { padding-left: 16px; padding-right: 16px; } }
.display { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .01em; line-height: .95; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.muted { color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 2px solid var(--ink); background: var(--surface); color: var(--ink); font-weight: 600; text-decoration: none; transition: background .15s, color .15s, transform .1s; }
.btn:hover { background: var(--ink); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn--red { background: var(--red); border-color: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--ink-2); }
.btn--block { width: 100%; }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn:disabled:hover { background: inherit; color: inherit; }
.btn--red:disabled:hover { background: var(--red); color: #fff; }
.linkbtn { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.icon-btn { width: 44px; height: 44px; border: 0; background: none; display: grid; place-items: center; border-radius: 50%; color: inherit; }
.icon-btn:hover { background: var(--sunk); }
.icon-btn svg { width: 22px; height: 22px; }

/* Veg / non-veg marks (Indian food packaging convention) */
.vm { width: 16px; height: 16px; border: 2px solid var(--veg); border-radius: 3px; display: inline-grid; place-items: center; flex: none; background: #fff; }
.vm::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--veg); }
.vm--nv { border-color: var(--nonveg); }
.vm--nv::after { width: 0; height: 0; border-radius: 0; background: none; border-left: 4px solid transparent; border-right: 4px solid transparent; border-bottom: 7px solid var(--nonveg); }

/* Top strip + header */
.topstrip { background: var(--ink); color: #fff; font-size: 13px; }
.topstrip__inner { display: flex; justify-content: center; gap: 8px 28px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.topstrip__inner span + span::before { content: "•"; margin-right: 28px; color: var(--orange); }
@media (max-width: 760px) { .topstrip__inner span:not(:first-child) { display: none; } }
.topstrip a { color: #fff; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.hdr { display: flex; align-items: center; gap: 18px; min-height: var(--hdr); }
.hdr__menu { display: none; margin-left: -8px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: #fff; }
.brand span { font-family: var(--display); font-size: 26px; letter-spacing: .04em; }
.main-nav { display: flex; gap: 2px; flex: 1; justify-content: center; }
.main-nav a { padding: 8px 12px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.main-nav a:hover { background: var(--sunk); }
.main-nav a[aria-current="page"] { background: var(--ink); color: #fff; }
.main-nav a.is-build { color: var(--red); }
.main-nav a.is-build[aria-current="page"] { background: var(--red); color: #fff; }
.hdr__actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.cart-pill { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 999px; background: var(--red); color: #fff; text-decoration: none; font-weight: 700; font-size: 14px; white-space: nowrap; }
.cart-pill:hover { background: var(--red-dark); }
.cart-pill svg { width: 20px; height: 20px; }
.cart-pill.bump { animation: bump .4s; }
@keyframes bump { 40% { transform: scale(1.08); } }
@media (max-width: 1100px) { .main-nav { display: none; } .hdr__menu { display: grid; } .hdr { gap: 8px; } }
@media (max-width: 420px) { .brand span { font-size: 22px; } .brand img { width: 44px; height: 44px; } }

/* Drawer + search */
.scrim { position: fixed; inset: 0; background: rgba(22, 22, 22, .45); z-index: 60; }
.drawer { position: fixed; top: 0; bottom: 0; left: 0; width: min(360px, 88vw); background: var(--surface); z-index: 61; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px 6px 24px; }
.drawer__title { font-family: var(--display); font-size: 24px; text-transform: uppercase; }
.drawer__list { list-style: none; margin: 0; padding: 8px 12px; flex: 1; overflow: auto; }
.drawer__list a { display: flex; align-items: center; justify-content: space-between; padding: 14px 14px; border-radius: var(--r-sm); text-decoration: none; font-weight: 600; font-size: 17px; }
.drawer__list a:hover { background: var(--sunk); }
.drawer__list a[aria-current="page"] { background: var(--ink); color: #fff; }
.drawer__foot { padding: 18px 24px 26px; border-top: 1px solid var(--line); font-size: 14px; display: flex; flex-direction: column; gap: 6px; }
.search-modal { position: fixed; top: 0; left: 0; right: 0; z-index: 61; background: var(--surface); box-shadow: var(--shadow); padding: 18px 0 22px; max-height: 88vh; overflow: auto; }
.search-form { display: flex; align-items: center; gap: 10px; border: 2px solid var(--ink); border-radius: 999px; padding: 0 6px 0 18px; max-width: 760px; margin: 0 auto; }
.search-form svg { width: 20px; height: 20px; flex: none; }
.search-form input { flex: 1; border: 0; outline: 0; min-height: 52px; font-size: 17px; background: transparent; min-width: 0; }
.predictive { max-width: 760px; margin: 14px auto 0; }
.predictive ul { list-style: none; margin: 0; padding: 0; }
.predictive li a { display: flex; gap: 14px; align-items: center; padding: 8px; border-radius: var(--r-sm); text-decoration: none; }
.predictive li a:hover { background: var(--sunk); }
.predictive img { width: 52px; height: 52px; object-fit: cover; border-radius: 10px; }
.predictive small { color: var(--muted); }

/* Toast + cart notification */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 90; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; box-shadow: var(--shadow); max-width: calc(100vw - 32px); }
.cart-notification { position: absolute; right: max(20px, calc((100vw - 1280px) / 2 + 20px)); top: calc(100% + 8px); width: 380px; max-width: calc(100vw - 32px); background: var(--surface); border-radius: var(--r); padding: 18px; box-shadow: 0 20px 50px rgba(0,0,0,.18); border: 1px solid var(--line); }
@media (max-width: 600px) { .cart-notification { right: 16px; } }
.cn__head { display: flex; justify-content: space-between; align-items: center; font-weight: 700; color: var(--ok); margin-bottom: 12px; }
.cn__item { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.cn__item img, .cn__item .meal-thumb { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; flex: none; }
.cn__item b { display: block; font-size: 15px; }
.cn__item span { font-size: 13px; color: var(--muted); }
.cn__links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

/* ===== Landing: builder ===== */
.builder-hero { padding: 28px 0 8px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 28px; }
.builder-hero h1 { font-size: clamp(48px, 8vw, 96px); margin-top: 6px; }
.builder-hero h1 em { font-style: normal; color: var(--red); }
.builder-hero p { max-width: 46ch; color: var(--muted); font-size: 16px; margin-top: 10px; }
.plate-switch { display: flex; gap: 8px; background: var(--surface); border: 1px solid var(--line); padding: 6px; border-radius: 999px; box-shadow: var(--shadow); }
.plate-switch button { display: flex; align-items: center; gap: 10px; border: 0; background: none; border-radius: 999px; padding: 10px 20px 10px 14px; font-weight: 700; font-size: 16px; color: var(--muted); }
.plate-switch button small { display: block; font-weight: 500; font-size: 12px; color: var(--muted); line-height: 1.2; text-align: left; }
.plate-switch button span { text-align: left; line-height: 1.2; }
.plate-switch button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.plate-switch button[aria-pressed="true"] small { color: rgba(255,255,255,.7); }
@media (max-width: 600px) { .plate-switch { width: 100%; } .plate-switch button { flex: 1; justify-content: center; padding: 10px 8px; } .plate-switch button small { display: none; } }

.presets { margin: 18px 0 6px; }
.presets__label { font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.presets__row { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.preset { flex: none; display: flex; flex-direction: column; gap: 2px; text-align: left; border: 2px solid var(--line); background: var(--surface); border-radius: var(--r); padding: 12px 16px; min-width: 190px; transition: border-color .15s; }
.preset:hover { border-color: var(--ink); }
.preset.is-on { border-color: var(--red); background: var(--red-soft); }
.preset b { font-size: 15px; }
.preset span { font-size: 12.5px; color: var(--muted); }
.preset .preset__macros { color: var(--ink); font-weight: 600; }

.builder { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 28px; align-items: start; padding-top: 14px; }
.builder__steps { min-width: 0; display: flex; flex-direction: column; gap: 30px; }
.stepnav { position: sticky; top: var(--hdr); z-index: 20; background: var(--paper); padding: 10px 0; display: flex; gap: 8px; overflow-x: auto; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.stepnav a { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: 14px; }
.stepnav a i { font-style: normal; width: 24px; height: 24px; border-radius: 50%; background: var(--sunk); display: grid; place-items: center; font-size: 12px; }
.stepnav a.is-done i { background: var(--ok); color: #fff; }
.step { scroll-margin-top: calc(var(--hdr) + 70px); }
.step__head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }
.step__num { font-family: var(--display); font-size: 40px; line-height: 1; color: var(--red); }
.step__head h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 30px; letter-spacing: .01em; }
.step__head p { color: var(--muted); font-size: 14px; flex-basis: 100%; margin-top: -6px; padding-left: 0; }
@media (min-width: 700px) { .step__head p { flex-basis: auto; margin: 0; } }
.ing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1100px) and (min-width: 990px) { .ing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .ing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.ing { position: relative; background: var(--surface); border: 2px solid transparent; border-radius: var(--r-lg); box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden; transition: border-color .15s, transform .15s; }
.ing:hover { transform: translateY(-2px); }
.ing.is-on { border-color: var(--red); }
.ing__art { border: 0; padding: 0; background: var(--sunk); aspect-ratio: 4 / 3; display: grid; place-items: center; position: relative; }
.ing__art svg { width: 78%; height: 100%; }
.ing__badge { position: absolute; top: 10px; right: 10px; background: var(--red); color: #fff; font-weight: 700; font-size: 13px; border-radius: 999px; padding: 3px 10px; }
.ing__tag { position: absolute; top: 10px; left: 10px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 600; border-radius: 999px; padding: 3px 9px; }
.ing__body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.ing__body h3 { font-size: 15px; font-weight: 700; line-height: 1.25; }
.ing__meta { font-size: 12.5px; color: var(--muted); }
.ing__meta b { color: var(--ink); font-weight: 600; }
.ing__macro { display: flex; gap: 6px; flex-wrap: wrap; font-size: 11.5px; font-weight: 600; }
.ing__macro span { padding: 2px 7px; border-radius: 6px; background: var(--sunk); }
.ing__macro .p { color: var(--protein); }
.ing__ctl { margin-top: auto; padding-top: 4px; }
.ing__add { width: 100%; min-height: 40px; border-radius: 999px; border: 2px solid var(--ink); background: var(--surface); font-weight: 700; font-size: 14px; }
.ing__add:hover { background: var(--ink); color: #fff; }
.stepper { display: flex; align-items: center; justify-content: space-between; border-radius: 999px; background: var(--red); color: #fff; min-height: 40px; padding: 0 4px; }
.stepper button { width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255,255,255,.18); color: #fff; font-size: 18px; font-weight: 700; line-height: 1; display: grid; place-items: center; }
.stepper button:hover { background: rgba(255,255,255,.3); }
.stepper button:disabled { opacity: .35; cursor: not-allowed; }
.stepper span { font-weight: 700; font-size: 14px; white-space: nowrap; }
.stepper em { font-style: normal; }
@media (max-width: 720px) { .stepper em { display: none; } }
.hud__stat b small, .pdp__macros b small { font-size: .55em; margin-left: 1px; }
.builder__note { font-size: 12.5px; color: var(--muted); }

/* ===== Macro HUD ===== */
.hud { position: sticky; top: calc(var(--hdr) + 16px); }
.hud__panel { background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 20px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 16px 40px rgba(0,0,0,.18); max-height: calc(100vh - var(--hdr) - 32px); overflow: auto; }
.hud__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.hud__title { font-family: var(--display); font-size: 26px; text-transform: uppercase; letter-spacing: .02em; }
.hud__plate { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; background: rgba(255,255,255,.1); padding: 4px 10px 4px 6px; border-radius: 999px; }
.hud__big { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.hud__stat { background: rgba(255,255,255,.07); border-radius: 12px; padding: 10px 8px; text-align: center; }
.hud__stat b { display: block; font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1; font-variant-numeric: tabular-nums; }
.hud__stat span { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.65); }
.hud__stat.p b { color: #FF6B5E; }
.hud__stat.c b { color: #FFC04D; }
.hud__stat.f b { color: #7FB0FF; }
.hud__split { display: flex; height: 8px; border-radius: 4px; overflow: hidden; background: rgba(255,255,255,.1); }
.hud__split i { display: block; height: 100%; transition: width .3s; }
.hud__split .p { background: #FF6B5E; } .hud__split .c { background: #FFC04D; } .hud__split .f { background: #7FB0FF; }
.hud__legend { display: flex; justify-content: space-between; font-size: 11.5px; color: rgba(255,255,255,.65); margin-top: -8px; }
.hud__goals { display: flex; gap: 4px; background: rgba(255,255,255,.08); padding: 4px; border-radius: 999px; }
.hud__goals button { flex: 1; border: 0; background: none; color: rgba(255,255,255,.75); font-size: 12.5px; font-weight: 600; padding: 7px 6px; border-radius: 999px; }
.hud__goals button[aria-pressed="true"] { background: #fff; color: var(--ink); }
.hud__checks { list-style: none; margin: -6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.hud__checks li { display: flex; gap: 8px; align-items: center; }
.hud__checks .ok { color: #7BE08F; } .hud__checks .no { color: #FFB25E; }
.hud__items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 14px; }
.hud__items li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: center; font-size: 14px; }
.hud__items li span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hud__items .g { color: rgba(255,255,255,.6); font-size: 13px; }
.hud__items button { border: 0; background: rgba(255,255,255,.1); color: #fff; width: 26px; height: 26px; border-radius: 50%; font-size: 14px; line-height: 1; }
.hud__empty { color: rgba(255,255,255,.65); font-size: 14px; border: 1px dashed rgba(255,255,255,.25); border-radius: 12px; padding: 14px; text-align: center; }
.hud__total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid rgba(255,255,255,.12); padding-top: 14px; }
.hud__total b { font-family: var(--display); font-weight: 400; font-size: 36px; line-height: 1; }
.hud__total span { color: rgba(255,255,255,.65); font-size: 13px; }
.hud__actions { display: flex; gap: 10px; align-items: center; }
.hud__qty { display: flex; align-items: center; background: rgba(255,255,255,.1); border-radius: 999px; min-height: 48px; }
.hud__qty button { width: 38px; height: 48px; border: 0; background: none; color: #fff; font-size: 18px; font-weight: 700; }
.hud__qty span { min-width: 18px; text-align: center; font-weight: 700; }
.hud__actions .btn { flex: 1; }
.hud__hint { font-size: 12.5px; color: rgba(255,255,255,.6); text-align: center; margin-top: -6px; }
.hud__reset { align-self: center; background: none; border: 0; color: rgba(255,255,255,.65); font-size: 13px; text-decoration: underline; }
.hud__bar { display: none; }
.hud__close { display: none; width: 34px; height: 34px; }
.hud__close:hover { background: rgba(255,255,255,.1); }
@media (max-width: 989px) { .hud__close { display: grid; } }
/* Phone: HUD becomes a bottom bar that expands into a sheet */
@media (max-width: 989px) {
  .builder { grid-template-columns: 1fr; }
  .hud { position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 45; }
  .hud__bar { display: flex; align-items: center; gap: 12px; background: var(--ink); color: #fff; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -8px 24px rgba(0,0,0,.18); }
  .hud__bar-stats { flex: 1; display: flex; gap: 14px; align-items: baseline; border: 0; background: none; color: #fff; text-align: left; padding: 0; min-width: 0; }
  .hud__bar-stats b { font-family: var(--display); font-weight: 400; font-size: 22px; line-height: 1; }
  .hud__bar-stats small { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.6); }
  .hud__bar-stats .p b { color: #FF6B5E; }
  .hud__bar-stats .more { font-size: 12px; color: rgba(255,255,255,.7); align-self: center; text-decoration: underline; white-space: nowrap; }
  .hud__bar .btn { min-height: 44px; padding: 0 16px; flex: none; }
  .hud__panel { display: none; border-radius: var(--r-lg) var(--r-lg) 0 0; max-height: 78vh; padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
  .hud.is-open .hud__panel { display: flex; }
  .hud.is-open .hud__bar { display: none; }
  main.has-hud { padding-bottom: 90px; }
}
@media (max-width: 420px) { .hud__bar-stats { gap: 10px; } .hud__bar-stats .more { display: none; } }

/* ===== Landing: categories, product rails, trust ===== */
.section { padding-top: 56px; padding-bottom: 8px; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.section__head h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(32px, 4vw, 44px); line-height: 1; }
.section__head a { font-weight: 600; font-size: 14px; }
.cats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1000px) { .cats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cats > :first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; } }
.cat { position: relative; aspect-ratio: 3 / 4; border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: #fff; background: var(--ink); }
.cat img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.cat:hover img { transform: scale(1.05); }
.cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.78)); }
.cat__text { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 1; }
.cat__text b { display: block; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 24px; line-height: 1; }
.cat__text span { font-size: 12.5px; opacity: .85; }
.cat__count { position: absolute; top: 12px; right: 12px; z-index: 1; background: rgba(255,255,255,.92); color: var(--ink); font-size: 12px; font-weight: 700; border-radius: 999px; padding: 3px 9px; }

.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 900px) { .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.trust div { background: var(--surface); border-radius: var(--r); padding: 18px; border: 1px solid var(--line); }
.trust b { display: block; font-size: 15px; }
.trust span { font-size: 13px; color: var(--muted); }

/* Product cards */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 680px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.pcard { background: var(--surface); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; height: 100%; box-shadow: var(--shadow); }
.pcard__media { position: relative; aspect-ratio: 1; background: var(--sunk); display: block; overflow: hidden; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.pcard:hover .pcard__media img { transform: scale(1.04); }
.pcard__marks { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; align-items: center; }
.pill { font-size: 11.5px; font-weight: 700; border-radius: 999px; padding: 3px 9px; background: var(--ink); color: #fff; }
.pill--sale { background: var(--red); }
.pill--soldout { background: var(--muted); }
.pcard__body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pcard__title { font-size: 14.5px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard__title a { text-decoration: none; }
.macros { display: flex; flex-wrap: wrap; gap: 5px; }
.macros span { font-size: 11.5px; font-weight: 600; background: var(--sunk); border-radius: 6px; padding: 2px 7px; }
.macros .p { background: var(--red-soft); color: var(--red-dark); }
.pcard__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; font-weight: 700; font-size: 16px; }
.price s { color: var(--muted); font-weight: 500; font-size: 13px; }
.price--lg { font-size: 26px; }
.price--lg s { font-size: 17px; }
.addbtn { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; font-size: 22px; line-height: 1; display: grid; place-items: center; text-decoration: none; }
.addbtn:hover { background: var(--red); }
.addbtn--text { width: auto; padding: 0 14px; border-radius: 999px; font-size: 13px; font-weight: 700; }

/* Collection page */
.coll-hero { position: relative; border-radius: var(--r-lg); overflow: hidden; margin-top: 24px; min-height: 220px; display: flex; align-items: flex-end; background: var(--ink); color: #fff; }
.coll-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.coll-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.75), rgba(0,0,0,.1)); }
.coll-hero__text { position: relative; z-index: 1; padding: 28px; }
.coll-hero h1 { font-size: clamp(44px, 7vw, 80px); }
.coll-hero p { opacity: .85; margin-top: 6px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 18px 0; }
.chip { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 7px 14px; font-weight: 600; font-size: 13.5px; }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.toolbar select { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 7px 14px; font-weight: 600; font-size: 13.5px; }
.toolbar__count { margin-left: auto; color: var(--muted); font-size: 14px; }
.empty { text-align: center; padding: 60px 16px; color: var(--muted); }

/* Product page */
.pdp { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 44px; padding-top: 28px; padding-bottom: 40px; }
@media (max-width: 900px) { .pdp { grid-template-columns: 1fr; gap: 22px; padding-top: 16px; } }
.pdp__media { border-radius: var(--r-lg); overflow: hidden; background: var(--surface); aspect-ratio: 1; }
.pdp__media img { width: 100%; height: 100%; object-fit: cover; }
.pdp__thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.pdp__thumbs button { width: 70px; height: 70px; padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; background: none; }
.pdp__thumbs button[aria-current="true"] { border-color: var(--ink); }
.pdp__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp__info { display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 901px) { .pdp__info { position: sticky; top: calc(var(--hdr) + 20px); align-self: start; } }
.pdp__crumbs { font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.pdp__crumbs a { text-decoration: none; }
.pdp__title { font-size: clamp(36px, 4.6vw, 56px); }
.pdp__macros { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.pdp__macros div { background: var(--surface); border-radius: 12px; padding: 10px; text-align: center; border: 1px solid var(--line); }
.pdp__macros b { display: block; font-family: var(--display); font-weight: 400; font-size: 26px; line-height: 1; }
.pdp__macros span { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.pdp__macros .p b { color: var(--protein); } .pdp__macros .c b { color: var(--carbs); } .pdp__macros .f b { color: var(--fat); }
.opt-label { font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; border: 0; margin: 0; padding: 0; }
.opts label { cursor: pointer; }
.opts input { position: absolute; opacity: 0; }
.opts span { display: inline-block; border: 2px solid var(--line); background: var(--surface); border-radius: 999px; padding: 7px 18px; font-weight: 600; font-size: 14px; }
.opts input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.opts input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.buy-row { display: flex; gap: 10px; }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--ink); border-radius: 999px; min-height: 48px; }
.qty button { width: 40px; height: 44px; border: 0; background: none; font-size: 18px; font-weight: 700; }
.qty input { width: 36px; text-align: center; border: 0; background: transparent; font-weight: 700; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty--sm { min-height: 38px; } .qty--sm button { width: 32px; height: 34px; }
.buy-row .btn { flex: 1; }
.pdp__desc { color: var(--ink-2); line-height: 1.7; }
.pdp__desc p { margin: 0 0 10px; }
.callout { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; font-size: 14px; }

/* Cart */
.cart-page { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; padding-top: 28px; padding-bottom: 40px; align-items: start; }
@media (max-width: 900px) { .cart-page { grid-template-columns: 1fr; } }
.cart-page h1 { font-size: clamp(44px, 6vw, 64px); margin-bottom: 18px; }
.cart-lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.cline { background: var(--surface); border-radius: var(--r); padding: 14px; display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 14px; align-items: start; box-shadow: var(--shadow); }
.cline__img { width: 84px; height: 84px; border-radius: 12px; object-fit: cover; background: var(--sunk); }
.meal-thumb { background: var(--ink); display: grid; place-items: center; }
.meal-thumb svg { width: 80%; height: 80%; }
.cline__name { font-weight: 700; text-decoration: none; display: block; }
.cline__sub { font-size: 13px; color: var(--muted); }
.cline__right { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.cline__right b { font-size: 16px; }
.cline__remove { background: none; border: 0; color: var(--muted); font-size: 13px; text-decoration: underline; padding: 0; }
@media (max-width: 560px) { .cline { grid-template-columns: 64px minmax(0, 1fr); } .cline__img { width: 64px; height: 64px; } .cline__right { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; } }
.summary { background: var(--surface); border-radius: var(--r-lg); padding: 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; position: sticky; top: calc(var(--hdr) + 20px); }
.summary h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 28px; }
.summary .row { display: flex; justify-content: space-between; font-size: 14.5px; }
.summary .row.total { font-size: 20px; font-weight: 700; border-top: 1px dashed var(--line); padding-top: 12px; }
.summary textarea { width: 100%; min-height: 70px; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px; background: var(--paper); }
.summary .macrosum { background: var(--ink); color: #fff; border-radius: 12px; padding: 10px 12px; font-size: 13px; display: flex; justify-content: space-between; gap: 6px; flex-wrap: wrap; }
.summary .macrosum b { color: #FF6B5E; }

/* Forms */
.page { padding-top: 32px; padding-bottom: 40px; }
.page h1 { font-size: clamp(44px, 6vw, 64px); margin-bottom: 18px; }
.narrow { max-width: 720px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; }
.field input, .field textarea, .field select { width: 100%; min-height: 48px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); padding: 10px 14px; font-size: 15px; }
.field textarea { min-height: 120px; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--ink); outline-offset: 0; border-color: transparent; }
.msg { padding: 12px 14px; border-radius: var(--r-sm); background: var(--ok-soft); color: var(--ok); font-weight: 600; font-size: 14px; }
.msg--err { background: var(--red-soft); color: var(--red-dark); }
.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 26px; }
@media (max-width: 700px) { .contact-cards { grid-template-columns: 1fr; } }
.contact-cards a, .contact-cards div { background: var(--surface); border-radius: var(--r); padding: 16px; text-decoration: none; border: 1px solid var(--line); }
.contact-cards b { display: block; }
.contact-cards span { color: var(--muted); font-size: 13.5px; }
.rte h2 { font-size: 22px; margin: 24px 0 8px; }

/* Checkout (kept close to Shopify's checkout) */
.checkout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 100vh; background: #fff; color: #333; line-height: 1.5; }
.checkout h2 { color: #000; font-size: 21px; margin: 26px 0 12px; font-weight: 600; }
.checkout__main { padding: 38px max(20px, 6vw) 60px max(20px, calc((100vw - 1200px) / 2)); border-right: 1px solid #ddd; }
.checkout__main > * { max-width: 560px; margin-left: auto; }
.checkout__aside { background: #f5f5f5; padding: 38px max(20px, calc((100vw - 1200px) / 2)) 60px max(20px, 4vw); }
.checkout__aside > * { max-width: 460px; }
.checkout__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-bottom: 10px; }
.checkout__brand img { width: 44px; height: 44px; border-radius: 50%; }
.checkout__brand span { font-family: var(--display); font-size: 26px; color: #000; }
.checkout input, .checkout select { width: 100%; min-height: 48px; border: 1px solid #d9d9d9; border-radius: 5px; padding: 10px 12px; background: #fff; font-size: 15px; }
.checkout input:focus, .checkout select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.checkout .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checkout .grid3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .checkout .grid3 { grid-template-columns: 1fr 1fr; } .checkout .grid3 > :first-child { grid-column: 1 / -1; } }
.checkout .stack { display: flex; flex-direction: column; gap: 12px; }
.checkout .check { display: flex; gap: 10px; align-items: center; font-size: 14px; }
.checkout .check input { width: 18px; min-height: 18px; }
.checkout .box { border: 1px solid #d9d9d9; border-radius: 5px; }
.checkout .box > div { padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.checkout .box > div + div { border-top: 1px solid #d9d9d9; }
.checkout .box .selected { background: #fdf3f2; }
.checkout .muted-box { background: #f5f5f5; border-radius: 5px; padding: 16px; font-size: 14px; color: #707070; }
.checkout .pay-btn { width: 100%; min-height: 56px; border: 0; border-radius: 999px; background: var(--red); color: #fff; font-size: 18px; font-weight: 700; margin-top: 22px; }
.checkout .pay-btn:hover { background: var(--red-dark); }
.checkout .err { color: #c21d1d; font-size: 13px; }
.checkout .line { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.checkout .line__img { position: relative; width: 64px; height: 64px; flex: none; }
.checkout .line__img img, .checkout .line__img .meal-thumb { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; border: 1px solid #ddd; background: #fff; }
.checkout .line__img .meal-thumb { background: var(--ink); }
.checkout .line__qty { position: absolute; top: -8px; right: -8px; background: #666; color: #fff; border-radius: 12px; min-width: 22px; height: 22px; font-size: 12px; display: grid; place-items: center; padding: 0 6px; }
.checkout .line__name { flex: 1; font-size: 14px; }
.checkout .line__name small { color: #707070; display: block; }
.checkout .sum { display: flex; justify-content: space-between; font-size: 14px; margin: 8px 0; }
.checkout .sum.total { font-size: 19px; font-weight: 600; color: #000; margin-top: 16px; }
.checkout .sum.total small { font-size: 12px; color: #707070; font-weight: 400; margin-right: 6px; }
.checkout .policy-links { margin-top: 30px; padding-top: 16px; border-top: 1px solid #e6e6e6; font-size: 12px; }
@media (max-width: 999px) {
  .checkout { grid-template-columns: 1fr; }
  .checkout__aside { order: -1; padding: 20px; border-bottom: 1px solid #ddd; }
  .checkout__main { border-right: 0; padding: 24px 20px 60px; }
  .checkout__main > *, .checkout__aside > * { max-width: none; margin: 0; }
}
body.is-checkout .topstrip, body.is-checkout .site-header, body.is-checkout .site-footer { display: none; }
body.is-checkout { background: #fff; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,.78); margin-top: 64px; font-size: 14px; }
.ft { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding: 48px 0 28px; }
@media (max-width: 900px) { .ft { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ft { grid-template-columns: 1fr; } }
.ft h2 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 12px; }
.ft ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ft a { text-decoration: none; }
.ft a:hover { color: #fff; text-decoration: underline; }
.ft__brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.ft__brand img { width: 44px; height: 44px; border-radius: 50%; }
.ft__brand span { font-family: var(--display); font-size: 26px; color: #fff; }
.ft__bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 16px 0 26px; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 12.5px; color: rgba(255,255,255,.6); }
main.has-hud + .site-footer { padding-bottom: 0; }
@media (max-width: 989px) { body.has-hud-bar .site-footer { padding-bottom: 80px; } }

/* ===== Round 3: photography, calmer type, coupons, order tracking, WhatsApp, dashboard ===== */
/* Headings: one display face for the hero only; section titles in the body face read more editorial. */
.step__head h2, .section__head h2, .summary h2, .drawer__title, .hud__title { font-family: var(--body); font-weight: 700; text-transform: none; letter-spacing: -.01em; }
.section__head h2 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; }
.step__head h2 { font-size: 22px; }
.step__num { font-family: var(--body); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); background: var(--red-soft); padding: 4px 10px; border-radius: 999px; align-self: center; }
.hud__title { font-size: 18px; }
.summary h2 { font-size: 20px; }
.page-title { font-family: var(--body); font-weight: 700; font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -.02em; line-height: 1.1; margin-bottom: 8px; }
.pdp__title { font-family: var(--body); font-weight: 700; font-size: clamp(26px, 3vw, 36px); letter-spacing: -.02em; line-height: 1.15; text-transform: none; }
.coll-hero h1 { font-size: clamp(40px, 6vw, 72px); }
.eyebrow--light { color: #FFB199; }
.hdr__track { font-size: 14px; font-weight: 600; text-decoration: none; padding: 8px 12px; border-radius: 999px; white-space: nowrap; }
.hdr__track:hover { background: var(--sunk); }
@media (max-width: 760px) { .hdr__track { display: none; } }

/* Hero: full-bleed food photograph */
.hero { position: relative; color: #fff; overflow: hidden; background: #111; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,10,.86) 0%, rgba(10,10,10,.62) 45%, rgba(10,10,10,.2) 100%); }
.hero__inner { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 22px 28px; padding-top: 56px; padding-bottom: 36px; }
.hero h1 { font-size: clamp(48px, 7.5vw, 92px); margin-top: 8px; }
.hero h1 em { font-style: normal; color: #FF5A4E; }
.hero p { color: rgba(255,255,255,.85); font-size: 16px; max-width: 44ch; margin-top: 10px; }
.hero .plate-switch { background: rgba(255,255,255,.96); border: 0; }
@media (max-width: 600px) { .hero__inner { padding-top: 36px; padding-bottom: 24px; } }

/* Favourites with photos */
.presets { margin-top: 22px; }
.preset { flex-direction: row; align-items: center; gap: 12px; padding: 8px 14px 8px 8px; min-width: 260px; max-width: 320px; }
.preset img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; flex: none; }
.preset__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.preset__text > span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Photo ingredient tiles */
.steps { display: flex; flex-direction: column; gap: 34px; }
.ing { border-width: 2px; box-shadow: 0 1px 2px rgba(22,22,22,.05); border-color: var(--line); }
.ing:hover { transform: none; border-color: #CFC7BB; }
.ing.is-on { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }
.ing__art { aspect-ratio: 4 / 3; background: var(--sunk); overflow: hidden; }
.ing__art img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.ing__art:hover img { transform: scale(1.04); }
.ing__badge { box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.ing__tag { background: rgba(255,255,255,.94); color: var(--ink); }

/* HUD item thumbnails */
.hud__items li { grid-template-columns: 32px minmax(0, 1fr) auto auto; }
.hud__items img { width: 32px; height: 32px; border-radius: 8px; object-fit: cover; }

/* Coupons */
.coupon-form { display: flex; gap: 8px; }
.coupon-form input { flex: 1; min-width: 0; min-height: 40px; border: 1px solid var(--line); border-radius: 999px; padding: 0 14px; background: var(--paper); text-transform: uppercase; }
.coupon { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-radius: 12px; padding: 10px 12px; font-size: 14px; }
.coupon small { font-size: 12.5px; }
.coupon.is-ok { background: var(--ok-soft); color: var(--ok); border: 1px dashed var(--ok); }
.coupon.is-bad { background: var(--warn-soft); color: var(--warn); border: 1px dashed var(--warn); }
.summary .row.save { color: var(--ok); font-weight: 600; }
.code-tag { color: var(--ok); font-weight: 600; }
.code-hint { font-size: 14px; background: var(--surface); border: 1px dashed var(--line); border-radius: 12px; padding: 10px 14px; margin-top: 16px; }
.code-hint b { color: var(--red); }

/* Checkout additions */
.phone-field { display: flex; align-items: stretch; border: 1px solid #d9d9d9; border-radius: 5px; overflow: hidden; }
.phone-field span { display: grid; place-items: center; padding: 0 12px; background: #f5f5f5; color: #555; font-weight: 600; border-right: 1px solid #d9d9d9; }
.phone-field input { border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
.checkout .wa-optin { align-items: flex-start; background: #F1FAF3; border: 1px solid #CBE9D2; border-radius: 8px; padding: 12px; }
.checkout .wa-optin input { margin-top: 3px; }
.checkout .wa-optin small { color: #5a6b5e; }
.pay-btn:disabled { opacity: .6; cursor: progress; }

/* Order status page */
.placed { background: var(--ok-soft); color: var(--ok); border-radius: var(--r); padding: 14px 18px; display: flex; flex-direction: column; gap: 2px; margin-bottom: 22px; }
.placed span { color: #2f5d3a; font-size: 14px; }
.order-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.eta { background: var(--ink); color: #fff; border-radius: var(--r); padding: 12px 18px; text-align: right; }
.eta b { display: block; font-size: 24px; line-height: 1.1; }
.eta span { font-size: 12px; color: rgba(255,255,255,.7); }
.tracker { list-style: none; margin: 22px 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.tracker li { position: relative; display: flex; flex-direction: column; gap: 4px; padding-top: 44px; font-size: 13px; color: var(--muted); }
.tracker li::before { content: ""; position: absolute; top: 15px; left: 0; right: 0; height: 4px; border-radius: 2px; background: var(--line); }
.tracker li.done::before, .tracker li.cur::before { background: var(--ok); }
.tracker li i { position: absolute; top: 0; left: 0; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 700; background: var(--surface); border: 2px solid var(--line); color: var(--muted); z-index: 1; }
.tracker li.done i, .tracker li.cur i { background: var(--ok); border-color: var(--ok); color: #fff; }
.tracker li.cur i { box-shadow: 0 0 0 5px var(--ok-soft); }
.tracker li b { color: var(--ink); font-size: 14px; }
.tracker li:not(.done):not(.cur) b { color: var(--muted); font-weight: 500; }
.tracker--cancelled { background: var(--red-soft); color: var(--red-dark); border-radius: var(--r); padding: 14px 18px; margin: 22px 0; display: flex; gap: 10px; }
@media (max-width: 600px) { .tracker { grid-template-columns: 1fr; gap: 0; } .tracker li { padding: 4px 0 18px 48px; min-height: 52px; } .tracker li::before { top: 34px; bottom: 0; left: 15px; right: auto; width: 4px; height: auto; } .tracker li:last-child::before { display: none; } }
.order-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 860px) { .order-grid { grid-template-columns: 1fr; } }
.order-card { background: var(--surface); border-radius: var(--r-lg); padding: 20px; border: 1px solid var(--line); }
.order-card h2 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.oline { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.oline img, .oline > span:first-child { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; background: var(--sunk); }
.oline small { display: block; color: var(--muted); font-size: 12.5px; }
.osum { display: flex; justify-content: space-between; font-size: 14px; margin-top: 8px; }
.osum.save { color: var(--ok); font-weight: 600; }
.osum.total { font-weight: 700; font-size: 17px; border-top: 1px dashed var(--line); padding-top: 10px; }

/* WhatsApp-style updates panel (neutral styling, no third-party branding) */
.wa-chat { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: #ECE5DB; }
.wa-chat__head { display: flex; gap: 10px; align-items: center; background: #1F4E3D; color: #fff; padding: 12px 14px; }
.wa-chat__head img { width: 36px; height: 36px; border-radius: 50%; background: #fff; }
.wa-chat__head b { display: block; font-size: 15px; }
.wa-chat__head span { font-size: 12px; color: rgba(255,255,255,.75); }
.wa-chat__body { padding: 14px; display: flex; flex-direction: column; gap: 10px; min-height: 160px; }
.wa-msg { align-self: flex-start; max-width: 92%; background: #fff; border-radius: 4px 14px 14px 14px; padding: 9px 12px 7px; box-shadow: 0 1px 1px rgba(0,0,0,.08); font-size: 14px; }
.wa-msg__meta { display: block; text-align: right; font-size: 11px; color: #7a7a7a; margin-top: 4px; }
.wa-chat__off { margin: 0; padding: 10px 14px; font-size: 13px; background: #fff7e6; color: var(--warn); }
.st { font-weight: 600; }
.st--sent { color: #1E8A3A; } .st--preview, .st--dry_run { color: #8A6D00; } .st--failed { color: var(--red); } .st--opted_out { color: var(--muted); }

/* Dashboard */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 18px; overflow-x: auto; }
.tabs button { border: 0; background: none; padding: 10px 14px; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--red); }
.admin-orders { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.aorder { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.aorder__head { display: flex; justify-content: space-between; align-items: center; }
.aorder__head a { text-decoration: none; font-size: 17px; }
.aorder__items { color: var(--ink-2); font-size: 13px; }
.aorder__msg { font-size: 12.5px; color: var(--muted); }
.btnrow { display: flex; flex-wrap: wrap; gap: 8px; }
.spill { font-size: 12px; font-weight: 700; border-radius: 999px; padding: 3px 10px; background: var(--sunk); }
.spill--confirmed { background: #E7EEFB; color: #2A5DB0; } .spill--preparing { background: var(--warn-soft); color: var(--warn); } .spill--out_for_delivery { background: #EDE7FB; color: #5B3DB0; } .spill--delivered { background: var(--ok-soft); color: var(--ok); } .spill--cancelled { background: var(--red-soft); color: var(--red-dark); }
.admin-h { font-size: 17px; font-weight: 700; margin: 20px 0 10px; }
.tbl { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.tbl table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tbl th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
code { font-family: ui-monospace, Consolas, monospace; font-size: .92em; background: var(--sunk); padding: 1px 6px; border-radius: 5px; }
.setup { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px; align-items: start; }
@media (max-width: 860px) { .setup { grid-template-columns: 1fr; } }
.tpl { border-top: 1px solid var(--line); padding: 12px 0; }
.tpl__head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 13px; margin-bottom: 4px; }
.tpl p { font-size: 14px; }

/* ===== Round 4: homepage = full menu; Build-your-own is one highlighted option ===== */
.btn--light { background: #fff; border-color: #fff; color: var(--ink); }
.btn--light:hover { background: transparent; color: #fff; }
.hero--home .hero__inner { padding-top: 64px; padding-bottom: 48px; }
.hero--home h1 { font-size: clamp(44px, 6.6vw, 84px); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
@media (max-width: 600px) { .hero--home .hero__inner { padding-top: 40px; padding-bottom: 30px; } .hero__ctas .btn { flex: 1; } }

/* Build-your-own feature box */
.build-box { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); margin-top: -28px; position: relative; z-index: 2; background: var(--ink); color: #fff; border-radius: var(--r-lg); overflow: hidden; text-decoration: none; box-shadow: 0 18px 44px rgba(0,0,0,.18); }
.build-box__text { padding: 28px 30px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.build-box__text h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 700; letter-spacing: -.02em; }
.build-box__text p { color: rgba(255,255,255,.78); max-width: 46ch; }
.build-box__steps { list-style: none; margin: 4px 0 8px; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.build-box__steps li { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.08); border-radius: 999px; padding: 5px 14px 5px 5px; font-weight: 600; font-size: 14px; }
.build-box__steps b { width: 24px; height: 24px; border-radius: 50%; background: var(--red); display: grid; place-items: center; font-size: 12px; }
.build-box__pics { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 3px; min-height: 260px; }
.build-box__pics img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.build-box:hover .build-box__pics img { transform: scale(1.04); }
.build-box:hover .btn--red { background: var(--red-dark); }
@media (max-width: 760px) {
  .build-box { grid-template-columns: 1fr; margin-top: -20px; }
  .build-box__pics { order: -1; grid-template-columns: repeat(4, 1fr); grid-template-rows: none; min-height: 0; }
  .build-box__pics img { aspect-ratio: 1; }
  .build-box__text { padding: 20px; }
}

/* Menu */
.menu { padding-top: 36px; }
.menu-bar { position: sticky; top: var(--hdr); z-index: 20; background: var(--paper); display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.menu-tabs { display: flex; gap: 6px; overflow-x: auto; flex: 1; min-width: 0; scrollbar-width: none; }
.menu-tabs::-webkit-scrollbar { display: none; }
.menu-tabs button { flex: none; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 8px 14px; font-weight: 600; font-size: 14px; white-space: nowrap; }
.menu-tabs button span { color: var(--muted); font-weight: 500; margin-left: 6px; font-size: 12px; }
.menu-tabs button span:empty { display: none; }
.menu-tabs button:hover { border-color: var(--ink); }
.menu-tabs button.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.menu-tabs button.is-active span { color: rgba(255,255,255,.7); }
.menu-tabs button[data-id="build"] { color: var(--red); border-color: #F2C3BF; background: var(--red-soft); }
.menu-tabs button[data-id="build"].is-active { background: var(--red); color: #fff; border-color: var(--red); }
.veg-toggle { flex: none; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px; cursor: pointer; }
.veg-toggle input { accent-color: var(--veg); width: 16px; height: 16px; margin: 0; }
@media (max-width: 520px) { .veg-toggle { padding: 7px 10px; font-size: 13px; } }
.msec { scroll-margin-top: calc(var(--hdr) + 66px); padding-top: 30px; }
.msec__head { display: flex; align-items: baseline; justify-content: space-between; gap: 6px 16px; flex-wrap: wrap; margin-bottom: 14px; }
.msec__head h2 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; letter-spacing: -.01em; }
.msec__head p { color: var(--muted); font-size: 14px; }
.mlist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 860px) { .mlist { grid-template-columns: 1fr; gap: 10px; } }
.mrow { display: flex; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 14px 20px; min-width: 0; }
.mrow__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.mrow__marks { display: flex; align-items: center; gap: 6px; }
.mrow__text h3 { font-size: 16px; font-weight: 700; line-height: 1.3; }
.mrow__text h3 a { text-decoration: none; }
.mrow__text h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.mrow__desc { font-size: 13px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mrow__custom { align-self: flex-start; font-size: 13.5px; color: var(--red); margin-top: 2px; }
.mrow__media { position: relative; flex: none; width: 140px; align-self: flex-start; }
.mrow__media img, .mrow__noimg { display: block; width: 140px; height: 128px; border-radius: 14px; object-fit: cover; background: var(--sunk); }
.mrow__add { position: absolute; left: 50%; bottom: -12px; transform: translateX(-50%); min-width: 96px; text-align: center; background: #fff; color: var(--ok); border: 1px solid var(--line); border-radius: 10px; padding: 7px 14px; font-weight: 800; font-size: 14px; letter-spacing: .04em; text-decoration: none; box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.mrow__add:hover { background: var(--ok-soft); }
.mrow__add.is-off { color: var(--muted); font-weight: 600; letter-spacing: 0; }
@media (max-width: 420px) { .mrow__media { width: 116px; } .mrow__media img, .mrow__noimg { width: 116px; height: 108px; } .mrow__add { min-width: 84px; padding: 6px 10px; } }
.pill--build { background: var(--red-soft); color: var(--red-dark); }
.linkish { background: none; border: 0; padding: 0; font: inherit; text-align: left; cursor: pointer; }
.linkish:hover { text-decoration: underline; text-underline-offset: 3px; }
.mrow--scratch { padding: 0; border: 2px dashed #E7B9B4; background: var(--red-soft); }
.mrow--scratch a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; padding: 22px; text-decoration: none; min-height: 150px; }
.mrow--scratch b { font-size: 17px; color: var(--red-dark); }
.mrow--scratch span:last-child { font-size: 13px; color: var(--muted); }
.mrow__plus { width: 44px; height: 44px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-size: 26px; line-height: 1; }

/* Round 4b: compact Build-your-own banner, phone-friendly menu bar */
.build-box { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.build-box__text { padding: 22px 26px; gap: 8px; }
.build-box__text h2 { font-size: clamp(22px, 2.4vw, 28px); }
.build-box__steps { margin: 2px 0 6px; }
.build-box__pics { grid-template-columns: repeat(4, 1fr); grid-template-rows: none; min-height: 0; height: 100%; max-height: 230px; }
.build-box__pics img { height: 100%; min-height: 200px; }
@media (max-width: 760px) {
  .build-box__pics { max-height: none; height: auto; }
  .build-box__pics img { min-height: 0; aspect-ratio: 1; }
  .build-box__text p { display: none; }
  .build-box__steps { display: none; }
}
@media (max-width: 600px) {
  .menu-bar { flex-wrap: wrap; row-gap: 8px; }
  .menu-tabs { flex-basis: 100%; order: 2; }
  .veg-toggle { order: 1; margin-left: auto; }
  .menu-bar::before { content: "Menu"; order: 0; font-weight: 700; font-size: 18px; align-self: center; }
  .msec { scroll-margin-top: calc(var(--hdr) + 110px); }
}
@media (max-width: 760px) {
  .build-box { grid-template-columns: 1fr; }
  .build-box__pics { order: -1; grid-template-columns: repeat(4, 1fr); }
  .build-box__text { padding: 16px 18px 18px; }
  .build-box__text .btn { width: 100%; }
}

/* ===== Round 5: simple product blocks (like the live store), one font family ===== */
:root { --display: var(--body); }
.display, .hero h1, .coll-hero h1, .brand span, .ft__brand span, .checkout__brand span, .cat__text b { font-family: var(--body); font-weight: 700; text-transform: none; letter-spacing: -.03em; line-height: 1.05; }
.brand span, .ft__brand span, .checkout__brand span { letter-spacing: .02em; text-transform: uppercase; }
.hero h1, .hero--home h1 { font-size: clamp(34px, 5.2vw, 64px); }
.hud__stat b, .hud__total b, .hud__bar-stats b, .pdp__macros b, .eta b { font-family: var(--body); font-weight: 700; letter-spacing: -.02em; }
.hud__stat b { font-size: 24px; } .hud__total b { font-size: 28px; } .hud__bar-stats b { font-size: 18px; } .pdp__macros b { font-size: 22px; }

.grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 14px; }
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 680px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; } }
.pcard { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: none; overflow: hidden; display: flex; flex-direction: column; height: 100%; }
.pcard__media { display: block; width: 100%; aspect-ratio: 1; background: var(--sunk); border: 0; padding: 0; cursor: pointer; position: relative; overflow: hidden; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: none; }
.pcard:hover .pcard__media img { transform: none; }
.pcard__marks { top: 8px; left: 8px; }
.pcard__marks .vm { box-shadow: 0 0 0 2px #fff; }
.pcard__body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.pcard__title { font-size: 14.5px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.pcard__title .linkish { font-weight: 600; }
.pcard .price { font-size: 15px; }
.pcard__macros { font-size: 12.5px; color: var(--muted); }
.pcard__macros b { color: var(--red-dark); font-weight: 600; }
.btn-add { margin-top: auto; display: flex; align-items: center; justify-content: center; width: 100%; min-height: 40px; border: 1.5px solid var(--ink); border-radius: 10px; background: transparent; color: var(--ink); font-weight: 600; font-size: 14px; text-decoration: none; }
.pcard__body .price + .btn-add, .pcard__macros + .btn-add { margin-top: 8px; }
.pcard__body > .btn-add:first-of-type { margin-top: auto; }
.btn-add:hover { background: var(--ink); color: #fff; }
.btn-add:disabled { opacity: .45; cursor: not-allowed; }
.btn-add:disabled:hover { background: transparent; color: var(--ink); }
.pcard__custom { background: none; border: 0; padding: 6px 0 0; color: var(--red); font-weight: 600; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.pcard--scratch { align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 18px; text-decoration: none; border: 2px dashed #E7B9B4; background: var(--red-soft); min-height: 220px; }
.pcard--scratch b { font-size: 16px; color: var(--red-dark); }
.pcard--scratch span:last-child { font-size: 12.5px; color: var(--muted); }
@media (max-width: 680px) {
  .pcard__body { padding: 8px 10px 10px; }
  .pcard__title { font-size: 13.5px; }
  .btn-add { min-height: 38px; font-size: 13.5px; }
}

.pcard__body { gap: 6px; }
.pcard__body .price + .btn-add, .pcard__macros + .btn-add { margin-top: auto; }
.pcard__body > .btn-add { margin-top: auto; }


/* ===== Round 6: homepage category boxes ===== */
.boxes-wrap { padding-top: 34px; }
.boxes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .boxes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.box { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: var(--ink); color: #fff; text-decoration: none; }
.box img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.box:hover img { transform: scale(1.04); }
.box::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.8) 100%); }
.box__text { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; display: flex; flex-direction: column; gap: 2px; }
.box__text b { font-size: clamp(19px, 2.2vw, 26px); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.box__text span { font-size: 13.5px; opacity: .85; }
.box__text em { font-style: normal; font-weight: 600; font-size: 14px; margin-top: 6px; color: #FFB4A8; }
.box__count { position: absolute; top: 12px; right: 12px; z-index: 1; background: rgba(255,255,255,.94); color: var(--ink); font-size: 12px; font-weight: 700; border-radius: 999px; padding: 3px 10px; }
.box__tag { position: absolute; top: 12px; left: 12px; z-index: 1; background: var(--red); color: #fff; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 3px 10px; }
.box--build { box-shadow: inset 0 0 0 3px var(--red); }
.box--build::after { background: linear-gradient(180deg, rgba(0,0,0,0) 25%, rgba(120,10,10,.85) 100%); }
@media (max-width: 860px) { .box { aspect-ratio: 1 / 1.08; border-radius: 14px; } .box__text { left: 12px; right: 12px; bottom: 10px; } .box__text b { font-size: 17px; } .box__text span { display: none; } .box__text em { font-size: 13px; margin-top: 4px; } .box__count { top: 8px; right: 8px; font-size: 11px; } .box__tag { top: 8px; left: 8px; font-size: 11px; } }
.menu--page .menu-bar::before { content: none; }

@media (max-width: 860px) { .box--build .box__count { display: none; } }


/* ===== Round 7: "Use my current location" at checkout ===== */
.checkout .loc-btn { width: 100%; display: flex; align-items: center; gap: 14px; text-align: left; border: 1.5px solid var(--red); background: #FFF5F4; color: var(--red-dark); border-radius: 10px; padding: 14px 16px; cursor: pointer; }
.checkout .loc-btn:hover { background: #FDE8E6; }
.checkout .loc-btn svg { width: 26px; height: 26px; flex: none; color: var(--red); }
.checkout .loc-btn b { display: block; font-size: 15.5px; }
.checkout .loc-btn small { display: block; color: #8a5a55; font-size: 12.5px; }
.checkout .loc-btn.is-busy svg { animation: locspin 1.2s linear infinite; }
@keyframes locspin { to { transform: rotate(360deg); } }
.checkout .loc-btn:disabled { opacity: .7; cursor: progress; }
.checkout .loc-msg { font-size: 13.5px; margin-top: 8px; min-height: 0; }
.checkout .loc-msg:empty { display: none; }
.checkout .loc-ok { color: #1E6B34; }
.checkout .loc-ok a { color: #1E6B34; font-weight: 600; }
.checkout .loc-err { color: #B3261E; }
.checkout .or-line { display: flex; align-items: center; gap: 10px; color: #8a8a8a; font-size: 12.5px; margin: 14px 0 12px; }
.checkout .or-line::before, .checkout .or-line::after { content: ""; flex: 1; height: 1px; background: #e2e2e2; }

.checkout .loc-credit { display: block; color: #8a8a8a; font-size: 11px; margin-top: 4px; }

/* ---------------- Customer accounts ---------------- */
/* Header account link: icon + first name (icon only on phones) */
.hdr__acct { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 12px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 14px; white-space: nowrap; max-width: 160px; }
.hdr__acct:hover { background: var(--sunk); }
.hdr__acct svg { width: 22px; height: 22px; flex: none; }
.hdr__acct span { overflow: hidden; text-overflow: ellipsis; }
.hdr__acct.is-in svg { color: var(--ok); }
@media (max-width: 760px) { .hdr__acct { width: 44px; padding: 0; justify-content: center; } .hdr__acct span { display: none; } }
/* Small phones: make room for menu, logo, account, search and cart on one row */
@media (max-width: 480px) {
  .hdr { gap: 6px; }
  .hdr__actions { gap: 0; }
  .brand { gap: 8px; }
  .brand img { width: 40px; height: 40px; }
  .brand span { font-size: 20px; }
  .hdr__acct, .hdr__actions .icon-btn { width: 40px; }
  .cart-pill { padding: 0 12px; gap: 6px; }
}
@media (max-width: 380px) { .brand span { display: none; } }

/* Sign in */
.signin-wrap { display: flex; justify-content: center; }
.signin { width: 100%; max-width: 460px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 26px; box-shadow: var(--shadow); }
@media (max-width: 520px) { .signin { padding: 22px 18px; border-radius: var(--r); } }
.signin > .muted { margin-top: 2px; }
.signin .page-title { font-size: clamp(26px, 3vw, 32px); }
.signin__form { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.signin__form > label, .addr-form label.field-label { font-size: 13.5px; font-weight: 600; }
.signin .phone-field { border-color: var(--line); border-radius: var(--r-sm); background: var(--surface); }
.signin .phone-field span { background: var(--sunk); border-right-color: var(--line); color: var(--ink-2); }
.signin .phone-field input { flex: 1; min-width: 0; min-height: 50px; padding: 10px 14px; font-size: 17px; letter-spacing: .03em; background: transparent; }
.signin .phone-field:focus-within { outline: 2px solid var(--ink); outline-offset: 0; }
.signin .phone-field input:focus { outline: none; }
.signin .otp { width: 100%; min-height: 60px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); text-align: center; font-size: 28px; font-weight: 700; letter-spacing: .45em; padding: 8px 0 8px .45em; font-variant-numeric: tabular-nums; }
.signin .otp:focus { outline: 2px solid var(--ink); outline-offset: 0; border-color: transparent; }
.signin .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 420px) { .signin .grid2 { grid-template-columns: 1fr; } }
.signin .err, .addr-form .err { color: #B3261E; font-size: 13.5px; min-height: 0; }
.signin .err:empty, .addr-form .err:empty { display: none; }
.signin .linkish, .co-signed .linkish, .signin__resend .linkish { color: var(--red); font-weight: 600; }
.signin__resend { font-size: 13.5px; color: var(--muted); text-align: center; margin-top: 4px; }
.signin__skip { align-self: center; color: var(--muted) !important; font-weight: 500 !important; font-size: 14px; margin-top: 2px; }
.signin__perks { list-style: none; margin: 22px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); }
.signin__perks li { display: flex; gap: 10px; align-items: center; }
.signin__perks li::before { content: "✓"; width: 22px; height: 22px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--ok-soft); color: var(--ok); font-size: 12px; font-weight: 700; }
.demo-code { margin-top: 14px; display: flex; flex-direction: column; gap: 2px; background: var(--warn-soft); color: var(--warn); border: 1px dashed var(--warn); border-radius: var(--r-sm); padding: 10px 12px; font-size: 13.5px; }
.demo-code span { color: #6b4a12; }
.demo-code code { font-size: 16px; font-weight: 700; letter-spacing: .12em; background: #fff; border-radius: 6px; padding: 1px 6px; color: var(--ink); }

/* Account page */
.acct-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.acct-orders { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
@media (max-width: 520px) { .acct-orders { grid-template-columns: 1fr; } }
.acct-orders .aorder__head a { text-decoration: none; }
.acct-empty { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--r-lg); padding: 26px 22px; }
.acct-empty b { font-size: 17px; }
.acct-empty span { color: var(--muted); margin-bottom: 10px; }
.addr-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.addr-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.addr-card.is-default { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.addr-card__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 15px; }
.addr-card .btnrow { margin-top: auto; padding-top: 4px; }
.spill--default { background: var(--ink); color: #fff; }
.addr-add { min-height: 160px; border: 2px dashed var(--line); border-radius: var(--r); background: transparent; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--ink-2); padding: 16px; }
.addr-add:hover { border-color: var(--ink); background: var(--surface); }
.addr-add span { width: 38px; height: 38px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-size: 24px; line-height: 1; margin-bottom: 4px; }
.addr-add small { color: var(--muted); }
.btn--quiet { border-color: transparent; color: var(--red-dark); }
.btn--quiet:hover { background: var(--red-soft); color: var(--red-dark); }
.acct-form { max-width: 640px; }
.field input[readonly] { background: var(--sunk); color: var(--muted); }
.field small { display: block; font-size: 12.5px; margin-top: 6px; }
.acct-danger { max-width: 640px; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.acct-danger h2 { font-size: 16px; }
.acct-danger p { font-size: 14px; }
.track-acct { margin-top: 22px; font-size: 14px; color: var(--muted); }
.track-acct a { color: var(--red); font-weight: 600; }

/* Address form (account page): same look as checkout fields */
.addr-form { max-width: 620px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.addr-form h2 { font-size: 18px; }
.addr-form input:not([type=checkbox]):not([type=radio]), .addr-form select { width: 100%; min-height: 48px; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px 12px; background: #fff; font-size: 15px; }
.addr-form input:focus, .addr-form select:focus { outline: 2px solid var(--ink); outline-offset: 0; border-color: transparent; }
.addr-form .stack { display: flex; flex-direction: column; gap: 12px; }
.addr-form .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.addr-form .grid3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .addr-form { padding: 16px; } .addr-form .grid3 { grid-template-columns: 1fr 1fr; } .addr-form .grid3 > :first-child { grid-column: 1 / -1; } }
.addr-form .check { display: flex; gap: 10px; align-items: center; font-size: 14px; }
.addr-form .check input { width: 18px; height: 18px; }
.addr-labels { display: flex; gap: 8px; flex-wrap: wrap; }
.addr-labels label { position: relative; }
.addr-labels input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.addr-labels span { display: inline-block; border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; font-size: 14px; font-weight: 600; background: var(--surface); }
.addr-labels input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.addr-labels input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.addr-form .loc-btn { width: 100%; display: flex; align-items: center; gap: 14px; text-align: left; border: 1.5px solid var(--red); background: #FFF5F4; color: var(--red-dark); border-radius: 10px; padding: 14px 16px; cursor: pointer; }
.addr-form .loc-btn:hover { background: #FDE8E6; }
.addr-form .loc-btn svg { width: 26px; height: 26px; flex: none; color: var(--red); }
.addr-form .loc-btn b { display: block; font-size: 15.5px; }
.addr-form .loc-btn small { display: block; color: #8a5a55; font-size: 12.5px; }
.addr-form .loc-btn.is-busy svg { animation: locspin 1.2s linear infinite; }
.addr-form .loc-btn:disabled { opacity: .7; cursor: progress; }
.addr-form .loc-msg { font-size: 13.5px; }
.addr-form .loc-msg:empty { display: none; }
.addr-form .loc-ok { color: #1E6B34; }
.addr-form .loc-ok a { color: #1E6B34; font-weight: 600; }
.addr-form .loc-err { color: #B3261E; }
.addr-form .loc-credit { display: block; color: #8a8a8a; font-size: 11px; margin-top: 4px; }
.addr-form .or-line { display: flex; align-items: center; gap: 10px; color: #8a8a8a; font-size: 12.5px; margin: 2px 0; }
.addr-form .or-line::before, .addr-form .or-line::after { content: ""; flex: 1; height: 1px; background: #e2e2e2; }

/* Checkout: sign-in link, signed-in contact, saved address picker */
/* The homepage category tiles also use .box (dark, 4:3, gradient overlay). Undo that for checkout option lists. */
.checkout .box { aspect-ratio: auto; background: #fff; color: inherit; overflow: hidden; display: block; position: static; }
.checkout .box::after { content: none; }
.checkout .co-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 26px 0 12px; }
.checkout .co-head h2 { margin: 0; }
.checkout .co-head a { font-size: 14px; color: var(--red-dark); font-weight: 600; }
.checkout .co-signed { display: flex; align-items: center; gap: 12px; border: 1px solid #d9d9d9; border-radius: 8px; padding: 12px 14px; }
.checkout .co-signed > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.checkout .co-signed b { color: #000; }
.checkout .co-signed span:not(.co-signed__icon) { font-size: 13.5px; color: #707070; }
.co-signed__icon { width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.checkout .addr-pick { margin-bottom: 14px; }
.checkout .addr-pick .check { align-items: flex-start; width: 100%; cursor: pointer; }
.checkout .addr-pick .check input { margin-top: 3px; flex: none; }
.checkout .addr-pick .check span { display: flex; flex-direction: column; min-width: 0; }
.checkout .addr-pick b { color: #000; font-weight: 600; }
.checkout .addr-pick b em { font-style: normal; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; background: #000; color: #fff; border-radius: 999px; padding: 1px 7px; margin-left: 6px; vertical-align: 2px; }
.checkout .addr-pick small { color: #707070; font-size: 13px; }

/* Tracking link box (order confirmation / live tracking page) */
.track-link { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 20px; background: var(--surface); border: 1.5px solid var(--red); border-radius: var(--r); padding: 14px 16px; margin: 0 0 20px; }
.track-link b { display: block; font-size: 15.5px; }
.track-link span { color: var(--muted); font-size: 13.5px; }
.track-link__row { display: flex; gap: 8px; flex: 1 1 360px; max-width: 560px; }
.track-link__row input { flex: 1; min-width: 0; min-height: 38px; border: 1px solid var(--line); border-radius: 999px; padding: 0 14px; background: var(--paper); font-size: 13px; }

/* ===== Account: Earn with us (customer partners) ===== */
.earn-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; max-width: 720px; display: flex; flex-direction: column; gap: 10px; }
.earn-card h2, .earn h2 { font-size: 22px; line-height: 1.2; margin: 0; }
.earn-badge { align-self: flex-start; background: var(--red-soft); color: var(--red-dark); font-size: 12px; font-weight: 700; border-radius: 999px; padding: 3px 10px; letter-spacing: .02em; }
.earn-badge--off { background: var(--sunk); color: var(--muted); }
.earn-pts { margin: 4px 0 8px; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; font-size: 14.5px; }
.earn { display: flex; flex-direction: column; gap: 14px; }
.earn-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.earn-head > div { display: flex; flex-direction: column; gap: 8px; }
.earn-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 640px) { .earn-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.earn-kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.earn-kpi span { font-size: 12.5px; color: var(--muted); }
.earn-kpi b { font-size: 22px; font-variant-numeric: tabular-nums; }
.earn-kpi small { font-size: 12px; color: var(--ok); font-weight: 600; }
.earn-tier { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 14px; }
.earn-bar { height: 8px; background: var(--sunk); border-radius: 999px; overflow: hidden; margin-top: 8px; }
.earn-bar i { display: block; height: 100%; background: var(--red); border-radius: 999px; }
.earn h3 { font-size: 15px; margin: 6px 0 -4px; }
.earn-code { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.earn-code > div:first-child { display: flex; flex-direction: column; }
.earn-code b { font-size: 18px; letter-spacing: .04em; }
.earn-code span { font-size: 13.5px; }
.earn-link { display: flex; gap: 6px; flex-wrap: wrap; }
.earn-link input { flex: 1 1 200px; min-width: 0; min-height: 40px; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 0 10px; background: var(--sunk); font-size: 13px; }
.earn-table { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); }
.earn-table table { width: 100%; border-collapse: collapse; font-size: 14px; }
.earn-table th, .earn-table td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.earn-table th { font-size: 12px; color: var(--muted); font-weight: 600; }
.earn-table tr:last-child td { border-bottom: 0; }
