/* =====================================================================
   SeyEats customer app: the redesign.
   Loaded after style.css + theme.css on index.html only (staff apps keep their look).

   Palette
     ink     #1e1512  roasted brown-black: text, footer
     chilli  #e23b2e  the one action colour: buttons, active states
     mango   #ffc21a  deals and ratings
     lagoon  #0b7a75  delivery info: location, fees, distance
     wash    #f6f3f0  quiet fills: chips, fact boxes
   Type
     Bricolage Grotesque for headings, Figtree for everything else.
   Principle
     The food photography is the loud part. Everything around it is white, calm and exact.
   ===================================================================== */
.customer {
  --ink: #1e1512;
  --ink-2: #6b5d55;
  --chilli: #e23b2e;
  --chilli-press: #c42a1e;
  --chilli-soft: #fdecea;
  --mango: #ffc21a;
  --mango-soft: #fff4d1;
  --lagoon: #0b7a75;
  --lagoon-soft: #e4f3f1;
  --wash: #f6f3f0;
  --rule: #ece6e1;
  --display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);

  /* re-map the shared theme so drawers, forms and sheets follow */
  --text: var(--ink); --text-muted: var(--ink-2); --muted: var(--ink-2);
  --cream: #fff; --paper: #fff; --hairline: var(--rule); --line: var(--rule);
  --accent: var(--chilli); --accent-press: var(--chilli-press); --accent-soft: var(--chilli-soft);
  --brand: var(--ink); --green: var(--ink); --deep: var(--ink);

  background: #fff;
  color: var(--ink);
  font-size: 15px;
}
.customer * { font-family: var(--body) !important; }
.customer :is(h1, h2, h3, .hc-title, .se-logo-word, .detail-title, .deal-badge) { font-family: var(--display) !important; }
.customer .app-shell { max-width: none; min-height: 100vh; margin: 0; padding-bottom: 0; overflow: visible; background: #fff; }
.customer main { outline: none; }
.customer :focus-visible { outline: 3px solid var(--chilli); outline-offset: 2px; }
.customer svg { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; text-decoration: none; }
.skip-link:focus { top: 12px; }

/* ---------------------------------------------------------------- header */
.se-header { position: sticky; top: 0; z-index: 8; background: #fff; transition: box-shadow .2s; }
.se-header.is-scrolled { box-shadow: 0 1px 0 var(--rule), 0 8px 24px #1e151210; }
.se-header-inner {
  max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 14px var(--gutter);
  display: grid; grid-template-columns: auto auto minmax(220px, 1fr) auto; align-items: center; gap: 18px;
}
.se-logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); }
.se-logo-mark { width: 36px; height: 36px; border-radius: 11px; background: var(--chilli); color: #fff; display: grid; place-items: center;
  font: 800 21px/1 var(--display); transform: rotate(-6deg); }
.se-logo-word { font-size: 25px; font-weight: 800; letter-spacing: -.045em; }
.se-logo.is-light { color: #fff; }

.se-location { display: flex; align-items: center; gap: 9px; border: 0; background: var(--lagoon-soft); color: var(--ink);
  border-radius: 999px; padding: 8px 14px 8px 11px; cursor: pointer; max-width: 300px; text-align: left; }
.se-location:hover { background: #d4ece9; }
.se-location-pin { font-size: 20px; color: var(--lagoon); }
.se-location-copy { min-width: 0; display: grid; line-height: 1.15; }
.se-location-copy small { font-size: 12px; color: var(--lagoon); font-weight: 600; }
.se-location-copy strong { font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.se-chev { font-size: 16px; color: var(--ink-2); }

.se-search { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 8px 0 16px; border-radius: 999px; background: var(--wash);
  border: 1.5px solid transparent; transition: border-color .15s, background .15s; cursor: text; }
.se-search:focus-within { background: #fff; border-color: var(--ink); }
.se-search svg { font-size: 19px; color: var(--ink-2); }
.se-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 16px; color: var(--ink); }
.se-search input::placeholder { color: #8f827a; }
.se-search input::-webkit-search-cancel-button { display: none; }
.se-search input:placeholder-shown + button { visibility: hidden; }
.se-search button { border: 0; background: none; width: 32px; height: 32px; border-radius: 50%; font-size: 20px; color: var(--ink-2); cursor: pointer; }

.se-actions { display: flex; align-items: center; gap: 6px; }
.se-action { position: relative; display: inline-flex; align-items: center; gap: 7px; border: 0; background: none; color: var(--ink);
  font-size: 15px; font-weight: 600; padding: 10px 12px; border-radius: 999px; cursor: pointer; }
.se-action:hover { background: var(--wash); }
.se-action svg { font-size: 20px; }
.se-cart { background: var(--ink); color: #fff; padding: 10px 16px; }
.se-cart:hover { background: #3a2c26; }
.se-cart b { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--chilli); color: #fff; font-size: 12px; display: grid; place-items: center; }
.se-avatar { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--chilli-soft); color: var(--chilli-press); font-weight: 800; font-size: 16px; cursor: pointer; }

/* ---------------------------------------------------------------- hero carousel */
.hero-carousel { position: relative; width: min(var(--wrap), calc(100% - 2 * var(--gutter))); margin: 6px auto 0; border-radius: 28px; overflow: hidden;
  height: clamp(380px, 40vw, 520px); background: #2a1d18; isolation: isolate; }
.hc-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.hc-track::-webkit-scrollbar { display: none; }
.hc-slide { position: relative; flex: 0 0 100%; height: 100%; scroll-snap-align: start; overflow: hidden; }
.hc-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hc-shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(22, 13, 9, .86) 0%, rgba(22, 13, 9, .62) 34%, rgba(22, 13, 9, .08) 68%),
  linear-gradient(0deg, rgba(22, 13, 9, .5) 0%, transparent 34%); }
.hc-copy { position: absolute; left: clamp(24px, 5vw, 64px); bottom: clamp(70px, 8vw, 96px); max-width: min(560px, 62%); color: #fff; }
.hc-tag { display: inline-block; margin-bottom: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .16);
  backdrop-filter: blur(6px); font-size: 14px; font-weight: 600; }
.hc-tag.is-deal { background: var(--mango); color: var(--ink); }
.hc-title { margin: 0; font-size: clamp(36px, 4.7vw, 64px); line-height: .98; font-weight: 800; letter-spacing: -.035em; text-wrap: balance; }
.hc-sub { margin: 16px 0 26px; font-size: clamp(15px, 1.35vw, 18px); line-height: 1.5; color: rgba(255, 255, 255, .88); max-width: 44ch; }
.hc-cta { border: 0; background: var(--chilli); color: #fff; font-size: 16px; font-weight: 700; padding: 15px 26px; border-radius: 999px; cursor: pointer;
  box-shadow: 0 10px 26px rgba(226, 59, 46, .4); transition: background .15s, transform .15s; }
.hc-cta:hover { background: var(--chilli-press); }
.hc-cta:active { transform: scale(.97); }
.hc-controls { position: absolute; left: clamp(24px, 5vw, 64px); right: 24px; bottom: 26px; display: flex; align-items: center; justify-content: space-between; pointer-events: none; }
.hc-dots { display: flex; gap: 8px; pointer-events: auto; }
.hc-dot { width: 30px; height: 30px; border: 0; padding: 0; background: none; cursor: pointer; display: grid; align-items: center; }
.hc-dot i { display: block; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .38); position: relative; overflow: hidden; transition: width .3s; width: 30px; }
.hc-dot.on i { width: 56px; background: rgba(255, 255, 255, .38); }
.hc-dot.on { width: 56px; }
.hc-dot.on i::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: left; transform: scaleX(1); }
.hc-dot.on.run i::after { animation: hc-progress 6.5s linear forwards; }
@keyframes hc-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hc-arrows { display: flex; gap: 10px; pointer-events: auto; }
.hc-arrow { width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--ink); display: grid; place-items: center; cursor: pointer; font-size: 20px; }
.hc-arrow:hover { background: #fff; }
.hc-arrow svg { stroke-width: 2.4; }
@media (prefers-reduced-motion: reduce) { .hc-dot.on.run i::after { animation: none; } }

/* ---------------------------------------------------------------- sections */
.se-section { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); box-sizing: content-box; }
.se-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 0 0 16px; }
.se-head h2 { margin: 0; font-size: clamp(24px, 2.4vw, 30px); font-weight: 800; letter-spacing: -.03em; }
.customer .result-count { font-size: 14px; color: var(--ink-2); padding: 0; }

/* categories: photo circles */
.se-cats-section { margin-top: 30px; }
.se-cats { display: flex; gap: clamp(14px, 2.2vw, 28px); overflow-x: auto; padding: 4px 2px 8px; scrollbar-width: none; }
.se-cats::-webkit-scrollbar { display: none; }
.customer .se-cat { flex: none; display: grid; justify-items: center; gap: 9px; border: 0; background: none; padding: 0; cursor: pointer; color: var(--ink);
  font-size: 15px; font-weight: 600; box-shadow: none; border-radius: 0; }
.customer .se-cat span { width: auto; height: auto; background: none; border-radius: 0; font-size: inherit; display: block; }
.customer .se-cat .se-cat-img { width: 84px; height: 84px; border-radius: 50%; overflow: hidden; background: var(--wash); box-shadow: 0 0 0 3px #fff, 0 0 0 3px transparent; transition: box-shadow .15s; }
.customer .se-cat .se-cat-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.customer .se-cat:hover .se-cat-img { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--rule); }
.customer .se-cat.active { background: none; color: var(--chilli-press); box-shadow: none; }
.customer .se-cat.active .se-cat-img { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--chilli); }

/* deals */
.customer .deals-section { margin-top: 40px; }
.customer .deals-row { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.customer .deals-row::-webkit-scrollbar { display: none; }
.customer .deal-card { flex: 0 0 min(340px, 82vw); display: flex; align-items: stretch; gap: 0; padding: 0; border: 0; border-radius: 18px; overflow: hidden;
  background: var(--mango-soft); text-align: left; cursor: pointer; color: var(--ink); box-shadow: none; }
.deal-photo { position: relative; flex: 0 0 120px; }
.deal-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.customer .deal-badge { position: absolute; left: 8px; bottom: 8px; background: var(--mango); color: var(--ink); font-size: 14px; font-weight: 800;
  padding: 5px 9px; border-radius: 9px; letter-spacing: -.01em; width: auto; height: auto; display: inline-block; box-shadow: none; }
.customer .deal-text { display: grid; align-content: center; gap: 3px; padding: 16px 18px; }
.customer .deal-text strong { font-size: 17px; font-weight: 700; }
.customer .deal-text span { font-size: 14px; color: var(--ink); }
.customer .deal-text small { font-size: 13px; color: #7a5b00; }

/* restaurants */
.customer .restaurant-section { margin-top: 44px; padding-bottom: 72px; }
.se-sort { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 0 22px; }
.se-sort::-webkit-scrollbar { display: none; }
.se-chip { flex: none; border: 0; background: var(--wash); color: var(--ink); font-size: 14px; font-weight: 600; padding: 10px 16px; border-radius: 999px; cursor: pointer; }
.se-chip:hover { background: #eee8e3; }
.se-chip.on { background: var(--ink); color: #fff; }

.customer .restaurant-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 34px 24px; }
.customer .restaurant-card { border: 0; border-radius: 0; background: none; box-shadow: none; overflow: visible; transition: none; }
.customer .restaurant-card:hover { transform: none; box-shadow: none; }
.customer .restaurant-card:focus-visible { outline-offset: 6px; border-radius: 18px; }
.customer .restaurant-image { position: relative; height: auto; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; background: var(--wash); }
.customer .restaurant-image::after { display: none; }
.customer .restaurant-image img { width: 100%; height: 100%; object-fit: cover; }
.customer .restaurant-card .tag { position: absolute; left: 12px; top: 12px; background: var(--mango); color: var(--ink); font-size: 13px; font-weight: 700; padding: 6px 11px; border-radius: 999px; }
.customer .closed-badge { position: absolute; left: 12px; top: 12px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; padding: 6px 11px; border-radius: 999px; }
.customer .restaurant-card.is-closed .restaurant-image img { filter: grayscale(.85) brightness(.9); }
.customer .restaurant-card.is-closed, .customer .restaurant-card.is-far { opacity: 1; }
.customer .restaurant-card.is-far .restaurant-image img { filter: saturate(.4); }
.customer .heart { position: absolute; right: 12px; top: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .94);
  display: grid; place-items: center; font-size: 20px; color: var(--ink); cursor: pointer; }
.customer .heart.liked { color: var(--chilli); }
.customer .heart.liked svg { fill: currentColor; }
.customer .restaurant-info { padding: 14px 2px 0; }
.customer .restaurant-title-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.customer .restaurant-title-row h3 { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.customer .rating { display: inline-flex; align-items: center; gap: 4px; background: var(--wash); color: var(--ink); font-size: 14px; font-weight: 700; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.customer .rating svg { color: #e9a800; fill: var(--mango); stroke: #e9a800; stroke-width: 1.2; font-size: 15px; }
.customer .rating small { color: var(--ink-2); font-weight: 500; font-size: 13px; }
.customer .rating.is-new { background: var(--lagoon-soft); color: var(--lagoon); }
.customer .restaurant-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-top: 8px; font-size: 14.5px; color: var(--ink); }
.customer .restaurant-meta span { display: inline-flex; align-items: center; gap: 6px; }
.customer .restaurant-meta svg { font-size: 17px; color: var(--ink-2); }
.customer .rc-fee { color: var(--lagoon); font-weight: 600; }
.customer .rc-fee svg { color: var(--lagoon); }
.customer .rc-km { color: var(--ink-2); }
.customer .too-far, .customer .too-far svg { color: var(--chilli-press); }
.customer .restaurant-image img.rc-logo { position: absolute; left: 12px; bottom: 12px; width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: #fff;
  border: 3px solid #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .25); }
.rc-cat { margin: 5px 0 0; font-size: 14px; color: var(--ink-2); }
.rc-skeleton i { display: block; aspect-ratio: 16 / 10; border-radius: 18px; background: var(--wash); }
.rc-skeleton b { display: block; height: 16px; border-radius: 6px; background: var(--wash); margin-top: 14px; width: 70%; }
.rc-skeleton b + b { width: 45%; margin-top: 10px; }
.customer .empty-state { text-align: left; padding: 30px 0; color: var(--ink-2); }
.customer .empty-state h3 { font-size: 22px; margin: 0 0 6px; color: var(--ink); }
.customer .empty-state p { font-size: 15px; }

/* ---------------------------------------------------------------- footer */
.se-footer { background: var(--ink); color: #e9e1db; margin-top: 20px; }
.se-footer-inner { max-width: var(--wrap); margin: 0 auto; padding: 56px var(--gutter) 34px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.se-footer-brand p { color: #b9aca4; font-size: 15px; max-width: 32ch; line-height: 1.55; margin: 14px 0 0; }
.se-footer-col { display: grid; align-content: start; gap: 10px; }
.se-footer-col h3 { margin: 0 0 4px; font-size: 16px; color: #fff; font-weight: 700; }
.se-footer-col a, .se-footer-col button { color: #d8cdc6; text-decoration: none; font-size: 15px; background: none; border: 0; padding: 0; text-align: left; cursor: pointer; width: fit-content; }
.se-footer-col a:hover, .se-footer-col button:hover { color: #fff; text-decoration: underline; }
.se-footer-small { grid-column: 1 / -1; border-top: 1px solid #3a2d27; padding-top: 22px; margin: 12px 0 0; font-size: 13px; color: #9a8c84; }

/* ---------------------------------------------------------------- bottom nav + cart bar */
.customer .bottom-nav { display: none; }
.customer .cart-bar { position: fixed; z-index: 7; right: 24px; bottom: 24px; left: auto; width: 380px; transform: none; border-radius: 999px; background: var(--chilli);
  color: #fff; padding: 12px 22px 12px 12px; box-shadow: 0 14px 34px rgba(226, 59, 46, .38); }
.customer .cart-bar-count { background: #fff; color: var(--chilli-press); }

/* ---------------------------------------------------------------- side panel (cart, checkout, orders, account) */
.customer .overlay { background: rgba(30, 21, 18, .55); backdrop-filter: blur(2px); }
.customer .drawer { background: #fff; width: min(480px, 100%); padding: 26px 28px 120px; box-shadow: -24px 0 60px rgba(30, 21, 18, .18); }
.customer .drawer-head h2 { font-size: 26px; font-weight: 800; letter-spacing: -.03em; }
.customer .close-drawer { background: var(--wash); width: 40px; height: 40px; font-size: 22px; color: var(--ink); }
.customer .muted { font-size: 14px; color: var(--ink-2); }
.customer .summary { border-color: var(--rule); border-radius: 16px; padding: 16px 18px; }
.customer .summary-row { font-size: 15px; color: var(--ink-2); }
.customer .summary-row.total { font-size: 18px; color: var(--ink); }
.customer .primary-button { font-size: 16px; font-weight: 700; padding: 16px; border-radius: 999px; box-shadow: none; }
.customer .secondary-button { font-size: 15px; font-weight: 700; padding: 13px 18px; border-radius: 999px; color: var(--ink); border: 1.5px solid var(--rule); }
.customer .form-field label, .customer .field-label { font-size: 13px; font-weight: 600; letter-spacing: 0; color: var(--ink-2); }
.customer .form-field input, .customer .form-field select, .customer .form-field textarea { font-size: 16px; padding: 13px 14px; border-radius: 12px; border-color: var(--rule); }
.customer .form-field input:focus, .customer .form-field textarea:focus { outline: 2px solid var(--ink); outline-offset: 0; }
.customer .cart-line h4 { font-size: 16px; }
.customer .order-card, .customer .profile-row { border-color: var(--rule); border-radius: 16px; }
.customer .order-card h3 { font-size: 17px; }
.customer .profile-row strong { font-size: 15px; }
.customer .profile-row small { font-size: 13px; }
.customer .status-step { font-size: 15px; }
.customer .eyebrow { letter-spacing: 0; font-size: 13px; text-transform: none; }
.customer .toast { font-size: 14px; padding: 12px 18px; border-radius: 12px; background: var(--ink); }

/* ---------------------------------------------------------------- restaurant page */
.customer .drawer.is-restaurant { left: 50%; top: 50%; right: auto; transform: translate(-50%, -50%); width: min(900px, 94vw); height: min(92vh, 940px);
  border-radius: 26px; padding: 0 0 110px; box-shadow: 0 40px 100px rgba(30, 21, 18, .35); overscroll-behavior: contain; }
.rp-head { position: sticky; top: 0; z-index: 4; height: 0; margin: 0 !important; display: block !important; }
.customer .rp-head .close-drawer { position: absolute; right: 18px; top: 18px; background: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, .2); }
.rp-cover { height: clamp(200px, 32vh, 320px); background: var(--wash); }
.rp-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rp-body { position: relative; padding: 26px clamp(20px, 4vw, 40px) 0; }
.rp-logo { position: absolute; top: -44px; left: clamp(20px, 4vw, 40px); width: 84px; height: 84px; border-radius: 50%; object-fit: cover; background: #fff;
  border: 4px solid #fff; box-shadow: 0 8px 22px rgba(0, 0, 0, .22); }
.rp-logo + .rp-title-row { margin-top: 38px; }
.rp-title-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.customer .detail-title { margin: 0; font-size: clamp(30px, 4vw, 40px); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; }
.rp-desc { margin: 10px 0 0; font-size: 16px; line-height: 1.55; color: var(--ink-2); max-width: 62ch; }
.rp-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 20px 0 12px; }
.rp-fact { display: flex; align-items: center; gap: 11px; background: var(--wash); border-radius: 14px; padding: 12px 14px; font-size: 22px; color: var(--ink-2); min-width: 0; }
.rp-fact > span { display: grid; min-width: 0; }
.rp-fact b { font-size: 15px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rp-fact small { font-size: 13px; color: var(--ink-2); }
.rp-fact:nth-child(2) { background: var(--lagoon-soft); color: var(--lagoon); }
.rp-fact:nth-child(2) b { color: var(--lagoon); }
.customer .loc-inline { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: var(--ink); padding: 6px 0; }
.customer .loc-inline svg { color: var(--lagoon); font-size: 17px; }
.customer .loc-inline u { color: var(--lagoon); text-underline-offset: 3px; margin-left: 4px; }
.customer .closed-note { margin: 14px 0; background: var(--wash); border-radius: 14px; padding: 14px 16px; font-size: 15px; }
.customer .deal-strip { display: grid; gap: 2px; margin: 14px 0 0; padding: 14px 16px; border-radius: 14px; background: var(--mango-soft); color: var(--ink); font-size: 14px; border: 0; }
.customer .deal-strip strong { font-size: 16px; }
.rp-tabs { position: sticky; top: 0; z-index: 3; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; background: #fff; margin: 18px calc(-1 * clamp(20px, 4vw, 40px)) 0;
  padding: 12px clamp(20px, 4vw, 40px); border-bottom: 1px solid var(--rule); }
.rp-tabs::-webkit-scrollbar { display: none; }
.rp-tabs button { flex: none; border: 0; background: var(--wash); color: var(--ink); font-size: 14px; font-weight: 600; padding: 9px 15px; border-radius: 999px; cursor: pointer; }
.rp-tabs button:hover { background: var(--ink); color: #fff; }
.rp-section { padding-top: 10px; }
.customer .menu-section-title { font-size: 22px; font-weight: 700; letter-spacing: -.02em; margin: 24px 0 12px; text-transform: none; color: var(--ink); }
.customer .menu-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 12px; margin: 0; }
.customer .menu-item { display: flex; justify-content: space-between; align-items: stretch; gap: 14px; padding: 16px; border: 1px solid var(--rule); border-radius: 18px; background: #fff; }
.customer .menu-item.is-unavailable { opacity: .55; }
.customer .menu-item-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.customer .menu-item h4 { margin: 0 0 4px; font-size: 16px; font-weight: 700; }
.customer .menu-item p { font-size: 14px; line-height: 1.45; color: var(--ink-2); margin: 0 0 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.customer .price { margin-top: auto; font-size: 15px; font-weight: 700; color: var(--ink); }
.menu-item-media { position: relative; flex: none; display: flex; align-items: flex-end; justify-content: flex-end; min-width: 44px; }
.customer .menu-item-media img { width: 116px; height: 116px; border-radius: 14px; object-fit: cover; background: var(--wash); }
.customer .menu-item .add-button { position: absolute; right: -6px; bottom: -6px; width: 42px; height: 42px; padding: 0; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--ink); font-size: 22px; border: 0; box-shadow: 0 6px 16px rgba(30, 21, 18, .22); }
.customer .menu-item .add-button svg { stroke-width: 2.6; }
.customer .menu-item .add-button:hover { background: var(--chilli); color: #fff; }
.customer .menu-item-media:not(:has(img)) .add-button { position: static; background: var(--chilli); color: #fff; box-shadow: none; }
.customer .sold-out { position: absolute; right: 6px; bottom: 6px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.customer .menu-item-media:not(:has(img)) .sold-out { position: static; }

/* ---------------------------------------------------------------- tablet */
@media (max-width: 1023px) {
  .se-header-inner { grid-template-columns: auto 1fr auto; gap: 12px 14px; padding-top: 12px; padding-bottom: 12px; }
  .se-location { justify-self: end; }
  .se-search { grid-column: 1 / -1; grid-row: 2; }
  .se-action:not(.se-cart), .se-cart { display: none; }
  .customer .bottom-nav { display: flex; position: fixed; bottom: 0; left: 0; right: 0; width: 100%; transform: none; height: auto; padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .97); backdrop-filter: blur(10px); border-top: 1px solid var(--rule); z-index: 9; justify-content: space-around; }
  .customer .nav-item { display: grid; justify-items: center; gap: 3px; font-size: 12px; font-weight: 600; color: var(--ink-2); min-width: 60px; padding: 4px; }
  .customer .nav-item svg { font-size: 24px; }
  .customer .nav-item.selected { color: var(--chilli); }
  .customer .cart-badge { top: -2px; right: 10px; min-width: 18px; height: 18px; font-size: 11px; }
  .customer .cart-bar { left: 12px; right: 12px; width: auto; bottom: calc(76px + env(safe-area-inset-bottom)); }
  .se-footer { padding-bottom: 80px; }
  .se-footer-inner { grid-template-columns: 1fr 1fr; }
  .se-footer-brand { grid-column: 1 / -1; }
}

/* ---------------------------------------------------------------- phone */
@media (max-width: 680px) {
  .customer { font-size: 15px; }
  .se-logo-word { font-size: 23px; }
  .se-logo-mark { width: 32px; height: 32px; font-size: 19px; }
  .se-header-inner { grid-template-columns: auto 1fr auto; }
  .se-location { max-width: 100%; min-width: 0; padding: 7px 12px 7px 9px; justify-self: stretch; }
  .se-location-copy small { display: none; }
  .se-location-copy strong { font-size: 14px; }
  .se-search { height: 46px; }
  .hero-carousel { width: calc(100% - 24px); margin: 2px auto 0; border-radius: 22px; height: min(118vw, 500px); }
  .hc-shade { background: linear-gradient(0deg, rgba(22, 13, 9, .92) 0%, rgba(22, 13, 9, .7) 38%, rgba(22, 13, 9, .05) 70%); }
  .hc-copy { left: 20px; right: 20px; bottom: 74px; max-width: none; }
  .hc-title { font-size: clamp(32px, 9.4vw, 44px); }
  .hc-sub { font-size: 15px; margin: 12px 0 18px; }
  .hc-cta { width: 100%; padding: 15px; }
  .hc-controls { left: 20px; right: 20px; bottom: 20px; }
  .hc-arrows { display: none; }
  .se-cats-section { margin-top: 24px; }
  .customer .se-cat .se-cat-img { width: 70px; height: 70px; }
  .customer .se-cat { font-size: 14px; }
  .customer .restaurant-section { margin-top: 34px; }
  .customer .restaurant-grid { gap: 28px; }
  .customer .drawer { padding: 20px 18px 110px; }
  .customer .drawer.is-restaurant { left: 0; top: 0; transform: none; width: 100%; height: 100dvh; border-radius: 0; padding-bottom: 120px; }
  .rp-facts { grid-template-columns: 1fr 1fr; }
  .rp-fact:nth-child(3) { grid-column: 1 / -1; }
  .customer .menu-item-media img { width: 96px; height: 96px; }
  .se-footer-inner { grid-template-columns: 1fr 1fr; padding-top: 40px; }
}


/* ---------- How it works + partner banners ---------- */
.how-section { margin-top: clamp(36px, 4vw, 56px); }
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: how; }
.how-steps li { background: var(--wash); border-radius: 20px; padding: 26px 24px 24px; position: relative; counter-increment: how; }
.how-steps li::after { content: counter(how); position: absolute; right: 22px; top: 14px; font: 800 54px/1 var(--display); color: #1e151210; }
.how-ico { width: 46px; height: 46px; border-radius: 14px; background: var(--chilli); display: grid; place-items: center; box-shadow: 0 10px 22px #e23b2e33; }
.how-ico svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.how-steps h3 { font: 800 19px/1.2 var(--display); letter-spacing: -.02em; margin: 16px 0 6px; }
.how-steps p { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.55; }

.partner-section { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: clamp(40px, 5vw, 64px); margin-bottom: clamp(40px, 5vw, 64px); }
.partner-card { position: relative; display: block; min-height: 280px; border-radius: 24px; overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; background: var(--ink); }
.partner-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); z-index: -2; }
.partner-shade { position: absolute; inset: 0; background: linear-gradient(180deg, #0000 25%, #120b08d9 100%); z-index: -1; }
.partner-copy { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 28px; display: grid; gap: 6px; }
.partner-copy small { font: 700 12px var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--mango); }
.partner-copy strong { font: 800 clamp(22px, 2.4vw, 30px)/1.1 var(--display); letter-spacing: -.03em; max-width: 420px; }
.partner-copy em { font-style: normal; font-size: 14px; opacity: .88; }
.partner-card:hover img, .partner-card:focus-visible img { transform: scale(1.05); }
.partner-card:focus-visible { outline: 3px solid var(--mango); outline-offset: 3px; }

@media (max-width: 860px) {
  .how-steps { grid-template-columns: 1fr; gap: 12px; }
  .how-steps li { padding: 20px; display: grid; grid-template-columns: 46px 1fr; column-gap: 16px; }
  .how-steps li .how-ico { grid-row: span 2; }
  .how-steps h3 { margin: 2px 0 4px; font-size: 17px; }
  .partner-section { grid-template-columns: 1fr; }
  .partner-card { min-height: 220px; }
}
@media (prefers-reduced-motion: reduce) { .partner-card img { transition: none; } }
.se-footer-small a { color: inherit; }
