/* Whose Skis? website. Look: the ChatGPT brand board George picked (2026-12-02).
   Website font Balsamiq Sans (self-hosted from Google Fonts, OFL). The TAG lettering is NOT this font:
   tags print in Liberation Sans Bold from src/layout.scad, and the 3D preview comes from that print model.
   Mobile first (390 px); desktop from 900 px; booth/tablet mode = html.stand (?stand=1 or /stand). */
@font-face { font-family: "Balsamiq Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(../vendor/fonts/BalsamiqSans-Regular-latin.woff2) format("woff2"); }
@font-face { font-family: "Balsamiq Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url(../vendor/fonts/BalsamiqSans-Bold-latin.woff2) format("woff2"); }

:root {
  --navy: #0B2545;
  --blue: #0B5FFF;
  --orange: #FF6A00;
  --orange-dark: #E05A00;
  --cream: #FFF3E0;
  --white: #FFFFFF;
  --green: #0E7C59;
  --red: #E53935;
  --yellow: #FFC700;
  --teal: #00B8C8;
  --lilac: #B27CFF;
  --ink: var(--navy);
  --ink-2: #4A5B76;
  --bg: #F3F7FF;
  --line: #D3DCEC;
  --ok: var(--green);
  --bad: var(--red);
  --r: 12px;
  --r-s: 8px;
  --shadow: 0 2px 0 rgba(11, 37, 69, .08), 0 6px 18px rgba(11, 37, 69, .08);
  --font: "Balsamiq Sans", ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 12px; }
body { margin: 0; font: 400 16px/1.45 var(--font); color: var(--ink); background: var(--bg); padding-bottom: 132px; }
h1, h2, h3, legend, strong, b { font-weight: 700; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
[hidden] { display: none !important; }
svg { flex: none; }

/* ---------- header ---------- */
.top { background: var(--navy); color: #fff; display: flex; align-items: center; gap: 12px; padding: 8px 14px; position: relative; z-index: 20; }
.brand { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; background: var(--cream); color: var(--navy); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--navy); border-radius: 16px; padding: 3px 12px 3px 6px; transform: rotate(-2deg); }
.brand-mark { width: 40px; height: 30px; }
.brand-word { font-size: 22px; font-weight: 700; letter-spacing: -.01em; line-height: 1; white-space: nowrap; }
.topnav { display: none; margin-left: auto; gap: 26px; }
.topnav a { text-decoration: none; font-weight: 700; padding: 6px 0; border-bottom: 3px solid transparent; }
.topnav a[aria-current] { border-color: var(--orange); }
.topnav a:hover { border-color: rgba(255, 255, 255, .5); }
.cartlink { margin-left: auto; text-decoration: none; font-weight: 700; padding: 6px 10px; border: 2px solid #fff; border-radius: var(--r); display: inline-flex; gap: 8px; align-items: center; min-height: 44px; }
.cartlink svg { width: 24px; height: 24px; }
.cartlink:hover { background: rgba(255, 255, 255, .12); }
.cart-word { display: none; }
.count { background: var(--orange); color: #fff; border-radius: 8px; min-width: 26px; padding: 0 7px; text-align: center; font-size: 15px; line-height: 26px; }

/* retro stripe band */
.stripes { display: flex; flex-direction: column; }
.stripes i { display: block; height: 5px; }
.stripes i:nth-child(1) { background: var(--blue); }
.stripes i:nth-child(2) { background: var(--orange); }
.stripes i:nth-child(3) { background: var(--red); }

/* ---------- layout (phone: preview sticky on top, steps, then the promo) ---------- */
.studio { max-width: 1280px; margin: 0 auto; display: flex; flex-direction: column; }
.left { display: contents; }
.stage { order: 0; position: sticky; top: 0; z-index: 10; background: linear-gradient(#DCEBFF, #F4F9FF 70%); border-bottom: 2px solid var(--line); }
.controls { order: 1; padding: 6px 14px 20px; }
.promo { order: 2; }
.preview { position: relative; height: 27vh; min-height: 160px; max-height: 230px; }
.preview canvas { display: block; }
.preview-status { position: absolute; inset: auto 12px 10px 12px; font-weight: 700; font-size: 14px; color: var(--ink-2); pointer-events: none; }
.stage-tools { display: flex; align-items: center; gap: 10px; padding: 2px 12px 8px; }
.tool { display: inline-flex; align-items: center; gap: 6px; background: var(--navy); color: #fff; border: 0; border-radius: 999px; padding: 7px 14px; font-weight: 700; font-size: 14px; min-height: 40px; }
.tool svg { width: 18px; height: 18px; }
.tool[aria-pressed=true] { background: var(--blue); }
.tool.icon-only { margin-left: auto; background: #fff; color: var(--navy); border: 2px solid var(--line); padding: 7px 9px; }
.hint { font-size: 13px; color: var(--ink-2); display: none; }
.stage-msg { margin: 0; padding: 8px 14px; background: #fff; border-left: 6px solid var(--bad); font-weight: 700; font-size: 14px; }
.big-preview .stage { position: fixed; inset: 0; z-index: 50; }
.big-preview .preview { height: calc(100vh - 70px); max-height: none; }
.stage:fullscreen { background: #EAF3FF; }
.stage:fullscreen .preview { height: calc(100vh - 70px); max-height: none; }

/* ---------- steps ---------- */
fieldset.step { border: 0; margin: 16px 0 0; padding: 0; min-width: 0; }
legend { display: flex; align-items: center; gap: 10px; width: 100%; font-size: 21px; padding: 0; margin-bottom: 10px; }
legend::after { content: ""; flex: 1; height: 2px; background: var(--line); border-radius: 2px; }
.n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 16px; flex: none; }
.fit-ok { order: 3; font-size: 14px; white-space: nowrap; }
.fit-ok.ok, .fit-ok.info { color: var(--green); }
.fit-ok.block { color: var(--bad); }
h3 { font-size: 15px; margin: 12px 0 6px; }
.picked { font-weight: 400; color: var(--ink-2); margin-left: 6px; }
.note { color: var(--ink-2); font-size: 14px; margin: 6px 0; }

/* size + design choices (radio cards) */
.choice-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.design-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.choice-row input, .design-grid input { position: absolute; opacity: 0; pointer-events: none; }
.choice-row label, .design-grid label { position: relative; display: flex; flex-direction: column; gap: 1px; background: #fff; border: 2px solid var(--line); border-radius: var(--r); padding: 10px 12px; cursor: pointer; min-height: 64px; box-shadow: 0 2px 0 rgba(11, 37, 69, .05); }
.choice-row label span { font-size: 13px; color: var(--ink-2); }
.choice-row label strong { font-size: 17px; }
.choice-row .price { color: var(--ink); font-weight: 700; }
.design-grid label { align-items: center; text-align: center; padding: 8px 6px; }
.design-grid label strong { font-size: 13px; line-height: 1.15; }
.design-grid label span { display: none; }
.design-grid svg { width: 100%; max-width: 84px; height: auto; margin-bottom: 2px; }
.design-grid .new-tag { position: absolute; top: 4px; left: 4px; font: 700 10px/1 var(--font); font-style: normal; text-transform: uppercase; letter-spacing: .04em; background: #FF6A13; color: #fff; border-radius: 999px; padding: 3px 6px; }
.ams-note { margin-top: 6px; }
input:checked + label { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.design-grid input:checked + label { background: #E4EDFF; }
.design-grid input:checked + label::after, .choice-row input:checked + label::after { content: "✓"; position: absolute; top: 6px; right: 6px; width: 20px; height: 20px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 12px; display: grid; place-items: center; }
input:focus-visible + label { outline: 3px solid var(--blue); outline-offset: 2px; }

/* text fields */
.field { display: block; font-weight: 700; font-size: 14px; margin: 8px 0; }
.field.inline { margin: 0; flex: 1; }
input[type=text], input[type=email], input[type=number], input[type=search], textarea {
  display: block; width: 100%; margin-top: 4px; font: 700 20px/1.2 var(--font); padding: 10px 12px; min-height: 48px;
  border: 2px solid var(--line); border-radius: var(--r-s); background: #fff; color: var(--ink); text-transform: uppercase;
}
input[type=search], textarea, input[type=email] { text-transform: none; font-weight: 400; font-size: 17px; }
input::placeholder, textarea::placeholder { color: #8A99B0; font-weight: 400; }
input[type=text]:focus, input[type=email]:focus, input[type=number]:focus, input[type=search]:focus, textarea:focus { outline: 3px solid rgba(11, 95, 255, .35); outline-offset: 0; border-color: var(--blue); }

/* messages */
.msg { margin: 8px 0; padding: 10px 12px; border-radius: var(--r-s); font-weight: 700; font-size: 15px; border-left: 6px solid; background: #fff; }
.msg.block, .msg.error { border-color: var(--bad); }
.msg.info { border-color: var(--yellow); }
.msg.ok { border-color: var(--ok); }
.msg.pending { border-color: var(--line); color: var(--ink-2); }
.msgs .msg { font-weight: 400; }
.suggest { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 4px 0 0; }
.chip { background: var(--blue); color: #fff; border: 0; border-radius: 999px; padding: 9px 16px; font-weight: 700; min-height: 44px; }
.chip:hover { background: #0047CC; }

/* icons: search + category chips + grid */
.icon-search { position: relative; }
.icon-search svg { position: absolute; left: 12px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--ink-2); margin-top: 2px; }
.icon-search input { padding-left: 40px; min-height: 46px; border-radius: 999px; }
.chips { display: flex; gap: 6px; overflow-x: auto; padding: 10px 0 8px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip-cat { flex: none; background: #fff; border: 2px solid var(--line); border-radius: 999px; padding: 7px 14px; font-weight: 700; font-size: 14px; min-height: 40px; }
.chip-cat[aria-selected=true] { background: var(--navy); border-color: var(--navy); color: #fff; }
.icon-none { background: #fff; border: 2px solid var(--line); border-radius: var(--r-s); padding: 8px 14px; font-weight: 700; min-height: 44px; margin-bottom: 8px; }
.icon-none[aria-pressed=true] { border-color: var(--navy); background: var(--navy); color: #fff; }
.icon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 7px; }
.icon { position: relative; aspect-ratio: 1; min-height: 52px; background: #fff; border: 2px solid var(--line); border-radius: 10px; padding: 7px; display: grid; place-items: center; }
.icon i { display: block; width: 100%; height: 100%; background: var(--navy); -webkit-mask: var(--ic) center/contain no-repeat; mask: var(--ic) center/contain no-repeat; }
.icon:hover { border-color: var(--blue); }
.icon[aria-pressed=true] { background: var(--navy); border-color: var(--navy); }
.icon[aria-pressed=true] i { background: #fff; }
.icon[aria-pressed=true]::after { content: "✓"; position: absolute; right: -5px; bottom: -5px; width: 20px; height: 20px; border-radius: 50%; background: var(--green); color: #fff; font-size: 12px; display: grid; place-items: center; border: 2px solid #fff; }
.disc-row { display: flex; gap: 12px; align-items: center; margin-top: 10px; }
.disc-row .icon { width: 60px; flex: none; }

/* colours */
.swatch-block { margin: 0 0 6px; }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(40px, 1fr)); gap: 7px; }
.sw { position: relative; aspect-ratio: 1; min-height: 40px; background: var(--c); border: 2px solid rgba(11, 37, 69, .25); border-radius: var(--r-s); padding: 0; }
.sw[aria-checked=true] { outline: 3px solid var(--navy); outline-offset: 2px; }
.sw[aria-checked=true]::after { content: "✓"; position: absolute; inset: 0; margin: auto; width: 20px; height: 20px; border-radius: 50%; background: #fff; color: var(--navy); font-size: 13px; display: grid; place-items: center; border: 2px solid var(--navy); }
.sw:disabled { opacity: .2; cursor: not-allowed; }
.sw.silk { background: linear-gradient(135deg, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, 0) 45%, rgba(255, 255, 255, .25) 70%, rgba(255, 255, 255, 0) 100%), var(--c); }

/* toggle switch (a real checkbox; the track is drawn) */
.switch { position: relative; display: flex; align-items: center; gap: 12px; font-weight: 700; min-height: 46px; margin: 6px 0; cursor: pointer; }
.switch input { position: absolute; left: 0; top: 50%; width: 48px; height: 28px; margin: -14px 0 0; opacity: 0; cursor: pointer; z-index: 1; }
.switch .track { position: relative; flex: none; width: 48px; height: 28px; border-radius: 999px; background: #C5CFDF; transition: background .15s; }
.switch .track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .15s; }
.switch input:checked + .track { background: var(--blue); }
.switch input:checked + .track::after { transform: translateX(20px); }
.switch input:focus-visible + .track { outline: 3px solid var(--blue); outline-offset: 2px; }
.stage-tools .switch { margin: 0; min-height: 40px; font-size: 14px; gap: 8px; }

/* quantity */
.qty { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.qty button { width: 46px; height: 46px; font-size: 24px; font-weight: 700; background: #fff; border: 2px solid var(--line); border-radius: var(--r-s); }
.qty button:hover { border-color: var(--navy); }
.qty input { width: 72px; text-align: center; margin: 0; }
.qty .note { margin: 0 0 0 6px; }

/* buy bar (sticky price + Add to cart) */
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: #fff; border-top: 3px solid var(--navy); box-shadow: 0 -6px 18px rgba(11, 37, 69, .12); padding: 10px max(14px, calc((100% - 1280px) / 2 + 24px)) calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.buy-price { flex: 1 1 0; min-width: 0; }
.buy-price strong { font-size: 30px; display: block; line-height: 1; }
.buy-price .note { margin: 2px 0 0; font-size: 13px; }
.buy-actions { display: flex; align-items: center; gap: 10px; }
.blocker { margin: 0; font-size: 13px; color: var(--bad); font-weight: 700; max-width: 150px; text-align: right; line-height: 1.2; }
.added { flex-basis: 100%; margin: 0; font-weight: 700; color: var(--ok); }
.primary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--orange); color: #fff; border: 0; border-radius: var(--r); font-weight: 700; font-size: 19px; padding: 12px 22px; min-height: 54px; box-shadow: 0 3px 0 var(--orange-dark); }
.primary svg { width: 22px; height: 22px; }
.primary:hover:not(:disabled) { background: var(--orange-dark); }
.primary:disabled { background: #C9D3E0; color: #5B6B7E; box-shadow: none; cursor: not-allowed; }
.secondary { background: #fff; border: 2px solid var(--navy); border-radius: var(--r); font-weight: 700; padding: 10px 16px; min-height: 48px; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }

/* promo: Whose skis? Yours. + how it works + made by kids */
.promo { margin: 8px 14px 0; background: var(--cream); border-radius: var(--r); padding: 16px; position: relative; overflow: hidden; }
.yours { margin: 0 0 12px; font-size: 30px; line-height: 1.05; letter-spacing: -.01em; font-style: italic; }
.yours span { position: relative; white-space: nowrap; }
.yours span::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 5px; border-radius: 4px; background: var(--orange); transform: rotate(-1.5deg); }
.how { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.how li { display: grid; grid-template-columns: 48px 1fr; column-gap: 12px; align-items: center; }
.how svg { grid-row: span 2; width: 44px; height: 44px; color: var(--navy); }
.how b { display: flex; align-items: center; gap: 8px; font-size: 17px; }
.how b .n { width: 24px; height: 24px; font-size: 13px; }
.how span:not(.n) { font-size: 14px; color: var(--ink-2); }
.badge-kids { display: inline-block; margin: 0 0 12px; background: #fff; border: 3px solid var(--navy); border-radius: 14px; padding: 4px 10px; transform: rotate(-3deg); font-weight: 700; text-align: center; line-height: 1.1; font-size: 14px; box-shadow: 3px 3px 0 var(--orange); }
.badge-kids span { display: inline; }
@media (min-width: 900px) {
  .badge-kids { position: absolute; right: 12px; top: 14px; margin: 0; transform: rotate(6deg); }
  .badge-kids span { display: block; }
}

/* FAQ + footer */
.faq { max-width: 860px; margin: 22px auto 0; padding: 0 14px; }
.faq h2 { font-size: 24px; margin: 0 0 8px; }
.faq details { background: #fff; border: 2px solid var(--line); border-radius: var(--r); padding: 0 14px; margin: 8px 0; }
.faq summary { font-weight: 700; padding: 12px 0; cursor: pointer; min-height: 44px; }
.faq details p { margin: 0 0 12px; }
.foot { margin-top: 24px; background: var(--navy); color: #fff; }
.foot p { max-width: 1280px; margin: 0 auto; padding: 14px; display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; }
.foot b { font-size: 19px; font-style: italic; }
.foot a { margin-left: auto; color: #fff; font-size: 14px; }
.foot p.legal { padding-top: 0; font-size: 14px; gap: 6px 10px; }
.foot p.legal a { margin-left: 0; }

/* booth / tablet mode */
.stand-hero { display: none; }
.stand .topnav, .stand .faq, .stand .foot a { display: none !important; }
.stand .stand-hero { display: block; background: var(--navy) linear-gradient(180deg, #123864, var(--navy)); color: #fff; padding: 18px 16px 20px; text-align: center; }
.stand .stand-hero h1 { margin: 0 0 12px; font-size: 34px; color: var(--cream); }
.stand-steps { list-style: none; margin: 0 auto 14px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 900px; }
.stand-steps a { display: flex; flex-direction: column; gap: 2px; background: #fff; color: var(--navy); border-radius: var(--r); padding: 12px 8px; text-decoration: none; min-height: 72px; justify-content: center; box-shadow: 0 3px 0 rgba(0, 0, 0, .2); }
.stand-steps b { font-size: 18px; }
.stand-steps span { font-size: 14px; color: var(--ink-2); }
.stand-actions { margin: 0; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.stand-actions .secondary { color: var(--navy); border-color: #fff; border-radius: 999px; padding: 10px 22px; font-size: 18px; }
.stand .cartlink, .checkout .cartlink { margin-left: auto !important; }
body.checkout, body.sign { padding-bottom: 0; }
.primary.big { font-size: 22px; padding: 14px 30px; border-radius: 999px; }
.stand body { font-size: 18px; }
.stand .icon-grid { grid-template-columns: repeat(auto-fill, minmax(66px, 1fr)); gap: 9px; }
.stand .icon { min-height: 66px; }
.stand .swatches { grid-template-columns: repeat(auto-fill, minmax(46px, 1fr)); gap: 9px; }
.stand .sw { min-height: 46px; }
.stand .chip-cat { min-height: 46px; font-size: 16px; padding: 8px 16px; }
.stand legend { font-size: 25px; }
.stand .n { width: 36px; height: 36px; font-size: 19px; }
.stand .primary { font-size: 22px; min-height: 62px; }

/* ---------- desktop ---------- */
@media (min-width: 600px) {
  .cart-word { display: inline; }
  .design-grid { grid-template-columns: repeat(6, 1fr); }
}
@media (min-width: 900px) {
  body { padding-bottom: 100px; }
  .top { padding: 10px 32px; gap: 24px; }
  .brand-word { font-size: 26px; }
  .brand-mark { width: 48px; height: 36px; }
  .topnav { display: flex; }
  .cartlink { margin-left: 8px; }
  .studio { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 28px; padding: 22px 28px 0; align-items: start; }
  .left { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 12px; }
  .stage { position: relative; top: auto; border: 2px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); background: linear-gradient(#CFE3FF, #F4F9FF 75%); }
  .preview { height: min(46vh, 420px); max-height: none; }
  .stage-tools { justify-content: center; padding: 4px 16px 12px; gap: 16px; }
  .hint { display: inline; }
  .promo { margin: 0; padding: 18px 20px; }
  .how { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .how li { grid-template-columns: 1fr; text-align: center; justify-items: center; row-gap: 4px; padding: 0 6px; border-left: 2px solid rgba(11, 37, 69, .12); }
  .how li:first-child { border-left: 0; }
  .how svg { grid-row: auto; }
  .controls { padding: 0 0 24px; }
  fieldset.step:first-child { margin-top: 0; }
  .design-grid { grid-template-columns: repeat(4, 1fr); }
  .stand .stand-hero h1 { font-size: 44px; }
}
@media (min-width: 1200px) { .design-grid { grid-template-columns: repeat(6, 1fr); } }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }

/* ---------- cart / checkout ---------- */
.page { max-width: 760px; margin: 0 auto; padding: 16px; }
.page h1 { font-size: 28px; margin: 8px 0 12px; display: flex; align-items: center; gap: 10px; }
.page h1 .back { text-decoration: none; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 2px solid var(--line); font-size: 20px; }
.page h2 { font-size: 21px; margin: 24px 0 8px; display: flex; align-items: center; gap: 10px; }
.page h2::after { content: ""; flex: 1; height: 2px; background: var(--line); }
.card { background: #fff; border: 2px solid var(--line); border-radius: 16px; padding: 4px 14px; box-shadow: var(--shadow); }
.lines { list-style: none; margin: 0; padding: 0; }
.line { display: grid; grid-template-columns: 104px 1fr auto; gap: 4px 12px; padding: 14px 0; border-bottom: 2px solid #EDF1F7; align-items: start; }
.line:last-child { border-bottom: 0; }
.line .shot { width: 104px; height: 60px; background: #E3EEFF; border-radius: 10px; object-fit: contain; }
.line .shot.none { display: block; }
.line h3 { margin: 0 0 2px; font-size: 17px; }
.line .meta { margin: 0; color: var(--ink-2); font-size: 14px; display: flex; flex-wrap: wrap; gap: 2px 10px; align-items: center; }
.line .lp { font-size: 20px; font-weight: 700; text-align: right; }
.dot { display: inline-block; width: 14px; height: 14px; border-radius: 4px; border: 1px solid rgba(11, 37, 69, .4); vertical-align: -2px; margin-right: 3px; }
.line-foot { grid-column: 2 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.line-foot .qty button { width: 38px; height: 38px; font-size: 20px; }
.line-foot .qty input { width: 56px; min-height: 38px; padding: 4px; font-size: 18px; }
.linkbtn { background: none; border: 0; padding: 8px; font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; gap: 4px; color: var(--ink-2); }
.linkbtn svg { width: 20px; height: 20px; }
.linkbtn:hover { color: var(--bad); }
.totals { width: 100%; border-collapse: collapse; margin: 12px 0 4px; }
.totals td { padding: 5px 0; }
.totals td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.totals tr.grand td { font-size: 23px; font-weight: 700; border-top: 2px solid var(--navy); padding-top: 10px; }
.panel { border: 2px dashed var(--ink-2); border-radius: var(--r); padding: 14px; background: #fff; }
.panel p { margin: 4px 0; }
.done { border: 3px solid var(--ok); border-radius: var(--r); padding: 14px; background: #fff; }
.empty { padding: 24px 0; }
.checkout .primary.wide { width: 100%; }
@media (max-width: 480px) {
  .line { grid-template-columns: 84px 1fr auto; }
  .line .shot { width: 84px; height: 50px; }
  .line-foot { grid-column: 1 / -1; }
}
