:root {
    color-scheme: dark;
    --ink: #eff6ff;
    --muted: #a1b7cb;
    --bg: #060e18;
    --panel: #0c1b2a;
    --line: #24435e;
    --blue: #65caff;
    font: 16px/1.5 Inter, system-ui, sans-serif;
    background: var(--bg);
    color: var(--ink);
}
* { box-sizing: border-box; }
body { margin: 0; background: radial-gradient(ellipse at 85% 0, #133456, transparent 42rem), var(--bg); }
a { color: var(--blue); text-underline-offset: .2em; }
a:hover { color: #b5e7ff; }
:focus-visible { outline: 2px solid #73d2ff; outline-offset: 3px; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(1.7rem, 3.5vw, 2.45rem); line-height: 1.15; }
h2 { font-size: 1.3rem; line-height: 1.25; }
.wrap { width: min(1220px, calc(100% - 40px)); margin-inline: auto; }
.store-header, .store-footer { background: #07111c; border-block: 1px solid var(--line); }
.header-inner, .footer-inner, .section-heading, .results, .pagination {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px 24px;
}
.header-inner { min-height: 72px; padding-block: 8px; }
.brand img { border-radius: 7px; }
.header-inner nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.header-inner a { text-decoration: none; }
.header-contact { display: grid; gap: 3px; margin-left: auto; font-size: .82rem; line-height: 1.35; }
.header-phone { justify-self: end; font-size: 1rem; white-space: nowrap; }
.header-address, .header-contact small { color: var(--muted); }
.header-contact small { justify-self: end; }
.footer-inner { padding-block: 23px; color: var(--muted); font-size: .9rem; }
.main { min-height: 70vh; padding-block: 30px 56px; }
.hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 24px;
    padding: clamp(22px, 5vw, 52px);
    border: 1px solid #315a7c;
    border-radius: 24px;
    background: radial-gradient(ellipse at 100% 100%, #174c78, transparent 70%), linear-gradient(135deg, #0c1a2b, #112f4b);
}
.hero-with-banner { min-height: clamp(310px, 35vw, 460px); align-content: space-between; }
.hero-images { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; z-index: -1; }
.hero-images img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero-images::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #06121eed, #07131d33 76%), linear-gradient(0deg, #06121ed9, transparent 52%); }
.hero-with-banner p { color: #e6f0fa; }
.hero h1 { margin-bottom: 14px; }
.hero p { color: var(--muted); margin-bottom: 0; }
.hero-fit { width: 100%; margin-top: 12px; }
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 8px 14px;
    border: 1px solid #399cec;
    border-radius: 10px;
    background: #0867bd;
    color: white;
    font: inherit;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}
.button:hover { color: white; background: #1478d1; }
.button-quiet { background: #122d46; border-color: #315675; }
.button-quiet:hover { background: #1a4161; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; }
.home-section { margin-top: 24px; }
.delivery-page { max-width: 900px; margin-inline: auto; }
.delivery-page h1 { margin-bottom: clamp(18px, 3vw, 30px); }
.delivery-content { padding: clamp(21px, 4vw, 40px); }
.delivery-content > h2 { margin-bottom: 12px; }
.delivery-content > h2:not(:first-child) { margin-top: clamp(26px, 3vw, 36px); }
.delivery-content p, .delivery-content ul { margin-bottom: 16px; }
.delivery-content ul { padding-inline-start: 24px; }
.delivery-content li + li { margin-top: 6px; }
.delivery-content > :last-child { margin-bottom: 0; }
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 245px), 1fr)); gap: 16px; }
.video-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 390px), 1fr)); }
.media-photo { margin: 0; overflow: hidden; }
.media-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.media-photo figcaption, .media-video { padding: 14px; overflow-wrap: anywhere; }
.media-video .product-video-player { margin-block: 8px; }
.catalog-filter, .product-info, .product-extra, .contact-details, .contact-map, .news-banner { padding: clamp(16px, 3vw, 26px); }
.fit-form, .fit, .search-fields { display: grid; gap: 12px; }
.fit-form { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
.fit, .search-fields { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.search-fields { margin-bottom: 16px; }
label { display: grid; gap: 5px; min-width: 0; font-size: .87rem; }
.make-field { display: grid; gap: 5px; min-width: 0; font-size: .87rem; }
.make-picker { position: relative; }
.make-picker summary, .make-picker button { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.make-picker summary { min-height: 42px; padding-inline: 10px; border: 1px solid #315675; border-radius: 9px; background: #0a1928; }
.make-picker summary::after { content: "⌄"; margin-left: auto; }
.make-picker summary::-webkit-details-marker { display: none; }
.make-picker .vehicle-search-popup { position: absolute; inset: calc(100% + 4px) 0 auto; z-index: 40; padding: 8px; background: #0a1928; border: 1px solid #315675; border-radius: 9px; box-shadow: 0 12px 30px #0008; }
.make-picker [data-make-list] { max-height: 15rem; overflow-y: auto; overscroll-behavior: contain; }
.make-picker input { width: 100%; min-width: 0; margin-bottom: 6px; }
.make-picker summary[aria-disabled=true] { opacity: .5; cursor: default; }
.make-picker [data-make-list] p { margin: 8px; }
.make-picker button { width: 100%; padding: 7px 10px; min-height: 34px; background: none; color: var(--ink); border: 0; text-align: left; font: inherit; }
.make-picker button:hover, .make-picker button[aria-pressed=true] { background: #163a59; }
.make-picker button:focus-visible { outline-offset: -2px; }
.make-picker img { width: 20px; height: 20px; object-fit: contain; background: white; border-radius: 3px; }
select, input { width: 100%; min-height: 42px; padding: 7px 10px; border: 1px solid #315675; border-radius: 9px; background: #0a1928; color: var(--ink); font: inherit; }
select:disabled { color: var(--muted); opacity: .75; }
textarea { width: 100%; padding: 10px; border: 1px solid #315675; border-radius: 9px; background: #0a1928; color: var(--ink); font: inherit; resize: vertical; }
.store-notice { padding: 14px 18px; background: #112d42; border: 1px solid var(--line); border-radius: 10px; }
.store-errors { background: #3a202a; padding-left: 36px; }
.checkout-panel { padding: clamp(16px, 3vw, 28px); }
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 20px; align-items: start; }
.checkout-form, .checkout-address { display: grid; gap: 16px; }
.checkout-actions, .cart-total { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 22px; }
.cart-lines { display: grid; gap: 18px; }
.cart-line { display: grid; grid-template-columns: 76px minmax(0, 1fr) 95px auto auto; gap: 14px; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.cart-thumb { display: block; width: 76px; height: 62px; border-radius: 8px; overflow: hidden; background: #10283d; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-line-title { overflow-wrap: anywhere; }
.cart-line-title small { display: block; color: var(--muted); margin-top: 5px; }
.product-buy { display: flex; gap: 12px; align-items: end; margin-bottom: 12px; }
.product-buy input { max-width: 90px; }
.checkout-consent { display: flex; align-items: start; gap: 10px; }
.checkout-consent input { width: 18px; min-height: 18px; height: 18px; margin-top: 2px; flex: 0 0 auto; }
.checkout-summary { display: grid; gap: 6px; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.checkout-summary small { color: var(--muted); }
.checkout-sum { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; }
.receipt { max-width: 720px; margin-inline: auto; }
.card-info form { margin-top: 6px; }
.card-info .button { width: 100%; }
.sections { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.section-link { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 82px; padding: 13px 15px; color: var(--ink); text-decoration: none; }
.section-icon { width: 42px; height: 42px; color: var(--blue); }
.section-link:hover, .card:hover { border-color: #3588c3; }
.section-link span { color: var(--blue); }
.section-heading, .results { justify-content: space-between; }
.section-heading { margin-bottom: 14px; }
.section-heading h2 { margin: 0; }
.section-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.section-tabs a { color: var(--muted); background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 6px 12px; text-decoration: none; font-size: .85rem; }
.section-tabs a[aria-current] { color: var(--ink); border-color: #409bd8; background: #163a59; }
.results { margin-block: 18px 12px; color: var(--muted); font-size: .9rem; }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); }
.card-photo { display: block; position: relative; aspect-ratio: 4 / 3; background: #10283d; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; }
.original { position: absolute; top: 9px; left: 9px; padding: 3px 9px; background: #103c58; border: 1px solid #4287ae; border-radius: 15px; color: #e0f4ff; font-size: .75rem; font-weight: 700; }
.card-info { display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 12px; }
.card-info small, .muted, .compatibility small { color: var(--muted); }
.card-info h3 { flex: 1; margin-bottom: 4px; font-size: .96rem; overflow-wrap: anywhere; }
.card-info h3 a { color: var(--ink); text-decoration: none; }
.card-info h3 a:hover { color: var(--blue); }
.pagination { justify-content: center; margin-top: 20px; }
.breadcrumbs { margin-bottom: 16px; font-size: .92rem; }
.product-layout, .contact-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.product-info h1 { font-size: clamp(1.45rem, 2.8vw, 2rem); overflow-wrap: anywhere; }
.product-price { font-size: 1.5rem; font-weight: 700; }
.product-info h2 { margin: 22px 0 10px; }
dl, dd { margin: 0; }
dl div { display: flex; justify-content: space-between; gap: 12px; padding-block: 6px; border-bottom: 1px solid var(--line); }
dt { color: var(--muted); }
.compatibility { margin: 0; padding-left: 20px; }
.compatibility small { display: block; }
.product-photos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.product-photos a { display: block; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 8px; background: #10283d; }
.product-photos .main-photo { grid-column: 1 / -1; border-radius: 16px; }
.product-photos img { width: 100%; height: 100%; object-fit: contain; }
.product-extra { margin-top: 16px; }
.description { white-space: pre-wrap; overflow-wrap: anywhere; }
.no-photo { padding: 32px 18px; color: var(--muted); }
.photo-viewer { width: min(920px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; background: var(--panel); color: var(--ink); border: 1px solid var(--line); border-radius: 14px; }
.photo-viewer::backdrop { background: #000c; }
.viewer-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 12px; }
.viewer-image { width: 100%; height: min(66dvh, 680px); object-fit: contain; background: var(--bg); }
.product-video-player { display: block; width: min(100%, 600px); aspect-ratio: 16 / 9; border: 0; background: var(--bg); }
.product-video-poster { width: min(100%, 240px); }
.contact-details address { font-style: normal; margin-bottom: 10px; }
.contact-map iframe { width: 100%; height: 320px; border: 0; border-radius: 10px; background: var(--bg); }
.news-banner { display: grid; align-items: start; gap: 24px; overflow-wrap: anywhere; }
.news-banner-with-image { grid-template-columns: minmax(0, 1fr) minmax(180px, 280px); }
.news-banner > div { min-width: 0; grid-column: 1; grid-row: 1; }
.news-banner h2, .news-banner p { margin-bottom: 6px; }
.news-banner > img { grid-column: 2; grid-row: 1; display: block; width: 100%; height: auto; max-height: 260px; object-fit: contain; border-radius: 10px; }
.news-banner strong { margin-left: 8px; }
@media (max-width: 850px) {
    .cards, .sections { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
    .news-banner-with-image { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .news-banner > img { grid-column: 1; grid-row: 2; max-height: 300px; }
    .wrap { width: calc(100% - 24px); }
    .main { padding-top: 20px; }
    .header-inner { gap: 8px 12px; }
    .header-inner nav { gap: 5px 10px; font-size: .87rem; }
    .header-contact { margin-left: 0; }
    .header-phone, .header-contact small { justify-self: start; }
    .header-phone { font-size: .85rem; margin-left: 0; }
    .cards, .sections { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .fit-form, .search-fields, .fit, .product-layout, .contact-layout { grid-template-columns: 1fr; }
    .checkout-layout { grid-template-columns: 1fr; }
    .cart-line { grid-template-columns: 62px minmax(0, 1fr); gap: 12px; }
    .cart-thumb { width: 62px; }
    .cart-line-title { grid-column: 2; }
    .cart-line label { grid-column: 2; max-width: 110px; }
    .cart-line > strong { grid-column: 2; }
    .cart-line > button { grid-column: 2; justify-self: start; }
    .product-photos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .section-link { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 8px; padding: 10px; }
    .section-icon { grid-column: 1 / -1; width: 32px; height: 32px; }
}

.header-inner nav{align-items:center}.cart-link{display:inline-flex;align-items:center;padding:5px 10px;border:1px solid transparent;border-radius:8px}.header-inner .cart-link.is-filled{background:#b42332;border-color:#db4b57;color:#fff;font-weight:600}.header-inner .cart-link.is-filled:hover{background:#951e2a;color:#fff}

.site-logo { display: block; width: 96px; height: 96px; flex-shrink: 0; }
.site-logo img { display: block; width: 96px; height: 96px; object-fit: contain; border-radius: 0; }
.brand { display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0; text-decoration: none; }
.brand-name { color: #07aae1; font-size: 30px; font-weight: 800; letter-spacing: -.04em; line-height: 1; white-space: nowrap; }

.header-inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 20px; }
.header-inner nav { gap: 6px 14px; }
@media(max-width: 1000px) { .header-inner { grid-template-columns: auto minmax(0, 1fr); } .header-contact { grid-column: 1 / -1; margin-left: 0; } .header-phone, .header-contact small { justify-self: start; } }
@media(max-width: 650px) { .header-inner { grid-template-columns: minmax(0, 1fr); } .header-inner .brand { justify-self: start; } .brand-name { font-size: 30px; } }
