/* Forno — wood-fired pizza delivery (warm cream + tomato) */
:root {
  --bg-0: #170b07;
  --bg-1: #2a120c;
  --glow: rgba(229, 64, 44, 0.30);
  --glow-2: rgba(245, 158, 11, 0.16);
  --accent: #e5402c;
  --accent-2: #b91c1c;
  --on-accent: #ffffff;
  --app-bg: #fbf6ef;
  --app-bg-2: #f2e9db;
  --ink: #2a1a12;
  --muted: #9a8778;
  --line: rgba(42, 26, 18, 0.09);
  --card: #ffffff;
  --basil: #3f8f4f;
}

.fo-addr { display: flex; align-items: center; gap: 10px; padding: 6px 20px 4px; }
.fo-addr .pin { width: 40px; height: 40px; border-radius: 13px; background: rgba(229,64,44,0.12); color: var(--accent); display: grid; place-items: center; }
.fo-addr .pin .gi { width: 20px; height: 20px; }
.fo-addr .t { flex: 1; }
.fo-addr .t small { font-size: 11px; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; font-weight: 600; }
.fo-addr .t b { display: flex; align-items: center; gap: 5px; font-size: 15px; color: var(--ink); font-weight: 700; }
.fo-addr .t b .gi { width: 15px; height: 15px; color: var(--muted); }
.fo-addr .eta { background: var(--ink); color: var(--app-bg); font-size: 11.5px; font-weight: 700; padding: 8px 12px; border-radius: 999px; display: inline-flex; align-items: center; gap: 5px; }
.fo-addr .eta .gi { width: 14px; height: 14px; }

.promo { margin: 12px 20px 6px; border-radius: 22px; padding: 20px; color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(120% 130% at 82% 0%, #f97316, #e5402c 45%, #991b1b); min-height: 128px; display: flex; flex-direction: column; justify-content: center; }
.promo .k { font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; opacity: 0.9; }
.promo h3 { font-family: var(--font-display); font-size: 25px; font-weight: 600; margin-top: 5px; max-width: 66%; line-height: 1.05; }
.promo p { font-size: 12.5px; opacity: 0.9; margin-top: 7px; }
.promo .pic { position: absolute; right: -12px; bottom: -18px; color: rgba(255,255,255,0.9); }
.promo .pic .gi { width: 120px; height: 120px; }
.promo .pic .gi * { vector-effect: normal; stroke-width: 1.3; }

.cat-chips { display: flex; gap: 10px; padding: 16px 20px 6px; overflow-x: auto; scrollbar-width: none; }
.cat-chips::-webkit-scrollbar { display: none; }
.cchip { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 7px; cursor: pointer; }
.cchip .ic { width: 58px; height: 58px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); display: grid; place-items: center; color: var(--accent); transition: 0.15s; }
.cchip .ic .gi { width: 26px; height: 26px; }
.cchip span { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.cchip.active .ic { background: var(--accent); border-color: var(--accent); color: #fff; }
.cchip.active span { color: var(--ink); }

.fo-sec { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 10px; }
.fo-sec h4 { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--ink); }
.fo-sec a { font-size: 12px; color: var(--accent); font-weight: 600; }

.pz-list { padding: 0 20px 8px; display: flex; flex-direction: column; gap: 12px; }
.pz-row { display: flex; align-items: center; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 12px; cursor: pointer; transition: transform 0.16s; box-shadow: 0 10px 26px -22px rgba(42,26,18,0.5); }
.pz-row:active { transform: scale(0.99); }
.pz-thumb { width: 74px; height: 74px; border-radius: 17px; flex: 0 0 auto; display: grid; place-items: center; color: rgba(255,255,255,0.95); }
.pz-thumb .gi { width: 46px; height: 46px; }
.pz-thumb .gi * { vector-effect: normal; stroke-width: 1.4; }
.pz-row .info { flex: 1; min-width: 0; }
.pz-row .info h5 { font-size: 15px; color: var(--ink); font-weight: 700; display: flex; align-items: center; gap: 7px; }
.pz-row .info .v { font-size: 9.5px; font-weight: 700; color: var(--basil); border: 1px solid rgba(63,143,79,0.4); border-radius: 5px; padding: 1px 4px; }
.pz-row .info .desc { font-size: 12px; color: var(--muted); margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pz-row .info .meta { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.pz-row .info .price { font-size: 15px; font-weight: 800; color: var(--ink); }
.pz-row .info .rate { font-size: 11.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 4px; }
.pz-row .info .rate .gi { width: 13px; height: 13px; color: #f5a623; }
.pz-row .add { width: 36px; height: 36px; border-radius: 12px; flex: 0 0 auto; border: none; background: var(--accent); color: #fff; cursor: pointer; display: grid; place-items: center; box-shadow: 0 8px 18px -8px var(--accent); transition: transform 0.15s; }
.pz-row .add:active { transform: scale(0.85); }
.pz-row .add .gi { width: 20px; height: 20px; }

.screen-h1 { font-family: var(--font-display); font-size: 25px; font-weight: 600; color: var(--ink); padding: 4px 20px 2px; }
.screen-sub { font-size: 12.5px; color: var(--muted); padding: 0 20px 10px; }

/* detail sheet */
.sheet .pz-hero { height: 172px; border-radius: 22px; margin: 2px 0 14px; position: relative; display: grid; place-items: center; }
.sheet .pz-hero .gi { width: 128px; height: 128px; color: rgba(255,255,255,0.95); }
.sheet .pz-hero .gi * { vector-effect: normal; stroke-width: 1.3; }
.sheet .pz-hero .pill { position: absolute; top: 14px; left: 14px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-2); background: #fff; padding: 6px 11px; border-radius: 999px; }
.sheet h2 { font-family: var(--font-display); font-size: 24px; font-weight: 600; color: var(--ink); }
.sheet .d-meta { display: flex; align-items: center; gap: 14px; margin: 8px 0 12px; font-size: 12.5px; color: var(--muted); }
.sheet .d-meta .rate { display: inline-flex; align-items: center; gap: 4px; }
.sheet .d-meta .rate .gi { width: 14px; height: 14px; color: #f5a623; }
.sheet .d-desc { font-size: 13.5px; line-height: 1.6; color: #6b5749; margin-bottom: 16px; }
.opt-group { margin-bottom: 16px; }
.opt-group .lbl { font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); margin-bottom: 9px; }
.opt-row { display: flex; gap: 9px; flex-wrap: wrap; }
.opt { border: 1.5px solid var(--line); background: #fff; border-radius: 13px; padding: 10px 15px; font-size: 13px; font-weight: 600; color: var(--ink); cursor: pointer; }
.opt small { color: var(--muted); font-weight: 500; }
.opt.sel { border-color: var(--accent); background: rgba(229,64,44,0.08); color: var(--accent-2); }
.tops { display: flex; flex-direction: column; gap: 8px; }
.top-row { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); background: #fff; border-radius: 13px; padding: 12px 14px; cursor: pointer; }
.top-row .nm { flex: 1; font-size: 13.5px; color: var(--ink); font-weight: 600; }
.top-row .pr { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.top-row .box { width: 24px; height: 24px; border-radius: 8px; border: 2px solid var(--line); display: grid; place-items: center; color: transparent; }
.top-row .box .gi { width: 15px; height: 15px; }
.top-row.on { border-color: var(--accent); }
.top-row.on .box { background: var(--accent); border-color: var(--accent); color: #fff; }
.qtybox { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 14px; padding: 8px 12px; background: #fff; }
.qtybox button { border: none; background: none; font-size: 20px; cursor: pointer; color: var(--ink); display: grid; place-items: center; }
.qtybox b { font-size: 15px; min-width: 16px; text-align: center; color: var(--ink); }

/* cart */
.cart-list { padding: 6px 20px 4px; display: flex; flex-direction: column; gap: 12px; }
.cart-row { display: flex; align-items: center; gap: 13px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 11px 12px; }
.cart-row .th { width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center; color: rgba(255,255,255,0.95); flex: 0 0 auto; }
.cart-row .th .gi { width: 32px; height: 32px; }
.cart-row .th .gi * { vector-effect: normal; stroke-width: 1.4; }
.cart-row .bi { flex: 1; min-width: 0; }
.cart-row .bi h5 { font-size: 14px; color: var(--ink); font-weight: 700; }
.cart-row .bi span { font-size: 11.5px; color: var(--muted); }
.cart-row .qty { display: flex; align-items: center; gap: 9px; }
.cart-row .qty button { width: 26px; height: 26px; border-radius: 8px; border: 1px solid var(--line); background: var(--app-bg); font-size: 15px; color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.cart-row .qty b { min-width: 12px; text-align: center; font-size: 14px; color: var(--ink); }
.summary { margin: 16px 20px 4px; padding: 16px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.summary .line { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-bottom: 9px; }
.summary .line.total { color: var(--ink); font-weight: 800; font-size: 16px; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 3px; }
.checkout-bar { padding: 6px 20px 22px; }
.bag-empty { text-align: center; padding: 60px 30px; color: var(--muted); }
.bag-empty .gi { width: 52px; height: 52px; color: var(--accent); }
.bag-empty h4 { font-family: var(--font-display); font-size: 20px; color: var(--ink); margin: 14px 0 6px; }
.bag-empty p { font-size: 13px; line-height: 1.5; }

/* order tracking */
.track-map { margin: 8px 20px 0; border-radius: 22px; height: 220px; position: relative; overflow: hidden; background: linear-gradient(160deg, #efe7d8, #e6dccb); border: 1px solid var(--line); }
.track-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.track-map .grid { stroke: rgba(42,26,18,0.06); stroke-width: 1.5; }
.track-map .route { fill: none; stroke: var(--accent); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 3 9; opacity: 0.55; }
.track-map .done-route { fill: none; stroke: var(--accent); stroke-width: 4.5; stroke-linecap: round; transition: stroke-dashoffset 0.3s linear; }
.track-map .home-dot { fill: var(--ink); }
.track-map .rider { transition: none; }
.track-map .rider .halo { fill: rgba(229,64,44,0.25); }
.track-map .rider .core { fill: var(--accent); stroke: #fff; stroke-width: 2.5; }
.track-eta { position: absolute; left: 14px; bottom: 14px; background: rgba(255,255,255,0.95); backdrop-filter: blur(6px); border-radius: 14px; padding: 10px 14px; box-shadow: 0 12px 30px -14px rgba(0,0,0,0.4); }
.track-eta b { font-size: 20px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.track-eta span { display: block; font-size: 10.5px; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; font-weight: 600; }
.rider-card { display: flex; align-items: center; gap: 12px; margin: 14px 20px 4px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 12px 14px; }
.rider-card .av { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); display: grid; place-items: center; color: #fff; font-weight: 800; }
.rider-card .t { flex: 1; }
.rider-card .t h5 { font-size: 14px; color: var(--ink); font-weight: 700; }
.rider-card .t p { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.rider-card .call { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--app-bg-2); color: var(--accent); display: grid; place-items: center; cursor: pointer; }
.rider-card .call .gi { width: 19px; height: 19px; }
.steps { padding: 16px 24px 8px; }
.step { display: flex; gap: 14px; position: relative; padding-bottom: 20px; }
.step:last-child { padding-bottom: 4px; }
.step .marker { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line); background: var(--app-bg); display: grid; place-items: center; color: transparent; flex: 0 0 auto; z-index: 2; }
.step .marker .gi { width: 15px; height: 15px; }
.step:not(:last-child)::before { content: ""; position: absolute; left: 12px; top: 24px; bottom: 2px; width: 2px; background: var(--line); }
.step.done .marker { background: var(--accent); border-color: var(--accent); color: #fff; }
.step.done:not(:last-child)::before { background: var(--accent); }
.step.active .marker { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(229,64,44,0.15); }
.step .tx h5 { font-size: 14px; color: var(--ink); font-weight: 700; }
.step.pending .tx h5 { color: var(--muted); }
.step .tx p { font-size: 11.5px; color: var(--muted); margin-top: 2px; }

/* profile */
.me-prof { display: flex; align-items: center; gap: 14px; margin: 8px 20px 6px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 16px; }
.me-prof .av { width: 56px; height: 56px; border-radius: 18px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 22px; }
.me-prof h3 { font-size: 17px; color: var(--ink); font-weight: 700; }
.me-prof p { font-size: 12px; color: var(--muted); margin-top: 2px; }
.loyal { margin: 8px 20px; border-radius: 20px; padding: 18px; color: #fff; background: linear-gradient(135deg, #e5402c, #991b1b); position: relative; overflow: hidden; }
.loyal .k { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; opacity: 0.9; }
.loyal .big { font-family: var(--font-display); font-size: 22px; font-weight: 600; margin: 5px 0 10px; }
.loyal .bar { height: 9px; border-radius: 6px; background: rgba(255,255,255,0.25); overflow: hidden; }
.loyal .bar i { display: block; height: 100%; background: #fff; border-radius: 6px; }
.loyal .small { font-size: 11.5px; opacity: 0.9; margin-top: 8px; }
.me-menu { padding: 6px 20px; display: flex; flex-direction: column; }
.me-menu .mrow { display: flex; align-items: center; gap: 14px; padding: 14px 4px; border-bottom: 1px solid var(--line); cursor: pointer; }
.me-menu .mrow .ic { width: 38px; height: 38px; border-radius: 11px; background: var(--app-bg-2); display: grid; place-items: center; color: var(--accent); }
.me-menu .mrow .ic .gi { width: 19px; height: 19px; }
.me-menu .mrow h5 { flex: 1; font-size: 14px; color: var(--ink); font-weight: 600; }
.me-menu .mrow .go { color: var(--muted); display: grid; place-items: center; }
.me-menu .mrow .go .gi { width: 18px; height: 18px; }
