/* STOLN ARTS — storefront styles */
:root {
  --ink: #0B0B12;
  --ink-2: #13131d;
  --ink-3: #1c1c2a;
  --line: rgba(245, 241, 232, 0.14);
  --paper: #F5F1E8;
  --paper-dim: #b9b4c8;
  --violet: #7B2CFF;
  --lime: #B8FF36;
  --cyan: #2DE2E6;
  --coral: #FF4F9A;

  --display: "Unbounded", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --ui: "Figtree", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap: 78rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --radius: 14px;
  --header-h: 4.25rem;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
:root { padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
html { scroll-padding-top: calc(var(--header-h) + 1rem + env(safe-area-inset-top, 0px)); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh;
  background: var(--ink); color: var(--paper);
  font-family: var(--ui); font-size: 1rem; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.02; letter-spacing: -0.01em; margin: 0 0 .75rem; }
h1 { font-size: clamp(2.6rem, 8vw, 6.2rem); }
h2 { font-size: clamp(1.8rem, 4.6vw, 3.2rem); }
h3 { font-size: 1.15rem; line-height: 1.2; letter-spacing: 0; }
p { margin: 0 0 1rem; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--paper-dim); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: 1rem; top: -5rem; z-index: 200; background: var(--lime); color: var(--ink); padding: .7rem 1rem; font-weight: 700; border-radius: 8px; }
.skip:focus { top: calc(.75rem + env(safe-area-inset-top, 0px)); }

/* ---------- Demo notice ---------- */
.demo-bar {
  background: var(--lime); color: var(--ink);
  font-size: .85rem; font-weight: 600; text-align: center;
  padding: .45rem var(--gutter);
}
.demo-bar a { color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3rem; padding: .7rem 1.4rem; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; background: none;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { box-shadow: 0 0 0 4px rgba(184, 255, 54, .22), 0 0 28px rgba(184, 255, 54, .35); }
.btn-outline { border-color: var(--paper); color: var(--paper); }
.btn-outline:hover { background: var(--paper); color: var(--ink); }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; box-shadow: none; }
.link-btn { background: none; border: 0; padding: 0; color: var(--paper-dim); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 2.75rem; }
.link-btn:hover { color: var(--paper); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 60;
  background: rgba(11, 11, 18, .86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }
.logo {
  font-family: var(--display); font-weight: 800; font-size: 1.15rem; letter-spacing: .04em;
  text-decoration: none; white-space: nowrap; margin-right: auto;
}
.logo span { background: linear-gradient(90deg, var(--cyan), var(--violet) 45%, var(--coral)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.main-nav { display: none; }
.main-nav ul { display: flex; gap: 1.4rem; list-style: none; margin: 0; padding: 0; }
.main-nav a { text-decoration: none; font-weight: 600; color: var(--paper-dim); padding: .5rem 0; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--paper); }
.main-nav a[aria-current="page"] { box-shadow: inset 0 -2px var(--lime); }
.icon-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; border-radius: 999px; border: 1px solid var(--line);
  background: var(--ink-2); cursor: pointer;
}
.icon-btn:hover { border-color: var(--paper-dim); }
.icon-btn svg { width: 1.25rem; height: 1.25rem; }
.cart-count {
  position: absolute; top: -4px; right: -4px; min-width: 1.3rem; height: 1.3rem; padding: 0 .3rem;
  border-radius: 999px; background: var(--coral); color: var(--ink);
  font-size: .75rem; font-weight: 800; display: grid; place-items: center;
}
.cart-count[hidden] { display: none; }
.menu-btn { display: inline-flex; }
@media (min-width: 60rem) {
  .main-nav { display: block; margin-right: 1rem; }
  .menu-btn { display: none; }
}

/* Search bar (drops under header) */
.search-panel { border-top: 1px solid var(--line); padding: .9rem 0; }
.search-panel[hidden] { display: none; }
.search-form { display: flex; gap: .5rem; }
.search-form input {
  flex: 1; min-height: 3rem; padding: 0 1rem; border-radius: 999px;
  background: var(--ink-2); border: 1px solid var(--line);
}

/* Mobile menu */
.mobile-menu { border-top: 1px solid var(--line); padding: .5rem 0 1.25rem; }
.mobile-menu[hidden] { display: none; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu a { display: block; padding: .8rem 0; font-family: var(--display); font-weight: 700; font-size: 1.4rem; text-decoration: none; border-bottom: 1px solid var(--line); }
@media (min-width: 60rem) { .mobile-menu { display: none !important; } }

/* ---------- Aurora + halftone ---------- */
.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.aurora::before, .aurora::after {
  content: ""; position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%;
  filter: blur(90px); opacity: .45; animation: drift 26s ease-in-out infinite alternate;
}
.aurora::before { background: radial-gradient(circle, var(--violet), transparent 65%); left: -20vmax; top: -25vmax; }
.aurora::after { background: radial-gradient(circle, var(--cyan), transparent 65%); right: -25vmax; bottom: -35vmax; opacity: .28; animation-duration: 32s; }
@keyframes drift { to { transform: translate(6vmax, 4vmax) scale(1.08); } }
.halftone {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(245, 241, 232, .12) 1px, transparent 1.4px);
  background-size: 7px 7px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 60%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 60%, transparent);
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2.5rem, 6vw, 4rem); }
.hero > .wrap { position: relative; z-index: 1; }
.hero-head { max-width: 52rem; margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.hero-head h1 { margin-bottom: 1rem; }
.hero-head h1 em { font-style: normal; background: linear-gradient(90deg, var(--lime), var(--cyan) 50%, var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-head p { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--paper-dim); max-width: 34rem; }
.hero-split { display: grid; gap: 1rem; }
@media (min-width: 48rem) { .hero-split { grid-template-columns: 1fr 1fr; gap: 1.25rem; } }
.look {
  position: relative; border-radius: calc(var(--radius) + 6px); overflow: hidden;
  min-height: 26rem; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.25rem; isolation: isolate; border: 1px solid var(--line);
}
.look-oversized { background: radial-gradient(120% 90% at 20% 15%, #3a1a8f 0%, #16123a 45%, var(--ink-2) 80%); }
.look-festival { background: radial-gradient(120% 90% at 80% 15%, #8f1a5a 0%, #1d2a4a 50%, var(--ink-2) 85%); }
.look-art { position: absolute; inset: 0; z-index: -1; display: flex; align-items: center; justify-content: center; padding: 1.5rem 1rem 6.5rem; }
.look-art .stack { position: relative; width: min(100%, 22rem); aspect-ratio: 4 / 5; }
.look-art .stack > div { position: absolute; filter: drop-shadow(0 18px 30px rgba(0,0,0,.55)); }
.look-art .top { width: 74%; left: 2%; top: 0; z-index: 2; transform: rotate(-4deg); }
.look-art .bottom { width: 64%; right: 0; top: 22%; transform: rotate(5deg); }
.look-label { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.look-label h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); margin: 0; }
.look-label p { margin: .2rem 0 0; color: var(--paper-dim); font-size: .95rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(3rem, 8vw, 5.5rem) 0; position: relative; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.section-head h2 { margin: 0; }
.section-head a { color: var(--paper-dim); font-weight: 600; }
.section-head a:hover { color: var(--lime); }

/* Category tiles */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
@media (min-width: 48rem) { .tiles { grid-template-columns: repeat(4, 1fr); gap: 1rem; } }
.tile {
  position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line);
  aspect-ratio: 3 / 4; display: flex; align-items: flex-end; padding: 1rem; text-decoration: none;
  background: var(--ink-2); isolation: isolate;
}
.tile .tile-art { position: absolute; inset: 8% 10% 22%; z-index: -1; transition: transform .5s var(--ease); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(70% 60% at 50% 40%, var(--glow, #7B2CFF) 0%, transparent 70%); opacity: .45; }
.tile:hover .tile-art { transform: scale(1.04) rotate(-1deg); }
.tile span { font-family: var(--display); font-weight: 800; font-size: clamp(1.1rem, 2.4vw, 1.5rem); }

/* Product grid & cards */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem .9rem; }
@media (min-width: 48rem) { .grid { grid-template-columns: repeat(3, 1fr); gap: 2rem 1.25rem; } }
@media (min-width: 72rem) { .grid { grid-template-columns: repeat(4, 1fr); } }
.card { position: relative; display: flex; flex-direction: column; }
.card-media {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden;
  background: radial-gradient(80% 70% at 50% 40%, var(--glow, #2a1d5a) 0%, var(--ink-3) 72%);
  border: 1px solid var(--line); padding: 8%;
}
.card-media svg, .card-media img { width: 100%; height: 100%; object-fit: contain; transition: transform .45s var(--ease); }
.card:hover .card-media svg, .card:hover .card-media img { transform: translateY(-4px) rotate(-1deg); }
.badge {
  position: absolute; top: .7rem; left: .7rem; z-index: 1;
  background: var(--paper); color: var(--ink); font-size: .75rem; font-weight: 800;
  padding: .25rem .6rem; border-radius: 999px;
}
.card-body { padding-top: .75rem; display: grid; gap: .15rem; }
.card-title { font-family: var(--ui); font-weight: 700; font-size: 1rem; line-height: 1.3; margin: 0; }
.card-title a { text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: var(--radius); }
.card-meta { display: flex; justify-content: space-between; gap: .5rem; color: var(--paper-dim); font-size: .9rem; }
.card-price { color: var(--paper); font-weight: 700; }
.dots { display: flex; gap: .35rem; margin-top: .35rem; }
.dot { width: .95rem; height: .95rem; border-radius: 50%; border: 1px solid rgba(245,241,232,.35); }
.sold-out .card-media { opacity: .6; }

/* Collections band */
.collections { display: grid; gap: .75rem; }
@media (min-width: 48rem) { .collections { grid-template-columns: repeat(4, 1fr); } }
.collection {
  border-radius: var(--radius); padding: 1.25rem; min-height: 9rem;
  display: flex; flex-direction: column; justify-content: space-between; text-decoration: none;
  border: 1px solid var(--line); background: var(--ink-2); transition: border-color .2s;
}
.collection:hover { border-color: var(--c, var(--lime)); }
.collection strong { font-family: var(--display); font-size: 1.3rem; line-height: 1.1; color: var(--c, var(--paper)); }
.collection span { color: var(--paper-dim); }

/* Story */
.story { background: var(--ink-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.story-grid { display: grid; gap: 2rem; align-items: center; position: relative; z-index: 1; }
@media (min-width: 56rem) { .story-grid { grid-template-columns: 1.1fr 1fr; gap: 4rem; } }
.story p { font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: var(--paper-dim); max-width: 36rem; }
.story p strong { color: var(--paper); font-weight: 600; }
.wave { width: 100%; height: auto; }
.wave path { fill: none; stroke-width: 3; stroke-linecap: round; }

/* Pairings */
.pairings { display: grid; gap: 1rem; }
@media (min-width: 56rem) { .pairings { grid-template-columns: repeat(3, 1fr); } }
.pairing { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; background: var(--ink-2); }
.pairing h3 { font-size: 1.35rem; margin-bottom: .3rem; }
.pairing > p { color: var(--paper-dim); }
.pairing-art { display: flex; justify-content: center; align-items: flex-end; gap: .25rem; height: 11rem; margin: .5rem 0 1rem; }
.pairing-art > div { height: 100%; flex: 1; max-width: 9rem; }
.pairing-art svg { height: 100%; width: 100%; }
.pairing ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.pairing li { border-bottom: 1px solid var(--line); }
.pairing li a { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 0; text-decoration: none; min-height: 2.75rem; }
.pairing li a:hover { color: var(--lime); }

/* Signup */
.signup { overflow: hidden; }
.signup-box {
  position: relative; z-index: 1; border-radius: calc(var(--radius) + 8px); padding: clamp(1.75rem, 5vw, 3.5rem);
  background:
    radial-gradient(60% 120% at 0% 0%, rgba(123,44,255,.55), transparent 60%),
    radial-gradient(60% 120% at 100% 100%, rgba(255,79,154,.45), transparent 60%),
    var(--ink-3);
  border: 1px solid var(--line);
  display: grid; gap: 1.5rem; align-items: center;
}
@media (min-width: 56rem) { .signup-box { grid-template-columns: 1.1fr 1fr; } }
.signup-box p { color: var(--paper-dim); margin: 0; }
.field-row { display: flex; gap: .5rem; flex-wrap: wrap; }
.field-row input { flex: 1 1 14rem; }
.input {
  min-height: 3rem; padding: .7rem 1rem; border-radius: 12px;
  background: rgba(11,11,18,.65); border: 1px solid rgba(245,241,232,.3);
}
.input:focus { border-color: var(--lime); }
.form-note { font-size: .9rem; color: var(--paper-dim); margin-top: .6rem; min-height: 1.4em; }
.form-note.ok { color: var(--lime); }

/* Social gallery */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
@media (min-width: 48rem) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery li {
  aspect-ratio: 1; border-radius: var(--radius); border: 1px dashed rgba(245,241,232,.25);
  display: grid; place-items: center; text-align: center; padding: 1rem; color: var(--paper-dim); font-size: .9rem;
  background: radial-gradient(circle at 50% 40%, rgba(45,226,230,.1), transparent 70%);
}
.gallery ul, ul.gallery { list-style: none; margin: 0; padding: 0; }

/* ---------- Shop page ---------- */
.page-head { padding: clamp(2rem, 5vw, 3.5rem) 0 1.25rem; position: relative; overflow: hidden; }
.page-head > .wrap { position: relative; z-index: 1; }
.page-head h1 { font-size: clamp(2.2rem, 6vw, 4rem); margin-bottom: .4rem; }
.page-head p { color: var(--paper-dim); max-width: 40rem; }
.toolbar { display: grid; gap: .9rem; padding: 1rem 0 1.5rem; border-bottom: 1px solid var(--line); margin-bottom: 1.75rem; }
@media (min-width: 56rem) { .toolbar { grid-template-columns: 1fr auto; align-items: center; } }
.chips { display: flex; gap: .5rem; flex-wrap: wrap; }
.chip {
  min-height: 2.75rem; padding: .45rem 1rem; border-radius: 999px; border: 1px solid var(--line);
  background: var(--ink-2); font-weight: 600; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center;
}
.chip[aria-pressed="true"] { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.chip:hover { border-color: var(--paper-dim); }
.tools-right { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.tools-right label { font-size: .9rem; color: var(--paper-dim); }
.select {
  min-height: 2.75rem; padding: .4rem 2.2rem .4rem .9rem; border-radius: 999px; border: 1px solid var(--line);
  background: var(--ink-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23F5F1E8' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat right .9rem center;
  appearance: none; -webkit-appearance: none;
}
.result-line { color: var(--paper-dim); margin-bottom: 1.25rem; }
.empty { padding: 3rem 0; text-align: center; color: var(--paper-dim); }

/* ---------- Product page ---------- */
.crumbs { font-size: .9rem; color: var(--paper-dim); padding: 1.25rem 0 0; }
.crumbs a { color: var(--paper-dim); }
.pdp { display: grid; gap: 2rem; padding: 1.25rem 0 3rem; }
@media (min-width: 56rem) { .pdp { grid-template-columns: 1.15fr 1fr; gap: 3.5rem; align-items: start; } }
.gallery-main {
  aspect-ratio: 4 / 5; border-radius: calc(var(--radius) + 4px); overflow: hidden; border: 1px solid var(--line);
  background: radial-gradient(80% 70% at 50% 40%, var(--glow, #2a1d5a) 0%, var(--ink-3) 72%); padding: 7%;
}
.gallery-main.detail { padding: 0; }
.gallery-main svg, .gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-main.detail svg, .gallery-main.detail img { object-fit: cover; }
.thumbs { display: flex; gap: .6rem; margin-top: .75rem; }
.thumb {
  width: 5rem; aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; border: 2px solid var(--line);
  background: var(--ink-3); padding: 6%; cursor: pointer;
}
.thumb.detail { padding: 0; }
.thumb[aria-pressed="true"] { border-color: var(--lime); }
.art-note { font-size: .85rem; color: var(--paper-dim); margin-top: .75rem; }
.pdp-info { position: relative; }
@media (min-width: 56rem) { .pdp-info { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.pdp-info .eyebrow { color: var(--cyan); font-weight: 700; margin-bottom: .4rem; }
.pdp-info h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
.price { font-size: 1.5rem; font-weight: 800; margin-bottom: .2rem; }
.price-note { font-size: .85rem; color: var(--paper-dim); margin-bottom: 1.5rem; }
fieldset { border: 0; padding: 0; margin: 0 0 1.4rem; min-width: 0; }
legend { font-weight: 700; margin-bottom: .6rem; padding: 0; display: flex; gap: .5rem; width: 100%; }
legend .val { font-weight: 400; color: var(--paper-dim); }
.opts { display: flex; flex-wrap: wrap; gap: .5rem; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt span {
  display: inline-flex; align-items: center; gap: .55rem; min-height: 2.9rem; min-width: 3.2rem; justify-content: center;
  padding: .45rem .95rem; border-radius: 12px; border: 1px solid var(--line); background: var(--ink-2);
  font-weight: 600; cursor: pointer;
}
.opt input:checked + span { border-color: var(--paper); box-shadow: inset 0 0 0 1px var(--paper); }
.opt input:focus-visible + span { outline: 3px solid var(--lime); outline-offset: 2px; }
.opt input:disabled + span { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.opt .dot { width: 1.15rem; height: 1.15rem; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.qty button { width: 2.75rem; height: 2.75rem; border: 0; background: none; cursor: pointer; font-size: 1.2rem; border-radius: 999px; }
.qty button:hover { background: var(--ink-3); }
.qty output, .qty span { min-width: 2rem; text-align: center; font-weight: 700; }
.buy-row { display: flex; gap: .75rem; align-items: center; margin: 1.5rem 0 .5rem; flex-wrap: wrap; }
.buy-row .btn { flex: 1 1 12rem; }
.status-line { min-height: 1.5em; font-weight: 600; color: var(--lime); }
.status-line.warn { color: var(--coral); }
.details { border-top: 1px solid var(--line); margin-top: 1.5rem; }
.details details { border-bottom: 1px solid var(--line); }
.details summary { cursor: pointer; padding: 1rem 0; font-weight: 700; min-height: 2.75rem; }
.details details > div { padding: 0 0 1rem; color: var(--paper-dim); }

/* ---------- Content pages ---------- */
.prose { max-width: 46rem; padding-bottom: 4rem; }
.prose h2 { font-size: 1.5rem; margin-top: 2.25rem; }
.prose p, .prose li { color: var(--paper-dim); }
.prose strong { color: var(--paper); }
.placeholder {
  border: 1px dashed var(--coral); border-radius: 12px; padding: 1rem 1.1rem; margin: 1rem 0;
  background: rgba(255,79,154,.08); color: var(--paper);
}
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; margin: 1rem 0; }
table { border-collapse: collapse; width: 100%; min-width: 32rem; font-size: .95rem; }
th, td { padding: .7rem .9rem; text-align: left; border-bottom: 1px solid var(--line); }
th { background: var(--ink-2); }
tr:last-child td { border-bottom: 0; }
.form-grid { display: grid; gap: 1rem; max-width: 34rem; }
.form-grid label { display: grid; gap: .35rem; font-weight: 600; }
textarea.input { min-height: 8rem; resize: vertical; }

/* ---------- Cart drawer ---------- */
.scrim { position: fixed; inset: 0; background: rgba(5,5,10,.65); z-index: 90; opacity: 0; transition: opacity .25s; }
.scrim.open { opacity: 1; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 100; width: min(100%, 26rem);
  background: var(--ink-2); border-left: 1px solid var(--line);
  display: flex; flex-direction: column;
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px);
  transform: translateX(100%); transition: transform .3s var(--ease);
}
.drawer.open { transform: none; }
.drawer[hidden], .scrim[hidden] { display: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.3rem; margin: 0; }
.drawer-body { flex: 1; overflow-y: auto; padding: .5rem 1.25rem; }
.drawer-foot { border-top: 1px solid var(--line); padding: 1rem 1.25rem 1.25rem; display: grid; gap: .6rem; }
.line-item { display: grid; grid-template-columns: 4.5rem 1fr; gap: .9rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.line-art { aspect-ratio: 4 / 5; border-radius: 10px; background: var(--ink-3); padding: 8%; }
.line-item h3 { font-family: var(--ui); font-size: .98rem; font-weight: 700; margin: 0 0 .15rem; }
.line-item h3 a { text-decoration: none; }
.line-meta { font-size: .88rem; color: var(--paper-dim); }
.line-row { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: .4rem; flex-wrap: wrap; }
.subtotal { display: flex; justify-content: space-between; font-weight: 800; font-size: 1.1rem; }
.small-note { font-size: .82rem; color: var(--paper-dim); margin: 0; }

/* Checkout notice dialog */
.notice {
  border: 1px solid var(--line); border-radius: 18px; background: var(--ink-2); color: var(--paper);
  max-width: min(92vw, 30rem); padding: 1.75rem;
}
.notice::backdrop { background: rgba(5,5,10,.75); }
.notice h2 { font-size: 1.4rem; }
.notice p { color: var(--paper-dim); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 3rem 0 2rem; margin-top: 2rem; background: var(--ink); }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 48rem) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand strong { font-family: var(--display); font-size: 1.5rem; display: block; margin-bottom: .3rem; }
.footer-brand p { color: var(--paper-dim); }
.site-footer h2 { font-family: var(--ui); font-size: .95rem; font-weight: 700; margin-bottom: .6rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li a { display: inline-block; padding: .35rem 0; color: var(--paper-dim); text-decoration: none; }
.site-footer li a:hover { color: var(--paper); }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: .85rem; color: var(--paper-dim); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* fixes */
.thumb svg, .thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb.detail svg, .thumb.detail img { object-fit: cover; }
main:focus, main:focus-visible { outline: none; }
.line-art svg, .line-art img { width: 100%; height: 100%; }
@media (max-width: 47.99rem) {
  .look { min-height: 25rem; }
  .look-art { padding: 1.25rem 1rem 7.5rem; }
  .look-art .stack { width: min(76%, 17rem); }
}
.thumb { display: block; }
.thumb svg, .thumb img { height: auto; aspect-ratio: 4 / 5; }
