/* Copied from pbn.red's skin (Projects/pbn-red-site/skin/assets/css/shop.css) by profiles-red/src/build.py. Site changes go in profiles.css. */
/* pbn.red shop, /buy-aged-domains (11/3/2026): shop-round-1 layout A "Aisles", Bike's pick. Pick a category from
 * the tiles and its aisle opens below: the three set prices as ink cards with the buy button, then any domains ready
 * in that category. Tokens, reset and the verdict box come from base.css; header, footer and links from skin.css.
 * The buy button is lime, a color nothing else on pbn.red uses (load-cro rule 9, won the squint test against yellow
 * and cyan). It always sits on an ink surface (lime fails 3:1 on white) and its label is deep red, never ink, so the
 * letters can't read as holes. Lime stays off everything else on this page. */
:root {
  --buy-fill: #C6FF00;
  --buy-fill-hover: #D8FF4A;
  --buy-label: #9E0009;
  --on-ink-2: oklch(84% 0.004 88);
  --on-ink-rule: oklch(36% 0.004 88);
  --shop-h1: clamp(2.35rem, 3.3vw + 1rem, 4.25rem);
  --shop-h2: clamp(1.85rem, 2.1vw + 1rem, 3.1rem);
}

/* The header's "Check a domain" box steps back to an outline here, so the buy button is the loudest thing on screen */
.slab__links .slab__cta { background: transparent; color: var(--color-on-red); box-shadow: inset 0 0 0 2px var(--color-on-red); }
.slab__links .slab__cta:hover { background: var(--color-ink); color: var(--color-paper); box-shadow: none; }

.shop-hero { padding-block: clamp(2rem, 4vw, 3.75rem) clamp(1.75rem, 3vw, 2.75rem); }
.shop-hero__in { display: grid; gap: var(--space-xl) clamp(2rem, 5vw, 5rem); align-items: end; }
@media (min-width: 62rem) { .shop-hero__in { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }
.shop-hero h1 { font-weight: 900; font-size: var(--shop-h1); line-height: 0.98; letter-spacing: -0.042em; max-width: 17ch; }
.shop-lede { margin-top: var(--space-lg); font-size: clamp(1.15rem, 0.5vw + 1rem, 1.4rem); font-weight: 500; line-height: 1.4; max-width: 42ch; }

.sec { padding-block: clamp(2.75rem, 5vw, 5rem); }
.sec-h2 { font-size: var(--shop-h2); font-weight: 900; letter-spacing: -0.035em; max-width: 26ch; }
.sec-p { margin-top: var(--space-sm); font-size: var(--text-md); line-height: 1.45; max-width: 62ch; color: var(--color-ink-2); }

/* The three prices in the hero */
.prices { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-2xs); }
.prices li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--space-2xs) var(--space-md); background: var(--color-paper-2); padding: var(--space-sm) var(--space-md); }
.prices b { font-family: var(--font-display); font-weight: 900; font-style: italic; font-size: var(--text-lg); letter-spacing: -0.02em; line-height: 1.05; }
.prices span { grid-column: 1; font-size: var(--text-sm); color: var(--color-ink-2); }
.prices strong { grid-column: 2; grid-row: 1 / span 2; font-family: var(--font-display); font-weight: 900; font-size: var(--text-2xl); letter-spacing: -0.04em; line-height: 1; }
.prices__all { margin-top: var(--space-xs); font-size: var(--text-sm); color: var(--color-muted); }

/* ---------- The buy button ---------- */
.buy {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4em;
  min-height: 3.25rem; padding: 0.7rem 1.35rem; border: 0; border-radius: 0; cursor: pointer;
  background: var(--buy-fill); color: var(--buy-label); text-decoration: none; white-space: nowrap;
  font-family: var(--font-display); font-weight: 900; font-style: italic; font-size: var(--text-md);
  letter-spacing: -0.01em; line-height: 1.15;
  transition: background-color var(--dur-micro) var(--ease-out), transform var(--dur-micro) var(--ease-out);
}
.buy:hover { background: var(--buy-fill-hover); }
.buy:active { transform: translateY(1px); }
.buy:focus-visible { outline: 3px solid var(--buy-fill); outline-offset: 3px; }
.buy--wide { width: 100%; }
.buy--s { min-height: 2.75rem; padding: 0.5rem 1rem; font-size: var(--text-base); }

/* ---------- Category tiles: right under the hero, so the categories show on the first screen ---------- */
.catsec { padding-top: 0; }
.catsec .sec-h2 { font-size: var(--text-2xl); }
.cats { list-style: none; padding: 0; margin: var(--space-xl) 0 0; display: grid; gap: var(--space-sm); grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.5rem), 1fr)); }
.tile {
  width: 100%; height: 100%; text-align: left; cursor: pointer; border: 0; border-radius: 0;
  background: var(--color-paper); color: var(--color-ink); box-shadow: inset 0 0 0 2px var(--color-ink);
  padding: var(--space-md); display: grid; gap: var(--space-xs); align-content: start;
  transition: background-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out);
}
.tile:hover { background: var(--color-paper-2); }
.tile[aria-pressed="true"] { background: var(--color-ink); color: var(--color-paper); }
.tile__name { font-family: var(--font-display); font-weight: 900; font-size: var(--text-lg); letter-spacing: -0.025em; line-height: 1.05; }
.tile__meta { display: flex; flex-wrap: wrap; gap: 0 var(--space-sm); font-family: var(--font-data); font-size: var(--text-sm); }
.tile__ready { display: inline-flex; align-items: center; gap: 0.45em; }
.tile__ready::before { content: ""; width: 0.6em; height: 0.6em; background: var(--color-red); }
.tile[aria-pressed="true"] .tile__ready::before { background: var(--color-paper); }

/* ---------- The aisle ---------- */
.aisle { background: var(--color-paper-2); padding-block: clamp(2.75rem, 5vw, 5rem); border-top: var(--rule-slab); }
.tiers { display: grid; gap: var(--space-md); grid-template-columns: repeat(auto-fit, minmax(min(100%, 16.5rem), 1fr)); margin-top: var(--space-xl); }
.tier { background: var(--color-ink); color: var(--color-paper); padding: clamp(1.25rem, 2vw, 1.75rem); display: flex; flex-direction: column; gap: var(--space-sm); }
.tier__name { font-family: var(--font-display); font-weight: 900; font-style: italic; font-size: var(--text-lg); letter-spacing: -0.02em; line-height: 1; }
.tier__price { font-family: var(--font-display); font-weight: 900; font-size: clamp(3rem, 3.4vw + 1.25rem, 4.5rem); line-height: 0.92; letter-spacing: -0.05em; }
.tier__all { display: block; margin-top: var(--space-xs); font-size: var(--text-sm); font-weight: 600; letter-spacing: 0; color: var(--on-ink-2); }
.tier__floor { font-weight: 800; font-size: var(--text-md); line-height: 1.25; border-top: 1px solid var(--on-ink-rule); padding-top: var(--space-sm); }
.tier__ready { font-family: var(--font-data); font-size: var(--text-sm); color: var(--on-ink-2); margin-top: auto; padding-top: var(--space-xs); }
.tier .buy { margin-top: var(--space-2xs); }

.basics { list-style: none; padding: 0; margin: var(--space-lg) 0 0; display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-lg); }
.basics li { display: flex; align-items: baseline; gap: 0.5em; font-weight: 600; }
.basics li::before { content: ""; flex: none; width: 0.6em; height: 0.6em; background: var(--color-ink); transform: translateY(-0.05em); }

/* Listing cards (the shelf shows only when listings exist) */
.shelf-h { margin-top: clamp(2.5rem, 4vw, 3.5rem); font-size: var(--text-xl); font-weight: 900; letter-spacing: -0.03em; }
.shelf { display: grid; gap: var(--space-md); grid-template-columns: repeat(auto-fill, minmax(min(100%, 17.5rem), 1fr)); margin-top: var(--space-lg); }
.dom { display: flex; flex-direction: column; background: var(--color-paper); box-shadow: inset 0 0 0 2px var(--color-ink); }
.dom__body { padding: var(--space-md) var(--space-md) var(--space-lg); display: flex; flex-direction: column; gap: var(--space-xs); flex: 1; }
.dom__top { display: flex; align-items: center; justify-content: space-between; gap: var(--space-xs); flex-wrap: wrap; }
.dom__top .vbox { font-size: 1.3rem; }
.dom__tier { font-size: var(--text-xs); font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.dom__name { font-family: var(--font-data); font-size: 1.15rem; line-height: 1.3; margin-top: var(--space-2xs); }
.dom__was { color: var(--color-ink-2); line-height: 1.4; }
.dom__keys { list-style: none; padding: var(--space-sm) 0 0; margin: auto 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-xs); border-top: var(--rule-hair); }
.dom__keys b { display: block; font-family: var(--font-display); font-weight: 900; font-size: var(--text-xl); line-height: 1; letter-spacing: -0.03em; }
.dom__keys span { display: block; margin-top: var(--space-2xs); font-size: var(--text-xs); line-height: 1.25; color: var(--color-muted); }
.dom__foot { background: var(--color-ink); color: var(--color-paper); display: flex; align-items: center; justify-content: space-between; gap: var(--space-xs) var(--space-sm); flex-wrap: wrap; padding: var(--space-sm) var(--space-sm) var(--space-sm) var(--space-md); }
.dom__price { font-family: var(--font-display); font-weight: 900; font-size: var(--text-xl); letter-spacing: -0.03em; line-height: 1; }
.dom__price small { display: block; font-size: var(--text-xs); font-weight: 600; letter-spacing: 0; color: var(--on-ink-2); margin-top: 0.2em; }

/* What a category pick hides. Only with JS on (html.js is set before paint), so no-JS readers see every domain. */
.js [data-off] { display: none !important; }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: var(--space-xl) 0 0; display: grid; gap: var(--space-lg); grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.steps li { border-top: var(--rule-slab); padding-top: var(--space-md); }
.steps__n { display: inline-block; background: var(--color-ink); color: var(--color-paper); font-family: var(--font-display); font-weight: 900; font-style: italic; font-size: var(--text-lg); line-height: 1; padding: 0.12em 0.38em 0.18em 0.3em; }
.steps__t { margin-top: var(--space-sm); font-family: var(--font-display); font-size: var(--text-lg); font-weight: 900; letter-spacing: -0.02em; line-height: 1.1; }
.steps p:not(.steps__t) { margin-top: var(--space-xs); color: var(--color-ink-2); max-width: 40ch; }

.custom { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-xs) var(--space-md); padding: var(--space-lg) 0; border-block: var(--rule-ink); margin-top: var(--space-2xl); }
.custom p { font-size: var(--text-md); font-weight: 600; max-width: 52ch; }

/* ---------- Yours alone: red slab ---------- */
.yours { background: var(--color-red); color: var(--color-on-red); padding-block: clamp(3rem, 6vw, 5.5rem); }
.yours .sec-h2 { max-width: 22ch; }
.yours__p { margin-top: var(--space-md); font-size: var(--text-md); font-weight: 500; line-height: 1.45; max-width: 58ch; }
.yours__list { list-style: none; padding: 0; margin: var(--space-xl) 0 0; display: grid; gap: var(--space-sm); grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }
.yours__list li { background: var(--color-paper); color: var(--color-ink); padding: var(--space-md) var(--space-lg); font-family: var(--font-display); font-weight: 900; font-style: italic; font-size: var(--text-md); letter-spacing: -0.015em; line-height: 1.2; }

/* ---------- FAQ ---------- */
.faq { margin-top: var(--space-lg); border-top: var(--rule-ink); max-width: 60rem; }
.faq details { border-bottom: var(--rule-hair); }
.faq summary { cursor: pointer; list-style: none; padding: var(--space-md) 0; display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-md); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: var(--text-md); font-weight: 800; letter-spacing: -0.015em; line-height: 1.25; }
.faq summary::after { content: "+"; flex: none; font-weight: 900; font-size: var(--text-lg); line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding-bottom: var(--space-md); max-width: 68ch; color: var(--color-ink-2); }
