/* QuantaFinder — public store styles.
   Marketplace density with restraint: crisp borders instead of shadows, product imagery on
   one light stage color, photon violet only for actions, ember only for the sale. */

@font-face { font-family: "Big Shoulders"; src: url("../fonts/big-shoulders-700.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans-700.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans-400i.woff") format("woff"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --ink: #1B1A3A;
  --ink-2: #26254D;
  --ink-3: #34336A;
  --ink-deep: #131230;
  --paper: #F4F5F8;
  --white: #FFFFFF;
  --stage: #EEF0F4;
  --panel: #ECEEF3;
  --steel: #5A5F71;
  --steel-light: #A3A8B8;
  --rule: #E1E4EB;
  --rule-strong: #C9CED9;
  --photon: #5B3DF5;
  --photon-hover: #4628DB;
  --photon-tint: #EEEAFE;
  --photon-ink: #3B22C2;
  --ember: #FF6A2B;
  --ember-tint: #FFEDE4;
  --ok: #17734F;
  --ok-tint: #E3F4EC;
  --wait: #8A5300;
  --wait-tint: #FFF3D6;
  --danger: #B42318;
  --danger-tint: #FDECEA;
  --on-dark: #D6D7EA;
  --on-dark-2: #A9ABC9;
  --beam: linear-gradient(90deg, #5B3DF5 0%, #9B4DD0 45%, #FF6A2B 100%);

  --display: "Big Shoulders", "Arial Narrow", "Roboto Condensed", sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-xs: .8125rem;
  --fs-sm: .875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 2rem;
  --fs-3xl: clamp(2.25rem, 1.8rem + 1.6vw, 2.75rem);
  --fs-4xl: clamp(2.75rem, 2rem + 3.2vw, 4.25rem);
  /* legacy names used by the admin stylesheet */
  --step--1: var(--fs-sm);
  --step-0: var(--fs-base);
  --step-1: var(--fs-lg);
  --step-2: var(--fs-xl);
  --step-3: var(--fs-3xl);
  --step-4: var(--fs-4xl);

  --radius-s: 4px;
  --radius: 6px;
  --radius-l: 10px;
  --radius-xl: 14px;
  --wrap: 1440px;
  --gutter: clamp(16px, 2.6vw, 32px);
  --header-h: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--fs-base);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, canvas { max-width: 100%; display: block; }
a { color: var(--photon); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--photon-hover); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--photon); outline-offset: 2px; border-radius: 2px; }
.site-header :focus-visible, .site-footer :focus-visible, .on-dark :focus-visible { outline-color: #B6A8FF; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
h1, h2, h3, h4 { margin: 0 0 .5em; text-wrap: balance; }
h1, h2, .display { font-family: var(--display); font-weight: 700; letter-spacing: .005em; line-height: .98; }
h1 { font-size: var(--fs-4xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-md); line-height: 1.3; font-weight: 700; }
h4 { font-size: var(--fs-base); font-weight: 700; }
.num, table, .price, .price-tag { font-variant-numeric: tabular-nums; }
.lead { font-size: var(--fs-md); line-height: 1.55; color: var(--steel); max-width: 64ch; }
.muted { color: var(--steel); }
.small { font-size: var(--fs-sm); }
.measure { max-width: 68ch; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--white); padding: 10px 14px; border-radius: var(--radius); z-index: 100; }
.skip-link:focus { top: 12px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 1120px; }
.section { padding: clamp(40px, 5vw, 72px) 0; }
.section-tight { padding: clamp(24px, 3vw, 40px) 0; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 24px; margin-bottom: 20px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--steel); }
.section-head a { font-weight: 700; }
.bg-white { background: var(--white); }
.bg-ink { background: var(--ink); color: var(--white); }
.bg-ink .muted, .bg-ink .lead { color: var(--on-dark); }
.bg-ink a:not(.btn) { color: #C9BEFF; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-align: center;
  min-height: 44px; padding: 10px 20px;
  font: 700 var(--fs-base)/1.1 var(--body);
  border-radius: var(--radius); border: 1px solid var(--photon);
  background: var(--photon); color: var(--white); text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn:hover { background: var(--photon-hover); border-color: var(--photon-hover); color: var(--white); text-decoration: none; }
.btn-secondary { background: var(--white); color: var(--ink); border-color: var(--rule-strong); }
.btn-secondary:hover { background: var(--white); color: var(--ink); border-color: var(--ink); }
.btn-ink { background: var(--ink); border-color: var(--ink); }
.btn-ink:hover { background: var(--ink-3); border-color: var(--ink-3); }
.btn-light { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-light:hover { background: #E6E3FF; border-color: #E6E3FF; color: var(--ink); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn-outline-light:hover { background: rgba(255,255,255,.1); border-color: var(--white); color: var(--white); }
.btn-small { min-height: 34px; padding: 6px 12px; font-size: var(--fs-sm); }
.btn-large { min-height: 50px; font-size: var(--fs-md); }
.btn-block { width: 100%; }
.btn-danger { background: transparent; border-color: var(--danger); color: var(--danger); }
.btn-danger:hover { background: var(--danger); color: var(--white); border-color: var(--danger); }
.btn[disabled], .btn.is-busy { opacity: .6; cursor: progress; }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: var(--photon); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- prices ---------- */
.price { font-weight: 700; white-space: nowrap; }
.price .p-cur { font-size: .58em; vertical-align: .62em; margin-right: .04em; font-weight: 700; }
.price .p-frac { font-size: .58em; vertical-align: .62em; margin-left: .06em; font-weight: 700; }
.was { color: var(--steel); font-size: var(--fs-sm); font-weight: 400; }
.sale-tag { display: inline-block; background: var(--ember); color: var(--ink); font-weight: 700; font-size: var(--fs-xs); line-height: 1; padding: 4px 6px; border-radius: var(--radius-s); font-variant-numeric: tabular-nums; }

/* ---------- header ---------- */
.announcement { background: var(--ink-deep); color: var(--white); text-align: center; font-size: var(--fs-sm); padding: 8px var(--gutter); }
.site-header { background: var(--ink); color: var(--white); position: relative; z-index: 40; }
.utility-bar { background: var(--ink-deep); font-size: var(--fs-xs); color: var(--on-dark-2); }
.utility-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 32px; }
.utility-points, .utility-links { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.utility-points li + li::before { content: ""; display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: var(--steel-light); vertical-align: middle; margin: 0 22px 0 -22px; opacity: 0; }
.utility-bar a { color: var(--on-dark); text-decoration: none; }
.utility-bar a:hover { color: var(--white); text-decoration: underline; }
.header-main { border-bottom: 1px solid rgba(255,255,255,.08); }
.header-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 24px; min-height: 68px; }
.menu-btn { display: none; }
.brand { display: block; color: var(--white); }
.brand img { height: 30px; width: auto; }
.search { display: flex; align-items: stretch; height: 44px; border-radius: var(--radius); background: var(--white); overflow: hidden; max-width: 860px; width: 100%; justify-self: center; box-shadow: 0 0 0 1px rgba(255,255,255,.08); }
.search:focus-within { box-shadow: 0 0 0 3px #8F7BFF; }
.search-dept { flex: 0 0 auto; width: auto; max-width: 172px; min-height: 0; height: 100%; border: 0; border-right: 1px solid var(--rule); border-radius: 0; background-color: var(--panel); font-size: var(--fs-sm); color: var(--ink); padding: 0 30px 0 12px; background-position: right 11px center; }
.search-q { flex: 1; min-width: 0; border: 0 !important; border-radius: 0 !important; height: 100%; min-height: 0 !important; padding: 0 14px !important; font-size: var(--fs-base); box-shadow: none !important; }
.search-q::-webkit-search-cancel-button { cursor: pointer; }
.search-go { flex: 0 0 54px; border: 0; background: var(--photon); color: var(--white); cursor: pointer; display: grid; place-items: center; }
.search-go:hover { background: var(--photon-hover); }
.search-go svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.search-dept:focus, .search-q:focus { box-shadow: none !important; outline: none; }
.header-tools { display: flex; align-items: center; gap: 4px; }
.tool { display: flex; flex-direction: column; justify-content: center; padding: 6px 10px; min-height: 52px; color: var(--white); text-decoration: none; border-radius: var(--radius); border: 1px solid transparent; cursor: pointer; line-height: 1.2; }
.tool:hover { border-color: rgba(255,255,255,.35); color: var(--white); text-decoration: none; }
.tool-small { font-size: var(--fs-xs); color: var(--on-dark); white-space: nowrap; }
.tool-big { font-size: var(--fs-sm); font-weight: 700; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
.caret { width: 10px; height: 8px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.acct { position: relative; }
.acct summary { list-style: none; }
.acct summary::-webkit-details-marker { display: none; }
.acct-panel { position: absolute; right: 0; top: calc(100% + 6px); width: 248px; background: var(--white); color: var(--ink); border: 1px solid var(--rule-strong); border-radius: var(--radius-l); padding: 14px; display: grid; gap: 2px; box-shadow: 0 16px 40px rgba(19,18,48,.18); z-index: 60; }
.acct-panel a:not(.btn), .acct-panel button { display: block; padding: 8px 10px; border-radius: var(--radius); color: var(--ink); text-decoration: none; font: inherit; font-size: var(--fs-sm); background: none; border: 0; text-align: left; width: 100%; cursor: pointer; }
.acct-panel a:not(.btn):hover, .acct-panel button:hover { background: var(--paper); }
.acct-panel .btn { margin-bottom: 4px; }
.acct-panel p { margin: 4px 10px 8px; color: var(--steel); }
.acct-panel p a { display: inline !important; padding: 0 !important; color: var(--photon) !important; text-decoration: underline !important; }
.tool-cart { flex-direction: row; align-items: flex-end; gap: 6px; }
.cart-icon { position: relative; display: block; width: 36px; height: 30px; }
.cart-icon svg { width: 36px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.cart-count { position: absolute; left: 16px; top: -4px; transform: translateX(-50%); min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--ember); color: var(--ink); font-size: 12px; font-weight: 700; display: grid; place-items: center; font-variant-numeric: tabular-nums; }

.dept-bar { background: var(--ink-2); position: relative; }
.dept-row { display: flex; align-items: center; gap: 4px; min-height: 42px; }
.all-depts { display: inline-flex; align-items: center; gap: 8px; color: var(--white); font-weight: 700; font-size: var(--fs-sm); text-decoration: none; padding: 7px 12px 7px 8px; border-radius: var(--radius); border: 1px solid transparent; white-space: nowrap; }
.all-depts svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.all-depts:hover, .all-depts[aria-expanded="true"] { color: var(--white); border-color: rgba(255,255,255,.35); text-decoration: none; }
.dept-links, .dept-extra { display: flex; list-style: none; margin: 0; padding: 0; gap: 2px; }
.dept-links { flex: 1; min-width: 0; overflow: hidden; flex-wrap: wrap; height: 34px; }
.dept-links a, .dept-extra a { display: block; color: var(--on-dark); text-decoration: none; font-size: var(--fs-sm); padding: 7px 10px; border-radius: var(--radius); border: 1px solid transparent; white-space: nowrap; line-height: 1.3; }
.dept-links a:hover, .dept-extra a:hover { color: var(--white); border-color: rgba(255,255,255,.3); }
.dept-links a[aria-current="page"], .dept-extra a[aria-current="page"] { color: var(--white); border-color: rgba(255,255,255,.3); }
.dept-extra { padding-left: 10px; border-left: 1px solid rgba(255,255,255,.14); }
.dept-extra a { color: var(--white); font-weight: 700; }

.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); color: var(--ink); border-bottom: 1px solid var(--rule-strong); box-shadow: 0 24px 48px rgba(19,18,48,.18); max-height: calc(100vh - 160px); overflow: auto; }
.mega-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 32px; padding: 28px 0 32px; }
.mega-col h2 { font-family: var(--body); font-size: var(--fs-base); line-height: 1.3; margin: 0 0 8px; }
.mega-col h2 a { color: var(--ink); text-decoration: none; }
.mega-col h2 a:hover { color: var(--photon); text-decoration: underline; }
.mega-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.mega-col li a { color: var(--steel); text-decoration: none; font-size: var(--fs-sm); }
.mega-col li a:hover { color: var(--photon); text-decoration: underline; }
.mega-col .mega-all { color: var(--photon); font-weight: 700; }
.mega-side { background: var(--paper); border-radius: var(--radius-l); padding: 18px; align-self: start; }
.mega-side p { color: var(--steel); font-size: var(--fs-sm); margin: 0 0 12px; }
.mega-side .small { margin: 12px 0 0; }

.drawer { position: fixed; inset: 0; z-index: 90; background: rgba(19,18,48,.55); }
.drawer-panel { position: absolute; top: 0; left: 0; bottom: 0; width: min(340px, 88vw); background: var(--white); color: var(--ink); overflow-y: auto; padding: 0 0 32px; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--ink); color: var(--white); padding: 14px 16px; position: sticky; top: 0; }
.drawer-head p { margin: 0; font-weight: 700; }
.drawer-head a { color: var(--white); }
.drawer-close { background: none; border: 0; color: var(--white); padding: 6px; cursor: pointer; }
.drawer-close svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.drawer-panel h2 { font-family: var(--body); font-size: var(--fs-md); margin: 20px 16px 6px; }
.drawer-panel ul { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--rule); }
.drawer-panel li a { display: block; padding: 11px 16px; color: var(--ink); text-decoration: none; }
.drawer-panel li a:hover { background: var(--paper); }

@media (max-width: 1180px) {
  .u-wide, .tool-orders { display: none; }
  .header-row { gap: 16px; }
}
@media (max-width: 900px) {
  .utility-bar { display: none; }
  .header-row { grid-template-columns: auto auto 1fr auto; grid-template-areas: "menu brand . tools" "search search search search"; gap: 4px 8px; padding-top: 6px; padding-bottom: 10px; min-height: 0; }
  .menu-btn { grid-area: menu; display: grid; place-items: center; width: 40px; height: 40px; margin-left: -8px; background: none; border: 0; color: var(--white); cursor: pointer; border-radius: var(--radius); }
  .menu-btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
  .brand { grid-area: brand; }
  .brand img { height: 22px; }
  .header-tools { grid-area: tools; }
  .search { grid-area: search; height: 42px; max-width: none; }
  .search-dept { display: none; }
  .tool { min-height: 40px; padding: 4px 6px; }
  .acct .tool-small { display: none; }
  .tool-cart .tool-big { display: none; }
  .dept-row { min-height: 40px; overflow-x: auto; scrollbar-width: none; }
  .dept-row::-webkit-scrollbar { display: none; }
  .dept-links { flex: none; overflow: visible; flex-wrap: nowrap; height: auto; }
  .all-depts { display: none; }
  .dept-extra { order: -1; padding: 0 8px 0 0; border: 0; margin-right: 6px; border-right: 1px solid rgba(255,255,255,.14); }
  .mega { display: none !important; }
}
@media (max-width: 420px) {
  .acct .tool-big { font-size: var(--fs-xs); }
}

/* ---------- sale bar ---------- */
.sale-bar { background: var(--ember-tint); border-bottom: 1px solid #F8D3C0; font-size: var(--fs-sm); }
.sale-row { display: flex; align-items: center; gap: 8px 20px; min-height: 40px; flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; }
.sale-row p { margin: 0; }
.sale-msg { flex: 1; min-width: 0; }
.sale-msg .sale-tag { margin-right: 6px; vertical-align: 1px; }
.sale-clock { color: var(--ink); white-space: nowrap; }
.countdown { font-weight: 700; font-variant-numeric: tabular-nums; }
.sale-link { font-weight: 700; color: var(--ink); white-space: nowrap; }
.sale-link:hover { color: var(--ink); }
@media (max-width: 640px) {
  .sale-row { gap: 2px 12px; font-size: var(--fs-xs); }
  .sale-msg { flex-basis: 100%; }
}

/* ---------- notices & badges ---------- */
.flashes { padding-top: 16px; }
.notice { border-radius: var(--radius); padding: 12px 16px; margin: 0 0 12px; border: 1px solid; }
.notice-success { background: var(--ok-tint); border-color: #A9DCC6; color: #0F4F36; }
.notice-error { background: var(--danger-tint); border-color: #F3B9B3; color: #7A1A12; }
.notice-info { background: var(--photon-tint); border-color: #CFC6FD; color: #2C1D86; }
.notice-wait { background: var(--wait-tint); border-color: #F1D497; color: #5C3800; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.badge-good { background: var(--ok-tint); color: var(--ok); }
.badge-wait { background: var(--wait-tint); color: var(--wait); }
.badge-info { background: var(--photon-tint); color: var(--photon-ink); }
.badge-muted { background: var(--panel); color: var(--steel); }

/* ---------- product cards ---------- */
.card { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-l); overflow: hidden; transition: border-color .15s; }
.card:hover { border-color: var(--rule-strong); }
.card-media { position: relative; display: block; aspect-ratio: 1 / 1; background: var(--stage); overflow: hidden; }
.card-img { width: 100%; height: 100%; object-fit: cover; }
.card-img-alt { position: absolute; inset: 0; opacity: 0; transition: opacity .25s ease; }
@media (hover: hover) and (pointer: fine) { .card:hover .card-img-alt { opacity: 1; } }
.card-flag { position: absolute; left: 10px; top: 10px; background: var(--ember); color: var(--ink); font-weight: 700; font-size: var(--fs-xs); line-height: 1; padding: 5px 7px; border-radius: var(--radius-s); font-variant-numeric: tabular-nums; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 12px 14px 14px; }
.card-title { font-size: var(--fs-base); line-height: 1.3; margin: 0 0 4px; }
.card-title a { color: var(--ink); text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-title a:hover { color: var(--photon); text-decoration: underline; }
.card:focus-within { border-color: var(--photon); }
.card-sub { font-size: var(--fs-sm); line-height: 1.45; color: var(--steel); margin: 0 0 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-price { margin: auto 0 6px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; }
.card-price .price { font-size: 1.375rem; line-height: 1.1; }
.card-price .from { font-size: var(--fs-sm); color: var(--steel); }
.card-price .per { font-size: var(--fs-sm); color: var(--steel); }
.card-badges { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; padding: 0; margin: 0 0 6px; }
.card-badges li { font-size: 12px; color: var(--steel); border: 1px solid var(--rule); padding: 1px 6px; border-radius: var(--radius-s); line-height: 1.5; }
.card-ship { font-size: var(--fs-xs); color: var(--steel); margin: 0 0 10px; }
.card-cta { position: relative; z-index: 2; align-self: flex-start; font-size: var(--fs-sm); font-weight: 700; color: var(--ink); text-decoration: none; border: 1px solid var(--rule-strong); border-radius: var(--radius); padding: 6px 12px; background: var(--white); }
.card-cta:hover { border-color: var(--ink); color: var(--ink); text-decoration: none; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 16px; }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1200px) { .grid-5 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1000px) { .grid-4, .grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .grid, .grid-4, .grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card-body { padding: 10px 10px 12px; }
  .card-title { font-size: var(--fs-sm); }
  .card-sub { display: none; }
  .card-price .price { font-size: 1.2rem; }
  .card-price .per { display: none; }
  .card-badges li + li { display: none; }
  .card-cta { display: none; }
}

/* horizontal product rows */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(208px, calc((100% - 5 * 16px) / 6)); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; }
@media (max-width: 1100px) { .rail { grid-auto-columns: minmax(200px, calc((100% - 3 * 16px) / 4)); } }
@media (max-width: 720px) { .rail { grid-auto-columns: 44%; gap: 10px; } }
.rail-section { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-xl); padding: 20px; }
.rail-section .section-head { margin-bottom: 14px; }
.rail-section .section-head h2 { font-size: var(--fs-xl); }
.rail-section .card { border-color: transparent; }
.rail-section .card:hover { border-color: var(--rule); }
.rail-section .card-media { border-radius: var(--radius-l); }
.rail-section .card-body { padding: 10px 2px 4px; }
.card-compact .card-title { -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.card-compact .card-price { margin-top: 4px; }

/* ---------- forms ---------- */
.form-card { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-xl); padding: clamp(18px, 3vw, 28px); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { margin: 0 0 16px; }
.field > label, .label { display: block; font-weight: 700; margin-bottom: 6px; font-size: var(--fs-sm); }
.field > label.check { display: flex; font-weight: 400; font-size: var(--fs-base); margin: 0; min-height: 46px; align-items: center; }
.field > label.check input { margin-top: 0; }
.field .hint { display: block; font-size: var(--fs-sm); color: var(--steel); margin: -2px 0 6px; font-weight: 400; }
.input, input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="number"], input[type="url"], input[type="date"], input[type="search"], select, textarea {
  width: 100%; min-height: 44px; padding: 9px 12px;
  font: inherit; font-size: var(--fs-base); color: var(--ink); background: var(--white);
  border: 1px solid var(--rule-strong); border-radius: var(--radius);
}
textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231B1A3A' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--photon); box-shadow: 0 0 0 3px rgba(91,61,245,.22); }
[aria-invalid="true"] { border-color: var(--danger) !important; }
.field-error { color: var(--danger); font-size: var(--fs-sm); margin: 6px 0 0; font-weight: 700; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 12px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--photon); flex-shrink: 0; }
.radio-cards { display: grid; gap: 10px; }
.radio-card { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--rule-strong); border-radius: var(--radius-l); background: var(--white); cursor: pointer; }
.radio-card input { margin-top: 3px; accent-color: var(--photon); width: 18px; height: 18px; flex-shrink: 0; }
.radio-card:has(input:checked) { border-color: var(--photon); box-shadow: inset 0 0 0 1px var(--photon); background: #FAF9FF; }
.radio-card strong { display: block; }
.radio-card span { color: var(--steel); font-size: var(--fs-sm); }
.radio-card .rc-price { margin-left: auto; font-weight: 700; color: var(--ink); font-size: var(--fs-base); white-space: nowrap; }
.dropzone { border: 1px dashed var(--rule-strong); border-radius: var(--radius-l); padding: 18px; text-align: center; background: var(--paper); position: relative; }
.dropzone.is-over { border-color: var(--photon); background: var(--photon-tint); }
.dropzone input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.dropzone strong { display: block; }
.dropzone .muted { font-size: var(--fs-sm); }
.dropzone:focus-within { border-color: var(--photon); box-shadow: 0 0 0 3px rgba(91,61,245,.22); }
.file-list { list-style: none; padding: 0; margin: 10px 0 0; text-align: left; font-size: var(--fs-sm); }
.file-list li { padding: 6px 0; border-top: 1px solid var(--rule); overflow-wrap: anywhere; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.input-prefix { display: flex; align-items: stretch; }
.input-prefix > span { display: grid; place-items: center; padding: 0 12px; background: var(--panel); border: 1px solid var(--rule-strong); border-right: 0; border-radius: var(--radius) 0 0 var(--radius); color: var(--steel); font-size: var(--fs-sm); white-space: nowrap; }
.input-prefix input { border-radius: 0 var(--radius) var(--radius) 0; }

/* ---------- tables & lists ---------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th, .data-table td { text-align: left; padding: 11px 12px 11px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.data-table th { font-size: var(--fs-sm); color: var(--steel); }
.data-table td.r, .data-table th.r { text-align: right; padding-right: 0; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.spec-table thead th { font-size: var(--fs-sm); color: var(--steel); font-weight: 700; border-bottom: 1px solid var(--rule-strong); }
.spec-table .wl { font-family: var(--display); font-size: 1.5rem; line-height: 1; white-space: nowrap; }
.spec-table .model { display: block; font-size: var(--fs-sm); color: var(--steel); font-weight: 400; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0; }
.kv dt { color: var(--steel); }
.kv dd { margin: 0; }
.detail-list { margin: 0; font-size: var(--fs-sm); color: var(--steel); }
.detail-list div { display: flex; gap: 6px; }
.detail-list dt { font-weight: 700; color: var(--ink); flex-shrink: 0; }
.detail-list dt::after { content: ":"; }
.detail-list dd { margin: 0; overflow-wrap: anywhere; }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { position: relative; padding: 0 0 16px 24px; }
.timeline li::before { content: ""; position: absolute; left: 4px; top: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--photon); }
.timeline li::after { content: ""; position: absolute; left: 8px; top: 20px; bottom: 0; width: 1px; background: var(--rule-strong); }
.timeline li:last-child::after { display: none; }
.timeline time { display: block; font-size: var(--fs-sm); color: var(--steel); }
.check-list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; }
.check-list li { padding-left: 26px; position: relative; }
.check-list li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 2px solid var(--photon); border-bottom: 2px solid var(--photon); transform: rotate(-45deg); }
.panel { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-xl); padding: clamp(18px, 2.4vw, 24px); margin-bottom: 20px; }
.panel h2 { font-size: var(--fs-xl); margin: 0 0 14px; }
.panel h3 { margin-top: 0; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.filter-bar a { display: inline-block; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--rule-strong); color: var(--ink); text-decoration: none; font-weight: 700; font-size: var(--fs-sm); background: var(--white); }
.filter-bar a:hover { border-color: var(--ink); }
.filter-bar a[aria-current="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* ---------- page heads & crumbs ---------- */
.page-head { padding: clamp(24px, 3.5vw, 44px) 0 clamp(16px, 2.5vw, 28px); }
.page-head h1 { max-width: 22ch; margin-bottom: 10px; }
.page-head .lead { margin-bottom: 0; }
.crumbs { font-size: var(--fs-sm); color: var(--steel); margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; list-style: none; }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--steel-light); }
.crumbs a { color: var(--steel); }
.crumbs a:hover { color: var(--photon); }

/* ---------- home ---------- */
.hero { padding: clamp(16px, 2.4vw, 28px) 0 8px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.38fr); gap: 16px; align-items: stretch; }
.hero-copy { background: var(--ink); color: var(--white); border-radius: var(--radius-xl); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.hero-copy h1 { font-size: clamp(2.75rem, 1.5rem + 3.3vw, 4.6rem); line-height: .9; margin: 0 0 16px; max-width: 9ch; }
.hero-copy p { color: var(--on-dark); font-size: var(--fs-md); max-width: 42ch; margin: 0 0 22px; }
.hero-copy .actions .btn-light { color: var(--ink); }
.hero-facts { list-style: none; padding: 18px 0 0; margin: 0; border-top: 1px solid rgba(255,255,255,.14); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; font-size: var(--fs-sm); color: var(--on-dark-2); }
.hero-facts strong { display: block; color: var(--white); font-size: var(--fs-sm); margin-bottom: 2px; }
.hero-mosaic { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: 1fr 1fr; gap: 16px; }
.mosaic-tile { position: relative; display: block; border-radius: var(--radius-xl); overflow: hidden; background: var(--stage); color: var(--ink); text-decoration: none; min-height: 220px; border: 1px solid var(--rule); }
.mosaic-tile:first-child { grid-column: span 2; grid-row: span 2; }
.mosaic-tile:nth-child(n+4) { display: none; }
.mosaic-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.mosaic-tile:hover img { transform: scale(1.03); }
.mosaic-label { position: absolute; left: 12px; right: 12px; bottom: 12px; background: rgba(255,255,255,.95); border-radius: var(--radius-l); padding: 10px 12px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.mosaic-label strong { font-size: var(--fs-sm); line-height: 1.25; }
.mosaic-label .price { font-size: var(--fs-md); }
.mosaic-tile:first-child .mosaic-label { left: 16px; right: auto; bottom: 16px; padding: 12px 16px; gap: 16px; }
.mosaic-tile:first-child .mosaic-label strong { font-size: var(--fs-base); }
.mosaic-tile:hover .mosaic-label strong { color: var(--photon); text-decoration: underline; }
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy h1 { max-width: 14ch; }
  .hero-mosaic { grid-template-rows: auto; }
  .mosaic-tile { min-height: 0; aspect-ratio: 1 / 1; }
}
@media (max-width: 720px) {
  .hero-mosaic { grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero-facts { grid-template-columns: 1fr; gap: 10px; }
  /* Small screens: the label sits under the photo instead of covering it. */
  .mosaic-tile { display: flex; flex-direction: column; aspect-ratio: auto; background: var(--white); }
  .mosaic-tile img { position: static; display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; background: var(--stage); }
  .mosaic-tile:first-child { grid-column: span 2; grid-row: auto; }
  .mosaic-tile:first-child img { aspect-ratio: 4 / 3; }
  .mosaic-label, .mosaic-tile:first-child .mosaic-label { position: static; border-radius: 0; background: var(--white); border-top: 1px solid var(--rule); padding: 9px 11px; flex-direction: column; gap: 0; flex: 1; }
  .mosaic-tile:first-child .mosaic-label { flex-direction: row; justify-content: space-between; align-items: baseline; gap: 12px; padding: 11px 14px; }
}
.deals-tile figure { display: grid; place-items: center; background: var(--ember-tint); }
.deals-tile figure span { font-family: var(--display); font-weight: 700; font-size: clamp(2.2rem, 4vw, 3.4rem); color: var(--ink); line-height: 1; padding: 0; }

.dept-tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.dept-tile { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-l); overflow: hidden; color: var(--ink); text-decoration: none; }
.dept-tile:hover { border-color: var(--rule-strong); color: var(--ink); text-decoration: none; }
.dept-tile figure { margin: 0; aspect-ratio: 1 / 1; background: var(--stage); overflow: hidden; }
.dept-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.dept-tile:hover img { transform: scale(1.04); }
.dept-tile span { padding: 10px 12px 12px; font-weight: 700; font-size: var(--fs-sm); line-height: 1.3; }
.dept-tile:hover span { color: var(--photon); text-decoration: underline; }
@media (max-width: 1100px) { .dept-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 720px) { .dept-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } .dept-tile span { padding: 8px; font-size: var(--fs-xs); } }

.demo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: clamp(20px, 4vw, 64px); align-items: center; background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-xl); padding: clamp(20px, 3vw, 40px); }
.demo h2 { font-size: var(--fs-3xl); margin-bottom: 12px; }
.demo-copy p { color: var(--steel); max-width: 46ch; }
.demo-choices { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 14px; padding: 0; list-style: none; }
.demo-choice { font: inherit; font-size: var(--fs-sm); font-weight: 700; padding: 8px 12px; border-radius: var(--radius); border: 1px solid var(--rule-strong); background: var(--white); color: var(--ink); cursor: pointer; }
.demo-choice[aria-pressed="true"] { border-color: var(--photon); box-shadow: inset 0 0 0 1px var(--photon); background: var(--photon-tint); color: var(--photon-ink); }
.demo-input { display: flex; gap: 8px; max-width: 460px; }
.demo-input .btn { white-space: nowrap; flex-shrink: 0; }
.demo-input input { font-size: var(--fs-md); }
.demo-stage { position: relative; background: var(--stage); border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 1 / 1; justify-self: end; width: 100%; max-width: 520px; }
.demo-stage canvas { width: 100%; height: 100%; }
.demo-foot { display: flex; gap: 12px; align-items: center; margin-top: 16px; flex-wrap: wrap; font-size: var(--fs-sm); color: var(--steel); }
@media (max-width: 900px) { .demo { grid-template-columns: 1fr; } .demo-stage { max-width: 520px; } }

.biz-band { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 0; background: var(--ink); color: var(--white); border-radius: var(--radius-xl); overflow: hidden; }
.biz-copy { padding: clamp(24px, 4vw, 48px); }
.biz-copy h2 { font-size: var(--fs-2xl); line-height: 1; margin-bottom: 14px; max-width: 18ch; }
.biz-copy p { color: var(--on-dark); max-width: 52ch; }
.biz-points { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr; border-left: 1px solid rgba(255,255,255,.12); }
.biz-points li { padding: 22px clamp(20px, 3vw, 36px); border-bottom: 1px solid rgba(255,255,255,.12); color: var(--on-dark); font-size: var(--fs-sm); }
.biz-points li:last-child { border-bottom: 0; }
.biz-points strong { display: block; color: var(--white); font-size: var(--fs-md); margin-bottom: 4px; }
@media (max-width: 900px) { .biz-band { grid-template-columns: 1fr; } .biz-points { border-left: 0; border-top: 1px solid rgba(255,255,255,.12); } }

/* material → wavelength matcher (capabilities page) */
.matcher { background: var(--ink); color: var(--white); border-radius: var(--radius-xl); padding: clamp(20px, 3vw, 32px); }
.matcher-q { font-family: var(--display); font-size: var(--fs-xl); margin: 0 0 14px; line-height: 1; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; padding: 0; list-style: none; }
.chip { font: 700 var(--fs-sm)/1 var(--body); padding: 10px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.28); background: transparent; color: var(--white); cursor: pointer; min-height: 40px; }
.chip:hover { border-color: var(--white); }
.chip[aria-pressed="true"] { background: var(--white); color: var(--ink); border-color: var(--white); }
.ruler { position: relative; margin: 36px 0 8px; height: 96px; }
.ruler-track { position: absolute; left: 0; right: 0; top: 46px; height: 2px; background: rgba(255,255,255,.22); }
.ruler-visible { position: absolute; top: 40px; height: 14px; border-radius: 2px; background: linear-gradient(90deg, #7B2CF5, #2F6BFF 22%, #18B6A4 42%, #8BD13A 55%, #FFC23A 70%, #FF6A2B 86%, #D6285A); opacity: .9; }
.ruler-visible-label { position: absolute; top: 20px; font-size: 12px; color: var(--on-dark-2); white-space: nowrap; transform: translateX(-50%); }
.marker { position: absolute; top: 0; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; color: var(--on-dark); }
.marker .m-label { font-size: 12px; line-height: 1.2; white-space: nowrap; text-align: center; }
.marker .m-label b { display: block; color: var(--white); font-size: 13px; }
.marker .m-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--ink-2); border: 2px solid #8E90B4; margin-top: 5px; transition: transform .2s, background .2s, box-shadow .2s; }
.marker.low { top: 40px; flex-direction: column-reverse; }
.marker.low .m-dot { margin: 0 0 5px; }
.marker.is-active .m-dot { background: var(--ember); border-color: var(--ember); box-shadow: 0 0 0 6px rgba(255,106,43,.25), 0 0 22px 6px rgba(255,106,43,.45); transform: scale(1.15); }
.marker.is-active .m-label b { color: #FFB38F; }
.readout { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 32px; align-items: end; border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; margin-top: 20px; }
.readout h3 { margin: 0 0 6px; font-size: var(--fs-lg); }
.readout h3 span { color: #FFB38F; font-weight: 400; }
.readout p { margin: 0 0 6px; color: var(--on-dark); max-width: 64ch; }
.readout .examples { font-size: var(--fs-sm); color: var(--on-dark-2); margin: 0; }
@media (max-width: 720px) { .readout { grid-template-columns: 1fr; } .ruler { height: 112px; } .ruler-visible-label { display: none; } .marker .m-label { font-size: 11px; } }

/* steps (a real sequence) */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 2px solid var(--ink); padding-top: 14px; }
.steps li::before { content: counter(step); font-family: var(--display); font-size: 2.4rem; line-height: 1; display: block; margin-bottom: 8px; color: var(--photon); }
.steps h3 { margin: 0 0 6px; font-size: var(--fs-base); }
.steps p { margin: 0; color: var(--steel); font-size: var(--fs-sm); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.split-img { border-radius: var(--radius-xl); overflow: hidden; background: var(--stage); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ---------- listing ---------- */
.listing { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 28px; align-items: start; padding-bottom: 56px; }
.listing-head { padding: 22px 0 14px; }
.listing-head h1 { font-size: var(--fs-3xl); margin: 0 0 6px; }
.listing-head p { color: var(--steel); margin: 0; max-width: 70ch; }
.filters { position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow-y: auto; padding-right: 4px; font-size: var(--fs-sm); }
.filters-head { display: none; }
.filter-group { border-bottom: 1px solid var(--rule); padding: 14px 0; margin: 0; border-top: 0; border-left: 0; border-right: 0; }
.filter-group:first-of-type { padding-top: 0; }
.filter-group legend, .filter-group h2 { font-family: var(--body); font-size: var(--fs-sm); font-weight: 700; margin: 0 0 8px; padding: 0; float: left; width: 100%; }
.filter-group > :not(legend) { clear: both; }
.filter-group ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.filter-group a { color: var(--ink); text-decoration: none; display: flex; justify-content: space-between; gap: 8px; padding: 4px 0; }
.filter-group a:hover { color: var(--photon); text-decoration: underline; }
.filter-group a[aria-current="page"], .filter-group a.is-on { font-weight: 700; color: var(--photon); }
.filter-group .count { color: var(--steel); font-variant-numeric: tabular-nums; }
.filter-group .check { margin: 0; padding: 4px 0; font-size: var(--fs-sm); gap: 8px; }
.filter-group .check input { width: 16px; height: 16px; margin-top: 2px; }
.price-range { display: grid; grid-template-columns: 1fr auto 1fr; gap: 6px; align-items: center; clear: both; }
.price-range input { min-height: 36px; padding: 6px 8px; font-size: var(--fs-sm); }
.filters-apply { margin-top: 14px; }
.filters .clear { display: inline-block; margin-top: 10px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 0 14px; flex-wrap: wrap; }
.toolbar .result-count { margin: 0; color: var(--steel); font-size: var(--fs-sm); }
.toolbar .result-count strong { color: var(--ink); }
.toolbar form { display: flex; align-items: center; gap: 8px; }
.toolbar label { font-size: var(--fs-sm); color: var(--steel); white-space: nowrap; }
.toolbar select { min-height: 38px; width: auto; font-size: var(--fs-sm); padding: 6px 34px 6px 10px; }
.filter-open { display: none; }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 14px; }
.active-filters a { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-sm); padding: 4px 10px; border-radius: 999px; background: var(--white); border: 1px solid var(--rule-strong); color: var(--ink); text-decoration: none; }
.active-filters a::after { content: "×"; color: var(--steel); font-size: 1.1em; line-height: 1; }
.active-filters a:hover { border-color: var(--ink); }
.empty-results { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-xl); padding: 40px 24px; text-align: center; }
.empty-results h2 { font-size: var(--fs-2xl); }
.dept-intro { display: flex; gap: 10px; flex-wrap: wrap; margin: 12px 0 0; padding: 0; list-style: none; }
@media (max-width: 900px) {
  .listing { grid-template-columns: 1fr; }
  .filter-open { display: inline-flex; }
  .filters { position: fixed; inset: 0; z-index: 95; max-height: none; background: rgba(19,18,48,.55); padding: 0; display: none; }
  .filters.is-open { display: block; }
  .filters-panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(360px, 90vw); background: var(--white); overflow-y: auto; padding: 0 18px 24px; }
  .filters-head { display: flex; position: sticky; top: 0; background: var(--white); justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--rule); margin-bottom: 14px; z-index: 2; }
  .filters-head h2 { font-family: var(--body); font-size: var(--fs-md); margin: 0; }
  .toolbar form { flex: 1; justify-content: flex-end; }
}

/* ---------- product page ---------- */
.pdp { padding-top: 14px; padding-bottom: 32px; }
.pdp-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.98fr) 300px; gap: 28px; align-items: start; }
.pdp-gallery { position: sticky; top: 14px; display: grid; grid-template-columns: 68px minmax(0, 1fr); gap: 12px; }
.thumbs { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; align-content: start; }
.thumb { display: block; width: 68px; padding: 0; border: 1px solid var(--rule-strong); border-radius: var(--radius); background: var(--stage); overflow: hidden; cursor: pointer; position: relative; }
.thumb img, .thumb canvas { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.thumb[aria-pressed="true"] { border-color: var(--photon); box-shadow: 0 0 0 2px var(--photon); }
.thumb:hover { border-color: var(--ink); }
.thumb-label { display: block; font-size: 11px; font-weight: 700; line-height: 1.1; padding: 4px 2px; background: var(--white); color: var(--ink); text-align: center; border-top: 1px solid var(--rule); }
.stage { position: relative; background: var(--stage); border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 1 / 1; border: 1px solid var(--rule); }
.stage-view { position: absolute; inset: 0; }
.stage-preview canvas { width: 100%; height: 100%; }
.stage-badge { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.92); border: 1px solid var(--rule); border-radius: 999px; padding: 4px 10px 4px 8px; font-size: var(--fs-xs); font-weight: 700; color: var(--ink); }
.stage-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--photon); box-shadow: 0 0 0 3px rgba(91,61,245,.2); }
.zoom { position: absolute; inset: 0; overflow: hidden; cursor: zoom-in; }
.zoom img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease; transform-origin: 50% 50%; }
.zoom.is-zoomed { cursor: zoom-out; }
.zoom.is-zoomed img { transform: scale(2.2); }
.stage-note { margin: 10px 0 0; font-size: var(--fs-sm); color: var(--steel); grid-column: 2; }
.pdp-info { min-width: 0; }
.pdp-dept { margin: 0 0 6px; font-size: var(--fs-sm); }
.pdp-dept a { color: var(--photon); text-decoration: none; }
.pdp-dept a:hover { text-decoration: underline; }
.pdp-info h1 { font-size: clamp(2.1rem, 1.6rem + 1.4vw, 2.85rem); line-height: .98; margin: 0 0 8px; }
.pdp-sub { color: var(--steel); font-size: var(--fs-md); margin: 0 0 12px; }
.pdp-badges { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 16px; }
.pdp-badges li { font-size: var(--fs-xs); font-weight: 700; padding: 3px 8px; border-radius: var(--radius-s); background: var(--white); border: 1px solid var(--rule-strong); color: var(--ink); }
.price-block { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 14px 0; margin: 0 0 18px; }
.price-now { display: flex; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
.price-now .sale-tag { font-size: var(--fs-sm); padding: 5px 7px; margin-top: 6px; }
.price-now .price { font-size: 2.25rem; line-height: 1; }
.price-now .per { align-self: flex-end; color: var(--steel); font-size: var(--fs-sm); padding-bottom: 4px; }
.price-was { margin: 6px 0 0; font-size: var(--fs-sm); color: var(--steel); }
.price-sale { margin: 4px 0 0; font-size: var(--fs-sm); }
.price-sale strong { font-weight: 700; }
.opt-group { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.opt-group legend { font-size: var(--fs-sm); font-weight: 700; padding: 0; margin-bottom: 8px; }
.opt-group legend span { font-weight: 400; color: var(--steel); }
.size-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 8px; }
.size-btn, .pill { position: relative; display: block; cursor: pointer; }
.size-btn input, .pill input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.size-btn > span { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 9px 11px; border: 1px solid var(--rule-strong); border-radius: var(--radius); background: var(--white); }
.size-name { font-weight: 700; font-size: var(--fs-sm); line-height: 1.25; }
.size-dims { font-size: var(--fs-xs); color: var(--steel); }
.size-price { font-size: var(--fs-sm); font-weight: 700; margin-top: 2px; font-variant-numeric: tabular-nums; }
.size-btn input:checked + span { border-color: var(--photon); box-shadow: inset 0 0 0 1px var(--photon); background: #FAF9FF; }
.size-btn input:focus-visible + span, .pill input:focus-visible + span { outline: 3px solid var(--photon); outline-offset: 2px; }
.size-btn:hover > span, .pill:hover > span { border-color: var(--ink); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
/* Size levels: Small / Medium / Large tabs, recommended sizes and a custom size box */
.level-tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 6px; margin: 0 0 10px; padding: 4px; border-radius: 14px; background: rgba(255,255,255,.45); border: 1px solid var(--rule); }
.level-tab { position: relative; display: block; cursor: pointer; }
.level-tab input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.level-tab > span { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 8px 6px; border-radius: 10px; text-align: center; line-height: 1.2; }
.level-tab strong { font-size: var(--fs-sm); }
.level-tab small { font-size: var(--fs-xs); color: var(--steel); }
.level-tab input:checked + span { background: var(--ink); color: #fff; }
.level-tab input:checked + span small { color: rgba(255,255,255,.75); }
.level-tab input:focus-visible + span { outline: 3px solid var(--photon); outline-offset: 2px; }
.level-note { font-size: var(--fs-xs); color: var(--steel); margin: 0 0 8px; }
.size-btn-custom > span { border-style: dashed; }
.custom-size { margin: 10px 0 0; padding: 12px; border: 1px solid var(--rule-strong); border-radius: 12px; background: rgba(255,255,255,.7); }
.custom-size-row { display: flex; align-items: flex-end; gap: 10px; }
.custom-size-row label { flex: 1; min-width: 0; }
.custom-size-row label > span { display: block; font-size: var(--fs-sm); font-weight: 700; margin-bottom: 4px; }
.custom-size-row input { width: 100%; }
.custom-x { padding-bottom: 10px; font-weight: 700; color: var(--steel); }
.size-grid-custom { grid-template-columns: 1fr; margin: 0 0 10px; }
.size-more { margin: 10px 0 0; padding: 0; border: 0; background: none; color: var(--ink); font-weight: 700; font-size: var(--fs-sm); text-decoration: underline; cursor: pointer; }
.custom-size + .size-grid { margin-top: 10px; }
.custom-size-hint { font-size: var(--fs-xs); color: var(--steel); margin: 8px 0 0; }
.pill > span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--rule-strong); border-radius: var(--radius); background: var(--white); font-size: var(--fs-sm); line-height: 1.2; }
.pill small { color: var(--steel); font-size: var(--fs-xs); font-variant-numeric: tabular-nums; }
.pill input:checked + span { border-color: var(--photon); box-shadow: inset 0 0 0 1px var(--photon); background: #FAF9FF; font-weight: 700; }
.swatch { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(0,0,0,.18); flex-shrink: 0; position: relative; overflow: hidden; }
.swatch i { position: absolute; right: 0; bottom: 0; width: 50%; height: 50%; border-top-left-radius: 100%; }
.bulk { margin: 0 0 20px; }
.bulk h2 { font-family: var(--body); font-size: var(--fs-sm); margin: 0 0 8px; }
.bulk table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: var(--fs-sm); border: 1px solid var(--rule); border-radius: var(--radius-l); overflow: hidden; background: var(--white); }
.bulk th, .bulk td { padding: 7px 10px; text-align: left; border-bottom: 1px solid var(--rule); }
.bulk thead th { color: var(--steel); font-weight: 700; background: var(--paper); }
.bulk tr:last-child td { border-bottom: 0; }
.bulk td:last-child, .bulk th:last-child { text-align: right; }
.bulk tr.is-current td { background: var(--photon-tint); font-weight: 700; }
.bulk tr.is-current td:first-child { box-shadow: inset 3px 0 0 var(--photon); }
.bulk-note { font-size: var(--fs-xs); color: var(--steel); margin: 6px 0 0; }
.customize { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-xl); padding: 18px; margin: 0 0 24px; }
.customize-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.customize h2 { font-size: var(--fs-xl); margin: 0; }
.customize-head p { margin: 0; font-size: var(--fs-sm); color: var(--steel); }
.line-field { margin-bottom: 12px; }
.line-field label { display: flex; justify-content: space-between; gap: 8px; font-size: var(--fs-sm); font-weight: 700; margin-bottom: 5px; }
.line-field .counter { font-weight: 400; color: var(--steel); font-variant-numeric: tabular-nums; }
.line-field .counter.is-full { color: var(--danger); }
.font-pills .pill > span { font-size: var(--fs-base); }
.color-dots { display: flex; gap: 8px; flex-wrap: wrap; }
.color-dot { position: relative; }
.color-dot input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.color-dot span { display: block; width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(0,0,0,.2); box-shadow: inset 0 0 0 2px var(--white); }
.color-dot input:checked + span { outline: 2px solid var(--photon); outline-offset: 2px; }
.color-dot input:focus-visible + span { outline: 3px solid var(--photon); outline-offset: 3px; }
.upload-row { display: flex; align-items: center; gap: 12px; padding: 10px; border: 1px dashed var(--rule-strong); border-radius: var(--radius-l); background: var(--paper); position: relative; }
.upload-row:focus-within { border-color: var(--photon); }
.upload-row input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.upload-thumb { width: 48px; height: 48px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--rule); display: grid; place-items: center; overflow: hidden; flex-shrink: 0; }
.upload-thumb img { width: 100%; height: 100%; object-fit: contain; }
.upload-thumb svg { width: 22px; height: 22px; fill: none; stroke: var(--steel); stroke-width: 1.8; }
.upload-text { font-size: var(--fs-sm); line-height: 1.35; min-width: 0; }
.upload-text strong { display: block; }
.upload-text span { color: var(--steel); overflow-wrap: anywhere; }
.upload-clear { position: relative; z-index: 2; margin-left: auto; font-size: var(--fs-sm); }
.qr-row { display: grid; gap: 8px; }
.qr-msg { font-size: var(--fs-xs); color: var(--steel); margin: 0; }
.qr-msg.is-error { color: var(--danger); font-weight: 700; }
.mini-preview { display: none; }
.about-item h2, .pdp-section h2 { font-size: var(--fs-xl); margin: 0 0 10px; }
.about-item ul { padding-left: 1.1em; margin: 0; }
.about-item li { margin-bottom: 6px; }
.pdp-buy { position: sticky; top: 14px; }
.buybox { background: var(--white); border: 1px solid var(--rule-strong); border-radius: var(--radius-xl); padding: 18px; }
.buybox .price { font-size: 1.9rem; line-height: 1; }
.buybox-price { display: flex; align-items: flex-start; gap: 8px; flex-wrap: wrap; margin: 0 0 4px; }
.buybox-each { font-size: var(--fs-sm); color: var(--steel); margin: 0 0 12px; }
.buybox-each strong { color: var(--ink); }
.delivery { font-size: var(--fs-sm); margin: 0 0 14px; padding: 12px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.delivery p { margin: 0 0 4px; }
.delivery p:last-child { margin: 0; color: var(--steel); }
.delivery strong { font-weight: 700; }
.qty { margin: 0 0 12px; }
.qty label { display: block; font-size: var(--fs-sm); font-weight: 700; margin-bottom: 6px; }
.stepper { display: inline-grid; grid-template-columns: 40px 76px 40px; border: 1px solid var(--rule-strong); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.stepper button { border: 0; background: var(--paper); font-size: 1.25rem; line-height: 1; cursor: pointer; color: var(--ink); }
.stepper button:hover { background: var(--panel); }
.stepper input { border: 0 !important; border-radius: 0 !important; text-align: center; min-height: 40px !important; padding: 0 4px !important; -moz-appearance: textfield; font-variant-numeric: tabular-nums; box-shadow: none !important; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper:focus-within { border-color: var(--photon); box-shadow: 0 0 0 3px rgba(91,61,245,.22); }
.qty-note { font-size: var(--fs-xs); color: var(--steel); margin: 6px 0 0; }
.buy-actions { display: grid; gap: 8px; margin: 0 0 14px; }
.btn-buy-now { background: var(--ink); border-color: var(--ink); }
.btn-buy-now:hover { background: var(--ink-3); border-color: var(--ink-3); }
.buybox .biz-link { display: block; font-size: var(--fs-sm); padding: 10px 12px; border-radius: var(--radius); background: var(--paper); text-decoration: none; color: var(--ink); margin: 0 0 12px; }
.buybox .biz-link strong { color: var(--photon); }
.buybox .biz-link:hover strong { text-decoration: underline; }
.secure-note { display: flex; gap: 8px; align-items: center; font-size: var(--fs-xs); color: var(--steel); margin: 0; }
.secure-note svg { width: 15px; height: 15px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; }
.form-errors { margin: 0 0 12px; }
.pdp-details { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px 40px; padding: 32px 0 8px; border-top: 1px solid var(--rule); margin-top: 36px; }
.pdp-section { margin-bottom: 28px; }
.pdp-section .prose p { color: var(--ink); }
.specs { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-l); overflow: hidden; }
.specs th, .specs td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.specs th { width: 38%; background: var(--paper); font-weight: 700; }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }
.machines { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.machines li { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-l); padding: 12px 14px; font-size: var(--fs-sm); }
.machines strong { display: block; font-size: var(--fs-base); }
.machines span { color: var(--steel); }
.guide { margin: 0; padding-left: 1.2em; font-size: var(--fs-sm); }
.guide li { margin-bottom: 6px; }
.sticky-buy { display: none; }
@media (max-width: 1240px) {
  .pdp-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .pdp-buy { grid-column: 2; position: static; }
  .pdp-gallery { grid-row: span 2; }
}
@media (max-width: 900px) {
  .pdp-grid { grid-template-columns: 1fr; gap: 18px; }
  .pdp-gallery { position: static; grid-row: auto; grid-template-columns: 1fr; }
  .thumbs { order: 2; grid-auto-flow: column; grid-auto-columns: 64px; overflow-x: auto; padding-bottom: 2px; }
  .thumb { width: 64px; }
  .stage-note { grid-column: 1; order: 3; margin-top: 0; }
  .pdp-buy { grid-column: 1; }
  .pdp-details { grid-template-columns: 1fr; }
  .mini-preview { display: block; position: sticky; top: 0; z-index: 6; margin: 0 -18px 14px; padding: 8px 18px; background: var(--white); border-bottom: 1px solid var(--rule); }
  .mini-preview canvas { width: auto; max-width: 100%; max-height: 150px; margin: 0 auto; border-radius: var(--radius); background: var(--stage); }
  .mini-preview span { position: absolute; left: 26px; top: 14px; font-size: 11px; font-weight: 700; background: rgba(255,255,255,.9); padding: 2px 7px; border-radius: 999px; border: 1px solid var(--rule); }
  .customize-head { flex-direction: column; gap: 2px; }
}
@media (max-width: 1240px) {
  .sticky-buy { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: var(--white); border-top: 1px solid var(--rule-strong); padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); align-items: center; gap: 12px; transform: translateY(110%); transition: transform .2s ease; box-shadow: 0 -10px 24px rgba(19,18,48,.08); }
  .sticky-buy.is-shown { transform: none; }
  .sticky-buy .sb-price { flex: 1; min-width: 0; line-height: 1.2; }
  .sticky-buy .price { font-size: 1.4rem; }
  .sticky-buy .sb-meta { display: block; font-size: var(--fs-xs); color: var(--steel); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .has-sticky-buy .site-footer { padding-bottom: 72px; }
}

/* ---------- cart & checkout ---------- */
.cart-page { padding-top: 22px; padding-bottom: 56px; }
.cart-page h1 { font-size: var(--fs-3xl); margin: 0 0 16px; }
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
@media (max-width: 960px) { .cart-layout { grid-template-columns: 1fr; } }
.cart-box { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-xl); padding: 4px 20px; }
.cart-box-head { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0 12px; border-bottom: 1px solid var(--rule); font-size: var(--fs-sm); color: var(--steel); }
.cart-lines { list-style: none; padding: 0; margin: 0; }
.cart-line { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--rule); align-items: start; }
.cart-line:last-child { border-bottom: 0; }
.cart-thumb { width: 120px; aspect-ratio: 1 / 1; border-radius: var(--radius-l); background: var(--stage); overflow: hidden; display: grid; place-items: center; color: var(--steel); border: 1px solid var(--rule); }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-thumb svg { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.cart-thumb-label { display: block; font-size: 11px; color: var(--steel); text-align: center; margin-top: 4px; }
.cart-line h2, .cart-line h3 { font-family: var(--body); font-size: var(--fs-md); line-height: 1.3; margin: 0 0 6px; }
.cart-line h2 a, .cart-line h3 a { color: var(--ink); text-decoration: none; }
.cart-line h2 a:hover, .cart-line h3 a:hover { color: var(--photon); text-decoration: underline; }
.line-tier { display: inline-block; margin: 8px 0 0; font-size: var(--fs-xs); font-weight: 700; color: var(--ok); background: var(--ok-tint); padding: 3px 8px; border-radius: var(--radius-s); }
.line-next { font-size: var(--fs-xs); color: var(--steel); margin: 6px 0 0; }
.line-tools { display: flex; gap: 14px; align-items: center; margin-top: 12px; flex-wrap: wrap; font-size: var(--fs-sm); }
.line-tools .stepper { grid-template-columns: 34px 64px 34px; }
.line-tools .stepper input { min-height: 34px !important; }
.line-tools .divider { width: 1px; height: 16px; background: var(--rule-strong); }
.line-price { text-align: right; white-space: nowrap; }
.line-price .price { font-size: var(--fs-xl); display: block; line-height: 1.1; }
.line-price .was { display: block; }
.line-price .each { display: block; font-size: var(--fs-xs); color: var(--steel); margin-top: 2px; }
.cart-update { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--rule); font-size: var(--fs-sm); flex-wrap: wrap; }
.summary { background: var(--white); border: 1px solid var(--rule-strong); border-radius: var(--radius-xl); padding: 20px; position: sticky; top: 16px; }
.summary h2 { font-family: var(--body); font-size: var(--fs-lg); margin: 0 0 12px; }
.summary-rows { margin: 0 0 16px; font-size: var(--fs-sm); }
.summary-rows div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; }
.summary-rows dt { color: var(--steel); }
.summary-rows dd { margin: 0; font-variant-numeric: tabular-nums; text-align: right; }
.summary-rows .save dt, .summary-rows .save dd { color: var(--ok); font-weight: 700; }
.summary-rows .total { border-top: 1px solid var(--rule); margin-top: 6px; padding-top: 12px; font-weight: 700; font-size: var(--fs-lg); }
.summary-rows .total dt { color: var(--ink); }
.you-save { background: var(--ok-tint); color: #0F4F36; border-radius: var(--radius); padding: 8px 12px; font-size: var(--fs-sm); margin: 0 0 14px; }
.you-save strong { font-variant-numeric: tabular-nums; }
.code-box { margin: 0 0 16px; font-size: var(--fs-sm); }
.code-box summary { cursor: pointer; color: var(--steel); font-weight: 600; padding: 4px 0; }
.code-box summary:hover { color: var(--ink); }
.code-row { display: flex; gap: 8px; margin-top: 8px; }
.code-row input { flex: 1; min-width: 0; text-transform: uppercase; letter-spacing: .04em; }
.code-on { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 0; padding: 8px 12px; border: 1px dashed var(--ok); border-radius: var(--radius); color: #0F4F36; }
.code-box .field-error { margin: 6px 0 0; }
.summary .btn + .btn { margin-top: 8px; }
.summary .small { margin: 12px 0 0; }
.summary-items { list-style: none; padding: 0; margin: 0 0 12px; border-bottom: 1px solid var(--rule); }
.summary-items li { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 0 0 10px; font-size: var(--fs-sm); }
.summary-items .si-thumb { width: 52px; height: 52px; border-radius: var(--radius); background: var(--stage); overflow: hidden; border: 1px solid var(--rule); position: relative; }
.summary-items .si-thumb img { width: 100%; height: 100%; object-fit: cover; }
.summary-items .si-qty { position: absolute; right: -1px; top: -1px; background: var(--ink); color: var(--white); font-size: 11px; font-weight: 700; min-width: 18px; height: 18px; border-radius: 0 var(--radius) 0 var(--radius); display: grid; place-items: center; padding: 0 4px; }
.summary-items .si-name { line-height: 1.3; }
.summary-items .si-name span { display: block; color: var(--steel); font-size: var(--fs-xs); }
.empty-state { text-align: center; padding: 56px 20px; background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-xl); }
.empty-state h2 { font-size: var(--fs-2xl); }
.checkout-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 22px 0 16px; flex-wrap: wrap; }
.checkout-head h1 { font-size: var(--fs-3xl); margin: 0; }
.co-section { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-xl); padding: 20px 22px 6px; margin-bottom: 16px; }
.co-section h2 { font-family: var(--body); font-size: var(--fs-lg); display: flex; align-items: center; gap: 10px; margin: 0 0 14px; }
.co-section h2 .n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--white); font-size: var(--fs-sm); font-variant-numeric: tabular-nums; }
.co-section .sub { font-size: var(--fs-sm); color: var(--steel); margin: -8px 0 14px; }

@media (max-width: 640px) {
  .cart-box { padding: 2px 14px; }
  .cart-line, .order-items .cart-line { grid-template-columns: 76px minmax(0, 1fr); gap: 12px; }
  .cart-thumb, .order-items .cart-thumb { width: 76px; }
  .cart-line h2, .cart-line h3 { font-size: var(--fs-base); }
  .line-price { grid-column: 2; text-align: left; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
  .line-price .price, .line-price .was, .line-price .each { display: inline; }
  .detail-list div { display: block; }
  .detail-list dt { display: inline; white-space: nowrap; }
  .detail-list dd { display: inline; margin-left: .3em; overflow-wrap: break-word; }
  .line-tools { gap: 8px 14px; }
  .line-tools .divider { display: none; }
  .co-section { padding: 16px 14px 4px; }
  .doc-items th:nth-child(3), .doc-items td:nth-child(3), .doc-items th:nth-child(4), .doc-items td:nth-child(4) { display: none; }
  .doc-items th:first-child { width: auto; }
}

/* older form markup (instant price, quote form, research) */
.option-group { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.option-group legend { font-size: var(--fs-sm); font-weight: 700; padding: 0; margin-bottom: 8px; }
.option-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.option-pills label { position: relative; cursor: pointer; }
.option-pills input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.option-pills span { display: inline-block; padding: 8px 12px; border: 1px solid var(--rule-strong); border-radius: var(--radius); background: var(--white); font-size: var(--fs-sm); }
.option-pills input:checked + span { border-color: var(--photon); box-shadow: inset 0 0 0 1px var(--photon); background: #FAF9FF; font-weight: 700; }
.option-pills input:focus-visible + span { outline: 3px solid var(--photon); outline-offset: 2px; }
.paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.path { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-xl); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.path h3 { font-family: var(--display); font-size: var(--fs-xl); line-height: 1; margin: 0; }
.path p { margin: 0; color: var(--steel); }
.path .check-list { margin: 4px 0 8px; }
.path .btn { align-self: flex-start; margin-top: auto; }
@media (max-width: 760px) { .paths { grid-template-columns: 1fr; } }

/* ---------- order status & tracking ---------- */
.order-page { padding-top: 22px; padding-bottom: 56px; }
.order-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.order-head h1 { font-size: var(--fs-3xl); margin: 0 0 6px; }
.order-head p { margin: 0; color: var(--steel); }
.progress { list-style: none; padding: 20px 22px; margin: 0 0 18px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-xl); counter-reset: none; }
.progress li { position: relative; padding-top: 30px; font-size: var(--fs-sm); text-align: center; color: var(--steel); }
.progress li::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 20px; height: 20px; border-radius: 50%; background: var(--white); border: 2px solid var(--rule-strong); z-index: 1; }
.progress li::after { content: ""; position: absolute; top: 9px; left: calc(-50% + 12px); right: calc(50% + 12px); height: 2px; background: var(--rule-strong); }
.progress li:first-child::after { display: none; }
.progress li strong { display: block; color: var(--ink); font-size: var(--fs-sm); }
.progress li time { display: block; font-size: var(--fs-xs); }
.progress li.is-done::before { background: var(--photon); border-color: var(--photon); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-size: 100%; }
.progress li.is-done::after { background: var(--photon); }
.progress li.is-current::before { box-shadow: 0 0 0 4px rgba(91,61,245,.18); }
.progress li.is-current strong { color: var(--photon); }
.progress li.is-current + li::after { background: repeating-linear-gradient(90deg, var(--photon) 0 4px, transparent 4px 8px); }
.progress.is-stopped li::before { border-color: var(--rule-strong) !important; background: var(--white) !important; box-shadow: none !important; }
@media (max-width: 720px) {
  .progress { grid-template-columns: 1fr; gap: 0; padding: 16px 18px; }
  .progress li { text-align: left; padding: 0 0 16px 32px; }
  .progress li::before { left: 0; transform: none; top: 0; }
  .progress li::after { left: 9px; right: auto; top: -16px; height: 16px; width: 2px; }
}
.order-items .cart-line { grid-template-columns: 88px minmax(0, 1fr) auto; }
.order-items .cart-thumb { width: 88px; }
.track-box { max-width: 520px; }

/* ---------- invoice ---------- */
.doc-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 0; flex-wrap: wrap; }
.doc { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-l); padding: clamp(24px, 5vw, 56px); max-width: 920px; margin: 0 auto 56px; font-size: var(--fs-sm); }
.doc-top { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; padding-bottom: 24px; border-bottom: 2px solid var(--ink); margin-bottom: 24px; flex-wrap: wrap; }
.doc-top img { height: 72px; width: auto; margin-bottom: 12px; }
.doc-title { text-align: right; }
.doc-title h1 { font-size: 2.6rem; margin: 0 0 6px; }
.doc-title dl { display: grid; grid-template-columns: auto auto; gap: 2px 14px; margin: 0; justify-content: end; }
.doc-title dt { color: var(--steel); }
.doc-title dd { margin: 0; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.doc-parties { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 24px; }
.doc-parties h2 { font-family: var(--body); font-size: var(--fs-xs); color: var(--steel); font-weight: 700; margin: 0 0 6px; letter-spacing: 0; }
.doc-parties p { margin: 0; line-height: 1.5; }
.doc-items { width: 100%; border-collapse: collapse; margin-bottom: 16px; }
.doc-items th:first-child { width: 58%; }
.doc-items th { text-align: left; font-size: var(--fs-xs); color: var(--steel); padding: 8px 8px 8px 0; border-bottom: 1px solid var(--ink); }
.doc-items td { padding: 12px 8px 12px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.doc-items .r { text-align: right; padding-right: 0; padding-left: 18px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.doc-items .item-name { font-weight: 700; }
.doc-items .item-meta { color: var(--steel); font-size: var(--fs-xs); margin-top: 3px; line-height: 1.45; }
.doc-items .item-save { color: var(--ok); font-size: var(--fs-xs); margin-top: 3px; }
.doc-totals { margin-left: auto; width: min(340px, 100%); }
.doc-totals div { display: flex; justify-content: space-between; padding: 5px 0; font-variant-numeric: tabular-nums; }
.doc-totals .save { color: var(--ok); }
.doc-totals .grand { border-top: 2px solid var(--ink); margin-top: 6px; padding-top: 10px; font-weight: 700; font-size: var(--fs-lg); }
.doc-foot { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--rule); color: var(--steel); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.doc-status { display: inline-block; font-weight: 700; padding: 4px 10px; border-radius: var(--radius-s); border: 1px solid; font-size: var(--fs-xs); }
.doc-status.is-paid { color: var(--ok); border-color: var(--ok); }
.doc-status.is-due { color: var(--wait); border-color: var(--wait); }
@media (max-width: 640px) { .doc-parties { grid-template-columns: 1fr; } .doc-title { text-align: left; } .doc-title dl { justify-content: start; } .doc-foot { grid-template-columns: 1fr; } }

/* ---------- business ---------- */
.biz-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; align-items: end; padding: 26px 0 20px; }
.biz-hero h1 { font-size: var(--fs-4xl); margin: 0 0 12px; max-width: 14ch; }
.biz-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; list-style: none; padding: 0; margin: 0; }
.biz-facts li { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-l); padding: 14px; font-size: var(--fs-sm); color: var(--steel); }
.biz-facts strong { display: block; color: var(--ink); font-size: var(--fs-base); margin-bottom: 4px; }
@media (max-width: 960px) { .biz-hero { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .biz-facts { grid-template-columns: 1fr; } }
.rows-table { width: 100%; border-collapse: collapse; margin-bottom: 8px; }
.rows-table th { text-align: left; font-size: var(--fs-xs); color: var(--steel); padding: 0 8px 6px 0; }
.rows-table td { padding: 0 8px 8px 0; vertical-align: top; }
.rows-table td:last-child { padding-right: 0; width: 96px; }
.rows-table select, .rows-table input { min-height: 40px; font-size: var(--fs-sm); }
@media (max-width: 720px) {
  .rows-table thead { display: none; }
  .rows-table tr { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 10px 0; border-bottom: 1px solid var(--rule); }
  .rows-table td { padding: 0; }
  .rows-table td:first-child { grid-column: 1 / -1; }
  .rows-table td:last-child { width: auto; }
}

/* ---------- account & auth ---------- */
.account-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; align-items: start; padding-bottom: 56px; }
.account-nav { display: flex; flex-direction: column; gap: 2px; position: sticky; top: 16px; }
.account-nav a, .account-nav button { display: block; padding: 9px 12px; border-radius: var(--radius); color: var(--ink); text-decoration: none; font: inherit; font-weight: 700; font-size: var(--fs-sm); text-align: left; background: none; border: 0; cursor: pointer; width: 100%; }
.account-nav a:hover, .account-nav button:hover { background: var(--white); }
.account-nav a[aria-current="page"] { background: var(--white); box-shadow: inset 3px 0 0 var(--photon); }
@media (max-width: 760px) { .account-layout { grid-template-columns: 1fr; } .account-nav { flex-direction: row; flex-wrap: wrap; position: static; } .account-nav a, .account-nav button { width: auto; } }
.order-cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.order-card { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-xl); overflow: hidden; }
.order-card-head { display: flex; flex-wrap: wrap; gap: 8px 28px; padding: 12px 18px; background: var(--paper); border-bottom: 1px solid var(--rule); font-size: var(--fs-xs); color: var(--steel); }
.order-card-head strong { display: block; color: var(--ink); font-size: var(--fs-sm); }
.order-card-head .oc-num { margin-left: auto; text-align: right; }
.order-card-body { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 16px; padding: 16px 18px; align-items: start; }
.order-card-body .oc-status { font-weight: 700; margin: 0 0 8px; }
.oc-items { display: flex; gap: 8px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.oc-items li { width: 64px; height: 64px; border-radius: var(--radius); background: var(--stage); border: 1px solid var(--rule); overflow: hidden; }
.oc-items img { width: 100%; height: 100%; object-fit: cover; }
.oc-actions { display: grid; gap: 8px; }
.oc-actions form { margin: 0; }
.oc-actions .btn { width: 100%; }
@media (max-width: 640px) { .order-card-body { grid-template-columns: 1fr; } .order-card-head .oc-num { margin-left: 0; text-align: left; } }
.auth-wrap { max-width: 472px; margin: 0 auto; padding-top: 32px; padding-bottom: 64px; }
.auth-wrap h1 { font-size: var(--fs-3xl); }

/* ---------- content pages ---------- */
.industry-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.industry { display: block; color: var(--ink); text-decoration: none; background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-xl); overflow: hidden; }
.industry figure { margin: 0; background: var(--stage); aspect-ratio: 16 / 9; overflow: hidden; }
.industry figure img { width: 100%; height: 100%; object-fit: cover; }
.industry h3 { margin: 14px 16px 4px; }
.industry p { margin: 0 16px 16px; color: var(--steel); font-size: var(--fs-sm); }
.industry:hover { border-color: var(--rule-strong); }
.industry:hover h3 { color: var(--photon); text-decoration: underline; }
@media (max-width: 960px) { .industry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .industry-grid { grid-template-columns: 1fr; } }
.industry-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.industry-hero figure { margin: 0; border-radius: var(--radius-xl); overflow: hidden; background: var(--stage); }
@media (max-width: 860px) { .industry-hero { grid-template-columns: 1fr; } }
.two-col-list { columns: 2; column-gap: 32px; list-style: none; padding: 0; }
.two-col-list li { break-inside: avoid; padding: 9px 0; border-bottom: 1px solid var(--rule); }
@media (max-width: 560px) { .two-col-list { columns: 1; } }
.process-tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 16px; }
.process-tags li { background: var(--white); border: 1px solid var(--rule); border-radius: 999px; padding: 5px 12px; font-size: var(--fs-sm); }
.prose { max-width: 70ch; }
.prose h2 { font-size: var(--fs-2xl); margin-top: 1.4em; }
.prose h3 { margin-top: 1.4em; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; padding: 16px 40px 16px 0; font-weight: 700; font-size: var(--fs-md); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > div { padding: 0 0 16px; color: var(--steel); max-width: 70ch; }
.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-xl); padding: 24px 28px; }
.cta-band h2 { margin: 0; max-width: 36ch; font-size: var(--fs-2xl); }
.error-page { padding: 64px 0 80px; }
.error-page .code { font-family: var(--display); font-size: 5rem; color: var(--photon); line-height: 1; margin: 0 0 8px; }
.error-page h1 { font-size: var(--fs-3xl); }

/* instant price */
.ip-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); gap: 28px; align-items: start; }
@media (max-width: 960px) { .ip-layout { grid-template-columns: 1fr; } }
.service-picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.service-picker .radio-card { flex-direction: column; gap: 4px; position: relative; padding-right: 40px; }
.service-picker .radio-card input { position: absolute; right: 14px; top: 12px; margin: 0; }
.size-row { display: grid; grid-template-columns: 1fr auto 1fr 110px; gap: 10px; align-items: end; }
.size-row .x { padding-bottom: 12px; color: var(--steel); }
.size-row .field { margin: 0; }
@media (max-width: 480px) { .size-row { grid-template-columns: 1fr auto 1fr; } .size-row .unit-field { grid-column: 1 / -1; } }
.price-panel { position: sticky; top: 16px; background: var(--ink); color: var(--white); border-radius: var(--radius-xl); padding: 24px; }
.price-panel h2 { font-size: var(--fs-xl); margin: 0 0 16px; }
.price-big { font-family: var(--display); font-size: clamp(3rem, 6vw, 4rem); line-height: 1; margin: 0; }
.price-each { color: var(--on-dark); margin: 6px 0 18px; }
.price-lines { list-style: none; padding: 0; margin: 0 0 20px; font-size: var(--fs-sm); border-top: 1px solid rgba(255,255,255,.14); }
.price-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.14); color: var(--on-dark); }
.price-lines li span:last-child { color: var(--white); text-align: right; }
.price-panel .note { font-size: var(--fs-sm); color: var(--on-dark-2); margin: 12px 0 0; }
.price-panel .field-error { color: #FFB4A6; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark); margin-top: 0; font-size: var(--fs-sm); }
.footer-trust { background: var(--ink-2); }
.trust-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-top: 22px; padding-bottom: 22px; }
.trust-row p { margin: 0; color: var(--on-dark-2); font-size: var(--fs-sm); }
.trust-row strong { display: block; color: var(--white); font-size: var(--fs-base); margin-bottom: 2px; }
@media (max-width: 900px) { .trust-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .trust-row { grid-template-columns: 1fr; gap: 14px; } }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 28px; padding-top: 44px; }
.footer-grid h2 { font-family: var(--body); font-size: var(--fs-sm); color: var(--white); margin: 0 0 12px; line-height: 1.3; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-brand img { height: 26px; width: auto; margin-bottom: 14px; }
.footer-brand p { max-width: 34ch; color: var(--on-dark-2); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding: 18px 0 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: var(--fs-xs); color: var(--on-dark-2); }
.footer-bottom ul { list-style: none; display: flex; gap: 18px; padding: 0; margin: 0; flex-wrap: wrap; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- print (invoices and estimates) ---------- */
@page { size: letter; margin: 0.6in; }
@media print {
  body { background: #fff; font-size: 11pt; }
  .site-header, .sale-bar, .site-footer, .doc-bar, .skip-link, .flashes, .announcement, .no-print { display: none !important; }
  .wrap { padding: 0; max-width: none; }
  .doc { border: 0; padding: 0; margin: 0; max-width: none; border-radius: 0; font-size: 9pt; line-height: 1.4; }
  .doc a { color: inherit; text-decoration: none; }
  .doc-top { padding-bottom: 12px; margin-bottom: 14px; }
  .doc-top img { height: 52px; margin-bottom: 8px; }
  .doc-title h1 { font-size: 26pt; margin-bottom: 2px; }
  .doc-parties { margin-bottom: 14px; gap: 14px; }
  .doc-items { margin-bottom: 8px; }
  .doc-items td { padding: 7px 8px 7px 0; }
  .doc-items .r { padding-left: 12px; }
  .doc-items tr, .doc-totals, .doc-foot { break-inside: avoid; }
  .doc-totals div { padding: 2px 0; }
  .doc-totals .grand { font-size: 12pt; padding-top: 6px; }
  .doc-foot { margin-top: 14px; padding-top: 10px; font-size: 8pt; }
}

/* ---------- reviews, returns, Google sign-in ---------- */
.stars { display: inline-flex; gap: 1px; color: var(--rule-strong); font-size: 1.05em; line-height: 1; vertical-align: -1px; }
.stars .star.is-on { color: #E8A500; }
.card-rating { margin: 2px 0 6px; font-size: var(--fs-sm); display: flex; align-items: center; gap: 6px; }
.review-summary { margin: 0; display: flex; align-items: center; gap: 8px; }
.review-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.review { padding-bottom: 18px; border-bottom: 1px solid var(--rule); }
.review:last-child { border-bottom: 0; padding-bottom: 0; }
.review-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-bottom: 6px; }
.review-title { font-weight: 700; margin: 0 0 4px; }
.review p:last-child { margin-bottom: 0; }
.care-reply { background: var(--panel); border-left: 3px solid var(--photon); padding: 10px 12px; border-radius: var(--radius); }
.care .sub { margin-bottom: 10px; }
.care-item { border-top: 1px solid var(--rule); padding: 16px 0; }
.care-item h3 { font-family: var(--body); font-size: var(--fs-md); margin: 0 0 10px; }
.care-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.care-col h4 { font-size: var(--fs-sm); color: var(--steel); text-transform: uppercase; letter-spacing: .04em; margin: 0 0 8px; }
.care-col p:last-child { margin-bottom: 0; }
.care-form summary { display: inline-flex; cursor: pointer; list-style: none; }
.care-form summary::-webkit-details-marker { display: none; }
.care-form[open] summary { margin-bottom: 12px; }
.care-form form { max-width: 440px; }
.care-form .field { margin-bottom: 12px; }
.rating-field { border: 0; padding: 0; margin: 0 0 12px; }
.rating-field legend { font-weight: 700; margin-bottom: 4px; }
.rating-pick { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.rating-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rating-pick label { font-size: 1.9rem; line-height: 1; color: var(--rule-strong); cursor: pointer; padding: 0 2px; }
.rating-pick input:checked ~ label, .rating-pick label:hover, .rating-pick label:hover ~ label { color: #E8A500; }
.rating-pick input:focus-visible + label { outline: 2px solid var(--photon); outline-offset: 2px; border-radius: 3px; }
.btn-google { display: flex; align-items: center; justify-content: center; gap: 10px; }
.or-rule { position: relative; text-align: center; margin: 16px 0; color: var(--steel); font-size: var(--fs-sm); }
.or-rule::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--rule); }
.or-rule span { position: relative; background: var(--white); padding: 0 10px; }
@media (max-width: 640px) { .care-cols { grid-template-columns: 1fr; } }
