.app { max-width: 560px; margin: 0 auto; min-height: 100vh; background: var(--fb-bg); position: relative; padding-bottom: 84px; }
.app.no-nav { padding-bottom: 0; }

/* ---- Login ---- */
.login { min-height: 100vh; display: flex; flex-direction: column; background: var(--fb-yellow); }
.login-hero { padding: 28px 24px 8px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; position: relative; overflow: hidden; }
.login-hero::before { content: ''; position: absolute; inset: -40% -20% auto; height: 120%; background: radial-gradient(circle at 50% 60%, #FFE45C 0, transparent 60%); }
.login-hero img { width: min(68vw, 280px); height: auto; position: relative; filter: drop-shadow(0 10px 18px rgba(19,18,19,.18)); }
.login-hero p { position: relative; font-weight: 800; color: var(--fb-black); }
.login-card { background: #fff; border-radius: 28px 28px 0 0; padding: 26px 22px 30px; flex: 1; box-shadow: 0 -8px 30px rgba(19,18,19,.12); }
.login-card h2 { margin-bottom: 6px; }
.dev-hint { background: var(--fb-yellow-wash); border: 1.5px dashed var(--fb-amber); border-radius: var(--fb-r); padding: 10px 12px; font-size: 13px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.trust { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--fb-ink-3); margin-top: 18px; }
.trust .icon { color: var(--fb-green); width: 18px; height: 18px; }

/* ---- Top bar ---- */
.topbar { background: var(--fb-yellow); padding: 14px 16px 16px; position: sticky; top: 0; z-index: 20; border-radius: 0 0 22px 22px; box-shadow: 0 4px 0 var(--fb-amber); }
.addr-btn { display: flex; align-items: center; gap: 8px; background: none; border: 0; padding: 4px 0; cursor: pointer; text-align: start; min-width: 0; }
.addr-btn .k { font-size: 12px; font-weight: 800; color: rgba(19,18,19,.65); }
.addr-btn .v { font-weight: 800; font-size: 15px; display: flex; align-items: center; gap: 2px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--fb-black); color: var(--fb-yellow); display: grid; place-items: center; font-weight: 800; font-family: var(--fb-font-display); border: 0; cursor: pointer; font-size: 17px; flex: none; }
.search { margin-top: 12px; position: relative; }
.search .icon { position: absolute; inset-inline-start: 14px; top: 50%; transform: translateY(-50%); color: var(--fb-ink-3); }
.search input { padding-inline-start: 44px; border: 2px solid var(--fb-black); box-shadow: 0 3px 0 var(--fb-black); }
.page { padding: 16px; }

/* ---- Categories ---- */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 4px 0 18px; }
.cat { background: #fff; border: 2px solid transparent; border-radius: 18px; padding: 10px 4px 8px; display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; font-weight: 800; font-size: 12.5px; box-shadow: var(--fb-shadow-1); }
.cat.active { border-color: var(--fb-black); background: var(--fb-yellow-wash); box-shadow: 0 3px 0 var(--fb-black); }

/* ---- Offer banner ---- */
.offer { background: var(--fb-black); color: #fff; border-radius: 22px; padding: 18px 18px 18px; display: flex; align-items: center; gap: 12px; position: relative; overflow: hidden; margin-bottom: 22px; min-height: 128px; }
.offer::after { content: ''; position: absolute; inset-inline-end: -40px; top: -40px; width: 170px; height: 170px; border-radius: 50%; background: var(--fb-yellow); opacity: .95; }
.offer .txt { position: relative; z-index: 1; flex: 1; }
.offer h3 { color: var(--fb-yellow); font-size: 20px; }
.offer img { position: relative; z-index: 1; width: 104px; height: auto; margin: -6px -6px -18px 0; }
.offer .rush-stripe { font-size: 13px; margin-top: 10px; }

/* ---- Restaurant cards ---- */
.section-title { display: flex; align-items: baseline; justify-content: space-between; margin: 4px 0 12px; }
.rest-card { display: block; background: #fff; border-radius: 20px; overflow: hidden; border: 1px solid var(--fb-line); box-shadow: var(--fb-shadow-1); text-decoration: none; margin-bottom: 14px; transition: transform .15s var(--fb-ease), box-shadow .15s; cursor: pointer; }
.rest-card:hover { transform: translateY(-2px); box-shadow: var(--fb-shadow-2); }
.rest-cover { height: 118px; display: grid; place-items: center; font-size: 62px; position: relative; }
.rest-cover .badges { position: absolute; top: 10px; inset-inline-start: 10px; display: flex; gap: 6px; }
.rest-cover .eta { position: absolute; bottom: 10px; inset-inline-end: 10px; background: #fff; border-radius: var(--fb-r-pill); padding: 3px 10px; font-weight: 800; font-size: 12.5px; box-shadow: var(--fb-shadow-1); }
.rest-card.closed .rest-cover { filter: grayscale(.9); opacity: .7; }
.rest-body { padding: 12px 14px 14px; }
.rest-body h3 { font-size: 17px; }
.meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 13px; color: var(--fb-ink-3); margin-top: 3px; }
.meta .sep { width: 3px; height: 3px; border-radius: 50%; background: var(--fb-ink-4); }
.rating { display: inline-flex; align-items: center; gap: 2px; color: var(--fb-black); font-weight: 800; }
.rating .icon { color: var(--fb-amber); width: 15px; height: 15px; }

/* ---- Restaurant page ---- */
.rest-hero { padding: 12px 16px 18px; position: relative; }
.rest-hero .back { position: absolute; top: 12px; inset-inline-start: 12px; background: #fff; box-shadow: var(--fb-shadow-2); z-index: 2; }
.rest-hero .emoji { height: 140px; border-radius: 22px; display: grid; place-items: center; font-size: 76px; margin-bottom: 14px; }
.menu-tabs { position: sticky; top: 0; z-index: 15; background: var(--fb-bg); padding: 10px 16px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--fb-line); }
.menu-tabs::-webkit-scrollbar { display: none; }
.menu-section { padding: 18px 16px 4px; scroll-margin-top: 60px; }
.menu-item { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--fb-line); align-items: center; }
.menu-item:last-child { border-bottom: 0; }
.menu-item .name { font-weight: 800; }
.menu-item .desc { font-size: 13px; color: var(--fb-ink-3); margin-top: 2px; }
.menu-item .price { font-weight: 800; margin-top: 6px; }
.menu-item.off { opacity: .5; }

/* ---- Sticky bars ---- */
.cart-bar { position: fixed; left: 50%; transform: translateX(-50%); bottom: 84px; width: min(528px, calc(100% - 32px)); z-index: 30; background: var(--fb-black); color: #fff; border-radius: 18px; padding: 10px 10px 10px 16px; display: flex; align-items: center; gap: 12px; box-shadow: var(--fb-shadow-3); border: 0; cursor: pointer; text-align: start; animation: fbtoast .25s var(--fb-ease); }
.cart-bar .count { background: var(--fb-yellow); color: var(--fb-black); min-width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; }
.cart-bar .go { background: var(--fb-yellow); color: var(--fb-black); border-radius: 12px; padding: 9px 14px; font-weight: 800; font-family: var(--fb-font-display); }
.app.no-nav .cart-bar { bottom: 16px; }
.bottom-cta { position: sticky; bottom: 0; background: linear-gradient(to top, var(--fb-bg) 70%, rgba(250,248,244,0)); padding: 18px 16px calc(16px + env(safe-area-inset-bottom)); z-index: 10; }
.active-banner { display: flex; align-items: center; gap: 12px; background: var(--fb-black); color: var(--fb-yellow); padding: 12px 14px; border-radius: 18px; margin-bottom: 16px; cursor: pointer; border: 0; width: 100%; text-align: start; box-shadow: 0 4px 0 #A80100; }
.active-banner img { width: 44px; height: 44px; border-radius: 50%; background: var(--fb-yellow); object-fit: cover; }

/* ---- Bottom nav ---- */
.nav { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 560px; background: #fff; border-top: 1px solid var(--fb-line); display: grid; grid-template-columns: repeat(3, 1fr); padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); z-index: 40; }
.nav a { display: flex; flex-direction: column; align-items: center; gap: 2px; text-decoration: none; font-size: 12px; font-weight: 800; color: var(--fb-ink-3); padding: 6px 0; border-radius: 14px; position: relative; }
.nav a.active { color: var(--fb-black); }
.nav a.active .icon-wrap { background: var(--fb-yellow); }
.nav .icon-wrap { width: 56px; height: 30px; border-radius: 15px; display: grid; place-items: center; transition: background .2s; }
.nav .badge-dot { position: absolute; top: 4px; inset-inline-end: calc(50% - 24px); width: 9px; height: 9px; border-radius: 50%; background: var(--fb-red); border: 2px solid #fff; }

/* ---- Cart & checkout ---- */
.pagebar { display: flex; align-items: center; gap: 8px; padding: 10px 8px; background: var(--fb-bg); position: sticky; top: 0; z-index: 15; }
.pagebar h2 { font-size: 20px; }
.box { background: #fff; border-radius: 18px; border: 1px solid var(--fb-line); padding: 14px 16px; margin-bottom: 12px; }
.box > h4 { margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.line { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; }
.line.total { border-top: 1.5px dashed var(--fb-line-2); margin-top: 8px; padding-top: 10px; font-weight: 800; font-size: 17px; }
.pay-opt { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1.5px solid var(--fb-line-2); border-radius: 14px; cursor: pointer; margin-bottom: 8px; }
.pay-opt.sel { border-color: var(--fb-black); background: var(--fb-yellow-wash); box-shadow: 0 2px 0 var(--fb-black); }
.pay-opt.dis { opacity: .5; cursor: not-allowed; }
.radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--fb-line-2); flex: none; display: grid; place-items: center; }
.sel .radio { border-color: var(--fb-black); }
.sel .radio::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--fb-black); }
.addr-opt { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 14px; border: 1.5px solid var(--fb-line-2); cursor: pointer; margin-bottom: 8px; width: 100%; background: #fff; text-align: start; }
.addr-opt.sel { border-color: var(--fb-black); background: var(--fb-yellow-wash); }

/* ---- Tracking ---- */
.track-hero { background: var(--fb-yellow); padding: 8px 18px 22px; border-radius: 0 0 28px 28px; box-shadow: 0 4px 0 var(--fb-amber); position: relative; overflow: hidden; }
.track-hero .mascot { position: absolute; inset-inline-end: -8px; bottom: -6px; width: 118px; }
.track-hero .bigstatus { font-family: var(--fb-font-display); font-size: 26px; font-weight: 800; line-height: 1.1; max-width: 70%; }
.eta-chip { display: inline-flex; align-items: center; gap: 6px; background: var(--fb-black); color: var(--fb-yellow); border-radius: var(--fb-r-pill); padding: 6px 12px; font-weight: 800; margin-top: 10px; }
.progress { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; margin-top: 16px; max-width: 70%; }
.progress span { height: 6px; border-radius: 3px; background: rgba(19,18,19,.18); }
.progress span.on { background: var(--fb-black); }
.progress span.now { background: var(--fb-black); animation: fbpulse 1.4s infinite; }
.pin-card { background: var(--fb-black); color: #fff; border-radius: 20px; padding: 16px; display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.pin-digits { display: flex; gap: 6px; direction: ltr; }
.pin-digits span { width: 40px; height: 50px; border-radius: 10px; background: var(--fb-yellow); color: var(--fb-black); display: grid; place-items: center; font-family: var(--fb-font-display); font-weight: 800; font-size: 28px; }
.stars { display: flex; gap: 6px; justify-content: center; margin: 10px 0; direction: ltr; }
.stars button { background: none; border: 0; cursor: pointer; color: var(--fb-line-2); padding: 2px; }
.stars button.on { color: var(--fb-amber); }
.stars .icon { width: 38px; height: 38px; }

.order-card { background: #fff; border: 1px solid var(--fb-line); border-radius: 18px; padding: 14px; margin-bottom: 12px; cursor: pointer; display: block; width: 100%; text-align: start; }
.order-card .em { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 26px; background: var(--fb-yellow-wash); flex: none; }

.lang-toggle { display: inline-flex; background: #F1EEE9; border-radius: var(--fb-r-pill); padding: 3px; }
.lang-toggle button { border: 0; background: none; padding: 6px 14px; border-radius: var(--fb-r-pill); font-weight: 800; cursor: pointer; }
.lang-toggle button.on { background: var(--fb-black); color: var(--fb-yellow); }

/* Photos */
.rest-cover.has-img { padding: 0; }
.rest-cover img, .rest-hero .emoji img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rest-cover .badges, .rest-cover .eta { z-index: 1; }
.rest-hero .emoji { position: relative; overflow: hidden; }
.rest-hero .emoji.has-img { height: 190px; }
.dish { position: relative; width: 104px; flex: none; padding-bottom: 14px; }
.dish img { width: 104px; height: 104px; object-fit: cover; border-radius: 16px; display: block; background: #F1EEE9; }
.dish-ctl { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); }
.dish-ctl .add-btn, .dish-ctl .qty { box-shadow: 0 2px 0 var(--fb-black), 0 4px 10px rgba(0,0,0,.18); }
.order-card .em { overflow: hidden; }
.order-card .em img { width: 100%; height: 100%; object-fit: cover; }

/* ===== Opening: the splash fades into the sign-in, logo drops in, card rises ===== */
.login-hero img { border-radius: 22%; animation: fbLogoIn .7s var(--fb-ease) both; }
.login-hero p { animation: fbFadeUp .5s .25s var(--fb-ease) both; letter-spacing: .02em; }
.login-card { animation: fbCardUp .55s .12s var(--fb-ease) both; }
.login-card .trust { opacity: .9; }
@keyframes fbLogoIn { from { opacity: 0; transform: translateY(-18px) scale(.86); } to { opacity: 1; transform: none; } }
@keyframes fbFadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes fbCardUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
.app-enter > *:not(.nav):not(.toast) { animation: fbFadeUp .35s var(--fb-ease) backwards; }
@media (prefers-reduced-motion: reduce) {
  .login-hero img, .login-hero p, .login-card, .app-enter > * { animation: none; }
}

/* ===== First address: GPS-located, pin locked unless the customer adjusts it ===== */
.setup { min-height: 100vh; background: var(--fb-yellow); padding: calc(16px + env(safe-area-inset-top, 0px)) 0 0; display: flex; flex-direction: column; }
.setup-card { background: #fff; border-radius: 28px 28px 0 0; padding: 22px 18px calc(28px + env(safe-area-inset-bottom, 0px)); flex: 1; box-shadow: 0 -8px 30px rgba(19,18,19,.12); animation: fbCardUp .5s var(--fb-ease) both; }
.setup-head { display: flex; gap: 14px; align-items: center; }
.setup-head img { border-radius: 16px; box-shadow: 0 3px 0 var(--fb-amber); flex: none; }
.setup-head h2 { font-size: 22px; line-height: 1.15; margin: 0 0 2px; }
.locate-status { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--fb-r); background: var(--fb-yellow-wash); font-weight: 800; font-size: 14px; color: var(--fb-black); min-height: 48px; }
.locate-status .fb-loader { height: 18px; gap: 5px; }
.locate-status .fb-loader i { width: 8px; height: 8px; background: var(--fb-black); box-shadow: none; }
.locate-status[data-kind="ok"] { background: var(--fb-yellow); }
.locate-status[data-kind="ok"]::before { content: '✓'; font-weight: 900; }
.locate-status[data-kind="weak"]::before, .locate-status[data-kind="denied"]::before, .locate-status[data-kind="far"]::before { content: '⚠'; }
.locate-status[data-kind="denied"], .locate-status[data-kind="far"] { background: var(--fb-black); color: var(--fb-yellow); }
.locate-status[data-kind="denied"] .btn-text, .locate-status[data-kind="far"] .btn-text { color: var(--fb-yellow); }
.setup-map-wrap { display: flex; flex-direction: column; gap: 8px; }
.setup-map { height: 230px; border-radius: var(--fb-r-lg); overflow: hidden; box-shadow: inset 0 0 0 2px var(--fb-black); position: relative; }
.setup-map.locked { touch-action: auto; }
.setup-map.locked .fbm-canvas, .setup-map.locked .fbm-tiles, .setup-map.locked .fbm-markers { pointer-events: none; }
.setup-map.locked::after { content: ''; position: absolute; inset: 0; z-index: 3; cursor: default; }
.setup-map.locked .fbm-zoom { z-index: 4; }
.btn-lg { min-height: 56px; font-size: 18px; }

/* ---- Shop type tiles ---- */
.cats { margin: 2px 0 18px; }
.cat { padding: 12px 4px 10px; gap: 8px; font-size: 13px; transition: transform .12s; }
.cat:active { transform: scale(.96); }
.cat .cat-icon { width: 52px; height: 52px; font-size: 26px; background: var(--fb-yellow); color: var(--fb-black); }
.cat.active .cat-icon { background: var(--fb-black); }
.cat-l { line-height: 1.1; text-align: center; }
.badge-type { background: var(--fb-black); color: var(--fb-yellow); }

/* ---- Promo slider ---- */
.slider { margin: 0 0 18px; }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 22px; overscroll-behavior-x: contain; }
.slides::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: start; min-height: 150px; padding: 18px; display: flex; align-items: center; gap: 12px; position: relative; overflow: hidden; border-radius: 22px; }
.slide .txt { position: relative; z-index: 1; flex: 1; min-width: 0; }
.slide .kicker { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; opacity: .75; }
.slide h3 { font-family: var(--fb-font-display); font-size: 25px; line-height: 1.05; margin-top: 4px; }
.slide p { font-size: 13.5px; margin-top: 6px; line-height: 1.35; }
.slide .pill { display: inline-flex; margin-top: 10px; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: var(--fb-black); color: var(--fb-yellow); }
.slide .rush-stripe { font-size: 13px; margin-top: 10px; }
.s-free { background: var(--fb-yellow); color: var(--fb-black); border: 2px solid var(--fb-black); }
.s-free .art { flex: none; width: 104px; height: 104px; border-radius: 50%; background: var(--fb-black); color: var(--fb-yellow); display: grid; place-content: center; text-align: center; transform: rotate(-8deg); box-shadow: 0 0 0 6px rgba(19,18,19,.12); }
.s-free .art .big { font-family: var(--fb-font-display); font-weight: 800; font-size: 46px; line-height: .9; }
.s-free .art .cap { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.s-brand { background: var(--fb-black); color: #fff; }
.s-brand::after { content: ''; position: absolute; inset-inline-end: -46px; top: -46px; width: 190px; height: 190px; border-radius: 50%; background: var(--fb-yellow); }
.s-brand h3 { color: var(--fb-yellow); }
.s-brand h3 .num { font-size: 40px; }
.s-brand .logo { position: relative; z-index: 1; width: 112px; height: auto; flex: none; margin: -8px -6px -16px 0; filter: drop-shadow(0 8px 14px rgba(0,0,0,.4)); }
.s-offer { background: #fff; color: var(--fb-black); border: 2px dashed var(--fb-black); }
.s-offer .art { flex: none; }
.s-offer .code { font-family: var(--fb-font-display); font-weight: 800; font-size: 20px; letter-spacing: .06em; background: var(--fb-yellow); border: 2px solid var(--fb-black); border-radius: 12px; padding: 10px 12px; transform: rotate(4deg); box-shadow: 0 3px 0 var(--fb-black); }
.dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.dots button { width: 8px; height: 8px; border-radius: 4px; border: 0; padding: 0; background: var(--fb-line-2); cursor: pointer; transition: width .25s, background .25s; }
.dots button.on { width: 24px; background: var(--fb-black); }

/* ---- Menu: sticky sections + sizes ---- */
.menu-tabs .chip { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.menu-tabs .chip .n { font-size: 11px; opacity: .6; }
.menu-tabs .chip.active { background: var(--fb-black); color: var(--fb-yellow); border-color: var(--fb-black); }
.menu-tabs .chip.active .n { opacity: .85; }
.sec-hd { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding-bottom: 6px; border-bottom: 2px solid var(--fb-black); }
.menu-item .sizes { font-size: 12px; font-weight: 700; color: var(--fb-ink-3); margin-top: 4px; }
.menu-item .from { font-size: 12px; font-weight: 700; color: var(--fb-ink-3); }
.add-btn.has { background: var(--fb-black); color: var(--fb-yellow); }
.size-sheet .size-img { width: 100%; height: 170px; object-fit: cover; border-radius: 18px; }
.size-hd { display: flex; justify-content: space-between; align-items: center; font-weight: 800; }
.size-hd .req { font-size: 11px; background: var(--fb-black); color: var(--fb-yellow); padding: 2px 8px; border-radius: 999px; }
.size-list { display: flex; flex-direction: column; gap: 8px; }
.size-opt { display: flex; align-items: center; gap: 12px; width: 100%; text-align: start; background: #fff; border: 2px solid var(--fb-line); border-radius: 14px; padding: 12px 14px; font: inherit; cursor: pointer; }
.size-opt .radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--fb-line-2); flex: none; }
.size-opt.sel { border-color: var(--fb-black); background: var(--fb-yellow-wash); }
.size-opt.sel .radio { border: 6px solid var(--fb-black); }
.size-opt .nm { font-weight: 800; display: block; }
.size-opt .in { font-size: 11px; font-weight: 800; color: var(--fb-ink-3); }
.size-opt .pr { font-weight: 800; }
.btn-lg { min-height: 54px; font-size: 17px; }
.left-tag { display: inline-block; margin-top: 5px; font-size: 11px; font-weight: 800; background: var(--fb-black); color: var(--fb-yellow); padding: 2px 8px; border-radius: 999px; }

/* ---- Favourites ---- */
.fav-btn { position: absolute; top: 10px; inset-inline-end: 10px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255,255,255,.95); color: var(--fb-black); box-shadow: 0 2px 8px rgba(0,0,0,.18); cursor: pointer; }
.fav-btn.on { background: var(--fb-black); color: var(--fb-yellow); }
.fav-btn.big { top: calc(12px + env(safe-area-inset-top, 0px)); width: 44px; height: 44px; }
.fav-btn.pop { animation: favpop .35s ease; }
@keyframes favpop { 40% { transform: scale(1.25); } }
.rest-cover { position: relative; }
.rest-cover .badges { inset-inline-end: 56px; }
.rest-hero { position: relative; }
.fav-row { margin-bottom: 6px; }
.fav-scroll { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 12px; margin: 0 -16px; padding-inline: 16px; }
.fav-scroll::-webkit-scrollbar { display: none; }
.fav-card { flex: 0 0 132px; text-decoration: none; color: inherit; }
.fav-card.closed { opacity: .6; }
.fav-card .fc-img { height: 92px; border-radius: 16px; overflow: hidden; display: grid; place-items: center; font-size: 38px; border: 2px solid var(--fb-black); box-shadow: 0 3px 0 var(--fb-black); }
.fav-card .fc-img img { width: 100%; height: 100%; object-fit: cover; }
.fav-card .fc-name { font-weight: 800; margin-top: 8px; font-size: 14px; }
.fav-card .fc-sub { font-size: 12px; color: var(--fb-ink-3); }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: #F3F1EC; border-radius: 999px; padding: 4px; gap: 4px; }
.seg button { border: 0; background: transparent; border-radius: 999px; padding: 10px; font: inherit; font-weight: 800; color: var(--fb-ink-3); cursor: pointer; }
.seg button.on { background: var(--fb-black); color: var(--fb-yellow); }
.nav { view-transition-name: fb-nav; }
.cart-bar { view-transition-name: fb-cart; }
::view-transition-group(fb-nav), ::view-transition-group(fb-cart) { animation: none; }
