/* ============================================================
   AmpHour — v2 components
   System builder · product images · verdicts · lightbox
   ============================================================ */

.console__row--sub {
  margin-top: 1.15rem;
  padding-top: 1.05rem;
  border-top: 1px solid var(--line);
  align-items: flex-end;
}

/* ---------- select ---------- */
.select-wrap { position: relative; display: inline-flex; }
.select-wrap::after {
  content: '';
  position: absolute;
  right: .85rem; top: 50%;
  width: 7px; height: 7px;
  border-right: 1.6px solid var(--ink-faint);
  border-bottom: 1.6px solid var(--ink-faint);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.select {
  appearance: none;
  width: 100%;
  min-width: 250px;
  padding: .62rem 2.3rem .62rem .85rem;
  background: var(--void);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: .8rem;
  letter-spacing: .01em;
  cursor: pointer;
  transition: border-color .28s var(--ease);
}
.select:hover { border-color: var(--line-bright); }
.select:focus-visible { border-color: var(--amber); }
.select option { background: #1d201c; color: var(--ink); }
.select option:disabled { color: #6d6f65; }

/* ---------- toggle ---------- */
.toggle {
  appearance: none;
  border: 0;
  background: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .3rem 0;
}
.toggle__track {
  width: 42px; height: 23px;
  border-radius: 100px;
  background: var(--void);
  border: 1px solid var(--line-bright);
  display: block;
  position: relative;
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.toggle__knob {
  position: absolute;
  top: 2px; left: 2px;
  width: 17px; height: 17px;
  border-radius: 50%;
  background: var(--ink-faint);
  transition: transform .34s var(--ease-snap), background .3s var(--ease);
}
.toggle.is-on .toggle__track { background: rgba(255,176,32,.16); border-color: var(--amber); }
.toggle.is-on .toggle__knob { transform: translateX(19px); background: var(--amber); }
.toggle__text {
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--ink-soft);
}

/* ---------- card image ---------- */
.thumb {
  appearance: none;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: zoom-in;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 50% 42%, rgba(255,176,32,.06), transparent 70%),
    var(--void);
  border-bottom: 1px solid var(--line);
}
.thumb img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
  padding: .5rem;
  transition: transform .5s var(--ease);
}
.thumb:hover img { transform: scale(1.045); }
.thumb__zoom {
  position: absolute;
  right: .6rem; bottom: .6rem;
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: var(--radius);
  background: rgba(10,11,9,.82);
  border: 1px solid var(--line-bright);
  color: var(--ink-soft);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), color .3s var(--ease);
}
.thumb__zoom svg { width: 13px; height: 13px; }
.thumb:hover .thumb__zoom { opacity: 1; transform: none; color: var(--amber); }

/* ---------- verdict ---------- */
.verdict {
  padding: .95rem 1.25rem 1.05rem;
  border-bottom: 1px solid var(--line);
  background: rgba(0,0,0,.16);
}
.verdict__head {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: .5rem;
}
.verdict__icon {
  width: 18px; height: 18px;
  border-radius: 50%;
  display: grid; place-items: center;
  flex: none;
}
.verdict__icon svg { width: 10px; height: 10px; }
.verdict__headline {
  font-family: var(--font-display);
  font-variation-settings: 'wdth' 100, 'wght' 600;
  font-size: .95rem;
  letter-spacing: -.01em;
}
.verdict--yes .verdict__icon { background: rgba(95,214,138,.16); color: var(--verified); }
.verdict--yes .verdict__headline { color: var(--verified); }
.verdict--unknown .verdict__icon { background: rgba(126,129,119,.18); color: var(--unknown); }
.verdict--unknown .verdict__headline { color: var(--unknown); }
.verdict--no .verdict__icon { background: rgba(255,122,92,.15); color: var(--alert); }
.verdict--no .verdict__headline { color: var(--alert); }

.verdict__detail {
  margin: 0;
  font-size: .81rem;
  line-height: 1.62;
  color: var(--ink-faint);
}

.facts {
  margin: .85rem 0 0;
  padding-top: .75rem;
  border-top: 1px dashed var(--line-bright);
  display: grid;
  gap: .45rem;
}
.fact {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}
.fact dt {
  font-size: .7rem;
  letter-spacing: .04em;
  color: var(--ink-faint);
  white-space: nowrap;
}
.fact dd {
  margin: 0;
  text-align: right;
  font-size: .78rem;
  color: var(--ink);
}
.fact__note {
  display: block;
  font-family: var(--font-body);
  font-size: .64rem;
  color: var(--ink-faint);
  letter-spacing: 0;
  margin-top: .12rem;
  line-height: 1.4;
}

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
}
/* `display: grid` above outranks the UA sheet's `[hidden] { display: none }`,
   which would leave an invisible full-screen overlay eating every click.
   This must stay. */
.lightbox[hidden] { display: none; }
.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6,7,6,.86);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .24s var(--ease);
  cursor: zoom-out;
}
.lightbox.is-open .lightbox__backdrop { opacity: 1; }

.lightbox__panel {
  position: relative;
  width: min(920px, 100%);
  background: var(--surface);
  border: 1px solid var(--line-bright);
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.9);
  overflow: hidden;
  opacity: 0;
  transform: scale(.97) translateY(10px);
  transition: opacity .26s var(--ease), transform .3s var(--ease);
}
.lightbox.is-open .lightbox__panel { opacity: 1; transform: none; }

.lightbox__bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--line);
}
.lightbox__brand {
  margin: 0 0 .25rem;
  font-size: .64rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--amber);
}
.lightbox__title {
  margin: 0;
  font-family: var(--font-display);
  font-variation-settings: 'wdth' 104, 'wght' 650;
  font-size: 1.1rem;
  letter-spacing: -.015em;
}
.lightbox__close {
  appearance: none;
  cursor: pointer;
  flex: none;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  background: var(--void);
  border: 1px solid var(--line-bright);
  border-radius: var(--radius);
  color: var(--ink-soft);
  transition: all .25s var(--ease);
}
.lightbox__close svg { width: 15px; height: 15px; }
.lightbox__close:hover {
  color: var(--void);
  background: var(--amber);
  border-color: var(--amber);
}

.lightbox__stage {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 55% at 50% 45%, rgba(255,176,32,.05), transparent 70%),
    var(--void);
  display: grid;
  place-items: center;
  cursor: zoom-in;
  touch-action: none;
}
.lightbox__stage.is-zoomed { cursor: grab; }
.lightbox__stage.is-dragging { cursor: grabbing; }
.lightbox__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  padding: 1rem;
  transform-origin: center center;
  transition: transform .12s linear;
  user-select: none;
  -webkit-user-drag: none;
}

.lightbox__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
  padding: .8rem 1.25rem;
  border-top: 1px solid var(--line);
  background: rgba(0,0,0,.2);
}
.zoom { display: flex; align-items: center; gap: .5rem; }
.zoom__btn {
  appearance: none;
  cursor: pointer;
  width: 28px; height: 28px;
  display: grid; place-items: center;
  background: var(--void);
  border: 1px solid var(--line-bright);
  border-radius: var(--radius);
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 1rem;
  line-height: 1;
  transition: all .22s var(--ease);
}
.zoom__btn:hover { color: var(--amber); border-color: var(--amber); }
.zoom__level {
  min-width: 52px;
  text-align: center;
  font-size: .76rem;
  color: var(--ink);
}
.zoom__reset {
  appearance: none;
  cursor: pointer;
  background: none;
  border: 0;
  padding: .3rem .2rem;
  color: var(--ink-faint);
  font-size: .68rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  transition: color .22s var(--ease);
}
.zoom__reset:hover { color: var(--amber); }
.lightbox__note {
  margin: 0;
  font-size: .64rem;
  letter-spacing: .06em;
  color: var(--ink-faint);
}

@media (max-width: 700px) {
  .console__row { flex-direction: column; align-items: stretch; gap: 1.2rem; }
  .control { width: 100%; }
  .select-wrap { width: 100%; }
  .select { min-width: 0; }
  .lightbox__note { display: none; }
}

/* ============================================================
   Sidebar filters, sort, brand list — "everything, easy to filter"
   ============================================================ */

.catalog__inner--split {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 1.75rem;
  align-items: start;
}

.sidebar {
  position: sticky;
  top: 72px;                         /* just below the sticky masthead */
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-height: calc(100vh - 88px);    /* fills the viewport, scrolls internally */
  overflow-y: auto;
  padding-right: .4rem;
}

/* category chips stacked vertically in the narrow sidebar */
.chips--stack { flex-direction: column; align-items: stretch; gap: .3rem; }
.chips--stack .chip { text-align: left; }
.sidebar::-webkit-scrollbar { width: 8px; }
.sidebar::-webkit-scrollbar-thumb { background: var(--line-bright); border-radius: 4px; }

.sidebar__section {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: 1rem 1rem 1.05rem;
}
.sidebar__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .8rem;
}
.sidebar__head h3 {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0;
  font-weight: 500;
}
.sidebar__clear {
  appearance: none;
  cursor: pointer;
  background: none;
  border: 0;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color .2s var(--ease);
}
.sidebar__clear:hover { color: var(--amber); }

.select-wrap--full { display: block; }
.select-wrap--full .select { min-width: 0; width: 100%; }

/* brand search + list */
.brandsearch { margin-bottom: .6rem; }
.brandsearch__input {
  width: 100%;
  padding: .5rem .7rem;
  background: var(--void);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: .8rem;
}
.brandsearch__input:focus-visible { border-color: var(--amber); outline: none; }
.brandsearch__input::placeholder { color: var(--ink-faint); }

.brandlist {
  display: flex;
  flex-direction: column;
  gap: .05rem;
  max-height: 340px;
  overflow-y: auto;
}
.brandlist::-webkit-scrollbar { width: 6px; }
.brandlist::-webkit-scrollbar-thumb { background: var(--line-bright); border-radius: 3px; }

.brandrow {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .38rem .3rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .18s var(--ease);
}
.brandrow:hover { background: rgba(255,255,255,.03); }
.brandrow input { position: absolute; opacity: 0; width: 0; height: 0; }
.brandrow__box {
  width: 15px; height: 15px;
  border: 1px solid var(--line-bright);
  border-radius: 3px;
  flex: none;
  display: grid;
  place-items: center;
  transition: all .18s var(--ease);
}
.brandrow__box::after {
  content: '';
  width: 8px; height: 8px;
  border-radius: 1px;
  background: var(--amber);
  transform: scale(0);
  transition: transform .18s var(--ease-snap);
}
.brandrow input:checked + .brandrow__box { border-color: var(--amber); }
.brandrow input:checked + .brandrow__box::after { transform: scale(1); }
.brandrow input:focus-visible + .brandrow__box { outline: 2px solid var(--amber); outline-offset: 1px; }
.brandrow__name {
  flex: 1;
  font-size: .82rem;
  color: var(--ink-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brandrow input:checked ~ .brandrow__name { color: var(--ink); }
.brandrow__count {
  font-family: var(--font-mono);
  font-size: .68rem;
  color: var(--ink-faint);
}

/* checkboxes */
.check {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .34rem 0;
  cursor: pointer;
}
.check input { position: absolute; opacity: 0; width: 0; height: 0; }
.check__box {
  width: 15px; height: 15px;
  border: 1px solid var(--line-bright);
  border-radius: 3px;
  flex: none;
  display: grid; place-items: center;
  transition: all .18s var(--ease);
}
.check__box::after {
  content: '';
  width: 8px; height: 8px; border-radius: 1px;
  background: var(--amber);
  transform: scale(0);
  transition: transform .18s var(--ease-snap);
}
.check input:checked + .check__box { border-color: var(--amber); }
.check input:checked + .check__box::after { transform: scale(1); }
.check input:focus-visible + .check__box { outline: 2px solid var(--amber); outline-offset: 1px; }
.check__label { font-size: .82rem; color: var(--ink-soft); }

/* load more */
.loadmore { display: flex; justify-content: center; padding: 2.5rem 0 1rem; }
.loadmore__btn {
  appearance: none;
  cursor: pointer;
  padding: .8rem 2rem;
  background: var(--surface);
  border: 1px solid var(--line-bright);
  border-radius: 100px;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .06em;
  transition: all .25s var(--ease);
}
.loadmore__btn:hover { border-color: var(--amber); color: var(--amber); }

/* mobile filter toggle — hidden on desktop */
.filter-fab { display: none; }

@media (max-width: 900px) {
  .catalog__inner--split { grid-template-columns: 1fr; }
  .sidebar {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 86vw);
    max-height: none;
    z-index: 200;
    background: var(--base);
    border-left: 1px solid var(--line-bright);
    padding: 1.25rem 1rem;
    transform: translateX(100%);
    transition: transform .32s var(--ease);
    box-shadow: -20px 0 60px -20px rgba(0,0,0,.8);
  }
  .sidebar.is-open { transform: none; }
  .filter-fab {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1.25rem;
    padding: .6rem 1.1rem;
    background: var(--surface);
    border: 1px solid var(--line-bright);
    border-radius: 100px;
    color: var(--ink);
    font-family: var(--font-mono);
    font-size: .78rem;
    cursor: pointer;
  }
  .filter-fab svg { width: 15px; height: 15px; }
  #filter-fab-count:not(:empty) {
    background: var(--amber); color: var(--void);
    border-radius: 100px; padding: .05rem .4rem;
    font-size: .68rem; font-weight: 600;
  }
}

/* ---------- product search ---------- */
.searchbar {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 1.25rem;
}
.searchbar > svg {
  position: absolute;
  left: .95rem;
  width: 16px; height: 16px;
  color: var(--ink-faint);
  pointer-events: none;
}
.searchbar__input {
  width: 100%;
  padding: .8rem 2.8rem .8rem 2.6rem;
  background: var(--surface);
  border: 1px solid var(--line-bright);
  border-radius: 100px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: .92rem;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.searchbar__input::placeholder { color: var(--ink-faint); }
.searchbar__input:focus-visible {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(255,176,32,.12);
}
.searchbar__clear {
  position: absolute;
  right: .7rem;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  appearance: none; cursor: pointer;
  background: var(--void);
  border: 1px solid var(--line-bright);
  border-radius: 50%;
  color: var(--ink-soft);
  transition: all .2s var(--ease);
}
.searchbar__clear svg { width: 11px; height: 11px; }
.searchbar__clear:hover { color: var(--amber); border-color: var(--amber); }

/* ---------- condition tag ---------- */
.condition {
  display: inline-block;
  padding: .16rem .5rem;
  border-radius: 100px;
  border: 1px solid rgba(255,176,32,.4);
  color: var(--amber-hot);
  font-family: var(--font-mono);
  font-size: .58rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ============================================================
   Electricity — motion layer
   ============================================================ */

.hero__fx {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; }

/* wordmark bolt: occasional arc-flicker */
@keyframes boltflicker {
  0%, 91%, 100% { opacity: 1; filter: drop-shadow(0 0 7px rgba(255,176,32,.45)); }
  92%  { opacity: .55; filter: drop-shadow(0 0 2px rgba(255,176,32,.2)); }
  93%  { opacity: 1;   filter: drop-shadow(0 0 14px rgba(255,201,87,.9)); }
  94.5%{ opacity: .7; }
  96%  { opacity: 1;   filter: drop-shadow(0 0 10px rgba(255,176,32,.7)); }
}
.wordmark__glyph { animation: boltflicker 7.5s linear infinite; }

/* circuit-pulse: a charge traveling along section boundary lines */
.console, .method { position: relative; }
.console::after, .method::before {
  content: '';
  position: absolute;
  top: -1px; left: 0;
  height: 1px; width: 100%;
  background: linear-gradient(90deg,
    transparent 0%, transparent 42%,
    rgba(255,176,32,.9) 50%,
    transparent 58%, transparent 100%);
  background-size: 300% 100%;
  animation: circuitpulse 9s linear infinite;
  pointer-events: none;
}
.method::before { animation-delay: 4.5s; }
@keyframes circuitpulse {
  0%   { background-position: 120% 0; opacity: 0; }
  8%   { opacity: 1; }
  60%  { opacity: 1; }
  70%  { background-position: -60% 0; opacity: 0; }
  100% { background-position: -60% 0; opacity: 0; }
}

/* verified cards: a faint energized edge that brightens on hover */
.card--fit { border-color: rgba(95,214,138,.16); }
.card--fit:hover {
  border-color: rgba(95,214,138,.45);
  box-shadow: 0 16px 40px -18px rgba(0,0,0,.85), 0 0 24px -8px rgba(95,214,138,.25);
}

/* BEST tag: charged shimmer */
@keyframes bestcharge {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,176,32,0); }
  50%      { box-shadow: 0 0 10px 0 rgba(255,176,32,.55); }
}
.tag--best { animation: bestcharge 3.2s var(--ease) infinite; }

/* stat numbers: count-up handled in JS; give them a settle transition */
.stat__num { transition: opacity .4s var(--ease); }

/* chips + buttons: crisper press feedback */
.chip:active, .segmented__btn:active, .loadmore__btn:active { transform: scale(.96); }
.chip, .segmented__btn, .loadmore__btn { transition: transform .12s var(--ease), color .28s var(--ease), border-color .28s var(--ease), background .28s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  .wordmark__glyph, .console::after, .method::before, .tag--best { animation: none !important; }
}

/* ============================================================
   Compare tray + overlay
   ============================================================ */
.cardcmp {
  appearance: none; cursor: pointer;
  margin-left: auto; flex: none;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  background: none;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink-faint);
  font-size: .8rem; line-height: 1;
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.cardcmp:hover { color: var(--amber); border-color: var(--amber); }
.cardcmp.is-on { color: var(--void); background: var(--amber); border-color: var(--amber); }

.cmptray {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: rgba(10,11,9,.92);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line-bright);
}
.cmptray[hidden] { display: none; }
.cmptray__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; gap: 1rem;
  padding: .7rem var(--gutter);
}
.cmptray__label { font-size: .66rem; letter-spacing: .15em; text-transform: uppercase; color: var(--amber); }
.cmptray__items { display: flex; flex-wrap: wrap; gap: .45rem; flex: 1; }
.cmptray__item {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .3rem .4rem .3rem .7rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--surface);
  font-size: .74rem; color: var(--ink-soft);
}
.cmptray__item button {
  appearance: none; cursor: pointer;
  width: 18px; height: 18px; border-radius: 50%;
  background: none; border: 1px solid var(--line);
  color: var(--ink-faint); font-size: .7rem; line-height: 1;
}
.cmptray__item button:hover { color: var(--alert); border-color: var(--alert); }
.cmptray__go {
  appearance: none; cursor: pointer;
  padding: .55rem 1.4rem;
  background: var(--amber); border: 0; border-radius: 100px;
  color: var(--void);
  font-family: var(--font-mono); font-size: .74rem; font-weight: 600;
}
.cmptray__go:disabled { opacity: .35; cursor: not-allowed; }
.cmptray__clear {
  appearance: none; cursor: pointer;
  background: none; border: 0;
  color: var(--ink-faint);
  font-family: var(--font-mono); font-size: .72rem;
  text-decoration: underline dotted;
}
.cmptray__clear:hover { color: var(--alert); }

.cmpoverlay { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 2rem; }
.cmpoverlay[hidden] { display: none; }
.cmpoverlay__backdrop { position: absolute; inset: 0; background: rgba(6,7,6,.82); backdrop-filter: blur(6px); }
.cmpoverlay__panel {
  position: relative;
  width: min(1080px, 100%);
  max-height: 88vh;
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line-bright);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.cmpoverlay__bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.4rem;
  border-bottom: 1px solid var(--line);
}
.cmpoverlay__title {
  margin: 0;
  font-family: var(--font-display);
  font-variation-settings: 'wdth' 110, 'wght' 750;
  font-size: 1.2rem; letter-spacing: -.02em;
}
.cmpoverlay__scroll { overflow: auto; padding: 0 1.4rem 1.4rem; }
.cmptable { width: 100%; border-collapse: collapse; min-width: 640px; }
.cmptable th, .cmptable td {
  padding: .6rem .8rem;
  border-bottom: 1px solid var(--line);
  text-align: left; vertical-align: top;
  font-size: .82rem;
}
.cmptable th {
  font-family: var(--font-mono); font-size: .72rem;
  color: var(--amber); font-weight: 500;
  position: sticky; top: 0; background: var(--surface);
}
.cmptable th span { display: block; color: var(--ink-soft); font-size: .7rem; margin-top: .2rem; font-family: var(--font-sans); }
.cmptable td:first-child {
  font-family: var(--font-mono); font-size: .68rem;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-faint); white-space: nowrap;
}
.cmptable td strong { color: var(--amber-hot); }
.cmptable td em { color: var(--ink-faint); font-style: normal; font-size: .72rem; display: block; }
.cmptable .cmp--fit { color: var(--verified); }
.cmptable .cmp--unfit { color: var(--alert); }
.cmptable .cmp--unknown { color: var(--ink-faint); }
.cmpoverlay__link { color: var(--amber); text-decoration: none; font-size: .78rem; }

/* card title links to the product's own page */
.card__titlelink { color: inherit; text-decoration: none; }
.card__titlelink:hover { color: var(--amber); }

/* ============================================================
   Open-box pricing — a second pricing category on the card.
   Same part, returned by a customer; visually subordinate to the
   new price so it can never be mistaken for it.
   ============================================================ */
.offers--used {
  margin-top: .5rem;
  padding-top: .6rem;
  border-top: 1px dashed var(--line-bright);
}
.offers--used .offers__label { color: var(--ink-faint); }
.offers--used .offers__label > span:first-child { text-transform: capitalize; }
.offers--used .offer { opacity: .82; }
.offers--used .offer:hover { opacity: 1; }
.offers--used .offer__price { color: var(--ink-soft); }
.offers__save {
  color: var(--verified);
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .06em;
}
.offers__note {
  margin: .5rem 0 0;
  font-size: .66rem;
  line-height: 1.5;
  color: var(--ink-faint);
}
.offer__tag--cond {
  background: rgba(255,255,255,.07);
  color: var(--ink-faint);
  text-transform: capitalize;
}

/* product page open-box block */
.pblock--used { border-top: 1px dashed var(--line-bright); padding-top: 1.4rem; }
.pblock--used h2 { display: flex; align-items: baseline; gap: .7rem; }
.pblock--used h2 span { font-size: .72rem; color: var(--verified); }
.pblock--used .ptable td { opacity: .85; }
