:root {
  --brand: #f26a1b;
  --brand-d: color-mix(in srgb, var(--brand) 82%, #000);
  --brand-soft: color-mix(in srgb, var(--brand) 10%, #fff);
  --bg: #f6f5f3;
  --bg2: #eeece9;
  --card: #fff;
  --ink: #17140f;
  --ink2: #4c4640;
  --muted: #8c857e;
  --line: #e8e5e1;
  --ok: #16a34a;
  --ok-soft: #e4f6ea;
  --warn: #c77700;
  --danger: #dc2626;
  --deal: #e11d48;
  --r: 20px;
  --shadow: 0 0 0 1px rgba(23, 20, 15, .04), 0 1px 2px rgba(23, 20, 15, .04), 0 10px 28px -16px rgba(23, 20, 15, .22);
  --shadow-lg: 0 30px 70px -24px rgba(23, 20, 15, .5);
  --safe-b: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
/* iOS zooms into any field under 16px on focus, which leaves the page loose and draggable sideways */
@media (pointer: coarse), (max-width: 760px) { input, textarea, select, .input, .copy input { font-size: 16px !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 15px/1.5 Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: Poppins, Inter, sans-serif; margin: 0; letter-spacing: -.01em; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, textarea, select { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.ic { width: 18px; height: 18px; flex: none; }
.ic.flip { transform: rotate(180deg); }
[hidden] { display: none !important; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 28px 0 22px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0 0 46px; overflow: hidden; background:
  radial-gradient(60% 120% at 92% 0%, color-mix(in srgb, var(--brand) 55%, #ffd36b) 0%, transparent 60%),
  radial-gradient(50% 90% at 8% 110%, color-mix(in srgb, var(--brand) 80%, #000) 0%, transparent 70%),
  linear-gradient(120deg, color-mix(in srgb, var(--brand) 88%, #000) 0%, var(--brand) 55%, color-mix(in srgb, var(--brand) 80%, #fff) 100%);
  border-radius: 0 0 36px 36px; }
.hero-bg::after { content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: .14;
  background-image: linear-gradient(rgba(255, 255, 255, .7) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .7) 1px, transparent 1px); background-size: 26px 26px;
  mask-image: radial-gradient(80% 120% at 85% 0%, #000, transparent 75%); }
.hero-inner { position: relative; display: flex; gap: 20px; align-items: flex-end; padding-top: 40px; }
.hero-logo { width: 112px; height: 112px; border-radius: 30px; object-fit: cover; background: #f7f5f2; box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .55), 0 0 0 5px #fff; flex: none; }
.hero-text { min-width: 0; padding-bottom: 2px; }
.hero-text h1 { font-size: 30px; font-weight: 800; color: #fff; line-height: 1.05; letter-spacing: -.025em; text-shadow: 0 2px 18px rgba(0, 0, 0, .18); }
.hero-slogan { margin: 6px 0 12px; color: rgba(255, 255, 255, .9); font-weight: 500; font-size: 14.5px; }
.hero-status { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 12.5px; font-weight: 600; box-shadow: var(--shadow); white-space: nowrap; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px var(--ok-soft); }
.pill.closed .dot { background: var(--danger); box-shadow: 0 0 0 3px #fde4e4; }
.pill.ghost { background: #fff; color: var(--ink2, #5b4a40); box-shadow: var(--shadow); }
.pill.ghost .ic { color: var(--brand); }
@media (max-width: 520px) {
  .hero { padding: 18px 0 20px; margin-bottom: 14px; }
  .hero-bg { inset: 0; border-radius: 0 0 28px 28px; }
  .hero-inner { gap: 14px; align-items: center; padding-top: 22px; }
  .hero-logo { width: 84px; height: 84px; border-radius: 22px; box-shadow: 0 10px 26px -8px rgba(60, 20, 0, .5), 0 0 0 3px #fff; }
  .hero-text h1 { font-size: 24px; overflow-wrap: anywhere; }
  .hero-slogan { font-size: 13px; margin: 3px 0 8px; }
  .hero-status { gap: 6px; }
  .pill { padding: 5px 10px; font-size: 12px; }
}
@media (min-width: 760px) {
  .hero { padding-top: 40px; }
  .hero-logo { width: 140px; height: 140px; border-radius: 34px; }
  .hero-text h1 { font-size: 40px; }
}

/* ---------- info strip ---------- */
.info-strip { display: grid; grid-template-columns: repeat(3, 1fr); margin: 4px 0 16px; background: var(--card); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.info-card { padding: 14px 16px; display: flex; gap: 12px; align-items: center; min-width: 0; text-align: left; position: relative; transition: background .15s; }
.info-card + .info-card::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 1px; background: var(--line); }
.info-card:hover { background: #fbfaf9; }
.info-card .ic { color: var(--brand); width: 20px; height: 20px; padding: 9px; box-sizing: content-box; border-radius: 12px; background: var(--brand-soft); }
.info-card small { display: block; color: var(--muted); font-size: 11.5px; font-weight: 500; }
.info-card b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 520px) {
  .info-card { flex-direction: column; align-items: flex-start; gap: 6px; padding: 12px; }
  .info-card .ic { width: 17px; height: 17px; padding: 7px; border-radius: 10px; }
  .info-card b { font-size: 13px; }
}
.notice { display: flex; gap: 10px; align-items: flex-start; background: #fff4d6; border: 1px solid #f6dd94; color: #6b4b00; border-radius: 14px; padding: 12px 14px; font-weight: 500; margin-bottom: 14px; }
.track-chip { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 14px; margin-bottom: 14px; border-radius: 14px; background: var(--ink); color: #fff; font-weight: 600; text-align: left; box-shadow: var(--shadow); }
.track-chip .ic { color: #ffd166; }
.track-chip span { flex: 1; }

/* ---------- nav ---------- */
.catnav { position: sticky; top: 0; z-index: 20; margin: 0 -16px 8px; padding: 10px 16px; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.catnav.stuck { border-color: var(--line); }
.search { display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid transparent; border-radius: 999px; padding: 0 18px; height: 48px; margin-bottom: 12px; box-shadow: var(--shadow); transition: border-color .15s, box-shadow .15s; }
.search:focus-within { border-color: color-mix(in srgb, var(--brand) 55%, transparent); box-shadow: 0 0 0 4px var(--brand-soft), var(--shadow); }
.search .ic { color: var(--muted); }
.search input { flex: 1; border: 0; outline: 0; background: none; height: 100%; min-width: 0; }
.tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding: 2px; margin: -2px; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; padding: 9px 17px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-weight: 600; font-size: 14px; color: var(--ink2); transition: .18s; }
.tab.active { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---------- featured ---------- */
.section-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 26px 0 12px; }
.section-h h2 { font-size: 21px; font-weight: 700; letter-spacing: -.02em; display: flex; align-items: center; gap: 10px; white-space: nowrap; min-width: 0; }
.section-h h2::before { content: ""; flex: none; width: 5px; height: 20px; border-radius: 4px; background: var(--brand); }
.section-h small { color: var(--muted); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
@media (max-width: 520px) { .section-h h2 { font-size: 19px; } }
.featured { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); gap: 14px; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 10px; margin: 0 -2px; scroll-snap-type: x mandatory; }
.featured::-webkit-scrollbar { display: none; }
.feat-wrap { position: relative; }
.featured.dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.featured.dragging .fcard { pointer-events: none; }
.feat-nav { display: none; position: absolute; top: calc(50% - 26px); z-index: 2; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--ink, #111); box-shadow: 0 6px 20px rgba(15, 23, 42, .18); place-items: center; transition: transform .15s, box-shadow .15s; }
.feat-nav .ic { width: 20px; height: 20px; }
.feat-nav:hover { transform: scale(1.06); box-shadow: 0 8px 26px rgba(15, 23, 42, .24); }
.feat-nav.prev { left: -10px; }
.feat-nav.next { right: -10px; }
.feat-nav[hidden] { display: none !important; }
@media (hover: hover) and (pointer: fine) {
  .feat-nav { display: grid; }
  .featured { cursor: grab; }
}
.fcard { scroll-snap-align: start; background: var(--card); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); text-align: left; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.fcard:active { transform: scale(.98); }
.fcard .thumb { aspect-ratio: 16 / 11; border-radius: 0; }
.fcard .thumb img { transition: transform .5s cubic-bezier(.2, .8, .3, 1); }
.fcard .fbody { padding: 12px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.fcard h3 { font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.fcard p { margin: 0; color: var(--muted); font-size: 12.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fcard .price-wrap { margin-top: auto; padding-top: 8px; }

/* ---------- products ---------- */
.cat { scroll-margin-top: 130px; }
.plist { display: grid; gap: 12px; }
@media (min-width: 760px) { .plist { grid-template-columns: 1fr 1fr; gap: 14px; } }
.pcard { display: flex; gap: 14px; align-items: stretch; background: var(--card); border-radius: var(--r); padding: 12px 12px 12px 16px; box-shadow: var(--shadow); text-align: left; width: 100%; transition: transform .18s, box-shadow .18s; position: relative; }
.pcard:hover { box-shadow: 0 0 0 1px color-mix(in srgb, var(--brand) 22%, transparent), 0 18px 36px -18px rgba(23, 20, 15, .35); }
.pcard:active { transform: scale(.985); }
.pcard .pbody { flex: 1; min-width: 0; display: flex; flex-direction: column; padding: 4px 0; }
.pcard h3 { font-size: 15.5px; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
.pcard p { margin: 5px 0 0; color: var(--muted); font-size: 13px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard .price-wrap { margin-top: auto; padding-top: 10px; padding-right: 8px; }
.pcard .thumb { width: 112px; height: 112px; flex: none; border-radius: 16px; }
.pcard .add { position: absolute; right: 18px; bottom: 18px; width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--brand); display: grid; place-items: center; box-shadow: 0 6px 16px -4px rgba(23, 20, 15, .35); }
.pcard .add .ic { stroke-width: 2.6; }
.pcard .incart { position: absolute; top: 6px; right: 6px; z-index: 1; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; border: 2px solid var(--card); box-shadow: 0 4px 10px -2px rgba(0, 0, 0, .3); }
.pcard .incart::after { content: "×"; margin-left: 1px; font-weight: 700; }
.price-wrap { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 8px; }
.price { font-family: Poppins, sans-serif; font-weight: 700; font-size: 16.5px; color: var(--ink); letter-spacing: -.01em; }
.price small { font-size: 12px; font-weight: 600; color: var(--muted); margin-right: 2px; }
.price.deal, .price.deal small { color: var(--ok); }
.old { color: var(--muted); font-size: 12.5px; font-weight: 500; text-decoration-thickness: 1.5px; }
.off { position: absolute; top: 8px; left: 8px; z-index: 1; padding: 3px 8px; border-radius: 999px; background: var(--deal); color: #fff; font: 800 11.5px/1.3 Inter, sans-serif; letter-spacing: .01em; box-shadow: 0 6px 14px -6px color-mix(in srgb, var(--deal) 80%, #000); }
.fcard .off { top: 12px; left: 12px; font-size: 12.5px; padding: 4px 10px; }
.p-hero .off { top: auto; bottom: 14px; left: 18px; font-size: 13px; padding: 5px 12px; }
.p-price { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; }
.p-price .price { font-size: 22px; }
.p-price .old { font-size: 14px; }
.save { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; background: var(--ok-soft); color: #11663a; font-size: 12.5px; font-weight: 700; }
.save .ic { width: 14px; height: 14px; }
.tag-hot { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; color: var(--brand-d); background: var(--brand-soft); padding: 3px 9px; border-radius: 999px; margin-bottom: 4px; width: max-content; }
.tag-hot .ic { width: 13px; height: 13px; }
.tag-hot.sale { color: var(--deal); background: color-mix(in srgb, var(--deal) 10%, #fff); }
.thumb { position: relative; border-radius: 14px; overflow: hidden; background: var(--bg2); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.ph { display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, #fff8ee, transparent 60%), linear-gradient(135deg, color-mix(in srgb, var(--brand) 22%, #fff3e4), color-mix(in srgb, var(--brand) 40%, #ffd9b0)); }
.thumb.ph svg { width: 46%; height: 46%; color: color-mix(in srgb, var(--brand) 70%, #5a2400); opacity: .9; }
.empty { text-align: center; padding: 40px 10px; color: var(--muted); }

/* ---------- cart bar ---------- */
.cart-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 16px calc(10px + var(--safe-b)); pointer-events: none; }
.cart-bar button { pointer-events: auto; width: 100%; max-width: 560px; margin: 0 auto; display: flex; align-items: center; gap: 12px; padding: 10px 20px 10px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; font-size: 15.5px; box-shadow: 0 18px 40px -14px rgba(23, 20, 15, .7); animation: rise .35s cubic-bezier(.2, .9, .3, 1.2); }
.cart-bar .count { min-width: 40px; height: 40px; padding: 0 8px; border-radius: 999px; background: var(--brand); display: grid; place-items: center; font-size: 15px; }
.cart-bar .lbl { flex: 1; text-align: left; }
.cart-bar.bump button { animation: bump .35s; }
@keyframes rise { from { transform: translateY(120%); } }
@keyframes bump { 40% { transform: scale(1.04); } }
.main { padding-bottom: 110px; }

/* ---------- sheets ---------- */
.sheet-wrap { position: fixed; inset: 0; z-index: 50; display: flex; align-items: flex-end; justify-content: center; }
.sheet-back { position: absolute; inset: 0; background: rgba(30, 15, 5, .5); backdrop-filter: blur(2px); animation: fade .2s; }
.sheet { position: relative; width: 100%; max-width: 560px; max-height: 92vh; max-height: 92dvh; background: var(--bg); border-radius: 26px 26px 0 0; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); animation: up .32s cubic-bezier(.2, .9, .3, 1); overflow: hidden; }
.sheet.closing { animation: down .22s ease-in forwards; }
.sheet-back.closing { animation: fade .22s reverse forwards; }
@media (min-width: 760px) { .sheet-wrap { align-items: center; } .sheet { border-radius: 26px; max-height: 88vh; } }
@keyframes up { from { transform: translateY(100%); } }
@keyframes down { to { transform: translateY(100%); } }
@keyframes fade { from { opacity: 0; } }
.sheet-head { display: flex; align-items: center; gap: 10px; padding: 16px 18px 10px; }
.sheet-head h2 { font-size: 19px; flex: 1; }
.x-btn { width: 38px; height: 38px; border-radius: 12px; background: var(--card); display: grid; place-items: center; box-shadow: var(--shadow); flex: none; }
.back-btn { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.sheet-body { overflow-y: auto; overflow-x: hidden; padding: 4px 18px 18px; flex: 1; overscroll-behavior: contain; touch-action: pan-y; }
.sheet-wrap { overflow: hidden; overscroll-behavior: contain; }
.sheet-back { touch-action: none; }
.sheet-foot { padding: 12px 18px calc(14px + var(--safe-b)); background: var(--card); border-top: 1px solid var(--line); }
.p-hero { margin: 0 -18px 14px; aspect-ratio: 16 / 9; border-radius: 0; }
.p-hero.thumb.ph svg { width: 26%; height: 26%; }
.p-title { font-size: 22px; font-weight: 800; }
.p-desc { color: var(--ink2); margin: 6px 0 10px; }
.group { background: var(--card); border-radius: 16px; padding: 4px 14px; margin: 12px 0; box-shadow: var(--shadow); }
.group-h { display: flex; justify-content: space-between; align-items: center; padding: 10px 0 6px; }
.group-h b { font-family: Poppins, sans-serif; font-size: 15px; }
.req { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: var(--ink); color: #fff; text-transform: uppercase; letter-spacing: .04em; }
.req.opt { background: var(--bg2); color: var(--ink2); }
.opt-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); cursor: pointer; }
.opt-row:first-of-type { border-top: 0; }
.opt-row span { flex: 1; font-weight: 500; }
.opt-row em { font-style: normal; color: var(--ink2); font-weight: 600; font-size: 13.5px; }
.opt-row input { width: 22px; height: 22px; accent-color: var(--brand); flex: none; }

/* add-on groups */
.ag { transition: box-shadow .2s; }
.ag-h { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding-right: 10px; }
.ag-h small { color: var(--ink2); font-size: 12.5px; line-height: 1.35; }
.ag-badges { display: flex; align-items: center; gap: 6px; flex: none; }
.ag-count { font-size: 12px; font-weight: 700; color: var(--ink2); background: var(--bg2); padding: 3px 8px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.req.done { background: var(--ok-soft); color: #11663a; display: inline-flex; align-items: center; gap: 3px; }
.req .ic { width: 12px; height: 12px; stroke-width: 3; }
.ag-opt { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent; outline: 0; }
.ag-opt:first-of-type, .group-h + .ag-opt { border-top: 0; }
.ag-opt:focus-visible { box-shadow: 0 0 0 3px var(--brand-soft); border-radius: 10px; }
.ag-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ag-txt span { font-weight: 500; }
.ag-txt small { color: var(--ink2); font-size: 12.5px; }
.ag-opt em { font-style: normal; color: var(--ink2); font-weight: 600; font-size: 13.5px; white-space: nowrap; }
.ag-opt.on em { color: var(--brand-d); }
.ag-opt .ag-out { color: #b42318; font-size: 12px; text-transform: uppercase; letter-spacing: .03em; }
.ag-opt.off { cursor: not-allowed; }
.ag-opt.off .ag-txt, .ag-opt.off .ag-img { opacity: .45; }
.ag-opt.lim .ag-txt, .ag-opt.lim em { opacity: .5; }
.ag-img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; flex: none; background: var(--bg2); }
.ag-mark { width: 22px; height: 22px; flex: none; border: 2px solid #c9c4bd; border-radius: 50%; display: grid; place-items: center; color: #fff; transition: background .15s, border-color .15s; }
.ag-mark.check { border-radius: 7px; }
.ag-mark .ic { width: 14px; height: 14px; stroke-width: 3; opacity: 0; transform: scale(.5); transition: opacity .15s, transform .15s; }
.ag-mark.radio .ic { display: none; }
.ag-opt.on .ag-mark { background: var(--brand); border-color: var(--brand); }
.ag-opt.on .ag-mark .ic { opacity: 1; transform: none; }
.ag-opt.on .ag-mark.radio { box-shadow: inset 0 0 0 4px #fff; }
.ag-step { flex: none; }
.ag-opt:not(.on) .ag-step button[data-am="-1"], .ag-opt:not(.on) .ag-step b { opacity: .35; }
.ag-in { animation: agIn .28s ease-out; }
@keyframes agIn { from { opacity: 0; transform: translateY(-6px); } }
.ag-miss { animation: agMiss .5s; box-shadow: 0 0 0 2px #e5484d, var(--shadow); }
@keyframes agMiss { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
#addBtn.pending { filter: saturate(.55); opacity: .85; }
textarea.input { resize: none; min-height: 72px; }
.input, select.input { width: 100%; border: 1.5px solid var(--line); background: var(--card); border-radius: 14px; padding: 12px 14px; outline: 0; transition: border-color .15s, box-shadow .15s; }
.input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.input.err { border-color: var(--danger); box-shadow: 0 0 0 4px #fde4e4; }
label.lbl { display: block; font-size: 13px; font-weight: 600; color: var(--ink2); margin: 12px 0 6px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.row-num { display: grid; grid-template-columns: 1fr 110px; gap: 10px; }
.add-row { display: flex; gap: 12px; align-items: center; }
.stepper { display: flex; align-items: center; background: var(--bg2); border-radius: 14px; padding: 4px; }
.stepper button { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-size: 20px; font-weight: 700; color: var(--brand-d); }
.stepper button:active { background: #fff; }
.stepper b { min-width: 28px; text-align: center; font-size: 16px; }
.stepper.sm button { width: 30px; height: 30px; font-size: 17px; }
.stepper.sm b { min-width: 22px; font-size: 14px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 18px; border-radius: 16px; font-weight: 700; font-size: 15.5px; transition: transform .12s, opacity .15s, background .15s; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 22px -10px color-mix(in srgb, var(--brand) 80%, #000); }
.btn-primary:disabled { opacity: .5; box-shadow: none; cursor: not-allowed; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-light { background: var(--card); color: var(--ink); box-shadow: var(--shadow); }
.btn-wa { background: #25d366; color: #fff; }
.btn-block { width: 100%; }
.btn .spacer { flex: 1; }
.btn.loading { pointer-events: none; opacity: .75; }
.btn.loading::after { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- cart ---------- */
.citem { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.citem:last-child { border-bottom: 0; }
.citem .cinfo { flex: 1; min-width: 0; }
.citem b { display: block; font-size: 15px; }
.citem small { display: block; color: var(--muted); font-size: 12.5px; }
.citem .cside { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 8px; }
.sum { background: var(--card); border-radius: 16px; padding: 12px 14px; box-shadow: var(--shadow); margin-top: 12px; }
.sum div { display: flex; justify-content: space-between; padding: 4px 0; color: var(--ink2); }
.sum .total { color: var(--ink); font-weight: 800; font-size: 18px; font-family: Poppins, sans-serif; border-top: 1px dashed var(--line); margin-top: 6px; padding-top: 10px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; background: var(--bg2); padding: 4px; border-radius: 16px; }
.seg button { padding: 12px 8px; border-radius: 12px; font-weight: 700; color: var(--ink2); display: flex; flex-direction: column; align-items: center; gap: 2px; }
.seg button small { font-weight: 500; font-size: 11.5px; color: var(--muted); }
.seg button.active { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.paylist { display: grid; gap: 8px; }
.payopt { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; background: var(--card); border: 1.5px solid var(--line); text-align: left; transition: .15s; }
.payopt .pic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--bg2); color: var(--ink2); flex: none; }
.payopt span { flex: 1; }
.payopt b { display: block; }
.payopt small { color: var(--muted); font-size: 12.5px; }
.payopt.active { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.payopt.active .pic { background: var(--brand); color: #fff; }
.payopt .radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); flex: none; }
.payopt.active .radio { border: 6px solid var(--brand); }
.geo-btn { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 10px; padding: 12px 14px; border-radius: 16px; background: var(--brand-soft); border: 1.5px dashed color-mix(in srgb, var(--brand) 45%, transparent); color: var(--ink); text-align: left; cursor: pointer; font: inherit; transition: .15s; }
.geo-btn:hover { border-style: solid; }
.geo-btn .pic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--brand); color: #fff; flex: none; }
.geo-btn span:not(.pic) { flex: 1; min-width: 0; }
.geo-btn b { display: block; }
.geo-btn small { color: var(--muted); font-size: 12.5px; }
.geo-btn.loading { pointer-events: none; opacity: .8; }
.geo-btn.loading .pic { animation: geoPulse 1s ease-in-out infinite; }
@keyframes geoPulse { 50% { transform: scale(.88); opacity: .7; } }
.geo-ok { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 12px 14px; border-radius: 16px; background: var(--ok-soft); color: #11663a; }
.geo-ok > .ic, .geo-ok > svg { width: 20px; height: 20px; flex: none; }
.geo-ok span { flex: 1; min-width: 0; }
.geo-ok b { display: block; font-size: 14px; }
.geo-ok small { color: #3f7a55; font-size: 12.5px; }
.geo-x { width: 32px; height: 32px; border-radius: 10px; border: 0; background: rgba(17, 102, 58, .1); color: #11663a; display: grid; place-items: center; cursor: pointer; flex: none; }
.geo-x svg, .geo-x .ic { width: 16px; height: 16px; }
.badge-rec { font-size: 10.5px; font-weight: 700; color: var(--ok); background: var(--ok-soft); padding: 2px 7px; border-radius: 999px; margin-left: 6px; vertical-align: 2px; }
.steps { display: flex; gap: 6px; margin: 0 0 4px; }
.steps i { flex: 1; height: 4px; border-radius: 4px; background: var(--line); }
.steps i.on { background: var(--brand); }
.closed-box { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 14px; background: #fde4e4; color: #8a1c1c; font-weight: 600; margin-bottom: 10px; }

/* ---------- tracking ---------- */
.track { padding: 8px 0 30px; max-width: 620px; margin: 0 auto; }
.track-head { background: var(--card); border-radius: 22px; padding: 20px; box-shadow: var(--shadow); text-align: center; position: relative; overflow: hidden; }
.track-head .code { font-family: Poppins, sans-serif; font-weight: 700; color: var(--muted); font-size: 13px; letter-spacing: .04em; }
.track-head h2 { font-size: 24px; margin: 6px 0 4px; }
.track-head p { margin: 0; color: var(--ink2); }
.track-ic { width: 72px; height: 72px; margin: 4px auto 10px; border-radius: 24px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-d); }
.track-ic .ic { width: 34px; height: 34px; }
.track-ic.ok { background: var(--ok-soft); color: var(--ok); }
.track-ic.bad { background: #fde4e4; color: var(--danger); }
.track-ic.pulse { animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand) 40%, transparent); } 70% { box-shadow: 0 0 0 18px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.timeline { display: flex; justify-content: space-between; margin: 20px 4px 4px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 14px; right: 14px; top: 13px; height: 3px; background: var(--line); }
.timeline .bar { position: absolute; left: 14px; top: 13px; height: 3px; background: var(--brand); transition: width .6s; }
.tl { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 20%; }
.tl i { width: 29px; height: 29px; border-radius: 50%; background: var(--bg2); border: 3px solid var(--card); display: grid; place-items: center; color: var(--muted); }
.tl i .ic { width: 14px; height: 14px; }
.tl.done i { background: var(--brand); color: #fff; }
.tl.now i { background: var(--brand); color: #fff; box-shadow: 0 0 0 5px var(--brand-soft); }
.tl span { font-size: 11px; font-weight: 600; color: var(--muted); text-align: center; line-height: 1.2; }
.tl.done span, .tl.now span { color: var(--ink); }
.card { background: var(--card); border-radius: 20px; padding: 16px; box-shadow: var(--shadow); margin-top: 12px; }
.card h3 { font-size: 16px; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.card h3 .ic { color: var(--brand); }
.pix-box { text-align: center; }
.pix-box .qr { width: 220px; height: 220px; margin: 8px auto 12px; padding: 10px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.pix-box .qr img { width: 100%; height: 100%; image-rendering: pixelated; }
.copy { display: flex; gap: 8px; }
.copy input { flex: 1; min-width: 0; font-family: ui-monospace, monospace; font-size: 12px; }
.timer { display: inline-flex; align-items: center; gap: 6px; color: var(--warn); font-weight: 700; font-size: 13.5px; margin-top: 10px; }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; color: var(--ink2); font-size: 14px; }
.kv b { color: var(--ink); text-align: right; }
.titem { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.titem:last-child { border: 0; }
.titem .q { font-weight: 700; color: var(--brand-d); min-width: 26px; }
.titem small { display: block; color: var(--muted); }
.titem span:nth-child(2) { flex: 1; }
.push-card { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 12px; padding: 14px 16px; border-radius: var(--r); background: linear-gradient(135deg, var(--brand-soft), var(--card) 75%); box-shadow: var(--shadow); border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent); }
.push-card .pc-ic { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: var(--brand); color: #fff; }
.push-card .pc-ic .ic { width: 22px; height: 22px; }
.push-card:not(.on) .pc-ic { animation: pushRing 2.6s ease-in-out infinite; transform-origin: 50% 20%; }
.push-card > div { flex: 1; min-width: 200px; }
.push-card b { display: block; font-family: Poppins, Inter, sans-serif; font-size: 15px; }
.push-card small { display: block; color: var(--ink2); font-size: 13px; line-height: 1.45; margin-top: 2px; }
.push-card .btn { flex: 1 1 100%; justify-content: center; }
.push-card.on { background: var(--ok-soft); border-color: transparent; }
.push-card.on .pc-ic { background: var(--ok); }
@keyframes pushRing { 0%, 70%, 100% { transform: rotate(0); } 75% { transform: rotate(14deg); } 80% { transform: rotate(-12deg); } 85% { transform: rotate(8deg); } 90% { transform: rotate(-5deg); } }
@media (prefers-reduced-motion: reduce) { .push-card .pc-ic { animation: none !important; } }
.paid-ok { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--ok-soft); color: #11663a; font-weight: 600; }

/* ---------- footer, toasts, info ---------- */
.foot { padding: 24px 16px 130px; display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center; color: var(--muted); font-size: 13px; }
.foot-store b { color: var(--ink); }
.foot-store a { color: var(--brand-d); font-weight: 600; text-decoration: none; }
.foot-brand { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--muted); }
.foot-brand img { border-radius: 4px; }
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 9px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; font-weight: 600; }
.hours tr.today td { color: var(--brand-d); font-weight: 700; }
.toasts { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 80; display: flex; flex-direction: column; gap: 8px; width: min(92vw, 420px); }
.toast { background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 14px; font-weight: 600; box-shadow: var(--shadow-lg); display: flex; gap: 10px; align-items: center; animation: drop .3s cubic-bezier(.2, .9, .3, 1.2); }
.toast.err { background: var(--danger); }
.toast.ok .ic { color: #7ee2a8; }
@keyframes drop { from { transform: translateY(-20px); opacity: 0; } }
/* ---------- motion ---------- */
.hero-logo { animation: logoIn .6s cubic-bezier(.2, .9, .3, 1.25) both; }
.hero-text > * { animation: slideIn .5s cubic-bezier(.2, .8, .3, 1) both; }
.hero-text > :nth-child(2) { animation-delay: .06s; }
.hero-text > :nth-child(3) { animation-delay: .12s; }
.hero-bg::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .18) 50%, transparent 70%); background-size: 250% 100%; animation: sheen 6s ease-in-out infinite; pointer-events: none; }
.info-card, .fcard, .pcard { animation: cardIn .45s cubic-bezier(.2, .8, .3, 1) backwards; }
.info-card:nth-child(2) { animation-delay: .05s; }
.info-card:nth-child(3) { animation-delay: .1s; }
.featured > :nth-child(2), .plist > :nth-child(2) { animation-delay: .04s; }
.featured > :nth-child(3), .plist > :nth-child(3) { animation-delay: .08s; }
.featured > :nth-child(4), .plist > :nth-child(4) { animation-delay: .12s; }
.plist > :nth-child(5) { animation-delay: .16s; }
.plist > :nth-child(n+6) { animation-delay: .2s; }
.searching .pcard { animation: none; }
.pcard .add { transition: transform .18s cubic-bezier(.2, .9, .3, 1.4), box-shadow .18s; }
.pcard:active .add { transform: scale(.88); }
.pcard .incart { animation: pop .3s cubic-bezier(.2, .9, .3, 1.5); }
.tab { position: relative; }
.tab.active { box-shadow: 0 8px 18px -8px color-mix(in srgb, var(--brand) 75%, transparent); }
@media (hover: hover) {
  .pcard:hover, .fcard:hover { transform: translateY(-3px); }
  .fcard:hover { box-shadow: 0 0 0 1px color-mix(in srgb, var(--brand) 22%, transparent), 0 22px 40px -20px rgba(23, 20, 15, .4); }
  .fcard:hover .thumb img { transform: scale(1.05); }
  .pcard:hover .add { transform: scale(1.08) rotate(90deg); background: var(--brand); color: #fff; }
  .tab:hover:not(.active) { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); color: var(--ink); }
}
@keyframes logoIn { from { transform: scale(.7) rotate(-6deg); opacity: 0; } }
@keyframes slideIn { from { transform: translateY(10px); opacity: 0; } }
@keyframes cardIn { from { transform: translateY(14px); opacity: 0; } }
@keyframes pop { from { transform: scale(0); } }
@keyframes sheen { 0%, 60% { background-position: 150% 0; } 100% { background-position: -50% 0; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
.fly { position: fixed; z-index: 90; width: 22px; height: 22px; border-radius: 50%; background: var(--brand); pointer-events: none; transition: transform .6s cubic-bezier(.5, -0.3, .7, 1), opacity .6s; }

/* payment approved */
.payfx { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 16px; background: rgba(17, 14, 10, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .25s; }
.payfx.in { opacity: 1; }
.payfx.out { opacity: 0; }
.pf-card { width: min(420px, 100%); background: #fff; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); transform: translateY(22px) scale(.94); transition: transform .5s cubic-bezier(.2, 1.3, .4, 1); }
.payfx.in .pf-card { transform: none; }
.pf-hero { position: relative; height: 150px; display: grid; place-items: center; background: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--ok) 16%, #fff), #fff 70%); }
.pf-glow { position: absolute; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--ok) 30%, transparent), transparent); opacity: 0; transform: scale(.4); }
.payfx.in .pf-glow { animation: pfGlow 1.4s ease-out .25s forwards; }
.pf-burst { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.pf-burst i { position: absolute; left: -4px; top: -7px; width: 8px; height: 14px; border-radius: 2px; opacity: 0; animation: pfConfetti var(--d, 1s) cubic-bezier(.1, .75, .3, 1) forwards; }
.pf-burst i.dot { left: -4px; top: -4px; height: 8px; border-radius: 50%; }
.pf-badge { position: relative; z-index: 1; width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(160deg, color-mix(in srgb, var(--ok) 80%, #fff), var(--ok)); color: #fff; box-shadow: 0 18px 34px -14px rgba(22, 163, 74, .8), inset 0 -6px 12px rgba(0, 0, 0, .14), inset 0 6px 10px rgba(255, 255, 255, .35); transform: scale(0); }
.payfx.in .pf-badge { animation: pfPop .6s cubic-bezier(.2, 1.6, .4, 1) .05s forwards; }
.pf-badge .ic { width: 44px; height: 44px; stroke-width: 3; stroke-dasharray: 30; stroke-dashoffset: 30; }
.payfx.in .pf-badge .ic { animation: pfDraw .3s ease-out .3s forwards; }
.pf-ring { position: absolute; inset: 0; border-radius: 50%; border: 3px solid var(--ok); opacity: 0; }
.payfx.in .pf-ring { animation: pfRing 1.1s ease-out .3s; }
.payfx.in .pf-ring.r2 { animation-delay: .55s; }
.pf-top { text-align: center; padding: 2px 22px 0; }
.pf-top h2 { font-size: 23px; margin: 0; letter-spacing: -.01em; }
.pf-amount { margin: 4px 0 8px; font-size: 34px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.pf-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: color-mix(in srgb, var(--ok) 12%, #fff); color: color-mix(in srgb, var(--ok) 75%, #000); font-size: 12.5px; font-weight: 700; }
.pf-chip::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.pf-steps { list-style: none; margin: 18px 22px 0; padding: 14px 16px; border-radius: 18px; background: #faf8f5; display: grid; gap: 11px; }
.pf-steps li { display: flex; align-items: center; gap: 11px; font-size: 14.5px; font-weight: 600; color: var(--ink2); opacity: .35; transform: translateX(-6px); transition: opacity .35s, transform .35s cubic-bezier(.2, 1.2, .4, 1), color .35s; }
.pf-steps li.on { opacity: 1; transform: none; color: var(--ink); }
.pf-dot { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #e9e4dc; color: #fff; transition: background .3s; }
.pf-steps li.on .pf-dot { background: var(--ok); animation: pfTick .45s cubic-bezier(.2, 1.6, .4, 1); }
.pf-dot .ic { width: 14px; height: 14px; stroke-width: 3.2; }
.pf-steps li.live .pf-dot { background: color-mix(in srgb, var(--brand) 16%, #fff); }
.pf-dot i { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.pf-steps li.live.on .pf-dot { animation: none; }
.pf-steps li.live.on .pf-dot i { animation: pfPulse 1.1s ease-in-out infinite; }
.pf-bottom { padding: 18px 22px 22px; text-align: center; }
.pf-replay { margin-top: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; background: none; border: 0; color: var(--brand-d); font: inherit; font-weight: 700; font-size: 13.5px; cursor: pointer; }
.pf-replay[hidden] { display: none; }
.pf-replay .ic { width: 17px; height: 17px; }
.payfx.still .pf-badge, .payfx.still .pf-badge .ic { transform: none; stroke-dashoffset: 0; }
@keyframes pfPop { to { transform: scale(1); } }
@keyframes pfDraw { to { stroke-dashoffset: 0; } }
@keyframes pfRing { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(2.1); opacity: 0; } }
@keyframes pfGlow { 30% { opacity: 1; transform: scale(1.1); } 100% { opacity: .55; transform: scale(1); } }
@keyframes pfConfetti { 0% { opacity: 1; transform: translate(0, 0) rotate(0) scale(.4); } 55% { opacity: 1; transform: translate(var(--x), var(--y)) rotate(calc(var(--r) * .6)) scale(1); } 100% { opacity: 0; transform: translate(var(--x), calc(var(--y) + 46px)) rotate(var(--r)) scale(.9); } }
@keyframes pfTick { 0% { transform: scale(.5); } 100% { transform: scale(1); } }
@keyframes pfPulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.55); opacity: .5; } }