/* Auraprint storefront v2 — phone-first, calm cream canvas so product art carries the colour. */
:root {
  --bg: #fff9f0;
  --surface: #ffffff;
  --sunk: #f6efe3;
  --ink: #12313a;
  --ink-2: #3d5961;
  --muted: #6c7f84;
  --line: #eadfcd;
  --teal: #0e5f6b;
  --teal-2: #e3f1f2;
  --cta: #ee7419;
  --cta-ink: #ffffff;
  --cta-hover: #d9640c;
  --ok: #1d8a57;
  --ok-2: #e5f5ec;
  --warn: #b7791f;
  --warn-2: #fdf3e1;
  --bad: #c2382c;
  --bad-2: #fbe9e7;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-1: 0 1px 2px rgba(18, 49, 58, .06), 0 2px 8px rgba(18, 49, 58, .05);
  --shadow-2: 0 10px 30px rgba(18, 49, 58, .12);
  --display: 'Fredoka', 'Noto Sans SC', system-ui, sans-serif;
  --body: 'DM Sans', 'Noto Sans SC', system-ui, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --bar-h: 64px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--body); text-wrap: pretty; }
img { max-width: 100%; display: block; }
a { color: var(--teal); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.12; margin: 0 0 .4em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 6.4vw, 3.6rem); }
h2 { font-size: clamp(1.45rem, 3.6vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100%); margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.stack > * + * { margin-top: var(--gap, 12px); }
[hidden] { display: none !important; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 12px; height: var(--bar-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: #fffaf0; }
.brand b { font-family: var(--display); font-weight: 700; font-size: clamp(1rem, 4.4vw, 1.25rem); letter-spacing: .02em; color: var(--teal); }
.nav-links { display: none; gap: 4px; }
.nav-links a { text-decoration: none; color: var(--ink-2); padding: 8px 12px; border-radius: 999px; font-weight: 500; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--sunk); color: var(--ink); }
@media (min-width: 820px) { .nav-links { display: flex; } }
.lang { display: flex; background: var(--sunk); border-radius: 999px; padding: 3px; }
.lang button { white-space: nowrap; border: 0; background: none; padding: 5px 8px; border-radius: 999px; font-size: .8rem; font-weight: 600; color: var(--muted); cursor: pointer; min-width: 34px; }
.lang button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1); }
.cart-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; text-decoration: none; }
.cart-btn svg { width: 22px; height: 22px; }
.cart-btn .count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--cta); color: #fff; font-size: .72rem; font-weight: 700; display: grid; place-items: center; border: 2px solid var(--bg); }
.cart-btn .count:empty { display: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 600; font-size: 1rem; cursor: pointer; text-decoration: none; transition: background .15s, transform .1s, box-shadow .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible, .chip:focus-visible, .opt:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid color-mix(in srgb, var(--teal) 45%, transparent); outline-offset: 2px; }
.btn-cta { background: var(--cta); color: var(--cta-ink); box-shadow: 0 6px 16px rgba(238, 116, 25, .28); }
.btn-cta:hover { background: var(--cta-hover); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { background: var(--sunk); }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .55; cursor: not-allowed; box-shadow: none; }
.btn .spin { width: 18px; height: 18px; border: 2.5px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.link-btn { border: 0; background: none; padding: 0; color: var(--teal); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* Hero */
.hero { padding: clamp(20px, 5vw, 56px) 0 clamp(28px, 5vw, 48px); }
.hero .wrap { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.05fr 1fr; gap: 48px; } }
.hero h1 em { font-style: normal; color: var(--cta); }
.hero .lead { font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: var(--ink-2); max-width: 34ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 20px; color: var(--ink-2); font-size: .92rem; }
.trust span { display: inline-flex; align-items: center; gap: 6px; }
.trust span::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.hero-media { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 1; background: var(--sunk); box-shadow: var(--shadow-2); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media .tag { position: absolute; left: 14px; bottom: 14px; background: rgba(255, 255, 255, .92); border-radius: 999px; padding: 8px 14px; font-weight: 600; font-size: .9rem; box-shadow: var(--shadow-1); }

/* Steps */
.steps { display: grid; gap: 12px; counter-reset: s; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--surface); border-radius: var(--radius); padding: 18px 18px 16px; box-shadow: var(--shadow-1); counter-increment: s; }
.step::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--teal-2); color: var(--teal); font-family: var(--display); font-weight: 700; margin-bottom: 10px; }
.step p { margin: 0; color: var(--ink-2); }
.section { padding: clamp(28px, 6vw, 64px) 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.section-head p { margin: 0; color: var(--ink-2); }

/* Shop filters + grid */
.filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin: 0 calc(var(--gutter) * -1) 16px; padding-inline: var(--gutter); }
.filters::-webkit-scrollbar { display: none; }
.chip { flex: none; border: 1.5px solid var(--line); background: var(--surface); padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: .92rem; cursor: pointer; color: var(--ink-2); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.search { position: relative; flex: 1 1 220px; max-width: 320px; }
.search input { width: 100%; height: 44px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); padding: 0 16px 0 40px; }
.search svg { position: absolute; left: 14px; top: 50%; translate: 0 -50%; width: 18px; height: 18px; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1040px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.card { position: relative; display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; box-shadow: var(--shadow-1); transition: transform .18s, box-shadow .18s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.card .img { aspect-ratio: 1; background: var(--sunk); overflow: hidden; }
.card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.card:hover .img img { transform: scale(1.04); }
.card .body { padding: 10px 12px 12px; display: grid; gap: 2px; }
.card .code { font-size: .75rem; font-weight: 700; color: var(--muted); letter-spacing: .04em; }
.card .name { font-weight: 600; line-height: 1.25; font-size: .95rem; }
.card .price { margin-top: 4px; font-weight: 700; color: var(--teal); }
.card .badge { position: absolute; top: 10px; left: 10px; background: rgba(255, 255, 255, .94); border-radius: 999px; padding: 4px 10px; font-size: .72rem; font-weight: 700; color: var(--ink); box-shadow: var(--shadow-1); }
.empty { padding: 40px 16px; text-align: center; color: var(--muted); }

/* FAQ */
.faq details { background: var(--surface); border-radius: var(--radius-sm); padding: 0 18px; box-shadow: var(--shadow-1); }
.faq details + details { margin-top: 10px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--teal); transition: rotate .2s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { color: var(--ink-2); padding-bottom: 14px; margin: 0; }

/* Footer */
.site-footer { margin-top: 40px; background: var(--ink); color: #d8e4e6; padding: 36px 0 calc(28px + env(safe-area-inset-bottom)); }
.site-footer a { color: #fff; }
.site-footer .cols { display: grid; gap: 20px; }
@media (min-width: 760px) { .site-footer .cols { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h3 { color: #fff; font-size: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }

/* Product page */
.crumbs { font-size: .85rem; color: var(--muted); padding: 12px 0 4px; }
.crumbs a { color: var(--muted); }
.pdp { display: grid; gap: 20px; padding-bottom: calc(var(--bar-h) + 40px); }
@media (min-width: 960px) { .pdp { grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: start; padding-bottom: 40px; } }
.gallery { position: relative; }
@media (min-width: 960px) { .gallery { position: sticky; top: calc(var(--bar-h) + 16px); } }
.gallery .main { aspect-ratio: 1; border-radius: 24px; overflow: hidden; background: var(--sunk); box-shadow: var(--shadow-1); cursor: zoom-in; }
.gallery .main img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; }
.thumbs button { width: 64px; height: 64px; border-radius: 12px; overflow: hidden; border: 2px solid transparent; padding: 0; background: var(--sunk); cursor: pointer; }
.thumbs button[aria-pressed="true"] { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp-head .code { font-weight: 700; color: var(--muted); font-size: .85rem; letter-spacing: .05em; }
.pdp-head .from { font-size: 1.15rem; font-weight: 700; color: var(--teal); }
.panel { background: var(--surface); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow-1); }
.panel + .panel { margin-top: 12px; }
.panel > h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.panel > h3 .n { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--teal); color: #fff; font-size: .85rem; }
.opts { display: grid; gap: 8px; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
.opt { position: relative; border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 10px 8px; text-align: center; cursor: pointer; background: var(--surface); display: grid; gap: 2px; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt b { font-size: .98rem; }
.opt span { font-size: .82rem; color: var(--muted); }
.opt .pop { position: absolute; top: -9px; right: 8px; background: var(--cta); color: #fff; font-size: .65rem; font-weight: 700; padding: 2px 7px; border-radius: 999px; }
.opt:has(input:checked) { border-color: var(--ink); background: var(--sunk); box-shadow: inset 0 0 0 1px var(--ink); }
.opt:has(input:focus-visible) { outline: 3px solid color-mix(in srgb, var(--teal) 45%, transparent); outline-offset: 2px; }
.field { display: grid; gap: 6px; }
.field + .field, .row + .field, .field + .row { margin-top: 12px; }
.field label, .label { font-weight: 600; font-size: .92rem; }
.field .hint { font-size: .8rem; color: var(--muted); }
input[type="text"], input[type="tel"], input[type="number"], input[type="search"], select, textarea { width: 100%; min-height: 48px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: #fff; padding: 10px 14px; font-size: 16px; }
textarea { min-height: 84px; resize: vertical; }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--bad); background: var(--bad-2); }
.err { color: var(--bad); font-size: .85rem; font-weight: 500; }
.row { display: grid; gap: 12px; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--teal); flex: none; }
.lang-chips { display: flex; gap: 6px; }
.lang-chips button { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 4px 10px; font-size: .8rem; font-weight: 600; cursor: pointer; }

/* Photo drop */
.drop { position: relative; display: flex; align-items: center; gap: 12px; border: 2px dashed var(--line); border-radius: var(--radius-sm); padding: 12px; background: var(--sunk); cursor: pointer; min-height: 76px; }
.drop:hover, .drop.drag { border-color: var(--teal); background: var(--teal-2); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop .thumb { width: 52px; height: 52px; border-radius: 10px; background: #fff; display: grid; place-items: center; overflow: hidden; flex: none; color: var(--muted); }
.drop .thumb img { width: 100%; height: 100%; object-fit: cover; }
.drop .thumb svg { width: 24px; height: 24px; }
.drop .txt { display: grid; gap: 2px; min-width: 0; }
.drop .txt b { font-size: .95rem; }
.drop .txt span { font-size: .8rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drop.ok { border-style: solid; border-color: var(--ok); background: var(--ok-2); }
.drop.bad { border-color: var(--bad); background: var(--bad-2); }
.people { display: grid; gap: 10px; }
.person { display: grid; gap: 8px; padding: 12px; border-radius: var(--radius-sm); background: var(--sunk); }
.person .label { font-size: .85rem; }

/* Add-ons */
.addon { border: 1.5px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.addon + .addon { margin-top: 10px; }
.addon > label { display: flex; gap: 12px; align-items: center; padding: 10px 12px; cursor: pointer; }
.addon > label img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; background: var(--sunk); flex: none; }
.addon > label .t { flex: 1; display: grid; }
.addon > label .t span { font-size: .82rem; color: var(--muted); }
.addon > label input { width: 22px; height: 22px; accent-color: var(--teal); }
.addon .more { padding: 0 12px 12px; display: grid; gap: 10px; }
.addon:has(> label input:checked) { border-color: var(--ink); }
.swatches { display: flex; gap: 8px; }
.swatches label { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px 6px 6px; border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; font-size: .85rem; font-weight: 600; }
.swatches label i { width: 20px; height: 20px; border-radius: 50%; }
.swatches input { position: absolute; opacity: 0; }
.swatches label:has(input:checked) { border-color: var(--ink); background: var(--sunk); }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; }
.stepper button { width: 40px; height: 40px; border: 0; background: none; font-size: 1.2rem; cursor: pointer; border-radius: 50%; }
.stepper output { min-width: 32px; text-align: center; font-weight: 700; }

/* Sticky buy bar (phone) */
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--surface); border-top: 1px solid var(--line); padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px; box-shadow: 0 -8px 24px rgba(18, 49, 58, .08); }
.buybar .sum { display: grid; line-height: 1.2; margin-right: auto; }
.buybar .sum b { font-size: 1.25rem; font-family: var(--display); }
.buybar .sum span { font-size: .78rem; color: var(--muted); }
@media (min-width: 960px) { .buybar { position: static; box-shadow: none; border: 0; padding: 16px 0 0; background: none; } }

/* Notices */
.note { border-radius: var(--radius-sm); padding: 12px 14px; font-size: .92rem; background: var(--teal-2); color: var(--ink); }
.note.warn { background: var(--warn-2); }
.note.bad { background: var(--bad-2); color: #7a1f17; }
.note.ok { background: var(--ok-2); }
.toast { position: fixed; left: 50%; bottom: calc(var(--bar-h) + 24px + env(safe-area-inset-bottom)); translate: -50% 20px; z-index: 60; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; box-shadow: var(--shadow-2); font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .2s, translate .2s; max-width: calc(100% - 32px); text-align: center; }
.toast.show { opacity: 1; translate: -50% 0; }

/* Dialog */
dialog { border: 0; padding: 0; border-radius: 24px; max-width: min(560px, calc(100% - 24px)); width: 100%; box-shadow: var(--shadow-2); background: var(--surface); color: var(--ink); }
dialog::backdrop { background: rgba(18, 49, 58, .45); backdrop-filter: blur(2px); }
dialog .dlg { padding: 22px; }
dialog.zoom { max-width: min(1000px, calc(100% - 16px)); background: #111; }
dialog.zoom img { width: 100%; max-height: 86vh; object-fit: contain; }
dialog .x { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); font-size: 1.4rem; cursor: pointer; z-index: 2; }

/* Cart / checkout */
.checkout { display: grid; gap: 20px; padding: 8px 0 40px; }
@media (min-width: 960px) { .checkout { grid-template-columns: 1.3fr 1fr; align-items: start; gap: 32px; } .checkout .summary { position: sticky; top: calc(var(--bar-h) + 16px); } }
.line { display: grid; grid-template-columns: 76px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line:last-child { border-bottom: 0; }
.line img { width: 76px; height: 76px; border-radius: 12px; object-fit: cover; background: var(--sunk); }
.line .top { display: flex; justify-content: space-between; gap: 8px; align-items: start; }
.line .title { font-weight: 600; line-height: 1.25; }
.line .meta { font-size: .85rem; color: var(--ink-2); display: grid; gap: 2px; margin-top: 2px; }
.line .acts { display: flex; gap: 14px; margin-top: 8px; font-size: .88rem; flex-wrap: wrap; align-items: center; }
.line .amt { font-weight: 700; white-space: nowrap; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--sunk); color: var(--ink-2); }
.pill.ok { background: var(--ok-2); color: var(--ok); }
.pill.bad { background: var(--bad-2); color: var(--bad); }
.pill.warn { background: var(--warn-2); color: var(--warn); }
.totals { display: grid; gap: 8px; }
.totals div { display: flex; justify-content: space-between; gap: 12px; }
.totals .grand { border-top: 1px solid var(--line); padding-top: 10px; font-weight: 700; font-size: 1.2rem; font-family: var(--display); }
.pay-opts { display: grid; gap: 8px; }
.pay-opt { display: flex; gap: 12px; align-items: center; border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 12px; cursor: pointer; }
.pay-opt input { width: 20px; height: 20px; accent-color: var(--teal); }
.pay-opt .t { display: grid; flex: 1; }
.pay-opt .t span { font-size: .82rem; color: var(--muted); }
.pay-opt:has(input:checked) { border-color: var(--ink); background: var(--sunk); }
.pay-opt:has(input:disabled) { opacity: .5; cursor: not-allowed; }

/* Order status page */
.status-hero { text-align: center; padding: 28px 0 12px; }
.status-hero .ic { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 12px; display: grid; place-items: center; background: var(--ok-2); color: var(--ok); }
.status-hero .ic svg { width: 36px; height: 36px; }
.status-hero.pending .ic { background: var(--warn-2); color: var(--warn); }
.uploads { display: grid; gap: 10px; }
.upl { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; background: var(--surface); padding: 12px; border-radius: var(--radius-sm); box-shadow: var(--shadow-1); }
.upl img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; background: var(--sunk); }
.bar { height: 6px; border-radius: 999px; background: var(--sunk); overflow: hidden; margin-top: 6px; }
.bar i { display: block; height: 100%; width: 0; background: var(--teal); transition: width .2s; }
.qr { display: grid; gap: 14px; align-items: center; }
@media (min-width: 700px) { .qr { grid-template-columns: 220px 1fr; } }
.qr img { width: 220px; max-width: 100%; border-radius: 16px; background: #fff; padding: 8px; box-shadow: var(--shadow-1); cursor: zoom-in; margin-inline: auto; }
.timeline { display: grid; gap: 0; margin: 12px 0; }
.timeline li { list-style: none; position: relative; padding: 0 0 16px 30px; color: var(--muted); }
.timeline li::before { content: ''; position: absolute; left: 6px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--line); }
.timeline li::after { content: ''; position: absolute; left: 11px; top: 20px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline li.done { color: var(--ink); }
.timeline li.done::before { background: var(--ok); }
.timeline ol { padding: 0; margin: 0; }

/* Phone bottom tab bar (pages without a buy bar) */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--surface); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.tabbar a { display: grid; justify-items: center; gap: 2px; padding: 8px 4px 7px; text-decoration: none; color: var(--ink-2); font-size: .7rem; font-weight: 600; text-align: center; line-height: 1.15; }
.tabbar svg { width: 22px; height: 22px; }
body.has-tabbar { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
@media (min-width: 820px) { .tabbar { display: none; } body.has-tabbar { padding-bottom: 0; } }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; width: 100%; height: 100%; }
.hero-grid img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 959px) { body[data-key] .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); } }
.st.err { color: var(--bad); }
.search input[type="search"] { padding-left: 40px; border-radius: 999px; min-height: 44px; }
.thumbs button.txt { width: auto; padding: 0 14px; font-weight: 600; font-size: .85rem; background: var(--surface); border-color: var(--line); }

/* ---------- 24-hour promo, "was" prices, review examples (carried over from the old storefront) ---------- */
.offer-strip { display: flex; justify-content: center; align-items: center; gap: 10px; padding: 7px 12px; background: var(--ink); color: #fff; font-size: .86rem; font-weight: 600; }
.offer-strip[hidden] { display: none; }
.offer-strip time { font-variant-numeric: tabular-nums; background: var(--cta); color: var(--cta-ink); padding: 1px 8px; border-radius: 999px; }
.offer-welcome { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; background: rgba(18, 49, 58, .45); }
.offer-card { position: relative; overflow: hidden; width: min(360px, 100%); padding: 26px 22px; border-radius: var(--radius); background: var(--surface, #fff); text-align: center; box-shadow: 0 24px 60px rgba(18, 49, 58, .3); }
.offer-card h2 { margin: 0 0 6px; font-family: var(--display); font-size: 1.35rem; }
.offer-card p { margin: 0 0 10px; }
.offer-card time { display: inline-block; margin-bottom: 10px; font: 700 1.9rem/1 var(--display); font-variant-numeric: tabular-nums; color: var(--cta); }
.offer-sky { position: absolute; inset: 0; pointer-events: none; }
.offer-sky i { position: absolute; width: 6px; height: 6px; border-radius: 50%; opacity: 0; animation: offer-spark .9s ease-out var(--delay) forwards; }
@keyframes offer-spark { from { opacity: 1; transform: translate(0, 0) scale(1); } to { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(.4); } }
s.was { color: var(--muted); font-weight: 500; font-size: .86em; text-decoration-thickness: 1px; }
.opt .amt { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 2px 6px; color: var(--ink); }
.opt .amt b { font-size: .95rem; color: var(--teal); }
.reviews .kicker { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .12em; color: var(--cta); }
.reviews h2 { margin: 4px 0 6px; }
.rev-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: 8px; margin-top: 14px; }
.rev-nav { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface, #fff); color: var(--ink); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.rev-stage { min-height: 150px; display: grid; }
.rev-card { display: grid; gap: 14px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface, #fff); }
.rev-card.with-photo { grid-template-columns: 96px minmax(0, 1fr); }
.rev-card p { margin: 4px 0 6px; font-size: 1.02rem; }
.rev-stars { color: #f0a020; letter-spacing: 2px; }
.rev-photo { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--radius-sm); overflow: hidden; }
.rev-photo img { display: block; width: 96px; height: 120px; object-fit: cover; }
.rev-ctl { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 10px; }
@media (max-width: 520px) { .rev-row { grid-template-columns: 36px minmax(0, 1fr) 36px; gap: 4px; } .rev-nav { width: 36px; height: 44px; } .rev-card.with-photo { grid-template-columns: 76px minmax(0, 1fr); } .rev-photo img { width: 76px; height: 96px; } }
.card .price s.was { display: block; font-size: .78em; line-height: 1.2; }
