/* elbensltd.com — brand direction C (Night, Clay, Sand, Linen, Stone).
   No inline styles anywhere: the Content-Security-Policy forbids them. */

@font-face { font-family: Fraunces; font-weight: 500; font-display: swap;
  src: url(fonts/fraunces-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: Fraunces; font-weight: 600; font-display: swap;
  src: url(fonts/fraunces-latin-600-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: Fraunces; font-weight: 600; font-display: swap;
  src: url(fonts/fraunces-latin-ext-600-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: Fraunces; font-weight: 700; font-display: swap;
  src: url(fonts/fraunces-latin-700-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: Fraunces; font-weight: 700; font-display: swap;
  src: url(fonts/fraunces-latin-ext-700-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: Manrope; font-weight: 400; font-display: swap; src: url(fonts/manrope-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: Manrope; font-weight: 600; font-display: swap; src: url(fonts/manrope-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: Manrope; font-weight: 700; font-display: swap; src: url(fonts/manrope-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: Manrope; font-weight: 800; font-display: swap; src: url(fonts/manrope-latin-800-normal.woff2) format("woff2"); }

:root {
  --night: #1B2340; --clay: #A8432E; --sand: #EADFD0; --linen: #F6F1EA; --stone: #6B6459;
  --line: #DCCFBD; --white: #FFFFFF; --green: #2E6B4F; --water: #DDEBF1;
  --serif: Fraunces, Georgia, serif; --sans: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--linen); color: var(--night); font-family: var(--sans); font-size: 15px; line-height: 1.45; }
a { color: var(--clay); }
a:hover { color: var(--night); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; margin: 0; line-height: 1.15; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.wrap { max-width: 520px; margin: 0 auto; min-height: 100vh; display: flex; flex-direction: column; }
.pad { padding: 0 20px; }
.muted { color: var(--stone); }
.small { font-size: 13px; }
.center { text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.serif { font-family: var(--serif); font-weight: 600; }

/* top bar */
.top { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; gap: 12px; }
.top.dark { background: var(--night); color: var(--linen); }
.brandmark { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.brandmark .word { font-family: var(--serif); font-weight: 600; font-size: 26px; line-height: 1; }
.brandmark .tag { font-size: 11px; color: var(--stone); letter-spacing: .04em; }
.top-actions { display: flex; align-items: center; gap: 8px; }
.top-link { font-size: 13px; font-weight: 700; color: var(--night); padding: 12px 4px; }
.basket-btn { position: relative; width: 44px; height: 44px; border-radius: 22px; display: flex; align-items: center; justify-content: center;
  background: var(--white); border: 1px solid var(--line); cursor: pointer; padding: 0; }
.basket-btn .count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px;
  background: var(--clay); color: var(--white); font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.back { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 22px; background: var(--white);
  border: 1px solid var(--line); color: var(--night); text-decoration: none; font-size: 20px; }
.page-title { font-size: 22px; flex-grow: 1; text-align: center; padding-right: 44px; }

/* home */
.stack { display: flex; flex-direction: column; gap: 18px; }
.chips { display: flex; gap: 8px; overflow-x: auto; margin-right: -20px; padding-right: 20px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { display: flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 16px; background: var(--sand); font-size: 12px; font-weight: 700; white-space: nowrap; flex-shrink: 0; }
.note { font-size: 13px; color: var(--stone); margin: -8px 0 0; }
.hero { position: relative; display: flex; gap: 14px; align-items: center; padding: 20px 18px 26px; border-radius: 22px; background: var(--clay); color: var(--white); overflow: hidden; }
.hero .text { display: flex; flex-direction: column; gap: 8px; flex-grow: 1; }
.hero .badge { align-self: flex-start; padding: 4px 10px; border-radius: 10px; background: rgba(255,255,255,.18); font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.hero h2 { font-size: 25px; }
.hero p { margin: 0; font-size: 14px; }
.hero .side { display: flex; flex-direction: column; align-items: center; gap: 10px; flex-shrink: 0; }
.hero .disc { width: 72px; height: 72px; border-radius: 36px; background: var(--linen); display: flex; align-items: center; justify-content: center; }
.hero .go { height: 36px; padding: 0 16px; border-radius: 18px; background: var(--white); color: var(--clay); font-weight: 800; font-size: 13px; text-decoration: none; display: flex; align-items: center; }
.closed { padding: 16px; border-radius: 16px; background: var(--sand); font-weight: 700; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; }
.section-head h2 { font-size: 20px; }
.rail { display: flex; gap: 10px; overflow-x: auto; margin-right: -20px; padding-right: 20px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.mini { width: 140px; flex-shrink: 0; display: flex; flex-direction: column; gap: 6px; padding: 12px; background: var(--white); border-radius: 16px; border: 1px solid var(--line); }
.mini .pic { height: 64px; border-radius: 12px; background: var(--sand); display: flex; align-items: center; justify-content: center; }
.mini .name { font-weight: 800; font-size: 14px; }
.mini .row { display: flex; align-items: center; justify-content: space-between; }
.price { font-family: var(--serif); font-weight: 600; color: var(--clay); }
.mini .price { font-size: 15px; }
.plus { width: 32px; height: 32px; border-radius: 16px; border: none; background: var(--night); color: var(--white); font-size: 18px; font-weight: 700; cursor: pointer; padding: 0; }

/* brand card: brand -> size chips -> the chosen size.
   The chips are radio buttons; CSS shows the panel of the checked one, so
   this works without JavaScript. Up to 8 sizes per brand. */
.card { display: flex; flex-direction: column; gap: 12px; padding: 16px; background: var(--white); border-radius: 20px; border: 1px solid var(--line); }
.card-head { display: flex; gap: 14px; align-items: center; }
.pic-lg { width: 60px; height: 60px; border-radius: 14px; background: var(--sand); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.card-head h3 { font-size: 22px; }
.sizes { display: flex; gap: 8px; flex-wrap: wrap; }
.size-radio { position: absolute; opacity: 0; pointer-events: none; }
.size-chip { height: 38px; padding: 0 14px; border-radius: 19px; font-weight: 800; font-size: 14px; display: inline-flex; align-items: center;
  background: var(--white); color: var(--night); border: 1.5px solid var(--line); cursor: pointer; }
.size-chip.out { background: transparent; color: var(--stone); border-style: dashed; text-decoration: line-through; }
.size-panel { display: none; align-items: flex-end; justify-content: space-between; gap: 10px; padding-top: 10px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.size-panel .what { font-weight: 800; font-size: 15px; }
.size-panel .price { font-size: 18px; }
.size-panel .per { font-family: var(--sans); font-size: 13px; font-weight: 600; color: var(--stone); }
.free { font-size: 12px; font-weight: 700; color: var(--green); }
.sold { font-size: 13px; font-weight: 700; color: var(--stone); }
.nudge { font-size: 13px; font-weight: 700; color: var(--clay); }
.size-radio:nth-of-type(1):checked ~ .sizes .size-chip:nth-of-type(1), .size-radio:nth-of-type(2):checked ~ .sizes .size-chip:nth-of-type(2),
.size-radio:nth-of-type(3):checked ~ .sizes .size-chip:nth-of-type(3), .size-radio:nth-of-type(4):checked ~ .sizes .size-chip:nth-of-type(4),
.size-radio:nth-of-type(5):checked ~ .sizes .size-chip:nth-of-type(5), .size-radio:nth-of-type(6):checked ~ .sizes .size-chip:nth-of-type(6),
.size-radio:nth-of-type(7):checked ~ .sizes .size-chip:nth-of-type(7), .size-radio:nth-of-type(8):checked ~ .sizes .size-chip:nth-of-type(8)
  { background: var(--night); color: var(--white); border-color: var(--night); text-decoration: none; }
.size-radio:nth-of-type(1):checked ~ .panels .size-panel:nth-child(1),
.size-radio:nth-of-type(2):checked ~ .panels .size-panel:nth-child(2),
.size-radio:nth-of-type(3):checked ~ .panels .size-panel:nth-child(3),
.size-radio:nth-of-type(4):checked ~ .panels .size-panel:nth-child(4),
.size-radio:nth-of-type(5):checked ~ .panels .size-panel:nth-child(5),
.size-radio:nth-of-type(6):checked ~ .panels .size-panel:nth-child(6),
.size-radio:nth-of-type(7):checked ~ .panels .size-panel:nth-child(7),
.size-radio:nth-of-type(8):checked ~ .panels .size-panel:nth-child(8)
  { display: flex; }
.size-radio:focus-visible ~ .sizes { outline: 2px solid var(--clay); outline-offset: 4px; border-radius: 20px; }
.card.gone { background: transparent; border-style: dashed; flex-direction: row; align-items: center; gap: 14px; }
.card.gone h3 { color: var(--stone); }
.card.gone .pic-lg { opacity: .6; }

/* steppers */
.stepper { display: flex; align-items: center; gap: 10px; }
.step { width: 40px; height: 40px; border-radius: 20px; border: 1.5px solid var(--night); background: var(--white); color: var(--night);
  font-size: 20px; font-weight: 700; cursor: pointer; padding: 0; line-height: 1; }
.step.up { background: var(--night); color: var(--white); }
.qty { width: 52px; height: 40px; text-align: center; font-weight: 800; font-size: 17px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--white); }
.js .qty { border-color: transparent; background: transparent; width: 36px; }
.qty::-webkit-inner-spin-button, .qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.qty { -moz-appearance: textfield; appearance: textfield; }

/* bottom bar */
.bar { position: sticky; bottom: 0; padding: 14px 20px 22px; background: var(--linen); border-top: 1px solid var(--line); margin-top: auto; }
.cta { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 58px; padding: 0 22px; border-radius: 29px;
  background: var(--clay); color: var(--white); text-decoration: none; font-weight: 800; font-size: 17px; border: none; cursor: pointer; }
.cta.center-text { justify-content: center; }
.cta:disabled { opacity: .55; cursor: default; }
.cta .sub { font-size: 14px; font-weight: 700; }
.ghost { display: flex; align-items: center; justify-content: center; min-height: 54px; border-radius: 27px; border: 1.5px solid var(--clay);
  color: var(--clay); text-decoration: none; font-weight: 800; font-size: 16px; background: transparent; width: 100%; cursor: pointer; }
.dark-btn { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; border-radius: 28px; background: var(--night);
  color: var(--linen); text-decoration: none; font-weight: 800; font-size: 16px; }
.dark-btn:hover { color: var(--white); }

/* basket and checkout */
.panel { background: var(--white); border-radius: 18px; border: 1px solid var(--line); padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.panel h2 { font-size: 20px; }
.lines { background: var(--white); border-radius: 18px; border: 1px solid var(--line); }
.line { padding: 16px; display: flex; flex-direction: column; gap: 10px; border-bottom: 1px solid var(--line); }
.line:last-child { border-bottom: none; }
.line-top { display: flex; justify-content: space-between; gap: 12px; }
.line-name { font-weight: 800; font-size: 16px; }
.line-foot { display: flex; justify-content: space-between; align-items: center; }
.linkish { background: none; border: none; color: var(--stone); text-decoration: underline; padding: 12px 0; cursor: pointer; font-size: 14px; }
.hint-box { background: var(--sand); border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.ok-box { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; font-size: 14px; }
.ok-box strong { color: var(--green); }
.sum { display: flex; justify-content: space-between; font-size: 16px; padding: 4px 4px 0; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; }
.field input, .field select, .field textarea { min-height: 48px; border: 1.5px solid var(--stone); border-radius: 10px; padding: 10px 12px; font-size: 16px; font-weight: 400; background: var(--white); }
.field textarea { resize: vertical; }
.field .help { font-weight: 400; font-size: 13px; color: var(--stone); }
.optional { font-weight: 400; color: var(--stone); }
.toggle { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.toggle label, .choice label { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: 12px;
  border: 1.5px solid var(--stone); font-weight: 700; cursor: pointer; padding: 8px 12px; }
.toggle input, .choice input { accent-color: var(--clay); width: 18px; height: 18px; }
.toggle label:has(input:checked), .choice label:has(input:checked) { background: var(--night); color: var(--linen); border-color: var(--night); }
.choice { display: flex; flex-direction: column; gap: 8px; }
.choice label { justify-content: flex-start; gap: 12px; min-height: 64px; }
.choice .grow { display: flex; flex-direction: column; flex-grow: 1; }
.choice .small { font-weight: 400; }
.locate { min-height: 52px; border-radius: 12px; border: 1.5px solid var(--clay); background: var(--white); color: var(--clay); font-weight: 800; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px; }
.info { background: var(--linen); border-radius: 10px; padding: 10px 12px; font-size: 14px; }
.steps-pay { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.steps-pay li { display: flex; gap: 12px; align-items: flex-start; }
.num { width: 26px; height: 26px; border-radius: 13px; background: var(--night); color: var(--linen); font-size: 14px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.totals { background: var(--night); color: var(--linen); border-radius: 18px; padding: 18px 16px; display: flex; flex-direction: column; gap: 10px; }
.totals .row { display: flex; justify-content: space-between; font-size: 15px; }
.totals .rule { height: 1px; background: var(--stone); }
.totals .total { display: flex; justify-content: space-between; align-items: baseline; font-weight: 800; }
.totals .total .serif { font-size: 26px; font-weight: 700; }
.totals .when { background: var(--sand); color: var(--night); border-radius: 10px; padding: 10px 12px; font-size: 14px; }
.error { background: #F7E3DD; border: 1.5px solid var(--clay); color: var(--night); border-radius: 12px; padding: 12px 14px; font-weight: 700; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* placed and track */
.done-mark { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; padding-top: 24px; }
.done-mark h1 { font-size: 32px; font-weight: 500; }
.order-no { font-family: var(--serif); font-weight: 700; font-size: 30px; letter-spacing: 1px; }
.kv { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.rule { height: 1px; background: var(--line); }
.timeline { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.timeline li { display: flex; gap: 12px; padding-bottom: 16px; }
.dot { width: 24px; height: 24px; border-radius: 12px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.dot.done { background: var(--clay); color: var(--white); }
.dot.now { background: var(--night); box-shadow: 0 0 0 4px var(--sand); }
.dot.todo { border: 2px dashed var(--stone); }
.timeline .todo-text { color: var(--stone); }
.pill { background: var(--night); color: var(--linen); border-radius: 99px; padding: 4px 12px; font-size: 13px; font-weight: 700; }
.receipt { font-size: 14px; display: flex; flex-direction: column; gap: 6px; }
.prose h2 { font-size: 20px; margin-top: 12px; }
.prose table { border-collapse: collapse; width: 100%; font-size: 14px; }
.prose td, .prose th { border-top: 1px solid var(--line); padding: 8px 6px; text-align: left; vertical-align: top; }
.foot { padding: 18px 20px 28px; text-align: center; font-size: 13px; color: var(--stone); }

/* ------------------------------------------------------------------
   The new home page (plan 47, 4 Oct): announcement, hero with the brand
   photos fanned out, the brand row that glides, brand plates.
   Every animation stops when the phone asks for reduced motion.
   ------------------------------------------------------------------ */
.announce { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 20px; background: var(--night); color: var(--linen);
  font-size: 13px; font-weight: 700; text-align: center; }
.announce svg { flex-shrink: 0; }

.hero2 { position: relative; overflow: hidden; border-radius: 24px; background-color: var(--night); color: var(--linen); min-height: 200px;
  background-image: repeating-radial-gradient(circle at 50% 120%, rgba(221,235,241,.07) 0 2px, transparent 2px 26px); }
.hero2-text { position: relative; z-index: 2; padding: 24px 22px 18px; display: flex; flex-direction: column; gap: 10px; }
.hero2 .kicker { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #E8A48F; }
.hero2 h1 { font-family: var(--serif); font-weight: 700; font-size: 36px; line-height: 1.02; }
.hero2 h1 em { font-style: italic; color: #E8A48F; }
.hero2 .rules { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--sand); }
.fan { position: relative; height: 232px; }
.fan-card { position: absolute; bottom: 26px; width: 150px; height: 150px; border-radius: 20px; overflow: hidden; border: 4px solid var(--linen);
  box-shadow: 0 18px 30px rgba(0,0,0,.35); background: var(--sand); }
.fan-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fan-card.f1 { left: 8%; transform: rotate(-12deg); animation: fan1 6s ease-in-out infinite; }
.fan-card.f3 { right: 8%; transform: rotate(12deg); animation: fan3 7s ease-in-out infinite; }
.fan-card.f2 { left: 50%; margin-left: -88px; bottom: 40px; width: 176px; height: 176px; border-radius: 22px; z-index: 1;
  box-shadow: 0 24px 40px rgba(0,0,0,.45); transform: rotate(2deg); animation: fan2 5s ease-in-out infinite; }
.fan-chip { position: absolute; z-index: 2; right: 18px; top: 4px; display: flex; align-items: center; gap: 8px; background: var(--white); color: var(--night);
  border-radius: 14px; padding: 8px 12px; box-shadow: 0 10px 24px rgba(0,0,0,.3); font-size: 12px; line-height: 1.2; animation: bob 4s ease-in-out infinite; }
.fan-chip .tick { width: 26px; height: 26px; border-radius: 13px; background: var(--green); color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 800; }
.fan-chip .small { color: var(--stone); font-size: 11px; }
.fan-stamp { position: absolute; z-index: 2; left: 14px; top: 6px; width: 80px; height: 80px; border-radius: 40px; background: var(--clay); color: var(--white);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; line-height: 1.05;
  box-shadow: 0 10px 24px rgba(0,0,0,.3); transform: rotate(-10deg); animation: wob 6s ease-in-out infinite; }
.fan-stamp .s1 { font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.fan-stamp .s2 { font-family: var(--serif); font-weight: 700; font-size: 15px; }
.fan-stamp .s3 { font-size: 9px; font-weight: 700; }
@keyframes fan1 { 0%, 100% { transform: rotate(-12deg) translateY(0); } 50% { transform: rotate(-10deg) translateY(-6px); } }
@keyframes fan2 { 0%, 100% { transform: rotate(2deg) translateY(0); } 50% { transform: rotate(0deg) translateY(-9px); } }
@keyframes fan3 { 0%, 100% { transform: rotate(12deg) translateY(0); } 50% { transform: rotate(10deg) translateY(-5px); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes wob { 0%, 100% { transform: rotate(-10deg); } 50% { transform: rotate(4deg); } }

/* Brand plates: photo, a wash of the brand's colour, the size over it. */
.plate { position: relative; overflow: hidden; border-radius: 14px; }
.plate-ground, .plate-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.plate-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: drift 9s ease-in-out infinite; }
.plate-name { position: absolute; top: 12px; left: 12px; font-family: var(--serif); font-weight: 700; font-size: 22px; color: var(--white); }
.plate-size { position: absolute; left: 12px; bottom: 10px; color: var(--white); line-height: 1; z-index: 1; }
.plate-big { display: block; font-family: var(--serif); font-weight: 700; font-size: 30px; }
.plate-pack { display: block; font-size: 12px; font-weight: 800; margin-top: 4px; }
.plate-mini { height: 108px; }
.plate-mini .plate-big { font-size: 22px; }
.plate-mini .plate-pack { font-size: 11px; }
.plate-tile { width: 132px; height: 92px; }
.plate-tile .plate-name { font-size: 18px; top: auto; bottom: 10px; }
.size-plate { display: none; height: 150px; }
@keyframes drift { 0%, 100% { transform: scale(1.02); } 50% { transform: scale(1.12) translateX(-3%); } }
.size-radio:nth-of-type(1):checked ~ .plates .size-plate:nth-child(1),
.size-radio:nth-of-type(2):checked ~ .plates .size-plate:nth-child(2),
.size-radio:nth-of-type(3):checked ~ .plates .size-plate:nth-child(3),
.size-radio:nth-of-type(4):checked ~ .plates .size-plate:nth-child(4),
.size-radio:nth-of-type(5):checked ~ .plates .size-plate:nth-child(5),
.size-radio:nth-of-type(6):checked ~ .plates .size-plate:nth-child(6),
.size-radio:nth-of-type(7):checked ~ .plates .size-plate:nth-child(7),
.size-radio:nth-of-type(8):checked ~ .plates .size-plate:nth-child(8)
  { display: block; }
.card-head { justify-content: space-between; }
.badge-new { flex-shrink: 0; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--green); background: #E3EFE8;
  border-radius: 10px; padding: 3px 9px; }
.added { width: 100%; font-size: 13px; font-weight: 700; color: var(--green); }
.mini { width: 158px; }
.mini .plate { margin-bottom: 2px; }

/* The brand row: a slow loop that pauses under a finger or a pointer. */
/* The edge fades are overlays in the page colour, not a mask: Safari on
   iPhone drew nothing at all for a masked box with a moving row inside. */
.marquee-wrap { position: relative; overflow: hidden; margin: 0 -20px; padding: 2px 0 6px; }
.marquee-wrap::before, .marquee-wrap::after { content: ""; position: absolute; top: 0; bottom: 0; width: 24px; z-index: 2; pointer-events: none; }
.marquee-wrap::before { left: 0; background: linear-gradient(90deg, var(--linen), rgba(246, 241, 234, 0)); }
.marquee-wrap::after { right: 0; background: linear-gradient(270deg, var(--linen), rgba(246, 241, 234, 0)); }
.marquee { list-style: none; margin: 0; padding: 0 20px; display: flex; gap: 12px; width: max-content; animation: marquee 32s linear infinite; }
.marquee.still { animation: none; }
.marquee-wrap:hover .marquee, .marquee-wrap:focus-within .marquee, .marquee-wrap:active .marquee { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.brand-tile { display: flex; flex-direction: column; gap: 6px; padding: 6px 6px 8px; border-radius: 18px; background: var(--white); border: 1px solid var(--line);
  color: var(--night); text-decoration: none; }
.brand-tile.on { background: var(--night); color: var(--linen); border-color: var(--night); }
.brand-tile-name { font-weight: 800; font-size: 14px; padding: 0 2px; }
.bar-note { margin: 6px 0 0; text-align: center; font-size: 12px; font-weight: 700; color: var(--green); }
.count.bump { animation: bump .35s ease-out; }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }

@media (prefers-reduced-motion: reduce) {
  .hero2 .fan-card, .hero2 .fan-chip, .hero2 .fan-stamp, .plate .plate-img, .basket-btn .count.bump { animation: none; }
  .marquee { animation: none; }
  .marquee-wrap { overflow-x: auto; }
  .marquee-wrap::before, .marquee-wrap::after { display: none; }
  .marquee li[aria-hidden="true"] { display: none; }
}
.order-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.copy { min-height: 44px; padding: 0 18px; border-radius: 22px; border: 1.5px solid var(--night); background: var(--white); color: var(--night);
  font-weight: 800; cursor: pointer; }
.plate-name, .plate-size { z-index: 1; }
.plate-mini .plate-name { display: none; }
.bar { z-index: 10; }
