@font-face {
  font-family: "Vazirmatn";
  src: url("./fonts/Vazirmatn-Variable.f6d31671339d.woff2") format("woff2-variations");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #172033;
  --navy: #0b214a;
  --navy-2: #071833;
  --blue: #155eef;
  --blue-dark: #0b46bd;
  --orange: #ff7a00;
  --orange-dark: #d85c00;
  --bg: #f4f6f9;
  --paper: #ffffff;
  --soft-blue: #edf4ff;
  --line: #dfe4ec;
  --line-dark: #cad1dd;
  --muted: #687386;
  --success: #138a55;
  --success-bg: #e8f7ef;
  --danger: #b52b31;
  --danger-bg: #fff0f0;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 6px 22px rgba(11, 33, 74, .07);
  --shadow: 0 18px 48px rgba(11, 33, 74, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: "Vazirmatn", Tahoma, sans-serif; line-height: 1.75; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid rgba(21, 94, 239, .35); outline-offset: 2px; }
svg { display: block; }
.shell { width: min(1240px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; inset-inline-start: 16px; top: -80px; background: #fff; color: var(--navy); z-index: 100; padding: 10px 16px; border-radius: 10px; box-shadow: var(--shadow); }
.skip-link:focus { top: 12px; }
.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; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 30; background: var(--paper); box-shadow: 0 3px 14px rgba(11, 33, 74, .08); }
.utility-bar { background: var(--navy-2); color: #d7e1f4; font-size: .75rem; }
.utility-content { min-height: 32px; display: flex; align-items: center; justify-content: space-between; }
.utility-content > div { display: flex; gap: 24px; }
.utility-content a:hover { color: #fff; }
.header-main { min-height: 82px; display: grid; grid-template-columns: 214px minmax(280px, 1fr) auto; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--navy); }
.brand-mark { display: grid; place-items: center; width: 50px; height: 42px; border-radius: 10px 10px 16px 16px; background: var(--blue); color: #fff; font-size: 1.1rem; font-weight: 900; box-shadow: inset 0 -5px 0 rgba(0, 0, 0, .13); }
.brand-copy { display: flex; flex-direction: column; line-height: 1.35; }
.brand-copy b { font-size: 1.18rem; }
.brand-copy small { color: var(--muted); font-size: .66rem; }
.header-search { height: 48px; display: flex; border: 2px solid var(--blue); border-radius: 12px; overflow: hidden; background: #fff; }
.header-search input { flex: 1; min-width: 0; padding: 8px 16px; border: 0; color: var(--ink); }
.header-search input:focus { outline: 0; }
.header-search button { width: 54px; display: grid; place-items: center; border: 0; background: var(--blue); color: #fff; cursor: pointer; }
.header-search button:hover { background: var(--blue-dark); }
.header-search svg { width: 21px; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.account-link { display: flex; align-items: center; gap: 8px; padding: 6px 4px; white-space: nowrap; }
.account-link > svg { width: 23px; color: var(--blue); }
.account-link span { display: flex; flex-direction: column; line-height: 1.45; }
.account-link small { color: var(--muted); font-size: .68rem; }
.account-link b { font-size: .78rem; }
.cart-button, .primary-button, .secondary-button, .secondary-dark-button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 44px; padding: 8px 17px; border-radius: var(--radius-sm); font-weight: 800; border: 1px solid transparent; cursor: pointer; }
.cart-button { background: var(--orange); color: #fff; white-space: nowrap; }
.cart-button:hover { background: var(--orange-dark); }
.cart-button svg { width: 20px; }
.category-nav { border-top: 1px solid var(--line); }
.category-nav nav { display: flex; min-height: 44px; align-items: center; gap: 30px; font-size: .8rem; font-weight: 700; }
.category-nav nav a { display: inline-flex; align-items: center; gap: 7px; height: 44px; }
.category-nav nav a:hover { color: var(--blue); }
.all-parts-link { color: var(--blue); font-weight: 900; }
.all-parts-link svg { width: 17px; }
.partner-nav-link { margin-inline-start: auto; color: var(--orange-dark); }
.mobile-bottom-nav { display: none; }

/* Shared buttons and type */
.primary-button { background: var(--blue); color: #fff; }
.primary-button:hover { background: var(--blue-dark); }
.primary-button svg, .section-link svg { width: 18px; }
.secondary-button { border-color: var(--line-dark); background: #fff; color: var(--navy); }
.secondary-dark-button { border-color: var(--navy); background: transparent; color: var(--navy); }
.secondary-dark-button:hover { background: var(--navy); color: #fff; }
.full-button { width: 100%; margin-top: 18px; }
.inline-button { margin-top: 16px; }
.kicker { display: inline-block; color: var(--blue); font-size: .74rem; font-weight: 900; letter-spacing: .03em; }
.muted, .fine-print { color: var(--muted); font-size: .78rem; }
.lead { color: var(--muted); }

/* Home hero and finder */
.home-hero { position: relative; overflow: hidden; color: #fff; background: linear-gradient(115deg, #071833 0%, #0b2858 56%, #0e3e83 100%); }
.home-hero::before { content: ""; position: absolute; width: 480px; height: 480px; left: -180px; top: -270px; border: 1px solid rgba(255, 255, 255, .09); border-radius: 50%; box-shadow: 0 0 0 78px rgba(255,255,255,.025), 0 0 0 156px rgba(255,255,255,.018); }
.home-hero::after { content: "206"; position: absolute; direction: ltr; left: 3%; bottom: -95px; color: rgba(255,255,255,.035); font: 900 18rem/1 Tahoma, sans-serif; }
.hero-storefront { position: relative; z-index: 1; min-height: 470px; padding-block: 54px; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 64px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 5px 11px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; color: #cfe0ff; font-size: .76rem; font-weight: 800; }
.hero-badge svg { width: 17px; color: #ffa24c; }
.hero-copy h1 { margin: 16px 0 18px; max-width: 650px; font-size: clamp(2.45rem, 5vw, 4.6rem); line-height: 1.16; letter-spacing: -.045em; }
.hero-copy h1 em { color: #ff942f; font-style: normal; }
.hero-copy > p { max-width: 630px; margin: 0; color: #c7d4e9; font-size: 1rem; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 25px; color: #aebfda; font-size: .76rem; }
.hero-proof span { position: relative; padding-inline-start: 15px; }
.hero-proof span::before { content: ""; position: absolute; inset-inline-start: 0; top: .65em; width: 6px; height: 6px; background: var(--orange); border-radius: 50%; }
.hero-proof b { color: #fff; }
.part-finder { padding: 24px; border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius-lg); background: #fff; color: var(--ink); box-shadow: 0 25px 70px rgba(0,0,0,.27); }
.finder-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.finder-icon { width: 48px; height: 48px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 14px; background: var(--soft-blue); color: var(--blue); }
.finder-icon svg { width: 27px; }
.finder-heading h2 { margin: 0; color: var(--navy); font-size: 1.15rem; }
.finder-heading p { margin: 1px 0 0; color: var(--muted); font-size: .75rem; }
.part-finder label > span, .catalog-filters label > span { color: #3b4659; font-size: .73rem; font-weight: 800; }
.finder-search { display: flex; flex-direction: column; gap: 6px; }
.finder-search > div, .filter-search > div { display: flex; align-items: center; border: 1px solid var(--line-dark); border-radius: 11px; background: #fff; }
.finder-search svg, .filter-search svg { width: 19px; margin-inline-start: 12px; color: var(--muted); }
.finder-search input, .filter-search input { flex: 1; min-width: 0; height: 47px; border: 0; padding: 8px 10px; }
.finder-search input:focus, .filter-search input:focus { outline: 0; }
.finder-selects { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.finder-selects label, .catalog-filters label { display: flex; flex-direction: column; gap: 5px; }
.finder-selects select, .catalog-filters select { width: 100%; min-height: 45px; padding: 8px 11px; border: 1px solid var(--line-dark); border-radius: 10px; background: #fff; color: var(--ink); }
.finder-submit { width: 100%; min-height: 48px; margin-top: 16px; display: flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 11px; background: var(--orange); color: #fff; font-weight: 900; cursor: pointer; }
.finder-submit:hover { background: var(--orange-dark); }
.finder-submit svg { width: 19px; }
.finder-help { margin: 9px 0 0; color: var(--muted); text-align: center; font-size: .69rem; }

/* Home sections */
.store-benefits { background: #fff; border-bottom: 1px solid var(--line); }
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.benefits-grid > div { min-height: 86px; padding: 15px 20px; display: flex; align-items: center; gap: 11px; border-inline-end: 1px solid var(--line); }
.benefits-grid > div:last-child { border-inline-end: 0; }
.benefits-grid > div > span { width: 39px; height: 39px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 11px; background: var(--soft-blue); color: var(--blue); }
.benefits-grid svg { width: 21px; }
.benefits-grid p { margin: 0; display: flex; flex-direction: column; line-height: 1.55; }
.benefits-grid b { font-size: .82rem; }
.benefits-grid small { color: var(--muted); font-size: .67rem; }
.home-section { padding-block: 64px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 26px; }
.section-heading h2, .page-title h1 { margin: 5px 0 0; color: var(--navy); font-size: clamp(1.65rem, 3vw, 2.5rem); line-height: 1.35; }
.section-heading p { margin: 4px 0 0; color: var(--muted); font-size: .82rem; }
.section-link { display: inline-flex; align-items: center; gap: 7px; color: var(--blue); font-size: .82rem; font-weight: 900; white-space: nowrap; }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.category-card { min-height: 118px; padding: 18px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 13px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .18s, transform .18s, box-shadow .18s; }
.category-card:hover { transform: translateY(-3px); border-color: #aebde0; box-shadow: var(--shadow-sm); }
.category-card > span:nth-child(2) { display: flex; flex-direction: column; }
.category-card b { color: var(--navy); font-size: .87rem; }
.category-card small { margin-top: 2px; color: var(--muted); font-size: .65rem; line-height: 1.55; }
.category-glyph { width: 47px; height: 47px; display: grid; place-items: center; border-radius: 14px; background: var(--soft-blue); color: var(--blue); font: 900 1.1rem/1 Tahoma, sans-serif; }
.glyph-brake, .glyph-electric { background: #fff1e7; color: var(--orange-dark); }
.glyph-steering, .glyph-body { background: #f1f0ff; color: #6554c0; }
.glyph-cooling { background: #e8f8f5; color: #07806f; }
.category-arrow { width: 17px; color: #9ba5b5; }
.catalog-callout { padding-block: 54px; background: var(--navy); color: #fff; }
.callout-grid { display: grid; grid-template-columns: 1fr .9fr; align-items: center; gap: 80px; }
.callout-copy .kicker { color: #ff9a3d; }
.callout-copy h2 { margin: 5px 0 14px; font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.3; }
.callout-copy p { max-width: 610px; margin: 0 0 22px; color: #b9c8df; }
.fitment-card { padding: 22px; border: 1px solid rgba(255,255,255,.15); border-radius: 20px; background: rgba(255,255,255,.07); }
.fitment-car { min-height: 128px; position: relative; padding: 18px; display: flex; flex-direction: column; justify-content: end; border-radius: 14px; background: #fff; color: var(--navy); overflow: hidden; }
.fitment-car > svg { position: absolute; left: 15px; top: 8px; width: 130px; color: #d8e4f8; stroke-width: .9; }
.fitment-car strong { position: relative; direction: ltr; font-size: 1.2rem; }
.fitment-car span { position: relative; color: var(--muted); font-size: .7rem; }
.fitment-options { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin-top: 10px; }
.fitment-options span { min-height: 37px; display: flex; align-items: center; justify-content: center; gap: 5px; border-radius: 8px; background: rgba(255,255,255,.1); font-size: .68rem; font-weight: 800; }
.fitment-options svg { width: 16px; }
.featured-section { padding-bottom: 40px; }
.buying-guide { margin-bottom: 70px; padding: 36px; display: grid; grid-template-columns: 280px 1fr; gap: 45px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.guide-heading h2 { margin: 5px 0 0; color: var(--navy); font-size: 1.45rem; line-height: 1.45; }
.guide-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.guide-steps article { display: flex; gap: 11px; }
.guide-steps article > span { width: 31px; height: 31px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 900; font-size: .8rem; }
.guide-steps h3 { margin: 1px 0 4px; color: var(--navy); font-size: .88rem; }
.guide-steps p { margin: 0; color: var(--muted); font-size: .7rem; line-height: 1.75; }

/* Product cards */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.product-card { min-width: 0; overflow: hidden; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .18s, transform .18s, box-shadow .18s; }
.product-card:hover { transform: translateY(-4px); border-color: #bcc8dc; box-shadow: var(--shadow-sm); }
.product-visual { position: relative; height: 190px; padding: 15px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: linear-gradient(145deg, #f8fafc, #e9eef5); border-bottom: 1px solid var(--line); }
.product-visual::after { content: ""; position: absolute; width: 100px; height: 100px; border-radius: 50%; background: #fff; box-shadow: 0 8px 25px rgba(11,33,74,.08); }
.product-visual > svg { position: relative; z-index: 1; width: 62px; color: #71809a; stroke-width: 1.2; }
.product-category { position: absolute; z-index: 2; inset-inline-start: 13px; top: 13px; padding: 3px 9px; border: 1px solid #d5deec; border-radius: 999px; background: rgba(255,255,255,.86); color: #4a5a73; font-size: .66rem; font-weight: 800; }
.product-code { position: absolute; z-index: 2; inset-inline: 13px; bottom: 10px; display: flex; justify-content: space-between; align-items: center; }
.product-code small { color: var(--muted); font-size: .62rem; }
.product-code b { color: var(--navy); font-size: .75rem; letter-spacing: .03em; }
.product-body { padding: 16px; display: flex; flex: 1; flex-direction: column; }
.product-meta { min-height: 26px; display: flex; justify-content: space-between; align-items: center; gap: 8px; color: var(--blue); font-size: .69rem; font-weight: 800; }
.product-body h3 { margin: 8px 0 10px; min-height: 52px; color: var(--ink); font-size: .87rem; line-height: 1.7; }
.product-body h3 a:hover { color: var(--blue); }
.compatibility-tags { min-height: 30px; display: flex; flex-wrap: wrap; gap: 5px; }
.compatibility-tags span { padding: 2px 7px; border-radius: 6px; background: #f0f3f7; color: #536078; font-size: .61rem; }
.product-price { margin-top: 14px; display: flex; flex-direction: column; color: var(--navy); font-size: .94rem; font-weight: 900; }
.product-price small, .detail-price small { color: var(--muted); font-size: .64rem; font-weight: 700; }
.stock { display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; padding: 3px 8px; font-size: .61rem; font-weight: 900; white-space: nowrap; }
.stock::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.stock.in { background: var(--success-bg); color: var(--success); }
.stock.out { background: var(--danger-bg); color: var(--danger); }
.card-action { margin: 12px -16px -16px; padding: 10px 16px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); color: var(--blue); font-size: .72rem; font-weight: 900; }
.card-action:hover { background: var(--soft-blue); }
.card-action svg { width: 16px; }
.empty-state { padding: 54px 24px; text-align: center; background: #fff; border: 1px dashed #b9c4d4; border-radius: var(--radius); }
.empty-state h2, .empty-state h3 { margin: 0 0 5px; color: var(--navy); }
.empty-state p { margin: 0; color: var(--muted); font-size: .8rem; }
.compact-empty { display: flex; align-items: center; gap: 17px; text-align: start; }
.compact-empty > svg { width: 42px; color: var(--blue); }
.compact-empty > div { flex: 1; }
.catalog-empty > svg { width: 45px; margin: 0 auto 12px; color: #8c9bb1; }

/* Catalog */
.catalog-heading { padding-block: 31px; background: #fff; border-bottom: 1px solid var(--line); }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: .7rem; }
.breadcrumbs a:hover { color: var(--blue); }
.catalog-title-row { margin-top: 15px; display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.catalog-title-row h1 { margin: 3px 0; color: var(--navy); font-size: 2.2rem; line-height: 1.35; }
.catalog-title-row p { margin: 0; color: var(--muted); font-size: .82rem; }
.catalog-count { min-width: 130px; padding: 10px 14px; display: flex; flex-direction: column; border-inline-start: 3px solid var(--orange); }
.catalog-count b { color: var(--navy); font-size: 1.35rem; line-height: 1.2; }
.catalog-count span { color: var(--muted); font-size: .66rem; }
.catalog-content { padding-block: 24px 70px; }
.catalog-filters { padding: 17px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.filter-main { display: grid; grid-template-columns: minmax(300px, 2fr) minmax(160px, .7fr) minmax(150px, .6fr) auto; align-items: end; gap: 11px; }
.filter-main button { min-height: 45px; padding: 8px 22px; display: flex; align-items: center; justify-content: center; gap: 7px; border: 0; border-radius: 10px; background: var(--blue); color: #fff; font-weight: 900; cursor: pointer; }
.filter-main button:hover { background: var(--blue-dark); }
.filter-main button svg { width: 18px; }
.advanced-filters { margin-top: 10px; padding-top: 9px; border-top: 1px solid var(--line); }
.advanced-filters summary { width: max-content; color: var(--blue); cursor: pointer; font-size: .72rem; font-weight: 800; }
.advanced-filters > div { max-width: 680px; margin-top: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.advanced-filters input { min-height: 43px; padding: 8px 11px; border: 1px solid var(--line-dark); border-radius: 10px; }
.active-filter-row { min-height: 48px; display: flex; align-items: center; flex-wrap: wrap; gap: 7px; color: var(--muted); font-size: .68rem; }
.active-filter { padding: 3px 8px; border-radius: 999px; background: #e5edf9; color: var(--navy); font-weight: 800; }
.active-filter-row a { margin-inline-start: auto; color: var(--danger); font-weight: 800; }
.catalog-layout { margin-top: 23px; display: grid; grid-template-columns: 205px minmax(0, 1fr); gap: 24px; align-items: start; }
.catalog-sidebar { padding: 14px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.sidebar-title { padding: 7px 7px 12px; display: flex; align-items: center; gap: 8px; color: var(--navy); border-bottom: 1px solid var(--line); font-size: .78rem; }
.sidebar-title svg { width: 17px; color: var(--blue); }
.catalog-sidebar > a { padding: 8px 9px; border-bottom: 1px solid #eff1f5; color: #4b586d; font-size: .73rem; }
.catalog-sidebar > a:hover, .catalog-sidebar > a.active { color: var(--blue); background: #f2f6fd; }
.catalog-sidebar > a.active { font-weight: 900; }
.sidebar-fitment { margin-top: 15px; padding: 14px; border-radius: 11px; background: var(--navy); color: #fff; }
.sidebar-fitment svg { width: 27px; margin-bottom: 8px; color: #66a0ff; }
.sidebar-fitment b { display: block; font-size: .73rem; }
.sidebar-fitment p { margin: 4px 0 0; color: #b9c7db; font-size: .62rem; line-height: 1.65; }
.results-toolbar { min-height: 39px; margin-bottom: 12px; display: flex; justify-content: space-between; align-items: start; gap: 20px; color: var(--muted); font-size: .69rem; }
.results-toolbar p { margin: 0; color: var(--ink); font-size: .75rem; }
.catalog-results .product-grid { grid-template-columns: repeat(3, 1fr); }

/* Product detail */
.product-page { padding-block: 24px 80px; }
.product-breadcrumbs { margin-bottom: 22px; }
.product-detail { display: grid; grid-template-columns: minmax(280px, .95fr) minmax(330px, 1.15fr) 340px; gap: 30px; align-items: start; }
.detail-media { min-width: 0; }
.detail-visual { position: relative; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(145deg, #fafbfd, #e7edf4); }
.detail-visual::after { content: ""; position: absolute; width: 55%; aspect-ratio: 1; border-radius: 50%; background: #fff; box-shadow: 0 15px 35px rgba(11,33,74,.08); }
.detail-visual > svg { position: relative; z-index: 1; width: 34%; color: #72819a; stroke-width: 1.1; }
.detail-visual .product-category { top: 17px; inset-inline-start: 17px; }
.detail-code { position: absolute; z-index: 2; inset-inline: 19px; bottom: 16px; display: flex; justify-content: space-between; align-items: end; }
.detail-code small { color: var(--muted); font-size: .66rem; }
.detail-code strong { color: var(--navy); font-size: .95rem; }
.detail-media-note { margin-top: 11px; padding: 12px 14px; display: flex; align-items: center; gap: 10px; border: 1px solid #d8e6f8; border-radius: 11px; background: #f3f8ff; }
.detail-media-note svg { width: 25px; flex: 0 0 auto; color: var(--blue); }
.detail-media-note span { display: flex; flex-direction: column; line-height: 1.55; }
.detail-media-note b { color: var(--navy); font-size: .72rem; }
.detail-media-note small { color: var(--muted); font-size: .62rem; }
.detail-copy { padding-top: 5px; }
.detail-topline { display: flex; justify-content: space-between; align-items: center; gap: 14px; color: var(--blue); font-size: .77rem; font-weight: 900; }
.detail-copy h1 { margin: 12px 0; color: var(--navy); font-size: clamp(1.7rem, 3vw, 2.65rem); line-height: 1.4; letter-spacing: -.02em; }
.detail-copy .lead { margin: 0 0 20px; font-size: .82rem; line-height: 1.9; }
.compatibility-box { overflow: hidden; border: 1px solid #ccdaf0; border-radius: 13px; background: #f8fbff; }
.compatibility-title { padding: 11px 13px; display: flex; align-items: center; gap: 9px; border-bottom: 1px solid #dce6f5; }
.compatibility-title svg { width: 25px; color: var(--blue); }
.compatibility-title span { display: flex; flex-direction: column; line-height: 1.5; }
.compatibility-title b { color: var(--navy); font-size: .74rem; }
.compatibility-title small { color: var(--muted); font-size: .6rem; }
.compatibility-detail { display: grid; grid-template-columns: 1fr 1fr; }
.compatibility-detail > div { padding: 10px 13px; display: flex; flex-direction: column; }
.compatibility-detail > div:first-child { border-inline-end: 1px solid #dce6f5; }
.compatibility-detail span { color: var(--muted); font-size: .61rem; }
.compatibility-detail b { color: var(--ink); font-size: .72rem; }
.spec-list { margin: 22px 0 0; border-top: 1px solid var(--line); }
.spec-list div { padding: 9px 0; display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); font-size: .73rem; }
.spec-list dt { color: var(--muted); }
.spec-list dd { margin: 0; color: var(--ink); font-weight: 800; }
.purchase-panel { padding: 21px; position: sticky; top: 177px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.purchase-label { color: var(--muted); font-size: .67rem; }
.detail-price { margin-bottom: 14px; display: flex; flex-direction: column; color: var(--navy); font-size: 1.35rem; font-weight: 900; }
.inventory-row { margin-block: 13px; padding-block: 11px; display: flex; justify-content: space-between; border-block: 1px solid var(--line); font-size: .69rem; }
.inventory-row span { color: var(--muted); }
.inventory-row b { color: var(--success); }
.purchase-panel .purchase-box { margin-top: 8px; }
.purchase-notes { margin-top: 16px; padding-top: 13px; border-top: 1px solid var(--line); }
.purchase-notes p { margin: 6px 0; display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: .64rem; }
.purchase-notes svg { width: 16px; color: var(--blue); }
.purchase-box { display: grid; grid-template-columns: 64px 1fr; gap: 8px; align-items: end; }
.purchase-box label { grid-column: 1; font-size: .68rem; }
.purchase-box input { width: 100%; height: 43px; padding: 6px 8px; border: 1px solid var(--line-dark); border-radius: 9px; }
.purchase-box .primary-button { grid-column: 2; min-width: 0; }
.purchase-box .primary-button:disabled { background: #9aa4b4; cursor: not-allowed; }
.purchase-box .form-message { grid-column: 1 / -1; margin: 0; }

/* Forms and account areas */
.page-shell { min-height: 64vh; padding-block: 52px 80px; }
.page-title { max-width: 760px; margin-bottom: 28px; }
.page-title p { margin: 5px 0 0; color: var(--muted); font-size: .82rem; }
.narrow-page { min-height: 72vh; display: grid; place-items: center; padding-block: 60px; }
.form-card { width: min(470px, 100%); padding: 32px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); }
.wide-form { width: min(780px, 100%); }
.form-card h1 { margin: 5px 0 20px; color: var(--navy); font-size: 1.9rem; }
label { display: flex; flex-direction: column; gap: 6px; color: #3b4659; font-size: .79rem; font-weight: 800; }
input, textarea { padding: 10px 12px; border: 1px solid var(--line-dark); border-radius: 10px; background: #fff; color: var(--ink); }
textarea { min-height: 100px; resize: vertical; }
.form-message { min-height: 26px; color: #8f5d05; font-size: .75rem; }
.text-button { padding: 8px; border: 0; background: none; color: var(--blue); cursor: pointer; font-weight: 800; }
.danger { color: var(--danger); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.span-2 { grid-column: 1 / -1; }
.notice { margin-bottom: 18px; padding: 10px 13px; border: 1px solid #e9c75b; border-radius: 10px; background: #fff8df; font-size: .78rem; }
.notice.error { background: var(--danger-bg); border-color: #e1a3a5; }
.loading { padding: 30px; text-align: center; color: var(--muted); }
.not-found-page { min-height: 62vh; display: grid; place-items: center; padding-block: 60px; }
.not-found-card { width: min(520px, 100%); padding: 42px 28px; text-align: center; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); }
.not-found-card > span { color: var(--orange); font-size: .8rem; font-weight: 900; }
.not-found-card > svg { width: 58px; margin: 12px auto; color: #8b99ad; }
.not-found-card h1 { margin: 0 0 7px; color: var(--navy); font-size: 1.8rem; }
.not-found-card p { margin: 0 auto 20px; max-width: 420px; color: var(--muted); font-size: .78rem; }

.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 25px; align-items: start; }
.line-list, .order-list, .profile-panel { display: grid; gap: 10px; }
.cart-line, .order-row, .address-row { padding: 17px 19px; display: flex; justify-content: space-between; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.cart-line div { display: flex; flex-direction: column; }
.summary-card, .payment-card { padding: 23px; position: sticky; top: 177px; border-radius: var(--radius); background: var(--navy); color: #fff; }
.payment-card label { margin-top: 12px; color: #fff; }
.payment-card input { color: var(--ink); }
.payment-total { display: block; margin-bottom: 14px; font-size: 1.35rem; font-weight: 900; }
.divider { margin: 22px 0 11px; display: flex; align-items: center; gap: 8px; color: #b8c4d7; }
.divider::before, .divider::after { content: ""; height: 1px; flex: 1; background: #4b5d7a; }
.card-display { padding: 11px; border-radius: 9px; background: #eaf1ff; color: var(--navy); direction: ltr; text-align: center; font-weight: 900; }
.summary-card p { color: #c5d0e1; }
.summary-card .primary-button { background: var(--orange); }
.profile-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr); gap: 25px; align-items: start; }
.address-row > div:first-child { display: flex; flex-direction: column; }
.address-actions { display: flex; flex-wrap: wrap; gap: 6px; justify-content: end; }
.order-row { display: grid; grid-template-columns: 1fr 1.2fr 1fr auto; }
.order-row div { display: flex; flex-direction: column; }
.order-row small { color: var(--muted); }
.status-chip { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 5px 10px; font-size: .7rem; font-weight: 900; background: #e7eaf0; }
.status-paid, .status-delivered, .status-shipped { background: var(--success-bg); color: var(--success); }
.status-exception, .status-payment_failed, .status-reservation_failed { background: var(--danger-bg); color: var(--danger); }

/* Footer */
.footer { padding-block: 48px 20px; background: var(--navy-2); color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .7fr .8fr 1.15fr; gap: 42px; }
.footer-grid > div > strong { color: #fff; font-size: .8rem; }
.footer-logo { display: flex; align-items: center; gap: 9px; font-size: 1.05rem; }
.footer-logo span { width: 42px; height: 34px; display: grid; place-items: center; border-radius: 8px 8px 12px 12px; background: var(--blue); font-weight: 900; }
.footer p { margin: 8px 0 0; color: #aebbd0; font-size: .7rem; line-height: 1.85; }
.footer-links { margin-top: 10px; display: flex; flex-direction: column; gap: 7px; color: #b9c5d8; font-size: .7rem; }
.footer-links a:hover { color: #fff; }
.footer-note { padding: 14px; border: 1px solid #283d60; border-radius: 12px; background: rgba(255,255,255,.03); }
.footer-bottom { margin-top: 35px; padding-top: 16px; display: flex; justify-content: space-between; border-top: 1px solid #243957; color: #8291aa; font-size: .64rem; }

@media (max-width: 1100px) {
  .header-main { grid-template-columns: 190px 1fr auto; gap: 16px; }
  .account-link span { display: none; }
  .category-nav nav { gap: 20px; }
  .hero-storefront { gap: 38px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid > div:nth-child(2) { border-inline-end: 0; }
  .benefits-grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .catalog-results .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-detail { grid-template-columns: minmax(280px, .9fr) minmax(330px, 1.1fr); }
  .purchase-panel { grid-column: 1 / -1; position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; }
  .purchase-panel .purchase-box { grid-column: 2; grid-row: 1 / 4; align-self: center; }
  .purchase-panel .purchase-notes { grid-column: 1 / -1; }
  .buying-guide { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-note { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  body { padding-bottom: 66px; }
  .site-header { position: static; }
  .utility-bar, .category-nav, .account-link, .cart-button { display: none; }
  .header-main { padding-block: 12px; grid-template-columns: auto 1fr; gap: 14px; }
  .brand { grid-column: 1; }
  .brand-copy small { display: none; }
  .header-search { grid-column: 2; }
  .nav-actions { display: none; }
  .mobile-bottom-nav { position: fixed; z-index: 40; inset-inline: 0; bottom: 0; min-height: 64px; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 22px rgba(11,33,74,.1); }
  .mobile-bottom-nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: #536078; font-size: .62rem; font-weight: 800; }
  .mobile-bottom-nav a:hover { color: var(--blue); }
  .mobile-bottom-nav svg { width: 20px; }
  .hero-storefront { padding-block: 42px; grid-template-columns: 1fr; gap: 30px; }
  .hero-copy { text-align: center; }
  .hero-copy > p { margin-inline: auto; }
  .hero-proof { justify-content: center; }
  .part-finder { width: min(620px, 100%); margin-inline: auto; }
  .callout-grid { grid-template-columns: 1fr; gap: 30px; }
  .guide-steps { grid-template-columns: 1fr; gap: 17px; }
  .filter-main { grid-template-columns: 1fr 1fr; }
  .filter-search { grid-column: 1 / -1; }
  .filter-main button { align-self: end; }
  .catalog-layout { grid-template-columns: 1fr; }
  .catalog-sidebar { display: none; }
  .catalog-results .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-detail { grid-template-columns: 1fr; }
  .detail-media { max-width: 570px; width: 100%; margin-inline: auto; }
  .purchase-panel { grid-column: auto; }
  .cart-layout, .profile-layout { grid-template-columns: 1fr; }
  .summary-card, .payment-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand, .footer-note { grid-column: 1 / -1; }
}

@media (max-width: 580px) {
  .shell { width: min(100% - 24px, 1240px); }
  .header-main { grid-template-columns: auto 1fr; gap: 9px; }
  .brand-mark { width: 43px; height: 37px; font-size: .95rem; }
  .brand-copy { display: none; }
  .header-search { height: 43px; }
  .header-search input { padding-inline: 11px; font-size: .72rem; }
  .header-search button { width: 45px; }
  .home-hero::after { font-size: 11rem; }
  .hero-storefront { padding-block: 34px; }
  .hero-badge { font-size: .67rem; }
  .hero-copy h1 { font-size: 2.25rem; }
  .hero-copy > p { font-size: .84rem; }
  .hero-proof { gap: 8px 15px; font-size: .66rem; }
  .part-finder { padding: 18px; border-radius: 18px; }
  .finder-heading h2 { font-size: 1rem; }
  .finder-selects { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .benefits-grid > div { min-height: 70px; border-inline-end: 0; border-bottom: 1px solid var(--line); }
  .benefits-grid > div:last-child { border-bottom: 0; }
  .home-section { padding-block: 46px; }
  .section-heading { align-items: start; gap: 16px; }
  .section-heading h2 { font-size: 1.45rem; }
  .section-link { font-size: .7rem; }
  .category-grid { grid-template-columns: 1fr; }
  .category-card { min-height: 100px; }
  .fitment-options { grid-template-columns: 1fr 1fr; }
  .product-grid, .catalog-results .product-grid { grid-template-columns: 1fr; }
  .product-card { max-width: 420px; width: 100%; margin-inline: auto; }
  .compact-empty { flex-direction: column; text-align: center; }
  .buying-guide { margin-bottom: 45px; padding: 24px 18px; }
  .catalog-title-row { align-items: start; }
  .catalog-title-row h1 { font-size: 1.8rem; }
  .catalog-count { min-width: 90px; }
  .filter-main, .advanced-filters > div { grid-template-columns: 1fr; }
  .filter-search, .filter-main button { grid-column: 1; }
  .active-filter-row a { margin-inline-start: 0; }
  .results-toolbar { flex-direction: column; gap: 3px; }
  .detail-copy h1 { font-size: 1.7rem; }
  .purchase-panel { display: block; }
  .purchase-panel .purchase-box { margin-top: 12px; }
  .form-card { padding: 24px 19px; }
  .form-grid { grid-template-columns: 1fr; }
  .span-2 { grid-column: 1; }
  .order-row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 27px; }
  .footer-brand, .footer-note { grid-column: auto; }
  .footer-bottom { gap: 14px; flex-direction: column; }
}

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