@font-face {
  font-family: 'Onest';
  src: url('/assets/fonts/onest.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: 'Barlow Condensed';
  src: url('/assets/fonts/display.woff2') format('woff2');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  font-family: 'Onest', Arial, sans-serif;
  color: #16243a;
  background: #f4f7fa;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --paper: #f4f7fa;
  --white: #ffffff;
  --cobalt: #214ef5;
  --cobalt-dark: #173bbf;
  --navy: #16243a;
  --aqua: #d9f1f3;
  --yellow: #ffe45f;
  --muted: #637084;
  --border: #dfe5ed;
  --success: #16715d;
  --danger: #a22b35;
  --radius: 16px;
  --display: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
  --content: 1440px;
  --gutter: clamp(20px, 5vw, 72px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; min-width: 320px; }
body.dialog-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, select, summary { cursor: pointer; }
button, a, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
button:disabled { cursor: not-allowed; opacity: .5; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { flex-shrink: 0; vertical-align: middle; }
button svg, .btn svg, .icon-btn svg { width: 20px; height: 20px; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { color: var(--navy); }
h1 { line-height: 1.05; }
p { line-height: 1.65; }
hr { border: 0; border-top: 1px solid var(--border); margin: 28px 0; }
::selection { color: var(--navy); background: var(--yellow); }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 4px; }
.part-type-field > small { display:block; font-size:12px; line-height:1.5; color:var(--muted); margin-top:8px; }
.part-type-field select:disabled { background:var(--paper); }
@media (max-width: 520px) {
  #filter-form > .filter-group:has(select[name="category"]),
  #filter-form > .part-type-field,
  #sell-form .form-grid > .field:has(select[name="category"]),
  #sell-form .form-grid > .part-type-field { grid-column: 1 / -1; }
}
input:focus-visible, select:focus-visible, textarea:focus-visible { outline-offset: 2px; }

.container { max-width: var(--content); padding-inline: var(--gutter); margin-inline: auto; }
.demo-bar { min-height: 31px; padding: 7px 20px; display: flex; gap: 7px; align-items: center; justify-content: center; font-size: 11px; color: #516078; background: #e9eff7; text-align: center; }
.demo-bar strong { font-weight: 700; }
.site-header { background: var(--white); border-bottom: 1px solid var(--border); position: relative; z-index: 40; }
.header-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 30px; max-width: var(--content); padding-inline: var(--gutter); margin: auto; }
.brand { display: inline-flex; gap: 8px; align-items: center; font-size: 28px; font-weight: 850; letter-spacing: -1.5px; color: var(--navy); flex-shrink: 0; }
.nav { display: flex; align-items: center; gap: 29px; margin-left: 20px; }
.nav a { min-height: 44px; display: inline-flex; align-items: center; font-size: 13px; font-weight: 550; position: relative; }
.nav a:hover, .nav a.active { color: var(--cobalt); }
.nav a.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -20px; height: 3px; border-radius: 3px; background: var(--cobalt); }
.header-actions { display: flex; gap: 12px; align-items: center; margin-left: auto; }
.header-actions .btn { min-height: 43px; font-size: 12px; padding-inline: 17px; }
.icon-btn { width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; display: inline-flex; align-items: center; justify-content: center; position: relative; transition: background .16s ease; }
.icon-btn:hover { background: #edf2f8; }
.icon-btn svg { width: 22px; height: 22px; }
.badge-count { background: var(--cobalt); color: white; border: 2px solid white; font-size: 9px; font-weight: 700; line-height: 16px; min-width: 20px; text-align: center; padding-inline: 3px; border-radius: 20px; position: absolute; top: 0; right: 0; }
.btn { border: 1px solid transparent; border-radius: 8px; min-height: 48px; padding: 12px 23px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-size: 13px; font-weight: 650; line-height: 1.3; background: var(--white); transition: background .16s ease, border-color .16s ease, color .16s ease; text-align: center; cursor: pointer; }
.btn.primary { background: var(--cobalt); color: var(--white); }
.btn.primary:hover { background: var(--cobalt-dark); }
.btn.secondary { background: transparent; border-color: #b9c4d3; }
.btn.secondary:hover { border-color: var(--cobalt); color: var(--cobalt); background: #eef2ff; }
.btn.yellow { background: var(--yellow); color: var(--navy); }
.btn.yellow:hover { background: #f6d735; }
.btn.small { min-height: 44px; padding: 10px 15px; font-size: 12px; }
.btn.full { width: 100%; }
.btn.danger { color: var(--danger); border-color: #e6c3c8; background: #fff7f8; }
.btn.danger:hover { background: #fce8eb; }
.mobile-menu { display: none; }
.mobile-nav { display: none; }

.hero { display: grid; grid-template-columns: 1.04fr 1fr; gap: 38px; align-items: center; padding-top: 48px; padding-bottom: 32px; position: relative; }
.hero-copy { padding: 8px 0 0; min-width: 0; }
.hero-copy .eyebrow { margin-bottom: 23px; }
.hero-title { font-family: var(--display); font-size: clamp(65px, 7.3vw, 107px); font-weight: 700; line-height: .91; letter-spacing: -1.8px; margin-bottom: 25px; max-width: 600px; text-transform: uppercase; }
.hero-title span { display: block; }
.hero-title em { font-style: normal; color: var(--cobalt); }
.hero-description { font-size: 14px; max-width: 440px; color: #536076; margin-bottom: 22px; line-height: 1.7; }
.hero-visual { min-width: 0; height: 470px; border-radius: 18px; overflow: visible; position: relative; isolation: isolate; }
.hero-photo { width: 100%; height: 100%; object-fit: cover; object-position: center; border-radius: 18px; }
.hero-visual::after { content: ''; position: absolute; inset: 55% 0 0; border-radius: 0 0 18px 18px; background: linear-gradient(transparent, rgba(11,30,51,.74)); pointer-events: none; z-index: 1; }
.hero-caption { position: absolute; left: 26px; bottom: 24px; right: 24px; color: var(--white); z-index: 2; display: flex; align-items: end; justify-content: space-between; gap: 16px; font-size: 12px; }
.hero-caption strong { display: block; font-weight: 600; font-size: 18px; margin-bottom: 4px; }
.hero-caption span { color: #e4edf3; }
.hero-caption svg { width: 25px; height: 25px; color: var(--yellow); }
.hero-stamp { position: absolute; right: -17px; top: -18px; width: 112px; height: 112px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-direction: column; padding: 15px; color: var(--navy); background: var(--yellow); text-align: center; font-size: 11px; font-weight: 650; line-height: 1.25; z-index: 3; transform: rotate(11deg); box-shadow: 0 0 0 7px var(--paper); }
.hero-stamp svg { width: 26px; height: 26px; margin-bottom: 6px; }
.hero-stamp strong { font-family: var(--display); font-size: 35px; line-height: .95; }
.hero-search { margin-top: 25px; width: calc(100% + 38px); position: relative; z-index: 5; }
.search-form { background: var(--white); border: 1px solid #cdd6e2; padding: 6px; border-radius: 11px; display: flex; align-items: center; gap: 5px; box-shadow: 0 8px 22px rgba(22,36,58,.045); }
.search-input { display: flex; align-items: center; gap: 9px; flex: 1 1 150px; padding-left: 10px; min-width: 0; }
.search-input svg { color: #64748b; width: 20px; height: 20px; }
.search-input input { width: 100%; height: 48px; min-width: 0; border: 0; background: transparent; font-size: 12px; color: var(--navy); outline-offset: -3px; }
.search-input input::placeholder { color: #788296; }
.search-island { height: 39px; width: 137px; border: 0; border-left: 1px solid var(--border); padding-left: 12px; background: white; font-size: 12px; color: #4d5c71; }
.search-form .btn { padding-inline: 17px; min-height: 48px; font-size: 12px; flex-shrink: 0; }
.popular-searches { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 13px; font-size: 10px; color: #6c7789; }
.popular-searches a, .popular-searches button { border: 0; padding: 3px 0; background: transparent; text-decoration: underline; text-underline-offset: 3px; color: #475770; font-size: inherit; }
.popular-searches a:hover, .popular-searches button:hover { color: var(--cobalt); }
.trust-row { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; padding-top: 14px; color: #4d5d72; font-size: 10px; }
.trust-row > span, .trust-row > div { display: flex; align-items: center; gap: 6px; }
.trust-row svg { width: 15px; height: 15px; color: var(--cobalt); }
.eyebrow { display: flex; align-items: center; gap: 6px; width: fit-content; font-size: 11px; font-weight: 600; color: #3d536f; line-height: 1.5; }
.eyebrow svg { width: 14px; height: 14px; color: var(--cobalt); }
.eyebrow .status-dot { background: var(--cobalt); }

.section { padding-top: 39px; padding-bottom: 22px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 23px; }
.section-heading h2 { margin: 0; font-family: var(--display); font-size: 35px; line-height: 1.1; font-weight: 700; letter-spacing: -.3px; }
.section-heading p { font-size: 12px; color: var(--muted); margin: 7px 0 0; }
.section-heading > a { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; font-size: 12px; font-weight: 600; color: var(--cobalt); flex-shrink: 0; }
.section-heading > a svg { width: 16px; height: 16px; }
.category-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; }
.category-card { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px; background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 21px 6px 16px; text-align: center; min-width: 0; min-height: 125px; transition: border-color .16s ease, background .16s ease; }
.category-card:hover { border-color: var(--cobalt); background: #f8faff; }
.category-card > svg { width: 34px; height: 34px; color: #4e5f77; stroke-width: 1.35; }
.category-card strong { font-size: 11px; font-weight: 600; }
.category-card span { font-size: 9px; color: #738095; margin-top: -7px; }
.category-card img { height: 45px; width: 65px; object-fit: contain; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 21px; }
.product-card { border: 1px solid var(--border); border-radius: var(--radius); background: white; overflow: hidden; position: relative; min-width: 0; transition: border-color .16s ease; }
.product-card:hover { border-color: #a9b8d0; }
.product-image { height: 190px; overflow: hidden; display: flex; align-items: center; justify-content: center; position: relative; background: #eaf0f6; }
.product-card:nth-child(4n + 2) .product-image { background: #e7eeec; }
.product-card:nth-child(4n + 3) .product-image { background: #eae9ef; }
.product-card:nth-child(4n + 4) .product-image { background: #edeae2; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.product-card:hover .product-image img { transform: scale(1.025); }
.product-image > svg { width: 105px; height: 105px; color: #718096; stroke-width: 1; }
.product-badges { position: absolute; top: 12px; left: 12px; right: 55px; display: flex; gap: 5px; flex-wrap: wrap; z-index: 2; }
.pill { padding: 5px 8px; display: inline-flex; gap: 4px; align-items: center; font-size: 9px; font-weight: 600; line-height: 1.2; border-radius: 5px; color: #40536e; background: #edf1f6; white-space: nowrap; }
.pill svg { width: 11px; height: 11px; }
.pill.featured { color: #493e0d; background: var(--yellow); }
.pill.verified { color: #19516c; background: #e3f4fa; }
.pill.neutral { color: #526175; background: #eef2f7; }
.save-button { position: absolute; right: 11px; top: 10px; width: 35px; min-width: 35px; height: 35px; border: 1px solid rgba(255,255,255,.8); background: rgba(255,255,255,.93); border-radius: 50%; display: grid; place-items: center; z-index: 4; transition: color .16s ease, background .16s ease; }
.save-button::before { content: ''; position: absolute; inset: -5px; }
.save-button svg { width: 17px; height: 17px; }
.save-button:hover, .save-button.saved, .save-button[aria-pressed='true'] { color: var(--cobalt); }
.save-button.saved svg, .save-button[aria-pressed='true'] svg { fill: #e2e9ff; }
.product-body { padding: 17px 17px 14px; }
.product-meta { font-size: 9px; color: #768295; margin-bottom: 8px; display: flex; align-items: center; gap: 5px; }
.product-title { font-size: 13px; font-weight: 650; line-height: 1.5; min-height: 40px; margin: 0 0 9px; }
.product-title a:hover { color: var(--cobalt); }
.product-price { font-size: 25px; letter-spacing: -.9px; font-weight: 750; line-height: 1.3; }
.product-price small { font-size: 11px; color: #69768a; letter-spacing: 0; font-weight: 400; }
.product-location { display: flex; align-items: center; gap: 4px; color: #748094; font-size: 9px; margin: 8px 0 0; }
.product-location svg { width: 12px; height: 12px; }
.product-bottom { display: flex; justify-content: space-between; align-items: center; gap: 7px; border-top: 1px solid #edf0f5; padding-top: 11px; margin-top: 13px; font-size: 9px; color: #69758a; }
.product-bottom > span { display: inline-flex; align-items: center; gap: 5px; }
.product-bottom svg { width: 13px; height: 13px; color: #2d675d; }
.product-bottom .compare-button { background: none; border: 0; min-height: 25px; padding: 2px; font-size: 9px; color: #69758a; }
.product-bottom .compare-button:hover { color: var(--cobalt); }
.promo-band { display: grid; grid-template-columns: 1fr auto; gap: 40px; padding: 35px 45px; margin-top: 48px; border-radius: 17px; background: var(--aqua); position: relative; overflow: hidden; align-items: center; }
.promo-copy { max-width: 690px; position: relative; z-index: 2; }
.promo-copy .eyebrow { color: #477478; margin-bottom: 11px; }
.promo-copy h2 { font-family: var(--display); font-size: 41px; line-height: 1.06; font-weight: 750; margin-bottom: 11px; }
.promo-copy p { color: #4d6b74; font-size: 12px; max-width: 550px; margin-bottom: 18px; }
.promo-art { width: 190px; height: 155px; position: relative; display: grid; place-items: center; }
.promo-art > svg { width: 135px; height: 135px; color: var(--cobalt); stroke-width: 1.2; z-index: 2; transform: rotate(-8deg); }
.promo-art::before { content: ''; width: 130px; height: 130px; background: var(--yellow); border-radius: 50%; position: absolute; right: -9px; top: 9px; }
.promo-art img { width: 180px; height: 160px; object-fit: contain; position: relative; z-index: 2; }
.island-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.island-card { min-height: 128px; padding: 24px; border-radius: 12px; background: white; border: 1px solid var(--border); position: relative; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.island-card:hover { border-color: #afc3e6; }
.island-card h3 { font-size: 16px; margin: 0 0 8px; }
.island-card p { margin: 0; font-size: 11px; color: var(--muted); }
.island-card > svg { width: 44px; height: 44px; stroke-width: 1; color: #9baac0; }
.island-card img { width: 62px; height: 62px; object-fit: contain; }

.site-footer { margin-top: 65px; color: #d0d8e7; background: var(--navy); }
.footer-grid { padding-block: 46px 39px; display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 42px; }
.site-footer .brand { color: white; font-size: 25px; margin-bottom: 13px; }
.site-footer p { color: #adb9ce; font-size: 11px; max-width: 260px; line-height: 1.75; }
.site-footer h4 { color: white; font-weight: 600; font-size: 12px; margin: 5px 0 16px; }
.site-footer a:not(.brand) { display: block; width: fit-content; color: #adb9ce; font-size: 11px; padding-block: 5px; }
.site-footer a:hover { color: white; }
.footer-bottom { border-top: 1px solid #344055; padding-block: 21px; display: flex; justify-content: space-between; gap: 24px; font-size: 10px; color: #9ba8c0; }
.footer-bottom > div { display: flex; gap: 16px; align-items: center; }
.footer-bottom a:not(.brand) { display: inline-block; font-size: 10px; padding: 0; }

.page-top { padding-top: 30px; padding-bottom: 31px; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; font-size: 11px; color: #758297; margin-bottom: 25px; }
.breadcrumbs a:hover { color: var(--cobalt); }
.breadcrumbs svg { width: 13px; height: 13px; }
.page-top h1 { font-family: var(--display); font-size: clamp(43px, 5vw, 58px); font-weight: 750; margin: 0 0 12px; letter-spacing: -.7px; }
.page-top p { max-width: 670px; color: var(--muted); font-size: 14px; margin-bottom: 0; }
.page-top .search-form { max-width: 790px; margin-top: 23px; }
.catalog-layout { display: grid; grid-template-columns: 225px minmax(0, 1fr); gap: 28px; align-items: start; }
.filters { padding: 24px 21px; background: white; border: 1px solid var(--border); border-radius: 14px; }
.filters h2 { font-size: 16px; margin-bottom: 23px; }
.filter-group { border-top: 1px solid #e9edf3; margin-top: 22px; padding-top: 21px; }
.filter-group:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.filter-group h3 { font-size: 12px; font-weight: 700; margin-bottom: 12px; }
.filter-group .input, .filter-group .select { min-height: 42px; font-size: 11px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field > label, .field > span:first-child { font-size: 12px; font-weight: 600; }
.input, .select, textarea.input { border: 1px solid #bdc8d8; border-radius: 7px; width: 100%; min-height: 48px; padding: 12px 14px; color: var(--navy); background: white; font-size: 13px; }
.input::placeholder { color: #8792a3; }
textarea.input { resize: vertical; min-height: 125px; line-height: 1.6; }
.input:focus, .select:focus { border-color: var(--cobalt); }
.check-label { display: flex; align-items: center; gap: 8px; min-height: 36px; font-size: 11px; color: #546278; cursor: pointer; }
.check-label input { width: 16px; height: 16px; accent-color: var(--cobalt); margin: 0; flex-shrink: 0; }
.check-label small { margin-left: auto; font-size: 10px; color: #8791a0; }
.filter-summary { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin-bottom: 20px; }
.filter-summary button { background: #e8edf6; border: 1px solid #d2ddeb; border-radius: 30px; min-height: 32px; padding: 7px 11px; font-size: 10px; display: flex; align-items: center; gap: 5px; }
.filter-summary button svg { width: 12px; height: 12px; }
.catalog-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; font-size: 12px; }
.catalog-toolbar p { margin: 0; }
.catalog-toolbar strong { font-weight: 650; }
.sort-select { padding: 10px 11px; border: 1px solid #d5dde8; border-radius: 7px; color: #58677d; background: white; font-size: 11px; min-height: 44px; max-width: 220px; }
.results-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.results-grid .product-image { height: 185px; }
.pagination { margin-top: 34px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
.pagination a, .pagination button { width: 44px; min-height: 44px; padding-inline: 0; flex: 0 0 44px; display: grid; place-items: center; border-radius: 8px; border: 1px solid var(--border); background: white; font-size: 12px; }
.pagination-gap { color: var(--muted); padding-inline: 2px; }
.pagination .active, .pagination [aria-current='page'] { background: var(--cobalt); border-color: var(--cobalt); color: white; }
.pagination svg { width: 18px; height: 18px; }
.empty-state { padding: 72px 30px; border: 1px dashed #bfcbda; border-radius: var(--radius); text-align: center; background: white; grid-column: 1 / -1; }
.empty-state > svg { width: 44px; height: 44px; color: #879bb7; margin-bottom: 16px; }
.empty-state h2 { font-size: 23px; }
.empty-state p { font-size: 13px; color: var(--muted); max-width: 450px; margin-inline: auto; }

.detail-layout { display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(0, .84fr); gap: 48px; align-items: start; }
.detail-photo { height: 455px; background: #eaf0f6; border: 1px solid var(--border); border-radius: 16px; display: grid; place-items: center; overflow: hidden; position: relative; }
.detail-photo > img { width: 100%; height: 100%; object-fit: contain; }
.detail-photo > svg { width: 190px; height: 190px; color: #74849b; stroke-width: 1; }
.detail-photo .save-button { top: 16px; right: 16px; width: 44px; height: 44px; }
.detail-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 13px; }
.photo-thumb { border: 1px solid var(--border); border-radius: 9px; height: 95px; background: #eaf0f6; display: grid; place-items: center; overflow: hidden; padding: 0; }
.photo-thumb.active { border: 2px solid var(--cobalt); }
.photo-thumb img { width: 100%; height: 100%; object-fit: cover; }
.photo-thumb svg { width: 40px; height: 40px; color: #8a9ab1; }
.detail-info { min-width: 0; }
.detail-info .product-meta { font-size: 12px; margin: 15px 0 8px; }
.detail-info h1 { font-family: var(--display); font-weight: 700; font-size: 47px; letter-spacing: -.6px; line-height: 1.08; margin-bottom: 15px; }
.detail-info .product-location { font-size: 12px; margin-top: 12px; }
.detail-info .product-location svg { width: 15px; height: 15px; }
.detail-price { display: flex; gap: 12px; align-items: baseline; font-size: 40px; font-weight: 750; letter-spacing: -1.5px; margin-block: 23px; }
.detail-price small { font-size: 12px; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.seller-mini { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 12px; padding-block: 20px; margin-block: 20px; }
.seller-mini > div { min-width: 0; }
.seller-mini strong { display: block; font-size: 13px; margin-bottom: 6px; }
.seller-mini p { font-size: 11px; color: var(--muted); margin-bottom: 0; }
.seller-mini > svg { width: 17px; height: 17px; margin-left: auto; }
.seller-avatar { width: 45px; height: 45px; border-radius: 50%; background: #e6eafb; color: var(--cobalt); display: grid; place-items: center; font-size: 16px; font-weight: 700; flex-shrink: 0; }
.seller-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.seller-avatar svg { width: 23px; height: 23px; }
.detail-actions { display: grid; gap: 10px; }
.detail-actions .btn { min-height: 51px; }
.detail-info .notice { margin-top: 17px; }
.detail-sections { display: grid; grid-template-columns: 1.16fr .84fr; gap: 48px; padding-top: 38px; }
.detail-sections section { margin-bottom: 25px; }
.detail-sections h2 { font-family: var(--display); font-size: 29px; margin-bottom: 18px; }
.detail-sections p { font-size: 13px; color: #59687d; }
.detail-specs { border: 1px solid var(--border); border-radius: 11px; overflow: hidden; background: white; }
.spec-row { display: flex; gap: 24px; justify-content: space-between; padding: 13px 17px; border-bottom: 1px solid #e9edf4; font-size: 12px; }
.spec-row:last-child { border-bottom: 0; }
.spec-row span { color: #758095; }
.spec-row strong { font-weight: 550; text-align: right; }
.compatibility-list { list-style: none; padding: 0; margin: 0; }
.compatibility-list li { display: flex; align-items: center; gap: 9px; padding: 11px 0; border-bottom: 1px solid var(--border); font-size: 12px; }
.compatibility-list svg { color: var(--success); width: 17px; height: 17px; }
.notice { display: flex; gap: 9px; padding: 15px 17px; color: #5b6b80; background: #eaf0f8; border-radius: 8px; font-size: 11px; line-height: 1.6; }
.notice svg { color: #477093; width: 18px; height: 18px; margin-top: 1px; }
.notice p { margin-bottom: 0; font-size: inherit; line-height: inherit; }
.notice.success { color: #215e50; background: #e5f4ed; }

.seller-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.seller-card { border: 1px solid var(--border); border-radius: 14px; padding: 27px; background: white; }
.seller-card .seller-avatar { width: 64px; height: 64px; margin-bottom: 19px; font-size: 22px; }
.seller-card h3 { font-size: 18px; margin: 0 0 8px; }
.seller-card p { font-size: 12px; color: var(--muted); }
.seller-card .pill { margin-bottom: 15px; }
.seller-card .btn { margin-top: 19px; }
.seller-stats { display: flex; gap: 20px; flex-wrap: wrap; font-size: 12px; }
.seller-stats strong { display: block; font-size: 18px; margin-bottom: 5px; }
.seller-stats span { color: var(--muted); font-size: 10px; }
.seller-hero { padding: 34px; background: var(--navy); border-radius: 17px; color: white; display: flex; justify-content: space-between; align-items: center; gap: 32px; margin-bottom: 32px; }
.seller-hero h1 { color: white; font-family: var(--display); font-size: 47px; margin-bottom: 13px; }
.seller-hero p { color: #bdcde3; font-size: 12px; margin-bottom: 15px; }
.seller-hero .seller-avatar { width: 80px; height: 80px; font-size: 28px; }
.seller-hero .seller-stats span { color: #bdcde3; }

.billing-toggle { display: flex; gap: 4px; padding: 5px; border-radius: 9px; background: #e7edf6; margin: 22px 0 30px; width: fit-content; }
.billing-toggle button { border: 0; background: transparent; padding: 11px 20px; min-height: 44px; border-radius: 6px; font-size: 12px; }
.billing-toggle button.active { background: white; color: var(--cobalt); box-shadow: 0 2px 4px rgba(22,36,58,.05); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pricing-card { padding: 33px; background: white; border: 1px solid var(--border); border-radius: 16px; display: flex; flex-direction: column; position: relative; }
.pricing-card.recommended { border: 2px solid var(--cobalt); padding: 32px; }
.pricing-card.recommended > .pill { position: absolute; top: -13px; right: 25px; background: var(--cobalt); color: white; padding: 7px 12px; }
.pricing-card h2 { font-size: 24px; margin-bottom: 10px; }
.pricing-card p { font-size: 12px; color: var(--muted); }
.pricing-price { font-family: var(--display); font-size: 56px; font-weight: 750; line-height: 1.1; margin: 17px 0 24px; }
.pricing-price small { font-family: 'Onest', sans-serif; font-size: 12px; font-weight: 400; color: var(--muted); }
.feature-list { list-style: none; padding: 0; margin: 0 0 25px; }
.feature-list li { padding: 9px 0; display: flex; gap: 8px; align-items: start; font-size: 12px; line-height: 1.5; }
.feature-list svg { width: 17px; height: 17px; color: var(--success); }
.pricing-card > .btn { margin-top: auto; }

.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
.form-card { padding: 32px; border: 1px solid var(--border); border-radius: 16px; background: white; }
.form-card h2 { font-family: var(--display); font-size: 30px; margin-bottom: 21px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.form-grid > .full { grid-column: 1 / -1; }
.form-section { margin-bottom: 32px; padding-bottom: 30px; border-bottom: 1px solid var(--border); }
.form-section:last-of-type { margin-bottom: 25px; padding-bottom: 0; border: 0; }
.form-section h3 { font-size: 17px; margin-bottom: 20px; }
.form-help { color: var(--muted); font-size: 11px; line-height: 1.6; margin: 0; }
.upload-zone { min-height: 160px; border: 1px dashed #9dafc7; padding: 28px; border-radius: 11px; background: #f8faff; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; cursor: pointer; }
.upload-zone svg { width: 27px; height: 27px; color: var(--cobalt); }
.upload-zone strong { font-size: 13px; }
.upload-zone span { font-size: 11px; color: var(--muted); }
.upload-zone:hover { border-color: var(--cobalt); background: #f2f5ff; }
.upload-zone input { max-width: 100%; font-size: 11px; }
.listing-preview { position: sticky; top: 26px; }
.listing-preview > h3 { font-size: 13px; margin: 0 0 15px; }
.listing-preview .notice { margin-top: 16px; }
.step-list { list-style: none; padding: 0; display: flex; align-items: center; gap: 20px; margin-bottom: 30px; font-size: 11px; color: #7d8898; }
.step-list li { display: flex; align-items: center; gap: 8px; }
.step-list li::before { content: attr(data-step); width: 25px; height: 25px; border: 1px solid #bdc8d7; border-radius: 50%; display: grid; place-items: center; font-size: 10px; }
.step-list li.active { color: var(--cobalt); }
.step-list li.active::before { color: white; border-color: var(--cobalt); background: var(--cobalt); }

.inbox-layout { display: grid; grid-template-columns: 320px minmax(0, 1fr); border: 1px solid var(--border); background: white; border-radius: 15px; overflow: hidden; min-height: 570px; }
.thread-list { border-right: 1px solid var(--border); padding: 15px 0; }
.thread-list h2 { margin: 10px 20px 22px; font-size: 18px; }
.thread-item { border: 0; border-bottom: 1px solid #edf0f5; padding: 18px 20px; background: white; display: flex; gap: 12px; text-align: left; width: 100%; }
.thread-item.active { background: #edf2ff; box-shadow: inset 3px 0 var(--cobalt); }
.thread-item:hover { background: #f5f7fc; }
.thread-item .seller-avatar { width: 37px; height: 37px; font-size: 13px; }
.thread-item > div { min-width: 0; }
.thread-item strong { font-size: 12px; display: block; margin-bottom: 6px; }
.thread-item p { font-size: 10px; color: var(--muted); margin: 0 0 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thread-item small { font-size: 9px; color: #8590a3; }
.conversation { display: flex; flex-direction: column; min-width: 0; }
.conversation > header { padding: 22px 26px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 13px; }
.conversation > header h2 { font-size: 14px; margin: 0 0 5px; }
.conversation > header p { font-size: 11px; margin: 0; color: var(--muted); }
.messages { flex: 1; padding: 24px 27px; display: flex; flex-direction: column; gap: 17px; background: #fbfcfe; min-height: 340px; }
.message { max-width: 80%; align-self: flex-start; padding: 13px 16px; border: 1px solid #e1e7f0; border-radius: 10px 10px 10px 0; font-size: 12px; line-height: 1.65; background: white; }
.message p { margin: 0; font-size: inherit; }
.message small { display: block; text-align: right; font-size: 9px; color: #8390a3; margin-top: 5px; }
.message.outgoing { align-self: flex-end; background: #e8eeff; border-color: #dce4fd; border-radius: 10px 10px 0 10px; }
.message-form { display: flex; gap: 10px; padding: 17px 22px; border-top: 1px solid var(--border); }
.message-form .input { flex: 1; min-width: 0; }

.account-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 30px; align-items: start; }
.account-nav { display: flex; flex-direction: column; padding: 11px; background: white; border: 1px solid var(--border); border-radius: 13px; }
.account-nav a { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px; font-size: 12px; border-radius: 7px; color: #627086; }
.account-nav a.active { color: var(--cobalt); background: #edf2ff; font-weight: 600; }
.account-nav a:hover { color: var(--cobalt); }
.account-nav svg { width: 18px; height: 18px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 25px; }
.stat-card { background: white; border: 1px solid var(--border); border-radius: 12px; padding: 22px; }
.stat-card span { color: var(--muted); font-size: 11px; }
.stat-card strong { display: block; font-size: 30px; letter-spacing: -1px; margin-top: 9px; }
.stat-card small { display: block; color: var(--success); font-size: 10px; margin-top: 7px; }
.table-wrap { background: white; border: 1px solid var(--border); border-radius: 12px; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 12px; }
th { color: #768297; font-size: 10px; font-weight: 500; padding: 16px 18px; background: #f8faff; border-bottom: 1px solid var(--border); white-space: nowrap; }
td { padding: 17px 18px; border-bottom: 1px solid #e9edf3; }
tr:last-child td { border-bottom: 0; }
.account-listing { display: flex; align-items: center; gap: 12px; min-width: 230px; }
.account-listing img { width: 64px; height: 52px; object-fit: cover; border-radius: 7px; background: #eaf0f6; }
.account-listing strong { display: block; font-size: 12px; font-weight: 600; margin-bottom: 5px; }
.account-listing small { color: #8490a3; font-size: 10px; }
.status-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #27a07b; flex-shrink: 0; }
.saved-search { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px; background: white; border: 1px solid var(--border); border-radius: 11px; margin-bottom: 14px; }
.saved-search h3 { font-size: 15px; margin: 0 0 7px; }
.saved-search p { font-size: 11px; color: var(--muted); margin: 0; }
.inline-actions { display: flex; gap: 9px; align-items: center; flex-wrap: wrap; }
.inline-actions > button:not(.btn) { border: 0; background: none; color: var(--cobalt); min-height: 44px; padding: 7px 3px; font-size: 11px; }

.checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 35px; align-items: start; }
.order-summary { padding: 27px; border: 1px solid var(--border); border-radius: 14px; background: white; position: sticky; top: 25px; }
.order-summary h2 { font-size: 19px; margin-bottom: 24px; }
.order-summary > .account-listing { padding-bottom: 23px; margin-bottom: 20px; border-bottom: 1px solid var(--border); min-width: 0; }
.order-summary > .account-listing img { width: 80px; height: 75px; }
.order-summary .spec-row { padding: 11px 0; border: 0; }
.order-summary .spec-row.total { font-size: 17px; padding-top: 18px; border-top: 1px solid var(--border); margin-top: 10px; }
.order-summary .spec-row.total span { color: var(--navy); font-weight: 600; }
.order-summary .btn { margin-top: 20px; }
.checkout-methods { display: grid; gap: 12px; margin-bottom: 22px; }
.checkout-methods label { display: flex; align-items: center; gap: 12px; padding: 17px; border: 1px solid #c8d2e0; border-radius: 8px; font-size: 12px; cursor: pointer; }
.checkout-methods label:has(input:checked) { border-color: var(--cobalt); background: #f5f7ff; }
.checkout-methods input { accent-color: var(--cobalt); }
.checkout-methods svg { width: 24px; height: 24px; margin-left: auto; color: #70829c; }
.success-state { text-align: center; max-width: 670px; padding: 64px 40px; margin: 30px auto; border: 1px solid var(--border); border-radius: 20px; background: white; }
.success-state > svg { width: 66px; height: 66px; padding: 17px; color: var(--success); border-radius: 50%; background: #e0f2e9; margin-bottom: 22px; }
.success-state h1 { font-family: var(--display); font-size: 49px; margin-bottom: 20px; }
.success-state p { font-size: 13px; color: var(--muted); }
.success-state .btn { margin-top: 17px; }

.help-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 43px; }
.help-card { background: white; border: 1px solid var(--border); border-radius: 13px; padding: 28px; }
.help-card > svg { color: var(--cobalt); width: 28px; height: 28px; margin-bottom: 20px; }
.help-card h2, .help-card h3 { font-size: 19px; margin-bottom: 10px; }
.help-card p { font-size: 12px; color: var(--muted); margin-bottom: 14px; }
.help-card a { font-size: 12px; color: var(--cobalt); font-weight: 600; }
.faq-list { max-width: 880px; margin-bottom: 35px; }
.faq-list > h2 { font-family: var(--display); font-size: 36px; margin-bottom: 25px; }
details { border-bottom: 1px solid #d7e0ec; }
summary { padding: 21px 32px 21px 0; font-size: 14px; font-weight: 550; position: relative; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 4px; top: 16px; font-size: 23px; font-weight: 400; color: #70849e; }
details[open] > summary::after { content: '−'; }
details > p { padding-bottom: 20px; font-size: 13px; color: var(--muted); max-width: 720px; }

.toast { position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%); max-width: calc(100% - 40px); padding: 15px 22px; border-radius: 10px; background: var(--navy); color: white; font-size: 12px; line-height: 1.5; z-index: 150; box-shadow: 0 8px 32px rgba(22,36,58,.2); display: flex; align-items: center; gap: 10px; }
.toast svg { color: var(--yellow); width: 19px; height: 19px; }
.dialog-backdrop { position: fixed; inset: 0; background: rgba(10,27,50,.58); z-index: 100; display: grid; place-items: center; padding: 24px; }
.dialog { width: 100%; max-width: 510px; border-radius: 16px; padding: 31px; background: white; position: relative; max-height: calc(100dvh - 48px); overflow-y: auto; }
.dialog > .icon-btn { position: absolute; right: 12px; top: 10px; }
.dialog h2 { padding-right: 28px; font-family: var(--display); font-size: 34px; margin-bottom: 15px; }
.dialog p { font-size: 13px; color: var(--muted); }
.dialog .field { margin-bottom: 20px; }
.dialog .notice { margin-top: 20px; }
.modal-actions { display: flex; gap: 12px; margin-top: 26px; }
.modal-actions > .btn { flex: 1; }
.compare-bar { position: fixed; left: 50%; transform: translateX(-50%); bottom: 23px; width: calc(100% - 44px); max-width: 850px; z-index: 65; background: var(--navy); color: white; border-radius: 12px; padding: 15px 19px; display: flex; align-items: center; justify-content: space-between; gap: 16px; box-shadow: 0 12px 34px rgba(22,36,58,.2); }
.compare-bar strong { font-size: 12px; }
.compare-bar .inline-actions { flex-wrap: nowrap; }
.compare-bar .icon-btn:hover { background: #344258; }
.compare-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.compare-grid > article { background: white; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.compare-grid .product-body { padding: 20px; }
.compare-grid .spec-row { padding: 12px 20px; }
.subtle { color: var(--muted); font-size: 12px; line-height: 1.6; }
.muted { color: var(--muted); }
.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; }
.error-message { font-size: 11px; color: var(--danger); margin: 0; line-height: 1.5; }
[hidden] { display: none !important; }

/* Shared markup integrations for static page routes. */
.skip-link { position: fixed; left: 16px; top: -70px; z-index: 200; padding: 14px 18px; background: var(--navy); color: white; border-radius: 7px; font-size: 13px; }
.skip-link:focus { top: 15px; }
.brand-dot { color: var(--cobalt); margin-left: -7px; }
.demo-bar { justify-content: space-between; padding-inline: var(--gutter); }
.demo-bar a { display: inline-flex; align-items: center; gap: 5px; }
.nav a[aria-current='page'] { color: var(--cobalt); }
.nav a[aria-current='page']::after { content: ''; position: absolute; left: 0; right: 0; bottom: -20px; height: 3px; border-radius: 3px; background: var(--cobalt); }
.badge-count:empty { display: none; }
.hero-search.container { width: auto; margin-top: -4px; margin-bottom: 0; }
.hero-search.container .search-form { width: 100%; max-width: 100%; padding: 9px; border-color: #d6deea; box-shadow: 0 7px 25px rgba(22,36,58,.035); }
.hero-search.container .search-input { flex-basis: 220px; padding-left: 14px; }
.hero-search.container .search-input input { font-size: 13px; }
.hero-search.container .search-form .btn { padding-inline: 31px; font-size: 13px; }
.hero-search.container .popular-searches { margin-top: 14px; font-size: 11px; gap: 15px; }
.hero-search.container .popular-searches > button { margin-left: auto; color: var(--cobalt); display: inline-flex; gap: 6px; align-items: center; text-decoration: none; }
.search-island { display: flex; align-items: center; gap: 7px; width: 180px; flex-shrink: 0; }
.search-island > svg { width: 17px; height: 17px; color: #708198; }
.search-island > select { width: 100%; min-width: 0; height: 39px; font-size: 12px; color: #5f6e83; border: 0; background: white; padding-right: 7px; }
.hero-stamp > span { margin-top: 7px; }
.hero-caption .icon-btn { border: 1px solid rgba(255,255,255,.55); color: white; width: 46px; height: 46px; }
.hero-caption .icon-btn:hover { background: rgba(255,255,255,.14); }
.category-card > span { font-size: 11px; font-weight: 600; color: var(--navy); margin: 0; }
.category-card > small { color: #8390a3; font-size: 9px; margin-top: -6px; }
.category-card > img { height: 42px; width: 75px; object-fit: contain; }
.product-image > a { display: block; width: 100%; height: 100%; }
.product-image img[src$='.svg'] { object-fit: contain; padding: 6px; }
.product-bottom > a { display: flex; align-items: center; gap: 5px; min-width: 0; max-width: calc(100% - 32px); font-size: 9px; }
.product-bottom > a:hover { color: var(--cobalt); }
.product-bottom > .compare-button.icon-btn { width: 28px; height: 25px; min-height: 25px; padding: 0; flex-shrink: 0; }
.product-bottom > .compare-button.icon-btn::before { content: ''; position: absolute; inset: -9px; }
.product-bottom > .compare-button.icon-btn svg { width: 15px; height: 15px; }
.product-bottom > .compare-button[aria-pressed='true'] { color: var(--cobalt); background: #e8eeff; }
.promo-copy > .pill { margin-bottom: 14px; background: transparent; padding: 0; color: #54797d; font-size: 11px; font-weight: 500; }
.promo-art > span { position: absolute; bottom: 0; left: 11px; font-family: var(--display); font-weight: 700; font-size: 20px; line-height: 1.05; color: #396c79; z-index: 3; }
.island-grid { grid-template-columns: repeat(7, minmax(0,1fr)); gap: 12px; }
.island-card { display: block; padding: 20px 15px 16px; min-height: 155px; }
.island-card h3 { font-size: 12px; margin: 17px 0 8px; }
.island-card > span:last-child { display: flex; justify-content: space-between; align-items: center; color: #8590a1; font-size: 9px; }
.island-card > span:last-child svg { color: var(--cobalt); width: 14px; height: 14px; }
.island-shape { display: block; width: 40px; height: 44px; margin: 0 auto; background: #c2d5ef; border-radius: 40% 70% 30% 55%; transform: rotate(-35deg); }
.island-1 .island-shape { border-radius: 55% 40% 58% 50%; background: #ccd9e6; transform: rotate(20deg); }
.island-2 .island-shape { width: 46px; height: 28px; border-radius: 15% 60% 20% 60%; transform: rotate(-30deg); background: #c9dfe0; }
.island-3 .island-shape { width: 32px; height: 46px; border-radius: 35% 65% 35% 65%; transform: rotate(-20deg); background: #dad8cc; }
.island-4 .island-shape { width: 26px; height: 43px; border-radius: 70% 65% 20% 55%; transform: rotate(15deg); background: #d6d7ec; }
.island-5 .island-shape { width: 32px; height: 34px; border-radius: 55% 45% 60% 50%; transform: rotate(35deg); background: #d1dfd6; }
.island-6 .island-shape { width: 34px; height: 29px; border-radius: 60% 25% 60% 30%; transform: rotate(-30deg); background: #dcd2e4; }
.site-footer h3 { color: white; font-size: 12px; font-weight: 600; margin: 6px 0 16px; }
.site-footer .brand-dot { color: var(--yellow); }
.catalog-search { padding-bottom: 29px; }
.catalog-search .search-form { max-width: 850px; }
.filters .section-heading { margin-bottom: 19px; align-items: center; }
.filters .section-heading h2 { font-family: 'Onest', sans-serif; margin: 0; font-size: 16px; }
.filters .section-heading a { min-height: 25px; font-size: 10px; }
.filter-group > label:not(.check-label) { font-size: 11px; font-weight: 600; display: block; margin-bottom: 9px; }
.filters .form-grid { gap: 8px; }
.filters form > .btn { margin-top: 13px; }
.filters .notice { padding: 13px 10px; margin-top: 20px; font-size: 10px; }
.text-button { display: block; color: var(--cobalt); font-size: inherit; border: 0; background: transparent; padding: 7px 0 0; }
.catalog-toolbar > div { display: flex; gap: 8px; align-items: center; }
.sort-select.select { width: auto; min-height: 44px; }
.filter-toggle { display: none; }
.filter-summary > span { font-size: 11px; color: #64718a; }
.detail-photo > .pill { position: absolute; bottom: 14px; left: 15px; background: rgba(255,255,255,.9); }
.detail-info > .product-badges { position: static; margin-bottom: 12px; }
.detail-info .pill { font-size: 10px; }
.detail-info .detail-price { font-size: 46px; margin-top: 18px; }
.delivery-line { display: flex; align-items: center; gap: 7px; color: #66768c; font-size: 12px; margin-top: 17px; }
.delivery-line svg { width: 17px; height: 17px; }
.seller-mini small { color: #778396; font-size: 10px; display: block; margin-top: 6px; }
.seller-mini small svg { width: 12px; height: 12px; }
.detail-actions .inline-actions { flex-wrap: nowrap; }
.detail-actions .inline-actions .btn { flex: 1; font-size: 11px; min-height: 44px; padding-inline: 10px; }
.detail-specs { margin: 0; }
.spec-row dt { color: #758095; margin: 0; }
.spec-row dd { text-align: right; margin: 0; font-weight: 550; }
.detail-sections h3 { font-size: 15px; margin-top: 23px; }
.seller-card .seller-stats span { font-size: 11px; color: #617088; }
.seller-card .seller-stats small { font-size: 9px; color: #8290a6; }
.pricing-card > .pill { width: fit-content; margin-bottom: 21px; }
.pricing-card.recommended > .pill { position: static; color: #3f380b; background: var(--yellow); font-size: 9px; padding: 5px 8px; }
.pricing-card.recommended::before { content: 'Más elegido'; position: absolute; right: 24px; top: -13px; background: var(--cobalt); color: white; padding: 7px 12px; border-radius: 5px; font-size: 9px; font-weight: 600; }
.form-card .field { margin-bottom: 20px; }
.form-grid .field { margin-bottom: 0; }
.form-card .form-section:last-of-type { border: 0; }
.form-section > .check-label { margin-block: 11px; min-height: 42px; font-size: 11px; line-height: 1.6; align-items: start; }
.form-section > .check-label input { margin-top: 3px; }
.form-section .form-grid + .field { margin-top: 22px; }
.form-help { margin-top: 11px; }
.listing-preview .form-card { margin-top: 20px; padding: 24px; }
.listing-preview .form-card h3 { font-size: 15px; }
.listing-preview .form-card p { font-size: 12px; color: var(--muted); }
.listing-preview .form-card > a { display: block; color: var(--cobalt); font-size: 11px; margin-top: 17px; }
.listing-preview .notice { margin-top: 0; }
.listing-preview .notice h3 { font-size: 14px; margin: 0 0 8px; }
.listing-preview .notice p { font-size: 11px; }
.thread-item > img { width: 49px; height: 49px; border-radius: 8px; object-fit: contain; background: #edf1f7; }
.thread-item > div > span { display: block; font-size: 10px; color: #728097; margin-bottom: 6px; }
.thread-item > div > small { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; line-height: 1.5; }
.thread-list > p { margin: 20px; font-size: 12px; }
.conversation-header > div:not(.seller-avatar) { min-width: 0; }
.conversation-header strong { display: block; font-size: 13px; margin-bottom: 6px; }
.conversation-header a { font-size: 11px; color: var(--cobalt); }
.conversation-header > .pill { margin-left: auto; flex-shrink: 0; }
.message.system { align-self: center; text-align: center; max-width: 100%; background: transparent; border: 0; font-size: 10px; color: #8090a5; padding: 0 10px 10px; }
.message-form > textarea.input { resize: none; min-height: 55px; max-height: 100px; font-size: 12px; }
.message-form .btn { font-size: 11px; }
.account-nav > .seller-avatar { margin: 12px auto 13px; }
.account-nav h2 { text-align: center; font-size: 16px; margin-bottom: 20px; }
.account-nav > .btn { margin-top: 14px; font-size: 10px; }
.stat-card .plan-stat { font-size: 22px; letter-spacing: -.5px; margin-top: 15px; }
.page-account .account-listing { padding: 19px; background: white; border: 1px solid var(--border); border-radius: 10px; margin-bottom: 13px; flex-wrap: wrap; }
.page-account .account-listing > img { width: 90px; height: 70px; }
.page-account .account-listing > div:not(.inline-actions) { flex: 1; min-width: 120px; }
.page-account .account-listing h3 { font-size: 13px; line-height: 1.5; margin: 0 0 8px; }
.page-account .account-listing > div > span { font-size: 11px; color: #6a7990; }
.page-account .account-listing > div > .pill { margin-left: 10px; }
.page-account .form-card .field { margin-top: 20px; }
.page-account .form-grid .field { margin-top: 0; }
.page-account .field small { font-size: 10px; color: var(--muted); }
.page-account #compras > h2 { font-family: var(--display); font-size: 32px; }
.checkout-layout .form-card > .pill { margin-bottom: 18px; }
.checkout-layout .form-card > p { font-size: 12px; color: var(--muted); }
.checkout-layout .form-card .field small { font-size: 11px; line-height: 1.5; }
.checkout-layout .form-card .field small a { color: var(--cobalt); }
.checkout-methods { padding: 18px; background: #edf2f9; border-radius: 9px; gap: 8px; }
.checkout-methods > span { display: flex; gap: 8px; align-items: center; font-size: 12px; font-weight: 600; }
.checkout-methods > span svg { color: var(--cobalt); margin: 0; width: 19px; height: 19px; }
.checkout-methods p { margin: 0; font-size: 11px; color: var(--muted); }
.checkout-layout .check-label { align-items: start; line-height: 1.6; min-height: 50px; }
.checkout-layout .check-label input { margin-top: 3px; }
.order-summary .order-total { padding-block: 19px; margin-top: 20px; border-top: 1px solid var(--border); font-size: 17px; }
.order-summary .order-total span { color: var(--navy); }
.order-summary > p { margin: 7px 0 18px; color: var(--muted); font-size: 11px; }
.order-summary > a { display: block; margin-top: 21px; font-size: 11px; color: var(--cobalt); }
.success-state > .pill { display: block; width: fit-content; margin: 0 auto 20px; }
.success-state .inline-actions { justify-content: center; }
.compare-photo { width: 100%; height: 190px; object-fit: contain; margin-block: 10px 22px; background: #eaf0f6; border-radius: 9px; }
.compare-grid > .form-card { padding: 24px; }
.compare-grid h2 { font-family: 'Onest', sans-serif; font-size: 16px; line-height: 1.5; min-height: 48px; margin-bottom: 15px; }
.compare-grid .detail-specs { margin: 23px 0; }
.compare-grid .spec-row { padding: 12px 15px; font-size: 11px; }
.compare-grid > article > .icon-btn { float: right; margin: -8px -8px 0 0; }
.toast { display: none; }
.toast.visible { display: flex; }
.compare-bar:empty { display: none; }
.compare-bar > div { display: flex; align-items: center; gap: 15px; width: 100%; font-size: 12px; }
.compare-bar > div > span { flex: 1; display: flex; gap: 8px; align-items: center; }
.compare-bar > div > .icon-btn { color: white; flex-shrink: 0; }
.dialog { border: 0; margin: auto; box-shadow: 0 20px 60px rgba(9,26,49,.25); }
.dialog:not([open]) { display: none; }
.dialog::backdrop { background: rgba(10,27,50,.58); }
.dialog > .dialog-close { position: absolute; right: 12px; top: 11px; }
.mobile-drawer { display: none; }
.catalog-main { min-width: 0; }
.seller-filters { display: flex; gap: 18px; align-items: end; margin-bottom: 27px; padding: 23px; border: 1px solid var(--border); border-radius: 12px; background: white; }
.seller-filters > .field { width: 250px; font-size: 13px; font-weight: 600; }
.seller-hero > div:nth-child(2) { flex: 1; }
.seller-hero h2 { color: white; font-family: var(--display); font-size: 38px; margin: 15px 0 12px; }
.seller-hero .seller-stats { flex-direction: column; gap: 9px; flex-shrink: 0; }
.seller-hero .seller-stats strong { color: var(--yellow); font-size: 27px; margin: 0; }
.seller-hero .seller-stats svg { width: 20px; height: 20px; }
.seller-hero .seller-stats > span { font-size: 12px; }

@media (min-width: 1441px) {
  .hero-title { font-size: 107px; }
}

@media (max-width: 1200px) {
  :root { --gutter: 38px; }
  .header-inner { gap: 20px; }
  .nav { gap: 20px; margin-left: 3px; }
  .header-actions { gap: 4px; }
  .hero { gap: 27px; }
  .hero-title { font-size: 89px; }
  .hero-visual { height: 455px; }
  .hero-stamp { width: 95px; height: 95px; right: -10px; font-size: 10px; }
  .hero-search { width: calc(100% + 30px); }
  .search-island { width: 112px; }
  .search-form .btn { padding-inline: 12px; }
  .trust-row { gap: 12px; }
  .product-grid { gap: 16px; }
  .product-image { height: 170px; }
  .product-body { padding-inline: 14px; }
  .category-grid { gap: 9px; }
  .category-card { min-height: 120px; }
  .catalog-layout { grid-template-columns: 210px minmax(0,1fr); gap: 23px; }
  .results-grid { gap: 15px; }
  .results-grid .product-image { height: 155px; }
  .detail-layout, .detail-sections { gap: 32px; }
  .detail-info h1 { font-size: 39px; }
  .detail-photo { height: 395px; }
  .pricing-card { padding: 25px; }
  .pricing-card.recommended { padding: 24px; }
  .form-layout { grid-template-columns: minmax(0,1fr) 280px; gap: 25px; }
  .checkout-layout { grid-template-columns: minmax(0,1fr) 310px; gap: 25px; }
  .account-layout { grid-template-columns: 200px minmax(0,1fr); gap: 24px; }
  .stats-grid { gap: 12px; }
  .stat-card { padding: 17px; }
  .island-card { padding: 19px; }
}

@media (max-width: 1023px) {
  :root { --gutter: 28px; }
  .header-inner { min-height: 76px; }
  .brand { font-size: 25px; }
  .nav { gap: 16px; }
  .nav a { font-size: 11px; }
  .nav a.active::after { bottom: -15px; }
  .header-actions > .icon-btn:first-child { display: none; }
  .header-actions .btn { padding-inline: 12px; font-size: 10px; }
  .hero { padding-top: 36px; gap: 23px; }
  .hero-title { font-size: 72px; letter-spacing: -1px; }
  .hero-copy .eyebrow { font-size: 10px; margin-bottom: 19px; }
  .hero-description { font-size: 12px; max-width: 360px; }
  .hero-visual { height: 413px; }
  .hero-stamp { width: 81px; height: 81px; top: -12px; right: -8px; padding: 11px; font-size: 8px; box-shadow: 0 0 0 5px var(--paper); }
  .hero-stamp svg { width: 20px; height: 20px; margin-bottom: 4px; }
  .hero-caption { left: 19px; bottom: 19px; font-size: 10px; }
  .hero-caption strong { font-size: 15px; }
  .hero-search { width: calc(100% + 55px); }
  .search-input { flex-basis: 100px; padding-left: 6px; gap: 6px; }
  .search-input input { font-size: 10px; }
  .search-island { width: 104px; font-size: 10px; padding-left: 8px; }
  .search-form .btn { padding-inline: 11px; font-size: 10px; }
  .popular-searches { gap: 7px; font-size: 9px; }
  .trust-row { font-size: 8px; gap: 10px; padding-top: 12px; }
  .category-grid { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
  .category-card { min-height: 110px; }
  .product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .product-grid .product-card:last-child:nth-child(4) { display: none; }
  .catalog-layout { grid-template-columns: 190px minmax(0,1fr); gap: 19px; }
  .filters { padding: 20px 16px; }
  .results-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .results-grid .product-image { height: 180px; }
  .island-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .promo-band { padding: 31px; }
  .promo-copy h2 { font-size: 36px; }
  .promo-art { width: 150px; }
  .promo-art > svg { width: 115px; height: 115px; }
  .seller-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .pricing-grid { gap: 16px; }
  .pricing-card { padding: 22px; }
  .pricing-card.recommended { padding: 21px; }
  .pricing-card h2 { font-size: 20px; }
  .feature-list li { font-size: 11px; }
  .form-layout { grid-template-columns: minmax(0,1fr) 255px; gap: 20px; }
  .form-card { padding: 25px; }
  .form-grid { gap: 18px; }
  .detail-layout { gap: 25px; grid-template-columns: minmax(0,1fr) minmax(0,.85fr); }
  .detail-info h1 { font-size: 34px; }
  .detail-photo { height: 355px; }
  .detail-gallery { gap: 9px; }
  .photo-thumb { height: 73px; }
  .detail-price { font-size: 35px; }
  .detail-sections { gap: 25px; }
  .account-layout { grid-template-columns: 180px minmax(0,1fr); gap: 20px; }
  .account-nav a { font-size: 11px; }
  .stats-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .inbox-layout { grid-template-columns: 255px minmax(0,1fr); }
  .checkout-layout { grid-template-columns: minmax(0,1fr) 280px; gap: 20px; }
  .order-summary { padding: 23px; }
  .help-grid { gap: 16px; }
  .help-card { padding: 22px; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 30px; }
  .footer-grid > div:last-child { display: none; }
}

@media (max-width: 767px) {
  :root { --gutter: 20px; }
  .demo-bar { font-size: 9px; min-height: 28px; padding-block: 6px; }
  .header-inner { min-height: 70px; gap: 14px; }
  .brand { font-size: 24px; }
  .nav { display: none; }
  .header-actions { gap: 2px; }
  .header-actions .btn { display: none; }
  .header-actions > .icon-btn { width: 38px; height: 44px; }
  .header-actions > .icon-btn:first-child { display: inline-flex; }
  .header-actions > .icon-btn svg { width: 20px; height: 20px; }
  .mobile-menu { display: inline-flex; margin-left: 2px; }
  .mobile-nav.open { display: grid; padding: 12px 20px 20px; border-top: 1px solid var(--border); background: white; grid-template-columns: 1fr 1fr; gap: 5px 15px; }
  .mobile-nav a { padding: 12px 7px; border-radius: 7px; font-size: 13px; min-height: 44px; }
  .mobile-nav a.active { background: #edf2ff; color: var(--cobalt); }
  .hero { grid-template-columns: 1fr; padding-top: 31px; padding-bottom: 9px; gap: 28px; }
  .hero-copy { padding-top: 0; }
  .hero-copy .eyebrow { margin-bottom: 18px; font-size: 10px; }
  .hero-title { font-size: clamp(66px, 14.5vw, 96px); letter-spacing: -.8px; max-width: 560px; margin-bottom: 20px; }
  .hero-description { font-size: 12px; max-width: 470px; margin-bottom: 17px; }
  .hero-search { width: 100%; margin-top: 21px; }
  .search-form { padding: 5px; border-radius: 10px; gap: 2px; }
  .search-input { flex-basis: 120px; padding-left: 7px; }
  .search-input input { font-size: 11px; height: 45px; }
  .search-input svg { width: 17px; height: 17px; }
  .search-island { width: 109px; font-size: 10px; height: 37px; }
  .search-form .btn { min-height: 45px; padding-inline: 12px; font-size: 11px; }
  .popular-searches { font-size: 9px; margin-top: 10px; }
  .trust-row { gap: 18px; font-size: 9px; padding-top: 16px; }
  .trust-row svg { width: 14px; height: 14px; }
  .hero-visual { height: 340px; margin-right: 0; }
  .hero-stamp { top: -13px; right: 10px; width: 84px; height: 84px; }
  .hero-caption { left: 22px; bottom: 22px; }
  .hero-caption strong { font-size: 18px; }
  .hero-caption span { font-size: 11px; }
  .section { padding-top: 31px; padding-bottom: 15px; }
  .section-heading { margin-bottom: 18px; gap: 12px; }
  .section-heading h2 { font-size: 31px; }
  .section-heading p { font-size: 11px; }
  .section-heading > a { font-size: 10px; gap: 4px; }
  .section-heading > a svg { width: 14px; height: 14px; }
  .category-grid { gap: 10px; }
  .category-card { padding: 15px 4px 12px; min-height: 99px; gap: 9px; border-radius: 10px; }
  .category-card > svg { width: 29px; height: 29px; }
  .category-card strong { font-size: 10px; }
  .category-card span { font-size: 8px; margin-top: -3px; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .product-grid .product-card:last-child:nth-child(4) { display: block; }
  .product-image { height: 190px; }
  .product-body { padding: 15px 12px 12px; }
  .product-title { font-size: 12px; min-height: 39px; margin-bottom: 9px; }
  .product-price { font-size: 23px; }
  .product-meta { font-size: 8px; gap: 4px; }
  .product-location { font-size: 9px; }
  .product-bottom { font-size: 8px; gap: 4px; }
  .product-bottom .compare-button { font-size: 8px; }
  .product-badges { top: 9px; left: 9px; right: 43px; }
  .pill { font-size: 8px; padding: 4px 6px; }
  .save-button { top: 8px; right: 8px; width: 31px; min-width: 31px; height: 31px; }
  .save-button::before { inset: -7px; }
  .save-button svg { width: 16px; height: 16px; }
  .promo-band { margin-top: 32px; padding: 27px; gap: 18px; grid-template-columns: minmax(0,1fr) 100px; }
  .promo-copy h2 { font-size: 33px; }
  .promo-copy p { font-size: 11px; }
  .promo-copy .btn { font-size: 11px; padding-inline: 16px; }
  .promo-art { width: 100px; height: 150px; }
  .promo-art::before { width: 85px; height: 85px; top: 22px; right: -10px; }
  .promo-art > svg { width: 88px; height: 88px; }
  .promo-art img { width: 105px; height: 120px; }
  .island-grid { gap: 12px; }
  .island-card { min-height: 105px; padding: 18px; gap: 8px; }
  .island-card h3 { font-size: 14px; }
  .island-card p { font-size: 9px; }
  .island-card > svg { width: 30px; height: 30px; }
  .site-footer { margin-top: 43px; }
  .footer-grid { padding-block: 33px 24px; gap: 27px; grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-grid > div:first-child p { max-width: 360px; }
  .footer-grid > div:last-child { display: block; }
  .footer-bottom { padding-block: 18px; flex-direction: column; gap: 12px; font-size: 9px; }
  .footer-bottom a:not(.brand) { font-size: 9px; }
  .page-top { padding-top: 23px; padding-bottom: 25px; }
  .breadcrumbs { font-size: 10px; gap: 6px; margin-bottom: 21px; }
  .page-top h1 { font-size: 45px; margin-bottom: 11px; }
  .page-top p { font-size: 12px; }
  .catalog-layout { grid-template-columns: 1fr; gap: 23px; }
  .filters { padding: 17px; }
  .filters h2 { font-size: 14px; margin-bottom: 15px; }
  .filters > form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
  .filter-group { border-top: 0; padding-top: 0; margin-top: 0; }
  .filter-group h3 { margin-bottom: 8px; }
  .filters > form > .btn { grid-column: 1 / -1; }
  .filters .filter-group:has(.check-label) { grid-column: auto; }
  .check-label { font-size: 10px; min-height: 31px; }
  .catalog-toolbar { font-size: 11px; gap: 10px; }
  .sort-select { max-width: 170px; font-size: 10px; }
  .results-grid { gap: 12px; }
  .results-grid .product-image { height: 190px; }
  .filter-summary { margin-bottom: 16px; }
  .filter-summary button { font-size: 9px; }
  .detail-layout { grid-template-columns: 1fr; gap: 27px; }
  .detail-photo { height: 380px; }
  .photo-thumb { height: 83px; }
  .detail-info h1 { font-size: 42px; }
  .detail-info .product-meta { font-size: 11px; margin-top: 12px; }
  .detail-price { margin-block: 20px; }
  .detail-actions { grid-template-columns: 1fr 1fr; gap: 10px; }
  .detail-actions .btn { font-size: 12px; padding-inline: 15px; }
  .detail-sections { grid-template-columns: 1fr; gap: 12px; padding-top: 31px; }
  .detail-sections section { margin-bottom: 20px; }
  .seller-grid { gap: 14px; }
  .seller-card { padding: 22px; }
  .seller-card h3 { font-size: 16px; }
  .seller-card .seller-avatar { width: 52px; height: 52px; margin-bottom: 15px; }
  .seller-stats { gap: 15px; }
  .seller-hero { padding: 27px; gap: 20px; }
  .seller-hero h1 { font-size: 39px; }
  .seller-hero .seller-avatar { width: 58px; height: 58px; }
  .pricing-grid { grid-template-columns: 1fr; gap: 27px; }
  .pricing-card { padding: 27px; }
  .pricing-card.recommended { padding: 26px; }
  .pricing-card h2 { font-size: 23px; }
  .pricing-price { font-size: 53px; margin-block: 15px 20px; }
  .feature-list li { font-size: 12px; }
  .billing-toggle { margin-bottom: 28px; }
  .form-layout { grid-template-columns: 1fr; gap: 25px; }
  .listing-preview { position: static; max-width: 360px; }
  .form-card { padding: 25px; }
  .form-grid { gap: 18px; }
  .step-list { gap: 14px; flex-wrap: wrap; font-size: 10px; margin-bottom: 23px; }
  .step-list li { gap: 6px; }
  .inbox-layout { grid-template-columns: 1fr; min-height: 0; }
  .thread-list { border-right: 0; border-bottom: 1px solid var(--border); display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); padding: 0; }
  .thread-list h2 { grid-column: 1 / -1; margin: 19px 19px 12px; font-size: 16px; }
  .thread-item { padding: 15px; gap: 9px; min-width: 0; }
  .thread-item strong { font-size: 11px; }
  .thread-item .seller-avatar { width: 31px; height: 31px; font-size: 11px; }
  .conversation > header { padding: 19px; }
  .messages { padding: 21px 19px; min-height: 320px; }
  .message { font-size: 11px; max-width: 87%; }
  .message-form { padding: 15px; gap: 8px; }
  .message-form .btn { padding-inline: 16px; }
  .account-layout { grid-template-columns: 1fr; gap: 22px; }
  .account-nav { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 3px; padding: 8px; }
  .account-nav a { font-size: 10px; padding: 9px 7px; min-height: 44px; gap: 6px; }
  .account-nav svg { width: 16px; height: 16px; }
  .stat-card { padding: 20px; }
  .saved-search { padding: 19px; }
  .saved-search h3 { font-size: 13px; }
  .checkout-layout { grid-template-columns: 1fr; gap: 25px; }
  .order-summary { position: static; padding: 25px; }
  .success-state { padding: 42px 24px; }
  .success-state h1 { font-size: 43px; }
  .help-grid { grid-template-columns: 1fr; gap: 15px; }
  .help-card { padding: 25px; }
  .help-card > svg { margin-bottom: 15px; }
  summary { font-size: 13px; padding-block: 19px; }
  .toast { bottom: 20px; padding: 13px 17px; font-size: 11px; width: max-content; }
  .dialog-backdrop { padding: 17px; }
  .dialog { padding: 27px 23px; max-height: calc(100dvh - 34px); }
  .compare-bar { width: calc(100% - 30px); bottom: 15px; padding: 13px; gap: 10px; }
  .compare-bar strong { font-size: 10px; }
  .compare-bar .btn { font-size: 10px; padding-inline: 12px; }
  .compare-bar .icon-btn { width: 32px; }
  .compare-bar .inline-actions { gap: 3px; }
  .compare-grid { grid-template-columns: 1fr; gap: 17px; }
}

@media (max-width: 479px) {
  :root { --gutter: 18px; }
  .demo-bar { font-size: 8px; }
  .header-inner { gap: 8px; }
  .brand { font-size: 22px; gap: 6px; }
  .header-actions { gap: 0; }
  .header-actions > .icon-btn { width: 34px; }
  .header-actions > .icon-btn:nth-child(2) { display: none; }
  .hero-title { font-size: clamp(63px, 16.4vw, 76px); }
  .hero-description { font-size: 11px; }
  .search-form { flex-wrap: wrap; gap: 4px; padding: 6px; }
  .search-input { flex-basis: calc(100% - 112px); }
  .search-island { width: 107px; }
  .search-form > .btn { width: 100%; min-height: 44px; margin-top: 2px; font-size: 12px; }
  .hero-search { margin-top: 19px; }
  .popular-searches { gap: 8px; font-size: 8px; }
  .popular-searches > span { display: none; }
  .trust-row { gap: 10px 13px; font-size: 8px; }
  .hero-visual { height: 285px; }
  .hero-caption { left: 19px; bottom: 20px; }
  .hero-caption strong { font-size: 16px; }
  .hero-caption span { font-size: 9px; }
  .hero-stamp { width: 75px; height: 75px; right: 12px; }
  .section-heading h2 { font-size: 28px; }
  .section-heading > a { font-size: 9px; }
  .section-heading p { font-size: 10px; }
  .category-grid { gap: 8px; }
  .category-card { min-height: 96px; padding: 14px 4px 11px; }
  .category-card strong { font-size: 8px; }
  .category-card span { font-size: 7px; }
  .product-grid, .results-grid { gap: 10px; }
  .product-card { border-radius: 12px; }
  .product-image, .results-grid .product-image { height: 141px; }
  .product-body { padding: 12px 10px 11px; }
  .product-title { font-size: 11px; min-height: 49px; line-height: 1.5; }
  .product-price { font-size: 22px; }
  .product-price small { font-size: 9px; }
  .product-meta { font-size: 7px; flex-wrap: wrap; gap: 3px; }
  .product-location { font-size: 8px; gap: 3px; }
  .product-location svg { width: 10px; height: 10px; }
  .product-bottom { font-size: 7px; padding-top: 9px; margin-top: 10px; flex-wrap: wrap; }
  .product-bottom .compare-button { font-size: 7px; }
  .product-bottom svg { width: 10px; height: 10px; }
  .product-badges { left: 7px; top: 7px; right: 40px; }
  .product-badges .pill { font-size: 7px; padding: 4px 5px; }
  .product-badges .pill svg { width: 9px; height: 9px; }
  .promo-band { padding: 24px; grid-template-columns: 1fr; }
  .promo-copy h2 { font-size: 35px; max-width: 280px; }
  .promo-copy p { font-size: 11px; }
  .promo-art { display: none; }
  .island-card { min-height: 95px; padding: 16px; }
  .island-card h3 { font-size: 12px; }
  .island-card p { font-size: 8px; }
  .island-card > svg { width: 24px; height: 24px; }
  .island-card img { width: 35px; height: 35px; }
  .footer-grid { gap: 24px; }
  .site-footer h4 { font-size: 11px; }
  .site-footer a:not(.brand), .site-footer p { font-size: 10px; }
  .page-top h1 { font-size: 40px; }
  .page-top p { font-size: 11px; }
  .page-top .search-form { margin-top: 18px; }
  .catalog-toolbar { align-items: start; font-size: 10px; }
  .catalog-toolbar p { padding-top: 13px; }
  .sort-select { max-width: 157px; font-size: 9px; }
  .filters { padding: 16px; }
  .filters > form { gap: 13px; }
  .filter-group h3 { font-size: 11px; }
  .check-label { font-size: 9px; gap: 6px; }
  .check-label input { width: 14px; height: 14px; }
  .check-label small { font-size: 8px; }
  .filter-group .input, .filter-group .select { font-size: 10px; padding-inline: 10px; }
  .detail-photo { height: 307px; }
  .photo-thumb { height: 67px; }
  .detail-gallery { gap: 8px; }
  .detail-info h1 { font-size: 38px; }
  .detail-actions { grid-template-columns: 1fr; }
  .detail-info .product-location { font-size: 11px; }
  .seller-mini { margin-block: 18px; padding-block: 18px; }
  .seller-grid { grid-template-columns: 1fr; }
  .seller-card { padding: 26px; }
  .seller-hero { padding: 24px; flex-wrap: wrap; }
  .seller-hero > .seller-avatar { order: -1; }
  .seller-hero h1 { font-size: 36px; }
  .form-card { padding: 22px; }
  .form-grid { grid-template-columns: 1fr; gap: 18px; }
  .form-section { padding-bottom: 25px; margin-bottom: 25px; }
  .form-section h3 { font-size: 16px; }
  .field > label, .field > span:first-child { font-size: 11px; }
  .input, .select { font-size: 12px; }
  .upload-zone { padding: 22px 16px; }
  .step-list { gap: 10px; font-size: 9px; }
  .step-list li::before { width: 21px; height: 21px; font-size: 9px; }
  .thread-list { grid-template-columns: 1fr; }
  .thread-item:not(.active) { display: none; }
  .thread-item { padding: 13px 19px; }
  .thread-item .seller-avatar { width: 35px; height: 35px; }
  .thread-item strong { font-size: 12px; }
  .account-nav { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .stat-card { padding: 18px; }
  .stat-card span { font-size: 10px; }
  .stat-card strong { font-size: 28px; }
  .saved-search { flex-direction: column; align-items: start; gap: 13px; }
  .order-summary { padding: 23px; }
  .billing-toggle button { padding-inline: 16px; font-size: 11px; }
  .empty-state { padding: 47px 23px; }
  .empty-state h2 { font-size: 19px; }
  .empty-state p { font-size: 12px; }
  .modal-actions { gap: 9px; }
  .modal-actions .btn { font-size: 11px; padding-inline: 15px; }
  .dialog h2 { font-size: 31px; }
  .compare-bar { padding: 10px 12px; }
  .compare-bar strong { max-width: 135px; font-size: 9px; line-height: 1.5; }
  .compare-bar .btn { min-height: 44px; font-size: 9px; padding-inline: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .product-card:hover .product-image img { transform: none; }
}

/* Readable marketplace typography and navigation states. */
.demo-bar { font-size: 10px; }
.nav a { font-size: 13px; }
.btn { font-size: 14px; }
.btn.small, .header-actions .btn { font-size: 12px; }
.hero-description { font-size: 16px; max-width: 450px; }
.hero .eyebrow { font-size: 12px; }
.hero .trust-row { font-size: 12px; gap: 22px; }
.hero .trust-row svg { width: 17px; height: 17px; }
.hero-caption { font-size: 12px; align-items: end; }
.hero-caption > span { color: white; line-height: 1.5; }
.hero-caption > span > strong { color: white; margin-top: 4px; font-size: 21px; }
.hero-caption .icon-btn svg { color: white; }
.eyebrow { font-size: 12px; margin-bottom: 7px; }
.section-heading p { font-size: 13px; }
.section-heading .eyebrow { font-size: 11px; margin: 0 0 8px; color: #78859a; font-weight: 450; }
.section-heading > a { font-size: 12px; }
.category-card > span { font-size: 12px; }
.category-card > small { font-size: 11px; }
.product-meta { font-size: 11px; line-height: 1.4; }
.product-title { font-size: 14px; min-height: 44px; }
.product-location { font-size: 11px; line-height: 1.5; }
.product-location svg { width: 13px; height: 13px; }
.product-bottom { font-size: 11px; }
.product-bottom > a { font-size: 11px; line-height: 1.5; }
.pill { font-size: 10px; }
.promo-copy p { font-size: 14px; }
.promo-copy > .pill { font-size: 12px; }
.island-card h3 { font-size: 14px; }
.island-card > span:last-child { font-size: 11px; }
.site-footer h3 { font-size: 14px; }
.site-footer p, .site-footer a:not(.brand) { font-size: 12px; }
.page-top p { font-size: 16px; }
.breadcrumbs { font-size: 12px; }
.filter-group > label:not(.check-label) { font-size: 12px; }
.filter-group .input, .filter-group .select { font-size: 12px; }
.check-label { font-size: 12px; }
.catalog-toolbar, .sort-select { font-size: 12px; }
.filter-summary button { font-size: 11px; }
.detail-info .product-location, .delivery-line { font-size: 14px; }
.detail-sections p { font-size: 14px; }
.detail-sections h3 { font-size: 17px; }
.spec-row, .compatibility-list li { font-size: 13px; }
.seller-mini strong { font-size: 14px; }
.seller-mini p { font-size: 12px; }
.seller-mini small { font-size: 11px; }
.notice { font-size: 12px; }
.seller-card p { font-size: 14px; }
.seller-card .seller-stats span { font-size: 12px; }
.seller-card .seller-stats small { font-size: 11px; }
.pricing-card p, .feature-list li { font-size: 14px; }
.pricing-price small { font-size: 14px; }
.field > label, .field > span:first-child { font-size: 13px; }
.input, .select, textarea.input { font-size: 14px; }
.form-help, .field small { font-size: 12px; }
.form-section > .check-label { font-size: 12px; }
.thread-item strong { font-size: 13px; }
.thread-item > div > span, .thread-item > div > small { font-size: 12px; }
.conversation-header strong { font-size: 14px; }
.conversation-header a { font-size: 12px; }
.message { font-size: 14px; }
.message small { font-size: 11px; }
.message.system { font-size: 12px; }
.message-form > textarea.input { font-size: 14px; }
.message-form .btn { font-size: 12px; }
.account-nav a { font-size: 12px; }
.stat-card span { font-size: 12px; }
.stat-card small { font-size: 11px; }
.help-card p, .faq-list details > p { font-size: 14px; }
.help-card a { font-size: 13px; }
.footer-bottom { font-size: 11px; }

@media (max-width: 1200px) {
  .hero-description { font-size: 15px; }
  .hero .trust-row { font-size: 11px; gap: 17px; }
  .nav a { font-size: 12px; }
  .island-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .island-card { min-height: 145px; }
  .hero-search.container .popular-searches { font-size: 11px; }
}

@media (max-width: 1023px) {
  .demo-bar { font-size: 9px; }
  .demo-bar > span:first-child { display: none; }
  .nav { gap: 15px; }
  .nav a { font-size: 11px; }
  .hero-description { font-size: 14px; }
  .hero .eyebrow { font-size: 11px; }
  .hero .trust-row { font-size: 10px; gap: 12px; }
  .search-island { width: 170px; }
  .search-island > select { font-size: 12px; }
  .hero-search.container .search-form .btn { padding-inline: 23px; }
  .hero-search.container .popular-searches { font-size: 10px; gap: 12px; }
  .product-meta, .product-location, .product-bottom > a { font-size: 11px; }
  .product-title { font-size: 14px; }
  .pricing-card p, .feature-list li { font-size: 13px; }
}

@media (max-width: 767px) {
  body { padding-bottom: calc(65px + env(safe-area-inset-bottom)); }
  .header-actions > .icon-btn { width: 44px; }
  .product-grid .product-card:last-child:nth-child(4) { display: block; }
  .demo-bar { justify-content: center; font-size: 9px; }
  .demo-bar > a { display: none; }
  .mobile-drawer:not([hidden]) { display: grid; padding: 14px 20px 20px; grid-template-columns: 1fr 1fr; background: white; border-bottom: 1px solid var(--border); position: relative; z-index: 35; gap: 5px 12px; }
  .mobile-drawer a { font-size: 13px; min-height: 44px; padding: 12px 8px; }
  .mobile-drawer a:hover { color: var(--cobalt); background: #f1f5ff; border-radius: 6px; }
  .mobile-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); min-height: 65px; background: white; border-top: 1px solid #d4dfed; }
  .mobile-nav a { display: flex; align-items: center; flex-direction: column; gap: 5px; min-height: 45px; color: #6b7b92; font-size: 10px; }
  .mobile-nav a svg { width: 21px; height: 21px; }
  .mobile-nav a:nth-child(3) { color: var(--cobalt); }
  .page-catalog .mobile-nav a:first-child, .page-favorites .mobile-nav a:nth-child(2), .page-inbox .mobile-nav a:nth-child(4), .page-account .mobile-nav a:nth-child(5) { color: var(--cobalt); }
  .hero-description { font-size: 14px; max-width: 530px; }
  .hero .eyebrow { font-size: 11px; }
  .hero .trust-row { font-size: 11px; gap: 20px; }
  .hero-search.container { margin-top: 15px; }
  .hero-search.container .search-form { padding: 7px; }
  .hero-search.container .search-input { flex-basis: 160px; padding-left: 9px; }
  .hero-search.container .search-input input { font-size: 12px; }
  .hero-search.container .search-form .btn { padding-inline: 16px; font-size: 12px; }
  .search-island { width: 145px; font-size: 12px; gap: 4px; }
  .search-island > select { font-size: 11px; padding-right: 0; }
  .search-island > svg { width: 15px; height: 15px; }
  .hero-search.container .popular-searches { font-size: 10px; gap: 8px 12px; }
  .hero-search.container .popular-searches > button { margin-left: 0; }
  .hero-caption > span > strong { font-size: 20px; }
  .section-heading .eyebrow { font-size: 11px; margin-bottom: 7px; }
  .section-heading > a { font-size: 11px; }
  .section-heading p { font-size: 12px; }
  .category-card > span { font-size: 11px; }
  .category-card > small { font-size: 10px; }
  .category-card > img { height: 37px; width: 60px; }
  .product-title { font-size: 14px; min-height: 63px; }
  .product-meta { font-size: 11px; }
  .product-location { font-size: 11px; }
  .product-bottom > a { font-size: 10px; }
  .product-bottom { flex-wrap: nowrap; }
  .product-badges .pill { font-size: 9px; }
  .product-badges .pill.neutral { display: none; }
  .promo-copy p { font-size: 14px; }
  .promo-art > span { font-size: 15px; left: 0; bottom: 13px; }
  .island-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
  .island-card { padding: 17px 12px 14px; min-height: 133px; }
  .island-card h3 { font-size: 12px; margin-top: 16px; }
  .island-card > span:last-child { font-size: 10px; }
  .island-shape { width: 33px; height: 37px; }
  .site-footer h3 { font-size: 13px; }
  .site-footer p, .site-footer a:not(.brand) { font-size: 12px; }
  .footer-bottom, .footer-bottom a:not(.brand) { font-size: 10px; }
  .page-top p { font-size: 14px; }
  .breadcrumbs { font-size: 11px; }
  .catalog-search { padding-bottom: 22px; }
  .catalog-search .search-input input { font-size: 12px; }
  .catalog-layout { gap: 20px; }
  .filters { display: none; }
  .filters.filters-open { display: block; }
  .filter-toggle { display: inline-flex; font-size: 11px; }
  .filters .filter-group .input, .filters .filter-group .select { font-size: 12px; }
  .filters > form > .btn { margin-top: 4px; }
  .filters > form > .btn:nth-last-child(1) { grid-column: 1 / -1; }
  .filters .notice { margin-top: 18px; }
  .catalog-toolbar { font-size: 12px; align-items: start; }
  .catalog-toolbar > p { padding-top: 13px; }
  .catalog-toolbar > div { flex-wrap: wrap; justify-content: end; }
  .sort-select.select { max-width: 180px; font-size: 11px; padding-inline: 9px; }
  .detail-info .detail-price { font-size: 42px; }
  .detail-actions { grid-template-columns: 1fr; }
  .detail-actions .btn { font-size: 13px; }
  .detail-info .product-location, .delivery-line { font-size: 13px; }
  .detail-sections p { font-size: 14px; }
  .notice { font-size: 12px; }
  .pricing-card p, .feature-list li { font-size: 14px; }
  .seller-filters { padding: 20px; flex-wrap: wrap; gap: 15px; }
  .seller-filters > .field { flex: 1; min-width: 170px; width: auto; }
  .seller-filters > .btn { width: 100%; }
  .seller-hero h2 { font-size: 32px; }
  .seller-hero .seller-stats { width: 100%; flex-direction: row; align-items: center; flex-wrap: wrap; gap: 16px; padding-top: 15px; border-top: 1px solid #3a4c67; }
  .seller-hero .seller-stats > span { font-size: 11px; }
  .field > label, .field > span:first-child { font-size: 13px; }
  .input, .select, textarea.input { font-size: 14px; }
  .form-help, .field small { font-size: 12px; }
  .account-nav > .seller-avatar, .account-nav > h2 { grid-column: 1 / -1; }
  .account-nav > .seller-avatar { margin-bottom: 8px; }
  .account-nav > h2 { margin-bottom: 13px; }
  .account-nav a { font-size: 12px; }
  .account-nav > .btn { grid-column: 1 / -1; margin-top: 7px; font-size: 12px; }
  .page-account .account-listing { padding: 15px; }
  .page-account .account-listing > .inline-actions { width: 100%; margin-top: 3px; }
  .page-account .account-listing > .inline-actions > .btn { flex: 1; }
  .stat-card span { font-size: 12px; }
  .thread-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .thread-item:not(.active) { display: flex; }
  .thread-item > img { width: 38px; height: 38px; }
  .thread-item strong { font-size: 12px; }
  .thread-item > div > span, .thread-item > div > small { font-size: 11px; }
  .conversation-header > .pill { display: none; }
  .message { font-size: 14px; }
  .message-form { align-items: end; }
  .message-form .btn { width: 53px; height: 54px; font-size: 0; padding: 10px; }
  .message-form .btn svg { width: 21px; height: 21px; }
  .toast { bottom: calc(80px + env(safe-area-inset-bottom)); font-size: 12px; }
  .compare-bar { bottom: calc(79px + env(safe-area-inset-bottom)); }
  .compare-bar > div { gap: 8px; font-size: 11px; }
  .compare-bar > div > .icon-btn { width: 29px; }
  .compare-bar > div > .btn { font-size: 11px; }
  .compare-bar > div > span svg { width: 17px; height: 17px; }
  .dialog p { font-size: 14px; }
}

@media (max-width: 479px) {
  .header-actions > .icon-btn { width: 44px; }
  .header-actions > .icon-btn:first-child { display: none; }
  .hero .trust-row { font-size: 10px; gap: 16px; }
  .hero-description { font-size: 14px; }
  .hero .eyebrow { font-size: 11px; }
  .hero-title { font-size: clamp(66px,17.5vw,82px); }
  .hero-search.container { margin-top: 17px; }
  .hero-search.container .search-input { flex-basis: calc(100% - 122px); padding-left: 6px; }
  .hero-search.container .search-input input { font-size: 11px; }
  .search-island { width: 117px; padding-left: 6px; }
  .search-island > svg { display: none; }
  .search-island > select { font-size: 11px; }
  .hero-search.container .search-form .btn { font-size: 13px; min-height: 46px; }
  .hero-search.container .popular-searches { font-size: 10px; gap: 9px 15px; }
  .hero-search.container .popular-searches > button { width: 100%; margin-top: 3px; }
  .category-card > span { font-size: 10px; }
  .category-card > small { font-size: 9px; }
  .section-heading .eyebrow { font-size: 10px; }
  .section-heading > a { font-size: 10px; }
  .product-title { font-size: 13px; min-height: 60px; }
  .product-meta { font-size: 10px; min-height: 28px; }
  .product-location { font-size: 10px; min-height: 29px; align-items: start; }
  .product-location svg { margin-top: 2px; }
  .product-bottom > a { font-size: 9px; }
  .product-bottom > a svg { width: 12px; height: 12px; }
  .product-badges .pill { font-size: 8px; }
  .product-price { font-size: 23px; }
  .seller-filters > .field { min-width: 100%; }
  .island-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .island-card { min-height: 142px; padding: 20px; }
  .island-card h3 { font-size: 14px; }
  .island-card > span:last-child { font-size: 11px; }
  .island-shape { width: 38px; height: 41px; }
  .catalog-toolbar { flex-wrap: wrap; }
  .catalog-toolbar > p { width: 100%; padding: 0; }
  .catalog-toolbar > div { width: 100%; justify-content: space-between; }
  .sort-select.select { max-width: 202px; font-size: 11px; }
  .catalog-search .search-input { flex-basis: calc(100% - 122px); }
  .catalog-search .search-input input { font-size: 11px; }
  .filters > form { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .filters .form-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
  .filters .filter-group:has(input[name='min']), .filters .filter-group:has(.check-label) { grid-column: 1 / -1; }
  .check-label { font-size: 12px; gap: 8px; min-height: 36px; }
  .filter-group .check-label input { width: 16px; height: 16px; }
  .seller-mini strong { font-size: 14px; }
  .seller-mini p { font-size: 12px; }
  .seller-mini small { font-size: 11px; }
  .field > label, .field > span:first-child { font-size: 13px; }
  .input, .select, textarea.input { font-size: 14px; }
  .thread-list { grid-template-columns: 1fr; }
  .thread-item:not(.active) { display: none; }
  .conversation-header a { font-size: 12px; }
  .compare-bar > div { font-size: 10px; }
  .compare-bar > div > span { line-height: 1.5; }
}

/* Final small-screen legibility: content wraps before type is reduced. */
@media (max-width: 767px) {
  .demo-bar, .footer-bottom, .footer-bottom a:not(.brand), .breadcrumbs,
  .hero .eyebrow, .hero .trust-row, .hero-caption > span,
  .hero-search.container .popular-searches,
  .section-heading .eyebrow, .section-heading > a,
  .category-card > span, .category-card > small,
  .product-meta, .product-location, .product-bottom, .product-bottom > a,
  .product-badges .pill, .pill, .island-card > span:last-child,
  .stat-card small, .seller-mini small, .seller-card .seller-stats small,
  .thread-item > div > span, .thread-item > div > small,
  .seller-hero .seller-stats > span, .mobile-nav a,
  .filter-summary button, .form-help, .field small,
  .filter-toggle, .message small, .message.system,
  .compare-bar > div, .compare-bar > div > .btn { font-size: 12px; }
  .demo-bar { line-height: 1.5; padding-block: 7px; }
  .hero-search.container .popular-searches { gap: 9px 13px; }
  .hero-description, .page-top p, .promo-copy p { font-size: 14px; }
  .hero-stamp { width: 100px; height: 100px; font-size: 12px; line-height: 1.3; padding: 12px; }
  .hero-stamp > span { margin-top: 4px; }
  .hero-stamp svg { width: 22px; height: 22px; }
  .category-card { min-height: 115px; gap: 9px; }
  .category-card > span { line-height: 1.35; min-height: 32px; display: flex; align-items: center; justify-content: center; overflow-wrap: anywhere; }
  .category-card > small { margin-top: -2px; }
  .product-title { font-size: 15px; line-height: 1.45; min-height: 66px; overflow-wrap: anywhere; }
  .product-meta { min-height: 34px; line-height: 1.45; overflow-wrap: anywhere; }
  .product-location { min-height: 36px; line-height: 1.45; align-items: start; }
  .product-location svg { width: 14px; height: 14px; margin-top: 2px; }
  .product-bottom > a { overflow-wrap: anywhere; align-items: start; }
  .product-bottom > a svg { margin-top: 2px; width: 14px; height: 14px; }
  .product-bottom > .compare-button.icon-btn { align-self: center; }
  .product-badges { right: 40px; }
  .product-badges .pill { white-space: normal; line-height: 1.25; padding: 4px 6px; }
  .input, .select, textarea.input,
  .filter-group .input, .filter-group .select,
  .filters .filter-group .input, .filters .filter-group .select,
  .sort-select.select, .search-input input,
  .search-island > select,
  .hero-search.container .search-input input,
  .catalog-search .search-input input,
  .message-form > textarea.input { font-size: 16px; }
  .search-form { flex-wrap: wrap; gap: 4px; }
  .search-island { width: 160px; border-left: 1px solid var(--border); padding-left: 8px; }
  .search-island > svg { display: none; }
  .hero-search.container .search-input, .catalog-search .search-input { flex: 1 1 calc(100% - 170px); padding-left: 5px; }
  .hero-search.container .search-input input, .catalog-search .search-input input { text-overflow: ellipsis; }
  .search-form > .btn { width: 100%; margin-top: 3px; min-height: 46px; font-size: 14px; }
  .hero-search.container .search-form .btn { font-size: 14px; }
  .sort-select.select { max-width: 230px; }
  .thread-list { display: block; max-height: 275px; overflow-y: auto; }
  .thread-item:not(.active) { display: flex; }
  .thread-item { width: 100%; }
  .thread-item strong { font-size: 14px; }
  .thread-item > div > small { -webkit-line-clamp: 1; }
  .seller-filters > .field { font-size: 14px; }
  .seller-filters .select { font-size: 16px; }
  .compare-bar > div > span { overflow-wrap: anywhere; }
}
/* Identical references, separate seller offers. */
.same-parts { scroll-margin-top: 155px; padding: 28px; border: 1px solid #cbd7ef; border-radius: 16px; background: #eef3fc; }
.same-parts-heading { display: flex; align-items: start; justify-content: space-between; gap: 24px; }
.same-parts-heading h2 { margin: 4px 0 10px; font: 700 clamp(30px, 3.2vw, 45px)/1.08 var(--display); }
.same-parts-heading .muted { margin: 0; max-width: 700px; }
.same-reference { flex: 0 1 auto; padding: 10px 14px; border: 1px solid #b8c7e5; border-radius: 8px; color: var(--navy); background: white; font-size: 12px; font-weight: 650; overflow-wrap: anywhere; }
.same-parts-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin: 22px 0; font-size: 13px; }
.same-parts-toolbar > div { display: flex; align-items: center; flex-wrap: wrap; gap: 15px; }
.same-parts-toolbar > a { display: flex; align-items: center; gap: 8px; font-weight: 650; }
.same-offers-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 22px; }
.same-offer { display: flex; flex-direction: column; min-width: 0; }
.same-offer .product-card { flex: 1; }
.same-offer-select { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 4px 4px; cursor: pointer; font-size: 13px; font-weight: 600; }
.same-offer-select input { width: 20px; height: 20px; flex: 0 0 20px; accent-color: var(--cobalt); }
.same-offer-select:has(input:focus-visible) { outline: 2px solid var(--cobalt); outline-offset: 3px; border-radius: 6px; }
.same-parts-compare { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 22px; margin-top: 18px; border-top: 1px solid #cbd7ef; }
.same-parts-compare > div { min-width: 0; }
.same-parts-compare .muted { margin: 6px 0 0; font-size: 12px; }
.same-parts-compare .btn { flex-shrink: 0; }
.same-parts-empty { display: flex; align-items: start; gap: 18px; padding: 28px 0 4px; }
.same-parts-empty > svg { flex-shrink: 0; color: var(--cobalt); }
.same-parts-empty h3 { margin: 0 0 8px; font-size: 18px; }
.same-parts-empty p { margin: 0 0 14px; }
.same-parts-link .badge-count { position: static; margin-left: auto; }

/* Keep the full wordmark readable beside the mobile header controls. */
.brand-word { white-space: nowrap; }
.brand-domain { color: var(--cobalt); font-size: .82em; letter-spacing: -1px; }
.site-footer .brand-domain { color: var(--yellow); }
.site-header .header-inner { flex-wrap: wrap; gap: 12px 22px; padding-block: 12px; }
.site-header .nav { order: 3; width: 100%; margin: 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; padding: 6px; background: var(--navy); border-radius: 10px; }
.site-header .nav a { justify-content: center; gap: 10px; min-height: 50px; padding: 10px 14px; color: white; font-size: 15px; font-weight: 700; line-height: 1.35; border-radius: 6px; text-align: center; }
.site-header .nav a > svg { flex-shrink: 0; color: var(--yellow); }
.site-header .nav a:hover { background: #304461; }
.site-header .nav a[aria-current='page'] { background: var(--cobalt); color: white; }
.site-header .nav a::after { display: none; }
.site-header .nav a:focus-visible { outline: 3px solid var(--yellow); outline-offset: -3px; }
.vehicle-finder { min-width: 0; padding: clamp(22px,3vw,34px); background: white; border: 1px solid #c3d0e3; border-top: 5px solid var(--cobalt); border-radius: 16px; }
.vehicle-finder-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.vehicle-finder-heading h2 { font-family: var(--display); font-size: clamp(31px,3.5vw,43px); line-height: 1.08; margin: 0; }
.vehicle-finder-symbol { flex: 0 0 52px; width: 52px; height: 52px; display: grid; place-items: center; background: var(--yellow); color: var(--navy); border-radius: 50%; }
.vehicle-finder > p { color: #536076; font-size: 14px; line-height: 1.6; }
.vehicle-finder form { margin-top: 20px; display: grid; gap: 14px; }
.vehicle-finder .field { margin: 0; }
.vehicle-finder .field label { font-size: 14px; font-weight: 650; margin-bottom: 7px; }
.vehicle-finder .select { font-size: 16px; min-height: 49px; }
.vehicle-finder .select:disabled { background: #edf1f7; color: #5b687b; cursor: not-allowed; }
.vehicle-finder .btn { min-height: 51px; font-size: 15px; margin-top: 3px; }
.vehicle-finder > .vehicle-finder-note { display: flex; align-items: start; gap: 8px; margin: 18px 0 0; font-size: 12px; }
.vehicle-finder-note svg { flex-shrink: 0; color: var(--cobalt); margin-top: 2px; }
@media (max-width: 767px) {
  .site-header .nav { display: none; }
  .site-header .header-inner { gap: 8px; padding-block: 10px; }
  .mobile-drawer a { font-weight: 700; border-bottom: 1px solid var(--border); }
  .vehicle-finder { padding: 22px; }
  .vehicle-finder-heading h2 { font-size: 32px; }
}
@media (max-width: 479px) {
  .site-header .brand { font-size: clamp(17px,4.6vw,21px); letter-spacing: -1px; gap: 5px; }
  .site-header .header-actions { gap: 2px; }
  .vehicle-finder { padding: 19px; }
}
@media (max-width: 1023px) {
  .same-offers-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 767px) {
  .same-parts { padding: 20px; scroll-margin-top: 105px; }
  .same-parts-heading { flex-direction: column; gap: 14px; }
  .same-offers-grid { grid-template-columns: 1fr; gap: 14px; }
  .same-parts-compare { flex-direction: column; align-items: stretch; gap: 15px; }
  .same-parts-compare .btn { width: 100%; }
}
/* Shared account data and local drafts have different, explicit boundaries. */
.market-feedback { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 18px; margin-block: 16px; border: 1px solid var(--border); border-radius: 10px; background: white; color: var(--muted, #52637a); line-height: 1.6; }
.market-feedback > svg { flex-shrink: 0; }
.market-feedback > span { flex: 1; }
.market-feedback .btn { flex-shrink: 0; }
.market-error { border-color: #dfb5b0; background: #fff9f8; color: #8c3028; }
.pill.sold { background: #e8ecf1; color: #34435a; }
.pill.demo { background: #eef2f7; color: #34435a; }
.local-drafts { border-top: 1px solid var(--border); padding-top: 24px; }
.local-drafts > p { max-width: 68ch; }
.local-drafts .account-listing { background: #f5f7fa; }
#sell-error .btn { display: block; margin-top: 12px; }
.footer-bottom > span { max-width: 54ch; }
@media (max-width: 767px) {
  .market-feedback { flex-wrap: wrap; padding: 14px; }
  .market-feedback .btn { min-height: 44px; }
  .local-drafts .account-listing > button { width: 100%; }
}

/* Listing information, seller trust and personal browsing history. */
.search-form { flex-wrap: wrap; }
.search-form .search-options { flex: 0 0 100%; padding: 6px 12px; min-height: 44px; margin: 0; font-size: 13px; }
.product-bottom { display: grid; grid-template-columns: minmax(0,1fr) auto; column-gap: 8px; row-gap: 6px; align-items: center; }
.product-bottom > a { grid-column: 1; min-width: 0; overflow-wrap: anywhere; }
.product-bottom > .seller-rating { grid-column: 1; }
.product-bottom > .compare-button { grid-column: 2; grid-row: 1 / 3; }
.seller-rating { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 5px; font-size: 13px; line-height: 1.5; }
.seller-rating > small { font-size: 12px; color: var(--muted); }
.seller-rating > svg { color: #9c7300; fill: #ffe268; }
.seller-mini .seller-rating { margin-top: 6px; }
.seller-card .seller-stats .seller-rating { color: var(--navy); }
.seller-hero .seller-rating { color: #fff; }
.seller-hero .seller-rating small { color: #d4dfec; }
.seller-avatar img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.filter-group > small { display: block; margin-top: 7px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.oem-copy { display: block; margin-top: 10px; min-height: 44px; }
.donor-fields { border-top: 1px solid var(--border); padding-block: 16px; margin-top: 10px; }
.donor-fields > summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; gap: 8px; font-weight: 650; }
.donor-fields > summary::before { content: '+'; color: var(--blue); font-size: 22px; }
.donor-fields[open] > summary::before { content: '−'; }
.donor-fields .form-grid { margin-top: 15px; }
.quick-questions > div { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.quick-questions .btn { justify-content: flex-start; text-align: left; min-height: 48px; white-space: normal; }
.quick-questions > .muted { margin-top: 8px; max-width: 65ch; }
.recently-viewed .section-heading { align-items: start; }
.recently-viewed .section-heading p { margin-top: 8px; max-width: 56ch; font-size: 13px; }
@media (max-width: 600px) {
  .quick-questions > div { display: grid; grid-template-columns: 1fr; }
  .quick-questions .btn { width: 100%; }
  .recently-viewed .section-heading { flex-direction: column; gap: 14px; }
  .seller-hero .seller-rating { max-width: 100%; }
}

/* Parts follow the physical assembly: category, group, then a precise leaf. */
.part-flat-filter[hidden] { display: none !important; }
#filter-form > .part-tree-filter { grid-column: 1 / -1; min-width: 0; margin-bottom: 2px; }
.part-tree-filter h3 { margin: 0 0 12px; font-size: 16px; font-weight: 750; }
.part-tree-search { display: flex; align-items: center; gap: 8px; border: 1px solid #bdc8d8; border-radius: 7px; padding: 0 10px; margin-bottom: 10px; }
.part-tree-search > svg { color: var(--muted); }
.part-tree-search .input { flex: 1; width: 0; min-width: 0; min-height: 46px; padding: 10px 0; border: 0; border-radius: 0; background: transparent; font-size: 14px; }
.part-tree-search:focus-within { outline: 3px solid rgba(33,78,245,.18); outline-offset: 2px; border-color: var(--cobalt); }
.part-tree-search .input:focus-visible { outline: none; box-shadow: none; }
.part-tree-search .input::-webkit-search-cancel-button { display: none; }
.part-tree-search .icon-btn { width: 44px; height: 44px; min-width: 44px; flex: 0 0 44px; }
.part-tree-search .icon-btn[hidden] { display: none; }
.part-tree-reset, .part-tree-all { display: flex; align-items: center; min-height: 44px; padding: 10px 6px; font-size: 13px; color: var(--cobalt); line-height: 1.45; }
.part-tree-reset[aria-current], .part-tree-all[aria-current] { font-weight: 700; }
.part-tree-categories { max-height: 610px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding: 0 4px 4px; margin: 0 -4px; }
.part-tree-category { border: 0; border-top: 1px solid var(--border); padding: 0; }
.part-tree-filter summary { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 10px 2px; margin: 0; font-family: 'Onest', sans-serif; font-size: 14px; font-weight: 650; line-height: 1.45; list-style: none; overflow-wrap: break-word; }
.part-tree-filter summary::-webkit-details-marker { display: none; }
.part-tree-filter summary::after, .part-tree-filter details[open] > summary::after { content: none; }
.part-tree-filter summary > span:first-of-type { flex: 1; min-width: 0; }
.part-tree-chevron { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); margin: 0 5px 0 3px; flex-shrink: 0; transition: transform 160ms ease; }
.part-tree-filter details[open] > summary > .part-tree-chevron { transform: rotate(45deg); }
.part-tree-category[open] > summary { color: var(--cobalt); }
.part-tree-branches { border-left: 1px solid var(--border); margin: 0 0 9px 8px; padding-left: 13px; }
.part-tree-group { border: 0; padding: 0; margin: 0; }
.part-tree-group > summary { min-height: 44px; font-size: 13px; font-weight: 600; }
.part-tree-group ul { list-style: none; margin: 0 0 7px; padding: 0 0 0 4px; }
.part-tree-group li { margin: 0; padding: 0; }
.part-tree-group li > a { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 9px 8px; border-radius: 5px; font-size: 13px; line-height: 1.5; overflow-wrap: break-word; }
.part-tree-group li > a::before { content: ''; width: 12px; height: 12px; border: 1.5px solid #9faec2; border-radius: 50%; flex-shrink: 0; }
.part-tree-group li > a[aria-current] { color: var(--cobalt); background: #eaf0ff; font-weight: 700; }
.part-tree-group li > a[aria-current]::before { border-color: var(--cobalt); background: var(--cobalt); box-shadow: inset 0 0 0 2.5px white; }
.part-tree-group li > a:hover, .part-tree-filter summary:hover { background: #f2f5fa; }
.part-tree-group li > a[aria-current]:hover { background: #eaf0ff; }
.part-tree-filter [hidden] { display: none !important; }
.part-selected-path { margin: 0 0 14px; padding: 9px 10px; border-left: 3px solid var(--cobalt); background: #f1f5ff; }
.part-selected-path ol { display: flex; flex-wrap: wrap; gap: 3px 6px; margin: 0; padding: 0; list-style: none; font-size: 12px; line-height: 1.6; }
.part-selected-path li + li::before { content: '›'; color: var(--muted); padding-right: 6px; }
.part-selected-path li:last-child { font-weight: 700; }
.part-tree-empty { font-size: 13px; line-height: 1.5; padding: 14px 0; margin: 0; }
.part-tree-empty strong, .part-tree-empty span { display: block; }
.part-tree-empty span { margin-top: 6px; color: var(--muted); }
.part-group-field > small { display: block; margin-top: 8px; color: var(--muted); font-size: 12px; line-height: 1.5; }
@media (min-width: 768px) {
  .catalog-layout { grid-template-columns: clamp(240px, 23vw, 280px) minmax(0, 1fr); }
  .catalog-layout .filters { padding-inline: 18px; }
}
@media (max-width: 767px) {
  .part-tree-search .input { font-size: 16px; }
  .part-tree-filter summary, .part-tree-group > summary, .part-tree-group li > a { font-size: 15px; }
  .part-tree-reset, .part-tree-all, .part-selected-path ol { font-size: 14px; }
  .part-tree-categories { max-height: 520px; }
}
@media (max-width: 520px) {
  #sell-form .form-grid > .part-group-field { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  .part-tree-chevron { transition: none; }
}
