/* The sticker page. Same colours and type as the main page (index.html), kept short. */
:root {
  --paper: #FCF8F6; --card: #FFFFFF; --ink: #2F2B2C; --ink-soft: #574F51;
  --blush: #E9B9BD; --blush-deep: #9C4A56; --blush-wash: #F8E6E7;
  --sage-deep: #486647; --sage-wash: #EAF0E8; --line: #EAD9DA;
  --script: "Dancing Script", "Brush Script MT", cursive; --serif: "Lora", Georgia, serif; --body: "Nunito", "Segoe UI", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --paper: #1E1A1B; --card: #282324; --ink: #F3ECEC; --ink-soft: #BDB1B3; --blush: #D79CA2; --blush-deep: #E7A3AB; --blush-wash: #3A2A2D;
  --sage-deep: #B3C8AF; --sage-wash: #263026; --line: #3E3436; color-scheme: dark } }
* { box-sizing: border-box }
[hidden] { display: none !important }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.6 var(--body) }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)) }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; margin: 0; line-height: 1.2; text-wrap: balance }
a { color: var(--sage-deep) }
:focus-visible { outline: 3px solid var(--blush-deep); outline-offset: 2px; border-radius: 6px }
button, .btn, a, input, select { touch-action: manipulation }
.sample { background: var(--sage-wash); color: var(--sage-deep); font-size: .88rem; font-weight: 700; text-align: center }
.sample .wrap { padding-block: 8px }
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; flex-wrap: wrap }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink) }
.brand img { width: 58px; height: 58px; border-radius: 50% }
.brand span { font-family: var(--script); font-size: 1.6rem; font-weight: 700; line-height: 1 }
nav { display: flex; gap: 4px 6px; flex-wrap: wrap; font-weight: 700 }
nav a { color: var(--ink); text-decoration: none; padding: 10px 8px }
nav a[aria-current] { color: var(--blush-deep) }
.intro .wrap { padding-block: 20px 8px }
.intro h1 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.8rem) }
.intro h1 .script { display: block; color: var(--blush-deep); font-family: var(--script); font-weight: 700; font-size: 1.15em }
.intro p { color: var(--ink-soft); max-width: 38em; font-size: 1.08rem }
.closed { background: var(--blush-wash); padding: 16px; border-radius: 14px; font-weight: 700 }
.builder { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 28px; padding-block: 18px 56px; align-items: start }
.steps { display: grid; gap: 16px }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 22px; display: grid; gap: 14px }
.step h2 { font-size: 1.15rem; display: flex; gap: 10px; align-items: baseline }
.step h2 i { font-style: normal; font-family: var(--script); color: var(--sage-deep); font-size: 1.5rem }
.field { display: grid; gap: 5px; font-weight: 700; font-size: .95rem }
.field span { font-weight: 400; color: var(--ink-soft); font-size: .875rem }
input, select, textarea { font: inherit; color: var(--ink); background: var(--paper); border: 2px solid var(--line); border-radius: 12px; padding: 10px 12px; width: 100% }
textarea { min-height: 64px; resize: vertical }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px }
.qty input { max-width: 8rem }
.opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px }
.opt { border: 2px solid var(--line); border-radius: 14px; padding: 12px; cursor: pointer; background: var(--card); color: var(--ink); font: inherit; text-align: left; display: grid; gap: 2px }
.opt[aria-pressed="true"] { border-color: var(--blush-deep); background: var(--blush-wash) }
.opt .sample-text { font-size: 1.6rem; line-height: 1.15; overflow: hidden; white-space: nowrap; text-overflow: ellipsis }
.opt small { color: var(--ink-soft); font-size: .875rem }
.opt .price { font-weight: 800; color: var(--blush-deep); font-variant-numeric: tabular-nums }
.swatches { display: flex; flex-wrap: wrap; gap: 10px }
.sw { display: grid; justify-items: center; gap: 4px; background: none; border: 0; padding: 4px; cursor: pointer; color: var(--ink); font: 700 .8rem var(--body); min-width: 52px }
.sw i { width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 0 0 2px var(--line), inset 0 0 0 1px rgba(0,0,0,.15) }
.sw[aria-pressed="true"] i { box-shadow: 0 0 0 3px var(--card), 0 0 0 5px var(--blush-deep) }
.note { font-size: .875rem; color: var(--ink-soft); margin: 0 }
.warn { margin: 0; color: #A33; font-weight: 700; font-size: .9rem }
.side { position: sticky; top: 16px; display: grid; gap: 16px }
.preview { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 14px; display: grid; gap: 10px }
.stage { border-radius: 14px; aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 8%; overflow: hidden }
.stage[data-bg="bin"] { background: linear-gradient(180deg, #2E3B31, #1F2922) }
.stage[data-bg="wall"] { background: linear-gradient(180deg, #F1ECE4, #E3DCD1) }
.stage[data-bg="glass"] { background: linear-gradient(135deg, #9CC3D5, #5D8AA1 60%, #84AFC3) }
.stage svg { width: 100%; height: 100%; filter: drop-shadow(0 1px 1px rgba(0,0,0,.25)) }
.bgs { display: flex; gap: 8px; flex-wrap: wrap }
.bgs button { background: var(--card); border: 2px solid var(--line); border-radius: 999px; padding: 6px 14px; font: 700 .875rem var(--body); color: var(--ink); cursor: pointer }
.bgs button[aria-pressed="true"] { border-color: var(--blush-deep); color: var(--blush-deep) }
.slip { background: var(--card); border-radius: 20px; padding: 22px; border: 2px dashed var(--blush); display: grid; gap: 12px }
.slip h3 { font-family: var(--script); font-size: 1.8rem; color: var(--blush-deep) }
.slip dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: .95rem }
.slip dt { color: var(--ink-soft) }
.slip dd { margin: 0; font-weight: 700; min-width: 0; overflow-wrap: anywhere }
.total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: 12px }
.total b { font-size: 1.6rem; font-variant-numeric: tabular-nums }
.btn { display: inline-flex; justify-content: center; border-radius: 999px; padding: 13px 24px; font: 800 1rem var(--body); background: var(--blush-deep); color: #fff; text-decoration: none; text-align: center }
.btn[aria-disabled="true"] { opacity: .5 }
.btn:active, .opt:active { transform: scale(.98) }
.copyrow { display: flex; gap: 8px; flex-wrap: wrap; font-size: .875rem; color: var(--ink-soft) }
.copyrow button { background: none; border: 0; color: var(--sage-deep); font: 700 .875rem var(--body); cursor: pointer; text-decoration: underline; padding: 0 }
footer { background: var(--ink); color: var(--paper) }
footer .wrap { padding-block: 30px; display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center }
footer .script { font-family: var(--script); color: var(--blush); font-size: 1.6rem; font-weight: 700 }
footer a { color: var(--blush) }
@media (max-width: 860px) { .builder { grid-template-columns: 1fr } .side { display: contents } .preview { order: -1; position: sticky; top: 0; z-index: 2 } .stage { aspect-ratio: 16 / 7 } .slip { order: 1 } }
@media (max-width: 480px) { .two { grid-template-columns: 1fr } .intro h1 { font-size: 1.8rem } }
@media (prefers-reduced-motion: no-preference) { .opt, .sw i, .bgs button { transition: border-color .15s, background-color .15s, box-shadow .15s, transform .12s } }
