/* Tixie.925 storefront. One near-white ground, dark light-weight type, one ultramarine. */
:root {
  --ground: #f6f5f2;
  --paper: #fbfaf8;
  --frame: #ebeae5;
  --ink: #1b1b1a;
  --muted: #5f5f5b;
  --line: #e1dfd9;
  --dash: #9b9a95;
  --accent: #1b1b1a;
  --accent-deep: #5f5f5b;
  --on-accent: #ffffff;

  --font: 'Source Sans 3', 'Calibri Light', Calibri, 'Segoe UI', system-ui, sans-serif;
  --step-display: clamp(2.45rem, 1.5rem + 4.3vw, 5.25rem);
  --step-h1: clamp(2.1rem, 1.5rem + 2.8vw, 3.75rem);
  --step-h2: clamp(1.55rem, 1.2rem + 1.4vw, 2.35rem);
  --step-big: clamp(1.35rem, 1.05rem + 1.2vw, 2rem);

  --gutter: clamp(1rem, 0.6rem + 2vw, 2.5rem);
  --max: 88rem;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sheet: -24px 0 60px -20px rgb(27 27 26 / 0.22);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scrollbar-color: #c9c7c1 var(--ground);
  scrollbar-width: thin;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.65;
  caret-color: var(--accent);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--accent);
  color: var(--on-accent);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

strong,
b {
  font-weight: 400;
}
h1,
h2,
h3 {
  font-weight: 200;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0.5rem;
  background: var(--ink);
  color: var(--ground);
  padding: 0.5rem 1rem;
  z-index: 50;
}
.skip:focus {
  left: 0.5rem;
}

/* ---------- Header ---------- */
.announce {
  text-align: center;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  padding: 0.5rem var(--gutter);
  border-bottom: 1px solid var(--line);
}

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: 'brand tools' 'nav nav';
  align-items: center;
  gap: 0.25rem 1rem;
  padding: 0.65rem var(--gutter) 0.4rem;
  background: rgb(246 245 242 / 0.92);
  backdrop-filter: saturate(1.2) blur(10px);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.top.scrolled {
  border-bottom-color: var(--line);
}

.brand {
  grid-area: brand;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-size: 1.35rem;
  font-weight: 300;
  letter-spacing: 0.01em;
  width: fit-content;
}
.brand img {
  width: 26px;
  height: auto;
}

.nav {
  grid-area: nav;
  display: flex;
  gap: 1.4rem;
  font-size: 0.95rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav a {
  text-decoration: none;
  color: var(--muted);
  padding: 0.35rem 0;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
}
.nav a:hover,
.nav a[aria-current='page'] {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.tools {
  grid-area: tools;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.lang {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--muted);
  padding: 0.6rem 0.6rem;
}
.lang:hover {
  color: var(--ink);
}

.bag-btn,
.icon-btn {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.bag-btn:hover,
.icon-btn:hover {
  background: var(--frame);
}
.bag-count {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 0.7rem;
  line-height: 18px;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}
.bag-count.bump {
  animation: bump 0.5s var(--ease);
}
@keyframes bump {
  40% {
    transform: scale(1.35);
  }
}

@media (min-width: 760px) {
  .top {
    grid-template-columns: 1fr auto 1fr;
    grid-template-areas: 'brand nav tools';
    padding-block: 0.9rem;
  }
  .tools {
    justify-self: end;
  }
  .nav {
    gap: 2.2rem;
  }
}

main {
  padding-inline: var(--gutter);
  max-width: var(--max);
  margin-inline: auto;
}

/* ---------- Pebble: the organic frame every piece sits in ---------- */
.pebble {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--frame);
  aspect-ratio: 4 / 5;
  isolation: isolate;
}
.pebble img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Evens out the mixed white/grey backgrounds of phone photos into the frame tone. */
  mix-blend-mode: multiply;
  transition: transform 1.1s var(--ease);
}
.pebble-empty {
  position: absolute;
  inset: 30%;
  border: 1px solid var(--line);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  min-height: 52px;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 1px solid var(--ink);
  font: inherit;
  font-size: 1.02rem;
  font-weight: 300;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.2s;
}
.btn:active {
  transform: scale(0.98);
}
.btn-solid {
  background: var(--ink);
  color: var(--ground);
}
.btn-solid:hover {
  background: #3a3a38;
  border-color: #3a3a38;
}
.btn-solid[disabled] {
  background: var(--dash);
  border-color: var(--dash);
  cursor: progress;
}
.btn-wide {
  width: 100%;
}
.btn-price {
  font-variant-numeric: tabular-nums;
  opacity: 0.75;
  padding-left: 0.9rem;
  border-left: 1px solid currentColor;
}
.btn.is-added {
  background: var(--ground);
  color: var(--ink);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.15rem;
  transition: gap 0.3s var(--ease), color 0.2s;
}
.link-arrow:hover {
  gap: 0.85rem;
  color: var(--muted);
}

/* ---------- Ticket: code, name, marks ---------- */
.code {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.mark {
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: var(--muted);
  white-space: nowrap;
}
.mark-soon {
  color: var(--ink);
}

/* ---------- Home hero ---------- */
.hero {
  display: grid;
  grid-template-areas: 'title' 'piece' 'buy' 'lede';
  gap: 1.25rem;
  padding-block: 1.25rem 3.5rem;
}
.hero-text,
.hero-piece {
  display: contents;
}
.hero h1 {
  grid-area: title;
  font-size: var(--step-display);
  max-width: 11ch;
}
.lede {
  grid-area: lede;
  color: var(--muted);
  max-width: 38ch;
  font-size: 1.08rem;
}
.hero-figure {
  grid-area: piece;
  position: relative;
  display: block;
  width: min(100%, 36rem);
  justify-self: center;
  margin-block: 0.5rem 0.75rem;
}
.pebble-hero {
  aspect-ratio: 1 / 1;
}
@media (min-width: 900px) {
  .pebble-hero {
    aspect-ratio: 4 / 5;
  }
}
.hero-buy {
  grid-area: buy;
  display: grid;
  gap: 1rem;
}
.ticket {
  display: grid;
  gap: 0.2rem;
}
.ticket h2 {
  font-size: var(--step-big);
}
.ticket h2 a {
  text-decoration: none;
}
.ticket h2 a:hover {
  text-decoration: underline;
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    grid-template-rows: auto auto 1fr;
    grid-template-areas:
      'title piece'
      'lede piece'
      'buy piece';
    column-gap: clamp(2rem, 5vw, 6rem);
    row-gap: 1.75rem;
    padding-block: clamp(2rem, 5vh, 4.5rem) 6rem;
    min-height: min(52rem, calc(100svh - 7rem));
  }
  .hero h1 {
    align-self: end;
  }
  .hero-buy {
    align-self: end;
    max-width: 26rem;
  }
  .hero-figure {
    width: min(100%, 40rem);
    justify-self: end;
    align-self: center;
  }
}

/* ---------- Buy form ---------- */
.buy {
  display: grid;
  gap: 1rem;
  justify-items: start;
}
.buy .btn {
  width: 100%;
  max-width: 26rem;
}
.sizes {
  border: 0;
  padding: 0;
  margin: 0;
}
.sizes legend {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.size-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.size {
  position: relative;
}
.size input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}
.size span {
  display: inline-grid;
  place-items: center;
  min-width: 3.1rem;
  height: 44px;
  padding: 0 1rem;
  border-radius: 999px;
  border: 1px dashed var(--dash);
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.size input:hover + span {
  border-color: var(--ink);
}
.size input:checked + span {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--on-accent);
}
.size input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.buy-msg {
  font-size: 0.9rem;
  color: var(--accent-deep);
  min-height: 1.4em;
}
.buy-msg:empty {
  display: none;
}
.unavailable {
  color: var(--muted);
  max-width: 34ch;
}

/* ---------- Product grid ("the pool") ---------- */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}
.section-head h2 {
  font-size: var(--step-h2);
}

.grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.25rem 0.9rem;
}
.grid > li:nth-child(2n) {
  margin-top: 2.5rem;
}
@media (min-width: 700px) {
  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3rem 1.5rem;
  }
  .grid > li:nth-child(2n) {
    margin-top: 0;
  }
  .grid > li:nth-child(3n + 2) {
    margin-top: 3.5rem;
  }
}
@media (min-width: 1100px) {
  .grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 3.5rem 2rem;
  }
  .grid > li:nth-child(3n + 2) {
    margin-top: 0;
  }
  .grid > li:nth-child(4n + 2),
  .grid > li:nth-child(4n + 4) {
    margin-top: 4rem;
  }
}

.card a {
  display: grid;
  gap: 0.85rem;
  text-decoration: none;
}
.card a:hover .pebble img {
  transform: scale(1.035);
}
.card a:focus-visible {
  outline: none;
}
.card a:focus-visible h3 {
  text-decoration: underline;
  text-decoration-color: var(--accent);
}
.card-text {
  display: grid;
  gap: 0.15rem;
}
.card h3 {
  font-size: clamp(1.05rem, 0.95rem + 0.45vw, 1.3rem);
  line-height: 1.2;
}
.card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.75rem;
}
.price {
  font-variant-numeric: tabular-nums;
}

/* A sold piece leaves its imprint: dashed outline, faded silver. */
.card.is-sold .pebble img {
  opacity: 0.38;
  filter: grayscale(1);
}
.card.is-sold h3,
.card.is-sold .price {
  color: var(--muted);
}

.pool {
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

/* ---------- Lost-wax process ---------- */
.process {
  padding-block: 1.75rem clamp(4rem, 8vw, 7rem);
  border-top: 1px solid var(--line);
}
.process h2 {
  font-size: var(--step-big);
  margin-bottom: 1.5rem;
}
.process ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  counter-reset: step;
}
.process li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  column-gap: 0.75rem;
}
.process li::before {
  content: counter(step);
  grid-row: span 2;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.process h3 {
  font-size: 1rem;
  font-weight: 300;
  margin-bottom: 0.2rem;
}
.process p {
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 34ch;
}
@media (min-width: 900px) {
  .process ol {
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
  }
  .process li {
    grid-template-columns: 1fr;
  }
  .process li::before {
    grid-row: auto;
    margin-bottom: 0.4rem;
  }
}

.statement {
  padding-block: 1.75rem clamp(4rem, 9vw, 8rem);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1.75rem;
  justify-items: start;
}
.statement p {
  font-size: var(--step-big);
  font-weight: 300;
  line-height: 1.45;
  max-width: 42ch;
}

/* ---------- Shop page ---------- */
.shop {
  padding-block: 1.5rem 6rem;
}
.shop-head {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.shop-head h1 {
  font-size: var(--step-h1);
}
.shop-intro {
  color: var(--muted);
  font-weight: 300;
  max-width: 52ch;
  margin-top: -0.5rem;
}
.chips {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
}
.chips a {
  flex: none;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}
.chips a span {
  color: var(--muted);
  font-size: 0.8rem;
  margin-left: 0.25rem;
}
.chips a:hover {
  border-color: var(--ink);
}
.chips a[aria-current='page'] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--ground);
}
.chips a[aria-current='page'] span {
  color: inherit;
  opacity: 0.7;
}

/* ---------- Product page ---------- */
.product {
  display: grid;
  gap: 1.1rem;
  padding-block: 0.5rem 4rem;
}
.gallery {
  min-width: 0;
}
.gallery-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.gallery-track::-webkit-scrollbar {
  display: none;
}
.pebble-main {
  scroll-snap-align: center;
  aspect-ratio: 1 / 1;
}
@media (min-width: 900px) {
  .pebble-main {
    aspect-ratio: 4 / 5;
  }
}
.thumbs {
  display: flex;
  gap: 0.6rem;
  margin-top: 1rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.thumbs button {
  flex: none;
  width: clamp(44px, 11vw, 58px);
  height: clamp(44px, 11vw, 58px);
  padding: 0;
  border: 1px solid transparent;
  border-radius: 0;
  overflow: hidden;
  background: var(--frame);
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s, border-color 0.2s;
}
.thumbs button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
}
.thumbs button[aria-selected='true'],
.thumbs button:hover {
  opacity: 1;
  border-color: var(--ink);
}

.info {
  display: grid;
  gap: 1.5rem;
  align-content: start;
}
.ticket-full h1 {
  font-size: clamp(1.8rem, 1.3rem + 2.6vw, 3.75rem);
  margin-block: 0.15rem 0.3rem;
}
.product .info {
  gap: 1.2rem;
}
.ticket-line {
  display: flex;
  gap: 1rem;
  align-items: baseline;
}
.price-big {
  font-size: 1.5rem;
  font-weight: 300;
  font-variant-numeric: tabular-nums;
}
.ship-note {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: -0.5rem;
}
.desc {
  display: grid;
  gap: 0.9rem;
  max-width: 62ch;
  white-space: pre-line;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.facts {
  margin: 0;
  display: grid;
  gap: 1rem;
}
.facts div {
  display: grid;
  gap: 0.2rem;
}
.facts dt {
  font-size: 0.85rem;
  color: var(--muted);
}
.facts dd {
  margin: 0;
  max-width: 60ch;
}
.small-note {
  font-size: 0.9rem;
  color: var(--muted);
  font-style: italic;
  font-weight: 300;
}
@media (min-width: 900px) {
  .product {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(2rem, 5vw, 6rem);
    padding-block: 2rem 6rem;
  }
  .info {
    position: sticky;
    top: 6rem;
    align-self: start;
  }
}
.related .grid > li:nth-child(n + 5) {
  display: none;
}

/* ---------- Text pages ---------- */
.text-page {
  max-width: 44rem;
  padding-block: clamp(2rem, 6vw, 5rem) clamp(4rem, 8vw, 7rem);
  position: relative;
}
.text-page h1 {
  font-size: var(--step-h1);
  margin-bottom: 2rem;
}
.prose {
  display: grid;
  gap: 1.1rem;
  max-width: 62ch;
}
.prose > p:first-child {
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.5;
}
.contact-big {
  font-size: var(--step-big);
  font-weight: 300;
}
.contact-big a {
}
.contact-big a:hover {
  color: var(--muted);
}

/* ---------- Footer ---------- */
.foot {
  border-top: 1px solid var(--line);
  padding: 3rem var(--gutter) calc(3rem + env(safe-area-inset-bottom));
  display: grid;
  gap: 2rem;
  max-width: var(--max);
  margin-inline: auto;
  font-size: 0.95rem;
}
.foot-mark {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.foot-mark img {
  width: 34px;
  height: auto;
}
.foot-mark p {
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.3;
}
.foot-mark span {
  font-size: 0.9rem;
  color: var(--muted);
}
.foot nav {
  display: grid;
  gap: 0.45rem;
  align-content: start;
}
.foot nav a,
.foot-contact a {
  text-decoration: none;
  color: var(--muted);
}
.foot nav a:hover,
.foot-contact a:hover {
  color: var(--ink);
}
.foot-contact {
  display: grid;
  gap: 0.45rem;
  align-content: start;
}
.foot-contact .ig {
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
}
.pay {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 0.5rem;
}
@media (min-width: 760px) {
  .foot {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

/* ---------- Bag drawer ---------- */
.bag {
  margin: 0 0 0 auto;
  padding: 0;
  border: 0;
  width: min(27rem, 100vw);
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow-sheet);
}
.bag[open] {
  animation: sheet-in 0.45s var(--ease);
}
.bag::backdrop {
  background: rgb(27 27 26 / 0.32);
  backdrop-filter: blur(2px);
}
@keyframes sheet-in {
  from {
    transform: translateX(100%);
  }
}
.bag-inner {
  display: grid;
  grid-template-rows: auto 1fr auto;
  height: 100%;
}
.bag-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1rem 1rem 1.5rem;
  border-bottom: 1px solid var(--line);
}
.bag-head h2 {
  font-size: 1.5rem;
}
.bag-lines {
  list-style: none;
  margin: 0;
  padding: 0.5rem 1.5rem;
  overflow-y: auto;
}
.bag-line {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.bag-line .thumb {
  width: 72px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--frame);
}
.bag-line .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
}
.bag-line h3 {
  font-size: 1.05rem;
  line-height: 1.25;
}
.bag-line .opt {
  font-size: 0.85rem;
  color: var(--muted);
}
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  margin-top: 0.4rem;
}
.qty button {
  width: 34px;
  height: 34px;
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
  border-radius: 50%;
}
.qty button:hover {
  background: var(--frame);
}
.qty span {
  min-width: 1.5rem;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.bag-line .right {
  display: grid;
  justify-items: end;
  gap: 0.3rem;
  font-variant-numeric: tabular-nums;
}
.bag-line .rm {
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
  padding: 0.25rem 0;
}
.bag-line .rm:hover {
  color: var(--ink);
}
.bag-empty {
  padding: 2rem 1.5rem;
  color: var(--muted);
  align-self: start;
}
.bag-foot {
  padding: 1.25rem 1.5rem calc(1.25rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1rem;
}
.region {
  border: 0;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-size: 0.95rem;
}
.region legend {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.region label {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  cursor: pointer;
}
.region input {
  accent-color: var(--accent);
  width: 18px;
  height: 18px;
  margin: 0;
}
.sums {
  margin: 0;
  display: grid;
  gap: 0.25rem;
}
.sums div {
  display: flex;
  justify-content: space-between;
}
.sums dt {
  color: var(--muted);
}
.sums dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
}
.bag-error {
  color: #b3261e;
  font-size: 0.9rem;
}
.pay-note {
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}

/* Paragraph text is justified (owner's request); hyphenation keeps word spacing even. */
.prose p,
.desc p,
.lede,
.statement p,
.process p,
.facts dd,
.small-note,
.unavailable {
  text-align: justify;
  text-align-last: left;
  hyphens: auto;
  -webkit-hyphens: auto;
  text-wrap: wrap;
}
.ship-only {
  font-size: 0.95rem;
  color: var(--muted);
}
.prose p {
  white-space: pre-line;
}
.prose-h2 {
  font-size: var(--step-big);
  margin-top: 1.5rem;
}
@media (min-width: 900px) {
  .lede {
    max-width: 30rem;
  }
}

/* Delivery choice in the bag */
.delivery {
  border: 0;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}
.delivery legend {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.delivery .opt {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: border-color 0.2s;
}
.delivery .opt:has(input:checked) {
  border-color: var(--ink);
}
.delivery .opt input {
  accent-color: var(--ink);
  width: 18px;
  height: 18px;
  margin: 0.15rem 0 0;
}
.delivery .opt small {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
}
.locker {
  display: grid;
  gap: 0.35rem;
  padding: 0.25rem 0 0.5rem;
}
.locker[hidden] {
  display: none;
}
.locker label {
  font-size: 0.9rem;
}
.locker input {
  font: inherit;
  font-weight: 300;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid #cfcdc6;
  padding: 0.65rem 0.75rem;
  min-height: 44px;
  width: 100%;
}
.locker input:focus {
  outline: 2px solid var(--ink);
  outline-offset: 0;
}
.locker small {
  font-size: 0.8rem;
  color: var(--muted);
}
.locker small a {
  color: var(--ink);
}

/* Returns / withdrawal */
.return-form {
  display: grid;
  gap: 1rem;
  max-width: 30rem;
  margin-bottom: 3rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  background: var(--paper);
}
.return-form h2 {
  font-size: var(--step-big);
}
.muted-p {
  color: var(--muted);
  font-size: 0.95rem;
}
.small-p {
  font-size: 0.85rem;
}
.rf-field {
  display: grid;
  gap: 0.35rem;
}
.rf-field span {
  font-size: 0.9rem;
  color: var(--muted);
}
.rf-field input,
.rf-field textarea {
  font: inherit;
  font-weight: 300;
  color: var(--ink);
  background: var(--ground);
  border: 1px solid #cfcdc6;
  padding: 0.65rem 0.75rem;
  min-height: 44px;
  width: 100%;
}
.rf-field input:focus,
.rf-field textarea:focus {
  outline: 2px solid var(--ink);
  outline-offset: 0;
}
.rf-field small {
  font-size: 0.8rem;
  color: var(--muted);
}
.rf-error {
  color: #b3261e;
  font-size: 0.92rem;
}
.rf-items {
  border: 0;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}
.rf-items legend {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.rf-items .opt {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  cursor: pointer;
}
.rf-items .opt:has(input:checked) {
  border-color: var(--ink);
}
.rf-items input {
  accent-color: var(--ink);
  width: 18px;
  height: 18px;
  margin: 0.15rem 0 0;
}
.return-form .btn {
  justify-self: start;
}
.model-form {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.model-form summary {
  cursor: pointer;
  color: var(--muted);
  margin-bottom: 1rem;
}
.model-form summary:hover {
  color: var(--ink);
}
.model-form .prose > p:first-child {
  font-size: inherit;
}

.returns-text > p:first-child {
  font-size: 1.15rem;
}
.model-link {
  margin-top: 2.5rem;
  font-size: 0.85rem;
}
.model-link a {
  color: var(--muted);
}
