/* Apple-style layer: the look of Apple's own apps and apple.com.
   Grey canvas, white grouped cards, hairline separators, frosted bars, large tight titles,
   pill buttons, and one tint colour (Wingzo red) for anything you can tap. Loaded last. */
:root{
  --canvas:#f5f5f7;--card:#fff;--ink:#1d1d1f;--muted:#6e6e73;--faint:#86868b;--hair:rgba(60,60,67,.18);
  --fill:rgba(120,120,128,.12);--fill-strong:rgba(120,120,128,.2);--press:#e5e5ea;--tint:var(--wz-red);--tint-soft:rgba(253,6,0,.08);
  --bg:var(--canvas);--line:#d2d2d7;--pale:#f2f2f7;--green:var(--tint);--deep:var(--wz-red-deep);--rad:18px;
  --bar:rgba(255,255,255,.78);--blur:saturate(180%) blur(20px);
}
body{background:var(--canvas);color:var(--ink);font-size:17px;line-height:1.47;letter-spacing:-.022em}
::selection{background:rgba(253,6,0,.18)}
:focus-visible,button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid rgba(253,6,0,.45)!important;outline-offset:2px}

/* Large titles and headings */
h1,.page-title h1,.collection-head h1{font-weight:700;letter-spacing:-.022em;line-height:1.08;color:var(--ink)}
.page-title h1,.collection-head h1{font-size:clamp(2.125rem,5vw,3rem)}
h2{font-weight:700;letter-spacing:-.02em}
.section-title{margin:30px 2px 12px}
.section-title h2{font-size:1.375rem;line-height:1.2}
.hint,.muted,.footnote{color:var(--muted);letter-spacing:-.01em}
.footnote{font-size:.8rem;text-align:center;margin:26px 0 8px}

/* Top bar: frosted white, logo tag, quiet controls */
header,:root[data-theme] header{position:sticky;top:0;z-index:30;background:var(--bar);-webkit-backdrop-filter:var(--blur);backdrop-filter:var(--blur);border-bottom:.5px solid var(--hair)}
.top-v2 .brand img.brand-logo,.brand img.brand-logo{height:34px;width:auto;border-radius:0;filter:none}
@media(max-width:670px){.top-v2 .brand img.brand-logo{height:30px}}
@media(max-width:360px){.top-v2 .brand img.brand-logo{height:26px}}
header .actions .location{background:var(--fill);border:0;color:var(--ink);font-weight:600;font-size:.95rem;min-height:36px;padding:6px 12px;border-radius:999px}
header .actions .location .ui{color:var(--tint)}
header .nav-icon,header .quick-lang,header .nav-icon.bag-btn,:root[data-theme] header .nav-icon.bag-btn{background:var(--fill);border:0;color:var(--ink);width:36px;height:36px;min-width:36px;border-radius:50%;padding:0;font-weight:600;font-size:.82rem}
header .quick-lang{width:auto;padding:0 11px;border-radius:999px}
header .bag-btn b{background:var(--tint);color:#fff;border:2px solid #fff}
header .desktop-nav .nav-v2{color:var(--ink);font-weight:500;background:none}
header .desktop-nav .nav-v2:hover{background:var(--fill)}
header .desktop-nav .nav-v2.active{background:none;color:var(--tint);font-weight:600}
header :focus-visible{outline-color:rgba(253,6,0,.45)!important}

/* Tab bar: frosted, tint for the current tab, no pills */
.mobile-nav{background:var(--bar);-webkit-backdrop-filter:var(--blur);backdrop-filter:var(--blur);border-top:.5px solid var(--hair)}
.mobile-nav button,.mobile-nav button.nav-v2{color:#8e8e93;font-weight:500;font-size:.66rem;letter-spacing:0;gap:3px}
.mobile-nav button.active,.mobile-nav .nav-v2.active{color:var(--tint)}
.mobile-nav button.nav-v2.active .ui{background:none;padding:0;margin:0}
.mobile-nav button.nav-v2 .ui{width:25px;height:25px;stroke-width:1.7}

/* Cards and grouped lists */
.block{background:var(--card);border:0;border-radius:var(--rad);padding:18px 18px;box-shadow:none}
.line{border-bottom:.5px solid var(--hair)}
.profile-row{border-bottom:.5px solid var(--hair)}
.row-icon{background:var(--fill);border-radius:9px}

/* Home: restaurants as an inset grouped list (one white card, hairlines between rows) */
.group-grid{grid-template-columns:1fr;gap:0;background:var(--card);border-radius:var(--rad);overflow:hidden}
.group-card,.group-card:has(.group-open:active){border:0;border-radius:0;background:transparent;box-shadow:none}
.group-card .group-open{position:relative;padding:12px 16px;gap:14px;border-radius:0;color:var(--ink)}
.group-card+.group-card .group-open:before{content:"";position:absolute;top:0;inset-inline-start:86px;inset-inline-end:0;border-top:.5px solid var(--hair)}
@media(hover:hover){.group-card .group-open:hover{background:#fafafa}}
.group-card .group-open:active{background:var(--press)}
.group-logo{width:56px;height:56px;border-radius:13px;outline:.5px solid rgba(0,0,0,.08)}
.group-card h3{font-size:1.06rem;font-weight:600;letter-spacing:-.02em}
.group-card .group-open>.ui{width:18px;height:18px;color:#c4c4c7;stroke-width:2.4}
@media(min-width:821px){.group-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;background:none;overflow:visible}.group-card{background:var(--card);border-radius:var(--rad)}.group-card+.group-card .group-open:before{display:none}.group-card .group-open{border-radius:var(--rad);padding:18px}}
.schedule-banner{background:var(--card);border:0;border-radius:var(--rad);color:var(--ink)}
.schedule-banner b{color:var(--ink);font-weight:600}

/* Big photo banners: rounded like Apple's tiles, titles in the system face */
.drink-hero,.season-hero{border-radius:24px}
.drink-copy h1,.season-copy h1{font-weight:700;letter-spacing:-.03em}
.offer-primary,.season-hero .offer-primary{border:0;border-radius:999px;font-weight:600;min-height:44px;padding:10px 20px;background:var(--wz-yellow);color:#1d1d1f}
.offer-primary:hover{background:#fff}
.campaign-tag{font-weight:600;letter-spacing:-.01em}

/* Buttons: tint-filled pills; secondary = tinted text on a soft fill */
.act,.stickyCart{background:var(--tint);color:#fff;border:0;border-radius:999px;min-height:50px;padding:12px 22px;font-size:1.0625rem;font-weight:600;letter-spacing:-.02em}
.act:hover,.pill:hover,.stickyCart:hover,.shop-toolbar .shop-tool:hover{background:var(--wz-red-deep)}
.act:disabled,#pin-confirm:disabled{background:var(--fill-strong);color:rgba(60,60,67,.45);border-color:transparent}
.outline,.status-btn{background:var(--tint-soft);border:0;color:var(--tint);border-radius:999px;font-weight:600}
.text-btn{color:var(--tint);font-weight:600}
.stepper{background:var(--fill)}
.stepper button{color:var(--ink)}

/* Inputs */
.field{border:1px solid var(--line);border-radius:12px;background:#fff;font-size:1.0625rem;min-height:48px}
.field:focus{border-color:var(--tint);box-shadow:0 0 0 4px rgba(253,6,0,.12);outline:none}

/* Chips and choices */
.chip,.branch-chip,.brand-pill,.recipe-chip{background:var(--fill);border:0;color:var(--ink);font-weight:500;border-radius:999px}
.chip.on,.category-tile.selected,.brand-pill.selected,.recipe-chip[aria-pressed="true"],.brand-pill[aria-pressed="true"]{background:var(--ink);color:#fff;border-color:transparent}
.branch-chip:hover,.brand-pill:hover,.choice:hover{background:var(--fill-strong);border-color:transparent}
.opt span{border:1px solid var(--line);border-radius:12px;background:#fff;font-weight:500}
.opt input:checked+span{background:#fff;color:var(--ink);border-color:transparent;box-shadow:inset 0 0 0 2px var(--tint)}
.badge{background:var(--fill);color:var(--ink);font-weight:600}

/* Sheets */
dialog{border-radius:22px;box-shadow:0 30px 80px rgba(0,0,0,.22)}
.sheet-head h2{font-size:1.375rem}

/* Store and dish details pick up the tokens; these keep them calm */
.shop-add{background:var(--fill);color:var(--tint)}
.burger-field{border-color:var(--hair)}
.burger-count-btn{background:var(--fill);border:0;color:var(--ink)}
.remove-row,.extra-row{border-color:var(--hair)}
.pair-card{border-radius:16px}

/* Order tracking */
.tracking-top{background:var(--card);color:var(--ink);border-radius:var(--rad)}
.tracking-top h1{color:var(--ink)}
.tracking-top span{color:var(--tint);font-weight:600}

/* Welcome: Apple's sign-in button style */
.welcome{background:var(--canvas)}
.wl-body{gap:10px}
.wl-sub{color:var(--muted);font-size:1rem}
.wl-btn{border:0;background:#fff;color:var(--ink);border-radius:14px;min-height:54px;font-weight:600;font-size:1.0625rem;box-shadow:0 0 0 .5px rgba(0,0,0,.12)}
.wl-btn[data-id=phone]{background:var(--tint);color:#fff;box-shadow:none}
.wl-btn[data-id=apple]{background:#000;color:#fff;box-shadow:none}
.wl-btn[data-id=apple] .wl-ico svg path{fill:#fff}
.wl-title{font-weight:700;letter-spacing:-.03em}

/* Confirm-pin and push cards */
.pin-head{background:var(--bar);-webkit-backdrop-filter:var(--blur);backdrop-filter:var(--blur);border-bottom:.5px solid var(--hair)}
.pin-round{border:0;background:var(--fill);color:var(--ink)}
.pin-gps{background:#fff;box-shadow:0 4px 18px rgba(0,0,0,.16)}
.pin-foot{background:var(--bar);-webkit-backdrop-filter:var(--blur);backdrop-filter:var(--blur)}
.push-card{background:var(--card)}

/* Header on phones: the address button already opens the map, so the extra map icon goes */
@media(max-width:670px){header .map-btn{display:none}header .actions .location{max-width:none;flex:1 1 auto;min-width:0}header .actions{gap:8px;flex:1;justify-content:flex-end;min-width:0}}
.mobile-nav button,.mobile-nav button.nav-v2{padding:3px 2px;min-width:0}
.mobile-nav button>span:last-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}

/* Black Friday and other seasonal tiles: sentence case, copy kept clear of the photo */
:root[data-theme] .season-copy h1{text-transform:none;letter-spacing:-.035em;font-size:clamp(2.5rem,8.6vw,4.4rem);line-height:1.02}
.season-copy h1 em{color:inherit}
.season-copy h1,.season-copy p{text-shadow:none}
.season-copy p{font-size:1rem;line-height:1.4;color:rgba(255,255,255,.78)}
@media(max-width:600px){
  :root[data-theme] .season-copy{max-width:58%;padding:22px 0 22px 20px}
  [dir=rtl] :root[data-theme] .season-copy,[dir=rtl] .season-copy{padding:22px 20px 22px 0}
  .season-photo{width:62%;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 34%);mask-image:linear-gradient(90deg,transparent 0,#000 34%);object-position:40% 60%}
  .season-copy p{font-size:.9rem}
  .season-hero{min-height:300px}
}
.season-hero>svg{opacity:.18}

/* Store page */
.shop-heading h1{letter-spacing:-.03em}
.shop-toolbar:not(.condensed) .shop-tool{background:rgba(0,0,0,.32);-webkit-backdrop-filter:blur(14px) saturate(160%);backdrop-filter:blur(14px) saturate(160%);border:0}
.shop-toolbar.condensed{background:var(--bar);-webkit-backdrop-filter:var(--blur);backdrop-filter:var(--blur);border-bottom:.5px solid var(--hair)}
.shop-toolbar.condensed .shop-tool,.shop-heading .shop-tool{background:var(--fill);color:var(--tint)}
.shop-metrics{border:0;background:var(--canvas);border-radius:16px}
.metric+.metric{border-inline-start:.5px solid var(--hair)}
.metric i,.metric:nth-child(2) i,.metric:nth-child(3) i{background:#fff;color:var(--ink);border-radius:10px}
.metric:first-child span{color:var(--tint);text-decoration:none;font-weight:600}
.select-wrap select{background:var(--fill);color:var(--ink);font-weight:600;border-radius:10px}
.menu-strip{background:var(--bar);-webkit-backdrop-filter:var(--blur);backdrop-filter:var(--blur);border-bottom:.5px solid var(--hair)}
.category-jump{font-weight:500;color:var(--muted)}
.category-jump[aria-current]{color:var(--ink);font-weight:600}
.category-jump[aria-current]::after{height:2px;background:var(--ink);inset-inline:10px}
.store-section h2{letter-spacing:-.025em}
.store-item{border-bottom:.5px solid var(--hair)}
.store-item:hover strong,.shelf-item:hover strong{color:inherit}
.menu-amount{color:var(--ink);font-weight:600}
.menu-amount small{color:var(--muted);font-weight:500}
.choices-badge{background:var(--fill);color:#3a3a3c;font-weight:600;border-radius:6px}
.shop-add{background:var(--fill);color:var(--tint)}
.store-section.feedback-panel{background:var(--canvas)}
.review-symbol{background:#fff;color:var(--ink);border-radius:12px}
.review-value strong{color:var(--ink);letter-spacing:-.03em}
.review-value small,.review-source{color:var(--muted)}
.review-open{background:var(--fill);border:0;color:var(--tint);font-weight:600}
.user-review{border:0;border-radius:14px}

/* Offer strip: a quiet grey row with a tinted gift */
.offer-strip{background:var(--canvas);border:0;color:var(--ink);border-radius:14px}
.offer-strip .ui{color:var(--tint)}
.offer-strip strong{font-weight:600}
.offer-strip u{text-decoration:none;color:var(--tint);font-weight:600}
.block .offer-strip{background:var(--canvas)}
.offer-ok{background:var(--canvas);color:var(--ink)}

/* Dish sheet */
.detail-body .price,.price{color:var(--ink);font-weight:600}
.extra-sauces summary{list-style:none;color:var(--tint);font-weight:600;display:flex;align-items:center;gap:6px}
.extra-sauces summary::-webkit-details-marker{display:none}
.extra-sauces summary::after{content:"";width:7px;height:7px;border:solid currentColor;border-width:0 2px 2px 0;transform:rotate(45deg) translateY(-2px);transition:transform .2s}
.extra-sauces[open] summary::after{transform:rotate(-135deg) translateY(-1px)}
.remove-row{border-bottom:.5px solid var(--hair)}
.remove-row input[type=checkbox],.check-row input[type=checkbox]{appearance:none;-webkit-appearance:none;width:24px;height:24px;border-radius:50%;border:1.5px solid #c7c7cc;background:#fff;display:grid;place-items:center;margin:0;cursor:pointer;transition:background .15s,border-color .15s}
.remove-row input[type=checkbox]:checked,.check-row input[type=checkbox]:checked{background:var(--tint);border-color:var(--tint)}
.remove-row input[type=checkbox]:checked::after,.check-row input[type=checkbox]:checked::after{content:"";width:6px;height:11px;border:solid #fff;border-width:0 2.2px 2.2px 0;transform:translateY(-1px) rotate(45deg)}
.sheet-close,dialog .close{background:var(--fill);color:var(--ink)}

/* Account page, like Settings: a plain card for the person, coloured squircle icons in the list */
.profile-banner{background:var(--card);color:var(--ink);border-radius:var(--rad);padding:20px}
.profile-banner .avatar{background:var(--fill);color:var(--muted);border:0;border-radius:50%;width:60px;height:60px}
.profile-banner h1{color:var(--ink);font-size:1.75rem;letter-spacing:-.025em;margin:14px 0 4px}
.profile-banner .text-btn{color:var(--tint)}
.profile-banner .outline{background:var(--tint-soft);color:var(--tint);border:0}
.profile-list{border:0;border-radius:var(--rad);padding:0 0 0 16px}
[dir=rtl] .profile-list{padding:0 16px 0 0}
.profile-row{padding:11px 16px 11px 0;min-height:52px;border-bottom:.5px solid var(--hair)}
[dir=rtl] .profile-row{padding:11px 0 11px 16px}
.profile-list .row-icon{background:var(--tint);color:#fff;width:30px;height:30px;border-radius:8px}
.profile-list .row-icon .ui{width:17px}
.row-label{font-weight:500}
.row-nub{color:#c4c4c7}
.history-row,.draft-row{border:0;border-radius:16px}
.soft-empty{border:0;color:var(--ink)}
.soft-empty>.ui{color:var(--tint)}
.benefit,.invite-code{border:0;background:var(--canvas);color:var(--ink)}
.notice-icon{background:var(--canvas);color:var(--tint)}
.category-tile{border:0;background:var(--fill);font-weight:500}
.cat-glyph{background:#fff;color:var(--tint)}
.market-card{border:0}
.choice{border:0;background:var(--canvas)}
.detail-close{background:rgba(0,0,0,.34);border:0;-webkit-backdrop-filter:blur(14px) saturate(160%);backdrop-filter:blur(14px) saturate(160%);box-shadow:none}
.show-caption>.detail-close{background:var(--fill);color:var(--ink);-webkit-backdrop-filter:none;backdrop-filter:none}
.dish-caption{border-bottom:.5px solid var(--hair);background:var(--bar);-webkit-backdrop-filter:var(--blur);backdrop-filter:var(--blur)}
.zoom-mark{background:rgba(255,255,255,.86);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border:0;box-shadow:none;color:var(--ink)}
.film-toggle{color:#fff;background:rgba(0,0,0,.34);border:0;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}
@media(max-width:600px){.season-copy p{max-width:16ch}}
.wl-media{height:min(52vh,500px);background:#111}
.wl-lang,.wl-skip{border:0;border-radius:999px;min-height:36px;padding:6px 14px;background:rgba(0,0,0,.32);-webkit-backdrop-filter:blur(14px) saturate(160%);backdrop-filter:blur(14px) saturate(160%);color:#fff;font-weight:600;font-size:.95rem;text-decoration:none}
.wl-title{text-shadow:0 1px 24px rgba(0,0,0,.45)}
.wl-btn:hover{border-color:transparent;filter:brightness(.97)}
:root[dir=rtl][data-theme] .season-copy{padding:22px 20px 22px 0}
@media(min-width:601px){:root[dir=rtl][data-theme] .season-copy{padding:clamp(20px,3.2vw,44px)}}
/* Map controls in the style of Apple Maps: one frosted white group, ink glyphs */
.sofra-map-tools{gap:0;border-radius:12px;overflow:hidden;background:rgba(255,255,255,.88);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:0 2px 10px rgba(0,0,0,.14)}
.sofra-map-tools button{background:transparent;border:0;border-radius:0;width:42px;height:42px;color:var(--ink);box-shadow:none;font-weight:500}
.sofra-map-tools button+button{border-top:.5px solid var(--hair)}
.sofra-map-tools button:focus-visible{outline-offset:-3px}
.sofra-map-credit{background:rgba(255,255,255,.8);border-radius:6px}
.sofra-map-notice{background:rgba(255,255,255,.92);color:var(--ink);border-radius:10px}
.pin-head h1{font-size:1.0625rem;font-weight:600;letter-spacing:-.02em}
.pin-round{width:36px;height:36px}
.pin-round .ui{width:18px;height:18px}
@media(max-width:360px){.season-photo{width:54%}:root[data-theme] .season-copy h1{font-size:2.25rem}.season-copy p{font-size:.84rem}}
/* Toasts read like iOS banners: dark frosted capsule */
#toast{background:rgba(29,29,31,.86);-webkit-backdrop-filter:blur(20px) saturate(180%);backdrop-filter:blur(20px) saturate(180%);color:#fff;border-radius:999px;font-weight:600;font-size:.95rem;padding:11px 20px;box-shadow:0 10px 30px rgba(0,0,0,.18)}
.welcome:before{display:none}
.gift-line{background:var(--canvas);color:var(--ink);border-radius:14px}
.gift-line>.ui,.gift-line .ui{color:var(--tint)}
.gift-line small{color:var(--muted)}

/* ---------- Profile ---------- */
@media(max-width:670px){body.bare #head{display:none}}
body.bare{background:var(--card)}
.pf{max-width:760px;margin:0 auto}
.pf-top{background:var(--wz-red);color:#fff;padding:calc(env(safe-area-inset-top) + 14px) 20px 58px}
.pf-bar{display:flex;justify-content:flex-end;min-height:44px}
.pf-help{background:var(--wz-yellow);color:#1d1d1f;border:0;border-radius:999px;min-height:42px;padding:8px 20px;font-weight:700;font-size:1rem;box-shadow:0 4px 14px rgba(0,0,0,.14);transition:transform .15s ease}
.pf-help:active{transform:scale(.96)}
.pf-me{display:flex;align-items:center;gap:14px;width:100%;margin-top:18px;color:#fff;text-align:start;border:0;background:none;padding:0;border-radius:16px}
.pf-avatar{display:grid;place-items:center;flex:none;width:66px;height:66px;border-radius:50%;background:var(--wz-yellow);color:#1d1d1f;font-weight:700;font-size:1.35rem;letter-spacing:.01em;box-shadow:0 0 0 3px rgba(255,255,255,.92)}
.pf-avatar .ui{width:28px;height:28px}
.pf-who{flex:1;min-width:0;display:grid;gap:2px}
.pf-who b{font-size:1.5rem;line-height:1.15;letter-spacing:-.025em;overflow-wrap:anywhere}
.pf-who small{font-size:1rem;color:rgba(255,255,255,.88)}
.pf-new{display:inline-block;vertical-align:.12em;margin-inline-start:8px;background:#fff;color:var(--wz-red);font-weight:800;font-size:.7rem;letter-spacing:.03em;border-radius:6px;padding:2px 7px}
.pf-me .pf-chev .ui{color:#fff;width:22px;height:22px;stroke-width:2.2}
.pf-sheet{position:relative;background:var(--card);margin-top:-28px;border-radius:26px 26px 0 0;padding:28px 18px calc(118px + env(safe-area-inset-bottom));min-height:60vh}
.pf-sheet h1{font-size:2rem;margin:0 4px 10px;letter-spacing:-.03em}
.pf-list{display:grid}
.pf-row{display:flex;align-items:center;gap:18px;width:100%;min-height:64px;padding:0 6px;border:0;background:transparent;border-radius:14px;color:var(--ink);text-align:start;font-size:1.0625rem;transition:background-color .25s ease}
.pf-row:active{background:var(--press);transition-duration:0s}
@media(hover:hover){.pf-row:hover{background:rgba(120,120,128,.07)}}
.pf-ico .ui{width:27px;height:27px;stroke-width:1.6;color:var(--ink)}
.pf-label{flex:1;min-width:0}
.pf-chev .ui{width:21px;height:21px;color:#aeaeb2;stroke-width:1.8}
[dir=rtl] .pf-chev .ui,[dir=rtl] .st-back .ui{transform:scaleX(-1)}
.pf-sep{border:0;border-top:1px solid var(--line);margin:12px 6px}
.pf-version{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:22px 6px 0;color:var(--faint);font-size:.86rem}
.pf-link{border:0;background:none;padding:6px 0;color:var(--muted);font-size:.86rem;text-decoration:underline;text-underline-offset:3px}
@media(min-width:671px){.pf{margin:24px auto}.pf-top{border-radius:26px 26px 0 0;padding-top:20px}}

/* ---------- Settings pages ---------- */
.st{max-width:760px;margin:0 auto;min-height:100dvh;background:var(--card);padding-bottom:calc(118px + env(safe-area-inset-bottom))}
.st-nav{position:sticky;top:0;z-index:4;display:grid;grid-template-columns:48px 1fr 48px;align-items:center;gap:8px;padding:calc(env(safe-area-inset-top) + 10px) 16px 10px;background:var(--bar);-webkit-backdrop-filter:var(--blur);backdrop-filter:var(--blur)}
.st-nav h1{margin:0;text-align:center;font-size:1.125rem;font-weight:700;letter-spacing:-.02em}
.st-back{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;border:.5px solid var(--hair);background:var(--card);color:var(--ink);box-shadow:0 3px 10px rgba(0,0,0,.08);transition:transform .15s ease}
.st-back:active{transform:scale(.92)}
.st-back .ui{width:22px;height:22px;stroke-width:2}
.st-list{padding:8px 14px}
.st-line{display:flex;align-items:center;gap:12px;width:100%;padding:20px;border:0;border-bottom:1px solid var(--line);background:none;color:var(--ink);text-align:start;font-size:1.0625rem;transition:background-color .25s}
.st-line:active{background:var(--press);transition-duration:0s}
.st-key{flex:1}
.st-value{color:var(--tint);font-weight:700}
.st-line .ui{width:24px;height:24px;color:var(--ink)}
.st-notes{padding:6px 20px}
.st-notes p{color:var(--muted);font-size:.95rem;line-height:1.45;margin:14px 0}
.choice.on{background:var(--tint-soft);color:var(--ink);font-weight:600}
.choice.on .ui{color:var(--tint)}

/* Notifications */
.nt{padding:4px 20px}
.nt-sec{padding:8px 0 6px}
.nt-sec h2{font-size:1.375rem;margin:18px 0 6px;letter-spacing:-.025em}
.nt-sec>p{color:var(--muted);font-size:.98rem;line-height:1.4;margin:0 0 6px}
.tg-row{display:flex;align-items:center;gap:16px;min-height:62px;padding:6px 0;cursor:pointer}
.tg-row.off{cursor:default}
.tg-ico .ui{width:24px;height:24px;color:var(--ink);stroke-width:1.6}
.tg-label{flex:1;min-width:0;font-size:1.0625rem;display:grid;justify-items:start;gap:4px}
.tg-badge{background:var(--wz-yellow);color:#1d1d1f;font-weight:700;font-size:.78rem;border-radius:6px;padding:2px 8px}
.tg-note{color:var(--muted);font-size:.8rem;line-height:1.3}
.switch{appearance:none;-webkit-appearance:none;position:relative;flex:none;width:51px;height:31px;margin:0;border-radius:999px;background:rgba(120,120,128,.22);cursor:pointer;transition:background-color .25s ease}
.switch::before{content:"";position:absolute;top:2px;inset-inline-start:2px;width:27px;height:27px;border-radius:50%;background:#fff;box-shadow:0 3px 8px rgba(0,0,0,.15),0 3px 1px rgba(0,0,0,.06);transition:transform .3s cubic-bezier(.3,1.35,.5,1)}
.switch:checked{background:var(--tint)}
.switch:checked::before{transform:translateX(20px)}
[dir=rtl] .switch:checked::before{transform:translateX(-20px)}
.switch:disabled{opacity:.4;cursor:default}
.switch:focus-visible{outline:3px solid rgba(253,6,0,.45);outline-offset:2px}

/* Appearance */
.ap{padding:4px 20px}
.ap-title{font-size:1.75rem;line-height:1.15;letter-spacing:-.03em;margin:18px 0 12px}
.ap-sub{font-size:1.0625rem;line-height:1.45;color:var(--ink);margin:0}
.ap-list{display:grid;gap:16px;margin-top:26px}
.ap-card{--blob:#fde6e3;position:relative;display:flex;align-items:center;gap:18px;padding:14px 18px;border:1px solid var(--line);border-radius:18px;background:var(--card);cursor:pointer;transition:border-color .2s ease,box-shadow .2s ease,transform .15s ease}
.ap-card:active{transform:scale(.985)}
.ap-card.on{border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}
.ap-card:has(input:focus-visible){outline:3px solid rgba(253,6,0,.45);outline-offset:2px}
.ap-art svg{display:block;width:80px;height:80px}
.ap-label{flex:1;font-size:1.0625rem}
.ap-card input{position:absolute;opacity:0;pointer-events:none}
.ap-radio{flex:none;width:30px;height:30px;border-radius:50%;border:2px solid #8e8e93;background:var(--fill);transition:background .2s ease,border-color .2s ease}
.ap-card.on .ap-radio{border-color:var(--tint);background:radial-gradient(circle,#fff 0 5px,var(--tint) 5.6px)}
:root.mode-switching,:root.mode-switching *{transition:background-color .35s ease,color .35s ease,border-color .35s ease!important}

/* ---------- Motion between screens ---------- */
#head{view-transition-name:wz-head}
.mobile-dock{view-transition-name:wz-dock}
::view-transition-old(root),::view-transition-new(root){animation-duration:.34s;animation-timing-function:cubic-bezier(.22,.8,.24,1)}
:root[data-nav=forward]::view-transition-old(root){animation-name:vt-out-start}
:root[data-nav=forward]::view-transition-new(root){animation-name:vt-in-end}
:root[data-nav=back]::view-transition-old(root){animation-name:vt-out-end}
:root[data-nav=back]::view-transition-new(root){animation-name:vt-in-start}
:root[dir=rtl][data-nav=forward]::view-transition-old(root){animation-name:vt-out-end}
:root[dir=rtl][data-nav=forward]::view-transition-new(root){animation-name:vt-in-start}
:root[dir=rtl][data-nav=back]::view-transition-old(root){animation-name:vt-out-start}
:root[dir=rtl][data-nav=back]::view-transition-new(root){animation-name:vt-in-end}
:root[data-nav=fade]::view-transition-old(root){animation:vt-fade-out .2s ease both}
:root[data-nav=fade]::view-transition-new(root){animation:vt-fade-in .26s ease both}
@keyframes vt-in-end{from{transform:translateX(44px);opacity:0}to{transform:none;opacity:1}}
@keyframes vt-in-start{from{transform:translateX(-44px);opacity:0}to{transform:none;opacity:1}}
@keyframes vt-out-start{to{transform:translateX(-24px);opacity:0}}
@keyframes vt-out-end{to{transform:translateX(24px);opacity:0}}
@keyframes vt-fade-in{from{opacity:0}to{opacity:1}}
@keyframes vt-fade-out{to{opacity:0}}
main.nav-in{animation:vt-fade-in .28s ease both}

/* Sheets rise from the bottom and settle; they slip away when closed */
dialog[open]{animation:sheet-in .4s cubic-bezier(.2,.9,.25,1) both}
dialog[open]::backdrop{animation:vt-fade-in .3s ease both}
.sheet-ghost{position:fixed;z-index:2147483000;overflow:hidden;pointer-events:none;box-shadow:0 24px 80px rgba(0,0,0,.22);animation:sheet-out .22s ease-in both}
.sheet-ghost-bd{position:fixed;inset:0;z-index:2147482999;pointer-events:none;background:rgba(16,45,37,.65);animation:vt-fade-out .22s ease-in both}
:root[data-mode=dark] .sheet-ghost-bd{background:rgba(0,0,0,.6)}
@keyframes sheet-in{from{transform:translateY(48px);opacity:0}to{transform:none;opacity:1}}
@keyframes sheet-out{to{transform:translateY(36px);opacity:0}}
@media(min-width:671px){@keyframes sheet-in{from{transform:scale(.96);opacity:0}to{transform:none;opacity:1}}}
@media(prefers-reduced-motion:reduce){dialog[open],dialog[open]::backdrop,main.nav-in{animation:none}.sheet-ghost,.sheet-ghost-bd{display:none}::view-transition-old(root),::view-transition-new(root){animation:none}}

main:focus,main:focus-visible{outline:none!important}
dialog::backdrop{background:rgba(0,0,0,.4)}
.sheet-ghost-bd{background:rgba(0,0,0,.4)}

/* Category strip: one underline that glides between categories */
.category-jump,.category-jump[aria-current]{font-weight:600;transition:color .28s ease}
.category-jump[aria-current]::after{display:none}
.strip-ink{position:absolute;bottom:0;left:0;height:2.5px;width:0;border-radius:2px 2px 0 0;background:var(--ink);pointer-events:none;transition:transform .42s cubic-bezier(.3,.75,.2,1),width .42s cubic-bezier(.3,.75,.2,1)}
.strip-ink.still{transition:none}
/* Menu tab: results change with a short slide or fade; the chosen restaurant pill eases in */
.swap-in{animation:swap-fade .34s cubic-bezier(.22,.8,.24,1) both}
.swap-in.from-end{animation-name:swap-from-end}
.swap-in.from-start{animation-name:swap-from-start}
[dir=rtl] .swap-in.from-end{animation-name:swap-from-start}
[dir=rtl] .swap-in.from-start{animation-name:swap-from-end}
@keyframes swap-fade{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes swap-from-end{from{opacity:0;transform:translateX(36px)}to{opacity:1;transform:none}}
@keyframes swap-from-start{from{opacity:0;transform:translateX(-36px)}to{opacity:1;transform:none}}
.brand-pill,.chip,.recipe-chip,.branch-chip{transition:background-color .28s ease,color .28s ease}
@media(prefers-reduced-motion:reduce){.strip-ink{transition:none}.swap-in{animation:none}}

/* Home: open / closed under each restaurant */
.group-text{flex:1;min-width:0;display:grid;gap:3px}
.group-text h3{margin:0}
.group-status{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.88rem;font-weight:500;letter-spacing:-.01em;color:var(--muted)}
.group-status.open{color:#1f8a3d}
.group-status.open i{display:inline-block;vertical-align:.12em;margin-inline-end:6px;width:7px;height:7px;border-radius:50%;background:#34c759;box-shadow:0 0 0 3px rgba(52,199,89,.18)}
.group-status.open span{color:var(--muted);font-weight:400}
.group-status.closed{color:var(--muted)}
:root[data-mode=dark] .group-status.open{color:#30d158}

/* Season banner as a video ad */
.season-hero.has-video{align-items:flex-end;min-height:clamp(360px,46vw,460px);background:#000}
.season-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;transition:opacity .38s ease}
.season-video.fading{opacity:0}
.season-shade{position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(0,0,0,.05) 0,rgba(0,0,0,.1) 32%,rgba(0,0,0,.72) 70%,rgba(0,0,0,.9) 100%)}
:root[data-theme] .season-hero.has-video .season-copy,.season-hero.has-video .season-copy{max-width:min(100%,620px);padding:22px 22px 24px}
.season-hero.has-video .season-copy p{max-width:32ch}
.season-hero.has-video .season-copy h1{font-size:clamp(2.6rem,10vw,4.6rem)}
.season-hero.has-video .season-copy h1 em{display:inline}
.season-brand{position:absolute;top:14px;inset-inline-end:14px;display:flex;align-items:center;gap:7px;padding:5px 12px 5px 5px;border-radius:999px;background:rgba(0,0,0,.38);-webkit-backdrop-filter:blur(14px) saturate(160%);backdrop-filter:blur(14px) saturate(160%);color:#fff;font-size:.82rem;transition:opacity .38s ease}
[dir=rtl] .season-brand{padding:5px 5px 5px 12px}
.season-brand img{width:24px;height:24px;border-radius:50%;object-fit:cover}
.season-brand b{font-weight:600}
.season-brand.fading{opacity:0}
/* Moving strip of offers */
.ticker{position:relative;overflow:hidden;margin-top:10px;border-radius:14px;background:#0b0b0b;color:#fff;height:44px;display:flex;align-items:center;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 18px,#000 calc(100% - 18px),transparent);mask-image:linear-gradient(90deg,transparent 0,#000 18px,#000 calc(100% - 18px),transparent)}
.ticker-track{display:flex;width:max-content;animation:tick 34s linear infinite}
.ticker:hover .ticker-track{animation-play-state:paused}
.ticker-run{display:flex;align-items:center;flex:none}
.tick-item{white-space:nowrap;font-size:.95rem;font-weight:600;letter-spacing:-.01em;padding:0 16px}
.tick-dot{width:7px;height:7px;flex:none;border-radius:2px;background:var(--wz-yellow);transform:rotate(45deg)}
@keyframes tick{to{transform:translateX(-50%)}}
[dir=rtl] .ticker-track{animation-name:tick-rtl}
@keyframes tick-rtl{to{transform:translateX(50%)}}
:root[data-mode=dark] .ticker{background:#1c1c1e}
@media(prefers-reduced-motion:reduce){.ticker-track{animation:none}}

/* Contact support */
.sp-card{display:grid;gap:10px;margin:4px 0 14px}
.sp-lead{margin:0 0 4px;color:var(--ink);line-height:1.45}
.sp-lead small{color:var(--muted)}
.sp-card .act,.sp-card .outline{display:flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;min-height:50px}
.sp-card .ui{width:20px;height:20px}
.sp-wa{background:#1f8a4c}
.sp-wa:hover{background:#18723e}
.sp-row{display:flex;align-items:center;gap:14px;width:100%;margin:12px 0;padding:14px 16px;border:0;border-radius:var(--rad);background:var(--card);color:var(--ink);text-align:start;transition:background-color .25s}
.sp-row:active{background:var(--press);transition-duration:0s}
.sp-row .pf-ico{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:var(--tint-soft);color:var(--tint)}
.sp-row .pf-ico .ui{width:22px;height:22px;color:var(--tint)}
.sp-row .pf-label{display:grid;gap:2px}
.sp-row .pf-label b{font-weight:600}
.sp-row .pf-label small{color:var(--muted);font-size:.9rem}

/* Live delivery tracking */
.live-block{padding:14px 14px 12px}
.live-head{display:flex;align-items:center;gap:8px;margin:0 2px 10px}
.live-head b{font-weight:700}
.live-dot{width:9px;height:9px;border-radius:50%;background:var(--tint);box-shadow:0 0 0 0 rgba(253,6,0,.5);animation:live-pulse 1.6s ease-out infinite}
@keyframes live-pulse{70%{box-shadow:0 0 0 9px rgba(253,6,0,0)}100%{box-shadow:0 0 0 0 rgba(253,6,0,0)}}
.live-eta{margin-inline-start:auto;font-weight:700;color:var(--ink);font-variant-numeric:tabular-nums}
.live-map{height:min(52vh,380px);min-height:260px;border-radius:16px;overflow:hidden}
.live-note{margin:10px 2px 0}
.live-rider{display:flex;align-items:center;gap:12px;margin-top:12px;padding:10px 12px;border-radius:16px;background:var(--fill)}
.live-av{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:var(--tint);color:#fff;font-weight:700;flex:none}
.live-who{flex:1;display:grid;line-height:1.25}
.live-who small{color:var(--muted);font-size:.84rem}
.live-call{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:var(--card);color:var(--tint);box-shadow:0 1px 4px rgba(0,0,0,.1)}
.live-call svg{width:22px;height:22px}
.track-time{display:block;color:var(--muted);font-size:.85rem;margin-top:2px}
.track-step.current .track-dot{animation:live-pulse 1.8s ease-out infinite}
@media(prefers-reduced-motion:reduce){.live-dot,.track-step.current .track-dot{animation:none}}

/* Delivery-address map: the position is confirmed by itself once the phone allows it */
#pin-where{display:grid;gap:3px;margin:0 0 12px;text-align:start}
#pin-where b{color:var(--ink);font-size:1.05rem;font-weight:600}
.pin-acc{color:var(--muted);font-size:.85rem}
.pin-ok{display:inline-flex;align-items:center;gap:7px;color:#1f8a3d;font-weight:700;font-size:1rem}
.pin-ok .ui{width:20px;height:20px;padding:3px;border-radius:50%;background:#34c759;color:#fff;stroke-width:3}
#pin-where.pin-sure{animation:pin-sure .45s cubic-bezier(.2,1.3,.4,1) both}
@keyframes pin-sure{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
:root[data-mode=dark] .pin-ok{color:#30d158}
@media(prefers-reduced-motion:reduce){#pin-where.pin-sure{animation:none}}
