:root {
  color-scheme: light;
  --ink: #18191d;
  --ink-soft: #303138;
  --muted: #676b75;
  --line: #e3e5ea;
  --paper: #fff;
  --canvas: #f5f6f8;
  --red: #e5222b;
  --red-dark: #bc1720;
  --red-pale: #fff0f0;
  --shadow: 0 16px 44px #15161a0e;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 15px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; }
body.modal-open { overflow: hidden; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button, input, select { -webkit-tap-highlight-color: transparent; }
button:focus-visible, input:focus-visible, select:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #f0797f; outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: min(100%, 1440px); margin: 0 auto; padding-inline: 48px; }
.site-header { position: relative; z-index: 3; background: #fff; border-bottom: 1px solid #e9e9ed; }
.header-content { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 80px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand-emblem { width: 41px; height: 41px; display: grid; align-content: center; gap: 4px; padding: 9px; border-radius: 11px; background: var(--red); box-shadow: 0 8px 18px #e5222b35; }
.brand-emblem span { display: block; height: 3px; border-radius: 2px; background: #fff; }
.brand-emblem span:nth-child(2) { width: 74%; }.brand-emblem span:nth-child(3) { width: 48%; }
.brand-text strong { display: block; font-size: 22px; letter-spacing: -1.25px; line-height: 1; }
.brand-text strong span { font-weight: 480; }
.brand-text small { display: block; margin-top: 5px; color: #747780; font-size: 9px; font-weight: 750; letter-spacing: .16em; }
.header-note { color: #7b7e86; font-size: 12px; }
.hero { position: relative; overflow: hidden; background: #18191d; color: #fff; }
.hero::before { content: ""; position: absolute; width: 570px; height: 570px; right: -95px; top: -310px; border: 1px solid #ffffff10; border-radius: 50%; box-shadow: 0 0 0 70px #ffffff05, 0 0 0 150px #ffffff04; }
.hero::after { content: ""; position: absolute; width: 400px; height: 400px; right: 18%; bottom: -330px; background: radial-gradient(circle,#dd1e2924,transparent 68%); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; padding-block: 44px 49px; }
.hero-copy { max-width: 900px; }
.overline { margin: 0 0 10px; color: #ff5c64; font-size: 11px; font-weight: 800; letter-spacing: .16em; }
.hero h1 { margin: 0; font-size: clamp(36px,4.1vw,60px); font-weight: 780; line-height: 1.08; letter-spacing: -.055em; }
.hero h1 em { color: #ff626a; font-style: normal; }
.hero-copy > p:last-child { margin: 15px 0 25px; color: #c5c6cd; font-size: 16px; }
.search-form { width: min(100%, 1000px); min-height: 67px; display: flex; align-items: center; gap: 13px; padding: 7px 7px 7px 20px; border: 2px solid transparent; border-radius: 15px; background: #fff; color: var(--ink); box-shadow: 0 16px 40px #0003; }
.search-form:focus-within { border-color: #ff5c64; }
.search-icon { flex: 0 0 22px; width: 22px; height: 22px; stroke: #9598a0; fill: none; stroke-width: 1.8; stroke-linecap: round; }
.search-form input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; color: var(--ink); font-size: 16px; }
.search-form input::placeholder { color: #898d96; }
.search-submit { min-height: 49px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; border: 0; border-radius: 10px; padding: 10px 19px; background: var(--red); color: #fff; font-size: 14px; font-weight: 750; transition: background .2s, transform .2s; }
.search-submit:hover { background: var(--red-dark); transform: translateY(-1px); }
.search-submit svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.search-preview { width: min(100%,1000px); margin-top: 9px; border: 1px solid #e4e6ea; border-radius: 14px; padding: 13px; background: #fff; color: var(--ink); box-shadow: 0 18px 36px #0003; }
.search-preview-head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; padding: 0 3px 9px; font-size: 12px; font-weight: 760; }
.search-preview-head #search-preview-status { margin-left: auto; color: var(--muted); font-weight: 620; text-align: right; }
.search-preview-close { flex: 0 0 24px; width: 24px; height: 24px; display: grid; place-items: center; border: 0; border-radius: 6px; background: transparent; color: #777b85; font-size: 20px; line-height: 1; cursor: pointer; }
.search-preview-close:hover, .search-preview-close:focus-visible { background: #f1f2f4; color: var(--ink); }
.search-preview-note { margin: 0 3px 10px; border-radius: 7px; background: var(--red-pale); padding: 7px 9px; color: #8f252b; font-size: 11px; }
.search-preview-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.search-preview-item { min-width: 0; display: flex; align-items: center; gap: 11px; border: 1px solid #e8e9ed; border-radius: 9px; background: #fff; padding: 7px; color: var(--ink); text-align: left; }
.search-preview-item:hover { border-color: #efa6a9; background: #fff8f8; }
.search-preview-thumb { position: relative; flex: 0 0 59px; width: 59px; height: 59px; display: grid; place-items: center; overflow: hidden; border-radius: 7px; background: #f5f6f8; color: #8d919a; font-size: 10px; text-align: center; }
.search-preview-thumb img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; }
.search-preview-copy { min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.search-preview-brand { color: var(--red); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.search-preview-copy strong { overflow: hidden; color: var(--ink); font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.search-preview-type { overflow: hidden; color: #6d717a; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.search-preview-arrow { margin-left: auto; color: var(--red); font-size: 18px; }
.search-preview-empty { grid-column: 1/-1; margin: 0; padding: 10px 5px; color: #6d717a; font-size: 12px; }
.search-preview-all { width: 100%; margin-top: 9px; border: 0; border-top: 1px solid #eceef1; background: transparent; padding: 10px 4px 1px; color: #ad1720; text-align: center; font-size: 12px; font-weight: 760; }
.search-preview-all:hover { text-decoration: underline; }
.hero-help { margin: 12px 0 0; color: #a9abb4; font-size: 12px; }
.discovery { padding-top: 36px; }
.section-kicker { display: flex; align-items: center; gap: 9px; color: var(--red); font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.red-rule { width: 17px; height: 2px; background: var(--red); }
.family-heading { display: flex; align-items: baseline; gap: 14px; margin: 6px 0 20px; }
.family-heading h2 { margin: 0; font-size: 29px; line-height: 1.2; letter-spacing: -.04em; }
.family-heading p { margin: 0; color: var(--muted); font-size: 13px; }
.family-list { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 11px; }
.family-chip { min-height: 74px; display: flex; align-items: center; gap: 12px; padding: 13px 16px; border: 1px solid #e0e2e7; border-radius: 14px; background: #fff; color: var(--ink-soft); text-align: left; font-size: 14px; font-weight: 680; line-height: 1.2; transition: border-color .18s, transform .18s, box-shadow .18s, background .18s; }
.family-chip:hover { transform: translateY(-2px); border-color: #efa6a9; box-shadow: 0 9px 22px #1011140b; }
.family-chip[aria-pressed="true"] { border-color: var(--red); background: var(--red); color: #fff; box-shadow: 0 10px 25px #df202a24; }
.family-chip svg { width: 30px; height: 30px; flex: 0 0 30px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.family-chip:not([aria-pressed="true"]) svg, .family-chip:not([aria-pressed="true"]) .all-symbol { color: var(--red); }
.all-symbol { width: 30px; flex: 0 0 30px; font-size: 31px; line-height: 1; text-align: center; }
.filter-panel { margin-top: 24px; padding: 22px 24px 19px; border: 1px solid var(--line); border-radius: 17px; background: #fff; box-shadow: 0 6px 25px #1b1c2006; }
.filter-heading, .filter-heading > div { display: flex; align-items: center; }
.filter-heading { justify-content: space-between; gap: 15px; margin-bottom: 17px; }
.filter-heading > div { gap: 9px; }
.filter-dot { display: block; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.filter-heading h2 { margin: 0; font-size: 15px; font-weight: 760; }
.filter-heading button { border: 0; background: transparent; color: #6f737d; font-size: 12px; font-weight: 620; }
.filter-heading button:hover { color: var(--red); }
.filter-heading button span { margin-left: 4px; font-size: 18px; }
.filter-grid { display: grid; grid-template-columns: 1.05fr 1.05fr 1.08fr .55fr .95fr; gap: 12px; }
.field label { display: block; margin-bottom: 7px; color: #70747f; font-size: 11px; font-weight: 760; letter-spacing: .015em; }
.field input, .field select { width: 100%; min-height: 45px; border: 1px solid #dfe1e7; border-radius: 8px; padding: 9px 12px; background: #f8f9fa; color: var(--ink); font-size: 13px; outline: none; }
.field input::placeholder { color: #a3a6ad; }
.field input:focus, .field select:focus { border-color: var(--red); background: #fff; box-shadow: 0 0 0 3px #e5222b11; }
.active-filters { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; }
.active-filters:empty { display: none; }
.active-filters button { border: 1px solid #f5d2d4; border-radius: 16px; background: var(--red-pale); color: #a21922; min-height: 29px; padding: 4px 10px; font-size: 11px; font-weight: 620; }
.results-section { padding-block: 41px 70px; }
.results-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; margin-bottom: 14px; }
.light-overline { margin-bottom: 7px; color: var(--red); font-size: 10px; }
.results-heading h2 { margin: 0; font-size: clamp(24px,2.8vw,36px); letter-spacing: -.045em; line-height: 1.16; }
.results-heading p:last-child { margin: 7px 0 0; color: #6c707a; font-size: 13px; }
.result-count { flex: 0 0 auto; padding: 6px 11px; border-radius: 8px; border: 1px solid #e1e3e7; background: #fff; color: #5d6068; font-size: 12px; font-weight: 700; }
.product-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.product-grid.grouped-results { display: block; }
.result-group { margin-top: 28px; }
.result-group:first-child { margin-top: 8px; }
.result-group-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 14px; padding-bottom: 11px; border-bottom: 1px solid #dedfe4; }
.result-group-title h3 { margin: 0; font-size: 21px; letter-spacing: -.035em; }
.result-group-title span { display: block; margin-top: 3px; color: #747882; font-size: 12px; }
.result-group-note { margin: -3px 0 13px; color: #777b84; font-size: 12px; }
.group-compare { flex: 0 0 auto; min-height: 37px; border: 1px solid #e3222b; border-radius: 8px; background: #fff; padding: 7px 12px; color: #b71b23; font-size: 12px; font-weight: 760; }
.group-compare:hover { background: #e3222b; color: #fff; }
.result-group-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.product-card { min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid #e3e5e9; border-radius: 17px; background: #fff; box-shadow: 0 7px 24px #16171b08; transition: transform .18s, box-shadow .18s, border-color .18s; }
.product-card:hover { transform: translateY(-3px); border-color: #d5d7dc; box-shadow: var(--shadow); }
.product-image { position: relative; width: 100%; height: 220px; display: grid; place-items: center; overflow: hidden; padding: 21px; border: 0; border-bottom: 1px solid #f0f0f2; background: #fff; }
.product-media { position: relative; }
.image-frame { width: 100%; height: 100%; display: grid; place-items: center; }
.product-image .image-frame { position: absolute; inset: 21px; width: auto; height: auto; }
.product-image .image-frame img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; }
.card-gallery-nav { position: absolute; top: calc(50% - 18px); width: 36px; height: 36px; border: 1px solid #e4e6eb; border-radius: 50%; background: #ffffffee; color: #494d56; font-size: 24px; line-height: 1; box-shadow: 0 3px 11px #16171b15; }
.card-gallery-nav:hover { border-color: var(--red); color: var(--red); }.card-gallery-prev { left: 10px; }.card-gallery-next { right: 10px; }
.card-gallery-count { position: absolute; bottom: 9px; left: 50%; transform: translateX(-50%); border-radius: 10px; background: #ffffffe8; padding: 2px 7px; color: #858993; font-size: 10px; pointer-events: none; }
.product-image img { display: block; max-width: 100%; max-height: 100%; width: 100%; height: 100%; object-fit: contain; }
.product-image .no-image { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; flex-direction: column; gap: 5px; border-radius: 12px; background: #f4f5f7; color: #9296a0; font-size: 12px; }
.no-image svg { width: 38px; height: 38px; stroke: #a0a4ae; fill: none; stroke-width: 1.7; }
.product-image:hover img { transform: scale(1.025); transition: transform .18s; }
.product-family { position: absolute; left: 16px; top: 14px; max-width: calc(100% - 32px); border: 1px solid #e5e7eb; border-radius: 13px; background: #ffffffed; padding: 5px 9px; color: #696d76; font-size: 10px; font-weight: 720; backdrop-filter: blur(8px); }
.product-content { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.product-brand { color: var(--red); font-size: 11px; font-weight: 820; letter-spacing: .105em; text-transform: uppercase; }
.partial-badge { width: max-content; margin-top: 5px; border-radius: 4px; background: #fff5e8; padding: 2px 7px; color: #92601d; font-size: 10px; font-weight: 720; }
.product-code { margin: 6px 0 4px; border: 0; padding: 0; background: none; color: var(--ink); text-align: left; font-size: 27px; font-weight: 780; line-height: 1.1; letter-spacing: -.045em; overflow-wrap: anywhere; }
.code-match { align-self: flex-start; margin: 0 0 8px; border-radius: 999px; padding: 5px 8px; font-size: 10px; font-weight: 750; }
.code-match.exact { background: #e9f7ef; color: #177047; }
.code-match.related { background: #fff2e4; color: #825114; }
.product-code:hover { color: var(--red); }
.product-line { align-self: flex-start; margin: 1px 0 8px; border-radius: 5px; background: #fff1f2; padding: 4px 7px; color: #a71922; font-size: 11px; font-weight: 730; }
.product-type { min-height: 40px; margin: 0 0 13px; color: #565a64; font-size: 13px; line-height: 1.35; }
.product-specs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px 14px; margin: 0; padding: 14px 0; border-top: 1px solid #eceef1; border-bottom: 1px solid #eceef1; }
.product-specs > div { min-width: 0; }
.product-specs dt { color: #898d97; font-size: 10px; }
.product-specs dd { margin: 2px 0 0; color: #292b30; font-size: 13px; font-weight: 680; overflow-wrap: anywhere; }
.product-specs.empty { display: flex; align-items: center; color: #868a94; font-size: 12px; }
.product-kit { display: grid; gap: 4px; padding: 10px 0 0; color: #626773; font-size: 11px; line-height: 1.35; }
.product-kit strong { color: #34373d; font-size: 11px; }
.product-kit span { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.product-match { min-height: 42px; display: flex; flex-direction: column; justify-content: center; gap: 2px; margin: 12px 0; color: #656a74; font-size: 11px; }
.product-match strong { color: #303238; font-size: 12px; font-weight: 650; }
.product-open { width: 100%; min-height: 43px; display: flex; align-items: center; justify-content: space-between; margin-top: auto; border: 1px solid #dfe1e6; border-radius: 9px; background: #fff; padding: 8px 12px; color: #292b30; font-size: 12px; font-weight: 700; }
.product-open:hover { border-color: var(--red); background: var(--red); color: #fff; }
.product-open span { color: var(--red); font-size: 19px; line-height: 1; }
.product-open:hover span { color: #fff; }
.card-source { margin: 9px 0 0; color: #8c909a; font-size: 10px; text-align: center; }
.empty-state { padding: 45px 20px; border: 1px dashed #d5d8de; border-radius: 16px; background: #fff; text-align: center; }
.empty-mark { color: var(--red); font-size: 42px; line-height: 1; }.empty-state h3 { margin: 8px 0 5px; font-size: 22px; }.empty-state p { max-width: 490px; margin: 0 auto 18px; color: var(--muted); font-size: 13px; }
.empty-state button, .more-row button { min-height: 43px; border: 1px solid #d4d7dd; border-radius: 8px; background: #fff; padding: 9px 17px; color: var(--ink); font-size: 12px; font-weight: 710; }
.empty-state button:hover, .more-row button:hover { border-color: var(--red); color: var(--red); }
.more-row { padding-top: 25px; text-align: center; }
.more-row button { min-width: 190px; }
.more-row span { color: var(--red); font-size: 17px; margin-left: 8px; }
.site-footer { border-top: 1px solid #e5e7eb; background: #fff; }
.footer-content { min-height: 115px; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-block: 20px; }
.footer-brand { flex: 0 0 auto; font-size: 15px; font-weight: 790; letter-spacing: -.04em; }.footer-brand span { color: var(--red); }
.footer-content p { max-width: 780px; margin: 0; color: #858993; font-size: 11px; }
.detail-dialog { width: min(920px,calc(100% - 30px)); max-width: none; height: min(90dvh,880px); max-height: min(90dvh,880px); margin: auto; border: 0; border-radius: 19px; padding: 0; overflow: hidden; color: var(--ink); background: #fff; box-shadow: 0 28px 80px #0005; }
.detail-dialog[open], #detail-content { display: flex; flex-direction: column; min-height: 0; }
#detail-content { flex: 1; overflow: hidden; }
.detail-dialog::backdrop { background: #111217a8; backdrop-filter: blur(4px); }
.compare-dialog { width: min(1200px,calc(100% - 24px)); max-width: none; height: min(92dvh,880px); max-height: 92dvh; margin: auto; border: 0; border-radius: 18px; padding: 0; overflow: hidden; color: var(--ink); background: #fff; box-shadow: 0 28px 80px #0005; }
.compare-dialog[open], #compare-content { display: flex; flex-direction: column; min-height: 0; }
#compare-content { flex: 1; overflow: hidden; }
.compare-dialog::backdrop { background: #111217a8; backdrop-filter: blur(4px); }
.compare-body { flex: 1; min-height: 0; overflow-y: auto; padding: 20px 26px 28px; }
.compare-warning { margin: 0 0 14px; border: 1px solid #f3d8da; border-radius: 9px; background: #fff5f5; padding: 11px 13px; color: #773139; font-size: 12px; line-height: 1.5; }
.compare-section-title { margin: 19px 0 12px; font-size: 18px; letter-spacing: -.025em; }
.compare-no-differences { color: #656a74; font-size: 12px; }
.compare-scroll { width: 100%; overflow-x: auto; overscroll-behavior-x: contain; border: 1px solid #e3e5e9; border-radius: 10px; }
.compare-table { width: 100%; min-width: max-content; border-collapse: separate; border-spacing: 0; text-align: left; }
.compare-table th, .compare-table td { min-width: 220px; max-width: 260px; border-right: 1px solid #eceef1; border-bottom: 1px solid #eceef1; padding: 11px 13px; vertical-align: top; font-size: 12px; overflow-wrap: anywhere; }
.compare-table tr:last-child > * { border-bottom: 0; }
.compare-table tr > *:last-child { border-right: 0; }
.compare-table .compare-label { position: sticky; left: 0; z-index: 1; min-width: 165px; width: 165px; max-width: 165px; background: #f8f9fa; color: #575b65; font-weight: 730; }
.compare-table thead .compare-label { z-index: 3; }
.compare-table .compare-part { min-width: 220px; width: 220px; background: #fff; }
.compare-part strong { display: block; margin-top: 6px; color: var(--ink); font-size: 18px; }
.compare-line { display: block; margin-top: 3px; color: #a71922; font-size: 11px; }
.compare-photo { width: 100%; height: 100px; display: grid; place-items: center; border-radius: 8px; background: #f7f8fa; color: #999da6; font-size: 11px; }
.compare-photo img { display: block; width: 100%; height: 100px; object-fit: contain; }
.compare-part .modal-source { display: block; margin-top: 12px; padding-top: 8px; font-weight: 400; text-align: left; }
.compare-part .modal-source > * { display: block; margin-top: 5px; }
.compare-different td { background: #fff8f8; color: #292b30; font-weight: 700; }
.compare-table .compare-missing { color: #8d929b; font-weight: 500; }
.compare-shared { margin-top: 15px; }
.compare-shared > summary { width: fit-content; cursor: pointer; color: #a71922; font-size: 12px; font-weight: 740; }
.compare-shared .compare-scroll { margin-top: 12px; }
.modal-head { display: flex; justify-content: space-between; gap: 20px; padding: 22px 28px 17px; border-bottom: 1px solid #e9eaee; }
.detail-dialog .modal-head, .detail-dialog .modal-tabs { flex: 0 0 auto; }
.modal-identity span { display: inline-block; margin-bottom: 4px; color: var(--red); font-size: 11px; font-weight: 780; text-transform: uppercase; letter-spacing: .08em; }
.modal-identity h2 { margin: 0; font-size: 29px; letter-spacing: -.04em; line-height: 1.1; }.modal-identity p { margin: 4px 0 0; color: #6c7078; font-size: 13px; }
.modal-close { width: 39px; height: 39px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid #e4e6eb; border-radius: 50%; background: #fff; }
.modal-close:hover { border-color: var(--red); color: var(--red); }.modal-close svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }
.modal-tabs { display: flex; gap: 22px; overflow-x: auto; padding: 0 28px; border-bottom: 1px solid #e9eaee; }
.modal-tabs button { min-height: 49px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: #70747d; padding: 10px 1px; font-size: 13px; font-weight: 730; white-space: nowrap; }
.modal-tabs button[aria-selected="true"] { border-bottom-color: var(--red); color: var(--ink); }
.modal-body { flex: 1; min-height: 0; padding: 24px 28px 26px; overflow-y: auto; }
.modal-overview { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1fr); gap: 25px; }
.modal-photo { position: relative; min-height: 310px; display: grid; place-items: center; border: 1px solid #eceef1; border-radius: 13px; padding: 24px; background: #fff; }
.modal-photo img { display: block; width: 100%; height: 270px; object-fit: contain; }
.modal-photo .no-image { display: grid; place-items: center; color: #9b9fa8; }
.gallery-nav { position: absolute; top: calc(50% - 19px); width: 38px; height: 38px; border: 1px solid #e3e5eb; border-radius: 50%; background: #fff; color: #484b54; font-size: 25px; line-height: 1; }
.gallery-nav:hover { color: var(--red); border-color: var(--red); }.gallery-prev { left: 10px; }.gallery-next { right: 10px; }
.gallery-count { position: absolute; bottom: 11px; left: 50%; transform: translateX(-50%); color: #858993; font-size: 11px; }
.modal-summary h3, .modal-section h3 { margin: 0 0 14px; font-size: 20px; letter-spacing: -.025em; }.modal-summary p { margin: 0 0 14px; color: #666a74; font-size: 13px; }
.modal-spec-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; }
.modal-spec-list > div { padding: 12px 0; border-top: 1px solid #eceef1; }.modal-spec-list dt { color: #878b95; font-size: 11px; }.modal-spec-list dd { margin: 3px 0 0; color: var(--ink); font-size: 13px; font-weight: 700; }
.modal-notice { margin: 15px 0; border-radius: 10px; background: #f4f5f7; padding: 12px 14px; color: #6d717b; font-size: 12px; }
.modal-source { display: flex; flex-wrap: wrap; gap: 8px 15px; margin-top: 18px; padding-top: 14px; border-top: 1px solid #eceef1; color: #8a8e97; font-size: 11px; }.modal-source a { color: #b31821; text-decoration: underline; text-underline-offset: 2px; }
.modal-source strong { color: #575b65; font-weight: 730; }
.modal-attribute-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 24px; margin: 0; }.modal-attribute-grid > div { display: flex; justify-content: space-between; gap: 15px; padding: 11px 0; border-bottom: 1px solid #eceef1; }.modal-attribute-grid dt { color: #727681; font-size: 12px; }.modal-attribute-grid dd { margin: 0; color: #27292e; text-align: right; font-size: 12px; font-weight: 670; }
.kit-contents { display: grid; gap: 9px; }
.kit-content-row { display: flex; align-items: center; gap: 13px; border: 1px solid #e9eaee; border-radius: 10px; padding: 9px 12px; background: #fff; }
.kit-content-row img { width: 52px; height: 52px; object-fit: contain; flex: 0 0 52px; }
.kit-content-row strong { display: block; color: #30333a; font-size: 12px; }
.kit-content-row span { display: block; margin-top: 3px; color: #777b85; font-size: 11px; }
.app-intro { margin: -4px 0 18px; color: #71757e; font-size: 12px; }
.app-group { border: 1px solid #e5e7eb; border-radius: 10px; background: #fff; overflow: hidden; margin-bottom: 8px; }.app-group summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; cursor: pointer; padding: 14px 15px; list-style: none; font-size: 13px; font-weight: 740; }.app-group summary::-webkit-details-marker { display: none; }.app-group summary span { margin-left: auto; color: #858993; font-size: 11px; font-weight: 550; }.app-group summary::after { content: "+"; color: var(--red); font-size: 20px; font-weight: 400; line-height: 1; }.app-group[open] summary::after { content: "−"; }.app-rows { padding: 0 15px 10px; }.app-row { display: flex; justify-content: space-between; gap: 15px; padding: 10px 0; border-top: 1px solid #eceef1; font-size: 12px; }.app-row strong { font-weight: 700; }.app-row small { display: block; color: #858994; font-size: 11px; }.app-row > span { color: #686c76; text-align: right; }
.app-more { margin: 7px 0; border: 1px solid #e1e3e8; border-radius: 7px; background: #fff; padding: 6px 12px; color: var(--red); font-size: 11px; font-weight: 720; }
@media (max-width: 1120px) { .wrap { padding-inline: 28px; }.filter-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }.product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 760px) { .wrap { padding-inline: 20px; }.header-content { min-height: 68px; }.header-note { display: none; }.hero-inner { padding-block: 35px 40px; }.hero-copy > p:last-child { font-size: 14px; }.family-list { grid-template-columns: repeat(2,minmax(0,1fr)); }.family-chip { min-height: 65px; }.filter-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.field:nth-child(3) { grid-column: auto; }.product-image { height: 205px; }.modal-overview { grid-template-columns: 1fr; }.modal-photo { min-height: 260px; }.modal-photo img { height: 235px; } }
@media (max-width: 560px) { .wrap { padding-inline: 17px; }.brand-emblem { width: 35px; height: 35px; border-radius: 9px; padding: 8px; }.brand-text strong { font-size: 19px; }.brand-text small { font-size: 7px; }.hero::before { right: -360px; }.hero h1 { font-size: 38px; }.hero-copy > p:last-child { max-width: 310px; margin-bottom: 22px; }.search-form { gap: 8px; padding: 6px 6px 6px 12px; min-height: 59px; border-radius: 12px; }.search-icon { width: 19px; flex-basis: 19px; }.search-form input { font-size: 13px; }.search-submit { min-height: 43px; padding: 8px 12px; font-size: 12px; }.search-submit svg { display: none; }.search-preview-list { grid-template-columns: 1fr; }.search-preview-item { gap: 9px; }.search-preview-thumb { flex-basis: 51px; width: 51px; height: 51px; }.search-preview-copy strong { font-size: 14px; }.hero-help { font-size: 11px; }.discovery { padding-top: 29px; }.family-heading { display: block; margin-bottom: 16px; }.family-heading h2 { font-size: 25px; }.family-heading p { margin-top: 4px; font-size: 12px; }.family-list { gap: 8px; }.family-chip { min-height: 67px; gap: 8px; padding: 10px; border-radius: 11px; font-size: 12px; }.family-chip svg, .all-symbol { width: 25px; height: 25px; flex-basis: 25px; }.all-symbol { font-size: 25px; }.filter-panel { margin-top: 18px; padding: 17px 14px; border-radius: 13px; }.filter-heading { margin-bottom: 12px; }.filter-grid { gap: 10px; }.field input, .field select { font-size: 12px; min-height: 43px; padding-inline: 8px; }.field label { font-size: 10px; }.results-section { padding-block: 36px 52px; }.results-heading h2 { font-size: 26px; }.results-heading p:last-child { font-size: 12px; }.result-count { display: none; }.product-grid { grid-template-columns: 1fr; gap: 15px; }.product-image { height: 222px; }.product-content { padding: 17px 19px 19px; }.product-code { font-size: 26px; }.product-type { min-height: 0; }.footer-content { align-items: flex-start; flex-direction: column; gap: 8px; }.detail-dialog { width: calc(100% - 12px); max-height: calc(100dvh - 12px); border-radius: 17px; }.modal-head { padding: 19px 18px 14px; }.modal-identity h2 { font-size: 25px; }.modal-tabs { gap: 18px; padding-inline: 18px; }.modal-tabs button { min-height: 45px; font-size: 12px; }.modal-body { max-height: calc(100dvh - 150px); padding: 19px 18px 22px; }.modal-photo { min-height: 230px; }.modal-photo img { height: 200px; }.modal-attribute-grid { grid-template-columns: 1fr; }.app-row { flex-direction: column; gap: 2px; }.app-row > span { text-align: left; } }
@media (max-width: 1120px) { .result-group-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 600px) { .result-group-grid { grid-template-columns: 1fr; gap: 15px; } }
@media (max-width: 560px) {
  .result-group-head { align-items: flex-start; flex-direction: column; gap: 10px; }
  .group-compare { width: 100%; }
  .compare-dialog { width: calc(100% - 10px); height: calc(100dvh - 10px); max-height: calc(100dvh - 10px); border-radius: 14px; }
  .compare-body { padding: 14px 12px 19px; }
  .compare-table th, .compare-table td, .compare-table .compare-part { min-width: 170px; width: 170px; max-width: 190px; padding: 9px; }
  .compare-table .compare-label { min-width: 115px; width: 115px; max-width: 115px; }
  .compare-photo, .compare-photo img { height: 75px; }
}
@media (max-width: 560px) { .detail-dialog { height: calc(100dvh - 12px); }.modal-body { max-height: none; } }
@media (max-width: 480px) { .modal-tabs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 7px; overflow: visible; padding-inline: 18px; }.modal-tabs button { min-height: 43px; padding: 6px 2px; white-space: normal; line-height: 1.2; text-align: center; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }

/* Mostrador compacto: filtros visibles al lado de las piezas. */
.wrap { width: min(100%,1680px); padding-inline: 30px; }
.header-content { min-height: 64px; }
.hero { z-index: 2; overflow: visible; }
.hero::before, .hero::after { display: none; }
.hero-inner { display: grid; grid-template-columns: minmax(240px,330px) minmax(0,1fr); align-items: center; gap: 25px; padding-block: 18px; }
.hero .overline { margin-bottom: 4px; font-size: 9px; }
.hero h1 { font-size: clamp(25px,2.1vw,32px); line-height: 1.1; }
.hero-search { position: relative; min-width: 0; }
.search-form { width: 100%; min-height: 55px; padding: 5px 5px 5px 15px; border-radius: 12px; box-shadow: 0 8px 24px #0002; }
.search-form input { font-size: 14px; }
.search-submit { min-height: 42px; padding: 8px 15px; }
.search-preview { position: absolute; top: calc(100% + 8px); left: 0; z-index: 20; width: 100%; max-height: min(66dvh,560px); margin: 0; overflow-y: auto; }
.catalog-layout { display: grid; grid-template-columns: 250px minmax(0,1fr); align-items: start; gap: 22px; padding-top: 20px; padding-bottom: 58px; }
.discovery { position: sticky; top: 12px; max-height: calc(100dvh - 24px); overflow-y: auto; padding: 0 3px 5px 0; scrollbar-width: thin; }
.filter-panel { margin: 0 0 19px; padding: 14px; border-radius: 13px; box-shadow: none; }
.filter-heading { gap: 8px; margin-bottom: 10px; }
.filter-heading h2 { font-size: 13px; }
.filter-heading button { font-size: 10px; white-space: nowrap; }
.filter-grid { grid-template-columns: 1fr; gap: 8px; }
.field label { margin-bottom: 3px; font-size: 10px; }
.field input, .field select { min-height: 36px; padding: 6px 8px; font-size: 12px; }
.make-scope { display: block; margin: 5px 0 0; padding: 0; border: 0; background: none; color: #a21922; font-size: 10px; font-weight: 700; text-align: left; cursor: pointer; }
.make-scope[hidden] { display: none; }
.make-scope:hover { text-decoration: underline; }
.active-filters { margin-top: 9px; }
.section-kicker { font-size: 9px; }
.family-heading { margin: 5px 0 10px; }
.family-heading h2 { font-size: 19px; }
.family-list { grid-template-columns: 1fr; gap: 5px; }
.family-chip { min-height: 41px; gap: 9px; padding: 7px 10px; border-radius: 9px; font-size: 12px; }
.family-chip:hover { transform: none; }
.family-chip svg { width: 21px; height: 21px; flex-basis: 21px; }
.all-symbol { width: 21px; flex-basis: 21px; font-size: 21px; line-height: 1; }
.results-section { min-width: 0; padding: 0; }
.results-heading { margin-bottom: 12px; }
.results-heading h2 { font-size: clamp(21px,2vw,27px); }
.results-heading p:last-child { margin-top: 4px; font-size: 11px; }
.light-overline { margin-bottom: 4px; font-size: 9px; }
.product-grid, .result-group-grid { grid-template-columns: repeat(auto-fill,minmax(min(100%,270px),1fr)); gap: 12px; }
.result-group { margin-top: 19px; }
.result-group:first-child { margin-top: 7px; }
.result-group-head { margin-bottom: 9px; padding-bottom: 7px; }
.result-group-title h3 { font-size: 17px; }
.result-group-title span, .result-group-note { font-size: 11px; }
.gasket-grid { margin-top: 9px; }
.product-card { border-radius: 12px; box-shadow: 0 4px 15px #16171b08; }
.product-image { height: 148px; padding: 12px; }
.product-image .image-frame { inset: 12px; }
.product-family { left: 9px; top: 8px; max-width: calc(100% - 18px); padding: 3px 6px; font-size: 9px; }
.card-gallery-nav { top: calc(50% - 14px); width: 28px; height: 28px; font-size: 19px; }
.card-gallery-prev { left: 5px; }.card-gallery-next { right: 5px; }
.product-content { padding: 12px 13px 13px; }
.product-brand { font-size: 10px; }
.product-group-label { align-self: flex-start; margin-top: 4px; border-radius: 4px; background: #f2f3f5; padding: 2px 6px; color: #555a64; font-size: 10px; font-weight: 680; }
.product-code { margin: 3px 0; font-size: 21px; }
.product-line { margin-bottom: 5px; padding: 2px 5px; font-size: 10px; }
.product-type { display: -webkit-box; min-height: 0; margin: 0 0 8px; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 11px; line-height: 1.3; }
.product-specs { gap: 5px 8px; padding: 8px 0; }
.product-specs dt { font-size: 9px; }
.product-specs dd { margin-top: 1px; font-size: 11px; }
.product-kit { padding-top: 6px; font-size: 10px; }
.product-kit strong { font-size: 10px; }
.product-kit span { -webkit-line-clamp: 1; }
.product-kit-count { margin-top: 7px; color: #656a74; font-size: 10px; font-weight: 650; }
.product-open { min-height: 35px; margin-top: 10px; padding: 5px 9px; font-size: 11px; }

@media (max-width: 1000px) {
  .wrap { padding-inline: 20px; }
  .catalog-layout { grid-template-columns: 220px minmax(0,1fr); gap: 15px; }
  .hero-inner { grid-template-columns: 260px minmax(0,1fr); gap: 16px; }
}
@media (max-width: 760px) {
  .wrap { padding-inline: 17px; }
  .hero-inner { grid-template-columns: 1fr; gap: 9px; padding-block: 13px; }
  .hero h1 { font-size: 25px; }
  .search-form { min-height: 49px; }
  .search-submit { min-height: 37px; }
  .catalog-layout { display: block; padding-top: 12px; }
  .discovery { position: static; max-height: none; overflow: visible; padding: 0; }
  .filter-panel { margin-bottom: 10px; padding: 12px; }
  .filter-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .family-heading { margin: 4px 0 8px; }
  .family-heading h2 { font-size: 16px; }
  .family-list { display: flex; gap: 7px; overflow-x: auto; padding-bottom: 7px; scrollbar-width: thin; }
  .family-chip { flex: 0 0 auto; min-height: 38px; white-space: nowrap; }
  .results-section { padding-top: 13px; }
  .product-grid, .result-group-grid { grid-template-columns: repeat(auto-fill,minmax(min(100%,240px),1fr)); }
}
@media (max-width: 560px) {
  .header-content { min-height: 58px; }
  .hero h1 { font-size: 23px; }
  .filter-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .field:last-child { grid-column: 1/-1; }
  .product-grid, .result-group-grid { grid-template-columns: 1fr; }
  .product-image { height: 160px; }
  .product-content { padding: 12px 14px; }
}
