/* ==========================================================================
   USS Car Service Solution — Homepage styles
   ========================================================================== */

:root {
    --red: #E9283A;
    --red-hover: #D01F30;
    --red-soft: #FFF0F1;
    --red-light: #F34755;
    --ink: #151922;
    --ink-2: #252C37;
    --ink-3: #3C4654;
    --muted: #697586;
    --muted-2: #6E7887;
    --dark: #10151D;
    --line: #E5E9EF;
    --bg: #F6F8FB;
    --white: #FFFFFF;
    --radius: 16px;
    --radius-sm: 9px;
    --shadow: 0 1px 2px rgba(16, 21, 29, .04), 0 8px 24px rgba(16, 21, 29, .06);
    --shadow-hover: 0 2px 4px rgba(16, 21, 29, .06), 0 16px 36px rgba(16, 21, 29, .12);
    --container: 1312px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.5;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }

.container {
    width: 100%;
    max-width: calc(var(--container) + 32px);
    margin-inline: auto;
    padding-inline: 16px;
}

.eyebrow {
    color: var(--red);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .15em;
    text-transform: uppercase;
}

/* Buttons ---------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 44px;
    padding: 0 22px;
    border: 0;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 750;
    letter-spacing: .02em;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .15s, transform .15s, box-shadow .15s;
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible, a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 2px;
}
.btn--primary { background: var(--red); color: var(--white); }
.btn--primary:hover { background: var(--red-hover); box-shadow: 0 6px 18px rgba(233, 40, 58, .3); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: #E9EDF3; }
.btn--dark { background: var(--dark); color: var(--white); }
.btn--dark:hover { background: #222B37; }
.btn--sm { height: 38px; padding: 0 18px; font-size: 11px; }
.btn--lg { height: 50px; padding: 0 26px; font-size: 13px; }
.btn--block { width: 100%; }
/* full-width buttons may wrap long labels (e.g. the business name) instead of widening the page */
.btn--block { height: auto; min-height: 44px; padding-block: 10px; white-space: normal; text-align: center; line-height: 1.3; }
.btn--block.btn--lg { min-height: 50px; }
.btn--block.btn--sm { min-height: 38px; padding-block: 8px; }

/* Top bar ---------------------------------------------------------------- */
.topbar { background: var(--dark); color: #BAC3CF; font-size: 10px; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 32px; }
.topbar__tag { font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.topbar__phone { display: inline-flex; align-items: center; gap: 8px; color: var(--white); font-size: 11px; font-weight: 700; }
.topbar__phone .icon { color: #F56571; }

/* Header ----------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); box-shadow: 0 1px 0 var(--line); }
/* in-page links (#about, #categories, #finder) stop below the sticky header instead of under it */
html { scroll-padding-top: 156px; }
@media (max-width: 860px) { html { scroll-padding-top: 96px; } }
.header__inner { display: flex; align-items: center; gap: 32px; height: 79px; border-bottom: 1px solid var(--line); }

.logo { flex: none; display: block; padding: 5px 10px; background: #11151D; border-radius: 6px; }
.logo img { width: 153px; height: 37px; object-fit: contain; }

.search { position: relative; flex: 1; max-width: 533px; }
.search__icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: #727D8E; pointer-events: none; }
.search input {
    width: 100%;
    height: 48px;
    padding: 0 18px 0 54px;
    background: var(--bg);
    border: 1px solid #E8EDF2;
    border-radius: 10px;
    font-size: 14px;
    transition: border-color .15s, background-color .15s;
}
.search input::placeholder { color: var(--muted-2); }
.search input:focus { outline: none; background: var(--white); border-color: var(--red); }

.header__link { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 13px; font-weight: 650; }
.header__link:hover { color: var(--red); }
.header__finder { white-space: nowrap; }
.header__actions { display: flex; align-items: center; gap: 30px; margin-left: auto; }

.cart-btn { position: relative; color: var(--ink-2); }
.cart-btn:hover { color: var(--red); }
.cart-badge {
    position: absolute; top: -9px; right: -12px;
    min-width: 18px; height: 18px; padding: 0 5px;
    display: grid; place-items: center;
    background: var(--red); color: var(--white);
    border-radius: 9px; font-size: 9px; font-weight: 700;
}
.cart-badge.bump { animation: bump .35s ease; }
.cart-badge[hidden] { display: none; }
@keyframes bump { 50% { transform: scale(1.35); } }

.menu-toggle { display: none; background: none; border: 0; padding: 6px; cursor: pointer; color: var(--ink-2); }

.main-nav__inner { display: flex; align-items: center; justify-content: space-between; height: 55px; }
.main-nav__list { display: flex; gap: 40px; }
.main-nav__list a { position: relative; display: block; padding: 6px 0; color: var(--ink-3); font-size: 14.5px; font-weight: 600; }
.main-nav__list a:hover { color: var(--ink); }
.main-nav__list a.is-active { color: var(--red); font-weight: 700; }
.main-nav__list a.is-active::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -12px;
    height: 2px; background: var(--red); border-radius: 2px;
}
.nav-backdrop { display: none; }

/* Hero ------------------------------------------------------------------- */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #202731 0%, #0C1016 100%);
    color: var(--white);
    padding: 64px 0 112px;
}
.hero__glow {
    position: absolute; right: -40px; top: 50%;
    width: 560px; height: 560px; transform: translateY(-50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(54, 67, 84, .55) 0 34%, rgba(39, 47, 59, .35) 34% 100%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 24px; }
.hero__title {
    margin-top: 22px;
    font-size: clamp(32px, 4.4vw, 51px);
    font-weight: 850;
    line-height: 1.12;
    letter-spacing: -.01em;
    text-transform: uppercase;
}
.hero__title span { display: block; }
.hero__accent { color: var(--red-light); font-size: .88em; }
.hero__lead { max-width: 470px; margin-top: 22px; color: #CBD5E1; font-size: 16px; line-height: 1.7; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 30px; }
.hero__origins { margin-top: 30px; color: #B7C1CE; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; word-spacing: .3em; }
.hero__car { width: 100%; filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .35)); }

/* Trust strip ------------------------------------------------------------ */
.trust {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: -40px;
    padding: 32px 46px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.trust__item { display: flex; align-items: center; gap: 12px; }
.trust__item strong { display: block; font-size: 13px; font-weight: 750; }
.trust__item span { display: block; color: var(--muted); font-size: 11px; }
.icon-badge {
    flex: none; display: grid; place-items: center;
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--red-soft); color: var(--red);
}

/* Part finder ------------------------------------------------------------ */
.finder {
    margin-top: 36px;
    padding: 30px 26px 18px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
}
.finder__title { margin-top: 10px; font-size: 27px; font-weight: 800; letter-spacing: -.01em; }
.finder__form {
    display: grid;
    grid-template-columns: 1fr 1fr .73fr 1.18fr 1fr;
    gap: 15px;
    align-items: end;
    margin-top: 20px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { color: var(--muted); font-size: 11px; font-weight: 700; }
.field select, .field input, .field textarea {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink-2);
    font-size: 13px;
    font-weight: 600;
}
.field select {
    appearance: none;
    padding-right: 38px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23697586' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    cursor: pointer;
}
.field input::placeholder { color: #97A1AE; }
.field textarea { height: auto; padding: 12px 14px; resize: vertical; font-weight: 500; }
.field select:disabled { opacity: .6; cursor: not-allowed; }
.field select:focus, .field input:focus, .field textarea:focus { outline: none; border-color: var(--red); background-color: var(--white); }
.finder__submit { height: 48px; }

/* Sections --------------------------------------------------------------- */
.section { margin-top: 64px; }
.section__head h2 { margin-top: 12px; font-size: 30px; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; }
.section__head p:last-child { margin-top: 8px; color: var(--muted); font-size: 13px; }
.section__head { margin-bottom: 24px; }

/* Category cards --------------------------------------------------------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 23px 29px; }
.cat-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 195px;
    padding: 20px;
    overflow: hidden;
    background: #FDFEFF;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: box-shadow .2s, transform .2s, border-color .2s;
}
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: #D9DFE7; }
.cat-card__art {
    position: absolute; right: -2px; top: 4px;
    width: 150px; height: 150px;
    display: grid; place-items: center;
    background: #F1F4F7; border-radius: 50%;
    transition: transform .3s;
}
.cat-card__art .part-art { width: 114px; height: 114px; }
.cat-card:hover .cat-card__art { transform: scale(1.05) rotate(-3deg); }
.cat-card__body { position: relative; max-width: 72%; }
.cat-card__body strong { display: block; font-size: 17px; font-weight: 780; }
.cat-card__body span { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; }
.cat-card__arrow {
    position: absolute; right: 15px; bottom: 23px;
    width: 30px; height: 30px; display: grid; place-items: center;
    border-radius: 50%; background: var(--red-soft); color: var(--red);
    transition: background-color .2s, color .2s;
}
.cat-card__arrow .icon { width: 16px; height: 16px; }
.cat-card:hover .cat-card__arrow { background: var(--red); color: var(--white); }

/* Product cards ---------------------------------------------------------- */
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 29px; }
.product-card {
    position: relative;
    display: flex; flex-direction: column;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
    transition: box-shadow .2s, transform .2s;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.product-card__media {
    position: relative;
    height: 162px;
    display: grid; place-items: center;
    background: linear-gradient(180deg, #F7F9FC, #E9EDF3);
    border-radius: 13px;
    margin: 1px;
}
.product-card__media .part-art { width: 156px; height: 156px; transition: transform .3s; }
.product-card:hover .product-card__media .part-art { transform: scale(1.06); }
.pill {
    position: absolute; left: 12px; top: 11px;
    padding: 4px 13px;
    background: var(--white); border-radius: 16px;
    color: #3B4857; font-size: 11px; font-weight: 600;
    text-transform: uppercase; letter-spacing: .02em;
}
.wish-btn {
    position: absolute; right: 10px; top: 10px;
    width: 34px; height: 34px; display: grid; place-items: center;
    background: transparent; border: 0; border-radius: 50%;
    color: #828C9A; cursor: pointer;
    transition: background-color .15s, color .15s;
}
.wish-btn:hover { background: var(--white); color: var(--red); }
.wish-btn[aria-pressed="true"] { color: var(--red); }
.wish-btn[aria-pressed="true"] path { fill: currentColor; }
.product-card__body { display: flex; flex-direction: column; flex: 1; padding: 18px 13px 14px; }
.product-card__body h3 { font-size: 14px; font-weight: 730; }
.product-card__body h3 a:hover { color: var(--red); }
.product-card__body form { margin-top: auto; }
.part-img { width: 100%; height: 100%; object-fit: contain; }
.product-card__media .part-img { position: absolute; inset: 0; margin: auto; width: auto; height: auto; max-width: calc(100% - 24px); max-height: calc(100% - 20px); border-radius: 8px; }
.cat-card__art { overflow: hidden; }
.cat-card__art .part-img { width: 100%; height: 100%; object-fit: cover; }
.gallery__main img.part-img { width: auto; height: auto; max-width: 100%; max-height: 100%; border-radius: 10px; }
.product-card__fit { margin-top: 4px; color: var(--muted); font-size: 11px; }
.product-card__price { margin: 14px 0 18px; font-size: 16px; font-weight: 830; }
.product-card__price.is-quote { color: var(--red); }
.product-card .btn { margin-top: auto; height: 41px; font-size: 11px; }
.fineprint { margin-top: 14px; color: var(--muted-2); font-size: 11px; }

/* CTA band --------------------------------------------------------------- */
.cta-band {
    display: flex; align-items: center; justify-content: space-between; gap: 32px;
    margin-top: 36px; margin-bottom: 28px;
    padding: 34px 40px 34px 28px;
    background: var(--dark); color: var(--white);
    border-radius: 17px;
    background-image: radial-gradient(circle at 90% 0%, rgba(233, 40, 58, .16), transparent 45%);
}
.cta-band h2 { margin-top: 14px; font-size: 25px; font-weight: 800; line-height: 1.25; }
.cta-band p:last-child { margin-top: 8px; color: #C1CBD7; font-size: 13px; }

/* Footer ----------------------------------------------------------------- */
.site-footer { background: var(--dark); color: #ACB5C2; font-size: 12px; padding-top: 32px; }
.footer__grid { display: grid; grid-template-columns: 1.9fr 1fr 1.1fr 1fr; gap: 32px; }
.footer__logo { display: inline-block; padding: 7px; background: #090C10; border-radius: 6px; }
.footer__logo img { width: 143px; height: 35px; object-fit: contain; }
.footer__brand p { color: #98A4B3; font-size: 11px; margin-top: 8px; }
.footer__brand .footer__tagline { margin-top: 26px; color: #D3DAE3; font-size: 13px; font-weight: 600; }
.site-footer h4 { margin-top: 12px; color: var(--white); font-size: 12px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.site-footer ul { margin-top: 18px; display: grid; gap: 10px; }
.site-footer a:hover { color: var(--white); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; margin-top: 30px; padding-block: 14px 18px; border-top: 1px solid #3A414A; color: #8D98A6; font-size: 10px; }
.footer__credit strong { color: #D3DAE3; font-weight: 700; }

/* Toast ------------------------------------------------------------------ */
.toast {
    position: fixed; left: 50%; bottom: 24px; z-index: 100;
    transform: translate(-50%, 20px);
    padding: 12px 20px;
    background: var(--ink); color: var(--white);
    border-radius: 10px; font-size: 13px; font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
    opacity: 0; pointer-events: none;
    transition: opacity .2s, transform .2s;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.skip-link {
    position: absolute; left: 16px; top: -60px; z-index: 200;
    padding: 10px 16px; background: var(--ink); color: var(--white); border-radius: 8px; font-weight: 700; font-size: 13px;
    transition: top .15s;
}
.skip-link:focus { top: 12px; }
main:focus { outline: none; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pill--muted { background: #3C4654; color: var(--white); }
.stock-out { display: inline-block; color: #A61B29; font-weight: 650; }
.search--inline { width: 100%; max-width: 480px; margin: 8px 0 4px; display: block !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.no-scroll { overflow: hidden; }
.spacer { height: 56px; }
.narrow { max-width: 760px; }
.search-toggle { display: none; background: none; border: 0; padding: 0; cursor: pointer; }
.filters-backdrop { display: none; }

.btn--outline { background: var(--white); color: var(--ink); border: 1px solid #D5DBE3; }
.btn--outline:hover { border-color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink-2); border: 1px solid var(--line); text-transform: none; font-size: 13px; letter-spacing: 0; }
.btn--ghost:hover { border-color: #1E9E5A; color: #157A45; }
.btn:disabled { opacity: .6; cursor: wait; }

.link-red { background: none; border: 0; padding: 0; color: var(--red); font-size: 12px; font-weight: 650; cursor: pointer; }
.link-red:hover { text-decoration: underline; }
.link-muted { color: var(--muted); font-size: 12px; font-weight: 600; }
.link-muted:hover { color: var(--ink); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--red); font-size: 13px; font-weight: 700; white-space: nowrap; }
.link-back { display: inline-flex; align-items: center; gap: 6px; margin-top: 22px; color: var(--ink-3); font-size: 12px; font-weight: 650; }
.link-back:hover { color: var(--red); }

.alert { margin-top: 16px; padding: 12px 16px; border-radius: 10px; font-size: 13px; font-weight: 600; border: 1px solid; }
.alert--success { background: #ECF8F1; border-color: #BFE6CF; color: #146C3E; }
.alert--error { background: #FDEEEF; border-color: #F6C6CB; color: #A61B29; }
.alert--info { background: #EEF3FA; border-color: #CFDBEC; color: #2B4A73; }

.page { padding-top: 26px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; color: var(--muted-2); font-size: 11px; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb > span:last-child { color: var(--ink-3); }
.page-title { margin-top: 12px; font-size: 28px; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; }
.page-sub { margin-top: 6px; color: var(--muted); font-size: 13px; }
.page-sub + .card, .page-sub + form, .page-sub + .alert { margin-top: 20px; }

.card { padding: 26px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.card__title { font-size: 17px; font-weight: 780; }
.card__sub { margin: 4px 0 18px; color: var(--muted); font-size: 12px; }
.stack { display: grid; gap: 20px; align-content: start; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr auto; gap: 16px; align-items: end; }
form .field { margin-bottom: 14px; }
.finder__form .field, .fitcheck .field { margin-bottom: 0; }
.field__help { color: var(--muted); font-size: 11px; }
.grid-2 > .span-2 { grid-column: 1 / -1; }
.field__error { color: var(--red); font-size: 11px; font-weight: 600; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--red); background: #FFF8F8; }

.section__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }

.tag { display: inline-block; padding: 4px 10px; border-radius: 6px; font-size: 10px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.tag--ok { background: #E8F6EE; color: #157A45; }
.tag--warn { background: #FFF5E0; color: #94620B; }
.tag--bad { background: #FDEEEF; color: #B01E2D; }
.pill--red { background: var(--red); color: var(--white); }

.notice { display: flex; gap: 10px; padding: 12px 14px; border-radius: 10px; font-size: 12px; border: 1px solid; }
.notice strong { display: block; font-size: 13px; }
.notice span { display: block; }
.notice .icon { flex: none; margin-top: 1px; }
.notice--ok { background: #ECF8F1; border-color: #BFE6CF; color: #146C3E; }
.notice--warn { background: #FFF8E8; border-color: #F5DFAE; color: #8A5A07; }
.notice--bad { background: #FDEEEF; border-color: #F6C6CB; color: #A61B29; }

/* Vehicle bar */
.vehicle-bar { margin-top: 22px; padding: 16px 20px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.vehicle-bar__summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.vehicle-bar__label { display: block; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.vehicle-bar strong { font-size: 14px; }
.vehicle-bar__actions { display: flex; align-items: center; gap: 16px; }
.vehicle-bar__form { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); grid-template-columns: 1fr 1fr .7fr auto; }
.vehicle-bar__form[hidden] { display: none; }

/* Shop layout */
.shop { display: grid; grid-template-columns: 240px 1fr; gap: 24px; margin-top: 22px; align-items: start; }
.filters { position: sticky; top: 150px; padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.filters__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.filters__head strong { font-size: 15px; }
.filters__close, .filters__apply { display: none; }
.filter-group { min-width: 0; margin: 0; padding: 0 0 10px; border: 0; border-top: 1px solid var(--line); }
.filter-group legend { display: block; width: 100%; padding: 14px 0 8px; font-size: 12px; font-weight: 750; }
.filter-group legend + .check { clear: both; }
.check { display: flex; align-items: center; gap: 9px; padding: 5px 0; color: var(--ink-3); font-size: 12px; cursor: pointer; }
.check input { width: 15px; height: 15px; accent-color: var(--red); }
.check span { flex: 1; }
.check em { color: var(--muted-2); font-style: normal; font-size: 11px; }
.check:hover span { color: var(--ink); }

.results__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.results__count { color: var(--muted); font-size: 12px; }
.filters-open { display: none; }
.sort select {
    height: 38px; padding: 0 34px 0 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--white);
    font-size: 12px; font-weight: 600; appearance: none; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23697586' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center;
}
.product-grid--shop { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.shop > * { min-width: 0; }
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 28px; }
.pagination a {
    min-width: 36px; height: 36px; display: grid; place-items: center; padding: 0 8px;
    background: var(--white); border: 1px solid var(--line); border-radius: 8px; font-size: 13px; font-weight: 650;
}
.pagination a:hover { border-color: var(--ink); }
.pagination__gap { min-width: 22px; height: 36px; display: grid; place-items: center; color: var(--muted); font-weight: 700; }
.pagination a.is-current { background: var(--red); border-color: var(--red); color: var(--white); }

.empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 48px 24px; color: var(--muted); }
.empty .part-art, .empty > .icon { width: 90px; height: 90px; color: #C3CBD5; }
.empty h2 { color: var(--ink); font-size: 20px; font-weight: 800; }
.empty__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 10px; }

/* Product page */
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; margin-top: 18px; align-items: start; }
.gallery__main { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; background: linear-gradient(180deg, #F7F9FC, #E9EDF3); border-radius: 12px; }
.gallery__main .pill { left: 14px; top: 14px; }
.gallery__main [data-gallery-main] { width: 66%; height: 80%; display: grid; place-items: center; }
.gallery__main .part-art { width: 100%; height: 100%; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 10px; margin-top: 12px; }
.gallery__thumb { aspect-ratio: 1; padding: 6px; background: #F1F4F7; border: 2px solid transparent; border-radius: 10px; cursor: pointer; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }
.gallery__thumb.is-active { border-color: var(--red); }

.buybox { display: grid; gap: 14px; }
.buybox > .tag { justify-self: start; }
.buybox__title { font-size: 26px; font-weight: 800; line-height: 1.2; }
.buybox__meta { margin-top: -8px; color: var(--muted); font-size: 12px; }
.buybox__price { font-size: 26px; font-weight: 850; }
.buybox__price.is-quote { color: var(--red); font-size: 22px; }
.buybox__avail { margin-top: -8px; color: var(--muted); font-size: 12px; }
.stock-low { color: #B5650A; font-weight: 650; }
.fitcheck { display: grid; gap: 12px; padding: 16px 0; border-block: 1px solid var(--line); }
.fitcheck__title { font-size: 11px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.fitcheck__fields { display: grid; grid-template-columns: 1fr 1fr .8fr; gap: 10px; }
.fitcheck .btn { justify-self: start; }
.buybox__cart { display: flex; align-items: end; gap: 12px; }
.buybox__add { flex: 1; }
.field--qty { margin: 0; }
.qty { display: inline-flex; align-items: center; height: 48px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); overflow: hidden; }
.qty button { width: 38px; height: 100%; border: 0; background: none; font-size: 18px; cursor: pointer; color: var(--ink-3); }
.qty button:hover { background: #E9EDF3; }
.qty input { width: 44px; height: 100%; border: 0; background: none; text-align: center; font-weight: 700; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.field .qty input { width: 44px; height: 100%; padding: 0; border: 0; background: none; }
.buybox__trust { display: grid; gap: 6px; color: var(--muted); font-size: 12px; }
.buybox__trust li { display: flex; align-items: center; gap: 8px; }
.buybox__trust .icon { color: #1E9E5A; }

.info { margin-top: 24px; }
.info h2 { font-size: 17px; font-weight: 780; }
.info__desc { margin-top: 10px; color: var(--ink-3); font-size: 14px; max-width: 760px; }
.info__table { display: grid; grid-template-columns: 200px 1fr; margin: 18px 0 0; font-size: 13px; }
.info__table dt, .info__table dd { margin: 0; padding: 11px 0; border-top: 1px solid var(--line); }
.info__table dt { color: var(--muted); }
.info__table dd { font-weight: 600; }
.fit-list { display: grid; gap: 4px; }

/* Split layouts: cart, checkout, quote */
.split { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; margin-top: 22px; align-items: start; }
.split--quote { grid-template-columns: minmax(0, 1fr) 380px; margin-top: 0; padding-top: 28px; }
.summary { position: sticky; top: 150px; display: grid; gap: 14px; }
.summary h2 { font-size: 16px; font-weight: 780; }
.summary__rows { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin: 0; font-size: 13px; }
.summary__rows dt { color: var(--muted); }
.summary__rows dd { margin: 0; font-weight: 650; text-align: right; }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 650; }
.summary__total strong { font-size: 20px; font-weight: 850; }
.summary__items { display: grid; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.summary__items li { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.summary__thumb { flex: none; width: 52px; height: 52px; padding: 6px; background: #F1F4F7; border-radius: 10px; }
.summary__thumb .part-art { width: 100%; height: 100%; }
.summary__name { flex: 1; font-weight: 650; }
.summary__name small { display: block; color: var(--muted); font-weight: 500; }

.cart-line { display: grid; grid-template-columns: 110px 1fr auto; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-line:first-child { padding-top: 0; }
.cart-line__media { display: grid; place-items: center; height: 100px; padding: 10px; background: linear-gradient(180deg, #F7F9FC, #E9EDF3); border-radius: 12px; }
.cart-line__media .part-art { width: 80px; height: 80px; }
.cart-line__body h3 { font-size: 15px; font-weight: 750; }
.cart-line__body h3 a:hover { color: var(--red); }
.cart-line__meta { margin-top: 2px; color: var(--muted); font-size: 11px; }
.cart-line__price { margin: 8px 0 10px; font-size: 14px; font-weight: 750; }
.cart-line__qty .qty { height: 38px; }
.cart-line__qty { margin: 0; }
.cart-line__end { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.cart-line__end strong { font-size: 15px; }

.checkout fieldset { margin: 0 0 10px; padding: 0 0 18px; border: 0; border-bottom: 1px solid var(--line); }
.checkout fieldset:last-of-type { border-bottom: 0; }
.checkout legend { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 15px; font-weight: 780; }
.checkout legend span { width: 24px; height: 24px; display: grid; place-items: center; background: var(--ink); color: var(--white); border-radius: 50%; font-size: 12px; }
.pay-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.pay-option { display: flex; gap: 10px; align-items: flex-start; padding: 14px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.pay-option input { margin-top: 3px; accent-color: var(--red); }
.pay-option strong { display: block; font-size: 13px; }
.pay-option small { color: var(--muted); font-size: 11px; }
.pay-option:has(input:checked) { border-color: #1E9E5A; background: #F1FAF5; }
.pay-option.is-disabled { opacity: .55; cursor: not-allowed; }

/* Quote page */
.page-hero { padding: 40px 0 44px; background: linear-gradient(135deg, #202731 0%, #0C1016 100%); color: var(--white); }
.page-hero h1 { margin-top: 12px; font-size: 32px; font-weight: 850; }
.page-hero p { margin-top: 8px; color: #CBD5E1; font-size: 14px; }
.page-hero .eyebrow { color: var(--red-light); }
.page-hero__origins { font-size: 11px !important; font-weight: 700; color: #B7C1CE !important; letter-spacing: .06em; }
.upload { position: relative; }
.upload__box { display: flex; align-items: center; gap: 10px; padding: 16px; border: 1.5px dashed #CDD5DF; border-radius: 10px; background: var(--bg); color: var(--muted); font-size: 12px; font-weight: 500; }
.upload input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; height: auto; }
.upload:hover .upload__box { border-color: var(--red); }
.steps { display: grid; gap: 16px; margin: 16px 0 0; padding: 0; list-style: none; }
.steps li { display: flex; gap: 12px; }
.steps li > span { flex: none; color: var(--red); font-size: 13px; font-weight: 850; }
.steps strong { display: block; font-size: 13px; }
.steps small { color: var(--muted); font-size: 12px; }
.help__label { margin-top: 12px; color: var(--muted); font-size: 11px; }
.help__phone { display: block; margin-bottom: 4px; font-size: 22px; font-weight: 850; }
#contact .btn { margin-top: 16px; }

.success { text-align: center; }
.success__icon { width: 64px; height: 64px; margin: 0 auto 6px; display: grid; place-items: center; background: #E8F6EE; color: #157A45; border-radius: 50%; }
.success .order-view { margin-top: 22px; text-align: left; }
.order-view { display: grid; gap: 14px; margin-top: 22px; }
.order-view__head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; background: var(--bg); border-radius: 10px; }
.order-view__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.track__btn { height: 48px; margin-bottom: 14px; }
.toast.is-error { background: #A61B29; }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1200px) {
    .header__inner { gap: 20px; }
    .main-nav__list { gap: 24px; }
    .main-nav__list a { font-size: 14px; }
    .finder__form { grid-template-columns: repeat(3, 1fr); }
    .finder__form .field--lg { grid-column: span 2; }
}

@media (max-width: 1200px) {
    .product-grid--shop { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
    .header__finder { display: none; }
    .pdp, .split, .split--quote { grid-template-columns: minmax(0, 1fr); }
    .summary, .filters { position: static; }
    .product-grid--shop { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero__inner { grid-template-columns: 1fr; }
    .hero__visual { max-width: 560px; margin: 8px auto 0; }
    .hero__glow { right: -200px; }
    .trust { grid-template-columns: 1fr; padding: 24px; gap: 18px; }
    .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
    .menu-toggle { display: block; }
    .header__inner { height: auto; padding-block: 12px; flex-wrap: wrap; gap: 12px 14px; }
    .logo img { width: 120px; height: 29px; }
    .search { order: 5; flex-basis: 100%; max-width: none; }
    .header__label { display: none; }
    .header__actions { gap: 20px; }

    .main-nav {
        position: fixed; top: 0; left: 0; bottom: 0; z-index: 60;
        width: min(300px, 85vw);
        background: var(--white);
        box-shadow: 0 0 40px rgba(0, 0, 0, .2);
        transform: translateX(-100%);
        transition: transform .25s ease;
        overflow-y: auto;
    }
    .main-nav.is-open { transform: none; }
    .main-nav__inner { flex-direction: column; align-items: stretch; height: auto; padding-block: 24px; gap: 20px; }
    .main-nav__list { flex-direction: column; gap: 0; }
    .main-nav__list a { padding: 13px 4px; border-bottom: 1px solid var(--line); font-size: 14px; }
    .main-nav__list a.is-active::after { display: none; }
    .nav-backdrop {
        position: fixed; inset: 0; z-index: 55;
        background: rgba(16, 21, 29, .5);
        opacity: 0; pointer-events: none; transition: opacity .25s;
        display: block;
    }
    .nav-backdrop.is-visible { opacity: 1; pointer-events: auto; }
    /* the menu lives inside the sticky header, so the header must sit above the backdrop while it is open */
    .nav-open .site-header { z-index: 56; }

    /* Shop filters become a drawer */
    .shop { grid-template-columns: 1fr; }
    .filters {
        position: fixed; top: 0; right: 0; bottom: 0; z-index: 60;
        width: min(320px, 88vw); border-radius: 0; overflow-y: auto;
        transform: translateX(100%); transition: transform .25s ease;
    }
    .filters-open .filters { transform: none; }
    .filters__close { display: block; background: none; border: 0; padding: 4px; cursor: pointer; }
    .filters__apply { display: flex; position: sticky; bottom: 0; margin-top: 12px; }
    .filters-open { display: inline-flex; }
    .results__count { display: none; }
    .results__bar { gap: 10px; }
    .results__bar > * { flex: 1 1 0; min-width: 0; }
    .results__bar .filters-open { justify-content: center; padding-inline: 10px; }
    .sort select { width: 100%; text-overflow: ellipsis; }
    .filters-backdrop {
        display: block; position: fixed; inset: 0; z-index: 55; background: rgba(16, 21, 29, .5);
        opacity: 0; pointer-events: none; transition: opacity .25s;
    }
    .filters-open .filters-backdrop { opacity: 1; pointer-events: auto; }
    .vehicle-bar__form { grid-template-columns: 1fr 1fr; }
    .vehicle-bar__form .finder__submit { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
    .topbar__tag { display: none; }
    .topbar__inner { justify-content: center; }
    .hero { padding: 40px 0 88px; }
    .hero__lead { font-size: 15px; }
    .hero__ctas .btn { flex: 1 1 100%; }
    .finder { padding: 22px 16px 16px; }
    .finder__title { font-size: 22px; }
    .finder__form { grid-template-columns: 1fr 1fr; }
    .finder__form .field--lg, .finder__submit { grid-column: 1 / -1; }
    .section { margin-top: 48px; }
    .section__head h2 { font-size: 24px; }
    .cat-grid, .product-grid { grid-template-columns: 1fr; }
    .cta-band { flex-direction: column; align-items: flex-start; padding: 26px 20px; }
    .cta-band h2 { font-size: 21px; }
    .cta-band .btn { width: 100%; }
    .footer__grid { grid-template-columns: 1fr; gap: 20px; }

    .search { display: none; }
    .search-open .search { display: block; }
    .search-toggle { display: inline-flex; }
    .page-title { font-size: 22px; }
    .card { padding: 18px; }
    .grid-2, .grid-3, .fitcheck__fields { grid-template-columns: 1fr; }
    .product-grid--shop { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .product-grid--shop .product-card__media { height: 130px; }
    .product-grid--shop .product-card__media .part-art { width: 110px; height: 110px; }
    .product-grid--shop .btn { font-size: 10px; padding: 0 8px; }
    .vehicle-bar__summary { flex-direction: column; align-items: flex-start; }
    .section__head--row { flex-direction: column; align-items: flex-start; }
    .buybox__title { font-size: 21px; }
    .info__table { grid-template-columns: 1fr; }
    .info__table dd { border-top: 0; padding-top: 0; }
    .cart-line { grid-template-columns: 76px 1fr; }
    .cart-line__media { height: 76px; }
    .cart-line__media .part-art { width: 56px; height: 56px; }
    .cart-line__end { grid-column: 2; flex-direction: row; align-items: center; }
    .split--checkout .summary { order: -1; }
    .page-hero h1 { font-size: 24px; }
}

/* Phone homepage — matches the 07 Mobile Home design ---------------------- */
@media (max-width: 640px) {
    .topbar { font-size: 9px; }
    .topbar__inner { height: 26px; justify-content: flex-start; }
    .topbar__tag { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; letter-spacing: .06em; }
    .topbar__phone { display: none; }
    .header__inner { padding-block: 10px; }
    .header__actions .header__link[href="track-order"] { display: none; }

    .hero { padding: 36px 0 64px; }
    .hero__title { margin-top: 18px; font-size: 31px; line-height: 1.22; }
    .hero__accent { font-size: .97em; }
    .hero__lead { margin-top: 14px; font-size: 12px; line-height: 1.6; color: #CCD5DF; }
    .hero__ctas { flex-wrap: nowrap; gap: 10px; margin-top: 22px; }
    .hero__ctas .btn { flex: 1 1 0; min-width: 0; height: 44px; padding: 0 8px; font-size: 11px; }
    .hero__origins { display: none; }
    .hero__visual { max-width: 350px; margin: 6px auto 0; }
    .hero__glow { width: 360px; height: 360px; right: -160px; }

    .trust { display: none; }

    .finder { position: relative; z-index: 2; margin-top: -44px; padding: 20px 18px 18px; border-radius: 13px; box-shadow: var(--shadow); }
    .finder__title { margin-top: 6px; font-size: 20px; }
    .finder__form { grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
    .finder .field--sm, .finder .field--lg { display: none; }
    .finder .field > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .finder .field select { height: 47px; font-size: 12px; }
    .finder__submit { grid-column: 1 / -1; height: 46px; margin-top: 8px; font-size: 12px; }

    .section { margin-top: 40px; }
    .section__head { margin-bottom: 16px; }
    .section__head h2 { margin-top: 8px; font-size: 24px; }
    .section__head p:not(.eyebrow) { display: none; }
    .section__head--row { flex-direction: row; align-items: flex-end; }
    .section__head--row .link-arrow { flex: none; font-size: 12px; }

    .cat-grid { grid-template-columns: 1fr 1fr; gap: 13px 16px; }
    .cat-card { min-height: 137px; padding: 13px; border-radius: 11px; }
    .cat-card__art { right: 8px; top: 8px; width: 82px; height: 82px; }
    .cat-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
    .cat-card__art .part-art { width: 76px; height: 76px; }
    .cat-card__body { max-width: 100%; }
    .cat-card__body strong { font-size: 13px; line-height: 1.3; }
    .cat-card__body span, .cat-card__arrow { display: none; }

    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
    .product-card { border-radius: 12px; }
    .product-card__media { height: 139px; border-radius: 11px; }
    .product-card__media .part-art { width: 100px; height: 100px; }
    .product-card__media .part-img { max-width: calc(100% - 14px); max-height: calc(100% - 14px); }
    .pill { left: 8px; top: 8px; padding: 3px 8px; font-size: 9px; }
    .wish-btn { right: 4px; top: 4px; }
    .product-card__body { padding: 14px 11px 13px; }
    .product-card__body h3 { font-size: 13px; line-height: 1.35; }
    .product-card__fit { font-size: 10px; }
    .product-card__price { margin: 10px 0 14px; font-size: 16px; }
    .product-card .btn { height: 40px; padding: 0 6px; font-size: 10px; }

    .cta-band { gap: 14px; margin-top: 32px; padding: 22px 18px 18px; border-radius: 14px; }
    .cta-band h2 { margin-top: 8px; font-size: 21px; }
    .cta-band p:last-child { font-size: 12px; color: #CDD7E1; }
    .cta-band .btn { height: 40px; font-size: 11px; }

    .site-footer { padding-top: 26px; }
    .footer__grid { grid-template-columns: 1fr 1fr; gap: 18px 16px; }
    .footer__brand, .footer__grid > div:last-child { grid-column: 1 / -1; }
    .footer__brand { order: -2; }
    .footer__brand .footer__tagline { margin-top: 14px; }
    .footer__grid > div:last-child { order: -1; }
    .footer__grid > div:last-child h4 { display: none; }
    .site-footer ul { margin-top: 10px; gap: 8px; }
    .footer__grid > div:last-child ul { margin-top: 0; gap: 6px; }
    .footer__hotline a { color: var(--white); font-size: 18px; font-weight: 790; }
    .footer__hotline span { display: none; }
    .site-footer h4 { margin-top: 0; font-size: 11px; }
}

/* Full-screen hero (poster style) ------------------------------------------ */
.hero--full {
    position: relative; isolation: isolate;
    display: flex; flex-direction: column;
    min-height: calc(100vh - var(--header-h, 160px));
    min-height: calc(100svh - var(--header-h, 160px));
    padding: 0; background: #0B0E13; overflow: hidden;
}
.hero__bg {
    position: absolute; inset: 0; z-index: -1; overflow: hidden;
    background:
        radial-gradient(ellipse 55% 45% at 74% 36%, rgba(255, 255, 255, .11), transparent 70%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .028) 0 2px, transparent 2px 150px),
        linear-gradient(180deg, #1D242E 0%, #12171E 55%, #0A0D12 100%);
}
.hero__bg::before {   /* soft red light from the right */
    content: ""; position: absolute; right: -10%; bottom: -20%; width: 70%; height: 80%;
    background: radial-gradient(closest-side, rgba(233, 40, 58, .22), transparent);
}
.hero__bg::after {    /* workshop floor grid */
    content: ""; position: absolute; left: -50%; right: -50%; bottom: 0; height: 46%;
    background:
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .07) 0 1px, transparent 1px 90px),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, .07) 0 1px, transparent 1px 90px);
    transform: perspective(520px) rotateX(62deg); transform-origin: bottom;
    -webkit-mask-image: linear-gradient(to top, #000, transparent 85%); mask-image: linear-gradient(to top, #000, transparent 85%);
}
.hero__bg img { position: relative; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35) brightness(.8); }
.has-photo .hero__bg::after { display: none; }
.has-photo .hero__bg::before {
    inset: 0; width: auto; height: auto; z-index: 1;
    background: linear-gradient(90deg, rgba(8, 10, 14, .93) 0%, rgba(8, 10, 14, .74) 45%, rgba(8, 10, 14, .3) 100%),
                linear-gradient(0deg, rgba(8, 10, 14, .85) 0%, transparent 35%);
}

.hero--full .hero__inner {
    position: relative; z-index: 1; flex: 1;
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center;
    gap: clamp(24px, 4vw, 64px); padding-block: clamp(16px, 4.5vh, 72px);
}
.hero__brand {
    display: flex; align-items: center; gap: 12px;
    color: var(--white); font-size: clamp(12px, 1.05vw, 14px); font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
}
.hero__bar { flex: none; width: 7px; height: 30px; background: var(--red); border-radius: 2px; }
.hero--full .hero__title { margin-top: 18px; font-size: clamp(32px, min(4.4vw, 7.2vh), 72px); line-height: 1.03; letter-spacing: -.012em; }
.hero--full .hero__accent { font-size: 1em; }
.hero__subline { max-width: 560px; margin-top: 18px; color: #E4E9F0; font-size: clamp(10px, .9vw, 12px); font-weight: 700; line-height: 1.75; letter-spacing: .08em; text-transform: uppercase; }
.hero__local { margin-top: 10px; color: var(--red-light); font-family: "Noto Sans Sinhala", "Iskoola Pota", "Nirmala UI", "Latha", Inter, sans-serif; font-size: clamp(17px, 1.7vw, 24px); font-weight: 700; line-height: 1.4; }
.hero--full .hero__lead { max-width: 520px; margin-top: 14px; color: #C5CEDA; font-size: clamp(14px, 1.1vw, 16px); }
.hero__lead-line { display: block; }   /* each line of the intro text (one per line in the setting) */
.hero__lead-line--first { color: var(--white); font-weight: 700; }
.hero--full .hero__ctas { margin-top: 26px; }

.hero--full .hero__visual { position: relative; max-width: none; margin: 0; }
.hero__showcase { display: block; width: 100%; max-height: 54vh; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55)); }
.hero__montage { position: relative; width: 100%; max-width: calc(52vh * 1.25); aspect-ratio: 5 / 4; margin-inline: auto; }
.hero__montage::before { content: ""; position: absolute; inset: 15% 10%; background: radial-gradient(closest-side, rgba(233, 40, 58, .28), transparent); filter: blur(10px); }
.hero__tile {
    position: absolute; display: block; aspect-ratio: 4 / 3; overflow: hidden;
    background: #EEF1F5; border: 3px solid rgba(255, 255, 255, .92); border-radius: 16px;
    box-shadow: 0 24px 50px rgba(0, 0, 0, .55); transition: transform .3s ease;
}
.hero__tile img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero__tile--1 { left: 22%; top: 24%; width: 56%; z-index: 3; }
.hero__tile--2 { left: 0; top: 2%; width: 38%; transform: rotate(-5deg); z-index: 2; }
.hero__tile--3 { right: 0; top: 0; width: 38%; transform: rotate(4deg); z-index: 2; }
.hero__tile--4 { left: 3%; bottom: 1%; width: 38%; transform: rotate(4deg); z-index: 2; }
.hero__tile--5 { right: 2%; bottom: 3%; width: 38%; transform: rotate(-4deg); z-index: 1; }
.hero__tile:hover, .hero__tile:focus-visible { transform: translateY(-6px) scale(1.03); z-index: 5; }
.hero--full .hero__car { width: 100%; }

.hero__stripe {
    position: relative; z-index: 1; display: flex; justify-content: center;
    min-height: 46px; background: #090C10; border-top: 2px solid var(--red); overflow: hidden;
}
.hero__stripe::before, .hero__stripe::after {
    content: ""; position: absolute; top: 0; bottom: 0; width: 50%;
    background-repeat: repeat-x; background-position: center; background-size: 38px 22px;
}
.hero__stripe::before { left: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='38' height='22' viewBox='0 0 38 22'%3E%3Cpath d='M6 1h10l10 10-10 10H6l10-10z' fill='%23E9283A'/%3E%3C/svg%3E"); }
.hero__stripe::after  { right: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='38' height='22' viewBox='0 0 38 22'%3E%3Cpath d='M32 1H22L12 11l10 10h10L22 11z' fill='%23E9283A'/%3E%3C/svg%3E"); }
.hero__stripe span {
    position: relative; z-index: 1; display: flex; align-items: center; padding: 0 30px;
    background: #090C10; color: var(--white); font-size: clamp(11px, 1.15vw, 15px); font-weight: 850; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
}

.hero__contact { position: relative; z-index: 1; background: rgba(9, 12, 16, .97); border-top: 1px solid rgba(255, 255, 255, .06); }
.hero__contact-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; min-height: 58px; padding-block: 10px; }
.hero__contact-item { display: inline-flex; align-items: center; gap: 10px; color: #B9C2CE; font-size: 13px; }
.hero__contact-item .icon, .hero__phone .icon { color: var(--red-light); }
.hero__contact-actions { display: flex; align-items: center; gap: 18px; }
.hero__phone { display: inline-flex; align-items: center; gap: 10px; color: var(--white); font-size: clamp(16px, 1.6vw, 22px); font-weight: 850; letter-spacing: .01em; }
.hero__wa { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; background: #25D366; color: #06290F; border-radius: 999px; font-size: 13px; font-weight: 750; }
.hero__wa:hover { background: #1FBF5B; }
.hero--full + .trust { margin-top: 28px; }
.hero--full ~ .finder { margin-top: 28px; }

/* Short laptop screens: keep the whole hero, stripe and contact bar in the first screen */
@media (min-width: 1025px) and (max-height: 860px) {
    .hero__brand { font-size: 12px; }
    .hero__bar { height: 24px; }
    .hero--full .hero__title { margin-top: 12px; }
    .hero__subline { margin-top: 12px; line-height: 1.6; }
    .hero__local { margin-top: 6px; font-size: 18px; }
    .hero--full .hero__lead { margin-top: 8px; font-size: 14px; }
    .hero--full .hero__ctas { margin-top: 16px; }
    .hero--full .hero__ctas .btn--lg { height: 46px; }
    .hero__stripe { min-height: 40px; }
    .hero__contact-inner { min-height: 50px; padding-block: 6px; }
}
/* Photo hero: the uploaded banner already shows the parts range, so on wide screens it fills the
   whole hero and the text sits on its empty upper-left area; on smaller screens it sits under the text */
.hero__photo { display: block; width: 100%; height: auto; }
/* several hero photos: stacked, the active one fades in (main.js rotates them) */
.hero__slides--multi { display: grid; }
.hero__slides--multi > .hero__photo { grid-area: 1 / 1; align-self: end; opacity: 0; transition: opacity 1.2s ease; }
.hero__slides--multi > .hero__photo.is-active { opacity: 1; }
@media (min-width: 1025px) {
    .hero--full.has-photo .hero__inner { grid-template-columns: minmax(0, 1fr); align-items: start; }
    .hero--full.has-photo .hero__copy { max-width: 600px; }
    /* full width, but only above the stripe; "contain" keeps the whole banner (incl. its logo) visible on short screens */
    .hero--full.has-photo .hero__visual {
        position: absolute; top: 0; bottom: 0; left: calc(50% - 50vw); right: calc(50% - 50vw); z-index: -1;
        overflow: hidden; container-type: size;
    }
    .has-photo .hero__photo {   /* as large as fits, anchored bottom-right; --photo-ratio is set from the real image by main.js */
        position: absolute; right: 0; bottom: 0;
        width: min(100cqw, 100cqh * var(--photo-ratio, 2.36)); height: auto;
        -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%), linear-gradient(180deg, transparent 0, #000 16%);
        -webkit-mask-composite: source-in;
        mask-image: linear-gradient(90deg, transparent 0, #000 14%), linear-gradient(180deg, transparent 0, #000 16%);
        mask-composite: intersect;
    }
    .has-photo .hero__visual::after {   /* darken behind the text only, keep the parts bright */
        content: ""; position: absolute; inset: 0;
        background:
            linear-gradient(90deg, rgba(8, 10, 14, .9) 0%, rgba(8, 10, 14, .62) 30%, rgba(8, 10, 14, 0) 56%),
            linear-gradient(180deg, rgba(8, 10, 14, .45) 0%, rgba(8, 10, 14, 0) 30%);
    }
}
@media (max-width: 1024px) {
    .hero--full .hero__inner { grid-template-columns: minmax(0, 1fr); }
    .hero--full .hero__visual { width: 100%; max-width: 620px; margin: 0 auto; }
    .hero__montage { max-width: none; }
    .hero--full.has-photo .hero__inner { align-content: space-between; padding-bottom: 0; }
    .hero--full.has-photo .hero__visual { width: 125vw; max-width: none; margin: 0 0 0 calc(50% - 62.5vw); }
    .has-photo .hero__photo {   /* fade the empty warehouse top into the dark hero */
        -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 28%);
        mask-image: linear-gradient(180deg, transparent 0%, #000 28%);
    }
}
@media (max-width: 640px) {
    .hero--full { min-height: calc(100vh - var(--header-h, 92px)); min-height: calc(100svh - var(--header-h, 92px)); }
    .hero--full .hero__inner { gap: 22px; padding-block: 26px 22px; }
    .hero__bar { width: 5px; height: 22px; }
    .hero--full .hero__title { margin-top: 14px; font-size: clamp(30px, 9vw, 38px); line-height: 1.08; }
    .hero__subline { margin-top: 12px; letter-spacing: .05em; }
    .hero--full .hero__lead { font-size: 13px; }
    .hero--full .hero__ctas { margin-top: 20px; }
    .hero__tile { border-width: 2px; border-radius: 11px; }
    .hero__stripe { min-height: 40px; }
    .hero__stripe span { padding: 6px 12px; font-size: 10px; letter-spacing: .06em; white-space: normal; text-align: center; }
    .hero__contact-inner { justify-content: center; text-align: center; }
    .hero__contact-item { font-size: 12px; }
    .hero__contact-actions { width: 100%; justify-content: center; }
    .hero--full ~ .finder { margin-top: 20px; }
}

/* About section: store + warehouse photos ----------------------------------- */
.about__head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px 48px; align-items: end; }
.about__head p { max-width: 640px; }
.about__points { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.about__points li { display: flex; align-items: center; gap: 12px; color: var(--ink); font-size: 14px; font-weight: 700; }
.about__points .icon-badge { flex: none; width: 34px; height: 34px; }
/* columns sized by each photo's shape (store ≈ 2.48:1, warehouse ≈ 1.78:1) so both show uncropped at the same height */
.about__photos { display: grid; gap: 20px; margin-top: 28px; }
.about__photos--2 { grid-template-columns: minmax(0, 2.48fr) minmax(0, 1.78fr); }
.about__photo { position: relative; margin: 0; overflow: hidden; border-radius: 16px; background: #10151D; box-shadow: 0 14px 34px rgba(16, 21, 29, .14); }
.about__photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.about__photo:hover img { transform: scale(1.03); }
.about__photo figcaption {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 18px 14px;
    background: linear-gradient(0deg, rgba(8, 10, 14, .88), transparent);
    color: var(--white); font-size: 13px; font-weight: 700;
}
@media (max-width: 860px) {
    .about__head { grid-template-columns: minmax(0, 1fr); align-items: start; }
    .about__photos--2 { grid-template-columns: minmax(0, 1fr); }
    .about__photo img { height: auto; }
}
@media (max-width: 640px) {
    .about__photos { gap: 14px; margin-top: 20px; }
    .about__photo { border-radius: 12px; }
    .about__photo figcaption { position: static; padding: 10px 14px; background: #10151D; font-size: 12px; }
}

/* Coming soon page (before launch) ------------------------------------------ */
.soon-body { background: #0B0E13; }
.soon {
    position: relative; isolation: isolate; overflow: hidden;
    display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh;
    background:
        radial-gradient(ellipse 55% 45% at 74% 36%, rgba(255, 255, 255, .08), transparent 70%),
        linear-gradient(180deg, #1D242E 0%, #12171E 55%, #0A0D12 100%);
    color: var(--white);
}
.soon__inner { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; padding-block: 28px clamp(28px, 6vh, 64px); }
.soon__logo { align-self: flex-start; }
.soon__logo img { display: block; width: 150px; height: auto; }
.soon__copy { max-width: 600px; margin-block: auto; padding-top: clamp(28px, 7vh, 80px); }
.soon__title { margin-top: 18px; font-size: clamp(34px, min(4.6vw, 7.6vh), 74px); font-weight: 900; line-height: 1.03; letter-spacing: -.012em; text-transform: uppercase; }
.soon__title span { display: block; }
.soon__title .hero__accent { font-size: 1em; }
.soon__lead { max-width: 520px; margin-top: 14px; color: #C5CEDA; font-size: clamp(14px, 1.1vw, 16px); line-height: 1.7; }
.soon__date { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 8px 14px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; color: var(--white); font-size: 13px; font-weight: 700; }
.soon__date .icon { color: var(--red-light); }
.soon__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.soon__wa { background: #25D366; color: #06290F; }
.soon__wa:hover { background: #1FBF5B; }
.soon__contact { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 18px; color: #AEB8C5; font-size: 13px; }
.soon__contact a { color: var(--white); font-weight: 600; }
.soon__stripe { margin-top: auto; }
.soon__foot { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; padding-block: 16px; color: #8994A3; font-size: 12px; }
.soon__foot strong { color: var(--white); }
.soon-preview { position: relative; z-index: 5; padding: 9px 16px; background: #FFC53D; color: #241A00; font-size: 13px; font-weight: 700; text-align: center; }
.soon-preview a { color: inherit; text-decoration: underline; }
/* reminder bar for admins browsing the store while coming-soon mode is on */
.soon-admin-bar { padding: 8px 16px; background: #FFC53D; color: #241A00; font-size: 12px; font-weight: 700; text-align: center; }
.soon-admin-bar a { color: inherit; text-decoration: underline; }

@media (min-width: 1025px) {
    /* banner photo fills the right side behind the text, whole image always visible (like the homepage hero) */
    .soon--photo .soon__media { position: absolute; top: 0; left: 0; right: 0; bottom: 100px; z-index: -1; overflow: hidden; container-type: size; }
    .soon--photo .soon__photo {
        position: absolute; right: 0; bottom: 0;
        width: min(100cqw, 100cqh * 2.36); height: auto;
        -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%), linear-gradient(180deg, transparent 0, #000 16%);
        -webkit-mask-composite: source-in;
        mask-image: linear-gradient(90deg, transparent 0, #000 14%), linear-gradient(180deg, transparent 0, #000 16%);
        mask-composite: intersect;
    }
    .soon--photo .soon__media::after {
        content: ""; position: absolute; inset: 0;
        background: linear-gradient(90deg, rgba(8, 10, 14, .92) 0%, rgba(8, 10, 14, .65) 32%, rgba(8, 10, 14, 0) 58%);
    }
}
@media (max-width: 1024px) {
    .soon__copy { margin-block: 0; }
    .soon--photo .soon__media { width: 125vw; margin: 8px 0 0 -12.5vw; }
    .soon__photo { display: block; width: 100%; height: auto;
        -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 28%); mask-image: linear-gradient(180deg, transparent 0%, #000 28%); }
    .soon__stripe { margin-top: 0; }
}
@media (max-width: 640px) {
    .soon__inner { padding-block: 20px 8px; }
    .soon__logo img { width: 120px; }
    .soon__copy { padding-top: 26px; }
    .soon__title { font-size: clamp(30px, 9vw, 38px); line-height: 1.08; }
    .soon__lead { font-size: 13px; }
    .soon__actions { gap: 10px; margin-top: 20px; }
    .soon__actions .btn { flex: 1 1 0; min-width: 0; padding: 0 10px; font-size: 12px; }
    .soon__foot { justify-content: center; text-align: center; }
}

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