/* PonderPrint styles — mobile-first, no build step */
:root {
  --ink: #1F2A44;
  --ink-soft: #4A5570;
  --cream: #FFF8F0;
  --paper: #FFFFFF;
  --coral: #FF6B5B;
  --coral-dark: #D9483A;
  --sun: #FFC845;
  --teal: #1FA59A;
  --violet: #6C5CE7;
  --xmas: #C8352C;
  --line: #EADFD3;
  --radius: 18px;
  --shadow: 0 2px 0 rgba(31,42,68,.08), 0 10px 30px -12px rgba(31,42,68,.25);
  --font: Nunito, "Segoe UI Rounded", "SF Pro Rounded", ui-rounded, "Trebuchet MS", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--cream); line-height: 1.6; font-size: 1.0625rem; }
img, svg { max-width: 100%; display: block; }
a { color: var(--coral-dark); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 6.5vw, 3.4rem); font-weight: 900; }
h2 { font-size: clamp(1.6rem, 4.5vw, 2.3rem); font-weight: 900; }
h3 { font-size: 1.15rem; font-weight: 800; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -3rem; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 1rem; color: #fff; }
.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 780px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; font: inherit; font-weight: 800; text-decoration: none; border-radius: 999px; padding: .75rem 1.4rem; border: 2px solid var(--ink); cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s; min-height: 44px; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--coral); color: #fff; box-shadow: 0 4px 0 var(--ink); text-shadow: 0 1px 0 rgba(0,0,0,.15); }
.btn-primary:hover { color: #fff; box-shadow: 0 6px 0 var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: #fff; }
.btn-buy { background: var(--ink); color: #fff; padding: .6rem 1.1rem; }
.btn-buy:hover { background: var(--coral-dark); color: #fff; border-color: var(--coral-dark); }
.btn-disabled { background: #E7E2DA; color: var(--ink-soft); border-color: #CFC7BC; cursor: default; }
.btn-lg { font-size: 1.15rem; padding: .9rem 1.8rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,248,240,.92); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; position: relative; }
.brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--ink); }
.wordmark { font-weight: 900; font-size: 1.45rem; letter-spacing: -.02em; }
.wordmark span { color: var(--coral); }
.nav-toggle { width: 44px; height: 44px; border: 2px solid var(--ink); border-radius: 12px; background: #fff; display: grid; place-items: center; cursor: pointer; }
.bars, .bars::before, .bars::after { display: block; width: 20px; height: 2.5px; background: var(--ink); border-radius: 2px; position: relative; content: ""; }
.bars::before { position: absolute; top: -6px; } .bars::after { position: absolute; top: 6px; }
.site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--cream); border-bottom: 1px solid var(--line); padding: .5rem 1.25rem 1rem; flex-direction: column; }
.site-nav.open { display: flex; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 700; padding: .7rem 0; border-bottom: 1px dashed var(--line); }
.site-nav a:hover { color: var(--coral-dark); }
@media (min-width: 820px) {
  .nav-toggle { display: none; }
  .site-nav { display: flex; position: static; flex-direction: row; align-items: center; gap: 1.6rem; padding: 0; border: 0; background: none; }
  .site-nav a { border: 0; padding: .4rem 0; }
  .site-nav .nav-cta { border: 2px solid var(--ink); border-radius: 999px; padding: .4rem 1rem; }
  .site-nav .nav-cta:hover { background: var(--ink); color: #fff; }
}

/* Hero */
.hero { padding: 2.5rem 0 3rem; background:
  radial-gradient(circle at 90% 10%, rgba(255,200,69,.35), transparent 40%),
  radial-gradient(circle at 0% 100%, rgba(31,165,154,.18), transparent 45%); }
.hero-inner { display: grid; gap: 2rem; align-items: center; }
.eyebrow { display: inline-block; font-weight: 800; font-size: .9rem; color: var(--teal); background: rgba(31,165,154,.12); padding: .3rem .8rem; border-radius: 999px; margin-bottom: 1rem; }
.hl { background: linear-gradient(transparent 62%, var(--sun) 62%); padding: 0 .1em; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.5rem 0; }
.trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; font-weight: 700; font-size: .95rem; }
.hero-art { max-width: 340px; margin: 0 auto; width: 62%; }
.hero-svg { filter: drop-shadow(0 18px 24px rgba(31,42,68,.18)); animation: bob 6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-8px) rotate(-1deg); } }
@media (prefers-reduced-motion: reduce) { .hero-svg { animation: none; } }
.hero-photo { width: 100%; max-width: 480px; }
.hero-photo picture { display: block; border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; box-shadow: 0 6px 0 var(--ink), 0 18px 30px rgba(31,42,68,.16); transform: rotate(1.5deg); aspect-ratio: 4 / 3; background: #f3eee8; }
.hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 820px) {
  .hero { padding: 4.5rem 0 5rem; }
  .hero-inner { grid-template-columns: 1.25fr 1fr; gap: 3rem; }
  .hero-art { width: 100%; max-width: 420px; }
  .hero-photo { max-width: 520px; }
}

/* Christmas banner */
.xmas-banner { background: var(--xmas); color: #fff; background-image: radial-gradient(rgba(255,255,255,.18) 1.5px, transparent 1.6px); background-size: 22px 22px; }
.xmas-banner .container { display: flex; align-items: center; gap: .8rem; padding-top: .9rem; padding-bottom: .9rem; }
.xmas-banner p { margin: 0; }
.xmas-banner span { font-size: 1.6rem; }

/* Sections */
.section { padding: 3.5rem 0; }
.section-alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; margin-bottom: 2rem; }
.section-head p { color: var(--ink-soft); }

/* Product grid */
.grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 5px 0 var(--ink); transition: transform .15s ease; }
.card:hover { transform: translateY(-3px); }
.card-seasonal { box-shadow: 0 5px 0 var(--xmas); border-color: var(--xmas); }
.card-img { position: relative; aspect-ratio: 4 / 3; border-bottom: 2px solid var(--ink); background: #f3eee8; }
.card-seasonal .card-img { border-color: var(--xmas); }
.card-img { overflow: hidden; }
.card-img picture { display: block; width: 100%; height: 100%; }
.card-img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.badge { position: absolute; top: .7rem; left: .7rem; background: var(--sun); color: var(--ink); font-weight: 800; font-size: .78rem; padding: .2rem .65rem; border-radius: 999px; border: 2px solid var(--ink); }
.badge-xmas { background: var(--xmas); color: #fff; border-color: #fff; }
.card-body { padding: 1rem 1.1rem 1.1rem; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: .35rem; }
.desc { color: var(--ink-soft); font-size: .97rem; margin-bottom: .6rem; }
.hint { font-size: .87rem; font-weight: 700; color: var(--violet); background: rgba(108,92,231,.09); padding: .35rem .6rem; border-radius: 10px; margin-bottom: .8rem; }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding-top: .6rem; border-top: 1px dashed var(--line); }
.price { display: block; font-size: 1.45rem; font-weight: 900; line-height: 1.1; }
.delivery { display: block; font-size: .78rem; font-weight: 700; color: var(--teal); }
.noscript { text-align: center; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; counter-reset: s; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { background: var(--cream); border-radius: var(--radius); padding: 1.5rem; border: 2px solid var(--line); }
.step-num { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; font-weight: 900; font-size: 1.3rem; color: #fff; background: var(--coral); border: 2px solid var(--ink); margin-bottom: .8rem; }
.steps li:nth-child(2) .step-num { background: var(--teal); }
.steps li:nth-child(3) .step-num { background: var(--violet); }
.steps p { margin: 0; color: var(--ink-soft); }

/* About */
.about { display: grid; gap: 2rem; align-items: center; }
.about-art { max-width: 220px; margin: 0 auto; width: 60%; }
@media (min-width: 760px) { .about { grid-template-columns: 260px 1fr; gap: 3rem; } .about-art { width: 100%; } }

/* FAQ */
.faq details { background: var(--cream); border: 2px solid var(--line); border-radius: 14px; margin-bottom: .75rem; }
.faq details[open] { border-color: var(--ink); }
.faq summary { cursor: pointer; font-weight: 800; padding: 1rem 3rem 1rem 1.2rem; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 900; color: var(--coral); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 1.2rem 1rem; margin: 0; color: var(--ink-soft); }

/* Contact */
.contact { text-align: center; }
.contact > p { color: var(--ink-soft); }
.contact .btn-lg { word-break: break-all; margin: .5rem 0 1.5rem; }
.social { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; }
.social a { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; color: var(--ink); font-weight: 800; padding: .55rem 1rem; border: 2px solid var(--ink); border-radius: 999px; background: #fff; min-height: 44px; }
.social a:hover { background: var(--sun); }
.social svg { width: 22px; height: 22px; }
.handle { font-weight: 600; color: var(--ink-soft); }

/* Footer */
.site-footer { background: var(--ink); color: #DCE1EC; padding: 2.5rem 0; font-size: .95rem; }
.site-footer a { color: #fff; }
.footer-inner { display: grid; gap: 1.5rem; }
.footer-logo { background: var(--cream); border-radius: 12px; padding: .4rem .7rem; width: 200px; height: auto; margin-bottom: .8rem; }
.legal p { margin-bottom: .4rem; }
.small { font-size: .85rem; opacity: .8; }
@media (min-width: 760px) { .footer-inner { grid-template-columns: 1fr 1.4fr; } .legal { text-align: right; } }

/* Simple pages (thanks / privacy) */
.page { min-height: 70vh; padding: 3rem 0; }
.thanks-card { max-width: 620px; margin: 0 auto; background: #fff; border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: 0 6px 0 var(--ink); padding: 2rem 1.5rem; text-align: center; }
.thanks-card .mark { width: 96px; margin: 0 auto 1rem; }
.thanks-card ol { text-align: left; color: var(--ink-soft); }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.3rem; margin-top: 1.6rem; }

/* ================= Designer, basket and checkout ================= */
.header-inner { gap: .8rem; }
.site-nav { order: 3; }
.basket-btn { margin-left: auto; display: inline-flex; align-items: center; gap: .45rem; font: inherit; font-weight: 800; color: var(--ink); background: #fff; border: 2px solid var(--ink); border-radius: 999px; padding: .45rem .9rem; min-height: 44px; cursor: pointer; box-shadow: 0 3px 0 var(--ink); }
.basket-btn:hover { background: var(--sun); }
.basket-btn svg { width: 22px; height: 22px; }
.basket-count { display: inline-grid; place-items: center; min-width: 1.5rem; height: 1.5rem; padding: 0 .35rem; border-radius: 999px; background: #E7E2DA; color: var(--ink); font-size: .85rem; }
.basket-count.has { background: var(--coral); color: #fff; }
.basket-count.bump { animation: bump .45s ease; }
@keyframes bump { 40% { transform: scale(1.35); } }
@media (max-width: 819px) { .basket-label { display: none; } .nav-toggle { order: 4; } }
@media (min-width: 820px) { .site-nav { order: 0; margin-left: auto; } .basket-btn { margin-left: .4rem; } }

.btn-block { width: 100%; }
.btn.is-disabled { opacity: .55; box-shadow: 0 2px 0 var(--ink); }
.btn.is-disabled:hover { transform: none; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--coral-dark); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--ink); background: #fff; font-size: 1.05rem; font-weight: 900; cursor: pointer; color: var(--ink); }
.icon-btn:hover { background: var(--sun); }

.designer-section { background:
  radial-gradient(circle at 8% 0%, rgba(108,92,231,.10), transparent 40%),
  radial-gradient(circle at 100% 100%, rgba(255,107,91,.10), transparent 40%); }
.designer { background: #fff; border: 2px solid var(--ink); border-radius: 24px; box-shadow: 0 6px 0 var(--ink); padding: 1rem; }
.designer-tabs { display: flex; gap: .5rem; overflow-x: auto; padding: .2rem .1rem .9rem; scrollbar-width: thin; }
.tab { flex: 0 0 auto; font: inherit; font-weight: 800; font-size: .95rem; padding: .5rem 1rem; border-radius: 999px; border: 2px solid var(--line); background: var(--cream); color: var(--ink); cursor: pointer; min-height: 42px; }
.tab:hover { border-color: var(--ink); }
.tab[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.designer-grid { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .designer { padding: 1.4rem; } .designer-grid { grid-template-columns: 1.15fr 1fr; gap: 1.8rem; align-items: start; } .preview-wrap { position: sticky; top: 84px; } }
.preview3d { position: relative; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; border: 2px solid var(--line);
  background: radial-gradient(ellipse at 50% 35%, #ffffff 0%, #fbf3ea 55%, #f1e4d6 100%); touch-action: none; cursor: grab; }
.preview3d:active { cursor: grabbing; }
.preview3d canvas { display: block; width: 100%; height: 100%; }
.preview3d.is-2d { cursor: default; display: grid; place-items: center; }
.preview3d.is-2d svg { width: 92%; }
.preview3d.loading::after { content: "Loading 3D preview…"; position: absolute; inset: 0; display: grid; place-items: center; font-weight: 800; color: var(--ink-soft); }
.preview-bar { display: flex; justify-content: space-between; align-items: center; gap: .6rem; margin-top: .55rem; font-size: .88rem; color: var(--ink-soft); font-weight: 700; }
.preview-note { font-size: .8rem; color: var(--ink-soft); margin: .4rem 0 0; }

.designer-form .d-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .3rem 1rem; border-bottom: 1px dashed var(--line); padding-bottom: .5rem; margin-bottom: .9rem; }
.designer-form h3 { margin: 0; font-size: 1.3rem; }
.d-price { margin: 0; font-weight: 900; font-size: 1.3rem; }
.d-price .delivery { display: inline; margin-left: .3rem; }
.field { border: 0; padding: 0; margin: 0 0 1rem; min-width: 0; }
.field > label, .field legend, .qty-label { display: block; font-weight: 800; margin-bottom: .4rem; padding: 0; }
.field legend .opt { font-weight: 600; color: var(--ink-soft); font-size: .9rem; }
.sel-name { font-weight: 700; color: var(--ink-soft); }
.text-row { position: relative; }
.text-row input { width: 100%; font: inherit; font-size: 1.3rem; font-weight: 800; letter-spacing: .02em; padding: .7rem 4.2rem .7rem .9rem; border: 2px solid var(--ink); border-radius: 14px; background: var(--cream); color: var(--ink); }
.text-row input:focus { outline: 3px solid var(--violet); outline-offset: 2px; background: #fff; }
.text-row input[aria-invalid="true"] { border-color: var(--xmas); }
.counter { position: absolute; right: .9rem; top: 50%; transform: translateY(-50%); font-weight: 800; font-size: .9rem; color: var(--ink-soft); }
.counter.over { color: var(--xmas); }
.field-help { font-size: .85rem; color: var(--ink-soft); margin: .35rem 0 0; }
.field-error { color: var(--xmas); font-weight: 800; font-size: .9rem; margin: .35rem 0 0; }
.field-error:empty { display: none; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip input, .swatch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; gap: .5rem; padding: .45rem 1rem; border: 2px solid var(--line); border-radius: 12px; background: #fff; font-size: 1.2rem; cursor: pointer; min-height: 44px; }
.chip input:checked + span { border-color: var(--ink); background: var(--cream); box-shadow: 0 3px 0 var(--ink); }
.chip input:focus-visible + span { outline: 3px solid var(--violet); outline-offset: 2px; }
.chip-plate span { font-size: .95rem; font-weight: 800; }
.plate-mini { font-style: normal; font-family: Bungee, sans-serif; font-size: .8rem; padding: .05rem .4rem; border: 1.5px solid #1a1a1a; border-radius: 4px; }

.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(68px, 1fr)); gap: .4rem; }
.swatch { position: relative; display: flex; flex-direction: column; align-items: center; gap: .2rem; padding: .35rem .2rem .3rem; border: 2px solid transparent; border-radius: 12px; cursor: pointer; font-size: .78rem; font-weight: 700; color: var(--ink-soft); }
.swatch:hover { background: var(--cream); }
.swatch .dot { width: 34px; height: 34px; border-radius: 50%; background: var(--c); border: 2px solid rgba(31,42,68,.25); box-shadow: inset 0 -4px 6px rgba(0,0,0,.18), inset 0 3px 5px rgba(255,255,255,.35); }
.swatch-none .dot { background: repeating-linear-gradient(45deg, #fff 0 5px, #eee 5px 10px); position: relative; }
.swatch-none .dot::after { content: ""; position: absolute; left: 50%; top: 3px; bottom: 3px; width: 2px; background: var(--xmas); transform: rotate(45deg); }
.swatch input:checked ~ .dot { outline: 3px solid var(--ink); outline-offset: 2px; }
.swatch input:checked ~ .sw-name { color: var(--ink); }
.swatch input:focus-visible ~ .dot { outline: 3px solid var(--violet); outline-offset: 3px; }
.swatches-sm { grid-template-columns: repeat(auto-fill, minmax(34px, 1fr)); gap: .25rem; }
.swatches-sm .swatch { padding: .15rem; }
.swatches-sm .dot { width: 26px; height: 26px; }
.swatches-sm .sw-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.card-colours { border: 0; padding: 0; margin: 0 0 .7rem; }
.card-colours legend { font-weight: 800; font-size: .87rem; margin-bottom: .2rem; }
.hint-plain { color: var(--ink-soft); background: #f3eee8; }

.colour-count { font-size: .85rem; color: var(--ink-soft); font-weight: 700; margin: -.3rem 0 1rem; }
.qty-field { display: flex; align-items: center; gap: 1rem; }
.qty-field .qty-label { margin: 0; }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--ink); border-radius: 999px; overflow: hidden; background: #fff; }
.qty button { width: 44px; height: 42px; border: 0; background: none; font: inherit; font-size: 1.3rem; font-weight: 900; cursor: pointer; color: var(--ink); }
.qty button:hover { background: var(--sun); }
.qty output { min-width: 2rem; text-align: center; font-weight: 900; }
.qty-sm button { width: 34px; height: 32px; font-size: 1.1rem; }
.confirm { display: flex; gap: .7rem; align-items: flex-start; background: rgba(255,200,69,.22); border: 2px dashed #e0a800; border-radius: 14px; padding: .8rem .9rem; margin-bottom: 1rem; font-weight: 700; cursor: pointer; }
.confirm input { width: 22px; height: 22px; margin-top: .15rem; accent-color: var(--coral); flex: 0 0 auto; }
.added-msg { margin: .7rem 0 0; font-weight: 800; color: var(--teal); }

/* Basket drawer */
body.no-scroll { overflow: hidden; }
.drawer { position: fixed; inset: 0; z-index: 200; }
.drawer-backdrop, .modal-backdrop { position: absolute; inset: 0; background: rgba(31,42,68,.45); opacity: 0; transition: opacity .2s; }
.drawer.open .drawer-backdrop { opacity: 1; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--cream); border-left: 2px solid var(--ink); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .22s ease; }
.drawer.open .drawer-panel { transform: none; }
@media (prefers-reduced-motion: reduce) { .drawer-panel, .drawer-backdrop { transition: none; } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.2rem; border-bottom: 2px solid var(--ink); background: #fff; }
.drawer-head h2 { margin: 0; font-size: 1.4rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 1rem 1.2rem; }
.basket-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.basket-line { display: grid; grid-template-columns: 88px 1fr; gap: .8rem; background: #fff; border: 2px solid var(--line); border-radius: 16px; padding: .7rem; }
.basket-line.has-problem { border-color: var(--xmas); }
.li-thumb img { width: 88px; height: 66px; object-fit: cover; border-radius: 10px; background: #f6ede3; }
.li-name { font-weight: 900; margin: 0 0 .15rem; line-height: 1.25; }
.li-text { display: block; font-weight: 900; font-size: 1.15rem; color: var(--coral-dark); margin-bottom: .25rem; word-break: break-word; }
.li-chips { display: flex; flex-wrap: wrap; gap: .25rem; }
.li-col { display: inline-flex; align-items: center; gap: .3rem; font-size: .76rem; font-weight: 700; background: var(--cream); border: 1px solid var(--line); border-radius: 999px; padding: .1rem .5rem; }
.li-col i { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(0,0,0,.25); }
.li-col i.none { background: repeating-linear-gradient(45deg, #fff 0 3px, #ddd 3px 6px) !important; }
.li-foot { display: flex; align-items: center; gap: .8rem; margin-top: .55rem; }
.li-price { margin-left: auto; font-size: 1.05rem; }
.basket-empty { text-align: center; padding: 2rem 0; }
.drawer-foot { border-top: 2px solid var(--ink); background: #fff; padding: 1rem 1.2rem 1.2rem; }
.totals { display: flex; justify-content: space-between; font-weight: 700; margin-bottom: .2rem; }
.totals .free { color: var(--teal); }
.totals.total { font-size: 1.3rem; font-weight: 900; margin: .2rem 0 .8rem; }
.small-print { font-size: .8rem; color: var(--ink-soft); margin: .6rem 0 0; text-align: center; }

/* Checkout modal */
.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 0; }
.modal .modal-backdrop { opacity: 1; }
.modal-panel { position: relative; width: min(1000px, 100%); height: 100%; max-height: 100%; overflow-y: auto; background: #fff; display: flex; flex-direction: column; }
@media (min-width: 760px) { .modal { padding: 2rem; } .modal-panel { height: auto; max-height: calc(100vh - 4rem); border: 2px solid var(--ink); border-radius: 22px; box-shadow: 0 8px 0 var(--ink); } }
.modal-head { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: .8rem 1.2rem; background: #fff; border-bottom: 1px solid var(--line); }
.modal-head h2 { margin: 0; font-size: 1.25rem; }
#checkout { min-height: 200px; padding: .5rem 0 1rem; }
.checkout-msg:empty { display: none; }
.checkout-msg { margin: 1.2rem; padding: 1rem 1.2rem; border-radius: 14px; background: var(--cream); font-weight: 700; display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.checkout-msg.warn { background: rgba(255,200,69,.25); border: 2px dashed #e0a800; display: block; }
.checkout-msg.error { background: rgba(200,53,44,.1); color: var(--xmas); }
.dev-note { color: var(--ink-soft); font-weight: 600; }
.spinner { width: 20px; height: 20px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--coral); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Thanks page order summary */
.order-summary { text-align: left; margin: 1.2rem 0; border: 2px solid var(--line); border-radius: 14px; overflow: hidden; }
.order-summary li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem .9rem; border-bottom: 1px dashed var(--line); }
.order-summary li:last-child { border-bottom: 0; }
.order-summary ul { list-style: none; margin: 0; padding: 0; }
.order-summary .os-total { display: flex; justify-content: space-between; padding: .7rem .9rem; background: var(--cream); font-weight: 900; }
[hidden] { display: none !important; }
/* compact swatches: dots only, name shown in the heading */
.swatches { grid-template-columns: repeat(auto-fill, 37px); gap: .25rem; }
.swatch { padding: 2px; border-radius: 50%; }
.swatch .sw-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.swatch .dot { width: 31px; height: 31px; }
.designer-form .field { margin-bottom: .85rem; }
section[id] { scroll-margin-top: 72px; }
.preview-bar .link-btn { white-space: nowrap; }
