@font-face {
  font-family: Archivo;
  src: url("/media/fonts/archivo-latin-wght-normal.woff2") format("woff2");
  font-style: normal; font-weight: 100 900; font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/media/fonts/instrument-serif-latin-400-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/media/fonts/instrument-serif-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #f7f5f2;
  --ink: #221d26;
  --muted: #605761;
  --rule: #d0c8d0;
  --plum: #3f234a;
  --lavender: #d5b8f0;
  --stage: #120911;
  --white: #fffafc;
  --night-muted: #ddced9;
  --display: Archivo, "Helvetica Neue", system-ui, sans-serif;
  --italic: "Instrument Serif", Georgia, "Times New Roman", serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --ease: cubic-bezier(.2,.75,.22,1);
  --pad: clamp(1.25rem, 5vw, 5rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding: 1.25rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.53 var(--display); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: .22em; }
button, input, summary { font: inherit; }
button, summary, label:has(input[type="radio"]) { cursor: pointer; }
button { border: 0; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure, fieldset, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 620; letter-spacing: -.058em; line-height: 1.02; }
h1 { font-size: clamp(3rem, 6.1vw, 6.5rem); }
h2 { font-size: clamp(2.55rem, 5.35vw, 5.65rem); }
h3 { font-size: clamp(1.45rem, 2.15vw, 2.3rem); }
h1 em, h2 em { font-family: var(--italic); font-weight: 400; letter-spacing: -.046em; }
:focus-visible { outline: 3px solid #8240a7; outline-offset: 4px; }
.shell { width: 100%; max-width: 1540px; margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(3.5rem, 6.5vw, 7rem); }
.tight { padding-top: 0; }
.sr-only, .view-switch input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; z-index: 8; inset: .7rem auto auto 1rem; padding: .65rem 1rem; border-radius: 1rem; background: white; color: var(--ink); transform: translateY(-180%); }
.skip:focus { transform: none; }
.overline, .sample-kind { font: 500 .77rem/1.4 var(--mono); letter-spacing: .075em; text-transform: uppercase; }
.overline { color: var(--muted); margin-bottom: .95rem; }
.lead, .hero-intro { text-wrap: pretty; }
.lead { color: var(--muted); max-width: 56ch; margin-top: 1rem; font-size: clamp(1rem, 1.36vw, 1.2rem); line-height: 1.55; }
.button, button, .wide-nav a, .site-search, .cart-link, .mobile-menu nav a, .hero-kicker, .paper-tag,
.filters a, .view-switch label > span, .chips a, .card-more, .skip { text-align: center; }
.skip, .hero-kicker, .paper-tag, .link-button, .mobile-menu nav a, .wide-nav a { display: inline-flex; align-items: center; justify-content: center; }
.button, button:not(.link-button, .card-order button) {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .75rem 1.38rem;
  border: 1px solid transparent; border-radius: 100px; color: white; background: var(--plum);
  font-weight: 620; font-size: .94rem; line-height: 1.25; letter-spacing: -.016em; text-decoration: none;
  transition: transform .28s var(--ease), background .28s var(--ease), color .28s var(--ease), box-shadow .28s var(--ease);
}
.button.secondary { color: var(--ink); background: transparent; border-color: #a99eaa; }
button:disabled { cursor: not-allowed; opacity: .57; }
.button:active, button:not(:disabled):active { transform: translateY(1px) scale(.985); }
.actions { display: flex; align-items: center; gap: .65rem 1rem; flex-wrap: wrap; margin-top: 1.8rem; }
.text-link, .paper-caption .text-link, .buy-records, .cart-report { display: inline-flex; align-items: center; min-height: 44px; width: fit-content; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .3em; }
.text-link { font-size: .94rem; }

/* The utility strip and masthead share a baseline across all pages. */
.use-strip { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 27px; padding: 5px 12px; background: #e6dfee; color: #362a3a; font-size: .76rem; letter-spacing: .005em; }
.use-strip { flex-wrap: wrap; column-gap: 1rem; row-gap: 3px; }
.use-strip a { color: inherit; font-weight: 700; text-underline-offset: .18em; white-space: nowrap; }
.header { position: relative; z-index: 4; color: var(--white); background: #150c15; }
.head-inner, .head-tools, .brand, .wide-nav, .cart-link, .site-search { display: flex; align-items: center; }
.head-inner { min-height: 75px; justify-content: space-between; gap: 1rem; }
.header::after { content: ""; position: absolute; bottom: 0; left: max(var(--pad), calc((100% - 1540px) / 2 + var(--pad))); right: max(var(--pad), calc((100% - 1540px) / 2 + var(--pad))); height: 1px; background: #ffffff26; }
.brand { gap: .55rem; color: #fff; text-decoration: none; white-space: nowrap; }
.brand-mark { width: 47px; height: 34px; object-fit: contain; mix-blend-mode: screen; }
.wordmark { font: 800 1.35rem/.94 var(--display); letter-spacing: -.061em; }
.wordmark > span { display: block; margin-top: .18rem; font: 520 .60rem/1 var(--display); letter-spacing: .38em; }
.wide-nav, .head-tools { gap: .45rem; }
.wide-nav a, .site-search, .cart-link { min-height: 44px; justify-content: center; color: var(--white); text-decoration: none; font-size: .91rem; font-weight: 540; white-space: nowrap; }
.wide-nav { padding: .15rem .4rem; border: 1px solid #ffffff22; background: #ffffff04; border-radius: 100px; }
.wide-nav a { position: relative; padding: .3rem .87rem; min-height: 39px; border-radius: 100px; transition: background .26s var(--ease), color .26s var(--ease); }
.wide-nav a[aria-current=page], .wide-nav a[aria-current=location] { background: #e7d9eb; color: #281b2b; }
.site-search, .cart-link { position: relative; padding: .42rem 1.85rem; }
.site-search svg, .cart-link svg { position: absolute; left: .44rem; }
.cart-link { border-radius: 100px; border: 1px solid #796a7b; }
.mobile-menu { display: none; }
.mobile-menu summary { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid #776478; border-radius: 50%; }
.menu-lines { display: block; width: 15px; height: 8px; border-block: 1.5px solid currentColor; }
.mobile-menu[open] .menu-lines { height: 0; border-bottom: 0; transform: rotate(-40deg); }
.mobile-menu[open] .menu-lines::after { content: ""; display: block; border-bottom: 1.5px solid currentColor; width: 15px; transform: rotate(80deg); }
.mobile-menu nav { position: absolute; z-index: 1; top: 100%; left: var(--pad); right: var(--pad); padding: .4rem .9rem; background: #221825; border: 1px solid #755b78; border-radius: .7rem; box-shadow: 0 8px 28px #1b101c44; }
.mobile-menu nav a { display: flex; justify-content: center; align-items: center; min-height: 44px; color: #fff; padding-inline: .4rem; text-decoration: none; }
.mobile-menu [aria-current=page], .mobile-menu [aria-current=location] { color: #dfb7f1; }
.header :focus-visible, footer :focus-visible, .collection-hero :focus-visible, .batch-feature :focus-visible { outline-color: #f3baff; }

/* The homepage masthead shares the top of the campaign image. */
.cover-page { --campaign-nav-height: 76px; }
.cover-page .use-strip { min-height: 40px; }
.cover-page .header { background: transparent; margin-bottom: calc(0px - var(--campaign-nav-height)); }
.cover-page .header::after { content: none; }
.cover-page .header:not(:has(.mobile-menu[open])) { mix-blend-mode: screen; }
.cover-page .head-inner { max-width: none; min-height: var(--campaign-nav-height); padding-inline: 46px; justify-content: flex-start; gap: clamp(1rem, 2.4vw, 2.5rem); }
.cover-page .wide-nav { background: transparent; border: 0; padding: 0; }
.cover-page .head-tools { margin-left: auto; }

.collection-hero { position: relative; isolation: isolate; overflow: hidden; border-radius: 0 0 32px 32px; background: #1b101c; color: var(--white); }
.hero-art { position: relative; height: clamp(420px,38.2vw,620px); isolation: isolate; overflow: hidden; background: #231524; }
.hero-atmosphere { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 76% center; }
.hero-vials { --float-distance: 6px; position: absolute; inset-block: 23% 12%; right: 7%; width: min(42%,840px); display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(8px,1.25vw,24px); }
.floating-vial, .floating-vial img { display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; }
.floating-vial img { object-fit: contain; }
.motion-input, .motion-control { display: none; }
@keyframes float-vial {
  0%, 100% { transform: translateY(var(--float-distance)); }
  50% { transform: translateY(calc(-1 * var(--float-distance))); }
}
@media (prefers-reduced-motion:no-preference) {
  .floating-vial { animation: float-vial 7.2s cubic-bezier(.45,0,.55,1) infinite; }
  .floating-vial:nth-child(2) { animation-delay: -2.4s; }
  .floating-vial:nth-child(3) { animation-delay: -4.8s; }
  .motion-input { display: block; position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
  .motion-control { display: grid; place-items: center; position: absolute; right: clamp(12px,1.6vw,28px); bottom: clamp(10px,1.25vw,20px); width: 44px; height: 44px; border-radius: 50%; border: 1px solid #e2cfe477; background: #26182bdc; cursor: pointer; color: #fff8ff; }
  .motion-control::before { content: ""; width: 11px; height: 12px; border-inline: 3px solid currentColor; }
  .motion-input:focus-visible ~ .motion-control { outline: 3px solid #f3baff; outline-offset: 3px; }
  .motion-input:checked ~ .hero-vials .floating-vial { animation-play-state: paused; }
  .motion-input:checked ~ .motion-control::before { width: 0; height: 0; border: 0; border-inline-start: 10px solid currentColor; border-block: 6px solid transparent; transform: translateX(1px); }
}

.collection-copy { position: absolute; z-index: 1; left: 46px; bottom: 9%; width: min(calc(50% - 54px),640px); }
.hero-kicker { width: fit-content; max-width: 100%; border: 1px solid #f6e9f74d; border-radius: 999px; background: #eee3fa0d; padding: 7px 14px; color: #f7edf9; font: 700 11px/12px var(--display); letter-spacing: .14em; text-transform: uppercase; }
.collection-copy h1 { margin: 18px 0 16px; font: 400 clamp(38px,4.4vw,63px)/1.02 "Instrument Serif", Georgia, serif; letter-spacing: -.02em; }
.collection-copy h1 span { display: block; }
.hero-intro { max-width: 430px; margin: 0 0 22px; color: #f1e8f1; font: 500 14.5px/1.5 var(--display); }
.collection-copy .hero-shop { min-height: 48px; padding: 16px 32px; border: 0; color: #312037; background: #f0e3f6; font: 700 14px/16px var(--display); letter-spacing: 0; }

@media (max-width:900px) {
  .cover-page { --campaign-nav-height: 64px; }
  .cover-page .head-inner { padding-inline: 24px; }
  .cover-page .wide-nav { display: none; }
  .cover-page .mobile-menu { display: block; }
  .collection-copy { position: static; width: 100%; padding: 96px 24px 26px; }
  .hero-art { height: auto; aspect-ratio: 1559/1009; }
  .hero-atmosphere { object-position: 93% center; }
  .hero-vials { --float-distance: 4px; inset-block: 10% max(60px,13%); right: 9%; width: 82%; gap: clamp(5px,2vw,18px); }
  .motion-control { bottom: 7px; right: 9px; }
}
@media (max-width:520px) {
  .cover-page .use-strip { min-height: 43px; }
}

/* Keep each category label and its count together as one centered unit. */
.category-band { padding: clamp(14px,1.6vw,25px) var(--pad) 0; background: var(--paper); }
.category-nav {
  display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .55rem;
  max-width: 1340px; margin-inline: auto; padding: .5rem; border: 1px solid #d4c6da;
  border-radius: 2.25rem; background: #eae2ee; box-shadow: inset 0 1px #fff9;
}
.category-pill {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-width: 0; min-height: 46px; padding: .65rem 1.15rem; border: 1px solid #d2c6d5; border-radius: 999px;
  background: #fcfafc; color: #392b40; text-align: center; text-decoration: none;
  font: 570 .94rem/1.2 var(--display); letter-spacing: -.013em;
}
.category-pill > span { min-width: 0; text-wrap: balance; }
.category-pill small {
  display: inline-grid; flex: none; place-items: center; min-inline-size: 1.5rem; min-block-size: 1.5rem;
  padding: .2rem .28rem; border-radius: 999px; background: #eadfed; color: #55365f;
  font: 550 .75rem/1 var(--display); font-variant-numeric: tabular-nums;
}
.category-nav a { container: home-category / inline-size; min-height: 54px; font-size: clamp(.94rem,1.08vw,1.04rem); }
.category-nav a > span { flex: none; }
@container home-category (max-width: 11.1rem) {
  .category-nav a > span { inline-size: min-content; }
}
.category-nav a:focus-visible { z-index: 1; }
@media (max-width:860px) {
  .category-nav { grid-template-columns: repeat(2,minmax(0,1fr)); border-radius: 1.85rem; }
}
@media (max-width:520px) {
  .category-band { padding-inline: 12px; }
  .category-nav { padding: .42rem; gap: .42rem; }
  .category-nav a { gap: .5rem; min-height: 54px; padding: .65rem .875rem; font-size: .91rem; }
}

/* A shop window and a compact assortment share a common baseline. */
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1.25rem; }
.section-head { margin-bottom: clamp(1.45rem,3.1vw,3rem); }
.section-head h2 em, .help-layout em, .archive-main h1 em { color: #6a4277; }
.section-head .text-link { min-width: max-content; }
.sample-shelf { display: grid; grid-template-columns: minmax(0,1.13fr) minmax(0,1fr); gap: clamp(1.3rem,3.8vw,4rem); align-items: stretch; }
.spotlight { display: block; isolation: isolate; color: #33203a; text-decoration: none; position: relative; min-height: clamp(364px,30vw,484px); overflow: hidden; border-radius: 1.15rem; background: linear-gradient(150deg,#eee5f1 5%,#d4c0dc 52%,#ad92b9); box-shadow: inset 0 0 0 1px #765e891e; }
.spotlight::before { content: ""; position: absolute; width: 90%; height: 100%; right: -28%; bottom: -60%; z-index: -1; border-radius: 50%; border: 1px solid #ede7f8; box-shadow: 0 0 0 12px #cac0d566, 0 0 0 13px #efe7f2a6, 0 0 0 35px #c2b2cc33; transform: rotate(-14deg); }
.spotlight-type { position: absolute; z-index: 1; left: 6%; top: 8%; }
.spotlight-type .overline { display: block; color: #503a58; margin-bottom: .2rem; }
.spotlight h3 { font-size: clamp(2.7rem,4.35vw,4.85rem); letter-spacing: -.078em; }
.spotlight-vials { position: absolute; display: block; inset: 7% 4% 17% 43%; }
.spotlight-vials img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 10px 8px #54315d45); }
.spotlight-caption { position: absolute; left: 6%; right: 6%; bottom: 5%; display: flex; justify-content: space-between; align-items: center; gap: .6rem; border-top: 1px solid #6d547445; padding-top: .78rem; }
.spotlight-caption span { font: 520 .83rem/1.4 var(--mono); }
.spotlight-caption i { display: inline-block; width: 1px; height: .8em; background: #806589; margin: 0 .35rem -.04rem; }
.spotlight-caption strong { font: 600 .9rem/1.25 var(--display); border-bottom: 1px solid currentColor; }
.sample-list { display: grid; grid-auto-rows: 1fr; border-top: 1px solid var(--rule); }
.sample-row { min-width: 0; display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: clamp(.75rem,1.4vw,1.6rem); padding: .65rem .3rem .65rem 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.sample-thumb { width: clamp(60px,5.7vw,88px); aspect-ratio: 1; display: block; border-radius: .65rem; background: #160f19; overflow: hidden; }
.sample-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sample-thumb picture { display: block; width: 100%; height: 100%; }
.sample-kind { display: block; font-size: .73rem; color: var(--muted); margin-bottom: .25rem; }
.sample-text strong { font-size: clamp(1.1rem,1.72vw,1.8rem); line-height: 1.13; font-weight: 600; letter-spacing: -.045em; display: block; }
.sample-number { text-align: right; display: grid; gap: .13rem; }
.sample-number b { font: 500 .86rem/1.25 var(--mono); }
.sample-number small { font-size: .82rem; color: var(--muted); }

/* A facsimile of the original certificate is a link to the full two-page PDF. */
.batch-feature { color: var(--white); background: #211924; position: relative; overflow: hidden; }
.batch-feature::before { content: ""; position: absolute; pointer-events: none; inset: 0; background: radial-gradient(ellipse at 83% 20%, #503851, transparent 59%); }
.batch-layout { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem,8vw,8.7rem); align-items: center; padding-block: clamp(3.5rem,6.4vw,6.7rem); }
.batch-copy h2 { font-size: clamp(3.2rem,6vw,6.3rem); line-height: .96; }
.batch-copy h2 em { color: #e3baef; }
.batch-copy > p { font-size: clamp(1rem,1.35vw,1.18rem); color: #e3d8e4; max-width: 40ch; margin-top: 1.4rem; }
.batch-copy .search-line { margin-top: 1.7rem; max-width: 30rem; }
.report-paper { min-width: 0; }
.paper-visual { position: relative; isolation: isolate; display: block; overflow: hidden; height: clamp(215px,19vw,310px); background: radial-gradient(ellipse at 70% -12%,#d7c5da,transparent 65%),linear-gradient(150deg,#74617a,#b899c0 85%); border-radius: 1.1rem 1.1rem .15rem .15rem; }
.paper-visual::before { content:""; position:absolute; left:18%; top:18%; width:61%; height:170%; background:#d5c9d3; transform:rotate(-13deg); box-shadow: 3px 6px 22px #3621396b; }
.paper-visual picture { position: absolute; width: 63%; max-width: 365px; min-width: 185px; top: 12%; left: 23%; transform: rotate(-5deg); transform-origin: 34% 25%; box-shadow: 4px 10px 23px #35253864; }
.paper-visual img { width: 100%; }
.paper-tag { position: absolute; bottom: 1rem; right: 1rem; background: #f8f4f9; color: #312435; border-radius: 50px; padding: .34rem .73rem; font-size: .8rem; font-weight: 600; }
.paper-caption { display: flex; justify-content: space-between; align-items: end; gap: .7rem; padding-block: 1.2rem .1rem; }
.paper-caption .overline { color: #d3bdd9; margin: 0 0 .35rem; }
.paper-caption h3 { font-size: clamp(1.5rem,2.2vw,2.25rem); color: #fff9ff; }
.paper-caption h3 span { font-weight: 400; color: #e2d3e5; }
.paper-lot { color: #d6cbd9; font: .8rem/1.4 var(--mono); margin-top: .4rem; }
.paper-caption .text-link { font-size: .88rem; }
.help-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem,6vw,6.5rem); }
.help-layout h2 { margin-bottom: .9rem; }
.help-list { border-top: 1px solid var(--rule); }
.help-list details { border-bottom: 1px solid var(--rule); }
.help-list summary, .detail-rows summary { position: relative; display: flex; justify-content: center; align-items: center; min-height: 56px; padding: .9rem 1.75rem; text-align: center; font-weight: 560; }
.help-list p { padding: 0 2.4rem 1.2rem 0; color: var(--muted); max-width: 56ch; }
.help-list summary::after, .detail-rows summary::after { content: "+"; position: absolute; right: .4rem; top: 50%; transform: translateY(-50%); font: 400 1.25rem/1 var(--display); color: var(--plum); }
.help-list details[open] > summary::after, .detail-rows details[open] > summary::after { content: "−"; }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }

/* Catalog controls, grids and selected-label photography work without client scripts. */
.crumb ol { display: flex; flex-wrap: wrap; gap: .36rem .56rem; align-items: center; margin: 0; padding: 1.05rem 0 0; list-style: none; color: var(--muted); font-size: .8rem; }
.crumb li + li::before { content: "/"; color: #827585; margin-right: .55rem; }
.crumb a { display: inline-flex; align-items: center; min-height: 26px; text-decoration: none; }
.inner-start { padding-top: clamp(2rem,3.7vw,3.8rem); }
.search-line { width: 100%; max-width: 35rem; }
.search-line > div { display: flex; align-items: center; gap: .25rem; padding: .25rem; border: 1px solid #b2a4b5; background: #fdfbfc; border-radius: 100px; }
.search-line label, .field-name, .add label, .cart-controls label { display: block; font-weight: 600; font-size: .89rem; margin-bottom: .4rem; }
.search-line input { text-align: center; min-width: 0; width: 0; flex: 1; min-height: 40px; border: 0; color: var(--ink); background: transparent; padding: .35rem .75rem; font-size: 1rem; border-radius: 100px; }
.search-line button:not(.link-button) { min-height: 38px; padding: .5rem 1rem; font-size: .88rem; }
.search-line input::placeholder { color: #6b606d; opacity: 1; }
.batch-copy .search-line label { color: #eddfef; }
/* The catalog lead, category rail and vial cards share a compact reading width. */
.catalog-surface, .shop-main:has(.catalog-surface) > .shell:first-child {
  max-width: 1200px; padding-inline: clamp(1rem,2vw,1.5rem);
}
.catalog-surface { padding-bottom: clamp(3.25rem,6vw,6rem); }
.shop-intro { padding: clamp(1.6rem,3.5vw,3.1rem) 0 1.25rem; text-align: center; }
.shop-intro .overline { margin-bottom: .7rem; color: #644470; font-size: .77rem; }
.shop-intro h1 { font-size: clamp(2.55rem,5.25vw,4.4rem); letter-spacing: -.061em; line-height: 1.04; text-wrap: balance; }
.shop-intro h1 em { color: #5f386c; }
.shop-intro .lead { max-width: 60ch; margin: .85rem auto 0; color: #574f5a; font-size: clamp(1rem,1.25vw,1.1rem); line-height: 1.5; }
.shop-intro .lead a { color: var(--plum); text-underline-offset: .15em; }
.filters { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .5rem; margin: .2rem auto 1.45rem; }
.filters .category-pill { background: #fffdfd; }
.filters [aria-current=page] { background: var(--plum); border-color: var(--plum); color: #fff; }
.filters [aria-current=page] small { background: #63416e; color: #fff; }
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .7rem 1.1rem; padding: .75rem 0; border-block: 1px solid var(--rule); }
.catalog-toolbar .search-line { width: min(100%,21rem); }
.catalog-toolbar .search-line input { min-height: 34px; }
.catalog-toolbar .search-line button { min-height: 36px; }
.catalog-toolbar .search-line button svg { display: none; }
.count { margin: .8rem 0 0; color: var(--muted); font-size: .94rem; overflow-wrap: anywhere; }
.count b { color: var(--ink); }
.view-switch { display: inline-flex; flex: none; min-width: 0; gap: .15rem; padding: 3px; border: 0; border-radius: 100px; background: #e9e2ea; }
.view-switch label { position: relative; display: flex; }
.view-switch label > span { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 38px; padding: .4rem .9rem; border-radius: 100px; color: #504458; font-size: .88rem; font-weight: 550; line-height: 1.2; }
.view-switch input:checked + span { background: #fff; color: #36213f; box-shadow: 0 1px 4px #44384d27; }
.view-switch input:focus-visible + span { outline: 3px solid #864ba3; outline-offset: 2px; }
.grid-icon { display: grid; width: 12px; height: 12px; background: linear-gradient(to right,transparent 5px,#e8e1e8 5px 7px,transparent 7px),linear-gradient(to bottom,transparent 5px,#e8e1e8 5px 7px,transparent 7px),currentColor; }
.list-icon { width: 13px; height: 11px; background: repeating-linear-gradient(to bottom,currentColor 0 1.5px,transparent 1.5px 4.5px); }
.catalog-group { margin-top: clamp(1.4rem,2.7vw,2.25rem); }
.catalog-group + .catalog-group { margin-top: clamp(2.75rem,5vw,4.5rem); }
.group-heading { display: flex; align-items: baseline; justify-content: space-between; gap: .6rem; margin-bottom: clamp(.85rem,1.6vw,1.3rem); }
.group-heading h2 { font-size: clamp(1.65rem,2.7vw,2.45rem); letter-spacing: -.055em; }
.group-heading > span { color: #694d73; font: 550 .88rem/1.25 var(--display); }
.cards { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1.35rem; }
.material-card {
  min-width: 0; padding: 0 clamp(.56rem,1vw,.9rem) .83rem; border: 1px solid #dcd4dd;
  border-radius: 1.12rem; background: #fffdfd; box-shadow: 0 2px 6px #2b173805;
  display: grid; grid-template-rows: subgrid; grid-row: span 2; row-gap: 0;
}
.card-hit { min-width: 0; display: grid; place-content: center; gap: .28rem; min-height: 4.5rem; padding: .85rem .25rem; color: var(--ink); text-align: center; text-decoration: none; }
.card-hit h3 { font: 630 clamp(1.1rem,1.5vw,1.46rem)/1.12 var(--display); letter-spacing: -.038em; overflow-wrap: anywhere; text-wrap: balance; }
.card-subtitle { color: #655b68; font-size: .83rem; line-height: 1.3; }
.card-picker { min-width: 0; border: 0; padding: 0; }
.card-config { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .48rem .36rem; }
.frame { display: block; flex: 0 0 100%; aspect-ratio: 1.08; min-width: 0; margin-bottom: .22rem; overflow: hidden; background: #1a111c; border-radius: .7rem; }
.frame picture, .photo-plate picture { display: block; height: 100%; width: 100%; }
.frame img, .photo-plate img { height: 100%; width: 100%; object-fit: cover; object-position: center 47%; }
.amount-pill { order: 1; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .3rem;
  min-height: 36px; padding: .4rem .68rem; border: 1px solid #d7ccda; border-radius: 999px;
  color: #47374e; background: #faf6fb; text-align: center; font: 560 .84rem/1.15 var(--display); white-space: nowrap; }
label.amount-pill { cursor: pointer; }
.amount-pill input { position: absolute; width: 1px; height: 1px; margin: 0; clip-path: inset(50%); overflow: hidden; }
.amount-pill:has(:checked) { background: #49304f; color: white; border-color: #49304f; }
.amount-pill:has(:focus-visible) { outline: 3px solid #864ba3; outline-offset: 2px; }
.card-presentation { display: none; }
span.amount-pill + .card-presentation, .amount-pill:has(:checked) + .card-presentation { display: contents; }
.card-foot { order: 2; flex: 0 0 100%; display: grid; gap: .55rem; padding-top: .12rem; text-align: center; }
.card-price { min-height: 1.5rem; line-height: 1.4; }
.card-price strong { font-size: 1.08rem; font-weight: 660; font-variant-numeric: tabular-nums; }
.card-price span { color: #625867; font-size: .82rem; }
.card-more, .card-order button { display: flex; justify-content: center; align-items: center; min-height: 44px; width: 100%; padding: .62rem .9rem;
  border: 1px solid #c5b5cb; border-radius: 999px; background: #f4edf6; color: #42284c; text-decoration: none; text-align: center; font: 610 .89rem/1.25 var(--display); }
.card-order button { background: var(--plum); color: #fff; }
.catalog-surface:has(input[value=list]:checked) .cards { grid-template-columns: 1fr; gap: .55rem; }
.catalog-surface:has(input[value=list]:checked) .material-card {
  position: relative; display: grid; grid-row: auto; grid-template: auto / minmax(8rem,.9fr) minmax(0,1.7fr);
  align-items: center; gap: 1rem; min-height: 6rem; padding: .85rem 1rem .85rem 6.5rem;
}
.catalog-surface:has(input[value=list]:checked) .card-hit { min-height: 0; padding: 0; text-align: start; place-content: center start; }
.catalog-surface:has(input[value=list]:checked) .card-hit h3 { text-wrap: initial; }
.catalog-surface:has(input[value=list]:checked) .frame { position: absolute; top: 50%; left: 1rem; width: 4.5rem; height: 4.5rem; margin: 0; transform: translateY(-50%); }
.catalog-surface:has(input[value=list]:checked) .card-config { justify-content: flex-start; }
.catalog-surface:has(input[value=list]:checked) .card-foot { flex: 1 1 12rem; display: flex; justify-content: flex-end; align-items: center; flex-wrap: wrap; gap: .45rem .8rem; padding: 0; }
.catalog-surface:has(input[value=list]:checked) .card-more { width: auto; }

.pdp { display: grid; grid-template-columns: minmax(0,1.04fr) minmax(0,1fr); gap: clamp(2rem,6vw,6.5rem); align-items: start; padding-block: clamp(1.5rem,3.2vw,3.3rem) clamp(3rem,5.5vw,5.5rem); }
.pdp-image { display: block; min-width: 0; position: sticky; top: 1.35rem; padding: .4rem; border: 1px solid #cfc3d2; border-radius: 1.25rem; background: #e8dfe9; }
.photo-plate { position: relative; overflow: hidden; aspect-ratio: 1.02; border-radius: .91rem; background: #100710; }
.photo-plate img { object-fit: contain; object-position: center; transform-origin: 67% 54%; }
.pdp-image:has(input[value=label]:checked) .photo-plate img { transform: scale(1.78); }
.photo-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem; padding: .63rem .5rem .22rem .85rem; }
.plate-amount { font: .84rem/1.4 var(--mono); color: #513d58; }
.photo-switch { background: #d8cbdc; }
.pdp-info { min-width: 0; padding-top: .5rem; }
.pdp-info .overline { color: #6d4979; }
.pdp-info h1 { overflow-wrap: anywhere; font-size: clamp(3rem,5.2vw,5.5rem); }
.identity-line { margin-top: .8rem; font-size: 1rem; }
.identity-line strong, .record-identity strong { margin-right: .4rem; }
.pdp-info .lead { margin: .95rem 0 1.55rem; }
.field-name { margin-bottom: .55rem; }
.chips { display: flex; flex-wrap: wrap; gap: .48rem; }
.chips a { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: .1rem; min-width: 70px; min-height: 50px; border: 1px solid #bdafc2; background: #fffcfe; padding: .44rem .83rem; border-radius: .6rem; line-height: 1.3; text-decoration: none; }
.chips a[aria-current=true] { background: #e5d8eb; color: #41204e; border-color: #82648d; box-shadow: inset 0 0 0 1px #82648d; }
.chips b { font-size: .95rem; }
.chips small { color: #57445d; font-size: .78rem; }
.availability { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1rem; margin: 1.45rem 0 .5rem; }
.availability b { font-size: 1.85rem; font-weight: 600; letter-spacing: -.055em; line-height: 1.12; }
.availability span, .small { color: var(--muted); font-size: .89rem; }
.buy-records { min-height: 34px; margin-bottom: .65rem; color: #543161; font-size: .9rem; }
.add { display: flex; gap: .85rem; align-items: end; margin-top: .8rem; }
.add input, .cart-controls input { min-height: 46px; width: 78px; padding: .56rem .7rem; border: 1px solid #aa9aae; background: #fffdff; color: var(--ink); border-radius: .6rem; }
.add input[type=number], .cart-controls input[type=number] { position: relative; text-align: center; padding-inline: 1rem; font-variant-numeric: tabular-nums; }
.add input::-webkit-inner-spin-button, .cart-controls input::-webkit-inner-spin-button { position: absolute; inset-inline-end: 2px; top: 50%; transform: translateY(-50%); width: 13px; margin: 0; }
.add label { margin: 0; }
.add input { display: block; margin-top: .3rem; }
.add button { flex: 1; }
.safety { margin-top: .8rem; }
.detail-rows { margin-top: 1.7rem; border-top: 1px solid var(--rule); }
.detail-rows details { border-bottom: 1px solid var(--rule); }
.detail-rows ul { padding-left: 1.25rem; }
.detail-rows p, .detail-rows dl { margin: .15rem 0 .8rem; color: var(--muted); }
dl { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.35fr); gap: .4rem 1rem; }
dt, dd { overflow-wrap: anywhere; }
.hold-note, .shop-main .record-note, .cart-document-note { margin: .8rem 0; background: #ece2ef; padding: .8rem 1rem; border-left: 3px solid #9667a3; border-radius: 0 .45rem .45rem 0; font-size: .91rem; color: #44314c; }

/* Directory, reading and order templates share the same ink, rules and typescale. */
.archive-main { background: linear-gradient(145deg,#ece4ee 0, var(--paper) 29rem); }
.directory-heading { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(145px,.6fr); gap: 2rem; align-items: end; }
.directory-stat { justify-self: end; padding-right: 1.5rem; display: grid; color: #6c5076; }
.directory-stat strong { font: italic 400 clamp(4.2rem,7vw,7rem)/.87 var(--italic); letter-spacing: -.07em; }
.directory-stat span { font: .80rem/1.5 var(--mono); margin-top: .5rem; }
.document-intro { max-width: 57rem; }
.record-search { margin-top: 1.7rem; }
.notice { max-width: 55rem; margin-top: 1.6rem; padding: clamp(1.3rem,3.1vw,3.2rem); border: 1px solid var(--rule); border-radius: 1rem; background: #fffdfc; }
.notice h2, .article section h2, .summary h2, .cart-item h2 { font-size: clamp(1.6rem,2.4vw,2.7rem); }
.notice > p, .summary > p, .article section p { margin: .7rem 0 1.05rem; color: var(--muted); }
.notice.report-results { max-width: none; margin-top: clamp(1.8rem,3vw,3rem); background: #fcfaf8; }
.result-heading { display: flex; gap: .5rem 1.2rem; align-items: baseline; justify-content: space-between; flex-wrap: wrap; }
.result-heading > span, .result-tests, .result-material small { color: var(--muted); font-size: .86rem; }
.report-list { border-top: 1px solid var(--rule); margin: 1.1rem 0 .6rem; }
.report-list a { display: flex; justify-content: space-between; align-items: center; gap: .5rem 1rem; padding: .83rem .1rem; border-bottom: 1px solid var(--rule); text-decoration: none; overflow-wrap: anywhere; }
.result-material, .result-tests { display: grid; }
.result-material b { font-size: 1.03rem; font-weight: 600; }
.result-tests { font: .80rem/1.5 var(--mono); text-align: right; }
.result-links { display: flex; flex-wrap: wrap; gap: .35rem 1.3rem; }
.result-links .text-link { font-size: .9rem; }
.guide-list { border-top: 1px solid var(--rule); }
.document-intro + .guide-list, .tight .section-head + .guide-list { margin-top: 1.6rem; }
.guide-list > a { display: flex; justify-content: space-between; align-items: center; gap: 1.2rem; padding: clamp(1rem,1.8vw,1.65rem) 0; text-decoration: none; border-bottom: 1px solid var(--rule); }
.guide-list > a > span { font-size: clamp(1.2rem,2vw,1.9rem); font-weight: 570; letter-spacing: -.035em; line-height: 1.2; }
.guide-list small, .guide-list b { font: 450 .89rem/1.5 var(--display); color: var(--muted); }
.guide-list span small { display: block; margin-top: .45rem; max-width: 52rem; letter-spacing: normal; }
.article { max-width: 1250px; }
.article h1 { max-width: 16ch; }
.article > section { padding-top: 1.25rem; margin: 2rem 0; border-top: 1px solid var(--rule); }
.article section p, .article .record-note { max-width: 62ch; }
.article .source, .record-note, .record-identity { font-size: .93rem; color: var(--muted); }
.record-note, .record-identity { margin-top: .8rem; }
h1.lot-title { max-width: none; font-size: clamp(2.55rem,5vw,5.4rem); overflow-wrap: anywhere; }
.record dl { max-width: 39rem; margin: 1rem 0 .5rem; }
.record dt { color: var(--muted); }
.record dd { font-variant-numeric: tabular-nums; }
.message { min-height: 43vh; }
.message > .button, .message > p { margin-top: 1rem; }
.order-main { background: linear-gradient(170deg,#f8f4f8,#f4f1ee 65%); min-height: 52vh; }
.cart-grid { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(250px,.82fr); margin-top: clamp(1.5rem,3vw,3rem); gap: clamp(1.4rem,4.6vw,4.5rem); }
.cart-item { display: flex; gap: clamp(.9rem,1.7vw,1.6rem); align-items: start; padding: 1.1rem 0; border-top: 1px solid var(--rule); }
.cart-item > div { min-width: 0; }
.cart-item img { flex: none; border-radius: .6rem; object-fit: cover; background: var(--stage); }
.cart-item h2 { font-size: clamp(1.35rem,2.2vw,2.2rem); overflow-wrap: anywhere; }
.cart-item h2 a { text-decoration: none; }
.cart-item p { color: var(--muted); }
.cart-identity { font-size: .88rem; }
.cart-item .line-total { color: var(--ink); margin-top: .2rem; font-size: .9rem; }
.cart-report { min-height: 36px; font-size: .88rem; color: var(--plum); }
.cart-items > .text-link { margin-top: 1rem; }
.cart-controls { display: flex; flex-wrap: wrap; gap: .5rem .75rem; align-items: center; margin-top: .5rem; }
.cart-controls label { display: inline-flex; align-items: center; gap: .42rem; margin: 0; }
.cart-controls input { width: 60px; min-height: 38px; }
.link-button { min-height: 36px; padding: .2rem; color: var(--plum); background: transparent; text-decoration: underline; font-size: .88rem; }
.summary { position: relative; align-self: start; padding: clamp(1.3rem,2.6vw,2.7rem); background: #eee4f0; border: 1px solid #d3c3d9; border-radius: 1.1rem; box-shadow: inset 0 1px 0 #fff9; }
.summary .button, .summary button:not(.link-button) { width: 100%; }
.summary-lines { border-block: 1px solid #c9b8cf; margin: 1.15rem 0; padding: .55rem 0; }
.summary-lines > div, .receipt li { display: flex; justify-content: space-between; align-items: center; gap: .8rem; padding: .37rem 0; }
.summary-lines b, .receipt li { font-variant-numeric: tabular-nums; }
.summary-lines > div:last-child { font-size: 1.18rem; }
.summary > .small { font-size: .84rem; margin-bottom: 0; }
.check { display: flex; align-items: start; gap: .65rem; margin: 1.1rem 0; font-size: .92rem; }
.check input { width: 20px; height: 20px; flex: none; margin: 2px 0 0; accent-color: var(--plum); }
.receipt { max-width: 55rem; padding-left: 0; }
.receipt li { border-bottom: 1px solid var(--rule); flex-wrap: wrap; }
footer { color: #f9f1fa; background: #1c141e; border-top: 1px solid #423144; }
.foot-top, .foot-bottom { display: flex; justify-content: space-between; gap: 1.4rem; }
.foot-top { padding-block: clamp(2.3rem,4.3vw,4.5rem); align-items: center; }
.foot-identity .brand-mark { width: 64px; height: 44px; }
.foot-identity .wordmark { font-size: 2.35rem; }
.foot-identity .wordmark > span { font-size: .75rem; letter-spacing: .54em; }
.foot-identity p { margin-top: 1rem; font-size: .94rem; color: #d0c4d4; }
.foot-links { display: grid; grid-template-columns: repeat(3,auto); column-gap: clamp(1rem,2.8vw,3rem); }
.foot-links a { display: inline-flex; align-items: center; width: fit-content; min-height: 39px; font-size: .9rem; text-decoration: none; }
.foot-bottom { position: relative; color: #d0c4d4; font-size: .80rem; padding-block: 1.1rem; }
.foot-bottom::before { content: ""; background: #4c3c50; height: 1px; position: absolute; inset: 0 var(--pad) auto; }

/* Motion follows the visitor's inputs; text and purchasing controls are always rendered. */
@media (hover:hover) {
  .button:hover, button:not(.link-button, .card-order button):hover:not(:disabled) { background: #573060; box-shadow: 0 4px 13px #3f234a22; }
  .button.secondary:hover { background: #e9ddec; }
  .collection-copy .button:hover { background: #f5e6fd; box-shadow: 0 3px 18px #dbaeff26; }
  .wide-nav a:hover:not([aria-current=page]):not([aria-current=location]) { background: #ffffff12; }
  .head-tools a:hover, .foot-links a:hover { color: #e3bcf3; }
  .category-nav a:hover { background: #f5ecf7; border-color: #ae96b6; color: #42234e; }
  .motion-control:hover { background: #482d50; }
  .card-hit:hover h2, .card-hit:hover h3, .report-list a:hover b, .crumb a:hover { text-decoration: underline; }
  .sample-row:hover, .guide-list > a:hover { color: #6a3e78; }
  .filters a:hover, .chips a:hover { border-color: #74577f; }
  .text-link:hover, .link-button:hover { color: #753f87; }
  .batch-feature .text-link:hover { color: #f1c9ff; }
  .card-more:hover, label.amount-pill:hover { border-color: #886994; background: #e9dfed; color: #42284c; }
  label.amount-pill:has(:checked):hover { background: #49304f; color: white; }
}
@media (prefers-reduced-motion:no-preference) {
  .frame img, .photo-plate img, .spotlight-vials, .paper-visual picture, .sample-text, .sample-thumb img { transition: transform .55s var(--ease); }
  .category-nav a, .view-switch label > span, .filters a, .chips a { transition: background .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease); }
  @media (hover:hover) {
    .frame:hover img { transform: scale(1.045); }
    .spotlight:hover .spotlight-vials, .spotlight:focus-visible .spotlight-vials { transform: translateY(-4px) rotate(-1deg) scale(1.025); }
    .paper-visual:hover picture, .paper-visual:focus-visible picture { transform: translateY(-4px) rotate(-2deg); }
    .sample-row:hover .sample-thumb img { transform: scale(1.08); }
    .sample-row:hover .sample-text { transform: translateX(3px); }
  }
}
@media (prefers-reduced-motion:reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (max-width:1050px) {
  .wide-nav { gap: .1rem; } .wide-nav a { padding-inline: .64rem; }
  .site-search span { display: none; }
  .site-search { width: 44px; padding: 0; }
  .site-search svg { position: static; }
  .batch-layout { gap: 3rem; }
}
@media (max-width:760px) {
  :root { --pad: clamp(1.1rem,5.1vw,2.3rem); }
  .head-inner { min-height: 58px; } .brand-mark { width: 37px; height: 29px; }
  .wide-nav { display: none; }
  .head-tools { gap: .18rem; }
  .site-search, .cart-link { width: 44px; height: 44px; padding: 0; } .cart-link { border-color: transparent; } .cart-link span { display: none; }
  .cart-link svg { position: static; }
  .mobile-menu { display: block; }
  .section { padding-block: clamp(2.85rem,8.5vw,4.3rem); }
  .section.tight { padding-top: 0; }
  .section-head { margin-bottom: 1.25rem; }
  .section-head .text-link { font-size: .86rem; }
  .sample-shelf, .batch-layout, .help-layout, .pdp, .cart-grid { grid-template-columns: 1fr; }
  .sample-shelf { gap: 1.1rem; }
  .spotlight { min-height: 0; aspect-ratio: 1.28; }
  .spotlight h3 { font-size: clamp(1.9rem,7vw,2.9rem); }
  .spotlight-vials { inset: 7% 4% 19% 43%; }
  .sample-thumb { width: 64px; }
  .sample-text strong { font-size: 1.22rem; }
  .sample-kind { font-size: .75rem; }
  .sample-row { min-height: 76px; }
  .batch-layout { gap: 1.8rem; }
  .batch-copy h2 br { display: none; }
  .paper-visual { height: clamp(200px,53vw,320px); }
  .paper-caption { padding-top: .9rem; }
  .help-layout { gap: 1.2rem; }
  .help-layout h2 { margin-bottom: .15rem; }
  .crumb ol { padding-top: .65rem; }
  .inner-start { padding-top: 1.75rem; }
  .pdp { gap: 1.6rem; padding-top: 1rem; }
  .pdp-image { position: relative; top: auto; }
  .photo-plate { aspect-ratio: 1.12; }
  .photo-toolbar { padding: .45rem .15rem .08rem .55rem; }
  .pdp-info { padding: 0; }
  .pdp-info h1 { font-size: clamp(2.65rem,8.2vw,4.5rem); }
  .pdp-info .lead { margin-bottom: 1.3rem; }
  .directory-heading { grid-template-columns: 1fr; gap: .9rem; }
  .directory-stat { justify-self: start; display: flex; align-items: baseline; gap: .6rem; }
  .directory-stat strong { font-size: 2.2rem; }
  .record-search { margin-top: 1.2rem; }
  .report-list a { flex-direction: column; align-items:start; }
  .result-tests { text-align: left; }
  .cart-grid { gap: 1.5rem; }
  .cart-item img { width: 60px; }
  .foot-top, .foot-bottom { flex-wrap: wrap; }
  .foot-bottom { gap: .3rem 1rem; }
}
@media (max-width:520px) {
  .section-head { align-items: start; gap: .45rem; flex-direction: column; }
  .section-head .text-link { min-height: 32px; }
  .foot-links { width: 100%; grid-template-columns: 1fr 1fr; }
  .foot-top { align-items: start; flex-direction: column; gap: 1.1rem; }
  .foot-bottom { flex-direction: column; }
}
@media (max-width:355px) {
  .use-strip { font-size: .72rem; }
  .paper-caption { align-items: start; }
}

@media (max-width:1100px) {
  .catalog-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width:900px) {
  .catalog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .8rem; }
  .filters {
    justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding: .35rem .25rem .5rem;
    scroll-snap-type: x proximity; scroll-padding-inline: .25rem; overscroll-behavior-inline: contain;
    scrollbar-width: thin; scrollbar-color: #b8a3bf transparent;
  }
  .filters .category-pill { flex: none; scroll-snap-align: start; white-space: nowrap; }
}
@media (max-width:700px) {
  .catalog-surface:has(input[value=list]:checked) .material-card { display: block; min-height: 0; padding: .85rem; }
  .catalog-surface:has(input[value=list]:checked) .card-hit { min-height: 3.7rem; padding-left: 4.5rem; }
  .catalog-surface:has(input[value=list]:checked) .frame { top: .85rem; left: .85rem; width: 3.7rem; height: 3.7rem; transform: none; }
  .catalog-surface:has(input[value=list]:checked) .card-config { margin-top: .7rem; padding-top: .65rem; border-top: 1px solid #e4dce6; }
}
@media (max-width:520px) {
  .shop-intro { padding: 1.45rem 0 1rem; }
  .shop-intro .lead { margin-top: .65rem; }
  .filters { gap: .45rem; margin: .15rem 0 1rem; }
  .filters .category-pill { gap: .45rem; padding: .55rem .85rem; font-size: .88rem; }
  .catalog-toolbar { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: .55rem; }
  .catalog-toolbar .search-line button { padding: .45rem; width: 40px; min-height: 40px; }
  .catalog-toolbar .search-line button svg { display: block; }
  .catalog-toolbar .search-line button span { display: none; }
  .catalog-toolbar .view-switch label > span { gap: .32rem; min-height: 38px; padding-inline: .55rem; }
  .card-hit { min-height: 4.2rem; }
  .catalog-grid { gap: .72rem; }
  .amount-pill { min-height: 36px; padding-inline: .56rem; }
}
@media (max-width:460px) {
  .shop-intro h1 em { display: block; }
}
@media (max-width:379px) {
  .catalog-toolbar { grid-template-columns: 1fr; }
  .catalog-toolbar .search-line { width: 100%; }
  .view-switch { justify-self: end; }
}
