/* Product lettering fonts (also used by the print renderer) */
@font-face { font-family: "DT Festive"; src: url(/fonts/festive.ttf) format("truetype"); font-display: block; }
@font-face { font-family: "DT Classic"; src: url(/fonts/classic.ttf) format("truetype"); font-display: block; }
@font-face { font-family: "DT Playful"; src: url(/fonts/playful.ttf) format("truetype"); font-display: swap; }
/* Website fonts */
@font-face { font-family: "Baloo 2"; src: url(/fonts/baloo-800.woff2) format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Nunito"; src: url(/fonts/nunito-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Nunito"; src: url(/fonts/nunito-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Nunito"; src: url(/fonts/nunito-800.woff2) format("woff2"); font-weight: 800; font-display: swap; }

:root {
  color-scheme: light;
  --bg: #fff6f8;
  --surface: #ffffff;
  --pink-soft: #ffe3ea;
  --pink: #ff9db6;
  --mint: #d8f5e4;
  --butter: #fff0bf;
  --ink: #2a1630;
  --ink-soft: #6e5873;
  --line-soft: #f2d2dc;
  --red: #e5243b;
  --red-dark: #c11a2f;
  --green: #138a4c;
  --gold: #ffc93c;
  --error: #c11a2f;
  --pop: 4px 4px 0 var(--ink);
  --pop-sm: 3px 3px 0 var(--ink);
  --radius: 18px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 20px 20px, rgba(255, 157, 182, .35) 2.5px, transparent 3px),
    radial-gradient(circle at 70px 60px, rgba(255, 201, 60, .35) 2px, transparent 2.5px);
  background-size: 90px 90px;
  color: var(--ink);
  font: 17px/1.55 "Nunito", system-ui, sans-serif;
}
h1, h2, h3 { font-family: "Baloo 2", system-ui, sans-serif; font-weight: 800; line-height: 1.05; margin: 0; letter-spacing: -.01em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
[hidden] { display: none !important; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Candy-cane notice bar */
.notice {
  background: repeating-linear-gradient(-45deg, var(--red) 0 16px, #fff 16px 32px);
  border-bottom: 3px solid var(--ink);
  text-align: center; padding: 8px 16px;
}
.notice > span {
  display: inline-block; background: #fff; border: 2px solid var(--ink); border-radius: 99px;
  padding: 3px 14px; font-weight: 800; font-size: 14px;
}

/* Header */
.topbar { position: sticky; top: 0; z-index: 10; background: #fff; border-bottom: 3px solid var(--ink); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 68px; }
.topbar .brand { min-width: 0; min-height: 44px; }
.brand { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-family: "Baloo 2"; font-weight: 800; font-size: 28px; color: var(--red); text-decoration: none; }
.brand span {
  font-family: "Nunito"; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em;
  color: var(--ink); background: var(--pink); border: 2px solid var(--ink); border-radius: 99px; padding: 2px 10px;
  transform: rotate(-4deg);
}
.basket-btn {
  display: inline-flex; align-items: center; gap: 8px; border: 2.5px solid var(--ink); background: var(--red); color: #fff;
  border-radius: 99px; padding: 8px 16px; cursor: pointer; font-weight: 800; box-shadow: var(--pop-sm);
  white-space: nowrap; transition: transform .12s, box-shadow .12s;
}
a.basket-btn { text-decoration: none; }
.basket-btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.basket-btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.badge { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 99px; background: var(--gold); color: var(--ink); border: 2px solid var(--ink); font-size: 13px; }

/* Hero */
.intro { padding: 40px 0 8px; }
.intro h1 { font-size: clamp(38px, 6vw, 64px); max-width: 760px; }
.intro h1 em { font-style: normal; color: var(--red); position: relative; white-space: nowrap; z-index: 0; }
.intro h1 em::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: .08em; height: .28em; background: var(--pink); z-index: -1; border-radius: 99px; transform: rotate(-1.5deg); }
.intro p { color: var(--ink-soft); max-width: 600px; margin: 12px 0 0; font-size: 19px; }
.perks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; padding: 0; list-style: none; }
.perks li { background: #fff; border: 2px solid var(--ink); border-radius: 99px; padding: 5px 14px; font-weight: 800; font-size: 14px; box-shadow: var(--pop-sm); }
.perks li:nth-child(2) { background: var(--mint); transform: rotate(1.5deg); }
.perks li:nth-child(3) { background: var(--butter); transform: rotate(-1.5deg); }

/* Customiser */
.customiser { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 36px; padding: 28px 0 64px; }
.stage { position: sticky; top: 88px; align-self: start; }
.stage-card { background: var(--surface); border: 3px solid var(--ink); border-radius: 28px; box-shadow: 6px 6px 0 var(--ink); padding: 14px; }
.mockup {
  display: block; width: 100%; height: auto; aspect-ratio: 400 / 440; border-radius: 18px;
  background:
    radial-gradient(circle at 15% 20%, #fff 0 3px, transparent 3.5px),
    radial-gradient(circle at 80% 12%, #fff 0 2px, transparent 2.5px),
    radial-gradient(circle at 88% 70%, #fff 0 3px, transparent 3.5px),
    radial-gradient(circle at 10% 78%, #fff 0 2px, transparent 2.5px),
    radial-gradient(ellipse at 50% 40%, #fff7f9 0%, var(--pink-soft) 75%);
}
.mockup > svg, .mockup > canvas { display: block; width: 100%; height: 100%; }
.stage-meta { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 6px 4px; gap: 12px; }
.stage-meta .title { font-family: "Baloo 2"; font-size: 21px; line-height: 1.1; }
.stage-meta .sub { color: var(--ink-soft); font-size: 14px; margin-top: 4px; }
.price {
  font-family: "Baloo 2"; font-size: 28px; color: #fff; background: var(--red); border: 2.5px solid var(--ink);
  border-radius: 14px; padding: 2px 12px; white-space: nowrap; box-shadow: var(--pop-sm); transform: rotate(2deg);
}

.options { display: flex; flex-direction: column; gap: 26px; }
.step { display: flex; flex-direction: column; gap: 12px; }
.step-label { display: flex; align-items: center; gap: 10px; font-family: "Baloo 2"; font-size: 22px; line-height: 1.1; }
.step-num {
  display: inline-grid; place-items: center; width: 34px; height: 34px; flex: none;
  background: var(--pink); color: var(--ink); border: 2.5px solid var(--ink); border-radius: 46% 54% 50% 50% / 55% 45% 55% 45%;
  font-family: "Baloo 2"; font-size: 17px; box-shadow: 2px 2px 0 var(--ink);
}
.step-hint { font-family: "Nunito"; font-weight: 700; color: var(--ink-soft); font-size: 15px; }
a.step-hint, .step-hint a { color: var(--red); }

.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  border: 2.5px solid var(--ink); background: #fff; border-radius: 99px; min-height: 42px; padding: 8px 16px; cursor: pointer;
  font-size: 15px; font-weight: 700; transition: transform .12s, box-shadow .12s, background .12s;
}
.chip:hover { transform: translate(-1px, -1px); box-shadow: var(--pop-sm); }
.chip[aria-pressed="true"] { background: var(--red); color: #fff; box-shadow: var(--pop-sm); }
.chip small { font-weight: 700; opacity: .75; margin-left: 4px; font-size: 13px; }
.chip { min-width: 44px; text-align: center; justify-content: center; }
.chip .font-sample { font-size: 19px; line-height: 1; }

.dogs { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 12px; }
.dog-card {
  position: relative; border: 2.5px solid var(--ink); background: #fff; border-radius: var(--radius); padding: 8px 6px 10px; cursor: pointer;
  text-align: center; transition: transform .15s, box-shadow .15s, background .15s;
}
.dog-card:hover { transform: translate(-1px, -2px) rotate(-1.5deg); box-shadow: var(--pop); }
.dog-card img { width: 100%; aspect-ratio: 1; object-fit: contain; display: block; }
.dog-card span { display: block; font-size: 13.5px; font-weight: 800; line-height: 1.2; margin-top: 2px; }
.dog-card[aria-pressed="true"] { background: var(--pink); box-shadow: var(--pop); transform: rotate(-1.5deg); }
.dog-card[aria-pressed="true"] span { color: var(--ink); }
.dog-count { display: block; margin-top: 2px; font-size: 13px; font-weight: 700; color: var(--red); }
.dog-card[aria-pressed="true"] .dog-count { color: var(--ink); }
.pick-summary { display: flex; align-items: center; gap: 12px; background: #fff; border: 2.5px solid var(--ink); border-radius: var(--radius); padding: 8px 12px; box-shadow: var(--pop-sm); }
.pick-summary img { width: 56px; height: 56px; object-fit: contain; background: var(--pink-soft); border-radius: 12px; border: 2px solid var(--ink); flex: none; }
.pick-text { flex: 1; min-width: 0; display: grid; line-height: 1.2; }
.pick-text b { font-family: "Baloo 2"; font-size: 19px; line-height: 1.1; }
.pick-text span { color: var(--ink-soft); font-size: 14px; font-weight: 700; }
.dog-card[aria-pressed="true"]::after { content: "✓"; position: absolute; top: -10px; right: -10px; width: 26px; height: 26px; display: grid; place-items: center; background: var(--red); color: #fff; border: 2.5px solid var(--ink); border-radius: 50%; font-weight: 800; font-size: 14px; }
.dog-card:nth-child(even)[aria-pressed="true"] { transform: rotate(1.5deg); }
.coat-row { display: grid; gap: 10px; background: var(--butter); border: 2.5px solid var(--ink); border-radius: var(--radius); padding: 12px 14px; box-shadow: var(--pop-sm); }
.coat-label { font-weight: 800; font-size: 15px; }
.coat-chip { display: inline-flex; align-items: center; gap: 8px; padding: 4px 14px 4px 5px; }
.coat-chip img { width: 30px; height: 30px; border-radius: 50%; background: var(--pink-soft); border: 2px solid var(--ink); object-fit: cover; }

.swatches { display: flex; flex-wrap: wrap; gap: 12px; }
.swatch {
  width: 40px; height: 40px; border-radius: 50%; border: 2.5px solid var(--ink); cursor: pointer; padding: 0;
  box-shadow: inset 0 0 0 3px #fff; transition: transform .12s;
}
.swatch:hover { transform: scale(1.08); }
.swatch[aria-pressed="true"] { box-shadow: inset 0 0 0 3px #fff, 0 0 0 3px var(--red); transform: scale(1.08); }

.field { display: flex; gap: 10px; align-items: center; }
.field input {
  flex: 1; min-width: 0; padding: 12px 16px; border-radius: 14px; border: 2.5px solid var(--ink); background: #fff;
  font-size: 18px; font-weight: 700;
}
.field input:focus { box-shadow: var(--pop-sm); outline: none; }
.field input[aria-invalid="true"] { border-color: var(--error); }
.counter { font-size: 13px; color: var(--ink-soft); font-weight: 700; min-width: 44px; text-align: right; }
.error { color: var(--error); font-size: 15px; font-weight: 700; margin: 0; }

.buy { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding-top: 6px; }
.qty { display: flex; align-items: center; border: 2.5px solid var(--ink); border-radius: 14px; background: #fff; box-shadow: var(--pop-sm); }
.qty button { width: 42px; height: 50px; border: 0; background: none; cursor: pointer; font-size: 22px; font-weight: 800; }
.qty output { width: 28px; text-align: center; font-weight: 800; }
.btn-primary {
  flex: 1; min-width: 200px; height: 56px; border: 3px solid var(--ink); border-radius: 16px; background: var(--red); color: #fff;
  font-family: "Baloo 2"; font-size: 22px; cursor: pointer; box-shadow: var(--pop); transition: transform .12s, box-shadow .12s, background .12s;
}
.btn-primary:hover { background: var(--red-dark); transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.btn-primary:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn-primary:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: var(--pop-sm); }
.fine { font-size: 14px; color: var(--ink-soft); margin: 0; }
.fine a { color: var(--red); font-weight: 800; }

/* Info sections */
.band { background: #fff; border-top: 3px solid var(--ink); padding: 56px 0; }
.band + .band { background: var(--bg); }
.band h2 { font-size: clamp(32px, 4vw, 44px); margin-bottom: 24px; }
.how { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: h; }
.how li { background: var(--pink-soft); border: 3px solid var(--ink); border-radius: 22px; padding: 22px; counter-increment: h; box-shadow: var(--pop); }
.how li:nth-child(2) { background: var(--mint); transform: rotate(.8deg); }
.how li:nth-child(3) { background: var(--butter); transform: rotate(-.8deg); }
.how li::before {
  content: counter(h); display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--red); color: #fff; border: 2.5px solid var(--ink); font-family: "Baloo 2"; font-size: 20px; margin-bottom: 10px;
}
.how b { display: block; font-family: "Baloo 2"; font-size: 24px; line-height: 1.1; margin-bottom: 6px; }
.how span { color: var(--ink); font-size: 16px; }
.faq { display: grid; gap: 12px; max-width: 780px; }
.faq details { background: #fff; border: 2.5px solid var(--ink); border-radius: 16px; padding: 14px 20px; box-shadow: var(--pop-sm); }
.faq summary { font-weight: 800; font-size: 18px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: "Baloo 2"; font-size: 26px; line-height: 1; color: var(--red); }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--ink-soft); margin: 10px 0 0; }
.faq a { color: var(--red); font-weight: 800; }

/* Footer */
footer { background: var(--ink); color: #f5dfe7; padding: 32px 0 44px; font-size: 14px; border-top: 3px solid var(--ink); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0 22px; margin-bottom: 10px; }
.footer-nav a { color: #fff; text-decoration: none; font-weight: 800; display: inline-flex; align-items: center; min-height: 44px; }
.footer-nav a:hover { color: var(--pink); }

/* Information & legal pages */
.page { max-width: 820px; padding-top: 44px; padding-bottom: 64px; }
.page h1 { font-size: clamp(38px, 5vw, 56px); margin-bottom: 8px; }
.page .updated { color: var(--ink-soft); font-size: 15px; font-weight: 700; margin: 0 0 28px; }
.page h2 { font-size: 28px; margin: 36px 0 10px; }
.page h3 { font-size: 20px; margin: 22px 0 6px; }
.page ul, .page ol { padding-left: 22px; }
.page li { margin: 5px 0; }
.page a { color: var(--red); font-weight: 800; }
.page .callout { background: var(--butter); border: 2.5px solid var(--ink); border-radius: 16px; padding: 16px 20px; margin: 18px 0; box-shadow: var(--pop-sm); }
.table-wrap {
  overflow-x: auto; margin: 14px 0 8px; border: 2.5px solid var(--ink); border-radius: 16px; box-shadow: var(--pop-sm); -webkit-overflow-scrolling: touch;
  /* soft shadows at the edges appear only when there is more to scroll to */
  background:
    linear-gradient(to right, #fff 30%, rgba(255,255,255,0)) 0 0 / 40px 100% no-repeat local,
    linear-gradient(to left, #fff 30%, rgba(255,255,255,0)) 100% 0 / 40px 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, rgba(42,22,48,.28), rgba(42,22,48,0)) 0 0 / 14px 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, rgba(42,22,48,.28), rgba(42,22,48,0)) 100% 0 / 14px 100% no-repeat scroll,
    #fff;
}
.page table { border-collapse: collapse; width: 100%; font-size: 15px; }
.page th, .page td { padding: 10px 12px; border-bottom: 1.5px solid var(--line-soft); text-align: center; white-space: nowrap; }
.page th:first-child, .page td:first-child { text-align: left; }
.page thead th { background: var(--pink-soft); font-weight: 800; border-bottom: 2.5px solid var(--ink); }
.page tbody tr:last-child td { border-bottom: 0; }
.page .text-table th, .page .text-table td { white-space: normal; text-align: left; vertical-align: top; }

/* Contact form */
.contact-form { display: grid; gap: 18px; background: #fff; border: 3px solid var(--ink); border-radius: 22px; padding: 24px; margin: 8px 0 26px; box-shadow: var(--pop); }
.form-row { display: grid; gap: 6px; }
.form-row label { font-weight: 800; }
.form-row .optional { font-weight: 700; color: var(--ink-soft); font-size: 14px; }
.form-row small { color: var(--ink-soft); font-size: 14px; }
.form-row input[type=text], .form-row input[type=email], .form-row select, .form-row textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 2.5px solid var(--ink); background: var(--bg); font-size: 16px;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: none; box-shadow: var(--pop-sm); background: #fff; }
.form-row textarea { resize: vertical; min-height: 130px; }
.contact-form .btn-primary { justify-self: start; min-width: 220px; padding: 0 28px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
mark.todo { background: var(--gold); color: var(--ink); padding: 0 4px; border-radius: 4px; font-weight: 800; }

/* Colour picker pop-up */
dialog.sheet { border: 3px solid var(--ink); border-radius: 24px; padding: 0; background: var(--bg); color: var(--ink); width: min(600px, calc(100vw - 24px)); max-height: min(82dvh, 680px); box-shadow: 6px 6px 0 var(--ink); }
dialog.sheet[open] { display: flex; flex-direction: column; animation: sheet-in .22s ease-out; }
dialog.sheet::backdrop { background: rgba(42, 22, 48, .55); }
@keyframes sheet-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.sheet-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px 6px; }
.sheet-head h2 { font-size: 28px; min-width: 0; padding-right: 8px; }
.sheet-hint { margin: 0; padding: 0 18px 8px; color: var(--ink-soft); font-weight: 700; }
.coat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 12px; padding: 8px 18px 20px; overflow-y: auto; }
.coat-card { position: relative; border: 2.5px solid var(--ink); background: #fff; border-radius: var(--radius); padding: 8px 6px 10px; cursor: pointer; text-align: center; transition: transform .15s, box-shadow .15s, background .15s; }
.coat-card:hover { transform: translate(-1px, -2px) rotate(-1.5deg); box-shadow: var(--pop); }
.coat-card img { width: 100%; aspect-ratio: 1; object-fit: contain; display: block; }
.coat-card span { display: block; font-size: 15px; font-weight: 800; line-height: 1.2; margin-top: 2px; }
.coat-card[aria-pressed="true"] { background: var(--pink); box-shadow: var(--pop); }
.coat-card[aria-pressed="true"]::after { content: "✓"; position: absolute; top: -10px; right: -10px; width: 26px; height: 26px; display: grid; place-items: center; background: var(--red); color: #fff; border: 2.5px solid var(--ink); border-radius: 50%; font-weight: 800; font-size: 14px; }

/* Basket drawer */
dialog.drawer {
  margin: 0 0 0 auto; height: 100dvh; max-height: 100dvh; width: min(430px, 100vw); max-width: 100vw;
  border: 0; border-left: 3px solid var(--ink); padding: 0; background: var(--bg); color: var(--ink);
  display: none; flex-direction: column;
}
dialog.drawer[open] { display: flex; }
dialog.drawer::backdrop { background: rgba(42, 22, 48, .5); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; background: #fff; border-bottom: 3px solid var(--ink); }
.drawer-head h2 { font-size: 28px; }
.icon-btn { flex: none; border: 2.5px solid var(--ink); background: #fff; font-size: 24px; line-height: 1; cursor: pointer; width: 42px; height: 42px; border-radius: 50%; box-shadow: 2px 2px 0 var(--ink); }
.icon-btn:hover { background: var(--pink-soft); }
.drawer-body { flex: 1; overflow: auto; padding: 14px 20px; }
.empty { color: var(--ink-soft); text-align: center; padding: 48px 0; font-weight: 700; }
.line { display: grid; grid-template-columns: 80px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 2px dashed var(--line-soft); align-items: start; }
.line .thumb { width: 80px; aspect-ratio: 10 / 11; background: var(--pink-soft); border-radius: 14px; border: 2px solid var(--ink); overflow: hidden; }
.line .thumb > * { display: block; width: 100%; height: 100%; }
.line .t { font-weight: 800; font-size: 15px; line-height: 1.25; }
.line .d { color: var(--ink-soft); font-size: 13px; }
.line > div:nth-child(2) { min-width: 0; }
.line .controls { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 8px; font-weight: 800; }
.line .controls button { width: 40px; height: 40px; border-radius: 10px; border: 2px solid var(--ink); background: #fff; cursor: pointer; font-weight: 800; font-size: 18px; }
.line .remove { border: 0 !important; background: none !important; color: var(--red); text-decoration: underline; width: auto !important; height: 40px !important; padding: 0 8px; font-size: 14px !important; }
.line .p { font-weight: 800; white-space: nowrap; }
.upsell { display: grid; grid-template-columns: 80px 1fr; gap: 12px; align-items: center; margin: 16px 0 6px; padding: 12px; background: var(--butter); border: 2.5px solid var(--ink); border-radius: 16px; box-shadow: var(--pop-sm); }
.upsell .thumb { width: 80px; aspect-ratio: 10 / 11; background: var(--pink-soft); border-radius: 12px; border: 2px solid var(--ink); overflow: hidden; }
.upsell .thumb > * { display: block; width: 100%; height: 100%; }
.upsell b { display: block; font-family: "Baloo 2"; font-size: 18px; line-height: 1.1; }
.upsell span { display: block; font-size: 13px; color: var(--ink-soft); margin: 2px 0 8px; }
.btn-small { border: 2.5px solid var(--ink); background: var(--red); color: #fff; border-radius: 99px; min-height: 42px; padding: 6px 16px; font-weight: 800; font-size: 14px; cursor: pointer; box-shadow: 2px 2px 0 var(--ink); }
.btn-small:hover { background: var(--red-dark); }
.btn-small:active { transform: translate(2px, 2px); box-shadow: none; }
.drawer-foot { padding: 16px 20px 20px; border-top: 3px solid var(--ink); background: #fff; display: grid; gap: 10px; }
.drawer-foot .row { display: flex; justify-content: space-between; font-size: 15px; font-weight: 700; }
.drawer-foot .row.total { font-family: "Baloo 2"; font-size: 24px; }
.drawer-foot .btn-primary { width: 100%; }

/* Thank-you page */
.thanks { max-width: 660px; margin: 48px auto; background: #fff; border: 3px solid var(--ink); border-radius: 26px; padding: 34px; box-shadow: 6px 6px 0 var(--ink); }
.thanks h1 { font-size: 44px; margin-bottom: 10px; color: var(--red); }
.thanks ul { padding-left: 20px; font-weight: 700; }
.thanks a { color: var(--red); font-weight: 800; }

@media (max-width: 900px) {
  /* Single column: the preview stays pinned under the header while you scroll through the options */
  .customiser { display: block; padding-top: 12px; }
  .options { margin-top: 18px; }
  .stage { position: sticky; top: 68px; z-index: 5; margin: 0 -6px; padding: 6px 6px 8px; background: linear-gradient(var(--bg) 80%, rgba(255, 246, 248, 0)); }
  .stage-card { border-radius: 20px; box-shadow: 4px 4px 0 var(--ink); padding: 8px; }
  .mockup { height: min(27vh, 280px); width: calc(min(27vh, 280px) * 0.909); max-width: 100%; margin: 0 auto; border-radius: 14px; }
  .stage-meta { padding: 8px 6px 2px; }
  .stage-meta .title { font-size: 17px; }
  .stage-meta .sub { display: none; }
  .price { font-size: 22px; padding: 0 10px; }
  .how { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  dialog.sheet { margin: auto auto 0; width: 100vw; max-width: 100vw; border-radius: 24px 24px 0 0; border-bottom: 0; box-shadow: none; max-height: 82dvh; }
  .coat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .intro { padding-top: 24px; }
  .intro p { font-size: 17px; }
  .brand { font-size: 23px; }
  .brand span { display: none; }
  .basket-btn { padding: 6px 12px; font-size: 14px; min-height: 44px; }
  .topbar .wrap { height: 62px; }
  .stage { top: 62px; }
  .thanks { margin: 24px 16px; padding: 22px; }
  .step-label { font-size: 20px; }
  .dogs { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .buy { gap: 10px; }
  .btn-primary { min-width: 0; font-size: 20px; }
  .line { grid-template-columns: 64px 1fr auto; gap: 10px; }
  .line .thumb { width: 64px; }
  .upsell { grid-template-columns: 64px 1fr; }
  .upsell .thumb { width: 64px; }
  .page th, .page td { padding: 8px 5px; font-size: 13.5px; }
  .page th:first-child, .page td:first-child { white-space: normal; padding-left: 10px; min-width: 72px; }
  .contact-form { padding: 18px; }
  .notice > span { font-size: 13px; padding: 3px 10px; }
}
@media (max-width: 400px) {
  .basket-btn .long { display: none; }
}
@media (max-width: 340px) {
  .brand { font-size: 20px; }
  .dogs { gap: 8px; }
  .dog-card span { font-size: 13px; }
  .drawer-body { padding: 12px 14px; }
  .drawer-head, .drawer-foot { padding-left: 14px; padding-right: 14px; }
  .chip { padding: 8px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  .dog-card[aria-pressed="true"], .dog-card:hover { transform: none; }
}
