/* boutiqueaudio.art — warm studio-hardware palette: charcoal, cream, brass. */
:root {
  --bg: #14120f;
  --bg-2: #1b1814;
  --surface: #211d18;
  --surface-2: #2a251f;
  --line: #3a332b;
  --text: #efe7d8;
  --muted: #a89c8a;
  --brass: #d4a452;
  --brass-hi: #f0c878;
  --on-brass: #1a140a;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, .7);
  /* faceplate */
  --fp-top: #2e2923; --fp-bot: #1d1a16; --fp-edge: #4a4238; --fp-track: #3b352d;
  --fp-knob-hi: #6a6258; --fp-knob: #3a352f; --fp-knob-lo: #1c1916;
  --fp-text: #d9cfbf; --fp-btn: #26221d; --fp-brush: rgba(255, 255, 255, .025); --fp-screw: #5a5147;
  --radius: 16px;
  --wrap: 1180px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f5efe4; --bg-2: #ede5d6; --surface: #fbf7f0; --surface-2: #f1eadd; --line: #dcd0bc;
    --text: #221c14; --muted: #6e6252; --brass: #a8792a; --brass-hi: #c8963d; --on-brass: #fffaf0;
    --shadow: 0 20px 45px -24px rgba(60, 40, 10, .35);
    --fp-top: #efe8dc; --fp-bot: #d9cfbe; --fp-edge: #bfb29c; --fp-track: #cfc3ae;
    --fp-knob-hi: #ffffff; --fp-knob: #e4dccd; --fp-knob-lo: #b9ad98;
    --fp-text: #3d3428; --fp-btn: #e8e0d1; --fp-brush: rgba(0, 0, 0, .025); --fp-screw: #b3a690;
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #f5efe4; --bg-2: #ede5d6; --surface: #fbf7f0; --surface-2: #f1eadd; --line: #dcd0bc;
  --text: #221c14; --muted: #6e6252; --brass: #a8792a; --brass-hi: #c8963d; --on-brass: #fffaf0;
  --shadow: 0 20px 45px -24px rgba(60, 40, 10, .35);
  --fp-top: #efe8dc; --fp-bot: #d9cfbe; --fp-edge: #bfb29c; --fp-track: #cfc3ae;
  --fp-knob-hi: #ffffff; --fp-knob: #e4dccd; --fp-knob-lo: #b9ad98;
  --fp-text: #3d3428; --fp-btn: #e8e0d1; --fp-brush: rgba(0, 0, 0, .025); --fp-screw: #b3a690;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
p a, .small a, .faq a, .prose a { color: var(--brass-hi); text-decoration-thickness: 1px; text-underline-offset: 3px; }
:root[data-theme="light"] p a, :root[data-theme="light"] .small a { color: var(--brass); }
code { font: 500 .88em var(--mono); background: var(--surface-2); border: 1px solid var(--line); border-radius: 6px; padding: .08em .4em; overflow-wrap: anywhere; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -.015em; line-height: 1.1; margin: 0; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.45rem; }
h4 { margin: 0; font-size: 1rem; font-weight: 600; }
h1 em, h2 em { font-style: italic; color: var(--brass-hi); }
:root[data-theme="light"] h1 em { color: var(--brass); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.mono { font-family: var(--mono); }
.center { text-align: center; justify-content: center; }
.eyebrow { font: 500 .75rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--brass); margin: 0 0 14px; display: block; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 40em; margin: 18px 0 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brass); color: var(--on-brass); padding: 8px 12px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--brass-hi); outline-offset: 3px; border-radius: 6px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
.header-inner { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 600 1.1rem var(--serif); letter-spacing: -.01em; color: var(--text); }
.brand em { font-style: italic; font-weight: 400; color: var(--brass-hi); margin-left: .18em; }
:root[data-theme="light"] .brand em { color: var(--brass); }
.brand .mark { color: var(--muted); flex: none; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; font-size: .92rem; color: var(--muted); padding: 8px 12px; border-radius: 999px; transition: color .15s, background .15s; }
.nav a:hover { color: var(--text); background: var(--surface); }
.nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
.theme-toggle { background: none; border: 1px solid var(--line); color: var(--muted); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; flex: none; }
.theme-toggle:hover { color: var(--text); }
.theme-toggle svg:last-child { display: none; }
:root[data-theme="light"] .theme-toggle svg:first-child { display: none; }
:root[data-theme="light"] .theme-toggle svg:last-child { display: block; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .theme-toggle svg:first-child { display: none; }
  :root:not([data-theme="dark"]) .theme-toggle svg:last-child { display: block; }
}
@media (max-width: 640px) {
  .header-inner { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 6px; gap: 6px 12px; }
  .nav { order: 3; width: 100%; margin: 0 -12px; overflow-x: auto; }
  .theme-toggle { margin-left: auto; }
}

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; gap: 8px; font: 600 .95rem var(--sans); text-decoration: none; padding: 12px 20px; border-radius: 999px; border: 1px solid transparent; transition: transform .15s, background .15s, border-color .15s, box-shadow .15s; cursor: pointer; }
.btn-primary { background: linear-gradient(180deg, var(--brass-hi), var(--brass)); color: var(--on-brass); box-shadow: 0 10px 24px -12px var(--brass), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 28px -12px var(--brass), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn-ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--brass); }
.btn-disabled { border-color: var(--line); color: var(--muted); cursor: default; background: transparent; }
.btn-sm { padding: 8px 14px; font-size: .85rem; }
.btn-block { width: 100%; justify-content: center; margin-top: 16px; }
.btn-meta { font: 500 .78rem var(--mono); opacity: .75; }

/* Hero */
.hero { position: relative; padding: 72px 0 88px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -30% -10% auto 40%; height: 120%; background: radial-gradient(closest-side, color-mix(in srgb, var(--brass) 18%, transparent), transparent); pointer-events: none; }
.hero-grid { display: grid; gap: 48px; align-items: center; position: relative; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr 1fr; } .hero { padding: 104px 0 120px; } }
.hero-stats { display: flex; gap: 36px; margin: 44px 0 0; padding: 0; flex-wrap: wrap; }
.hero-stats div { border-left: 1px solid var(--line); padding-left: 14px; }
.hero-stats dt { font: 500 2rem/1 var(--serif); }
.hero-stats dd { margin: 6px 0 0; font-size: .85rem; color: var(--muted); }
.hero-art { perspective: 1400px; }
.stack { position: relative; height: 470px; }
.stack-plate { position: absolute; width: 88%; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45)); transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.stack-plate.s0 { left: 0; top: 0; transform: rotate(-4deg); z-index: 3; }
.stack-plate.s1 { right: -4%; top: 175px; transform: rotate(3deg); z-index: 2; }
.stack-plate.s2 { left: 4%; top: 318px; transform: rotate(-1.5deg); z-index: 1; }
.hero-art:hover .s0 { transform: rotate(-6deg) translate(-8px, -10px); }
.hero-art:hover .s1 { transform: rotate(5deg) translate(10px, 0); }
.hero-art:hover .s2 { transform: rotate(-2deg) translate(0, 12px); }
@media (max-width: 959px) { .stack { height: 300px; } .stack-plate { width: 78%; } .stack-plate.s1 { top: 90px; } .stack-plate.s2 { top: 170px; } }
@media (max-width: 520px) { .stack { height: 230px; } .stack-plate.s1 { top: 70px; } .stack-plate.s2 { top: 130px; } }

/* Faceplate SVG text */
.faceplate { width: 100%; height: auto; }
.fp-title { font: italic 500 30px var(--serif); fill: var(--fp-text); }
.fp-label { font: 500 11px var(--mono); letter-spacing: .12em; fill: var(--fp-text); opacity: .72; }
.fp-btn { font: 600 11px var(--mono); letter-spacing: .1em; fill: var(--fp-text); }
.fp-screw { fill: var(--fp-screw); }

/* Sections */
.section { padding: 88px 0; }
.section.tight { padding: 40px 0; }
.section-alt { background: var(--bg-2); border-block: 1px solid color-mix(in srgb, var(--line) 50%, transparent); }
.section-head { max-width: 46em; margin-bottom: 44px; }
.section-head p.muted { margin: 16px 0 0; font-size: 1.05rem; }
.h-sm { font-size: 1.7rem; margin-bottom: 26px; }
.page-head { padding: 72px 0 24px; }
.page-head.center { padding: 120px 0; }

/* Cards */
.grid { display: grid; gap: 22px; }
.apps-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.plugins-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.grid.three { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
@media (max-width: 360px) { .apps-grid, .plugins-grid, .grid.three { grid-template-columns: 1fr; } }
.card { display: flex; flex-direction: column; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s, border-color .25s, box-shadow .25s; }
.card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 60%, var(--line)); box-shadow: var(--shadow), 0 0 0 1px color-mix(in srgb, var(--accent) 25%, transparent); }
.card-shot { aspect-ratio: 16 / 9.4; overflow: hidden; background: #0b0c10; border-bottom: 1px solid var(--line); position: relative; }
.card-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform .6s; }
.card:hover .card-shot img { transform: scale(1.03); }
.card-shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, color-mix(in srgb, var(--accent) 22%, transparent)); }
.card-plate { padding: 22px 22px 6px; background: radial-gradient(120% 80% at 50% 0%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%); }
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.card-body p { color: var(--muted); margin: 8px 0 18px; }
.card-body .eyebrow { color: var(--accent); margin-bottom: 8px; }
.card-head { display: flex; gap: 12px; align-items: center; }
.card-head .eyebrow { margin-bottom: 6px; }
.card-link { margin-top: auto; display: inline-flex; gap: 6px; align-items: center; font: 500 .82rem var(--mono); color: var(--text); }
.card:hover .card-link svg { transform: translateX(3px); }
.card-link svg { transition: transform .2s; }
.app-icon { width: 36px; height: 36px; border-radius: 9px; flex: none; }
.app-icon.lg { width: 64px; height: 64px; border-radius: 15px; box-shadow: var(--shadow); }
@media (min-width: 1000px) { .plugin-card.flagship { grid-column: span 2; flex-direction: row; } .plugin-card.flagship .card-plate { flex: 1.35; padding: 30px; display: grid; place-items: center; } .plugin-card.flagship .card-body { flex: 1; padding: 34px 30px; justify-content: center; } .plugin-card.flagship h3 { font-size: 2rem; } }

/* Lineage */
.lineage-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); counter-reset: l; border-top: 1px solid var(--line); }
.lineage-list li { padding: 24px 24px 26px 0; border-bottom: 1px solid var(--line); counter-increment: l; }
.lineage-list h4 { font: 500 1.25rem var(--serif); display: flex; gap: 12px; align-items: baseline; }
.lineage-list h4::before { content: counter(l, decimal-leading-zero); font: 500 .75rem var(--mono); color: var(--brass); }
.lineage-list p { color: var(--muted); margin: 8px 0 0 30px; }

/* Principles */
.principles { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.principle .num { font: 500 .8rem var(--mono); color: var(--brass); }
.principle h3 { margin: 10px 0 10px; font-size: 1.7rem; }
.principle p { color: var(--muted); margin: 0; }

/* Product pages */
.product-hero { padding: 48px 0 40px; position: relative; overflow: hidden; }
.product-hero::before { content: ""; position: absolute; inset: -40% 0 auto; height: 90%; background: radial-gradient(50% 60% at 50% 0%, color-mix(in srgb, var(--accent) 20%, transparent), transparent); pointer-events: none; }
.product-hero > .wrap { position: relative; }
.product-hero .eyebrow { color: var(--accent); }
.crumb { display: inline-block; font: 500 .82rem var(--mono); color: var(--muted); text-decoration: none; margin-bottom: 28px; }
.crumb:hover { color: var(--text); }
.product-title { display: flex; gap: 20px; align-items: center; }
.product-title .eyebrow { margin-bottom: 8px; }
.summary { max-width: 44em; margin: 16px 0 0; }
.window { margin: 48px 0 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow), 0 0 80px -30px color-mix(in srgb, var(--accent) 60%, transparent); background: #0b0c10; }
.window-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.window-bar span { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.window-bar em { font: 500 .78rem var(--mono); font-style: normal; color: var(--muted); margin: 0 auto; padding-right: 50px; }
.window img { width: 100%; height: auto; }
.plugin-hero { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .plugin-hero { grid-template-columns: 1fr 1.1fr; } }
.plate-frame { filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45)); }
.prose-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .prose-grid { grid-template-columns: 1.6fr 1fr; align-items: start; } }
.prose p { font-size: 1.08rem; margin: 0 0 1.1em; max-width: 42em; }
.prose.narrow { max-width: 44em; }
.spec-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.spec-card h4 { font: 500 .75rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.spec-card p { margin: 0; }
.specs { margin: 0; }
.specs div { display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.specs div:first-child { border-top: 0; padding-top: 0; }
.specs dt { color: var(--muted); font-size: .88rem; }
.specs dd { margin: 0; font-size: .95rem; }
.features { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.features li { background: var(--surface); padding: 22px; border: 1px solid var(--line); border-radius: 12px; }
.features h4 { display: flex; gap: 10px; align-items: center; }
.features h4::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent, var(--brass)); box-shadow: 0 0 10px var(--accent, var(--brass)); flex: none; }
.features p { color: var(--muted); margin: 8px 0 0; font-size: .95rem; }
.chain { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chain li { font: 500 .82rem var(--mono); padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); display: flex; align-items: center; }
.chain li:not(:last-child)::after { content: "→"; margin-left: 14px; margin-right: -2px; color: var(--brass); }
.presets { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); margin-bottom: 14px; }
.preset-group h4 { font: 500 .75rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--brass); margin-bottom: 10px; }
.preset-group ul { list-style: none; padding: 0; margin: 0; }
.preset-group li { padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.steps { padding-left: 1.3em; margin: 0 0 16px; max-width: 48em; }
.steps li { margin: 0 0 10px; padding-left: 4px; }
.steps li::marker { font: 500 .9em var(--mono); color: var(--brass); }

/* Downloads */
.dl-table { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.dl-row { display: grid; grid-template-columns: 1.6fr .5fr .6fr 1.4fr auto; gap: 16px; align-items: center; padding: 18px 20px; background: var(--surface); border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.dl-row:first-child { border-top: 0; }
.dl-row:target { box-shadow: inset 3px 0 0 var(--accent); }
.dl-name { display: flex; gap: 14px; align-items: center; }
.dl-name a { text-decoration: none; }
.dl-name > div { display: flex; flex-direction: column; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); flex: none; }
@media (max-width: 820px) { .dl-row { grid-template-columns: 1fr auto; padding: 16px; } .dl-row > .mono:not(.cart-price), .dl-hash, .dl-row .dl-long { display: none; } }
.hashes { margin-top: 18px; }
.hashes summary { cursor: pointer; color: var(--muted); font-size: .9rem; }
.hashes pre { font: .78rem/1.7 var(--mono); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 14px; overflow-x: auto; }

/* FAQ */
.faq { max-width: 50em; }
.faq details { border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; font: 500 1.15rem var(--serif); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font: 400 1.4rem var(--mono); color: var(--brass); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 0 0 22px; }
.contact { margin-top: 30px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 28px; margin-top: 40px; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1.4fr repeat(3, 1fr); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }
.footer-grid h4 { font: 500 .72rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.footer-grid a:not(.brand) { display: block; text-decoration: none; color: var(--text); opacity: .85; padding: 3px 0; font-size: .93rem; }
.footer-grid a:not(.brand):hover { color: var(--brass-hi); opacity: 1; }
.footer-base { margin-top: 44px; padding-top: 22px; border-top: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }

/* Reveal on scroll (enabled by main.js only) */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Store */
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn-price { font: 600 .82rem var(--mono); padding-left: 10px; margin-left: 2px; border-left: 1px solid currentColor; opacity: .85; }
.price-tag { color: var(--brass-hi); margin-left: 4px; }
:root[data-theme="light"] .price-tag { color: var(--brass); }
.buy-box { margin-top: 28px; }
.buy-options { display: flex; flex-wrap: wrap; gap: 12px; }
.buy-note { margin: 12px 0 0; }
.buy-error { color: #ff7a6b; margin: 10px 0 0; }
:root[data-theme="light"] .buy-error { color: #b3341f; }
.notice { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--brass); border-radius: 10px; padding: 12px 16px; margin: 0 0 24px; }
.bundle-band { display: grid; gap: 20px 32px; align-items: center; margin-top: 36px; padding: 28px; border-radius: var(--radius); border: 1px solid color-mix(in srgb, var(--brass) 45%, var(--line)); background: radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--brass) 16%, transparent), transparent 60%), var(--surface); }
@media (min-width: 820px) { .bundle-band { grid-template-columns: 1fr auto; padding: 34px 38px; } }
.bundle-band h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.bundle-band .eyebrow { margin-bottom: 10px; }
.bundle-copy p { margin: 10px 0 0; }
.bundle-cta .buy-error { max-width: 22em; }
.cart { margin-top: 56px; }
.cart-row { cursor: pointer; grid-template-columns: 1.6fr .5fr .6fr auto; }
.cart-row:hover { background: var(--surface-2); }
.cart-row input { width: 18px; height: 18px; accent-color: var(--brass); flex: none; margin: 0; }
.cart-row:has(input:checked) { box-shadow: inset 3px 0 0 var(--accent); }
.cart-price { font-size: .95rem; }
@media (max-width: 820px) { .cart-row { grid-template-columns: 1fr auto; } .cart-meta { display: none; } }
.cart-bar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-top: 16px; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); position: sticky; bottom: 12px; box-shadow: var(--shadow); }
.cart-sum { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.cart-total { font-size: 1.4rem; }
.spinner { width: 42px; height: 42px; margin: 0 auto 28px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--brass); animation: spin 1s linear infinite; }
.spinner[hidden] { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.page-head.center .lede { margin-inline: auto; }
.recover { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin-top: 30px; max-width: 34em; }
.field { display: flex; flex-direction: column; gap: 6px; flex: 1 1 240px; }
.field input { font: inherit; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; }
.field input:focus { outline: 2px solid var(--brass); outline-offset: 1px; }
.lib-tip, .lib-more { margin-top: 16px; }
