/* Technology Gear World. One stylesheet for the whole site (lessons L02).
   Gear World family look: dark navy page, gold headings, photo hero and photo category tiles.
   Product cards stay white so product photos (on white backgrounds) look clean. */

@font-face { font-family: "Barlow"; src: url("/assets/fonts/barlow-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/assets/fonts/barlow-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("/assets/fonts/barlow-sc-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  /* dark page */
  --page: #0a1222;
  --deep: #060b16;
  --panel: #0f1b30;
  --panel-2: #14243f;
  --line: #22344f;
  --text: #e8edf5;
  --text-2: #a9b6c8;
  --gold: #f2b84b;
  --gold-2: #ffd27a;
  --link: #6cc8ff;
  /* light surfaces (cards, price box) */
  --surface: #ffffff;
  --paper: #f3f5f8;
  --paper-edge: #dde3ea;
  --ink: #111a28;
  --ink-2: #4b5666;
  --ink-link: #1747d1;
  --tag: #d7263d;
  --ok: #1d7a43;
  --ok-dark: #5ee08f;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Barlow Semi Condensed", "Barlow", system-ui, sans-serif;
  --gutter: 16px;
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--text); font: 400 1rem/1.55 var(--font-body); }
img { max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: 2px; }
a:hover { color: #fff; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.005em; }
h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem); color: #fff; }
h2 { font-size: clamp(1.5rem, 1.25rem + 0.9vw, 2rem); color: var(--gold); }
h3 { font-size: 1.125rem; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--gold); color: var(--ink); padding: 8px 12px; z-index: 10; }
.skip:focus { top: 8px; }
.icon { width: 20px; height: 20px; }

/* ---------- Masthead ---------- */
.masthead { background: var(--deep); color: var(--text); border-bottom: 1px solid var(--line); }
.masthead-row { display: flex; align-items: center; gap: 16px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; margin-right: auto; }
.brand img { width: 42px; height: 42px; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; line-height: 1; text-transform: uppercase; letter-spacing: .03em; }
.brand-accent { color: var(--gold); }
.brand:hover { color: #fff; }
.masthead-search { flex: 1 1 340px; max-width: 560px; }
.home .masthead-search { display: none; }

.search { display: flex; }
.search input {
  flex: 1; min-width: 0; height: 48px; padding: 0 14px;
  font: inherit; color: var(--ink); background: var(--surface);
  border: 2px solid var(--surface); border-right: 0; border-radius: 8px 0 0 8px;
}
.search input:focus { outline: none; border-color: var(--gold); }
.search button {
  display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 18px;
  font: 600 1rem var(--font-body); color: var(--ink); background: var(--gold);
  border: 0; border-radius: 0 8px 8px 0; cursor: pointer;
}
.search button:hover { background: var(--gold-2); }

.catbar { border-top: 1px solid var(--line); }
.catbar-list { display: flex; gap: 4px; list-style: none; margin: 0 auto; padding-top: 0; padding-bottom: 0; overflow-x: auto; scrollbar-width: none; }
.catbar-list::-webkit-scrollbar { display: none; }
.catbar a { display: block; padding: 11px 10px; color: #c9d3e0; font-weight: 600; font-size: .95rem; text-decoration: none; white-space: nowrap; border-bottom: 3px solid transparent; }
.catbar a:hover { color: #fff; }
.catbar a[aria-current="page"] { color: #fff; border-bottom-color: var(--gold); }

/* Gear World Hub strip: the same message on every site of the network */
.hub-strip { background: linear-gradient(90deg, #0d1e3b, #10284d 50%, #0d1e3b); border-top: 1px solid var(--line); }
.hub-row { display: flex; align-items: center; justify-content: center; gap: 8px 18px; flex-wrap: wrap; padding-top: 9px; padding-bottom: 9px; text-align: center; }
.hub-name { color: var(--gold); font-weight: 600; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; }
.hub-tagline { color: #fff; font-weight: 600; }
.hub-link { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--gold); border-radius: 999px; color: var(--gold); font-weight: 600; font-size: .92rem; text-decoration: none; }
.hub-link:hover { background: var(--gold); color: var(--ink); }

/* ---------- Home hero: photo with text on top ---------- */
.hero { position: relative; overflow: hidden; background: var(--deep); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6, 11, 22, .35) 0%, rgba(6, 11, 22, .72) 45%, rgba(6, 11, 22, .9) 80%, rgba(10, 18, 34, 1) 100%);
}
.hero-inner { position: relative; z-index: 1; padding-top: 48px; padding-bottom: 40px; }
.eyebrow { margin: 0 0 12px; color: var(--gold); font-weight: 600; font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; }
.hero h1 { max-width: 18ch; text-shadow: 0 2px 18px rgba(0, 0, 0, .45); }
.lede { font-size: 1.15rem; color: var(--text-2); max-width: 56ch; }
.hero .lede { color: #dbe3ee; }
.hero-search { max-width: 600px; margin: 22px 0 16px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 12px; }
.hero-facts { color: #c3cdda; font-size: .92rem; margin: 0; }
@media (min-width: 900px) {
  .hero-photo::after { background: linear-gradient(90deg, rgba(6, 11, 22, .94) 0%, rgba(6, 11, 22, .78) 42%, rgba(6, 11, 22, .2) 75%, rgba(6, 11, 22, .1) 100%); }
  .hero-inner { padding-top: 88px; padding-bottom: 84px; }
}

/* Numbers bar under the hero, written in the HTML by the server (lessons L09) */
.stats { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; margin: 0 auto; padding: 0; max-width: 1240px; }
.stats-list li {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0 6px; min-height: 64px; padding: 10px 12px;
  color: var(--gold); font-family: var(--font-head); font-weight: 700; font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; text-align: center;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.stats-list li:nth-child(2n) { border-right: 0; }
.stats-list li:nth-child(n + 3) { border-bottom: 0; }
.stats-list strong { color: #fff; font-size: 1.2rem; }
@media (min-width: 900px) {
  .stats-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stats-list li { border-bottom: 0; min-height: 72px; font-size: 1.1rem; }
  .stats-list li:nth-child(2n) { border-right: 1px solid var(--line); }
  .stats-list li:last-child { border-right: 0; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 18px; font: 600 1rem/1.2 var(--font-body); text-decoration: none; text-align: center; border-radius: 8px; cursor: pointer; border: 0; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-2); color: var(--ink); }
.btn-outline { border: 2px solid var(--gold); color: var(--gold); background: transparent; }
.btn-outline:hover { background: var(--gold); color: var(--ink); }
.btn-deal { margin-top: auto; width: 100%; background: var(--gold); color: var(--ink); }
.btn-deal:hover { background: var(--gold-2); color: var(--ink); }
.btn-big { min-height: 56px; font-size: 1.12rem; }
.btn-quiet { background: var(--panel-2); color: #fff; border: 1px solid var(--line); }
.btn-quiet:hover { background: var(--line); color: #fff; }

/* ---------- Sections ---------- */
.section { padding-top: 32px; padding-bottom: 32px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.more-link { font-weight: 600; }

/* Category tiles with photos */
.cat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; list-style: none; padding: 0; margin: 0; }
@media (min-width: 720px) { .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1100px) { .cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cat-tile {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto 1fr; height: 100%;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  color: var(--text); text-decoration: none; transition: border-color .15s ease, transform .15s ease;
}
.cat-tile img { grid-column: 1 / -1; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.cat-tile .cat-icon { grid-column: 1 / -1; width: 48px; height: 48px; margin: 16px; color: var(--gold); }
.cat-text { display: flex; flex-direction: column; gap: 2px; padding: 12px 0 14px 14px; min-width: 0; }
.cat-name { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; line-height: 1.15; color: var(--gold); }
.cat-count { color: var(--text-2); font-size: .9rem; }
.cat-chevron { align-self: center; width: 22px; height: 22px; margin: 0 12px 0 6px; color: #fff; }
.cat-tile:hover { border-color: var(--gold); color: var(--text); }
.cat-tile-deals { border-color: var(--gold); }
.cat-tile-deals img { object-position: 70% 50%; }
@media (prefers-reduced-motion: no-preference) { .cat-tile:hover { transform: translateY(-2px); } }
@media (max-width: 420px) { .cat-name { font-size: 1.02rem; } .cat-text { padding-left: 10px; } .cat-chevron { margin-right: 8px; width: 18px; } }

/* ---------- Product card (white, like a shelf label) ---------- */
.label-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 720px) { .label-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1100px) { .label-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.label-card { display: flex; flex-direction: column; min-width: 0; background: var(--surface); color: var(--ink); border: 1px solid var(--paper-edge); border-radius: var(--radius); overflow: hidden; }
.label-photo { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; padding: 14px; background: var(--surface); }
.label-photo img { width: 100%; height: 100%; object-fit: contain; }
.label-body { display: flex; flex-direction: column; gap: 4px; flex: 1; padding: 12px 12px 14px; background: var(--paper); border-top: 1px solid var(--paper-edge); }
.label-brand { margin: 0; font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.label-name { margin: 0; font-family: var(--font-body); font-weight: 600; font-size: .98rem; line-height: 1.3; }
.label-name a { color: var(--ink); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.label-name a:hover { text-decoration: underline; }
.label-price { margin: 6px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.price { font-family: var(--font-head); font-weight: 700; font-size: 1.75rem; line-height: 1; font-variant-numeric: tabular-nums; }
.was { color: var(--ink-2); font-size: .95rem; }
.tag-save { display: inline-block; margin: 0; padding: 2px 6px; background: var(--tag); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .85rem; border-radius: 3px; }
.label-meta { margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: .9rem; color: var(--ink-2); }
.retailer { font-weight: 600; color: var(--ink); }
.badge { padding: 0 6px; border: 1px solid var(--ink-2); border-radius: 3px; font-size: .8rem; }
.badge-out { border-color: var(--tag); color: var(--tag); }

/* ---------- How it works ---------- */
.steps { list-style: none; counter-reset: step; display: grid; gap: 16px; padding: 0; margin: 0; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; padding: 18px; background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius); }
.steps li::before { content: counter(step); display: block; font-family: var(--font-head); font-weight: 700; font-size: 2.25rem; line-height: 1; color: var(--gold); margin-bottom: 8px; }
.steps h3 { color: #fff; }
.steps p { color: var(--text-2); margin: 0; }

.retailer-list { list-style: none; padding: 0; margin: 0; max-width: 560px; }
.retailer-list li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.retailer-list .count { color: var(--text-2); font-weight: 400; font-variant-numeric: tabular-nums; }

/* ---------- Listing pages ---------- */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 16px 0 0; margin: 0; font-size: .9rem; color: var(--text-2); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--text-2); }
.page-head { padding: 16px 0 8px; }
.page-head h1 { color: var(--gold); }
.page-head .lede { margin-bottom: 0; }
.cat-banner { position: relative; overflow: hidden; margin-top: 12px; padding: 0; min-height: 180px; display: flex; align-items: flex-end; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.cat-banner-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cat-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 11, 22, .92) 0%, rgba(6, 11, 22, .72) 55%, rgba(6, 11, 22, .25) 100%); }
.cat-banner-text { position: relative; z-index: 1; padding: 22px 18px; }
.cat-banner .lede { color: #dbe3ee; max-width: 60ch; }
@media (min-width: 900px) { .cat-banner { min-height: 220px; } .cat-banner-text { padding: 30px 28px; } }
.page-search { max-width: 600px; margin-top: 12px; }
.listing { display: grid; gap: 20px; padding: 16px 0 40px; }
@media (min-width: 960px) { .listing { grid-template-columns: 260px minmax(0, 1fr); align-items: start; } .listing-side { position: sticky; top: 12px; } }
.result-count { color: var(--text-2); font-weight: 600; margin-bottom: 12px; }

.filters-box { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); }
.filters-box summary { padding: 12px 14px; font-weight: 600; cursor: pointer; }
.filters-fields { display: grid; gap: 14px; padding: 4px 14px 16px; }
.filters label { display: grid; gap: 4px; font-weight: 600; font-size: .92rem; }
.filters select, .filters input[type="number"] { width: 100%; min-height: 44px; padding: 6px 10px; font: inherit; font-weight: 400; color: var(--ink); background: var(--surface); border: 1px solid var(--paper-edge); border-radius: 8px; }
.price-range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; border: 0; padding: 0; margin: 0; }
.price-range legend { font-weight: 600; font-size: .92rem; padding: 0; margin-bottom: 4px; }
.filters .check { display: flex; align-items: center; gap: 8px; font-weight: 400; }
.filters .check input { width: 18px; height: 18px; accent-color: var(--gold); }
.filters-actions { display: flex; align-items: center; gap: 14px; }

.pager { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 28px 0 8px; flex-wrap: wrap; }
.pager ol { display: flex; gap: 4px; list-style: none; padding: 0; margin: 0; }
.pager a, .pager span { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; padding: 0 10px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.pager a { background: var(--panel); border: 1px solid var(--line); color: var(--text); }
.pager a:hover { border-color: var(--gold); }
.pager span[aria-current] { background: var(--gold); color: var(--ink); }
.pager .gap { align-self: center; color: var(--text-2); }
.pager-step { border: 1px solid var(--line); }

.empty { padding: 24px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 12px 0 0; }
.chip-list a { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; font-weight: 600; text-decoration: none; color: var(--text); }
.chip-list a:hover { border-color: var(--gold); }

/* ---------- Product page ---------- */
.product { display: grid; gap: 24px; padding: 16px 0 8px; }
@media (min-width: 900px) {
  .product { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
  .product-photo { aspect-ratio: 1 / 1; padding: 24px; }
}
.product-photo { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; padding: 16px; background: var(--surface); border: 1px solid var(--paper-edge); border-radius: var(--radius); }
.product-photo img { width: 100%; height: 100%; object-fit: contain; }
.product-label h1 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.3rem); max-width: 28ch; }
.product-label .label-brand { color: var(--gold); font-size: .95rem; margin-bottom: 4px; }
.shelf { margin-top: 16px; padding: 18px; background: var(--surface); color: var(--ink); border: 1px solid var(--paper-edge); border-bottom: 6px solid var(--gold); border-radius: var(--radius) var(--radius) 4px 4px; }
.shelf a { color: var(--ink-link); }
.shelf a.btn-deal { color: var(--ink); }
.shelf-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin: 0 0 8px; }
.shelf-price .price { font-size: 3rem; }
.shelf-price .was { font-size: 1.1rem; }
.shelf .tag-save { margin-bottom: 12px; }
.shelf-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; margin: 12px 0 18px; }
.shelf-facts dt { font-size: .85rem; color: var(--ink-2); }
.shelf-facts dd { margin: 0; font-weight: 600; }
.shelf-facts .ok { color: var(--ok); }
.shelf-facts .warn { color: var(--tag); }
.shelf-note { margin: 12px 0 0; font-size: .88rem; color: var(--ink-2); }
.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
article.prose { padding: 8px 0 48px; }
.spec-sheet { margin: 0; max-width: 760px; border-top: 2px solid var(--gold); }
.spec-sheet div { display: grid; grid-template-columns: minmax(120px, 2fr) 3fr; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.spec-sheet dt { color: var(--text-2); }
.spec-sheet dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }

/* ---------- Newsletter ---------- */
.newsletter { padding: 24px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); max-width: 640px; }
.newsletter form { display: grid; gap: 12px; }
.newsletter input[type="email"] { min-height: 48px; padding: 0 12px; font: inherit; color: var(--ink); background: var(--surface); border: 2px solid var(--surface); border-radius: 8px; }
.newsletter .check { display: flex; gap: 8px; align-items: flex-start; font-size: .92rem; }
.form-status { min-height: 1.5em; margin: 0; font-weight: 600; }
.form-status.is-error { color: #ff8a98; }
.form-status.is-ok { color: var(--ok-dark); }

/* ---------- Footer ---------- */
.site-footer { margin-top: 40px; background: var(--deep); color: #b6c2d2; border-top: 1px solid var(--line); }
.footer-grid { display: grid; gap: 28px; padding-top: 36px; padding-bottom: 24px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer h2 { font-size: 1.1rem; color: var(--gold); }
.site-footer ul { list-style: none; padding: 0; margin: 0; columns: 1; }
.footer-grid section:first-child ul { columns: 2; column-gap: 24px; }
.site-footer li { margin-bottom: 6px; break-inside: avoid; }
.site-footer a { color: #c9d3e0; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-note { padding-top: 16px; padding-bottom: 28px; border-top: 1px solid var(--line); font-size: .9rem; }
.footer-note p { max-width: 90ch; }

@media (min-width: 768px) { :root { --gutter: 24px; } }
@media print { .masthead, .site-footer, .filters, .btn-deal, .hub-strip { display: none; } body { background: #fff; color: #000; } }

/* Compare (lessons L23) */
.btn-compare { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 40px; margin-top: 6px; padding: 8px 12px; font: 600 .95rem/1.2 var(--font-body); color: var(--ink); background: var(--surface); border: 1px solid var(--paper-edge); border-radius: 8px; cursor: pointer; }
.btn-compare:hover { border-color: var(--ink-2); }
.btn-compare[aria-pressed="true"] { background: #fff6e0; border-color: var(--gold); }
.btn-compare[hidden], .compare-bar[hidden] { display: none; }
.btn-compare-big { min-height: 46px; margin-top: 10px; }
.compare-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 12px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--deep); border-top: 2px solid var(--gold); box-shadow: 0 -6px 18px rgba(0,0,0,.35); }
.compare-count { margin: 0; color: var(--text); font-weight: 600; }
.compare-bar .btn { min-height: 44px; }
.compare-go[aria-disabled="true"] { opacity: .6; cursor: default; }
.compare-clear { background: transparent; color: var(--text); border: 1px solid var(--line); }
body.has-compare-bar { padding-bottom: 76px; }
.compare-lead { color: var(--text-2); max-width: 60ch; }
.compare-scroll { overflow-x: auto; margin: 16px 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.compare-table { width: 100%; min-width: 560px; border-collapse: collapse; color: var(--ink); font-size: .95rem; }
.compare-table th, .compare-table td { padding: 10px 12px; border-bottom: 1px solid var(--paper-edge); text-align: left; vertical-align: top; }
.compare-table thead th { vertical-align: bottom; background: var(--paper); }
.compare-table tbody th { width: 128px; color: var(--ink-2); font-weight: 600; background: var(--paper); }
.compare-table .is-pick { background: #fff8e8; box-shadow: inset 2px 0 0 var(--gold), inset -2px 0 0 var(--gold); }
.compare-table a { color: var(--ink-link); }
.compare-table .btn-deal { color: var(--ink); min-width: 140px; }
.compare-photo img { display: block; width: 120px; height: 120px; object-fit: contain; background: #fff; margin-bottom: 8px; }
.compare-name { display: block; font-weight: 600; line-height: 1.3; max-width: 26ch; }
.compare-remove { display: inline-block; margin-top: 6px; font-size: .88rem; }
.compare-price { font-size: 1.15rem; }
.compare-table .ok { color: var(--ok); font-weight: 600; }
.compare-table .warn { color: var(--tag); font-weight: 600; }
.pick-badge { display: inline-block; margin-bottom: 8px; padding: 3px 8px; font-size: .78rem; font-weight: 700; letter-spacing: .02em; color: var(--ink); background: var(--gold); border-radius: 999px; }
.pick-box { margin: 16px 0; padding: 14px 16px; border: 2px solid var(--gold); border-radius: var(--radius); background: var(--panel); }
.pick-box p { margin: 4px 0; }
.pick-label { color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; }
.pick-name a { color: var(--text); font-weight: 700; font-size: 1.1rem; }
.pick-note, .pick-rule { color: var(--text-2); font-size: .92rem; max-width: 70ch; }
.compare-table tbody th, .compare-table thead th:first-child { position: sticky; left: 0; z-index: 1; }
@media (max-width: 600px) { .compare-table tbody th { width: 84px; padding: 10px 8px; font-size: .85rem; } .compare-photo img { width: 96px; height: 96px; } }
