/* F3DS components — shared with the F3DS design system (components/bundle.css). */

/* F3DS — component styles. Every colour, space and radius is a token from tokens.json. */

body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--font-sans); font-size: 15px; line-height: 22px; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.f3-root, .f3-root *, [class^="f3-"], [class^="f3-"] *, [class^="f3-"]::before, [class^="f3-"]::after { box-sizing: border-box; }
.f3-stage { padding: var(--space-4); display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.f3-stage-col { padding: var(--space-4); display: flex; flex-direction: column; gap: var(--space-4); }
.f3-display { font-family: var(--font-display); font-stretch: 125%; font-weight: 900; letter-spacing: -0.02em; line-height: .92; }
.f3-eyebrow { font-family: var(--font-display); font-stretch: 125%; font-size: 12px; line-height: 16px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); }
.f3-num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.f3-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- motion ---------- */
@keyframes f3-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes f3-slide-in { from { opacity: 0; transform: translateX(40px) skewX(var(--slant)); } to { opacity: 1; transform: skewX(var(--slant)); } }
@keyframes f3-pop { 0% { transform: scale(1); } 40% { transform: scale(1.28); } 100% { transform: scale(1); } }
@keyframes f3-burst { from { opacity: .9; transform: scale(.4); } to { opacity: 0; transform: scale(1.8); } }
@keyframes f3-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes f3-tick { from { transform: translateY(-60%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes f3-spin { to { transform: rotate(360deg); } }
@keyframes f3-ph { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes f3-shimmer { from { background-position: -200% 0; } to { background-position: 200% 0; } }
@keyframes f3-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 184, 28, .7); } 50% { box-shadow: 0 0 0 6px rgba(255, 184, 28, 0); } }
@keyframes f3-bar { from { transform: skewX(var(--slant)) scaleX(0); } to { transform: skewX(var(--slant)) scaleX(1); } }
.f3-rise { animation: f3-rise .6s cubic-bezier(.2, .8, .2, 1) both; }
@media (prefers-reduced-motion: reduce) { [class^="f3-"], [class^="f3-"] * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; } }

/* ---------- focus ---------- */
[class^="f3-"]:focus-visible, [class^="f3-"] :focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

/* ---------- Logo ---------- */
.f3-logo { display: inline-flex; align-items: center; gap: 10px; line-height: 0; }
.f3-logo svg { display: block; }
.f3-lg-tile { fill: var(--red); }
.f3-lg-glyph { fill: var(--on-red); }
.f3-lg-pixel { fill: var(--saffron); }
.f3-lg-ink { fill: var(--ink); }
.f3-lg-three { fill: var(--red); }
.f3-logo-night .f3-lg-tile { fill: var(--night); }
.f3-logo-night .f3-lg-glyph { fill: var(--on-night); }
.f3-logo-reverse .f3-lg-ink { fill: var(--on-night); }
.f3-logo-reverse .f3-lg-tile { fill: var(--red); }

/* ---------- Icon ---------- */
.f3-icon { display: inline-block; flex: none; vertical-align: middle; }

/* ---------- Button ---------- */
.f3-btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); height: 48px; padding: 0 22px; border: 0; border-radius: var(--radius-pill); font: 650 15px/1 var(--font-sans); letter-spacing: .005em; white-space: nowrap; cursor: pointer; text-decoration: none; -webkit-tap-highlight-color: transparent; transition: transform .2s cubic-bezier(.2, .8, .2, 1), background-color .2s, box-shadow .2s, color .2s; }
.f3-btn:active { transform: scale(.96); }
.f3-btn[disabled] { cursor: not-allowed; opacity: .45; box-shadow: none; }
.f3-btn.is-loading { opacity: 1; cursor: progress; }
.f3-btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(255, 255, 255, 0) 35%, rgba(255, 255, 255, .32) 50%, rgba(255, 255, 255, 0) 65%); transform: translateX(-130%); transition: transform .7s cubic-bezier(.2, .8, .2, 1); pointer-events: none; }
.f3-btn:hover::after { transform: translateX(130%); }
.f3-btn-primary { background: var(--red); color: var(--on-red); box-shadow: var(--shadow-red); }
.f3-btn-primary:hover { background: var(--red-deep); }
.f3-btn-secondary { background: var(--night); color: var(--on-night); }
.f3-btn-deal { background: var(--saffron); color: var(--on-saffron); }
.f3-btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.f3-btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.f3-btn-ghost::after { display: none; }
.f3-btn-reverse { background: transparent; color: var(--on-night); box-shadow: inset 0 0 0 1.5px var(--on-night-muted); }
.f3-btn-sm { height: 36px; padding: 0 14px; font-size: 13px; }
.f3-btn-lg { height: 56px; padding: 0 28px; font-size: 16px; }
.f3-btn-block { display: flex; width: 100%; }
.f3-btn-icononly { width: 48px; padding: 0; }
.f3-btn-sm.f3-btn-icononly { width: 36px; }
.f3-spin { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: f3-spin .7s linear infinite; }

/* ---------- Badge ---------- */
.f3-badge { display: inline-flex; align-items: center; gap: var(--space-1); height: 22px; padding: 0 8px; border-radius: var(--radius-xs); font: 700 11px/1 var(--font-sans); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.f3-badge > span { display: inline-flex; align-items: center; gap: var(--space-1); }
.f3-badge-slant { transform: skewX(var(--slant)); }
.f3-badge-slant > span { transform: skewX(12deg); }
.f3-badge-red { background: var(--red); color: var(--on-red); }
.f3-badge-saffron { background: var(--saffron); color: var(--on-saffron); }
.f3-badge-night { background: var(--night); color: var(--on-night); }
.f3-badge-soft { background: var(--red-soft); color: var(--red-ink); }
.f3-badge-success { background: var(--success-soft); color: var(--success); }
.f3-badge-info { background: var(--info-soft); color: var(--info); }
.f3-badge-deal { background: var(--saffron-soft); color: var(--saffron-ink); }
.f3-badge-outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }

/* ---------- Rating ---------- */
.f3-rating { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.f3-stars { position: relative; display: inline-flex; color: var(--line); }
.f3-stars-fill { position: absolute; inset: 0 auto 0 0; display: inline-flex; overflow: hidden; color: var(--saffron); white-space: nowrap; }
.f3-rating b { font: 700 13px/1 var(--font-mono); color: var(--ink); }

/* ---------- Price ---------- */
.f3-price { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 2px 8px; font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.f3-price-now { font-weight: 700; font-size: 18px; line-height: 22px; letter-spacing: -0.02em; color: var(--ink); }
.f3-price-now small { font-size: .62em; font-weight: 700; margin-right: 2px; letter-spacing: 0; }
.f3-price.is-sale .f3-price-now { color: var(--red-ink); }
.f3-price-was { font-size: 12px; color: var(--ink-muted); text-decoration: line-through; text-decoration-thickness: 1.5px; }
.f3-price-off { font: 700 11px/1 var(--font-sans); color: var(--red-ink); letter-spacing: .04em; }
.f3-price-lg .f3-price-now { font-size: 26px; line-height: 30px; }
/* Prices never leave their box: they shrink when long and wrap as a last resort. */
.f3-price { max-width: 100%; min-width: 0; }
.f3-price-now, .f3-price-was { min-width: 0; max-width: 100%; overflow-wrap: normal; word-break: normal; }
.f3-price.is-long .f3-price-now { font-size: 15px; line-height: 19px; }
.f3-price.is-xlong .f3-price-now { font-size: 13px; line-height: 17px; }
.f3-price.is-long .f3-price-was, .f3-price.is-xlong .f3-price-was { font-size: 11px; }
.f3-price-lg.is-long .f3-price-now { font-size: 22px; line-height: 26px; }
.f3-price-lg.is-xlong .f3-price-now { font-size: 18px; line-height: 22px; }
.f3-pcard, .f3-pcard-body, .f3-pcard-row, .f3-flash-item, .f3-buybar > * { min-width: 0; }
.f3-pcard-row > .f3-price { flex: 1 1 auto; }
.f3-pcard-row > .f3-add { flex: none; }

/* ---------- SearchBar ---------- */
.f3-search { position: relative; display: flex; align-items: center; gap: var(--space-2); height: 52px; padding: 0 6px 0 16px; background: var(--surface-sunk); border-radius: var(--radius-pill); box-shadow: inset 0 0 0 1.5px transparent; transition: box-shadow .2s, background-color .2s; color: var(--ink-muted); }
.f3-search:focus-within { background: var(--surface-raised); box-shadow: inset 0 0 0 1.5px var(--ink), var(--shadow-1); }
.f3-search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font: 500 15px/1 var(--font-sans); color: var(--ink); }
.f3-search-ph { position: absolute; left: 48px; right: 60px; top: 50%; margin-top: -11px; pointer-events: none; font: 500 15px/22px var(--font-sans); color: var(--ink-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.f3-search-ph b { color: var(--ink); font-weight: 600; display: inline-block; animation: f3-ph .45s cubic-bezier(.2, .8, .2, 1) both; }
.f3-search-btn { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--night); color: var(--on-night); cursor: pointer; transition: transform .2s; }
.f3-search-btn:active { transform: scale(.9); }

/* ---------- CategoryChips ---------- */
.f3-chips { display: flex; gap: var(--space-2); overflow-x: auto; padding: 2px var(--space-4); margin: 0 calc(var(--space-4) * -1); scroll-snap-type: x proximity; scrollbar-width: none; }
.f3-chips::-webkit-scrollbar { display: none; }
.f3-chip { flex: none; scroll-snap-align: start; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px 0 12px; border: 0; border-radius: var(--radius-pill); background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font: 600 14px/1 var(--font-sans); cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s, transform .2s; }
.f3-chip:active { transform: scale(.95); }
.f3-chip[aria-pressed="true"] { background: var(--night); color: var(--on-night); box-shadow: none; }
.f3-chip[aria-pressed="true"] .f3-icon { color: var(--saffron); }

/* ---------- ProductArt ---------- */
.f3-art { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 1 / 1; border-radius: var(--radius-md); overflow: hidden; }
.f3-art svg { width: 68%; height: 68%; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.f3-art-red { background: var(--red-soft); }
.f3-art-saffron { background: var(--saffron-soft); }
.f3-art-sunk { background: var(--surface-sunk); }
.f3-art-night { background: var(--night); }
.f3-art .a-main { fill: var(--red); }
.f3-art .a-ink { fill: var(--ink); }
.f3-art .a-acc { fill: var(--saffron); }
.f3-art .a-hi { fill: var(--surface-raised); }
.f3-art .a-line { fill: none; stroke: var(--ink); stroke-width: 4; stroke-linecap: round; }
.f3-art-night .a-ink { fill: var(--on-night); }
.f3-art-night .a-line { stroke: var(--on-night); }
.f3-art-night .a-hi { fill: var(--night); }
.f3-art::before { content: ""; position: absolute; left: -10%; right: -10%; bottom: 14%; height: 12%; transform: skewX(var(--slant)); background: rgba(22, 13, 15, .06); border-radius: 2px; }
.f3-art-night::before { background: rgba(255, 255, 255, .08); }

/* ---------- ProductCard ---------- */
.f3-pcard { position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0; color: var(--ink); animation: f3-rise .6s cubic-bezier(.2, .8, .2, 1) both; }
.f3-pcard:hover .f3-art svg { transform: scale(1.06) rotate(-3deg); }
.f3-pcard-media { position: relative; }
.f3-pcard-badge { position: absolute; left: 10px; top: 10px; z-index: 1; }
.f3-heart { position: absolute; right: 8px; top: 8px; z-index: 1; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--surface-raised); color: var(--ink); box-shadow: var(--shadow-1); cursor: pointer; }
.f3-heart[aria-pressed="true"] { color: var(--red); }
.f3-heart[aria-pressed="true"] .f3-icon { animation: f3-pop .45s cubic-bezier(.2, .8, .2, 1); }
.f3-heart[aria-pressed="true"]::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--red); animation: f3-burst .5s ease-out forwards; }
.f3-pcard-body { display: flex; flex-direction: column; gap: 4px; padding: 0 2px; }
.f3-pcard-vendor { display: flex; align-items: center; gap: 4px; font-size: 12px; line-height: 16px; font-weight: 600; color: var(--ink-muted); min-width: 0; }
.f3-pcard-vendor span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.f3-pcard-vendor .f3-icon { color: var(--red); }
.f3-pcard-title { margin: 0; font: 600 14px/19px var(--font-sans); color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 38px; }
.f3-pcard-row { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-2); margin-top: 2px; }
.f3-add { flex: none; position: relative; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--red); color: var(--on-red); box-shadow: var(--shadow-red); cursor: pointer; transition: transform .25s cubic-bezier(.2, .8, .2, 1), background-color .25s; }
.f3-add:active { transform: scale(.88); }
.f3-add .f3-icon { transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.f3-add.is-added { background: var(--night); color: var(--saffron); box-shadow: none; }
.f3-add.is-added .f3-icon { animation: f3-pop .45s; }

/* ---------- VendorCard ---------- */
.f3-vcard { position: relative; display: flex; flex-direction: column; width: 100%; min-width: 0; background: var(--surface-raised); border-radius: var(--radius-md); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-1); overflow: hidden; animation: f3-rise .6s cubic-bezier(.2, .8, .2, 1) both; }
.f3-vcard-cover { position: relative; height: 84px; overflow: hidden; }
.f3-vcard-cover svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.f3-vcard-red .f3-vcard-cover { background: var(--red); }
.f3-vcard-night .f3-vcard-cover { background: var(--night); }
.f3-vcard-saffron .f3-vcard-cover { background: var(--saffron); }
.f3-vcard-cover .bar { transform-box: fill-box; transform-origin: left; animation: f3-bar .9s cubic-bezier(.2, .8, .2, 1) both; }
.f3-vcard-red .bar-a { fill: var(--red-deep); } .f3-vcard-red .bar-b { fill: var(--saffron); }
.f3-vcard-night .bar-a { fill: var(--red); } .f3-vcard-night .bar-b { fill: var(--saffron); }
.f3-vcard-saffron .bar-a { fill: var(--night); } .f3-vcard-saffron .bar-b { fill: var(--red); }
.f3-vcard-logo { position: absolute; left: var(--space-3); top: 56px; display: grid; place-items: center; width: 56px; height: 56px; border-radius: var(--radius-sm); background: var(--surface-raised); box-shadow: 0 0 0 3px var(--surface-raised), var(--shadow-1); font: 900 20px/1 var(--font-display); font-stretch: 125%; color: var(--ink); }
.f3-vcard-body { display: flex; flex-direction: column; gap: 6px; padding: 36px var(--space-3) var(--space-3); }
.f3-vcard-name { display: flex; align-items: center; gap: 6px; margin: 0; font: 700 16px/20px var(--font-sans); }
.f3-vcard-name .f3-icon { color: var(--red); }
.f3-vcard-cat { font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.f3-vcard-meta { display: flex; align-items: center; gap: var(--space-3); font: 500 12px/16px var(--font-mono); color: var(--ink-muted); }
.f3-vcard-meta b { color: var(--ink); font-weight: 700; }
.f3-vcard-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; gap: var(--space-2); }

/* ---------- FlashDeal ---------- */
.f3-flash { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--saffron); color: var(--on-saffron); padding: var(--space-4); }
.f3-flash-head { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.f3-flash-title { display: flex; align-items: center; gap: 6px; margin: 0; font-family: var(--font-display); font-stretch: 125%; font-weight: 900; font-size: 21px; line-height: 1; letter-spacing: -0.01em; white-space: nowrap; transform: skewX(var(--slant)); }
.f3-flash-title .f3-icon { animation: f3-pop 1.6s ease-in-out infinite; }
.f3-count { display: flex; align-items: center; gap: 4px; font: 700 15px/1 var(--font-mono); }
.f3-count-cell { position: relative; overflow: hidden; display: grid; place-items: center; min-width: 34px; height: 34px; padding: 0 4px; border-radius: var(--radius-xs); background: var(--night); color: var(--on-night); font-variant-numeric: tabular-nums; }
.f3-count-cell span { display: block; animation: f3-tick .35s cubic-bezier(.2, .8, .2, 1); }
.f3-count-sep { font-weight: 700; }
.f3-flash-sub { position: relative; z-index: 1; margin: 6px 0 0; font-size: 13px; line-height: 18px; font-weight: 600; }
.f3-flash-bars { position: absolute; right: -20px; top: 0; bottom: 0; width: 160px; pointer-events: none; }
.f3-flash-bars rect { fill: var(--on-saffron); opacity: .07; }
.f3-flash-items { position: relative; z-index: 1; display: flex; gap: var(--space-3); margin: var(--space-4) calc(var(--space-4) * -1) 0; padding: 0 var(--space-4); overflow-x: auto; scrollbar-width: none; }
.f3-flash-items::-webkit-scrollbar { display: none; }
.f3-flash-item { flex: none; width: 128px; display: flex; flex-direction: column; gap: 6px; padding: 8px; border-radius: var(--radius-md); background: var(--surface-raised); color: var(--ink); }
.f3-flash-item .f3-art { border-radius: var(--radius-sm); }
.f3-meter { position: relative; height: 6px; border-radius: 3px; background: var(--saffron-soft); overflow: hidden; }
.f3-meter i { position: absolute; inset: 0 auto 0 0; border-radius: 3px; background: var(--red); }
.f3-meter-label { font: 600 11px/14px var(--font-sans); color: var(--ink-muted); }

/* ---------- TextField ---------- */
.f3-field { display: flex; flex-direction: column; gap: 6px; }
.f3-field label { font: 600 13px/18px var(--font-sans); color: var(--ink); }
.f3-field-box { display: flex; align-items: center; height: 52px; padding: 0 14px; gap: var(--space-2); background: var(--surface-raised); border-radius: var(--radius-sm); box-shadow: inset 0 0 0 1.5px var(--line-strong); transition: box-shadow .2s; }
.f3-field-box:focus-within { box-shadow: inset 0 0 0 2px var(--ink); }
.f3-field-box input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font: 500 15px/1 var(--font-sans); color: var(--ink); }
.f3-field-box input::placeholder { color: var(--ink-muted); opacity: 1; }
.f3-field-affix { flex: none; font: 500 14px/1 var(--font-mono); color: var(--ink-muted); }
.f3-field-hint { font-size: 13px; line-height: 18px; color: var(--ink-muted); display: flex; align-items: center; gap: 4px; }
.f3-field.is-error .f3-field-box { box-shadow: inset 0 0 0 2px var(--red-ink); background: var(--red-soft); }
.f3-field.is-error .f3-field-hint { color: var(--red-ink); font-weight: 600; }
.f3-field.is-success .f3-field-hint { color: var(--success); font-weight: 600; }
.f3-field.is-success .f3-field-box .f3-icon { color: var(--success); }

/* ---------- Stepper ---------- */
.f3-stepper { display: flex; flex-direction: column; gap: 10px; }
.f3-stepper-bars { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }
.f3-stepper-bar { position: relative; height: 8px; transform: skewX(var(--slant)); background: var(--surface-sunk); box-shadow: inset 0 0 0 1px var(--line); border-radius: 2px; overflow: hidden; }
.f3-stepper-bar i { position: absolute; inset: 0; background: var(--red); transform-origin: left; animation: f3-bar .7s cubic-bezier(.2, .8, .2, 1) both; }
.f3-stepper-bar.is-current i { background: var(--saffron); }
.f3-stepper-labels { display: flex; justify-content: space-between; font: 600 12px/16px var(--font-sans); color: var(--ink-muted); }
.f3-stepper-labels .is-current { color: var(--ink); }
.f3-stepper-count { font: 700 12px/16px var(--font-mono); color: var(--ink-muted); }

/* ---------- StatTile ---------- */
.f3-stat { display: flex; flex-direction: column; gap: 6px; padding: var(--space-3) var(--space-3) 10px; background: var(--surface-raised); border-radius: var(--radius-md); box-shadow: inset 0 0 0 1px var(--line); min-width: 0; animation: f3-rise .6s cubic-bezier(.2, .8, .2, 1) both; }
.f3-stat-head { display: flex; align-items: center; justify-content: space-between; font: 600 12px/16px var(--font-sans); color: var(--ink-muted); }
.f3-stat-ico { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--surface-sunk); color: var(--ink); }
.f3-stat-red .f3-stat-ico { background: var(--red); color: var(--on-red); }
.f3-stat-saffron .f3-stat-ico { background: var(--saffron); color: var(--on-saffron); }
.f3-stat-value { font: 700 24px/28px var(--font-mono); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.f3-stat-value small { font-size: .55em; margin-right: 3px; }
.f3-stat-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); }
.f3-delta { font: 700 12px/16px var(--font-mono); }
.f3-delta.up { color: var(--success); }
.f3-delta.down { color: var(--red-ink); }
.f3-spark { width: 64px; height: 24px; overflow: visible; }
.f3-spark polyline { fill: none; stroke: var(--red); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 200; stroke-dashoffset: 200; animation: f3-draw 1.2s .2s cubic-bezier(.2, .8, .2, 1) forwards; }
.f3-spark circle { fill: var(--saffron); stroke: var(--surface-raised); stroke-width: 2; }
@keyframes f3-draw { to { stroke-dashoffset: 0; } }

/* ---------- OrderTimeline ---------- */
.f3-timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.f3-tl-step { position: relative; display: grid; grid-template-columns: 24px 1fr auto; gap: 0 12px; padding-bottom: 18px; }
.f3-tl-step:last-child { padding-bottom: 0; }
.f3-tl-step::before { content: ""; position: absolute; left: 11px; top: 24px; bottom: 0; width: 2px; background: var(--line); }
.f3-tl-step:last-child::before { display: none; }
.f3-tl-step.is-done::before { background: var(--red); }
.f3-tl-dot { position: relative; z-index: 1; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--surface-raised); box-shadow: inset 0 0 0 2px var(--line-strong); color: var(--on-red); }
.f3-tl-step.is-done .f3-tl-dot { background: var(--red); box-shadow: none; }
.f3-tl-step.is-current .f3-tl-dot { background: var(--saffron); box-shadow: none; color: var(--on-saffron); animation: f3-pulse 1.8s infinite; }
.f3-tl-label { font: 600 14px/24px var(--font-sans); color: var(--ink); }
.f3-tl-step.is-todo .f3-tl-label { color: var(--ink-muted); font-weight: 500; }
.f3-tl-time { font: 500 12px/24px var(--font-mono); color: var(--ink-muted); }

/* ---------- BottomNav ---------- */
.f3-nav { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; height: 72px; padding: 0 6px 8px; background: var(--surface-raised); border-radius: 26px; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-2); }
.f3-nav-item { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 0; border: 0; background: transparent; color: var(--ink-muted); font: 700 10px/12px var(--font-sans); letter-spacing: .04em; text-transform: uppercase; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.f3-nav-item .f3-icon { transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.f3-nav-item[aria-current="page"] { color: var(--ink); }
.f3-nav-item[aria-current="page"] .f3-icon { transform: translateY(-2px); color: var(--red); }
.f3-nav-item[aria-current="page"]::before { content: ""; position: absolute; top: -12px; width: 18px; height: 4px; border-radius: 1px; background: var(--red); transform: skewX(var(--slant)); }
.f3-nav-sell { align-self: start; margin-top: -22px; }
.f3-nav-sell .f3-nav-fab { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 20px; background: var(--red); color: var(--on-red); box-shadow: 0 0 0 5px var(--surface-raised), var(--shadow-red); transform: rotate(-12deg); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.f3-nav-sell .f3-nav-fab .f3-icon { transform: rotate(12deg); }
.f3-nav-sell:hover .f3-nav-fab, .f3-nav-sell:active .f3-nav-fab { transform: rotate(0deg) scale(1.05); }
.f3-nav-sell:hover .f3-nav-fab .f3-icon { transform: rotate(90deg); }
.f3-nav-count { position: absolute; top: -6px; left: 50%; margin-left: 4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--saffron); color: var(--on-saffron); font: 700 10px/18px var(--font-mono); text-align: center; letter-spacing: 0; box-shadow: 0 0 0 2px var(--surface-raised); }

/* ---------- Section head ---------- */
.f3-sec { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-3); margin-bottom: var(--space-3); }
.f3-sec-title { position: relative; margin: 2px 0 0; font-family: var(--font-display); font-stretch: 125%; font-weight: 900; font-size: 22px; line-height: 1; letter-spacing: -0.01em; color: var(--ink); }
.f3-sec-title::after { content: ""; display: block; width: 28px; height: 5px; margin-top: 8px; background: var(--red); transform: skewX(var(--slant)); border-radius: 1px; }
.f3-link { display: inline-flex; align-items: center; gap: 2px; border: 0; background: none; padding: 4px 0; font: 700 13px/1 var(--font-sans); color: var(--ink); cursor: pointer; text-decoration: none; }
.f3-link .f3-icon { transition: transform .25s; }
.f3-link:hover .f3-icon { transform: translateX(3px); }

/* ---------- Ticker ---------- */
.f3-ticker { overflow: hidden; background: var(--night); color: var(--on-night); font: 700 11px/30px var(--font-sans); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.f3-ticker-track { display: inline-flex; animation: f3-marquee 26s linear infinite; }
.f3-ticker-track span { display: inline-flex; align-items: center; gap: 10px; padding: 0 14px; }
.f3-ticker-track span::after { content: ""; width: 8px; height: 8px; background: var(--saffron); transform: skewX(var(--slant)); }

/* ---------- Phone frame and screens ---------- */
.f3-phone { position: relative; width: 390px; max-width: 100%; height: 844px; margin: 0 auto; border-radius: 48px; background: var(--surface); box-shadow: 0 0 0 10px var(--night), 0 0 0 11px var(--line), var(--shadow-2); overflow: hidden; display: flex; flex-direction: column; }
.f3-phone-stage { padding: 28px 16px; display: flex; justify-content: center; }
.f3-status { flex: none; display: flex; align-items: center; justify-content: space-between; height: 44px; padding: 0 28px; font: 700 14px/1 var(--font-sans); color: var(--ink); }
.f3-status i { display: inline-block; width: 24px; height: 11px; border-radius: 3px; box-shadow: inset 0 0 0 1.5px var(--ink); position: relative; }
.f3-status i::after { content: ""; position: absolute; left: 2px; top: 2px; bottom: 2px; width: 14px; border-radius: 1px; background: var(--ink); }
.f3-screen { flex: 1; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; padding-bottom: 110px; }
.f3-screen::-webkit-scrollbar { display: none; }
.f3-screen-nav { position: absolute; left: 12px; right: 12px; bottom: 14px; z-index: 5; }
.f3-pad { padding: 0 var(--space-4); }
.f3-topbar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: 6px var(--space-4) var(--space-3); }
.f3-topbar-actions { display: flex; gap: var(--space-2); }
.f3-iconbtn { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--surface-sunk); color: var(--ink); cursor: pointer; transition: transform .2s; }
.f3-iconbtn:active { transform: scale(.9); }
.f3-iconbtn .f3-dot { position: absolute; top: 9px; right: 10px; width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 2px var(--surface-sunk); }
.f3-loc { display: flex; flex-direction: column; gap: 2px; padding: 0 var(--space-4) var(--space-3); }
.f3-loc small { font: 600 11px/14px var(--font-sans); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); }
.f3-loc b { display: inline-flex; align-items: center; gap: 4px; font: 700 15px/20px var(--font-sans); }
.f3-hero { position: relative; overflow: hidden; margin: 0 var(--space-4); padding: var(--space-6) var(--space-4) var(--space-4); border-radius: var(--radius-lg); background: var(--night); color: var(--on-night); min-height: 268px; display: flex; flex-direction: column; justify-content: flex-end; }
.f3-hero-art { position: absolute; top: -10px; right: -36px; width: 230px; height: 190px; }
.f3-hero-art .bar { transform-box: fill-box; animation: f3-slide-in .9s cubic-bezier(.2, .8, .2, 1) both; }
.f3-hero-art .b-red { fill: var(--red); }
.f3-hero-art .b-saf { fill: var(--saffron); }
.f3-hero-art .b-dim { fill: var(--on-night); fill-opacity: .12; }
.f3-hero h1 { position: relative; margin: 0; font-family: var(--font-display); font-stretch: 125%; font-weight: 900; font-size: 40px; line-height: .92; letter-spacing: -0.02em; animation: f3-rise .7s .1s cubic-bezier(.2, .8, .2, 1) both; }
.f3-hero h1 em { font-style: normal; color: var(--saffron); }
.f3-hero p { position: relative; margin: 10px 0 var(--space-4); font-size: 14px; line-height: 20px; color: var(--on-night-muted); max-width: 260px; animation: f3-rise .7s .2s cubic-bezier(.2, .8, .2, 1) both; }
.f3-hero-cta { position: relative; display: flex; gap: var(--space-2); animation: f3-rise .7s .3s cubic-bezier(.2, .8, .2, 1) both; }
.f3-section { padding: var(--space-8) var(--space-4) 0; }
.f3-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4) var(--space-3); }
.f3-hscroll { display: flex; gap: var(--space-3); overflow-x: auto; margin: 0 calc(var(--space-4) * -1); padding: 2px var(--space-4) 8px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.f3-hscroll::-webkit-scrollbar { display: none; }
.f3-hscroll > * { flex: none; width: 240px; scroll-snap-align: start; }
.f3-promo { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: var(--space-4); border-radius: var(--radius-lg); background: var(--red); color: var(--on-red); }
.f3-promo h3 { margin: 0; font-family: var(--font-display); font-stretch: 125%; font-weight: 900; font-size: 20px; line-height: 1; }
.f3-promo p { margin: 6px 0 0; font-size: 13px; line-height: 18px; }
.f3-row { display: flex; align-items: center; gap: var(--space-3); }
.f3-list { display: flex; flex-direction: column; background: var(--surface-raised); border-radius: var(--radius-md); box-shadow: inset 0 0 0 1px var(--line); }
.f3-list-item { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3); }
.f3-list-item + .f3-list-item { border-top: 1px solid var(--line); }
.f3-list-item .f3-art { width: 52px; border-radius: var(--radius-sm); }
.f3-list-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.f3-list-main b { font: 600 14px/19px var(--font-sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.f3-list-main small { font: 500 12px/16px var(--font-mono); color: var(--ink-muted); }
.f3-list-end { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.f3-payout { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-4); border-radius: var(--radius-lg); background: var(--night); color: var(--on-night); }
.f3-payout small { font: 600 12px/16px var(--font-sans); color: var(--on-night-muted); }
.f3-payout .f3-num { font-size: 32px; line-height: 34px; font-weight: 700; }
.f3-plan { display: flex; flex-direction: column; gap: 4px; padding: var(--space-3); border-radius: var(--radius-md); background: var(--surface-raised); box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; text-align: left; font: inherit; color: inherit; transition: box-shadow .2s, transform .2s; }
.f3-plan[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--red); }
.f3-plan > .f3-badge { align-self: flex-start; margin-bottom: 4px; }
.f3-plan b { font: 700 15px/20px var(--font-sans); }
[data-theme="dark"] .f3-hero, [data-theme="dark"] .f3-payout { box-shadow: inset 0 0 0 1px var(--line); }
.f3-plan small { font-size: 12px; line-height: 16px; color: var(--ink-muted); }
.f3-plan .f3-num { font-size: 18px; font-weight: 700; }
.f3-tabs { display: flex; gap: 4px; padding: 4px; border-radius: var(--radius-pill); background: var(--surface-sunk); }
.f3-tab { flex: 1; height: 36px; border: 0; border-radius: var(--radius-pill); background: transparent; font: 600 13px/1 var(--font-sans); color: var(--ink-muted); cursor: pointer; transition: background-color .2s, color .2s; }
.f3-tab[aria-selected="true"] { background: var(--surface-raised); color: var(--ink); box-shadow: var(--shadow-1); }

/* =========================================================
   Commerce parts: QuantityStepper, VariantPicker, Gallery, Reviews
   ========================================================= */
.f3-qty { display: inline-flex; align-items: center; height: 48px; padding: 4px; border-radius: var(--radius-pill); background: var(--surface-sunk); }
.f3-qty button { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--surface-raised); color: var(--ink); box-shadow: var(--shadow-1); cursor: pointer; transition: transform .2s; }
.f3-qty button:active { transform: scale(.88); }
.f3-qty button[disabled] { opacity: .35; cursor: not-allowed; box-shadow: none; }
.f3-qty output { min-width: 40px; text-align: center; font: 700 16px/1 var(--font-mono); overflow: hidden; }
.f3-qty output span { display: inline-block; animation: f3-tick .3s cubic-bezier(.2, .8, .2, 1); }

.f3-variant { margin: 0; padding: 0; border: 0; min-width: 0; }
.f3-variant legend { display: flex; align-items: baseline; gap: 6px; width: 100%; padding: 0; margin-bottom: 10px; font: 600 13px/18px var(--font-sans); color: var(--ink-muted); }
.f3-variant legend b { color: var(--ink); font-weight: 700; }
.f3-variant legend .f3-link { margin-left: auto; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.f3-variant-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.f3-variant-opts button { position: relative; min-width: 64px; height: 44px; padding: 0 14px; border: 0; border-radius: var(--radius-sm); background: var(--surface-raised); box-shadow: inset 0 0 0 1.5px var(--line); color: var(--ink); font: 600 14px/1 var(--font-sans); cursor: pointer; transition: box-shadow .2s, background-color .2s, transform .2s; }
.f3-variant-opts button:hover { box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.f3-variant-opts button[aria-pressed="true"] { background: var(--night); color: var(--on-night); box-shadow: none; }
.f3-variant-opts button[disabled] { color: var(--ink-muted); background: var(--surface-sunk); cursor: not-allowed; overflow: hidden; }
.f3-variant-opts button[disabled]::after { content: ""; position: absolute; left: 8px; right: 8px; top: 50%; height: 1.5px; background: var(--line-strong); transform: rotate(-12deg); }
.f3-variant.is-color .f3-variant-opts button { min-width: 0; width: 44px; height: 44px; padding: 4px; border-radius: 50%; }
.f3-variant.is-color .f3-variant-opts button[aria-pressed="true"] { background: var(--surface-raised); box-shadow: inset 0 0 0 2px var(--ink); }
.f3-variant.is-color .f3-variant-opts button[disabled]::after { left: 4px; right: 4px; transform: rotate(-45deg); }
.f3-swatch { display: block; width: 100%; height: 100%; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(22, 13, 15, .14); }

.f3-gal-m { position: relative; }
.f3-gal-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.f3-gal-track::-webkit-scrollbar { display: none; }
.f3-gal-slide { flex: none; width: 100%; scroll-snap-align: start; }
.f3-gal-slide .f3-art { border-radius: 0; aspect-ratio: 1 / 1.02; }
.f3-gal-dots { position: absolute; left: 50%; bottom: 16px; display: flex; gap: 6px; transform: translateX(-50%); }
.f3-gal-dots i { width: 10px; height: 6px; border-radius: 1px; background: var(--ink); opacity: .25; transform: skewX(var(--slant)); transition: width .3s cubic-bezier(.2, .8, .2, 1), opacity .3s, background-color .3s; }
.f3-gal-dots i.on { width: 28px; opacity: 1; background: var(--red); }
.f3-gal-count { position: absolute; right: 16px; bottom: 12px; padding: 4px 8px; border-radius: var(--radius-xs); background: var(--night); color: var(--on-night); font: 700 11px/14px var(--font-mono); }
.f3-gal-d { display: grid; grid-template-columns: 84px 1fr; gap: var(--space-4); align-items: start; }
.f3-gal-thumbs { display: flex; flex-direction: column; gap: 10px; }
.f3-gal-thumbs button { padding: 0; border: 0; border-radius: var(--radius-sm); background: none; cursor: pointer; box-shadow: 0 0 0 0 var(--ink); transition: box-shadow .2s, opacity .2s; opacity: .7; }
.f3-gal-thumbs button .f3-art { border-radius: var(--radius-sm); }
.f3-gal-thumbs button[aria-selected="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--ink); }
.f3-gal-main { position: relative; }
.f3-gal-main .f3-art { border-radius: var(--radius-lg); }
.f3-gal-main .f3-art svg { width: 62%; height: 62%; }
.f3-gal-in { animation: f3-galin .5s cubic-bezier(.2, .8, .2, 1); }
@keyframes f3-galin { from { opacity: 0; transform: scale(.98); } to { opacity: 1; transform: none; } }
.f3-gal-badge { position: absolute; left: 20px; top: 20px; z-index: 1; }
.f3-gal-badge .f3-badge { height: 30px; padding: 0 12px; font-size: 14px; }

.f3-reviews { display: flex; flex-direction: column; gap: var(--space-4); }
.f3-rev-head { display: grid; grid-template-columns: auto 1fr; gap: var(--space-6); align-items: center; padding: var(--space-4); border-radius: var(--radius-md); background: var(--surface-sunk); }
.f3-rev-score { display: flex; flex-direction: column; gap: 6px; }
.f3-rev-score b { font: 900 48px/.9 var(--font-display); font-stretch: 125%; letter-spacing: -0.03em; }
.f3-rev-score small { font-size: 12px; color: var(--ink-muted); }
.f3-rev-bars { display: flex; flex-direction: column; gap: 6px; }
.f3-rev-bar { display: grid; grid-template-columns: 26px 1fr 34px; gap: 8px; align-items: center; font: 600 11px/14px var(--font-mono); color: var(--ink-muted); }
.f3-rev-bar .f3-meter { background: var(--surface-raised); }
.f3-rev-bar .f3-meter i { background: var(--saffron); transform-origin: left; animation: f3-grow .8s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes f3-grow { from { transform: scaleX(0); } to { transform: none; } }
.f3-rev { display: flex; flex-direction: column; gap: 8px; padding-bottom: var(--space-4); border-bottom: 1px solid var(--line); }
.f3-rev:last-child { border-bottom: 0; }
.f3-rev-top { display: flex; align-items: center; gap: 10px; }
.f3-rev-top > div { flex: 1; display: flex; flex-direction: column; }
.f3-rev-top b { font: 700 14px/18px var(--font-sans); }
.f3-rev-top small { font-size: 12px; color: var(--ink-muted); }
.f3-rev-av { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--red-soft); color: var(--red-ink); font: 900 15px/1 var(--font-display); font-stretch: 125%; }
.f3-rev p { margin: 0; font-size: 14px; line-height: 21px; }
.f3-rev-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.f3-rev-meta small { font: 500 12px/16px var(--font-mono); color: var(--ink-muted); }

/* ---------- Buy box ---------- */
.f3-buy { display: flex; flex-direction: column; gap: var(--space-4); min-width: 0; }
.f3-buy-titles { display: flex; flex-direction: column; gap: 8px; }
.f3-buy-title { margin: 0; font-family: var(--font-display); font-stretch: 125%; font-weight: 900; font-size: 26px; line-height: 1; letter-spacing: -0.015em; }
.f3-buy.is-desk .f3-buy-title { font-size: 40px; line-height: .95; }
.f3-buy-sold { font: 600 12px/16px var(--font-mono); color: var(--ink-muted); }
.f3-buy-price { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: var(--space-3) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.f3-buy.is-desk .f3-buy-price .f3-price-now { font-size: 34px; line-height: 38px; }
.f3-buy-qty { display: flex; align-items: center; gap: var(--space-3); }
.f3-buy-qty > span { display: inline-flex; align-items: center; gap: 6px; font: 600 13px/18px var(--font-sans); color: var(--saffron-ink); }
.f3-buy-qty > span i { width: 8px; height: 8px; border-radius: 50%; background: var(--saffron); animation: f3-pulse 1.8s infinite; }
.f3-buy-actions { display: grid; grid-template-columns: 1fr 1fr 56px; gap: 10px; }
.f3-buy-save { width: 56px; height: 56px; }
.f3-dlv { list-style: none; margin: 0; padding: 4px var(--space-4); border-radius: var(--radius-md); background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--line); }
.f3-dlv li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; }
.f3-dlv li + li { border-top: 1px solid var(--line); }
.f3-dlv li > .f3-icon { color: var(--red); margin-top: 1px; }
.f3-dlv b { display: block; font: 600 14px/19px var(--font-sans); }
.f3-dlv small { font-size: 12px; line-height: 16px; color: var(--ink-muted); }
.f3-vstrip { display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 10px; border-radius: var(--radius-md); background: var(--surface-sunk); }
.f3-vstrip-logo { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-sm); background: var(--night); color: var(--on-night); font: 900 15px/1 var(--font-display); font-stretch: 125%; }
.f3-vstrip-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.f3-vstrip-main b { display: flex; align-items: center; gap: 4px; font: 700 15px/20px var(--font-sans); }
.f3-vstrip-main b .f3-icon { color: var(--red); }
.f3-vstrip-main small { font: 500 12px/16px var(--font-mono); color: var(--ink-muted); }
.f3-specs { margin: 0; display: flex; flex-direction: column; }
.f3-specs > div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.f3-specs dt { font: 600 13px/18px var(--font-sans); color: var(--ink-muted); }
.f3-specs dd { margin: 0; font: 500 14px/18px var(--font-sans); }
.f3-pdp-about { margin: 0; font-size: 15px; line-height: 24px; }

/* ---------- Mobile product page ---------- */
.f3-phone.is-bare .f3-status { position: absolute; left: 0; right: 0; top: 0; color: #160d0f; background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.f3-variant:not(.is-color) .f3-variant-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(48px, 1fr)); }
.f3-variant:not(.is-color) .f3-variant-opts button { min-width: 0; padding: 0 6px; }
.f3-phone.is-bare .f3-status i { box-shadow: inset 0 0 0 1.5px #160d0f; }
.f3-phone.is-bare .f3-status i::after { background: #160d0f; }
.f3-pdp-m-media { position: relative; }
.f3-pdp-m-top { position: absolute; left: 0; right: 0; top: 52px; display: flex; justify-content: space-between; padding: 0 var(--space-4); }
.f3-glass { background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #160d0f; box-shadow: var(--shadow-1); }
.f3-glass .f3-dot { box-shadow: 0 0 0 2px #ffffff; }
.f3-pdp-m-badge { position: absolute; left: var(--space-4); bottom: 16px; }
.f3-pdp-m .f3-buy > .f3-vstrip { display: none; }
.f3-phone .f3-status { position: relative; z-index: 6; }
.f3-hscroll-sm > * { width: 168px; }
.f3-buybar { display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 18px; border-radius: 26px; background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-2); }
.f3-buybar-price { flex: 1; display: flex; flex-direction: column; }
.f3-buybar-price small { font: 600 11px/14px var(--font-sans); color: var(--ink-muted); letter-spacing: .06em; text-transform: uppercase; }
.f3-buybar .f3-btn { height: 52px; }
.f3-buybar .f3-btn-icononly { width: 52px; }
.f3-buybar-go { padding: 0 20px; }

/* =========================================================
   Desktop: header, footer, home, product
   ========================================================= */
.f3-desk { min-width: 0; background: var(--surface); color: var(--ink); }
.f3-wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding-left: 40px; padding-right: 40px; }
.f3-hdr { position: relative; z-index: 10; background: var(--surface-raised); box-shadow: 0 1px 0 var(--line); }
.f3-hdr-util { background: var(--night); color: var(--on-night-muted); font: 600 12px/34px var(--font-sans); }
.f3-hdr-util .f3-wrap { display: flex; gap: var(--space-6); align-items: center; }
.f3-hdr-util span { display: inline-flex; align-items: center; gap: 6px; }
.f3-hdr-util .f3-icon { color: var(--saffron); }
.f3-hdr-util-end { margin-left: auto; gap: var(--space-4) !important; }
.f3-hdr-util a { color: var(--on-night); text-decoration: none; }
.f3-hdr-util a:hover { text-decoration: underline; text-underline-offset: 3px; }
.f3-hdr-main { display: flex; align-items: center; gap: var(--space-4); height: 84px; }
.f3-hdr-logo { flex: none; display: inline-flex; }
.f3-hdr-search { flex: 1; min-width: 0; }
.f3-hdr-actions { display: flex; align-items: center; gap: var(--space-6); }
.f3-hdr-act { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.f3-hdr-act-ico { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--surface-sunk); transition: background-color .2s, color .2s; }
.f3-hdr-act:hover .f3-hdr-act-ico { background: var(--night); color: var(--on-night); }
.f3-hdr-act-txt { display: flex; flex-direction: column; }
.f3-hdr-act-txt small { font: 500 11px/14px var(--font-sans); color: var(--ink-muted); white-space: nowrap; }
.f3-hdr-act-txt b { font: 700 14px/18px var(--font-sans); white-space: nowrap; }
.f3-hdr-act-ico .f3-nav-count { top: -2px; left: auto; right: -4px; margin: 0; }
.f3-hdr-nav { display: flex; align-items: center; gap: var(--space-6); height: 48px; }
.f3-hdr-nav a { position: relative; display: inline-flex; align-items: center; gap: 4px; height: 100%; font: 600 14px/1 var(--font-sans); color: var(--ink-muted); text-decoration: none; transition: color .2s; }
.f3-hdr-nav a:hover, .f3-hdr-nav a[aria-current="page"] { color: var(--ink); }
.f3-hdr-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--red); transform: skewX(var(--slant)) scaleX(0); transform-origin: left; transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.f3-hdr-nav a:hover::after, .f3-hdr-nav a[aria-current="page"]::after { transform: skewX(var(--slant)) scaleX(1); }
.f3-hdr-nav .f3-hdr-flash { margin-left: auto; padding: 0 14px; height: 32px; border-radius: var(--radius-xs); background: var(--saffron); color: var(--on-saffron); transform: skewX(var(--slant)); }
.f3-hdr-nav .f3-hdr-flash::after { display: none; }
.f3-hdr-nav .f3-hdr-flash .f3-icon { animation: f3-pop 1.6s ease-in-out infinite; }

.f3-ftr { position: relative; overflow: hidden; margin-top: var(--space-16); background: var(--night); color: var(--on-night-muted); }
.f3-ftr-bars { position: absolute; top: 0; right: 0; width: 252px; height: 84px; }
.f3-ftr-bars .b-red { fill: var(--red); }
.f3-ftr-bars .b-saf { fill: var(--saffron); }
.f3-ftr-top { position: relative; display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: var(--space-8); padding-top: 96px; padding-bottom: var(--space-12); }
.f3-ftr-brand p { margin: var(--space-4) 0 var(--space-6); max-width: 320px; font-size: 14px; line-height: 21px; }
.f3-ftr-news label { display: block; margin-bottom: 8px; font: 700 13px/18px var(--font-sans); color: var(--on-night); }
.f3-ftr-news > div { display: flex; gap: 6px; max-width: 360px; padding: 5px; border-radius: var(--radius-pill); background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.f3-ftr-news input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 0 12px; background: transparent; color: var(--on-night); font: 500 14px/1 var(--font-sans); }
.f3-ftr-news input::placeholder { color: var(--on-night-muted); }
.f3-ftr-col h3 { margin: 0 0 var(--space-4); font: 800 12px/16px var(--font-display); font-stretch: 125%; letter-spacing: .14em; text-transform: uppercase; color: var(--on-night); }
.f3-ftr-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.f3-ftr-col a { color: var(--on-night-muted); text-decoration: none; font-size: 14px; line-height: 20px; transition: color .2s; }
.f3-ftr-col a:hover { color: var(--on-night); }
.f3-ftr-bot { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; padding-top: var(--space-6); padding-bottom: var(--space-6); border-top: 1px solid rgba(255, 255, 255, .12); font: 500 12px/16px var(--font-mono); }
.f3-ftr-credit a { color: var(--saffron) !important; font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(255, 184, 28, .45); transition: border-color .2s; }
.f3-ftr-credit a:hover { border-color: var(--saffron); }
@media (max-width: 640px) { .f3-ftr-sep { display: none; } .f3-ftr-credit { display: block; margin-top: 6px; } }
.f3-ftr-pay { display: flex; gap: 6px; flex-wrap: wrap; }
.f3-ftr-pay span { padding: 5px 10px; border-radius: var(--radius-xs); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); font: 700 11px/14px var(--font-sans); color: var(--on-night); }

.f3-dsec { padding-top: var(--space-12); }
.f3-dsec .f3-sec { margin-bottom: var(--space-6); }
.f3-dsec .f3-sec-title { font-size: 30px; }
.f3-dhero { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--space-8); min-height: 520px; padding: var(--space-16); border-radius: 32px; background: var(--night); color: var(--on-night); }
.f3-dhero-bars { position: absolute; inset: 0 0 0 auto; width: 62%; height: 100%; }
.f3-dhero-bars .bar { transform-box: fill-box; animation: f3-slide-in 1s cubic-bezier(.2, .8, .2, 1) both; }
.f3-dhero-bars .b-red { fill: var(--red); }
.f3-dhero-bars .b-saf { fill: var(--saffron); }
.f3-dhero-bars .b-dim { fill: var(--on-night); fill-opacity: .1; }
.f3-dhero-copy { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; gap: var(--space-4); }
.f3-dhero h1 { margin: 0; font-family: var(--font-display); font-stretch: 125%; font-weight: 900; font-size: 88px; line-height: .9; letter-spacing: -0.03em; animation: f3-rise .8s .1s cubic-bezier(.2, .8, .2, 1) both; }
.f3-dhero h1 em { font-style: normal; color: var(--saffron); }
.f3-dhero p { margin: 0; max-width: 440px; font-size: 17px; line-height: 26px; color: var(--on-night-muted); animation: f3-rise .8s .2s cubic-bezier(.2, .8, .2, 1) both; }
.f3-dhero .f3-hero-cta { margin-top: var(--space-2); }
.f3-dhero-trust { list-style: none; display: flex; gap: var(--space-6); margin: var(--space-4) 0 0; padding: 0; font: 600 13px/18px var(--font-sans); color: var(--on-night); animation: f3-rise .8s .4s cubic-bezier(.2, .8, .2, 1) both; }
.f3-dhero-trust li { display: inline-flex; align-items: center; gap: 6px; }
.f3-dhero-trust .f3-icon { color: var(--saffron); }
.f3-dhero-cards { position: relative; z-index: 1; }
.f3-dhero-card { position: absolute; width: 200px; padding: 10px; border-radius: 20px; background: var(--surface-raised); color: var(--ink); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55); animation: f3-card-in 1s cubic-bezier(.2, .8, .2, 1) both; transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
.f3-dhero-card:hover { transform: rotate(0deg) translateY(-8px) !important; }
.f3-dhero-card .f3-art { border-radius: 12px; }
.f3-dhero-card-meta { display: flex; flex-direction: column; gap: 2px; padding: 10px 4px 2px; }
.f3-dhero-card-meta small { font: 600 12px/16px var(--font-sans); color: var(--ink-muted); }
.f3-dhero-card.c1 { left: 6%; top: 4%; transform: rotate(-8deg); animation-delay: .3s; }
.f3-dhero-card.c2 { left: 40%; top: 22%; width: 230px; transform: rotate(5deg); animation-delay: .45s; z-index: 2; }
.f3-dhero-card.c3 { left: 14%; top: 54%; width: 180px; transform: rotate(-3deg); animation-delay: .6s; }
@keyframes f3-card-in { from { opacity: 0; translate: 0 60px; } to { opacity: 1; translate: 0 0; } }
.f3-cattiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--space-4); }
.f3-cattile { position: relative; display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-4); border-radius: var(--radius-md); background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); text-decoration: none; overflow: hidden; animation: f3-rise .6s cubic-bezier(.2, .8, .2, 1) both; transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s; }
.f3-cattile:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-2); }
.f3-cattile-ico { display: grid; place-items: center; width: 64px; height: 64px; border-radius: var(--radius-md); color: var(--ink); }
.f3-cattile-ico.f3-art-night { color: var(--on-night); }
.f3-cattile-ico.f3-art-red { color: var(--red-ink); }
.f3-cattile b { font: 700 15px/20px var(--font-sans); }
.f3-cattile::after { content: ""; position: absolute; left: var(--space-4); bottom: 0; width: 36px; height: 5px; background: var(--red); transform: skewX(var(--slant)) scaleX(0); transform-origin: left; transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.f3-cattile:hover::after { transform: skewX(var(--slant)) scaleX(1); }
.f3-cattile-go { position: absolute; right: var(--space-4); top: var(--space-4); color: var(--ink-muted); transition: transform .3s, color .3s; }
.f3-cattile:hover .f3-cattile-go { transform: translateX(4px); color: var(--red); }
.f3-desk .f3-flash { padding: var(--space-6); }
.f3-desk .f3-flash-title { font-size: 30px; }
.f3-desk .f3-flash-items { margin: var(--space-6) calc(var(--space-6) * -1) 0; padding: 0 var(--space-6); }
.f3-desk .f3-flash-item { width: 160px; }
.f3-desk .f3-flash-bars { width: 320px; }
.f3-dgrid { display: grid; gap: var(--space-6) var(--space-4); }
.f3-dgrid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.f3-dgrid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.f3-sellband { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.2fr 1fr auto; align-items: center; gap: var(--space-8); padding: var(--space-12); border-radius: 32px; background: var(--red); color: var(--on-red); }
.f3-sellband h2 { margin: 6px 0 8px; font-family: var(--font-display); font-stretch: 125%; font-weight: 900; font-size: 44px; line-height: .95; letter-spacing: -0.02em; }
.f3-sellband p { margin: 0; font-size: 15px; line-height: 22px; }
.f3-sellsteps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font: 700 15px/20px var(--font-sans); }
.f3-sellsteps li { display: flex; align-items: center; gap: 12px; }
.f3-sellsteps span { display: grid; place-items: center; width: 34px; height: 30px; background: var(--saffron); color: var(--on-saffron); font: 700 14px/1 var(--font-mono); transform: skewX(var(--slant)); border-radius: 3px; }
.f3-crumbs { display: flex; align-items: center; gap: 6px; padding: var(--space-6) 0 var(--space-4); font: 500 13px/18px var(--font-sans); color: var(--ink-muted); }
.f3-crumbs a { color: var(--ink-muted); text-decoration: none; }
.f3-crumbs a:hover { color: var(--ink); }
.f3-crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.f3-pdp { display: grid; grid-template-columns: 1.15fr 1fr; gap: var(--space-12); align-items: start; }
.f3-pdp .f3-buy { position: sticky; top: 24px; }
.f3-pdp-below { display: grid; grid-template-columns: 1fr 320px; gap: var(--space-12); align-items: start; padding-top: var(--space-12); }
.f3-pdp-aside { display: flex; flex-direction: column; gap: var(--space-4); }
.f3-pdp-panel { padding-top: var(--space-6); }
.f3-tabs-line { padding: 0; gap: var(--space-6); background: none; border-radius: 0; border-bottom: 1px solid var(--line); }
.f3-tabs-line .f3-tab { flex: none; position: relative; height: 48px; padding: 0; border-radius: 0; font-size: 15px; }
.f3-tabs-line .f3-tab[aria-selected="true"] { background: none; box-shadow: none; }
.f3-tabs-line .f3-tab[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 4px; background: var(--red); transform: skewX(var(--slant)); }

@media (max-width: 1100px) {
  .f3-wrap { padding-left: 24px; padding-right: 24px; }
  .f3-hdr-act-txt, .f3-hdr-cats, .f3-hdr-util span:not(.f3-hdr-util-end):nth-child(n+2) { display: none; }
  .f3-dhero { grid-template-columns: 1fr; padding: var(--space-8); min-height: 0; }
  .f3-dhero h1 { font-size: 56px; }
  .f3-dhero-cards { display: none; }
  .f3-cattiles { grid-template-columns: repeat(3, 1fr); }
  .f3-dgrid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .f3-dgrid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .f3-sellband { grid-template-columns: 1fr; padding: var(--space-8); }
  .f3-pdp, .f3-pdp-below { grid-template-columns: 1fr; gap: var(--space-8); }
  .f3-ftr-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .f3-wrap { padding-left: 16px; padding-right: 16px; }
  .f3-hdr-util, .f3-hdr-nav { display: none; }
  .f3-hdr-main { flex-wrap: wrap; height: auto; padding-top: 12px; padding-bottom: 12px; }
  .f3-hdr-search { order: 3; flex-basis: 100%; }
  .f3-hdr-actions { margin-left: auto; gap: var(--space-2); }
  .f3-dgrid-5, .f3-cattiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .f3-dgrid-4 { grid-template-columns: 1fr; }
  .f3-gal-d { grid-template-columns: 1fr; }
  .f3-gal-thumbs { flex-direction: row; order: 2; }
  .f3-gal-thumbs button { width: 64px; }
}
/* =========================================================
   Kot Addu screens: food, cart, checkout, tracking, rider, handler
   ========================================================= */
.f3-muted { color: var(--ink-muted); }
.f3-label { margin-bottom: 8px; font: 600 13px/18px var(--font-sans); }
.f3-inline-link { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.f3-phone.is-dark .f3-status { position: absolute; left: 0; right: 0; top: 0; z-index: 6; background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; color: #ffffff; }
.f3-phone.is-dark .f3-status i { box-shadow: inset 0 0 0 1.5px #ffffff; }
.f3-phone.is-dark .f3-status i::after { background: #ffffff; }
.f3-nav-4 { grid-template-columns: repeat(4, 1fr); align-items: center; padding-bottom: 0; }
.f3-iconbtn-red { background: var(--red); color: var(--on-red); }

/* AppBar */
.f3-appbar { display: flex; align-items: center; gap: var(--space-3); padding: 6px var(--space-4) var(--space-3); }
.f3-appbar-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.f3-appbar-t small { font: 800 11px/14px var(--font-display); font-stretch: 125%; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); }
.f3-appbar-t b { font: 900 22px/26px var(--font-display); font-stretch: 125%; letter-spacing: -0.01em; }

/* Switch */
.f3-switch { position: relative; flex: none; width: 52px; height: 32px; padding: 0; border: 0; border-radius: 16px; background: var(--line-strong); cursor: pointer; transition: background-color .25s; }
.f3-switch i { position: absolute; left: 3px; top: 3px; width: 26px; height: 26px; border-radius: 50%; background: #ffffff; box-shadow: 0 2px 6px rgba(22, 13, 15, .3); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.f3-switch[aria-checked="true"] { background: var(--success); }
.f3-switch[aria-checked="true"] i { transform: translateX(20px); }
.f3-open-toggle { display: inline-flex; align-items: center; gap: 8px; font: 700 13px/1 var(--font-sans); }
.f3-open-toggle.is-dark { color: var(--on-night); }
.f3-toggle-row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); background: var(--surface-sunk); }
.f3-toggle-row b { display: block; font: 700 14px/19px var(--font-sans); }
.f3-toggle-row small { font-size: 12px; color: var(--ink-muted); }

/* OTP */
.f3-otp { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.f3-otp input { width: 100%; height: 64px; border: 0; border-radius: var(--radius-md); background: var(--surface-sunk); box-shadow: inset 0 0 0 1.5px var(--line-strong); text-align: center; font: 700 28px/1 var(--font-mono); color: var(--ink); outline: 0; transition: box-shadow .2s, transform .2s; }
.f3-otp input:focus { box-shadow: inset 0 0 0 2px var(--ink); transform: translateY(-2px); }
.f3-otp input.is-filled { background: var(--surface-raised); box-shadow: inset 0 0 0 2px var(--red); animation: f3-pop .3s; }

/* Auth */
.f3-auth-top { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 14px; padding: 64px var(--space-4) 28px; background: var(--night); color: var(--on-night); border-radius: 0 0 32px 32px; }
.f3-auth-top .f3-hero-art { top: 30px; right: -60px; }
.f3-auth-top h1 { position: relative; margin: 26px 0 0; font: 900 40px/.92 var(--font-display); font-stretch: 125%; letter-spacing: -0.02em; animation: f3-rise .7s .1s cubic-bezier(.2, .8, .2, 1) both; }
.f3-auth-top h1 em { font-style: normal; color: var(--saffron); }
.f3-auth-top p { position: relative; margin: 0; font-size: 14px; line-height: 20px; color: var(--on-night-muted); max-width: 270px; }
.f3-auth-h { display: flex; flex-direction: column; gap: 2px; }
.f3-auth-h b { font: 700 18px/24px var(--font-sans); }
.f3-auth-h small { font-size: 13px; color: var(--ink-muted); }
.f3-auth-resend { display: inline-flex; align-items: center; gap: 6px; font: 600 12px/16px var(--font-mono); color: var(--ink-muted); }
.f3-auth-or { display: flex; align-items: center; gap: 12px; font: 600 12px/1 var(--font-sans); color: var(--ink-muted); }
.f3-auth-or::before, .f3-auth-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.f3-auth-legal { display: block; text-align: center; font-size: 12px; line-height: 16px; color: var(--ink-muted); }

/* Facts, handler, store */
.f3-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.f3-facts-4 { grid-template-columns: repeat(4, 1fr); }
.f3-facts > div { display: flex; flex-direction: column; gap: 2px; padding: 10px; border-radius: var(--radius-sm); background: var(--surface-sunk); }
.f3-facts b { display: inline-flex; align-items: center; gap: 4px; font: 700 14px/18px var(--font-mono); white-space: nowrap; }
.f3-facts b .f3-icon { color: var(--red); }
.f3-facts b .f3-icon[fill="currentColor"] { color: var(--saffron); }
.f3-facts small { font-size: 11px; line-height: 14px; color: var(--ink-muted); }
.f3-handler { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius-md); background: var(--red-soft); font-size: 13px; line-height: 18px; }
.f3-handler > .f3-icon { flex: none; color: var(--red-ink); margin-top: 1px; }
.f3-store-cover { position: relative; height: 170px; overflow: hidden; background: var(--night); }
.f3-store-cover > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.f3-store-cover .bar { transform-box: fill-box; transform-origin: left; animation: f3-bar .9s cubic-bezier(.2, .8, .2, 1) both; }
.f3-store-head { position: relative; display: flex; flex-direction: column; gap: 12px; margin-top: -36px; }
.f3-store-logo { display: grid; place-items: center; width: 72px; height: 72px; border-radius: var(--radius-md); background: var(--saffron); color: var(--on-saffron); box-shadow: 0 0 0 4px var(--surface), var(--shadow-1); font: 900 24px/1 var(--font-display); font-stretch: 125%; }
.f3-store-name { display: flex; align-items: center; gap: 6px; margin: 0; font: 900 26px/1.05 var(--font-display); font-stretch: 125%; letter-spacing: -0.015em; }
.f3-store-name .f3-icon { flex: none; color: var(--red); }
.f3-store-open { display: inline-flex; align-items: center; gap: 8px; font: 600 13px/18px var(--font-sans); color: var(--success); }
.f3-store-open i { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px var(--success-soft); }

/* Restaurant */
.f3-rcard { display: flex; flex-direction: column; gap: 10px; animation: f3-rise .6s cubic-bezier(.2, .8, .2, 1) both; }
.f3-rcard-media { position: relative; }
.f3-rcard-media .f3-art { aspect-ratio: 16 / 10; }
.f3-rcard-media .f3-art svg { width: 52%; height: 80%; }
.f3-rcard-deal { position: absolute; left: 10px; top: 10px; }
.f3-rcard-time { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 4px; padding: 5px 9px; border-radius: var(--radius-pill); background: var(--surface-raised); color: var(--ink); box-shadow: var(--shadow-1); font: 700 12px/14px var(--font-mono); }
.f3-rcard-body { display: flex; flex-direction: column; gap: 3px; padding: 0 2px; }
.f3-rcard-top { display: flex; justify-content: space-between; gap: 8px; }
.f3-rcard-top b { font: 700 15px/20px var(--font-sans); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.f3-rcard-rate { flex: none; display: inline-flex; align-items: center; gap: 3px; padding: 0 7px; height: 22px; border-radius: var(--radius-xs); background: var(--night); color: var(--on-night); font: 700 12px/1 var(--font-mono); }
.f3-rcard-rate .f3-icon { color: var(--saffron); }
.f3-rcard-body small { font-size: 12px; line-height: 16px; color: var(--ink-muted); }
.f3-rcard-fee { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; }
.f3-rest-hero { aspect-ratio: 390 / 280 !important; border-radius: 0 !important; }
.f3-rest-hero svg { width: 46% !important; height: 70% !important; margin-top: 30px; }
.f3-menu-tabs { position: sticky; top: 0; z-index: 4; padding: 10px var(--space-4); background: var(--surface); box-shadow: 0 1px 0 var(--line); }
.f3-menu-sec { padding-top: var(--space-6); }
.f3-menu-sec .f3-sec-title { margin-bottom: 8px; }
.f3-menu-item { display: flex; gap: var(--space-3); padding: var(--space-4) 0; border-bottom: 1px solid var(--line); }
.f3-menu-main { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.f3-menu-main b { font: 700 15px/20px var(--font-sans); }
.f3-menu-main p { margin: 0 0 4px; font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.f3-menu-media { position: relative; flex: none; width: 112px; }
.f3-menu-media .f3-art { border-radius: var(--radius-md); }
.f3-menu-media > .f3-add, .f3-menu-media > .f3-qty { position: absolute; right: -4px; bottom: -8px; }
.f3-qty-sm { height: 40px; padding: 3px; background: var(--surface-raised); box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line); }
.f3-qty-sm button { width: 34px; height: 34px; box-shadow: none; background: var(--surface-sunk); }
.f3-qty-sm output { min-width: 28px; font-size: 14px; }
.f3-cartbar { display: flex; align-items: center; gap: 12px; width: 100%; height: 60px; padding: 0 20px 0 10px; border: 0; border-radius: 22px; background: var(--red); color: var(--on-red); box-shadow: var(--shadow-red); font: 700 16px/1 var(--font-sans); cursor: pointer; animation: f3-rise .4s cubic-bezier(.2, .8, .2, 1); }
.f3-cartbar b { flex: 1; text-align: left; }
.f3-cartbar-n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 14px; background: var(--night); color: var(--saffron); font: 700 16px/1 var(--font-mono); animation: f3-pop .35s; }
.f3-cartbar .f3-num { font-size: 16px; }

/* Cart & checkout */
.f3-ridernote { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: var(--radius-md); background: var(--night); color: var(--on-night); }
.f3-ridernote-ico { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--saffron); color: var(--on-saffron); transform: skewX(var(--slant)); }
.f3-ridernote-ico .f3-icon { transform: skewX(12deg); }
.f3-ridernote b { display: block; font: 700 14px/19px var(--font-sans); }
.f3-ridernote small { font-size: 12px; line-height: 17px; color: var(--on-night-muted); }
.f3-cart-g { display: flex; flex-direction: column; border-radius: var(--radius-md); background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--line); }
.f3-cart-gh { display: flex; align-items: center; gap: 10px; padding: 12px; border-bottom: 1px solid var(--line); }
.f3-cart-gh .f3-vstrip-logo { width: 36px; height: 36px; font-size: 13px; }
.f3-cart-row { display: flex; align-items: center; gap: 12px; padding: 12px; transition: opacity .3s; }
.f3-cart-row + .f3-cart-row { border-top: 1px solid var(--line); }
.f3-cart-row.is-removed { opacity: .45; }
.f3-cart-row > .f3-art { width: 56px; flex: none; border-radius: var(--radius-sm); }
.f3-cart-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.f3-cart-info b { font: 600 14px/18px var(--font-sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.f3-cart-info small { font-size: 12px; color: var(--ink-muted); }
.f3-cart-info .f3-price-now { font-size: 14px; line-height: 18px; }
.f3-promo-row { display: flex; gap: 8px; align-items: flex-end; }
.f3-promo-row .f3-field { flex: 1; }
.f3-promo-row .f3-btn { height: 52px; }
.f3-sum { margin: 0; display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: var(--radius-md); background: var(--surface-sunk); }
.f3-sum > div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; line-height: 20px; }
.f3-sum dt { color: var(--ink-muted); }
.f3-sum dd { margin: 0; font: 600 14px/20px var(--font-mono); }
.f3-sum .is-free dd { color: var(--success); }
.f3-sum .is-total { padding-top: 10px; border-top: 1px dashed var(--line-strong); }
.f3-sum .is-total dt { color: var(--ink); font-weight: 700; }
.f3-sum .is-total dd { font-size: 20px; line-height: 24px; font-weight: 700; }
.f3-co-sec { display: flex; flex-direction: column; gap: 10px; }
.f3-co-h { margin: 0; font: 800 12px/16px var(--font-display); font-stretch: 125%; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); }
.f3-addr { overflow: hidden; border-radius: var(--radius-md); background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--line); }
.f3-addr .f3-map { border-radius: 0; }
.f3-addr-body { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; }
.f3-addr-body > .f3-icon { color: var(--red); flex: none; }
.f3-addr-body > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.f3-addr-body b { font: 700 14px/19px var(--font-sans); }
.f3-addr-body small { font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.f3-opts { display: flex; flex-direction: column; gap: 8px; }
.f3-opt { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border: 0; border-radius: var(--radius-md); background: var(--surface-raised); box-shadow: inset 0 0 0 1.5px var(--line); color: var(--ink); text-align: left; font: inherit; cursor: pointer; transition: box-shadow .2s, background-color .2s; }
.f3-opt[aria-checked="true"] { box-shadow: inset 0 0 0 2px var(--ink); }
.f3-opt-ico { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--surface-sunk); }
.f3-opt[aria-checked="true"] .f3-opt-ico { background: var(--night); color: var(--saffron); }
.f3-opt-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.f3-opt-txt b { display: flex; align-items: center; gap: 8px; font: 700 14px/19px var(--font-sans); }
.f3-opt-txt small { font-size: 12px; line-height: 16px; color: var(--ink-muted); }
.f3-radio { flex: none; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--line-strong); transition: box-shadow .2s; }
.f3-opt[aria-checked="true"] .f3-radio { box-shadow: inset 0 0 0 7px var(--red); }

/* Map: Kot Addu, roads around the city centre */
.f3-map { position: relative; overflow: hidden; border-radius: var(--radius-lg); }
.f3-map > svg { display: block; width: 100%; height: 100%; }
.f3-map-ground { fill: var(--surface-sunk); }
.f3-map-canal { fill: none; stroke: var(--info-soft); stroke-width: 14; stroke-linecap: round; }
.f3-map-ring { fill: none; stroke: var(--surface-raised); stroke-width: 7; }
.f3-map-road { stroke: var(--surface-raised); stroke-width: 9; stroke-linecap: round; }
.f3-map-tower { fill: var(--saffron); stroke: var(--surface-raised); stroke-width: 3; }
.f3-map-route { fill: none; stroke: var(--red); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 8 7; animation: f3-route 1s linear infinite; }
@keyframes f3-route { to { stroke-dashoffset: -15; } }
.f3-map-pin.is-store circle { fill: var(--night); stroke: var(--surface-raised); stroke-width: 3; }
.f3-map-pin.is-store .in { fill: var(--saffron); }
.f3-map-pin.is-home path { fill: var(--red); stroke: var(--surface-raised); stroke-width: 2.5; }
.f3-map-pin.is-home .in { fill: #ffffff; }
.f3-map-rider circle { fill: var(--red); stroke: #ffffff; stroke-width: 2.5; }
.f3-map-rider .core { fill: #ffffff; stroke: none; }
.f3-map-rider .halo { fill: var(--red); fill-opacity: .2; stroke: none; transform-box: fill-box; transform-origin: center; animation: f3-halo 1.6s ease-out infinite; }
.f3-map-rider.is-idle circle { fill: var(--ink-muted); }
.f3-map-rider.is-idle .halo { display: none; }
@keyframes f3-halo { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }

/* Tracking */
.f3-track .f3-map { border-radius: 0; }
.f3-eta { position: absolute; right: var(--space-4); bottom: 44px; display: flex; flex-direction: column; align-items: center; padding: 10px 14px; border-radius: var(--radius-md); background: var(--night); color: var(--on-night); box-shadow: var(--shadow-2); }
.f3-eta small { font: 600 10px/12px var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--on-night-muted); }
.f3-eta b { font: 900 34px/1 var(--font-display); font-stretch: 125%; color: var(--saffron); }
.f3-eta span { font: 600 11px/14px var(--font-mono); }
.f3-sheet { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 14px; margin-top: -28px; padding: 14px var(--space-4) var(--space-6); border-radius: 28px 28px 0 0; background: var(--surface); box-shadow: 0 -10px 30px -12px rgba(22, 13, 15, .25); }
.f3-sheet-handle { align-self: center; width: 40px; height: 5px; border-radius: 3px; background: var(--line-strong); }
.f3-track-h { margin: -6px 0 0; font: 900 24px/1.05 var(--font-display); font-stretch: 125%; letter-spacing: -0.01em; }
.f3-rider { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: var(--radius-md); background: var(--surface-sunk); }
.f3-rider-av { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--red); color: var(--on-red); font: 900 15px/1 var(--font-display); font-stretch: 125%; transform: rotate(-6deg); }
.f3-cashnote { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--radius-md); background: var(--saffron-soft); color: var(--ink); font-size: 14px; line-height: 19px; }
.f3-cashnote > .f3-icon { flex: none; color: var(--saffron-ink); }
.f3-cashnote b { font-family: var(--font-mono); }

/* Account */
.f3-profile { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: var(--radius-lg); background: var(--night); color: var(--on-night); }
.f3-profile .f3-vstrip-main small { color: var(--on-night-muted); }
.f3-profile-av { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--saffron); color: var(--on-saffron); font: 900 24px/1 var(--font-display); font-stretch: 125%; transform: rotate(-6deg); }
.f3-active-order { display: flex; flex-direction: column; gap: 12px; padding: 14px; border-radius: var(--radius-md); background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-1); }
.f3-thumb { width: 52px !important; flex: none; border-radius: var(--radius-sm) !important; }
.f3-active-order .f3-meter { background: var(--surface-sunk); }
.f3-menu-link { cursor: pointer; }
.f3-menu-link .f3-list-main { font: 600 14px/20px var(--font-sans); }
.f3-menu-link.is-accent .f3-stat-ico { background: var(--red); color: var(--on-red); }
.f3-menu-link.is-accent .f3-list-main { color: var(--red-ink); }
.f3-lang { border-radius: var(--radius-md); background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--line); }
.f3-lang .f3-tabs { width: 168px; }
.f3-lang .f3-tab { height: 32px; }

/* Vendor orders */
.f3-vorder { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: var(--radius-md); background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--line); animation: f3-rise .5s cubic-bezier(.2, .8, .2, 1) both; }
.f3-vorder.is-new { box-shadow: inset 0 0 0 2px var(--red), var(--shadow-1); }
.f3-vorder-h { display: flex; align-items: center; gap: 8px; }
.f3-vorder-h b { font-size: 14px; }
.f3-vorder-h small { flex: 1; font-size: 12px; color: var(--ink-muted); }
.f3-vorder ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.f3-vorder li { display: flex; justify-content: space-between; font-size: 14px; line-height: 20px; }
.f3-vorder-note { display: flex; gap: 6px; align-items: flex-start; margin: 0; padding: 8px 10px; border-radius: var(--radius-sm); background: var(--saffron-soft); font-size: 13px; line-height: 18px; }
.f3-vorder-f { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 10px; border-top: 1px dashed var(--line-strong); }
.f3-vorder-total { font-size: 16px; font-weight: 700; }
.f3-vorder-timer { display: inline-flex; align-items: center; gap: 4px; font: 700 12px/16px var(--font-mono); color: var(--red-ink); }
.f3-vorder-rider { display: inline-flex; align-items: center; gap: 4px; font: 600 12px/16px var(--font-sans); color: var(--info); }
.f3-vorder-a { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.f3-vorder-a .f3-btn-block { grid-column: 1 / -1; }

/* Add product */
.f3-photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.f3-photo { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; aspect-ratio: 1 / 1; padding: 0; border: 0; border-radius: var(--radius-sm); overflow: hidden; background: var(--surface-sunk); color: var(--ink-muted); font: 600 11px/14px var(--font-sans); cursor: pointer; }
.f3-photo .f3-art { border-radius: 0; height: 100%; }
.f3-photo.is-add { box-shadow: inset 0 0 0 1.5px var(--line-strong); background-image: repeating-linear-gradient(-12deg, transparent 0 10px, rgba(22, 13, 15, .03) 10px 20px); }
.f3-photo.is-cover > span { position: absolute; left: 6px; bottom: 6px; padding: 2px 6px; border-radius: var(--radius-xs); background: var(--night); color: var(--on-night); font-size: 10px; }

/* Rider app */
.f3-rider-top { display: flex; flex-direction: column; gap: 16px; padding: 60px var(--space-4) 18px; background: var(--night); color: var(--on-night); border-radius: 0 0 28px 28px; }
.f3-rider-top .f3-vstrip-main small { color: var(--on-night-muted); }
.f3-rider-earn { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.f3-rider-earn > div { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .08); }
.f3-rider-earn b { font-size: 17px; line-height: 22px; color: var(--saffron); }
.f3-rider-earn small { font-size: 11px; color: var(--on-night-muted); }
.f3-job { display: flex; flex-direction: column; gap: 14px; padding: 16px; border-radius: var(--radius-lg); background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-1); }
.f3-stops { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.f3-stops li { position: relative; display: flex; gap: 12px; padding-bottom: 14px; }
.f3-stops li:last-child { padding-bottom: 0; }
.f3-stops li::before { content: ""; position: absolute; left: 11px; top: 24px; bottom: 0; width: 2px; background: var(--line); }
.f3-stops li:last-child::before { display: none; }
.f3-stops li.is-done::before { background: var(--red); }
.f3-stop-dot { flex: none; position: relative; z-index: 1; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--surface-sunk); box-shadow: inset 0 0 0 2px var(--line-strong); color: var(--ink-muted); }
.f3-stops li.is-done .f3-stop-dot { background: var(--red); color: var(--on-red); box-shadow: none; }
.f3-stops li.is-current .f3-stop-dot { background: var(--saffron); color: var(--on-saffron); box-shadow: none; animation: f3-pulse 1.8s infinite; }
.f3-stops li > div { display: flex; flex-direction: column; }
.f3-stops small { font: 700 10px/14px var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.f3-stops b { font: 700 15px/20px var(--font-sans); }
.f3-stops li.is-done b { color: var(--ink-muted); text-decoration: line-through; text-decoration-thickness: 1.5px; }
.f3-stops span { font-size: 12px; line-height: 16px; color: var(--ink-muted); }
.f3-newjob { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: var(--radius-md); background: var(--saffron-soft); }

/* Handler console (desktop) */
.f3-admin { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; background: var(--surface-sunk); color: var(--ink); }
.f3-admin-side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 20px; padding: 24px 16px; background: var(--night); color: var(--on-night); }
.f3-admin-role { margin-top: -8px; font: 800 10px/14px var(--font-display); font-stretch: 125%; letter-spacing: .14em; text-transform: uppercase; color: var(--saffron); }
.f3-admin-side nav { display: flex; flex-direction: column; gap: 2px; }
.f3-admin-side nav a { position: relative; display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 12px; border-radius: 12px; color: var(--on-night-muted); text-decoration: none; font: 600 14px/1 var(--font-sans); transition: background-color .2s, color .2s; }
.f3-admin-side nav a:hover { background: rgba(255, 255, 255, .06); color: var(--on-night); }
.f3-admin-side nav a[aria-current="page"] { background: rgba(255, 255, 255, .1); color: var(--on-night); }
.f3-admin-side nav a[aria-current="page"]::before { content: ""; position: absolute; left: -16px; top: 12px; bottom: 12px; width: 5px; background: var(--red); transform: skewX(var(--slant)); }
.f3-admin-side nav a span { flex: 1; }
.f3-admin-side nav em { font: 700 11px/1 var(--font-mono); font-style: normal; padding: 4px 7px; border-radius: 6px; background: var(--red); color: var(--on-red); }
.f3-admin-me { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, .06); }
.f3-admin-me small { color: var(--on-night-muted); }
.f3-admin-main { display: flex; flex-direction: column; gap: 20px; padding: 28px 32px 40px; min-width: 0; }
.f3-admin-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.f3-admin-top h1 { margin: 4px 0 0; font: 900 34px/1 var(--font-display); font-stretch: 125%; letter-spacing: -0.02em; }
.f3-admin-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.f3-admin-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 20px; }
.f3-panel { display: flex; flex-direction: column; gap: 14px; padding: 18px; border-radius: var(--radius-lg); background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--line); min-width: 0; }
.f3-panel-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.f3-panel-h > b { font: 800 16px/20px var(--font-display); font-stretch: 125%; }
.f3-panel-h .f3-tabs { width: 300px; }
.f3-legend { display: flex; gap: 14px; font: 600 12px/16px var(--font-sans); color: var(--ink-muted); }
.f3-legend span { display: inline-flex; align-items: center; gap: 6px; }
.f3-legend i { width: 10px; height: 10px; border-radius: 50%; }
.f3-legend .l-red { background: var(--red); }
.f3-legend .l-dim { background: var(--ink-muted); }
.f3-apps { display: flex; flex-direction: column; gap: 10px; }
.f3-app { display: flex; flex-direction: column; gap: 10px; padding: 12px; border-radius: var(--radius-md); background: var(--surface-sunk); }
.f3-app .f3-vstrip-logo { width: 40px; height: 40px; font-size: 13px; }
.f3-app-docs { display: flex; flex-wrap: wrap; gap: 6px; }
.f3-table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 20px; }
.f3-table th { padding: 10px 12px; text-align: left; font: 700 11px/14px var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); border-bottom: 1px solid var(--line); }
.f3-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.f3-table tbody tr { transition: background-color .2s; }
.f3-table tbody tr:hover { background: var(--surface-sunk); }
.f3-table td .f3-iconbtn { width: 34px; height: 34px; }
@media (max-width: 1100px) { .f3-admin { grid-template-columns: 1fr; } .f3-admin-side { position: static; height: auto; } .f3-admin-kpis { grid-template-columns: repeat(2, 1fr); } .f3-admin-grid { grid-template-columns: 1fr; } .f3-table { display: block; overflow-x: auto; } }