:root {
  color-scheme: light;
  --canvas: #f3f4f1;
  --paper: #fffefb;
  --ink: #1b2936;
  --muted: #66737d;
  --faint: #687981;
  --line: #dbe1e0;
  --line-strong: #bfc9ca;
  --blue: #2154d8;
  --blue-deep: #163da4;
  --blue-pale: #eef3ff;
  --mint: #e8f3ec;
  --mint-ink: #326148;
  --amber: #fff3db;
  --amber-ink: #8a5b13;
  --red-pale: #faeeeb;
  --red-ink: #9c493f;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: "Avenir Next", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; }
button, select, summary { cursor: pointer; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
::selection { background: #cad8ff; }

.shell { width: min(100% - 64px, 1320px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 100; padding: 10px 14px; transform: translateY(-150%); background: var(--blue); color: white; }
.skip-link:focus { transform: translateY(0); }

/* A compact index header gives the directory the first screen. */
.site-header { position: relative; z-index: 10; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 58px; display: flex; align-items: center; gap: 36px; }
.brand { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-size: 15px; font-weight: 800; letter-spacing: -.045em; }
.brand small { margin-left: 4px; color: var(--faint); font-family: "DIN Alternate", "SFMono-Regular", monospace; font-size: 10px; letter-spacing: .04em; font-weight: 600; }
.brand-symbol { width: 24px; height: 22px; display: flex; align-items: flex-end; gap: 3px; transform: skewX(-12deg); }
.brand-symbol i { display: block; width: 5px; background: var(--blue); }
.brand-symbol i:nth-child(1) { height: 11px; }
.brand-symbol i:nth-child(2) { height: 18px; }
.brand-symbol i:nth-child(3) { height: 14px; }
.header-nav { align-self: stretch; display: flex; align-items: stretch; gap: 28px; margin-left: 28px; }
.header-nav a { position: relative; display: inline-flex; align-items: center; color: var(--muted); font-size: 12px; font-weight: 700; white-space: nowrap; }
.header-nav a:hover { color: var(--blue); }
.header-nav a.current { color: var(--ink); }
.header-nav a.current::after { content: ""; position: absolute; height: 3px; left: 0; right: 0; bottom: -1px; background: var(--blue); }
.header-note { margin-left: auto; color: var(--faint); font-size: 11px; letter-spacing: .02em; white-space: nowrap; }

.directory-main { padding-bottom: 84px; }
.intro-line { min-height: 111px; display: flex; justify-content: space-between; align-items: end; gap: 24px; padding: 24px 0 18px; }
.eyebrow { margin: 0; color: var(--blue); font-family: "DIN Alternate", "SFMono-Regular", monospace; font-size: 10px; font-weight: 800; letter-spacing: .17em; }
.intro-line h1 { margin: 6px 0 0; font-size: clamp(26px, 2.55vw, 36px); line-height: 1.14; font-weight: 800; letter-spacing: -.075em; }
.intro-note { margin: 0 1px 2px 0; color: var(--muted); font-size: 11px; line-height: 1.65; text-align: right; white-space: nowrap; }
.search-zone { position: relative; }
.search-shell { height: 62px; display: flex; align-items: center; gap: 13px; padding: 0 17px; border: 1.5px solid var(--blue); background: var(--paper); box-shadow: 4px 4px 0 #dfe7f8; }
.search-shell:focus-within { box-shadow: 4px 4px 0 #cbd9fb; }
.search-icon { width: 21px; height: 21px; flex: none; color: var(--blue); }
.search-shell input { min-width: 0; flex: 1; height: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 16px; font-weight: 550; }
.search-shell input::placeholder { color: #81909a; opacity: 1; }
.search-shell input::-webkit-search-cancel-button { display: none; }
.search-clear { border: 0; border-bottom: 1px solid currentColor; padding: 3px 0; background: transparent; color: var(--blue); font-size: 12px; font-weight: 750; }
.search-key { min-width: 22px; padding: 3px 6px; border: 1px solid var(--line); color: var(--faint); background: #fafafa; font-size: 11px; text-align: center; }
.quick-line { min-height: 50px; display: flex; align-items: center; gap: 17px; padding: 11px 0 10px; }
.product-quick-line { min-height: 43px; padding-bottom: 5px; border-bottom: 1px solid var(--line); }
.quick-caption { flex: none; color: var(--faint); font-size: 11px; font-weight: 750; white-space: nowrap; }
.quick-scroll { min-width: 0; display: flex; align-items: center; gap: 7px; overflow-x: auto; scrollbar-width: none; }
.quick-scroll::-webkit-scrollbar { display: none; }
.quick-chip { flex: none; padding: 7px 11px; border: 1px solid var(--line-strong); border-radius: 3px; background: var(--paper); color: var(--ink); font-size: 11px; font-weight: 700; line-height: 1; transition: border-color .15s, background .15s, color .15s; }
.quick-chip:hover { border-color: var(--blue); color: var(--blue); }
.quick-chip[aria-pressed="true"] { border-color: var(--blue); background: var(--blue); color: white; }
.quick-count { margin-left: 3px; color: var(--faint); font-family: "DIN Alternate", "SFMono-Regular", monospace; font-size: 10px; }
.quick-chip[aria-pressed="true"] .quick-count { color: rgb(255 255 255 / .8); }
.quick-divider { height: 17px; border-left: 1px solid var(--line-strong); margin-inline: 3px; flex: none; }

.catalog-layout { display: grid; grid-template-columns: 218px minmax(0, 1fr); align-items: start; gap: 23px; margin-top: 2px; }
.filter-column { min-width: 0; }
.filter-panel { position: sticky; top: 18px; background: #f8faf7; border: 1px solid var(--line); }
.filter-panel summary { display: none; }
.filter-body { padding: 20px 17px 18px; }
.filter-heading { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.filter-heading.secondary { margin-top: 24px; }
.filter-heading span { color: var(--blue); font-family: "DIN Alternate", monospace; font-size: 10px; font-weight: 800; }
.filter-heading h2 { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: -.015em; }
.filter-options { display: grid; gap: 2px; }
.filter-options button { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 5px; width: 100%; padding: 0 9px; border: 1px solid transparent; background: transparent; font-size: 11px; text-align: left; }
.filter-options button span { color: var(--faint); font-family: "DIN Alternate", "SFMono-Regular", monospace; font-size: 11px; }
.filter-options button:hover { border-color: var(--line); background: white; }
.filter-options button[aria-pressed="true"] { border-color: #cad7fb; background: var(--blue-pale); color: var(--blue-deep); font-weight: 750; }
.filter-options button[aria-pressed="true"] span { color: var(--blue); }
.payment-options { display: flex; flex-wrap: wrap; gap: 6px; }
.payment-options button { min-height: 29px; padding: 5px 8px; border: 1px solid var(--line-strong); background: var(--paper); font-size: 10px; font-weight: 650; }
.payment-options button:hover { border-color: var(--blue); }
.payment-options button[aria-pressed="true"] { border-color: var(--blue); color: var(--blue-deep); background: var(--blue-pale); }
.field-label { display: block; margin: 0 0 7px; color: var(--muted); font-size: 10px; line-height: 1.4; }
.field-select { width: 100%; min-height: 34px; padding: 5px 26px 5px 8px; border: 1px solid var(--line-strong); border-radius: 0; background: var(--paper); color: var(--ink); font-size: 11px; }
.check-row { display: flex; align-items: start; gap: 6px; margin-top: 15px; color: var(--ink); font-size: 11px; line-height: 1.5; cursor: pointer; }
.check-row input { margin: 2px 0 0; accent-color: var(--blue); }
.price-range { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.price-range label { display: grid; gap: 5px; color: var(--muted); font-size: 10px; }
.price-range input { width: 100%; min-width: 0; min-height: 33px; padding: 5px 7px; border: 1px solid var(--line-strong); border-radius: 0; background: var(--paper); color: var(--ink); font-size: 11px; }
.price-range-note { margin-top: 8px; }
.filter-footnote { margin: 18px 0 0; padding-top: 13px; border-top: 1px solid var(--line); color: var(--faint); font-size: 10px; line-height: 1.6; }

.results-column { min-width: 0; }
.result-toolbar { min-height: 64px; display: flex; align-items: end; justify-content: space-between; gap: 20px; padding: 0 0 8px; border-bottom: 1px solid var(--line-strong); }
.result-eyebrow { font-size: 9px; }
.result-toolbar h2 { margin: 3px 0 0; font-size: 21px; line-height: 1.1; letter-spacing: -.055em; }
.result-toolbar h2 span { color: var(--blue); font-family: "DIN Alternate", "SFMono-Regular", monospace; font-weight: 800; }
.result-toolbar h2 small { color: var(--muted); font-size: 11px; font-weight: 500; letter-spacing: 0; }
.catalog-views { display: flex; gap: 5px; margin-top: 6px; }
.catalog-views button { min-height: 31px; padding: 5px 10px; border: 1px solid transparent; background: transparent; color: var(--muted); font-size: 14px; font-weight: 800; letter-spacing: -.035em; }
.catalog-views button:hover { color: var(--blue); }
.catalog-views button[aria-pressed="true"] { border-color: #cad7fb; background: var(--blue-pale); color: var(--blue-deep); }
.catalog-views button span { margin-left: 3px; color: var(--faint); font-family: "DIN Alternate", "SFMono-Regular", monospace; font-size: 12px; letter-spacing: 0; }
.catalog-views button[aria-pressed="true"] span { color: var(--blue); }
.sort-wrap { display: flex; align-items: center; gap: 10px; padding-bottom: 2px; white-space: nowrap; }
.sort-wrap label { color: var(--muted); font-size: 11px; }
.sort-wrap select { min-width: 137px; min-height: 31px; padding: 4px 26px 4px 9px; border: 1px solid var(--line-strong); border-radius: 0; color: var(--ink); background: var(--paper); font-size: 11px; font-weight: 700; }
.sort-explain { min-height: 23px; margin: 7px 0 5px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.active-filters:not(:empty) { padding: 3px 0 12px; }
.active-filter { display: inline-flex; align-items: center; gap: 5px; min-height: 24px; padding: 2px 8px; border: 1px solid #cbd9fa; background: var(--blue-pale); color: var(--blue-deep); font-size: 10px; font-weight: 700; }
.active-filter:hover { border-color: var(--blue); }
.clear-all { padding: 2px 4px; border: 0; background: transparent; color: var(--muted); font-size: 10px; text-decoration: underline; text-underline-offset: 2px; }
.clear-all:hover { color: var(--blue); }

.catalog-list { display: grid; gap: 8px; }
.merchant-card { position: relative; min-height: 111px; display: grid; grid-template-columns: minmax(130px, 1.02fr) minmax(165px, 1.42fr) minmax(100px, .78fr) minmax(145px, 1fr) 114px; align-items: center; gap: 12px; padding: 13px 16px; border: 1px solid var(--line); background: var(--paper); transition: border-color .16s, transform .16s; }
.merchant-card:hover { border-color: #a7baf0; transform: translateY(-1px); }
.merchant-card::before { content: ""; position: absolute; left: -1px; top: -1px; bottom: -1px; width: 3px; background: transparent; }
.merchant-card:hover::before { background: var(--blue); }
.merchant-cell { display: flex; align-items: center; gap: 11px; min-width: 0; }
.merchant-avatar { width: 37px; height: 37px; flex: none; display: grid; place-items: center; border: 1px solid currentColor; font-family: "DIN Alternate", "SFMono-Regular", monospace; font-size: 12px; font-weight: 800; letter-spacing: -.05em; }
.merchant-avatar[data-color="blue"] { color: #2a53b8; background: #ecf1ff; }
.merchant-avatar[data-color="orange"] { color: #ac6330; background: #fcf0e5; }
.merchant-avatar[data-color="violet"] { color: #7865ad; background: #f1edfa; }
.merchant-avatar[data-color="teal"] { color: #267b80; background: #e6f4f3; }
.merchant-avatar[data-color="copper"] { color: #9f5a48; background: #f9eeeb; }
.merchant-avatar[data-color="green"] { color: #4a7458; background: #e8f2e9; }
.merchant-avatar[data-color="slate"] { color: #506978; background: #edf2f4; }
.merchant-avatar[data-color="rose"] { color: #9f6072; background: #f9eef1; }
.merchant-name { display: inline-block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 800; letter-spacing: -.035em; }
.merchant-name:hover { color: var(--blue); }
.merchant-domain { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 3px; color: var(--faint); font-family: "DIN Alternate", "SFMono-Regular", monospace; font-size: 10px; }
.merchant-launch { display: block; margin-top: 4px; color: var(--blue-deep); font-size: 9px; font-weight: 750; white-space: nowrap; }
.merchant-home-link, .offer-source-link { display: inline-block; margin-top: 5px; color: var(--blue); font-size: 10px; font-weight: 750; text-decoration: underline; text-underline-offset: 2px; }
.merchant-home-link:hover, .offer-source-link:hover { color: var(--blue-deep); }
.offer-cell { min-width: 0; }
.offer-title { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 12px; font-weight: 750; }
.offer-subline { margin-top: 5px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; color: var(--muted); font-size: 10px; line-height: 1.35; }
.offer-subline b { color: var(--ink); font-weight: 700; }
.service-area { color: var(--red-ink); font-weight: 750; }
.form-tag { display: inline-flex; align-items: center; padding: 3px 5px; border: 1px solid #d1dbea; background: #f5f8fd; color: #43607f; font-size: 9px; font-weight: 750; line-height: 1; white-space: nowrap; }
.offer-extra { margin-top: 4px; color: var(--muted); font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.price-cell { min-width: 0; }
.price-value { display: block; font-family: "DIN Alternate", "Avenir Next", sans-serif; font-variant-numeric: tabular-nums; font-size: 25px; line-height: 1; font-weight: 800; letter-spacing: -.04em; white-space: nowrap; }
.price-value small { margin-right: 1px; font-size: 14px; }
.price-value.unknown { color: var(--muted); font-family: inherit; font-size: 12px; font-weight: 750; letter-spacing: 0; }
.price-note { display: block; margin-top: 6px; color: var(--faint); font-size: 10px; white-space: nowrap; }
.facts-cell { min-width: 0; display: grid; gap: 5px; }
.fact-line { display: flex; gap: 6px; align-items: baseline; overflow: hidden; font-size: 10px; line-height: 1.35; white-space: nowrap; }
.fact-line span { flex: none; color: var(--faint); }
.fact-line strong { overflow: hidden; text-overflow: ellipsis; font-weight: 700; }
.fact-line strong.unchecked { color: var(--amber-ink); }
.card-actions { display: grid; gap: 7px; justify-items: stretch; }
.source-link { display: inline-flex; align-items: center; justify-content: center; min-height: 32px; padding: 7px 10px; border: 1px solid var(--blue); background: var(--blue); color: white; font-size: 10px; font-weight: 800; white-space: nowrap; }
.source-link:hover { background: var(--blue-deep); }
.detail-link { color: var(--blue); text-align: center; font-size: 10px; font-weight: 750; }
.detail-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.status-note { display: inline-flex; align-items: center; gap: 4px; color: #48637b; }
.status-note::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #7d9cc0; }
.status-note.pending { color: var(--amber-ink); }
.status-note.pending::before { background: #caa565; }
.status-note.soldout { color: var(--red-ink); }
.status-note.soldout::before { background: #bd7d72; }
.availability-note { color: var(--muted); font-weight: 750; }
.availability-note.available { color: var(--mint-ink); }
.availability-note.preorder { color: var(--amber-ink); }
.availability-note.soldout { color: var(--red-ink); }
.availability-note.pending { color: var(--amber-ink); }
.group-needs-check .merchant-card { background: #fbfbf8; }
.product-card { min-height: 104px; display: grid; grid-template-columns: minmax(175px, 1.55fr) minmax(100px, .7fr) minmax(170px, 1.25fr) 124px; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); background: var(--paper); transition: border-color .16s, transform .16s; }
.product-card:hover { border-color: #a7baf0; transform: translateY(-1px); }
.group-needs-check .product-card { background: #fbfbf8; }
.product-main { min-width: 0; }
.product-main .offer-title { font-size: 13px; }
.product-main .form-tag { margin-top: 7px; }
.product-merchant { display: block; margin-top: 7px; overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.product-merchant.has-invite { overflow: visible; white-space: normal; }
.product-merchant a { color: var(--ink); font-weight: 800; }
.product-merchant a:hover { color: var(--blue); }
.product-merchant .merchant-ref-inline { color: var(--blue); }
.product-facts { min-width: 0; display: grid; gap: 5px; color: var(--muted); font-size: 10px; line-height: 1.35; }
.product-facts > span:not(.status-note) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.product-facts .status-note { font-weight: 700; }

.empty-state { margin-top: 9px; padding: 40px 30px; border: 1px dashed var(--line-strong); background: var(--paper); }
.empty-index { color: var(--blue); font-family: "DIN Alternate", monospace; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.empty-state h3 { margin: 8px 0 7px; font-size: 21px; letter-spacing: -.04em; }
.empty-state p { max-width: 530px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.empty-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 19px; }
.empty-actions button { min-height: 34px; padding: 7px 12px; border: 1px solid var(--line-strong); background: var(--paper); color: var(--ink); font-size: 11px; font-weight: 750; }
.empty-actions button:first-child { border-color: var(--blue); background: var(--blue); color: white; }
.no-script { padding: 20px; border: 1px solid var(--line); background: var(--paper); }

.site-footer { border-top: 1px solid var(--line); background: var(--paper); }
.footer-inner { min-height: 110px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-inner strong { font-size: 13px; }
.footer-inner p { margin: 5px 0 0; color: var(--muted); font-size: 11px; }
.footer-inner > div:last-child { display: flex; gap: 25px; }
.footer-inner a { color: var(--muted); font-size: 11px; font-weight: 700; white-space: nowrap; }
.footer-inner a:hover { color: var(--blue); }

/* Secondary pages use the same restrained product vocabulary. */
.inner-main { padding: 44px 0 96px; }
.breadcrumb { display: flex; gap: 7px; align-items: center; color: var(--faint); font-size: 11px; }
.breadcrumb a:hover { color: var(--blue); }
.inner-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .45fr); align-items: end; gap: 40px; margin: 31px 0 30px; padding-bottom: 30px; border-bottom: 1px solid var(--line-strong); }
.inner-hero h1 { max-width: 800px; margin: 8px 0 0; font-size: clamp(34px, 4.6vw, 60px); line-height: 1.12; letter-spacing: -.075em; }
.inner-hero p:last-child { margin: 0 0 5px; color: var(--muted); font-size: 13px; line-height: 1.75; }
.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.content-card { min-height: 175px; padding: 23px 25px; border: 1px solid var(--line); background: var(--paper); }
.content-card.wide { grid-column: 1 / -1; }
.content-number { color: var(--blue); font-family: "DIN Alternate", monospace; font-size: 11px; font-weight: 800; }
.content-card h2 { margin: 11px 0 9px; font-size: 19px; letter-spacing: -.04em; }
.content-card p, .content-card li { color: var(--muted); font-size: 12px; line-height: 1.8; }
.content-card p { margin: 0; }
.content-card ul { margin: 9px 0 0; padding-left: 18px; }
.content-card a { color: var(--blue); font-weight: 750; }
.content-card a:hover { text-decoration: underline; }
.back-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 27px; color: var(--blue); font-size: 12px; font-weight: 750; }
.back-link:hover { text-decoration: underline; }
.merchant-hero { display: flex; align-items: center; gap: 17px; margin: 27px 0 16px; }
.merchant-hero .merchant-avatar { width: 58px; height: 58px; font-size: 17px; }
.merchant-hero h1 { margin: 0; font-size: clamp(28px, 4vw, 44px); letter-spacing: -.06em; }
.merchant-hero p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.merchant-hero .merchant-launch-detail { margin-top: 7px; color: var(--blue-deep); font-size: 11px; font-weight: 700; }
.merchant-launch-detail a { margin-left: 4px; color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.merchant-entry-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 0 0 19px; }
.merchant-invite-link { color: var(--blue); font-size: 12px; font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
.merchant-invite-link:hover { color: var(--blue-deep); }
.merchant-entry-hint { color: var(--muted); font-size: 11px; }
.merchant-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 22px 0 25px; }
.summary-box { min-height: 100px; padding: 17px; border: 1px solid var(--line); background: var(--paper); }
.summary-box span { display: block; color: var(--faint); font-size: 10px; }
.summary-box strong { display: block; margin-top: 8px; font-size: 13px; line-height: 1.45; }
.merchant-section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; margin-bottom: 9px; }
#products { scroll-margin-top: 18px; }
.merchant-section-title h2 { margin: 0; font-size: 18px; }
.merchant-section-title p { margin: 0; color: var(--faint); font-size: 10px; }
.detail-search-shell { min-height: 45px; display: flex; align-items: center; gap: 9px; margin-bottom: 10px; padding: 0 12px; border: 1px solid var(--line-strong); background: var(--paper); }
.detail-search-shell:focus-within { border-color: var(--blue); }
.detail-search-shell .search-icon { width: 17px; height: 17px; }
.detail-search-shell input { min-width: 0; flex: 1; height: 43px; border: 0; outline: 0; background: transparent; font-size: 12px; }
.detail-search-shell input::-webkit-search-cancel-button { display: none; }
.detail-search-shell button { border: 0; background: transparent; color: var(--blue); font-size: 11px; font-weight: 750; }
.detail-offers { display: grid; gap: 8px; }
.detail-empty { display: grid; gap: 5px; padding: 28px 19px; border: 1px dashed var(--line-strong); background: var(--paper); font-size: 13px; }
.detail-empty span { color: var(--muted); font-size: 11px; }
.detail-offer { display: grid; grid-template-columns: minmax(200px, 1.5fr) minmax(110px, .5fr) minmax(190px, 1fr) 125px; gap: 16px; align-items: center; min-height: 100px; padding: 17px 19px; border: 1px solid var(--line); background: var(--paper); }
.detail-offer h3 { margin: 0 0 6px; font-size: 13px; }
.detail-offer p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.detail-offer .price-value { font-size: 23px; }
.detail-offer .source-link { min-height: 34px; }
.detail-offer .meta-line { margin-top: 5px; }
.merchant-caution { margin-top: 20px; padding: 18px 20px; border-left: 3px solid var(--blue); background: var(--blue-pale); color: #405774; font-size: 12px; line-height: 1.8; }
.merchant-caution strong { color: var(--ink); }

@media (max-width: 1100px) {
  .merchant-card { grid-template-columns: minmax(125px, 1fr) minmax(180px, 1.6fr) 106px 112px; }
  .facts-cell { grid-column: 2 / 4; grid-row: 2; display: flex; gap: 14px; }
  .merchant-card { row-gap: 5px; }
  .card-actions { grid-column: 4; grid-row: 1 / 3; }
  .merchant-cell { grid-row: 1 / 3; }
  .product-card { grid-template-columns: minmax(150px, 1.4fr) 100px minmax(140px, 1fr) 114px; gap: 9px; }
}

@media (max-width: 850px) {
  .shell { width: min(100% - 32px, 1320px); }
  .header-inner { gap: 15px; }
  .brand small, .header-note { display: none; }
  .header-nav { gap: 16px; margin-left: auto; }
  .catalog-layout { display: flex; flex-direction: column; gap: 5px; }
  .filter-column { width: 100%; }
  .filter-panel { position: static; background: var(--paper); }
  .filter-panel summary { min-height: 40px; display: flex; align-items: center; gap: 5px; padding: 0 12px; font-size: 11px; font-weight: 750; list-style: none; }
  .filter-panel summary::-webkit-details-marker { display: none; }
  .filter-panel summary span:last-child { margin-left: auto; color: var(--blue); font-size: 16px; transition: transform .15s; }
  .filter-panel[open] summary span:last-child { transform: rotate(180deg); }
  .filter-body { padding: 15px; border-top: 1px solid var(--line); }
  .filter-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .results-column { width: 100%; }
  .merchant-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 630px) {
  .header-inner { min-height: 53px; }
  .brand { gap: 7px; font-size: 12px; }
  .brand-symbol { width: 18px; height: 17px; gap: 2px; }
  .brand-symbol i { width: 4px; }
  .brand-symbol i:nth-child(1) { height: 8px; }
  .brand-symbol i:nth-child(2) { height: 14px; }
  .brand-symbol i:nth-child(3) { height: 10px; }
  .header-nav { gap: 10px; }
  .header-nav a { font-size: 10px; }
  .intro-line { display: block; min-height: auto; padding: 22px 0 16px; }
  .intro-line h1 { margin-top: 5px; font-size: 25px; }
  .intro-note { margin-top: 8px; font-size: 10px; line-height: 1.35; text-align: left; }
  .search-shell { height: 54px; padding: 0 12px; gap: 8px; box-shadow: 3px 3px 0 #dfe7f8; }
  .search-shell input { font-size: 12px; }
  .search-key { display: none; }
  .quick-line { min-height: 45px; gap: 9px; padding: 8px 0; }
  .quick-caption { font-size: 10px; }
  .quick-chip { padding: 7px 9px; font-size: 10px; }
  .result-toolbar { min-height: 60px; align-items: center; }
  .catalog-views button { min-height: 30px; padding: 5px 8px; font-size: 12px; }
  .catalog-views button span { font-size: 11px; }
  .sort-wrap { gap: 5px; }
  .sort-wrap label { display: none; }
  .sort-wrap select { min-width: 114px; max-width: 120px; font-size: 10px; }
  .sort-explain { margin-top: 5px; font-size: 9px; }
  .merchant-card { min-height: 179px; grid-template-columns: minmax(0, 1fr) 102px; grid-template-rows: auto auto auto auto; gap: 5px 10px; padding: 12px 13px; }
  .merchant-cell { grid-column: 1; grid-row: 1; }
  .merchant-avatar { width: 31px; height: 31px; font-size: 10px; }
  .merchant-name { font-size: 13px; }
  .merchant-domain { margin-top: 2px; font-size: 9px; }
  .merchant-launch { margin-top: 2px; font-size: 9px; }
  .merchant-home-link, .offer-source-link { font-size: 9px; }
  .offer-cell { grid-column: 1 / -1; grid-row: 2; }
  .offer-title { font-size: 11px; }
  .offer-subline, .offer-extra { font-size: 9px; }
  .price-cell { grid-column: 2; grid-row: 1; text-align: right; }
  .price-value { font-size: 21px; }
  .price-value.unknown { font-size: 10px; }
  .price-note { margin-top: 4px; font-size: 9px; }
  .facts-cell { grid-column: 1 / -1; grid-row: 3; display: flex; gap: 10px; flex-wrap: wrap; }
  .fact-line { font-size: 9px; }
  .card-actions { grid-column: 1 / -1; grid-row: 4; display: grid; grid-template-columns: 1fr 1fr; gap: 7px; align-items: center; }
  .source-link { min-height: 28px; font-size: 9px; }
  .detail-link { font-size: 9px; }
  .product-card { min-height: 155px; grid-template-columns: minmax(0, 1fr) 102px; grid-template-rows: auto auto auto; gap: 8px 10px; padding: 12px 13px; }
  .product-main { grid-column: 1; grid-row: 1; }
  .product-main .offer-title { white-space: normal; font-size: 12px; line-height: 1.35; }
  .product-merchant { margin-top: 5px; font-size: 9px; }
  .product-card .price-cell { grid-column: 2; grid-row: 1; text-align: right; }
  .product-facts { grid-column: 1 / -1; grid-row: 2; display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 9px; }
  .product-card .card-actions { grid-column: 1 / -1; grid-row: 3; }
  .footer-inner { align-items: start; flex-direction: column; gap: 12px; padding: 22px 0; }
  .footer-inner > div:last-child { gap: 20px; }
  .inner-main { padding-top: 25px; }
  .inner-hero { display: block; margin: 24px 0 18px; padding-bottom: 18px; }
  .inner-hero h1 { font-size: 31px; }
  .inner-hero p:last-child { margin-top: 14px; font-size: 11px; }
  .content-grid { grid-template-columns: 1fr; }
  .content-card.wide { grid-column: auto; }
  .content-card { min-height: 0; padding: 18px; }
  .merchant-summary { grid-template-columns: 1fr; }
  .summary-box { min-height: 73px; }
  .detail-offer { grid-template-columns: minmax(0, 1fr) 110px; gap: 9px; }
  .detail-offer > div:nth-child(3) { grid-column: 1 / -1; }
  .detail-offer .source-link { grid-column: 1 / -1; }
}

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