/* ==========================================================================
   Filamentus — shop, product, cart, checkout, guide, help, about
   ========================================================================== */

/* ---------- Form controls ---------- */
.input {
  width: 100%; height: 46px; padding: 0 14px; border-radius: 10px;
  background: var(--paper); border: 1.5px solid var(--line-2); color: var(--ink); font-size: 16px; outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.input::placeholder { color: #8994A8; }
.input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-glow); }
.input[aria-invalid="true"] { border-color: var(--bad); box-shadow: 0 0 0 3px rgba(195, 51, 41, 0.12); }
.input--sm { height: 40px; font-size: 14.5px; }
.select { position: relative; display: block; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 38px; cursor: pointer; }
.select .icon { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); }

.check { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 15px; cursor: pointer; line-height: 1.4; }
.check input { width: 18px; height: 18px; margin: 0; accent-color: var(--brand-navy); flex-shrink: 0; cursor: pointer; }
.check__count { margin-left: auto; font-family: var(--f-mono); font-size: 12px; color: var(--muted); }

/* ---------- Shop ---------- */
.shop__grid { display: grid; grid-template-columns: 230px 1fr; gap: 40px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 24px); }
.filters__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.filters__head .label { margin: 0; }
.fgroup { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.fgroup__title { padding: 0; margin-bottom: 6px; font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.filters-toggle { display: none; }
.toolbar__search { position: relative; flex: 1; min-width: 0; }
.toolbar__search .icon { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.toolbar__search input { width: 100%; height: 44px; padding: 0 14px 0 40px; border-radius: 10px; background: var(--paper); border: 1.5px solid var(--line-2); font-size: 15px; outline: none; }
.toolbar__search input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-glow); }
.toolbar__sort { display: flex; align-items: center; gap: 8px; }
.toolbar__sort-label { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.toolbar__sort .select { min-width: 190px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chips:empty { display: none; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px 6px 12px; border: 0; border-radius: 99px;
  background: var(--blue-soft); color: var(--blue-ink); font-size: 13.5px; font-weight: 600; cursor: pointer;
}
.chip:hover { background: #CFE2F9; }
.pgrid--shop { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.no-results { grid-column: 1 / -1; display: grid; justify-items: start; gap: 8px; padding: 40px; background: var(--paper); border: 1.5px dashed var(--line-2); border-radius: 14px; }
.no-results__title { font-family: var(--f-display); font-stretch: 112%; font-weight: 800; font-size: 22px; color: var(--brand-navy); }
.no-results .btn { margin-top: 8px; }

/* ---------- Product page ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--blue-ink); text-decoration: underline; }
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.pdp__stage { position: sticky; top: calc(var(--header-h) + 24px); background: var(--art); border-radius: 20px; padding: 48px 48px 26px; --spool-hole: var(--art); }
.pdp__spool { max-width: 420px; margin-inline: auto; }
.pdp__caption { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 22px; font-family: var(--f-mono); font-size: 13px; color: var(--ink-2); }
.pdp__caption .sw { margin: 0; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.18); }
.pdp__title { font-family: var(--f-display); font-stretch: 118%; font-weight: 800; font-size: clamp(2.3rem, 1.6rem + 2.4vw, 3.3rem); line-height: 1; letter-spacing: -0.02em; color: var(--brand-navy); }
.pdp__tagline { font-size: 18px; color: var(--ink-2); margin-top: 10px; max-width: 46ch; }
.pdp__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin-top: 18px; }
.pdp__amount { font-family: var(--f-display); font-stretch: 105%; font-weight: 800; font-size: 34px; line-height: 1; font-variant-numeric: tabular-nums; }
.pdp__vat { font-size: 14px; color: var(--muted); }
.stock { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-family: var(--f-mono); font-size: 13px; font-weight: 500; }
.stock__dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.stock--in { color: var(--ok); }
.stock--low { color: var(--warn); }
.stock--out { color: var(--bad); }
.pdp__form { display: flex; flex-direction: column; gap: 22px; margin: 24px 0 14px; }
.opt { border: 0; padding: 0; margin: 0; min-width: 0; }
.opt__legend { padding: 0; margin-bottom: 10px; font-size: 14.5px; font-weight: 700; }
.opt__legend span { font-weight: 400; color: var(--ink-2); margin-left: 6px; }

.swatch-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch-opt { position: relative; width: 40px; height: 40px; cursor: pointer; }
.swatch-opt input, .seg__opt input, .pill input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.swatch-opt__dot { display: block; width: 100%; height: 100%; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2); transition: box-shadow .15s ease; }
.swatch-opt input:checked + .swatch-opt__dot { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2), 0 0 0 3px var(--paper), 0 0 0 5px var(--brand-navy); }
.swatch-opt input:focus-visible + .swatch-opt__dot { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2), 0 0 0 3px var(--paper), 0 0 0 6px var(--blue); }
.swatch-opt.is-out .swatch-opt__dot { opacity: 0.5; }
.swatch-opt.is-out::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 46px; height: 2px; background: var(--bad);
  transform: translate(-50%, -50%) rotate(-45deg); pointer-events: none; border-radius: 2px;
}

.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg__opt { position: relative; }
.seg__opt span {
  display: flex; flex-direction: column; justify-content: center; min-width: 100px; min-height: 48px; padding: 8px 16px;
  background: var(--paper); border: 1.5px solid var(--line-2); border-radius: 10px; font-weight: 600; font-size: 15px; line-height: 1.25;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.seg__opt span small { font-family: var(--f-mono); font-size: 12px; font-weight: 500; color: var(--muted); }
.seg__opt:hover span { border-color: var(--brand-navy); }
.seg__opt input:checked + span { border-color: var(--brand-navy); box-shadow: inset 0 0 0 1px var(--brand-navy); background: var(--blue-soft); }
.seg__opt input:focus-visible + span, .pill input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }

.buy { display: flex; gap: 12px; align-items: stretch; }
.buy__btn { flex: 1; }
.stepper { display: inline-flex; align-items: center; background: var(--paper); border: 1.5px solid var(--line-2); border-radius: 10px; }
.stepper button { display: grid; place-items: center; width: 44px; height: 100%; min-height: 50px; border: 0; background: none; color: var(--ink); cursor: pointer; border-radius: 8px; }
.stepper button:hover:not(:disabled) { background: var(--ground); }
.stepper button:disabled { opacity: 0.35; cursor: not-allowed; }
.stepper output { min-width: 30px; text-align: center; font-family: var(--f-mono); font-weight: 600; font-variant-numeric: tabular-nums; }
.stepper--sm button { width: 32px; min-height: 32px; height: 32px; }
.stepper--sm output { min-width: 24px; font-size: 14px; }
.pdp__ship { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--ink-2); margin-bottom: 28px; }
.pdp__ship .icon { color: var(--blue); margin-top: 1px; }

.speclabel { background: var(--paper); border: 1.5px solid var(--navy); border-radius: var(--radius); overflow: hidden; margin-bottom: 28px; }
.speclabel__title {
  display: flex; justify-content: space-between; gap: 12px; padding: 10px 16px; background: var(--navy); color: #fff;
  font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
}
.speclabel__title span { color: var(--on-navy-muted); }
.speclabel__rows { display: grid; grid-template-columns: 1fr 1fr; margin: 0; }
.speclabel__rows div { padding: 10px 16px; border-top: 1px solid var(--line); }
.speclabel__rows div:nth-child(-n + 2) { border-top: 0; }
.speclabel__rows div:nth-child(odd) { border-right: 1px solid var(--line); }
.speclabel__rows dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.speclabel__rows dd { margin: 2px 0 0; font-family: var(--f-mono); font-size: 14.5px; font-weight: 500; font-variant-numeric: tabular-nums; }
.speclabel__needs { display: flex; align-items: center; gap: 10px; padding: 11px 16px; background: var(--warn-soft); color: #6B4300; font-size: 14px; font-weight: 600; border-top: 1px solid #F1DBA4; }
.pdp__desc p { color: var(--ink-2); max-width: 62ch; }

/* ---------- Cart drawer ---------- */
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 70; width: min(440px, 100%);
  background: var(--paper); box-shadow: -12px 0 40px rgba(5, 33, 74, 0.18);
  transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility 0s linear .3s;
}
.drawer.is-open { transform: none; visibility: visible; transition: transform .3s ease; }
.drawer__panel { display: flex; flex-direction: column; height: 100%; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 16px 16px 20px; border-bottom: 1px solid var(--line); }
.drawer__title { font-family: var(--f-display); font-stretch: 112%; font-weight: 800; font-size: 22px; color: var(--brand-navy); }
.drawer__count { font-family: var(--f-mono); font-stretch: 100%; font-size: 12px; font-weight: 500; color: var(--muted); margin-left: 8px; }
.meter { padding: 14px 20px; background: var(--ground); }
.meter--done { background: var(--green-soft); }
.meter__text { display: flex; align-items: center; gap: 6px; font-size: 14px; margin-bottom: 8px; }
.meter--done .meter__text .icon { color: var(--ok); }
.meter__track { height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; }
.meter__fill { display: block; height: 100%; border-radius: 99px; background: var(--green-deep); transition: width .4s ease; }
.lines { list-style: none; margin: 0; padding: 4px 20px; flex: 1; overflow-y: auto; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line:last-child { border-bottom: 0; }
.line__art { display: block; width: 64px; height: 64px; padding: 6px; border-radius: 10px; background: var(--art); --spool-hole: var(--art); }
.line__body { min-width: 0; }
.line__name { font-weight: 700; color: var(--ink); text-decoration: none; }
.line__name:hover { color: var(--blue-ink); }
.line__variant { font-size: 13px; color: var(--muted); margin: 2px 0 10px; }
.line__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.line__total { font-family: var(--f-mono); font-weight: 600; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.line__remove { margin: -8px -8px 0 0; }
.drawer__foot { display: flex; flex-direction: column; gap: 10px; padding: 16px 20px 20px; border-top: 1px solid var(--line); }
.drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 32px; text-align: center; }
.drawer__empty-art { width: 120px; margin-bottom: 8px; --spool-hole: var(--paper); }
.drawer__empty-title { font-family: var(--f-display); font-stretch: 112%; font-weight: 800; font-size: 21px; color: var(--brand-navy); }
.drawer__empty .btn { margin-top: 12px; }
.sumrow { display: flex; justify-content: space-between; gap: 12px; }
.sumrow dd, .sumrow span:last-child { margin: 0; font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.sumrow--total { font-size: 17px; font-weight: 700; }
.sumrow--fine { font-size: 13px; color: var(--muted); }

/* ---------- Checkout ---------- */
.checkout__grid, .order__grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 48px; align-items: start; }
.fs { border: 0; padding: 0; margin: 0 0 34px; min-width: 0; }
.fs__legend { display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 16px; font-family: var(--f-display); font-stretch: 112%; font-weight: 800; font-size: 21px; color: var(--brand-navy); }
.fs__step { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--f-mono); font-stretch: 100%; font-size: 13px; font-weight: 600; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field__label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.field__opt { margin-left: 6px; font-family: var(--f-mono); font-size: 11px; font-weight: 400; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.field__error { color: var(--bad); font-size: 13.5px; margin-top: 6px; }
.checkout__form > .field { margin-bottom: 20px; }
.checkout__form .check a { font-weight: 600; }
.options { display: grid; gap: 10px; }
.option { display: flex; align-items: flex-start; gap: 14px; padding: 15px 16px; background: var(--paper); border: 1.5px solid var(--line-2); border-radius: var(--radius); cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease; }
.option:hover { border-color: var(--brand-navy); }
.option:has(input:checked) { border-color: var(--brand-navy); box-shadow: inset 0 0 0 1px var(--brand-navy); }
.option input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--brand-navy); flex-shrink: 0; }
.option__body { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.option__title { font-weight: 600; }
.option__meta { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.option__price { font-family: var(--f-mono); font-size: 14.5px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.option__price s { color: var(--muted); margin-right: 4px; }
.option__price strong { font-weight: 600; }

.summary { position: sticky; top: calc(var(--header-h) + 24px); }
.summary__inner { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px 22px; }
.summary__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.summary__title { font-family: var(--f-display); font-stretch: 112%; font-weight: 800; font-size: 20px; color: var(--brand-navy); }
.summary .meter { border-radius: 10px; margin: 14px 0 4px; }
.sumlines { list-style: none; margin: 0; padding: 0; }
.sumline { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.sumline__art { position: relative; display: block; width: 56px; height: 56px; padding: 5px; border-radius: 10px; background: var(--art); --spool-hole: var(--art); }
.sumline__qty { position: absolute; top: -7px; right: -7px; min-width: 21px; height: 21px; padding: 0 5px; display: grid; place-items: center; border-radius: 99px; background: var(--navy); color: #fff; font-family: var(--f-mono); font-size: 11px; font-weight: 600; }
.sumline__text { display: flex; flex-direction: column; font-size: 14.5px; line-height: 1.35; min-width: 0; }
.sumline__text span { font-size: 12.5px; color: var(--muted); }
.sumline__price { font-family: var(--f-mono); font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.sums { display: grid; gap: 8px; margin: 14px 0 0; }
.sums .sumrow--total { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; font-size: 18px; }

/* ---------- Order confirmation ---------- */
.order .page-title { max-width: 20ch; }
.steps { list-style: none; margin: 28px 0; padding: 0; counter-reset: step; display: grid; gap: 18px; max-width: 62ch; }
.steps li { position: relative; display: flex; flex-direction: column; padding-left: 46px; color: var(--ink-2); counter-increment: step; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 30px; height: 30px;
  border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--f-mono); font-size: 13px; font-weight: 600;
}
.steps__title { font-weight: 700; color: var(--ink); }
.order__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 8px 0 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.addr { color: var(--ink-2); line-height: 1.65; overflow-wrap: anywhere; }

/* ---------- Material guide ---------- */
.finder { display: grid; grid-template-columns: 1.1fr 0.9fr; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; margin-bottom: 64px; }
.finder__form { padding: 28px; }
.finder__form .fgroup:last-child { margin-bottom: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.pill { position: relative; }
.pill span { display: inline-block; padding: 9px 15px; background: var(--paper); border: 1.5px solid var(--line-2); border-radius: 99px; font-size: 14.5px; font-weight: 500; transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.pill:hover span { border-color: var(--brand-navy); }
.pill input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.finder__result { display: grid; grid-template-columns: 130px 1fr; gap: 22px; align-items: center; padding: 28px; background: var(--art); --spool-hole: var(--art); }
.finder__name { font-family: var(--f-display); font-stretch: 118%; font-weight: 800; font-size: 32px; line-height: 1; margin-bottom: 8px; color: var(--brand-navy); }
.finder__text > p:not(.eyebrow):not(.finder__name) { color: var(--ink-2); font-size: 15px; }
.finder__text > .finder__temps { font-family: var(--f-mono); font-size: 13px; color: var(--muted); margin-top: 8px; }
.finder__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 16px; }
.guide__block { margin-bottom: 64px; }
.guide__note { color: var(--muted); font-size: 14.5px; margin: -4px 0 16px; }
.table-scroll { overflow-x: auto; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; }
.compare, .dtable { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.compare { min-width: 820px; }
.compare th, .compare td, .dtable th, .dtable td { padding: 13px 16px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line); }
.compare thead th, .dtable thead th { background: #F5F8FC; font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.compare tbody tr:last-child > *, .dtable tbody tr:last-child > * { border-bottom: 0; }
.compare tbody th a { font-family: var(--f-display); font-stretch: 108%; font-weight: 800; font-size: 17px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.compare tbody th a:hover { color: var(--blue-ink); }
.compare__best { color: var(--ink-2); min-width: 240px; }
.rating { display: inline-flex; gap: 3px; }
.rating__seg { width: 14px; height: 8px; border-radius: 2px; background: var(--line); }
.rating__seg.is-on { background: var(--blue); }

.guide__charts { display: grid; gap: 20px; }
.guide__charts .guide__note { margin-bottom: 0; }
.tchart { margin: 0; padding: 18px 22px 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; }
.tchart__title { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.tchart__row { display: grid; grid-template-columns: 200px 1fr; gap: 18px; align-items: center; min-height: 36px; }
.tchart__name { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; font-weight: 600; }
.tchart__name span { font-family: var(--f-mono); font-size: 12.5px; font-weight: 400; color: var(--muted); font-variant-numeric: tabular-nums; }
.tchart__track {
  position: relative; align-self: stretch;
  background-image: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px calc(100% / var(--n)));
  border-right: 1px solid var(--line);
}
.tchart__bar { position: absolute; top: 50%; height: 12px; transform: translateY(-50%); border-radius: 3px; }
.tchart__bar--nozzle { background: var(--blue); }
.tchart__bar--bed { background: var(--green-deep); }
.tchart__row--axis { min-height: 26px; }
.tchart__axis { position: relative; align-self: stretch; }
.tchart__axis span { position: absolute; top: 4px; transform: translateX(-50%); font-family: var(--f-mono); font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.watchlist { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin: 0; }
.watchlist div { padding: 14px 0; border-top: 1px solid var(--line); }
.watchlist dt { font-weight: 700; }
.watchlist dd { margin: 2px 0 0; color: var(--ink-2); }

/* ---------- Help ---------- */
.help__grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.help__block { margin-bottom: 48px; }
.help__block > p { color: var(--ink-2); max-width: 65ch; margin-top: 14px; }
.dtable .num { text-align: right; font-family: var(--f-mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.dtable thead th:last-child { text-align: right; }
.dtable__free td { color: var(--ok); font-weight: 600; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; max-width: 65ch; }
.ticks li { display: flex; gap: 12px; color: var(--ink-2); }
.ticks .icon { color: var(--ok); margin-top: 3px; }
.ticks strong { color: var(--ink); }
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { display: grid; grid-template-columns: 1fr auto; column-gap: 16px; padding: 18px 0; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__group { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-ink); }
.faq__q { grid-column: 1; font-size: 17px; font-weight: 600; line-height: 1.4; }
.faq__item summary .icon { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--muted); transition: transform .2s ease; }
.faq__item[open] summary .icon { transform: rotate(180deg); }
.faq__item p { padding-bottom: 20px; color: var(--ink-2); max-width: 65ch; }
.help__side { position: sticky; top: calc(var(--header-h) + 24px); }
.contact-card { background: var(--navy); color: var(--on-navy); border-radius: 16px; padding: 24px; }
.contact-card__title { font-family: var(--f-display); font-stretch: 112%; font-weight: 800; font-size: 21px; color: #fff; }
.contact-card ul { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 12px; }
.contact-card li { display: flex; align-items: center; gap: 10px; overflow-wrap: anywhere; }
.contact-card .icon { color: var(--green); }
.contact-card a { color: #fff; }
.contact-card .fine { color: var(--on-navy-muted); }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; margin-bottom: 56px; }
.about__logo { margin: 0; background: #FFFFFF; border: 1px solid var(--line); border-radius: 20px; padding: 16px; }
.about__logo img { display: block; width: 100%; height: auto; border-radius: 10px; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding-top: 28px; border-top: 2px solid var(--brand-navy); margin-bottom: 56px; }
.principle__title { font-family: var(--f-display); font-stretch: 112%; font-weight: 800; font-size: 21px; margin-bottom: 8px; color: var(--brand-navy); }
.principle p { color: var(--ink-2); }
.company { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; max-width: 860px; }
.company__rows { display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; margin: 0; }
.company__rows div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.company__rows dt { color: var(--muted); font-size: 14px; }
.company__rows dd { margin: 0; font-family: var(--f-mono); font-size: 13.5px; text-align: right; overflow-wrap: anywhere; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .checkout__grid, .order__grid { grid-template-columns: 1fr; }
  .summary { position: static; }
  .pdp { gap: 36px; }
}
@media (max-width: 900px) {
  .shop__grid { grid-template-columns: 1fr; gap: 0; }
  .filters { display: none; position: static; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px 4px; margin-bottom: 16px; }
  .filters.is-open { display: block; }
  .filters-toggle { display: inline-flex; }
  .toolbar { flex-wrap: wrap; }
  .toolbar__search { order: 3; flex-basis: 100%; }
  .toolbar__sort { margin-left: auto; }
  .toolbar__sort .select { min-width: 170px; }
  .pdp { grid-template-columns: 1fr; }
  .pdp__stage { position: static; padding: 28px 28px 18px; }
  .pdp__spool { max-width: 280px; }
  .help__grid { grid-template-columns: 1fr; gap: 12px; }
  .help__side { position: static; }
  .finder { grid-template-columns: 1fr; }
  .about__grid { grid-template-columns: 1fr; gap: 32px; }
  .about__logo { max-width: 520px; }
  .principles { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 560px) {
  .pgrid--shop { grid-template-columns: 1fr 1fr; gap: 12px; }
  .fields { grid-template-columns: 1fr; }
  .buy { flex-direction: column; }
  .stepper { align-self: flex-start; }
  .speclabel__rows { grid-template-columns: 1fr; }
  /* :nth-child(n) matches the specificity of the two-column border rules above */
  .speclabel__rows div:nth-child(n) { border-right: 0; border-top: 1px solid var(--line); }
  .speclabel__rows div:first-child { border-top: 0; }
  .finder__form, .finder__result { padding: 20px; }
  .finder__result { grid-template-columns: 90px 1fr; gap: 16px; }
  .finder__name { font-size: 26px; }
  .tchart { padding: 16px 14px 10px; }
  .tchart__row { grid-template-columns: 96px 1fr; gap: 10px; min-height: 44px; }
  .tchart__name { flex-direction: column; gap: 0; font-size: 13px; line-height: 1.25; }
  .tchart__name span { font-size: 11.5px; }
  .watchlist, .company__rows, .order__cols { grid-template-columns: 1fr; }
  .line { grid-template-columns: 56px 1fr auto; gap: 12px; }
  .line__art { width: 56px; height: 56px; }
}

/* ---------- Trade and enquiry forms ---------- */
.trade__grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.enquiry { display: grid; gap: 16px; max-width: 660px; margin-top: 16px; }
.enquiry__note { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.enquiry__done { background: var(--green-soft); border: 1px solid #BEE3A4; border-radius: var(--radius); padding: 18px 20px; display: grid; gap: 12px; justify-items: start; max-width: 660px; margin-top: 16px; }
.enquiry__done h3 { font-family: var(--f-display); font-stretch: 112%; font-weight: 800; font-size: 20px; color: var(--brand-navy); }
.enquiry__done p { color: var(--ink-2); }
textarea.input { height: auto; min-height: 110px; padding: 12px 14px; line-height: 1.5; resize: vertical; }
@media (max-width: 900px) {
  .trade__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}

/* ---------- Trade pricing ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.tier { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.tier--best { border-color: var(--green); background: var(--green-soft); }
.tier__qty { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.tier__off { font-family: var(--f-display); font-stretch: 112%; font-weight: 800; font-size: 34px; line-height: 1.1; color: var(--brand-navy); margin: 6px 0 2px; }
.tier__off span { display: block; font-family: var(--f-body); font-stretch: normal; font-size: 13px; font-weight: 500; color: var(--ink-2); margin-top: 2px; }
.tier__note { font-size: 13.5px; color: var(--muted); }
.dtable--trade { min-width: 720px; }
.dtable--trade th[scope="row"] { font-weight: 700; white-space: nowrap; }
.dtable--trade .num { text-align: right; font-family: var(--f-mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.dtable--trade .num--retail { color: var(--muted); }
.dtable--trade .num--best { color: var(--green-deep); font-weight: 600; }
.th__sub { display: block; font-size: 10px; letter-spacing: 0.04em; color: var(--muted); font-weight: 400; margin-top: 2px; }
.terms { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 0; margin-top: 12px; border-top: 1px solid var(--line); }
.terms dt { font-weight: 700; color: var(--brand-navy); padding: 13px 16px 13px 0; border-bottom: 1px solid var(--line); }
.terms dd { color: var(--ink-2); padding: 13px 0; border-bottom: 1px solid var(--line); }
@media (max-width: 900px) {
  .tiers { grid-template-columns: 1fr; }
  .terms { grid-template-columns: 1fr; }
  .terms dt { padding-bottom: 2px; border-bottom: 0; }
  .terms dd { padding-top: 0; }
}

.locked { display: flex; gap: 16px; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; margin-top: 16px; }
.locked svg { flex: none; color: var(--blue); margin-top: 2px; }
.locked h3 { font-family: var(--f-display); font-stretch: 112%; font-weight: 800; font-size: 19px; color: var(--brand-navy); margin-bottom: 4px; }
.locked p { color: var(--ink-2); }

/* ---------- Accounts ---------- */
.page--narrow { max-width: 560px; }
.authform { display: grid; gap: 18px; margin-top: 8px; }
.authform__alt { font-size: 14.5px; color: var(--muted); }
.authform__alt a { color: var(--blue-ink); }
.field__hint { font-size: 12.5px; color: var(--muted); margin-top: 5px; }
.formerr { background: #FDECEC; border: 1px solid #F3C3C3; color: #8A1F1F; border-radius: 10px; padding: 11px 14px; font-size: 14.5px; }
.statuscard { display: flex; gap: 16px; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; margin-top: 12px; }
.statuscard svg { flex: none; color: var(--blue); margin-top: 2px; }
.statuscard--ok { border-color: var(--green); background: var(--green-soft); }
.statuscard--ok svg { color: var(--green-deep); }
.statuscard h3 { font-family: var(--f-display); font-stretch: 112%; font-weight: 800; font-size: 19px; color: var(--brand-navy); margin-bottom: 4px; }
.statuscard p { color: var(--ink-2); margin-bottom: 10px; }
.header-account.is-on { color: var(--green-deep); }
.announce__trade { color: var(--green); font-weight: 600; }
.pdp__trade { display: block; font-size: 13px; color: var(--green-deep); font-weight: 600; margin-top: 4px; }
.pill { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 99px; background: var(--line); color: var(--ink-2); text-transform: capitalize; }
.pill--approved { background: var(--green-soft); color: var(--green-deep); }
.pill--pending { background: #FFF3D6; color: #8A6400; }
.pill--declined, .pill--suspended { background: #FDECEC; color: #8A1F1F; }
.admin__sub { display: block; font-size: 12px; color: var(--muted); font-weight: 400; }
.admin__actions { white-space: nowrap; }
.btn--sm { padding: 7px 12px; font-size: 13px; }
.input--sm { height: 36px; font-size: 13.5px; }
.btn--block { width: 100%; justify-content: center; }
