/* 707 Slaps — print shop design system.
   Palette is process color on paper: ink, cyan, magenta, yellow. */

:root {
  --ink: #15120e;
  --ink-2: #3b352c;
  --muted: #6e6557;
  --faint: #a39a8a;
  --paper: #fff7e8;
  --paper-2: #f6ead2;
  --paper-3: #eddcbc;
  --white: #ffffff;
  --cream: #fff3d6;
  --yellow: #ffcc1f;
  --yellow-2: #f2b705;
  --magenta: #ff3d8b;
  --magenta-2: #e0206f;
  --cyan: #1fb5ea;
  --cyan-2: #0f93c4;
  --green: #2fbf71;
  --red: #e5412d;
  --line-soft: #e6d6b8;

  --f-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --f-hand: "Permanent Marker", "Comic Sans MS", cursive;
  --f-mono: "Space Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --r: 20px;
  --r-md: 14px;
  --r-sm: 10px;
  --stroke: 2.5px;
  --drop: 4px 5px 0 var(--ink);
  --drop-sm: 3px 3px 0 var(--ink);
  --drop-lg: 7px 8px 0 var(--ink);
  --pop: cubic-bezier(.34, 1.56, .64, 1);
  --out: cubic-bezier(.16, 1, .3, 1);
  --maxw: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 16.5px/1.55 var(--f-display); font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 3px solid var(--magenta); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.num { font-variant-numeric: tabular-nums; }
[hidden] { display: none !important; }

/* ------------------------------------------------------------ type */
.display, h1, h2 { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; letter-spacing: -.015em; line-height: .92; margin: 0; }
.display { font-size: clamp(44px, 6.6vw, 118px); font-variation-settings: "wdth" 104; }
h1 { font-size: clamp(38px, 6vw, 76px); font-variation-settings: "wdth" 108; }
h2 { font-size: clamp(34px, 5vw, 64px); font-variation-settings: "wdth" 106; }
h3 { font-size: 21px; font-weight: 800; line-height: 1.15; margin: 0; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; color: var(--ink-2); max-width: 38em; }
.lead b, .lead strong { color: var(--ink); font-weight: 800; }
.eyebrow { font: 700 12px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 10px; color: var(--ink-2); }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.hand { font-family: var(--f-hand); font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--magenta); line-height: 1.2; }
.hl { background: linear-gradient(transparent 58%, var(--yellow) 58%, var(--yellow) 92%, transparent 92%); padding: 0 .08em; }
.pink { color: var(--magenta); }
.mono { font-family: var(--f-mono); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.tiny { font-size: 12.5px; }

/* --------------------------------------------------------- buttons */
.btn {
  --bg: var(--white); --fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 24px; border-radius: 999px;
  background: var(--bg); color: var(--fg); border: var(--stroke) solid var(--ink);
  box-shadow: var(--drop); cursor: pointer; text-decoration: none; white-space: nowrap;
  font-weight: 850; font-size: 16px; letter-spacing: .02em; text-transform: uppercase; font-variation-settings: "wdth" 108;
  transition: transform .18s var(--pop), box-shadow .18s var(--pop), background .15s;
  -webkit-tap-highlight-color: transparent; user-select: none;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 7px 0 var(--ink); }
.btn:active { transform: translate(3px, 4px); box-shadow: 0 0 0 var(--ink); transition-duration: .06s; }
.btn[disabled], .btn.is-busy { cursor: not-allowed; }
.btn[disabled] { opacity: .5; transform: none; box-shadow: var(--drop-sm); }
.btn.yellow { --bg: var(--yellow); }
.btn.pink { --bg: var(--magenta); --fg: var(--white); }
.btn.cyan { --bg: var(--cyan); }
.btn.ink { --bg: var(--ink); --fg: var(--cream); box-shadow: 4px 5px 0 var(--magenta); }
.btn.ink:hover { box-shadow: 6px 7px 0 var(--magenta); }
.btn.sm { min-height: 38px; padding: 7px 15px; font-size: 13.5px; box-shadow: var(--drop-sm); }
.btn.sm:hover { box-shadow: 4px 5px 0 var(--ink); }
.btn.block { width: 100%; }
.btn .ico { width: 20px; height: 20px; flex: none; }
.btn.is-busy { opacity: .85; }
.btn.is-busy::after { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.link { font-weight: 800; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: var(--magenta); cursor: pointer; background: none; border: 0; padding: 0; }
.link:hover { color: var(--magenta-2); }
.textbtn { background: none; border: 0; padding: 4px 2px; font: 700 12px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); cursor: pointer; border-bottom: 2px dotted currentColor; }
.textbtn:hover { color: var(--magenta-2); }

/* ------------------------------------------------------------ cards */
.card { background: var(--white); border: var(--stroke) solid var(--ink); border-radius: var(--r); box-shadow: var(--drop); }
.card.pad { padding: clamp(18px, 2.4vw, 26px); }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; border: 2px solid var(--ink); background: var(--white); font: 700 11px/1.2 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.tag.yellow { background: var(--yellow); }
.tag.pink { background: var(--magenta); color: var(--white); }
.tag.cyan { background: var(--cyan); }
.tag.ink { background: var(--ink); color: var(--cream); }
.tag.green { background: var(--green); }
.tag.ghost { background: transparent; }

/* ----------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: saturate(1.3) blur(12px); -webkit-backdrop-filter: saturate(1.3) blur(12px); border-bottom: var(--stroke) solid transparent; transition: border-color .2s, background .2s; }
.site-header.scrolled { border-bottom-color: var(--ink); }
.site-header .bar { height: var(--header-h); display: flex; align-items: center; gap: 22px; }
.logo { display: block; width: 150px; flex: none; transform: rotate(-3deg); transition: transform .3s var(--pop); }
.logo:hover { transform: rotate(2deg) scale(1.05); }
.logo img { width: 100%; height: auto; }
.nav { display: flex; gap: 4px; margin: 0 auto; }
.nav a { text-decoration: none; font-weight: 800; font-size: 14.5px; text-transform: uppercase; letter-spacing: .03em; font-variation-settings: "wdth" 104; padding: 9px 13px; border-radius: 999px; border: 2px solid transparent; transition: background .15s, border-color .15s; }
.nav a:hover { background: var(--white); border-color: var(--ink); }
.nav a[aria-current="page"] { background: var(--yellow); border-color: var(--ink); }
.cart-btn { position: relative; margin-left: auto; }
.nav + .cart-btn { margin-left: 0; }
.cart-count { position: absolute; top: -9px; right: -9px; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 999px; background: var(--magenta); color: var(--white); border: 2px solid var(--ink); display: grid; place-items: center; font: 700 12px/1 var(--f-mono); transition: transform .3s var(--pop); }
.cart-count.bump { animation: bump .5s var(--pop); }
@keyframes bump { 0% { transform: scale(1); } 35% { transform: scale(1.5) rotate(-10deg); } 100% { transform: scale(1); } }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 50%; border: var(--stroke) solid var(--ink); background: var(--white); box-shadow: var(--drop-sm); cursor: pointer; place-items: center; }
.menu-btn span { display: block; width: 18px; height: 2.5px; background: var(--ink); border-radius: 2px; position: relative; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2.5px; background: var(--ink); border-radius: 2px; }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
.mobile-nav { display: none; }
@media (max-width: 900px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
  .cart-btn { margin-left: auto; }
  .logo { width: 128px; }
  .mobile-nav { position: fixed; inset: var(--header-h) 0 0; z-index: 49; background: var(--yellow); padding: 26px var(--gutter) 40px; display: flex; flex-direction: column; gap: 6px; transform: translateY(-110%); transition: transform .35s var(--out); visibility: hidden; overflow: auto; border-top: var(--stroke) solid var(--ink); }
  .mobile-nav.open { transform: none; visibility: visible; }
  .mobile-nav a { font-weight: 900; font-size: 38px; text-transform: uppercase; text-decoration: none; font-variation-settings: "wdth" 110; line-height: 1.15; }
  .mobile-nav small { font-family: var(--f-mono); font-size: 13px; margin-top: 18px; }
}

/* ----------------------------------------------------------- footer */
.site-footer { background: var(--ink); color: var(--cream); margin-top: 0; position: relative; }
.site-footer .top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; padding-block: 70px 44px; }
.site-footer h4 { font: 700 12px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); margin: 0 0 16px; }
.site-footer a { text-decoration: none; color: var(--cream); }
.site-footer a:hover { color: var(--yellow); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 15px; }
.site-footer .blurb { color: color-mix(in srgb, var(--cream) 75%, transparent); font-size: 15px; max-width: 30em; margin-top: 16px; }
.site-footer .logo { width: 170px; }
.site-footer .base { border-top: 1.5px dashed color-mix(in srgb, var(--cream) 30%, transparent); padding-block: 18px 28px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font: 400 12.5px/1.5 var(--f-mono); color: color-mix(in srgb, var(--cream) 65%, transparent); }
@media (max-width: 860px) { .site-footer .top { grid-template-columns: 1fr 1fr; } .site-footer .top > :first-child { grid-column: 1 / -1; } }

/* ------------------------------------------------------ decorations */
.halftone { background-image: radial-gradient(circle, color-mix(in srgb, var(--ink) 13%, transparent) 1.3px, transparent 1.6px); background-size: 15px 15px; }
.cutline { position: relative; height: 34px; margin: 0 auto; max-width: var(--maxw); }
.cutline::before { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); top: 50%; border-top: 2.5px dashed var(--magenta); }
.cutline img { position: absolute; left: calc(var(--gutter) + 18px); top: 50%; width: 40px; transform: translateY(-50%) rotate(-8deg); background: var(--paper); padding: 0 4px; }
/* Scalloped die-cut edge hanging off the bottom of a colored section. */
.scallop { position: relative; z-index: 2; }
.scallop::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 17px; background: radial-gradient(circle at 16px 0, var(--edge, var(--yellow)) 13px, var(--ink) 13.5px 15.5px, transparent 16px) 0 0 / 32px 17px repeat-x; pointer-events: none; }
.sticker-img { filter: drop-shadow(4px 6px 0 rgba(21, 18, 14, .9)); }
.doodle { position: absolute; pointer-events: none; }

/* -------------------------------------------------------------- hero */
.hero { background: var(--yellow); position: relative; overflow: hidden; padding-bottom: 40px; }
.hero .halftone { position: absolute; inset: 0; opacity: .7; -webkit-mask-image: linear-gradient(115deg, transparent 20%, #000 60%); mask-image: linear-gradient(115deg, transparent 20%, #000 60%); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 30px; align-items: center; min-height: min(720px, calc(100svh - var(--header-h) - 20px)); padding-block: 48px 46px; }
.hero .display .line2 { display: block; color: var(--white); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; text-shadow: 5px 6px 0 var(--ink); }
.hero .lead { margin: 26px 0 30px; color: var(--ink); }
.hero .ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero .note { position: relative; margin-top: 30px; display: inline-flex; align-items: flex-start; gap: 6px; font-size: 21px; transform: rotate(-3deg); color: var(--ink); }
.hero .note img { width: 58px; transform: rotate(12deg) translateY(10px); }
.pile { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 560px; margin-left: auto; touch-action: none; }
.pile .stk { position: absolute; width: var(--w, 34%); left: var(--x); top: var(--y); transform: rotate(var(--r, 0deg)); cursor: grab; user-select: none; -webkit-user-drag: none; transition: transform .35s var(--pop), filter .2s; filter: drop-shadow(4px 6px 0 rgba(21, 18, 14, .85)); }
.pile .stk:hover { transform: rotate(calc(var(--r, 0deg) * -.4)) scale(1.06); }
.pile .stk.dragging { cursor: grabbing; transition: none; filter: drop-shadow(9px 14px 0 rgba(21, 18, 14, .5)); z-index: 5; }
.pile .hint { position: absolute; right: 2%; bottom: -2%; font-size: 17px; transform: rotate(-5deg); color: var(--ink); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-top: 28px; }
  .hero .display { font-size: clamp(38px, 11.6vw, 96px); }
  .pile { max-width: 420px; margin: 10px auto 0; }
}

/* ------------------------------------------------------------ marquee */
.marquee { background: var(--ink); color: var(--cream); overflow: hidden; border-block: var(--stroke) solid var(--ink); }
.marquee .track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-weight: 900; text-transform: uppercase; font-size: 22px; letter-spacing: .02em; font-variation-settings: "wdth" 115; padding: 14px 0; white-space: nowrap; display: flex; align-items: center; gap: 22px; padding-right: 22px; }
.marquee span i { color: var(--yellow); font-style: normal; }
.marquee span i:nth-child(4n+2) { color: var(--magenta); }
.marquee span i:nth-child(4n+3) { color: var(--cyan); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee .track { animation: none; } }

/* ------------------------------------------------------------ sections */
.section { padding: clamp(64px, 9vw, 110px) 0; position: relative; }
.section.ink { background: var(--ink); color: var(--cream); }
.section.ink .eyebrow { color: var(--yellow); }
.section.ink .lead { color: color-mix(in srgb, var(--cream) 82%, transparent); }
.section.cyan { background: var(--cyan); }
.section.paper2 { background: var(--paper-2); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(30px, 4vw, 48px); }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head .hand { font-size: 20px; transform: rotate(-3deg); display: inline-block; }

/* products grid */
.cat-block + .cat-block { margin-top: 54px; }
.cat-title { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.cat-title h3 { font-size: 26px; text-transform: uppercase; font-weight: 900; font-variation-settings: "wdth" 110; }
.cat-title p { margin: 0; color: var(--muted); }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.pcard { position: relative; display: flex; flex-direction: column; text-decoration: none; background: var(--white); border: var(--stroke) solid var(--ink); border-radius: var(--r); box-shadow: var(--drop); overflow: hidden; transition: transform .22s var(--pop), box-shadow .22s var(--pop); }
.pcard:hover { transform: translate(-3px, -4px) rotate(-.6deg); box-shadow: 8px 10px 0 var(--ink); }
.pcard:nth-child(3n+2):hover { transform: translate(-3px, -4px) rotate(.6deg); }
.pcard .art { background: var(--paper-2); border-bottom: var(--stroke) solid var(--ink); aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; }
.pcard:nth-child(4n+1) .art { background: #ffe7a3; }
.pcard:nth-child(4n+2) .art { background: #ffd0e3; }
.pcard:nth-child(4n+3) .art { background: #c9ecfa; }
.pcard:nth-child(4n+4) .art { background: #d7f2e2; }
.pcard .art img { width: 82%; transition: transform .35s var(--pop); }
.pcard:hover .art img { transform: scale(1.06) rotate(-2deg); }
.pcard .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard .body h3 { font-size: 20px; font-weight: 850; }
.pcard .body .t { font-size: 14.5px; color: var(--muted); }
.pcard .from { margin-top: auto; padding-top: 10px; display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; font: 400 12.5px/1.35 var(--f-mono); color: var(--ink-2); }
.pcard .from b { font: 800 19px/1 var(--f-display); color: var(--ink); display: block; margin-top: 3px; }
.pcard .go { width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--ink); background: var(--yellow); display: grid; place-items: center; flex: none; transition: transform .25s var(--pop); }
.pcard:hover .go { transform: rotate(-45deg); }
.pcard .new { position: absolute; top: 12px; right: 12px; transform: rotate(6deg); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.step { background: color-mix(in srgb, var(--cream) 6%, transparent); border: 2px solid color-mix(in srgb, var(--cream) 22%, transparent); border-radius: var(--r); padding: 26px 22px 24px; position: relative; }
.step .n { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font: 900 26px/1 var(--f-display); color: var(--ink); border: var(--stroke) solid var(--ink); box-shadow: 0 0 0 5px var(--white), 0 0 0 7.5px var(--ink); margin: 6px 0 22px 6px; transform: rotate(-8deg); }
.step:nth-child(1) .n { background: var(--yellow); } .step:nth-child(2) .n { background: var(--magenta); } .step:nth-child(3) .n { background: var(--cyan); } .step:nth-child(4) .n { background: var(--green); }
.step h3 { color: var(--white); margin-bottom: 8px; font-size: 22px; text-transform: uppercase; font-weight: 900; font-variation-settings: "wdth" 108; }
.step p { color: color-mix(in srgb, var(--cream) 80%, transparent); margin: 0; font-size: 15.5px; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* stack demo */
.stack-demo { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.stack-demo .panel { background: var(--white); border: var(--stroke) solid var(--ink); border-radius: var(--r); box-shadow: var(--drop-lg); padding: clamp(18px, 3vw, 30px); }
.sd-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.sd-row label { font: 700 12px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; min-width: 88px; }
.sd-designs { display: flex; gap: 8px; flex-wrap: wrap; min-height: 64px; align-items: center; padding: 10px; border: 2px dashed var(--line-soft); border-radius: var(--r-md); margin-bottom: 18px; }
.sd-designs img { width: 50px; height: 50px; filter: drop-shadow(2px 3px 0 rgba(21, 18, 14, .85)); animation: slapin .45s var(--pop); }
@keyframes slapin { 0% { transform: scale(1.8) rotate(-25deg); opacity: 0; } 100% { transform: scale(1) rotate(var(--r, 0deg)); opacity: 1; } }
.sd-out { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sd-out div { background: var(--paper); border: 2px solid var(--ink); border-radius: var(--r-md); padding: 12px 14px; }
.sd-out small { display: block; font: 700 10.5px/1.2 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.sd-out b { display: block; font: 900 26px/1.1 var(--f-display); margin-top: 6px; font-variant-numeric: tabular-nums; }
.sd-out div.win { background: var(--yellow); }
.sd-note { margin-top: 14px; font-size: 14.5px; color: var(--ink-2); }
@media (max-width: 900px) { .stack-demo { grid-template-columns: 1fr; } .sd-out b { font-size: 21px; } }

/* local */
.local { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 70px); align-items: center; }
.local .facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.local .facts div { border: 2px solid var(--ink); border-radius: var(--r-md); padding: 14px 16px; background: var(--white); }
.local .facts b { display: block; font: 900 30px/1 var(--f-display); font-variation-settings: "wdth" 110; }
.local .facts span { font: 400 12.5px/1.35 var(--f-mono); color: var(--muted); }
.visit { position: relative; background: var(--magenta); color: var(--white); border: var(--stroke) solid var(--ink); border-radius: var(--r); box-shadow: var(--drop-lg); padding: 30px; transform: rotate(1.2deg); }
.visit h3 { font-size: 30px; text-transform: uppercase; font-weight: 900; font-variation-settings: "wdth" 110; margin-bottom: 14px; }
.visit p { margin: 0 0 6px; font-size: 17px; }
.visit .mono { font-size: 13px; opacity: .9; }
.visit .btn { margin-top: 18px; }
.visit .sticker-img { position: absolute; width: 110px; right: -24px; top: -46px; transform: rotate(12deg); }
@media (max-width: 860px) { .local { grid-template-columns: 1fr; } }

/* faq */
.faq { max-width: 860px; }
.faq details { border: var(--stroke) solid var(--ink); border-radius: var(--r-md); background: var(--white); margin-bottom: 12px; box-shadow: var(--drop-sm); transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--drop); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 58px 18px 20px; font-weight: 800; font-size: 17.5px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; border: 2px solid var(--ink); display: grid; place-items: center; font: 700 18px/1 var(--f-mono); background: var(--yellow); transition: transform .25s var(--pop); }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--magenta); color: var(--white); }
.faq .a { padding: 0 20px 18px; color: var(--ink-2); }
.faq .a p:last-child { margin: 0; }

/* ---------------------------------------------------------- forms */
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span, .flabel { font: 700 11.5px/1.2 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.input, .select, .textarea { width: 100%; min-height: 48px; padding: 11px 14px; border: 2px solid var(--ink); border-radius: var(--r-sm); background: var(--white); font-size: 16px; outline: none; transition: box-shadow .15s, border-color .15s; }
.textarea { min-height: 96px; resize: vertical; line-height: 1.45; }
.input:focus, .select:focus, .textarea:focus { box-shadow: 0 0 0 4px color-mix(in srgb, var(--magenta) 30%, transparent); border-color: var(--magenta-2); }
.input.bad { border-color: var(--red); box-shadow: 0 0 0 4px color-mix(in srgb, var(--red) 20%, transparent); }
.select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%2315120e' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 5l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; cursor: pointer; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .grid2, .grid3 { grid-template-columns: 1fr; } }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 15px; }
.check input { appearance: none; -webkit-appearance: none; width: 24px; height: 24px; flex: none; margin: 1px 0 0; border: 2px solid var(--ink); border-radius: 7px; background: var(--white); display: grid; place-items: center; cursor: pointer; }
.check input:checked { background: var(--green); }
.check input:checked::after { content: ""; width: 11px; height: 6px; border: solid var(--ink); border-width: 0 0 3px 3px; transform: rotate(-45deg) translate(1px, -1px); }

/* segmented choices */
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg button { border: 2px solid var(--ink); background: var(--white); border-radius: 999px; padding: 8px 14px; font-weight: 750; font-size: 14.5px; cursor: pointer; transition: background .15s, transform .15s var(--pop), box-shadow .15s; display: inline-flex; align-items: center; gap: 7px; }
.seg button:hover { transform: translateY(-1px); box-shadow: 2px 3px 0 var(--ink); }
.seg button.on { background: var(--ink); color: var(--cream); box-shadow: 2px 3px 0 var(--magenta); }
.seg button small { font: 400 11px/1 var(--f-mono); opacity: .8; }
.seg.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
.seg.cards button { border-radius: var(--r-md); flex-direction: column; align-items: flex-start; text-align: left; padding: 10px 12px; gap: 3px; }
.seg.cards button small { line-height: 1.3; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1.5px dashed var(--ink-2); background: transparent; border-radius: 8px; padding: 5px 9px; font: 700 12.5px/1 var(--f-mono); cursor: pointer; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.chip:hover { border-style: solid; background: var(--white); color: var(--ink); }
.chip.on { border-style: solid; background: var(--yellow); color: var(--ink); border-color: var(--ink); }

/* toast */
.toast-wrap { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 90; display: flex; flex-direction: column; gap: 10px; align-items: center; pointer-events: none; width: max-content; max-width: calc(100vw - 24px); }
.toast { pointer-events: auto; background: var(--ink); color: var(--cream); border: 2px solid var(--ink); border-radius: 999px; padding: 11px 18px; font-weight: 700; font-size: 15px; box-shadow: 4px 5px 0 var(--magenta); display: flex; align-items: center; gap: 12px; animation: toastin .35s var(--pop); }
.toast a { color: var(--yellow); font-weight: 800; }
.toast.err { background: var(--red); color: var(--white); box-shadow: 4px 5px 0 var(--ink); }
@keyframes toastin { from { transform: translateY(20px) scale(.9); opacity: 0; } }

/* confetti bits */
.burst { position: fixed; pointer-events: none; z-index: 95; }
.burst i { position: absolute; width: 10px; height: 10px; border: 2px solid var(--ink); border-radius: 3px; animation: burst .8s var(--out) forwards; }
@keyframes burst { to { transform: translate(var(--dx), var(--dy)) rotate(var(--rot)); opacity: 0; } }
.flyer { position: fixed; z-index: 96; pointer-events: none; width: 70px; height: 70px; object-fit: contain; filter: drop-shadow(3px 4px 0 rgba(21, 18, 14, .8)); transition: transform .7s cubic-bezier(.5, -0.3, .7, 1), opacity .7s; }

/* page head */
.page-head { padding-block: 36px 26px; }
.crumbs { font: 700 12px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--magenta-2); }

/* =================================================== product page */
.pd-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.pd-head .tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.builder { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(340px, .75fr); gap: 26px; align-items: start; padding-bottom: 40px; }
@media (max-width: 1020px) { .builder { grid-template-columns: 1fr; } }

.stage-card { position: relative; border: var(--stroke) solid var(--ink); border-radius: var(--r); box-shadow: var(--drop); background: #25262b; overflow: hidden; }
.stage { position: relative; aspect-ratio: 5 / 4; width: 100%; touch-action: none; }
.stage canvas { width: 100%; height: 100%; }
.stage.can-pan { cursor: grab; }
.stage.panning { cursor: grabbing; }
.drop { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; background: var(--paper); cursor: pointer; }
.drop-inner { border: 3px dashed var(--magenta); border-radius: var(--r); padding: clamp(24px, 5vw, 50px) clamp(18px, 4vw, 44px); background: var(--white); max-width: 520px; position: relative; transition: transform .25s var(--pop), background .2s; }
.drop:hover .drop-inner, .drop.over .drop-inner { transform: rotate(-1.2deg) scale(1.02); background: #fff2c2; }
.drop.over .drop-inner { border-style: solid; }
.drop h3 { font-size: clamp(26px, 3.5vw, 36px); text-transform: uppercase; font-weight: 900; font-variation-settings: "wdth" 110; margin: 12px 0 8px; }
.drop p { color: var(--muted); margin: 0 0 18px; font-size: 15px; }
.drop .types { font: 400 12px/1.5 var(--f-mono); color: var(--muted); margin-top: 16px; }
.drop img.hand-ico { width: 88px; margin: 0 auto; transform: rotate(-10deg); }
.drop .hand { position: absolute; right: -8px; top: -18px; transform: rotate(8deg); font-size: 17px; background: var(--paper); padding: 0 6px; }

.toolbar { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; justify-content: center; pointer-events: none; }
.toolbar > * { pointer-events: auto; }
.tool { height: 40px; min-width: 40px; padding: 0 12px; border-radius: 999px; border: 2px solid var(--ink); background: var(--white); display: inline-flex; align-items: center; gap: 7px; cursor: pointer; font-weight: 750; font-size: 13.5px; box-shadow: 2px 3px 0 var(--ink); transition: transform .15s var(--pop), background .15s; }
.tool:hover { transform: translateY(-1px); }
.tool.on { background: var(--yellow); }
.tool svg { width: 18px; height: 18px; flex: none; }
.tool.icon { padding: 0; justify-content: center; width: 40px; }
.zoom { display: inline-flex; align-items: center; gap: 8px; background: var(--white); border: 2px solid var(--ink); border-radius: 999px; padding: 0 12px; height: 40px; box-shadow: 2px 3px 0 var(--ink); }
.zoom input { width: 110px; accent-color: var(--magenta); }
.stage-badges { position: absolute; left: 12px; top: 12px; display: flex; gap: 6px; flex-wrap: wrap; pointer-events: none; }
.stage-badges .tag { box-shadow: 2px 2px 0 var(--ink); }
.stage-status { position: absolute; right: 12px; top: 12px; }
.upbar { position: absolute; left: 0; right: 0; top: 0; height: 5px; background: rgba(255, 255, 255, .15); }
.upbar i { display: block; height: 100%; width: 0; background: var(--magenta); transition: width .2s; }

.designs { display: flex; gap: 10px; padding: 12px; background: var(--paper-2); border-top: var(--stroke) solid var(--ink); overflow-x: auto; align-items: center; scrollbar-width: thin; }
.dthumb { position: relative; flex: none; width: 74px; height: 74px; border: 2px solid var(--ink); border-radius: 14px; background: var(--white) center / contain no-repeat; cursor: pointer; transition: transform .2s var(--pop), box-shadow .2s; }
.dthumb canvas, .dthumb img { width: 100%; height: 100%; object-fit: contain; border-radius: 12px; }
.dthumb:hover { transform: translateY(-2px) rotate(-2deg); }
.dthumb.on { box-shadow: 0 0 0 3px var(--paper-2), 0 0 0 5.5px var(--magenta); }
.dthumb .x { position: absolute; top: -8px; right: -8px; width: 24px; height: 24px; border-radius: 50%; background: var(--white); border: 2px solid var(--ink); display: grid; place-items: center; cursor: pointer; font: 700 13px/1 var(--f-mono); padding: 0; }
.dthumb .x:hover { background: var(--magenta); color: var(--white); }
.dthumb .pct { position: absolute; left: 4px; right: 4px; bottom: 4px; height: 5px; border-radius: 3px; background: rgba(21, 18, 14, .15); overflow: hidden; }
.dthumb .pct i { display: block; height: 100%; background: var(--magenta); }
.dthumb .ok { position: absolute; bottom: -7px; right: -7px; width: 22px; height: 22px; border-radius: 50%; background: var(--green); border: 2px solid var(--ink); display: grid; place-items: center; }
.dthumb .n { position: absolute; top: -8px; left: -8px; min-width: 22px; height: 22px; border-radius: 11px; background: var(--ink); color: var(--cream); font: 700 11px/22px var(--f-mono); text-align: center; padding: 0 5px; }
.add-design { flex: none; width: 74px; height: 74px; border: 2px dashed var(--ink-2); border-radius: 14px; background: transparent; display: grid; place-items: center; cursor: pointer; font: 700 10.5px/1.2 var(--f-mono); text-transform: uppercase; letter-spacing: .06em; text-align: center; color: var(--ink-2); }
.add-design:hover { background: var(--white); border-style: solid; color: var(--ink); }
.add-design b { display: block; font: 900 26px/1 var(--f-display); }
.designs .hint { font-size: 15px; margin-left: 6px; white-space: nowrap; }

.cfg { display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 1021px) {
  .builder > div:first-child { position: sticky; top: calc(var(--header-h) + 14px); }
  .price-card { position: sticky; bottom: 14px; z-index: 5; }
}
.cfg-card { background: var(--white); border: var(--stroke) solid var(--ink); border-radius: var(--r); box-shadow: var(--drop); padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 18px; }
.cfg-sec > .flabel { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; gap: 10px; }
.cfg-sec > .flabel em { font-style: normal; color: var(--muted); letter-spacing: .02em; text-transform: none; font-weight: 400; }
.dims { display: grid; grid-template-columns: 1fr auto 1fr auto; gap: 8px; align-items: center; margin-top: 10px; }
.dims .unit { position: relative; }
.dims .unit .input { padding-right: 34px; font-variant-numeric: tabular-nums; font-weight: 700; }
.dims .unit span { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font: 400 13px/1 var(--f-mono); color: var(--muted); pointer-events: none; }
.dims .times { font: 700 16px/1 var(--f-mono); color: var(--muted); }
.lock { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--ink); background: var(--white); cursor: pointer; display: grid; place-items: center; }
.lock.on { background: var(--yellow); }
.lock svg { width: 18px; height: 18px; }
.qty-row { display: grid; grid-template-columns: 44px 1fr 44px; gap: 8px; align-items: center; margin-top: 10px; }
.qty-row button { height: 44px; border-radius: 50%; border: 2px solid var(--ink); background: var(--white); font: 700 20px/1 var(--f-mono); cursor: pointer; }
.qty-row button:hover { background: var(--yellow); }
.qty-row .input { text-align: center; font-weight: 800; font-size: 18px; font-variant-numeric: tabular-nums; }
.subtle-note { font-size: 13px; color: var(--muted); margin-top: 8px; line-height: 1.4; }
.warn { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; background: #fff2c2; border: 2px solid var(--ink); border-radius: var(--r-sm); padding: 9px 11px; margin-top: 10px; }
.warn.bad { background: #ffd9d1; }
.dpi { font-weight: 700; }

.price-card { background: var(--ink); color: var(--cream); border: var(--stroke) solid var(--ink); border-radius: var(--r); box-shadow: 4px 5px 0 var(--magenta); padding: 18px 18px 20px; }
.price-card .row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.price-card .big { font: 900 44px/1 var(--f-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; font-variation-settings: "wdth" 104; }
.price-card .big .c { font-size: 24px; opacity: .8; }
.price-card .per { font: 400 13px/1.4 var(--f-mono); color: color-mix(in srgb, var(--cream) 75%, transparent); text-align: right; }
.price-card .per b { color: var(--yellow); font-weight: 700; }
.price-card .lbl { font: 700 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); margin-bottom: 8px; display: flex; justify-content: space-between; gap: 8px; }
.price-card .lbl span:last-child { color: color-mix(in srgb, var(--cream) 70%, transparent); letter-spacing: .04em; text-transform: none; font-weight: 400; }
.meter { margin: 16px 0 4px; }
.meter .bar { height: 12px; border-radius: 999px; background: color-mix(in srgb, var(--cream) 14%, transparent); overflow: hidden; border: 1.5px solid color-mix(in srgb, var(--cream) 30%, transparent); }
.meter .bar i { display: block; height: 100%; width: 0; border-radius: 999px; background: repeating-linear-gradient(-45deg, var(--yellow) 0 8px, var(--yellow-2) 8px 16px); transition: width .45s var(--out); }
.meter .top { display: flex; justify-content: space-between; font: 400 12px/1.3 var(--f-mono); margin-bottom: 7px; gap: 10px; }
.meter .top b { color: var(--yellow); font-weight: 700; white-space: nowrap; text-align: right; }
.meter .hint { font-size: 14px; margin-top: 9px; line-height: 1.4; color: color-mix(in srgb, var(--cream) 88%, transparent); }
.meter .hint b { color: var(--yellow); }
.price-card .combo { margin-top: 12px; padding-top: 12px; border-top: 1.5px dashed color-mix(in srgb, var(--cream) 25%, transparent); font-size: 14px; color: color-mix(in srgb, var(--cream) 85%, transparent); }
.price-card .combo b { color: var(--white); }
.price-card .btn { margin-top: 16px; }
.price-card .fine { font: 400 11.5px/1.4 var(--f-mono); color: color-mix(in srgb, var(--cream) 60%, transparent); margin-top: 10px; text-align: center; }

.mobile-buy { display: none; }
@media (max-width: 1020px) {
  .mobile-buy { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 40; display: flex; align-items: center; gap: 12px; background: var(--ink); color: var(--cream); border: 2px solid var(--ink); border-radius: 999px; padding: 8px 8px 8px 20px; box-shadow: 3px 4px 0 var(--magenta); transform: translateY(140%); transition: transform .3s var(--out); }
  .mobile-buy.show { transform: none; }
  body.has-buybar .site-footer { padding-bottom: 84px; }
  .mobile-buy .t { font: 900 22px/1 var(--f-display); font-variant-numeric: tabular-nums; }
  .mobile-buy small { display: block; font: 400 11px/1.2 var(--f-mono); opacity: .75; }
  .mobile-buy .btn { margin-left: auto; min-height: 44px; padding: 8px 18px; box-shadow: none; border-color: var(--cream); }
}

.details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
@media (max-width: 860px) { .details-grid { grid-template-columns: 1fr; } }
.bul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.bul li { display: flex; gap: 12px; align-items: flex-start; }
.bul li::before { content: ""; width: 20px; height: 20px; flex: none; margin-top: 2px; border-radius: 50%; border: 2px solid var(--ink); background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%2315120e' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.ladder { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 14.5px; }
.ladder th { text-align: left; font: 700 11px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 0 10px 10px; border-bottom: 2px solid var(--ink); }
.ladder td { padding: 9px 10px; border-bottom: 1.5px dashed var(--line-soft); }
.ladder tr.on td { background: #fff2c2; font-weight: 800; }
.ladder tr.on td:first-child { box-shadow: inset 4px 0 0 var(--magenta); }
.ladder td.r, .ladder th.r { text-align: right; }
.ladder-wrap { max-height: 420px; overflow: auto; }

/* ============================================================ cart */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 28px; align-items: start; padding-bottom: 80px; }
@media (max-width: 1020px) { .cart-layout { grid-template-columns: 1fr; } }
.group { margin-bottom: 22px; overflow: hidden; }
.group-head { padding: 16px 18px; border-bottom: var(--stroke) solid var(--ink); background: var(--paper-2); display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.group-head h3 { font-size: 20px; text-transform: uppercase; font-weight: 900; font-variation-settings: "wdth" 108; }
.group-head .sub { font: 400 12.5px/1.4 var(--f-mono); color: var(--ink-2); margin-top: 3px; }
.group-head .gt { font: 900 26px/1 var(--f-display); font-variant-numeric: tabular-nums; }
.group .meter { margin: 0; padding: 12px 18px 14px; background: var(--ink); color: var(--cream); }
.item { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 16px; padding: 16px 18px; border-bottom: 1.5px dashed var(--line-soft); align-items: center; }
.item:last-child { border-bottom: 0; }
.item .thumb { width: 84px; height: 84px; border-radius: 14px; border: 2px solid var(--ink); background: var(--paper-2); display: grid; place-items: center; overflow: hidden; }
.item .thumb img { width: 100%; height: 100%; object-fit: contain; }
.item .nm { font-weight: 800; font-size: 16.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item .meta { font: 400 12.5px/1.5 var(--f-mono); color: var(--ink-2); margin-top: 3px; }
.item .acts { display: flex; gap: 14px; margin-top: 8px; flex-wrap: wrap; }
.item .right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.item .lt { font: 900 20px/1 var(--f-display); font-variant-numeric: tabular-nums; }
.item .each { font: 400 12px/1 var(--f-mono); color: var(--muted); }
.qmini { display: inline-flex; align-items: center; border: 2px solid var(--ink); border-radius: 999px; overflow: hidden; background: var(--white); }
.qmini button { width: 34px; height: 34px; border: 0; background: transparent; cursor: pointer; font: 700 16px/1 var(--f-mono); }
.qmini button:hover { background: var(--yellow); }
.qmini input { width: 70px; height: 34px; border: 0; border-inline: 2px solid var(--ink); text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; outline: none; }
@media (max-width: 600px) {
  .item { grid-template-columns: 64px minmax(0, 1fr); }
  .item .thumb { width: 64px; height: 64px; }
  .item .right { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
}
.gx { padding: 10px 18px 14px; font: 400 13px/1.6 var(--f-mono); color: var(--ink-2); background: var(--paper); border-top: 1.5px dashed var(--line-soft); }
.gx div { display: flex; justify-content: space-between; gap: 12px; }
.summary { position: sticky; top: calc(var(--header-h) + 14px); display: flex; flex-direction: column; gap: 18px; }
.sumrows { display: grid; gap: 9px; font-size: 15.5px; }
.sumrows div { display: flex; justify-content: space-between; gap: 12px; }
.sumrows .tot { border-top: 2px solid var(--ink); padding-top: 12px; margin-top: 4px; font: 900 28px/1 var(--f-display); font-variation-settings: "wdth" 104; }
.sumrows .num { font-variant-numeric: tabular-nums; }
.method { display: grid; gap: 10px; }
.method label { display: flex; gap: 12px; align-items: center; border: 2px solid var(--ink); border-radius: var(--r-md); padding: 12px 14px; cursor: pointer; background: var(--white); transition: background .15s, box-shadow .15s; }
.method label:has(input:checked) { background: #fff2c2; box-shadow: var(--drop-sm); }
.method input { accent-color: var(--magenta); width: 18px; height: 18px; }
.method b { display: block; }
.method small { color: var(--muted); font-size: 13px; }
.method .pr { margin-left: auto; font-weight: 800; font-variant-numeric: tabular-nums; }
.method label.disabled { opacity: .55; cursor: not-allowed; }
.empty-cart { text-align: center; padding: 60px 20px; }
.empty-cart img { width: 170px; margin: 0 auto 18px; transform: rotate(-6deg); }
.paypal-note { display: flex; gap: 10px; align-items: center; justify-content: center; font-size: 13px; color: var(--muted); margin-top: 10px; text-align: center; }

/* =========================================================== order */
.order-hero { padding-block: 40px 30px; }
.status-sticker { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; border: var(--stroke) solid var(--ink); box-shadow: var(--drop-sm); font-weight: 900; text-transform: uppercase; letter-spacing: .03em; font-variation-settings: "wdth" 108; transform: rotate(-2deg); background: var(--yellow); }
.status-sticker.paid { background: var(--green); }
.status-sticker.wait { background: var(--cyan); }
.status-sticker.cancel { background: var(--red); color: var(--white); }
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin: 30px 0 10px; position: relative; }
.timeline div { text-align: center; position: relative; font: 700 11.5px/1.3 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-top: 42px; }
.timeline div::before { content: ""; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 26px; height: 26px; border-radius: 50%; border: 2.5px solid var(--ink); background: var(--white); z-index: 1; }
.timeline div::after { content: ""; position: absolute; top: 20px; left: -50%; right: 50%; height: 3px; background: var(--line-soft); }
.timeline div:first-child::after { display: none; }
.timeline div.done { color: var(--ink); }
.timeline div.done::before { background: var(--green); }
.timeline div.done::after { background: var(--ink); }
.timeline div.now::before { background: var(--yellow); box-shadow: 0 0 0 5px color-mix(in srgb, var(--yellow) 40%, transparent); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 10px color-mix(in srgb, var(--yellow) 10%, transparent); } }
@media (max-width: 640px) { .timeline div { font-size: 9.5px; } }

/* ============================================================ misc */
.center { text-align: center; }
.stack-sm > * + * { margin-top: 8px; }
.spacer { height: 26px; }
.skeleton { background: linear-gradient(90deg, var(--paper-2), var(--paper), var(--paper-2)); background-size: 200% 100%; animation: sk 1.2s linear infinite; border-radius: 12px; }
@keyframes sk { to { background-position: -200% 0; } }
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: 60px; }
.notfound img { width: 220px; margin: 0 auto 20px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
