/* prepurchase — brand system
   Ink #16131F · Coral #FF4D2E · Cream #FFF6EC · Lime #D9F44A
   Display: Space Grotesk · Text: Inter */
:root {
  --ink: #16131F;
  --ink-2: #2A2635;
  --coral: #FF4D2E;
  --coral-dark: #E2391B;
  --coral-soft: #FFE4DA;
  --cream: #FFF6EC;
  --paper: #FFFFFF;
  --lime: #D9F44A;
  --muted: #6B6577;
  --line: #ECE3D8;
  --ok: #1F9D6B;
  --ok-soft: #DDF5EA;
  --warn: #B7791F;
  --warn-soft: #FDF0D5;
  --err: #D23A2A;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(22,19,31,.04), 0 8px 24px rgba(22,19,31,.06);
  --shadow-lg: 0 20px 60px rgba(22,19,31,.18);
  --display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --text: "Inter", "Segoe UI", system-ui, sans-serif;
  --wrap: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 16px/1.55 var(--text); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- brand */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark svg { width: 38px; height: 38px; display: block; }
.wordmark { font-family: var(--display); font-weight: 700; font-size: 1.55rem; letter-spacing: -0.045em; line-height: 1; }
.wordmark .pre { color: var(--coral); }
.tagline { font-family: var(--display); text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; font-weight: 600; color: var(--muted); }

/* ---------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 2px solid transparent; border-radius: 999px;
  padding: 12px 24px; font-weight: 700; font-family: var(--display); letter-spacing: -.01em; cursor: pointer; text-decoration: none;
  transition: transform .15s, background .15s, box-shadow .15s; background: var(--coral); color: #fff; white-space: nowrap; }
.btn:hover { background: var(--coral-dark); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: var(--ink-2); }
.btn-ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.btn-light { background: var(--paper); color: var(--ink); border-color: var(--line); }
.btn-light:hover { background: var(--cream); }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-sm { padding: 7px 14px; font-size: .85rem; }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; padding: 0; cursor: pointer; color: var(--coral-dark); font-weight: 600; text-decoration: underline; }
.icon-btn { background: none; border: 0; cursor: pointer; padding: 8px; border-radius: 999px; display: inline-flex; position: relative; color: var(--ink); }
.icon-btn:hover { background: rgba(22,19,31,.06); }
.icon-btn svg { width: 24px; height: 24px; }
.spinner { width: 18px; height: 18px; border: 2.5px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- announcement + header */
.announce { background: var(--ink); color: var(--cream); font-size: .85rem; overflow: hidden; white-space: nowrap; }
.announce-track { display: inline-flex; gap: 48px; padding: 9px 0; animation: marquee 32s linear infinite; }
.announce-track span::before { content: "●"; color: var(--coral); margin-right: 12px; font-size: .6rem; vertical-align: middle; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,246,236,.88); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.main-nav { display: flex; gap: 22px; }
.main-nav a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink-2); padding: 6px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a.active { border-color: var(--coral); }
.header-search { flex: 1; max-width: 360px; margin-left: auto; position: relative; }
.header-search input { width: 100%; padding: 10px 16px 10px 40px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); }
.header-search input:focus { outline: none; border-color: var(--ink); }
.header-search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; color: var(--muted); }
.header-actions { display: flex; align-items: center; gap: 4px; }
.cart-count { position: absolute; top: 0; right: 0; background: var(--coral); color: #fff; font-size: .68rem; font-weight: 700; min-width: 18px; height: 18px;
  border-radius: 999px; display: grid; place-items: center; padding: 0 4px; border: 2px solid var(--cream); }
.cart-count.bump { animation: bump .4s; }
@keyframes bump { 50% { transform: scale(1.35); } }
.menu-toggle { display: none; }

/* ---------- hero */
.hero { padding: 64px 0 56px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; background: var(--lime); color: var(--ink); font-weight: 700; font-size: .8rem;
  padding: 6px 14px; border-radius: 999px; font-family: var(--display); letter-spacing: .02em; margin-bottom: 20px; }
.hero h1 { font-size: clamp(3rem, 8vw, 6.2rem); letter-spacing: -0.055em; line-height: .92; margin-bottom: 24px; }
.hero h1 .strike { position: relative; color: var(--muted); }
.hero h1 .strike::after { content: ""; position: absolute; left: -4%; right: -4%; top: 52%; height: .09em; background: var(--coral); transform: rotate(-4deg); }
.hero h1 em { font-style: normal; color: var(--coral); }
.hero p.lead { font-size: 1.2rem; color: var(--ink-2); max-width: 520px; margin-bottom: 32px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.countdown { display: inline-flex; align-items: center; gap: 14px; margin-top: 36px; padding: 12px 18px; background: var(--paper); border: 1.5px solid var(--ink);
  border-radius: 16px; box-shadow: 4px 4px 0 var(--ink); }
.countdown-label { font-size: .8rem; font-weight: 600; color: var(--muted); line-height: 1.2; }
.countdown-time { font-family: var(--display); font-weight: 700; font-size: 1.6rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.hero-art { position: relative; aspect-ratio: 1; }
.hero-art .tile { position: absolute; width: 58%; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); border: 3px solid var(--ink); background: var(--paper); transition: transform .4s; }
.hero-art .tile:nth-child(1) { top: 0; left: 4%; transform: rotate(-7deg); }
.hero-art .tile:nth-child(2) { top: 18%; right: 0; transform: rotate(6deg); z-index: 2; }
.hero-art .tile:nth-child(3) { bottom: 0; left: 18%; transform: rotate(-2deg); z-index: 3; }
.hero-art:hover .tile:nth-child(1) { transform: rotate(-10deg) translate(-8px, -6px); }
.hero-art:hover .tile:nth-child(2) { transform: rotate(9deg) translate(8px, -4px); }
.hero-art .sticker { position: absolute; z-index: 5; top: 6%; right: 6%; width: 120px; height: 120px; border-radius: 50%; background: var(--coral); color: #fff;
  display: grid; place-items: center; text-align: center; font-family: var(--display); font-weight: 700; line-height: 1.05; font-size: 1rem; transform: rotate(12deg);
  border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); animation: wobble 6s ease-in-out infinite; }
.hero-art .sticker b { font-size: 1.9rem; display: block; }
@keyframes wobble { 50% { transform: rotate(4deg) scale(1.04); } }

/* ---------- sections */
section.block { padding: 56px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head a { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--coral); }
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.perk { background: var(--paper); border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); display: flex; gap: 14px; align-items: flex-start; }
.perk-icon { width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--coral-soft); color: var(--coral-dark); display: grid; place-items: center; }
.perk-icon svg { width: 22px; height: 22px; }
.perk h4 { font-size: 1rem; margin: 0 0 4px; }
.perk p { margin: 0; font-size: .875rem; color: var(--muted); }
.categories { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.category-card { position: relative; border-radius: var(--radius); overflow: hidden; text-decoration: none; aspect-ratio: 4/5; background: var(--paper); border: 1px solid var(--line); }
.category-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.category-card:hover img { transform: scale(1.06); }
.category-card .label { position: absolute; left: 14px; right: 14px; bottom: 14px; background: var(--paper); border-radius: 14px; padding: 12px 16px; display: flex; justify-content: space-between; align-items: center; border: 2px solid var(--ink); }
.category-card .label b { font-family: var(--display); font-size: 1.1rem; }
.manifesto { background: var(--ink); color: var(--cream); border-radius: 32px; padding: 64px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.manifesto h2 { font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -.04em; }
.manifesto h2 em { font-style: normal; color: var(--coral); }
.manifesto p { color: #CFC8D9; }
.newsletter { display: flex; gap: 8px; background: var(--ink-2); padding: 6px; border-radius: 999px; }
.newsletter input { flex: 1; background: transparent; border: 0; padding: 10px 16px; color: var(--cream); min-width: 0; }
.newsletter input:focus { outline: none; }
.newsletter input::placeholder { color: #9A93A6; }

/* ---------- product cards */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; position: relative; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-media { display: block; aspect-ratio: 1; overflow: hidden; background: var(--cream); position: relative; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-media img { transform: scale(1.05); }
.badge { position: absolute; top: 12px; left: 12px; background: var(--lime); color: var(--ink); font-size: .72rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; font-family: var(--display); letter-spacing: .02em; z-index: 1; }
.badge.sold { background: var(--ink); color: var(--cream); }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-cat { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.card-title { font-family: var(--display); font-weight: 600; font-size: 1.08rem; text-decoration: none; line-height: 1.25; }
.card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 10px; gap: 8px; }
.price { font-family: var(--display); font-weight: 700; font-size: 1.15rem; }
.price s { color: var(--muted); font-weight: 500; font-size: .85em; margin-left: 6px; }
.price .off { color: var(--coral-dark); font-size: .75em; margin-left: 6px; }
.stock-note { font-size: .8rem; font-weight: 600; color: var(--coral-dark); display: flex; align-items: center; gap: 6px; }
.stock-note::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulse 1.4s infinite; }
.stock-note.ok { color: var(--ok); }
.stock-note.ok::before { animation: none; }
@keyframes pulse { 50% { opacity: .3; } }
.add-btn { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--ink); background: var(--paper); cursor: pointer; display: grid; place-items: center; flex: none; transition: .15s; }
.add-btn:hover { background: var(--ink); color: var(--cream); }
.add-btn svg { width: 18px; height: 18px; }
.add-btn:disabled { opacity: .35; cursor: not-allowed; }

/* ---------- shop */
.page-head { padding: 40px 0 8px; }
.shop-layout { display: grid; grid-template-columns: 220px 1fr; gap: 36px; padding: 24px 0 64px; }
.filters h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 0 0 12px; }
.filter-list { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 4px; }
.filter-list a { display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px; border-radius: 10px; text-decoration: none; font-weight: 500; }
.filter-list a:hover { background: var(--paper); }
.filter-list a.active { background: var(--ink); color: var(--cream); }
.filter-list a span { opacity: .55; font-weight: 600; }
.toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; gap: 12px; flex-wrap: wrap; }
select, .select { padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper); cursor: pointer; }
.empty { text-align: center; padding: 72px 24px; background: var(--paper); border-radius: var(--radius); border: 1.5px dashed var(--line); }
.empty .big { font-family: var(--display); font-size: 1.6rem; font-weight: 700; margin-bottom: 8px; }

/* ---------- product page */
.breadcrumbs { font-size: .875rem; color: var(--muted); padding: 24px 0; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); }
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding-bottom: 56px; }
.pdp-media { border-radius: 28px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); position: relative; aspect-ratio: 1; }
.pdp-media img { width: 100%; height: 100%; object-fit: cover; }
.pdp-info h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 12px; }
.pdp-price { font-size: 2rem; margin: 8px 0 16px; }
.pdp-desc { color: var(--ink-2); font-size: 1.05rem; }
.urgency { background: var(--coral-soft); border: 1.5px solid var(--coral); color: var(--ink); border-radius: 14px; padding: 12px 16px; font-weight: 600; margin: 20px 0; display: flex; gap: 10px; align-items: center; }
.urgency svg { width: 20px; color: var(--coral-dark); flex: none; }
.buy-row { display: flex; gap: 12px; margin: 24px 0; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--ink); border-radius: 999px; background: var(--paper); }
.qty button { width: 42px; height: 44px; border: 0; background: none; cursor: pointer; font-size: 1.2rem; font-weight: 700; }
.qty input { width: 40px; text-align: center; border: 0; background: none; font-weight: 700; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty.sm button { width: 32px; height: 34px; font-size: 1rem; }
.qty.sm input { width: 30px; }
.assurances { display: grid; gap: 10px; padding: 20px 0; border-top: 1px solid var(--line); margin-top: 8px; }
.assurances div { display: flex; gap: 10px; align-items: center; font-size: .92rem; }
.assurances svg { width: 20px; color: var(--ok); flex: none; }

/* ---------- cart drawer */
.overlay { position: fixed; inset: 0; background: rgba(22,19,31,.45); z-index: 80; opacity: 0; pointer-events: none; transition: opacity .25s; }
.overlay.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--cream); z-index: 90; transform: translateX(100%);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), visibility .3s; visibility: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); }
.drawer.open { transform: none; visibility: visible; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { margin: 0; }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 24px; }
.drawer-foot { padding: 20px 24px; border-top: 1px solid var(--line); background: var(--paper); display: grid; gap: 10px; }
.ship-meter { font-size: .85rem; font-weight: 600; margin-bottom: 4px; }
.meter { height: 8px; background: var(--line); border-radius: 999px; overflow: hidden; margin-top: 8px; }
.meter i { display: block; height: 100%; background: var(--coral); border-radius: 999px; transition: width .4s; }

/* ---------- cart lines */
.line { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; }
.line:last-child { border-bottom: 0; }
.line img { width: 76px; height: 76px; border-radius: 14px; object-fit: cover; background: var(--paper); border: 1px solid var(--line); }
.line-name { font-weight: 600; text-decoration: none; display: block; line-height: 1.3; }
.line-meta { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.line-remove { background: none; border: 0; color: var(--muted); font-size: .8rem; cursor: pointer; text-decoration: underline; padding: 0; }
.line-remove:hover { color: var(--err); }
.line-price { font-family: var(--display); font-weight: 700; text-align: right; }
.line-issue { color: var(--err); font-size: .8rem; font-weight: 600; margin-top: 4px; }

/* ---------- cart + checkout pages */
.two-col { display: grid; grid-template-columns: 1fr 400px; gap: 40px; padding: 24px 0 72px; align-items: start; }
.panel { background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line); padding: 28px; }
.panel + .panel { margin-top: 20px; }
.panel h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.step-num { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--cream); display: inline-grid; place-items: center; font-size: .9rem; flex: none; }
.summary { position: sticky; top: 96px; }
.summary-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: .95rem; }
.summary-row.total { font-family: var(--display); font-weight: 700; font-size: 1.35rem; border-top: 2px solid var(--ink); margin-top: 10px; padding-top: 14px; }
.summary-row.discount { color: var(--ok); font-weight: 600; }
.promo-form { display: flex; gap: 8px; margin: 16px 0 6px; }
.promo-form input { flex: 1; min-width: 0; text-transform: uppercase; }
.promo-msg { font-size: .85rem; font-weight: 600; min-height: 1.2em; }
.promo-msg.ok { color: var(--ok); }
.promo-msg.err { color: var(--err); }
.mini-lines .line { grid-template-columns: 56px 1fr auto; padding: 10px 0; }
.mini-lines img { width: 56px; height: 56px; }
.mini-lines .thumb { position: relative; }
.mini-lines .thumb span { position: absolute; top: -6px; right: -6px; background: var(--ink); color: var(--cream); font-size: .7rem; font-weight: 700; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; }
.secure-note { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: .8rem; color: var(--muted); margin-top: 12px; }
.secure-note svg { width: 14px; }

/* ---------- forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .85rem; font-weight: 600; }
.field label .opt { color: var(--muted); font-weight: 400; }
.input, .field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: var(--paper); transition: border-color .15s, box-shadow .15s; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(255,77,46,.15); }
.field.invalid input, .field.invalid select { border-color: var(--err); }
.field .err { color: var(--err); font-size: .8rem; font-weight: 600; }
.field textarea { min-height: 120px; resize: vertical; }
.check { display: flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 500; }
.check input { width: 18px; height: 18px; accent-color: var(--coral); }
.options { display: grid; gap: 10px; }
.option { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; background: var(--paper); transition: .15s; }
.option:hover { border-color: var(--muted); }
.option.selected { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: #FFFCF8; }
.option input { accent-color: var(--coral); width: 18px; height: 18px; margin: 0; }
.option .grow { flex: 1; }
.option b { display: block; }
.option small { color: var(--muted); }
.card-logos { display: flex; gap: 4px; }
.card-logos span { font-size: .62rem; font-weight: 800; padding: 3px 6px; border-radius: 4px; background: var(--cream); border: 1px solid var(--line); letter-spacing: .03em; }
.card-fields { padding: 16px 4px 4px; }
.test-hint { background: var(--warn-soft); border-radius: 10px; padding: 10px 14px; font-size: .82rem; margin-top: 14px; color: #6B4A12; }
.test-hint code { background: rgba(255,255,255,.7); padding: 1px 6px; border-radius: 4px; font-weight: 700; }
.form-error { background: #FDE7E4; color: #8E2316; border-radius: 12px; padding: 12px 16px; font-weight: 600; font-size: .92rem; margin-bottom: 16px; }

/* ---------- order confirmation */
.confirm-hero { text-align: center; padding: 56px 0 32px; }
.confirm-hero .tick { width: 84px; height: 84px; border-radius: 50%; background: var(--coral); color: #fff; display: grid; place-items: center; margin: 0 auto 20px; border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); animation: pop .5s cubic-bezier(.2,1.6,.4,1); }
.confirm-hero .tick svg { width: 40px; }
@keyframes pop { from { transform: scale(0); } }
.order-number { display: inline-block; font-family: var(--display); font-weight: 700; background: var(--lime); padding: 6px 16px; border-radius: 999px; font-size: 1.1rem; letter-spacing: .04em; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; margin: 8px 0 4px; }
.timeline::before { content: ""; position: absolute; top: 15px; left: 12.5%; right: 12.5%; height: 3px; background: var(--line); }
.timeline .progress { position: absolute; top: 15px; left: 12.5%; height: 3px; background: var(--coral); transition: width .6s; }
.tl-step { text-align: center; position: relative; font-size: .85rem; font-weight: 600; color: var(--muted); }
.tl-dot { width: 32px; height: 32px; border-radius: 50%; background: var(--paper); border: 3px solid var(--line); margin: 0 auto 8px; display: grid; place-items: center; position: relative; z-index: 1; }
.tl-step.done { color: var(--ink); }
.tl-step.done .tl-dot { background: var(--coral); border-color: var(--coral); color: #fff; }
.tl-step.done .tl-dot svg { width: 16px; }
.tl-step.current .tl-dot { box-shadow: 0 0 0 6px rgba(255,77,46,.18); }
.events { list-style: none; margin: 0; padding: 0; }
.events li { display: flex; gap: 14px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: .9rem; }
.events li:last-child { border-bottom: 0; }
.events time { color: var(--muted); min-width: 140px; }
.kv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.kv h4 { font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 8px; }
.kv p { margin: 0; font-size: .95rem; }
.cancelled-banner { background: var(--ink); color: var(--cream); padding: 14px 18px; border-radius: 14px; font-weight: 600; }

/* ---------- status pills */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; text-transform: capitalize; white-space: nowrap; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill-pending { background: var(--warn-soft); color: var(--warn); }
.pill-paid { background: #E3ECFF; color: #3354C4; }
.pill-processing { background: #F1E3FB; color: #7D3CB5; }
.pill-shipped { background: var(--coral-soft); color: var(--coral-dark); }
.pill-delivered { background: var(--ok-soft); color: var(--ok); }
.pill-cancelled { background: #EEE; color: #666; }
.pill-unpaid { background: var(--warn-soft); color: var(--warn); }
.pill-refunded { background: #EEE; color: #666; }

/* ---------- account */
.auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 24px 0 72px; }
.order-row { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.order-row:last-child { border-bottom: 0; }
.order-row .thumbs { display: flex; }
.order-row .thumbs img { width: 44px; height: 44px; border-radius: 10px; border: 2px solid var(--paper); margin-left: -10px; object-fit: cover; }
.order-row .thumbs img:first-child { margin-left: 0; }
.order-row .grow { flex: 1; }

/* ---------- brand page */
.brand-hero { background: var(--ink); color: var(--cream); border-radius: 32px; padding: 72px 48px; text-align: center; margin: 24px 0; }
.brand-hero .brand-mark svg { width: 96px; height: 96px; }
.brand-hero .wordmark { font-size: clamp(3rem, 8vw, 5.5rem); color: var(--cream); }
.brand-hero .tagline { color: #BDB5C9; font-size: 1rem; margin-top: 16px; display: block; }
.swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.brand-swatch { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--paper); }
.brand-swatch div { height: 120px; }
.brand-swatch p { margin: 0; padding: 14px 16px; font-size: .85rem; }
.brand-swatch b { display: block; font-family: var(--display); font-size: 1rem; }
.logo-variants { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.logo-variants > div { border-radius: var(--radius); padding: 40px 24px; display: grid; place-items: center; min-height: 180px; border: 1px solid var(--line); }
.voice { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.voice .panel h4 { margin-bottom: 10px; }
.voice ul { margin: 0; padding-left: 18px; }

/* ---------- footer */
.site-footer { background: var(--ink); color: #CFC8D9; padding: 64px 0 28px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.site-footer .wordmark { color: var(--cream); }
.site-footer h4 { color: var(--cream); font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; font-size: .92rem; }
.site-footer a:hover { color: var(--cream); }
.footer-bottom { border-top: 1px solid #2E2A38; margin-top: 48px; padding-top: 22px; display: flex; justify-content: space-between; font-size: .82rem; flex-wrap: wrap; gap: 12px; }
.big-tag { font-family: var(--display); font-weight: 700; font-size: clamp(2.2rem, 7vw, 5rem); letter-spacing: -.05em; color: var(--cream); line-height: 1; margin: 48px 0 0; }
.big-tag em { font-style: normal; color: var(--coral); }

/* ---------- toast */
.toasts { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 120; display: grid; gap: 8px; width: max-content; max-width: calc(100% - 32px); }
.toast { background: var(--ink); color: var(--cream); padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: .92rem; box-shadow: var(--shadow-lg); animation: toast-in .3s cubic-bezier(.2,1.4,.4,1); display: flex; gap: 10px; align-items: center; }
.toast.err { background: var(--err); }
.toast.ok::before { content: "✓"; color: var(--lime); font-weight: 800; }
@keyframes toast-in { from { transform: translateY(16px); opacity: 0; } }

.skeleton { background: linear-gradient(90deg, var(--line) 25%, #F6EEE4 50%, var(--line) 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite; border-radius: var(--radius); }
@keyframes shimmer { to { background-position: -200% 0; } }
.loading-page { min-height: 50vh; display: grid; place-items: center; }

/* ---------- admin */
.admin-body { background: #F7F2EC; }
.admin-shell { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; }
.admin-side { background: var(--ink); color: #CFC8D9; padding: 24px 16px; display: flex; flex-direction: column; gap: 4px; position: sticky; top: 0; height: 100vh; }
.admin-side .brand { padding: 0 8px 4px; }
.admin-side .wordmark { color: var(--cream); font-size: 1.35rem; }
.admin-side .tagline { padding: 0 8px 24px; color: #8A839A; }
.admin-side a.nav { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; text-decoration: none; font-weight: 600; font-size: .95rem; }
.admin-side a.nav svg { width: 20px; height: 20px; }
.admin-side a.nav:hover { background: var(--ink-2); color: var(--cream); }
.admin-side a.nav.active { background: var(--coral); color: #fff; }
.admin-side .side-foot { margin-top: auto; border-top: 1px solid #2E2A38; padding: 16px 8px 0; font-size: .85rem; }
.admin-side .side-foot a { color: var(--cream); }
.admin-main { padding: 32px 40px 64px; min-width: 0; }
.admin-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.admin-top h1 { font-size: 2rem; margin: 0; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.stat { background: var(--paper); border-radius: var(--radius); padding: 20px 22px; border: 1px solid var(--line); }
.stat .label { font-size: .8rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.stat .value { font-family: var(--display); font-weight: 700; font-size: 2rem; letter-spacing: -.03em; margin-top: 6px; }
.stat .sub { font-size: .82rem; color: var(--muted); }
.stat.accent { background: var(--coral); color: #fff; border-color: var(--coral); }
.stat.accent .label, .stat.accent .sub { color: rgba(255,255,255,.85); }
.dash-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; }
.table-wrap { background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line); overflow-x: auto; }
table.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th { text-align: left; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; padding: 14px 16px; border-bottom: 1px solid var(--line); background: #FDFAF6; white-space: nowrap; }
.table td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tr.clickable { cursor: pointer; }
.table tr.clickable:hover td { background: #FFFBF6; }
.table .thumb { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; border: 1px solid var(--line); background: var(--cream); }
.table .prod { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.nowrap { white-space: nowrap; }
.num { white-space: nowrap; font-variant-numeric: tabular-nums; text-align: right; }
.low { color: var(--coral-dark); font-weight: 700; }
.row-actions { display: flex; gap: 6px; justify-content: flex-end; }
.filter-bar { display: flex; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.filter-bar .input { max-width: 300px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); cursor: pointer; font-weight: 600; font-size: .85rem; text-transform: capitalize; }
.chip.active { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.modal-back { position: fixed; inset: 0; background: rgba(22,19,31,.5); z-index: 100; display: grid; place-items: center; padding: 20px; animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.modal { background: var(--cream); border-radius: 24px; width: min(760px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; box-shadow: var(--shadow-lg); }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 28px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--cream); z-index: 1; }
.modal-head h3 { margin: 0; }
.modal-body { padding: 24px 28px; }
.modal-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 28px; border-top: 1px solid var(--line); position: sticky; bottom: 0; background: var(--cream); }
.img-drop { display: grid; grid-template-columns: 140px 1fr; gap: 16px; align-items: center; }
.img-drop .preview { width: 140px; height: 140px; border-radius: 16px; background: var(--paper); border: 1.5px dashed var(--muted); display: grid; place-items: center; overflow: hidden; color: var(--muted); font-size: .8rem; text-align: center; }
.img-drop .preview img { width: 100%; height: 100%; object-fit: cover; }
.login-screen { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: var(--ink); }
.login-card { background: var(--cream); border-radius: 28px; padding: 40px; width: min(420px, 100%); }
.login-card .brand { margin-bottom: 6px; }
.order-detail { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; align-items: start; }

/* ---------- responsive */
@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .perks { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .dash-grid, .order-detail { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .main-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--cream); flex-direction: column; padding: 16px 24px; border-bottom: 1px solid var(--line); gap: 8px; }
  .main-nav.open { display: flex; }
  .menu-toggle { display: inline-flex; }
  .header-search { display: none; }
  .header-inner { gap: 12px; }
  .header-actions { margin-left: auto; }
  .hero-grid, .pdp, .two-col, .manifesto, .auth-grid, .voice { grid-template-columns: 1fr; }
  .hero-art { max-width: 460px; margin: 0 auto; width: 100%; }
  .manifesto { padding: 40px 28px; }
  .shop-layout { grid-template-columns: 1fr; }
  .filters .filter-list { flex-direction: row; flex-wrap: wrap; margin-bottom: 16px; }
  .categories { grid-template-columns: repeat(2, 1fr); }
  .summary { position: static; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; padding: 12px; }
  .admin-side .tagline, .admin-side .side-foot { display: none; }
  .admin-side a.nav span { display: none; }
  .admin-main { padding: 24px 16px; }
  .swatches, .logo-variants { grid-template-columns: repeat(2, 1fr); }
  .kv { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .grid, .grid.cols-3 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card-body { padding: 12px; }
  .card-title { font-size: .95rem; }
  .price { font-size: 1rem; }
  .card .price s { display: block; margin: 0; }
  .add-btn { width: 36px; height: 36px; }
  .perks { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .panel { padding: 20px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat .value { font-size: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .events time { min-width: 100px; }
  .timeline { font-size: .75rem; }
  .img-drop { grid-template-columns: 1fr; }
  .wordmark { font-size: 1.3rem; }
  .brand-mark svg { width: 32px; height: 32px; }
}

/* ---------- product photography (white-background studio shots) */
.card-media, .pdp-media, .category-card, .hero-art .tile { background: #fff; }
.card-media img, .category-card img { object-fit: contain; padding: 6%; }
.pdp-media img { object-fit: contain; padding: 4%; }
.hero-art .tile img { aspect-ratio: 1; object-fit: contain; padding: 6%; }
.category-card img { padding: 8% 8% 28%; }
.line img, .mini-lines img, .table .thumb, .order-row .thumbs img { object-fit: contain; background: #fff; }

/* ---------- colour options */
.swatch { display: inline-block; width: 30px; height: 30px; border-radius: 50%; overflow: hidden; background: var(--line);
  box-shadow: inset 0 0 0 1px rgba(22,19,31,.15); flex: none; vertical-align: middle; }
.swatch img { width: 100%; height: 100%; object-fit: cover; display: block; }
.swatch.dot { width: 16px; height: 16px; }
.color-picker { margin: 4px 0 20px; }
.color-label { font-size: .95rem; margin-bottom: 10px; }
.color-options { display: flex; flex-wrap: wrap; gap: 10px; }
.color-opt { padding: 3px; border: 2px solid transparent; border-radius: 50%; background: none; cursor: pointer; line-height: 0; transition: border-color .15s, transform .15s; }
.color-opt:hover { transform: scale(1.08); }
.color-opt.selected { border-color: var(--ink); }
.color-opt:focus-visible { outline: 3px solid rgba(255,77,46,.5); outline-offset: 2px; }
.card-colors { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 2px 0; }
.card-colors a { line-height: 0; border-radius: 50%; }
.card-colors a:hover .swatch { transform: scale(1.2); }
.card-colors .swatch { transition: transform .15s; }
.card-colors .more { font-size: .75rem; color: var(--muted); font-weight: 600; }
.price .from { font-size: .7em; font-weight: 500; color: var(--muted); }
.color-row { display: grid; grid-template-columns: 34px 1.1fr 1.6fr 1.3fr .8fr 32px; gap: 8px; align-items: center; margin-bottom: 8px; }
.color-row .input { padding: 9px 10px; font-size: .85rem; }
.color-head { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 6px; }
@media (max-width: 600px) { .color-row { grid-template-columns: 34px 1fr 1fr 32px; } .color-row .c-img, .color-row .c-price, .color-head { display: none; } }
.field input.readonly { background: var(--cream); color: var(--ink-2); cursor: default; }
.field .hint { display: flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--muted); }
