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

:root {
    --bg: #f5f7fb;
    --bg-soft: #eef2f7;
    --ink: #101828;
    --ink-soft: #334155;
    --card: #ffffff;
    --card-soft: #f8fafc;
    --line: #e2e8f0;
    --gold: #f5a623;
    --gold2: #fbbf24;
    --muted: #64748b;
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    color: var(--ink);
    padding-top: 72px;
    overflow-x: hidden;
}

body#admin {
    padding-top: 0px !important;
}

.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: 72px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(226,232,240,0.9);
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.05);
}

.topbar-inner {
    height: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.logo {
    text-decoration: none;
    line-height: 1.15;
    flex-shrink: 0;
}

.logo-main {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.01em;
    color: var(--ink);
}

    .logo-main span {
        color: var(--gold);
    }

.logo-sub {
    font-size: 0.68rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-d {
    display: none;
    gap: 2.2rem;
    list-style: none;
}

@media (min-width: 880px) {
    .nav-d {
        display: flex;
    }
}

.nav-d a {
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    color: #475569;
    transition: color .2s;
    position: relative;
}

    .nav-d a::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -5px;
        width: 0;
        height: 2px;
        background: var(--gold);
        transition: width .22s;
        border-radius: 999px;
    }

    .nav-d a:hover {
        color: var(--ink);
    }

        .nav-d a:hover::after {
            width: 100%;
        }

.top-right {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.btn-email-top {
    display: none;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.82rem;
    font-weight: 500;
    color: #475569;
    border: 1px solid var(--line);
    padding: 0.55rem 1rem;
    border-radius: 0.7rem;
    text-decoration: none;
    background: #fff;
    transition: background .2s, color .2s, border-color .2s;
}

@media (min-width: 1180px) {
    .btn-email-top {
        display: inline-flex;
    }
}

.btn-email-top:hover {
    color: var(--ink);
    background: #f8fafc;
}

.btn-call-top {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: var(--gold);
    color: var(--ink);
    font-weight: 700;
    font-size: 0.875rem;
    padding: 0.65rem 1.1rem;
    border-radius: 0.7rem;
    text-decoration: none;
    transition: background .18s, transform .18s;
    white-space: nowrap;
}

    .btn-call-top:hover {
        background: var(--gold2);
        transform: translateY(-1px);
    }

.menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 0.6rem;
    cursor: pointer;
    color: var(--ink);
}

@media (min-width: 880px) {
    .menu-toggle {
        display: none;
    }
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--line);
    z-index: 99;
    padding: 1rem 2rem 1.5rem;
    flex-direction: column;
    box-shadow: 0 14px 28px rgba(15,23,42,0.06);
}

    .mobile-nav.open {
        display: flex;
    }

    .mobile-nav a {
        padding: 0.85rem 0;
        font-size: 0.95rem;
        font-weight: 600;
        color: #475569;
        text-decoration: none;
        border-bottom: 1px solid var(--line);
    }

        .mobile-nav a:last-child {
            border-bottom: none;
        }

.hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(90deg, rgba(248,250,252,0.94) 0%, rgba(248,250,252,0.88) 38%, rgba(248,250,252,0.48) 100%), url('/images/header-banner.jpg') center / cover no-repeat;
}

    .hero::before {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: radial-gradient(circle at 18% 30%, rgba(245,166,35,0.08), transparent 18%), linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0));
    }

.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 4.5rem 2rem 3.5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #b45309;
    margin-bottom: 1.2rem;
}

    .eyebrow::before {
        content: "";
        width: 22px;
        height: 2px;
        background: var(--gold);
        display: block;
    }

.hero-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    font-size: clamp(3rem, 7vw, 5.6rem);
    line-height: 0.92;
    letter-spacing: -0.02em;
    margin-bottom: 1.2rem;
    color: var(--ink);
}

    .hero-title .line2 {
        color: var(--gold);
        display: block;
    }

.hero-desc {
    font-size: 1.02rem;
    font-weight: 400;
    color: #475569;
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 1.7rem;
}

.hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    padding: 0.42rem 0.82rem;
    border-radius: 999px;
    border: 1px solid rgba(245,166,35,0.22);
    color: #475569;
    background: rgba(245,166,35,0.08);
}

.pill-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
}

.scard {
    background: rgba(255,255,255,0.88);
    border: 1px solid rgba(255,255,255,0.8);
    border-radius: 1.25rem;
    overflow: hidden;
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    box-shadow: 0 25px 60px rgba(15,23,42,0.10);
}

.scard-head {
    padding: 1.15rem 1.35rem;
    border-bottom: 1px solid #e9eef5;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.scard-icon {
    width: 1.95rem;
    height: 1.95rem;
    background: var(--gold);
    border-radius: 0.55rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    flex-shrink: 0;
}

.scard-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 1.08rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--ink);
}

.scard-body {
    padding: 1.2rem 1.35rem 1.35rem;
}

.sinput-wrap {
    position: relative;
    margin-bottom: 0.85rem;
}

.sinput-icon {
    position: absolute;
    left: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    pointer-events: none;
}

.s-input {
    width: 100%;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 0.8rem;
    padding: 0.9rem 1rem 0.9rem 2.6rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.92rem;
    color: var(--ink);
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}

    .s-input::placeholder {
        color: #94a3b8;
    }

    .s-input:focus {
        border-color: var(--gold);
        box-shadow: 0 0 0 3px rgba(245,166,35,0.12);
    }

.s-select {
    width: 100%;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 0.8rem;
    padding: 0.9rem 2.4rem 0.9rem 1rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.92rem;
    color: var(--ink);
    outline: none;
    appearance: none;
    cursor: pointer;
    margin-bottom: 0.85rem;
    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='%2364748b' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
    transition: border-color .2s, box-shadow .2s;
}

    .s-select:focus {
        border-color: var(--gold);
        box-shadow: 0 0 0 3px rgba(245,166,35,0.12);
    }

.btn-search {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--gold);
    color: var(--ink);
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.95rem;
    border-radius: 0.8rem;
    border: none;
    cursor: pointer;
    transition: background .18s, transform .18s, box-shadow .2s;
}

    .btn-search:hover {
        background: var(--gold2);
        transform: translateY(-1px);
        box-shadow: 0 14px 32px rgba(245,166,35,0.18);
    }

.swrap {
    max-width: 1440px;
    margin: 0 auto;
    padding: 4.5rem 2rem;
}

.sec-eye {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #b45309;
    margin-bottom: 0.55rem;
}

    .sec-eye::before {
        content: "";
        width: 18px;
        height: 2px;
        background: var(--gold);
        display: block;
    }

.sec-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: clamp(1.9rem, 3.5vw, 2.7rem);
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 1;
    color: var(--ink);
}

    .sec-title span {
        color: #94a3b8;
        font-weight: 500;
    }

.divider {
    height: 1px;
    background: var(--line);
    margin: 0 2rem;
}

#models-section {
    background: #fff;
}

#latest-cars {
    background: var(--bg-soft);
}

#contact-section {
    background: #fff;
}

.mgrid {
    display: grid;
    gap: 0.9rem;
    margin-top: 2.2rem;
    grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 560px) {
    .mgrid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 800px) {
    .mgrid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1100px) {
    .mgrid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.mcard {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 0.95rem;
    padding: 1.05rem 0.85rem;
    cursor: pointer;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    transition: border-color .22s, transform .22s, box-shadow .22s;
    text-decoration: none;
}

    .mcard:hover {
        border-color: rgba(245,166,35,0.65);
        transform: translateY(-3px);
        box-shadow: 0 14px 28px rgba(15,23,42,0.06);
    }

.mcard-img {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 0.55rem;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .mcard-img img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.mcard-name {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--ink);
}

.mcard-tag {
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #b45309;
    background: rgba(245,166,35,0.08);
    border: 1px solid rgba(245,166,35,0.18);
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
}

.cars-hd {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2.2rem;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #475569;
    border: 1px solid var(--line);
    padding: 0.58rem 1.08rem;
    border-radius: 0.7rem;
    text-decoration: none;
    background: #fff;
    transition: color .2s, border-color .2s, background .2s;
}

    .btn-outline:hover {
        color: var(--ink);
        background: #f8fafc;
    }

.cgrid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
}

@media (min-width: 600px) {
    .cgrid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 960px) {
    .cgrid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.ccard {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1.15rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color .25s, transform .25s, box-shadow .25s;
}

    .ccard:hover {
        border-color: rgba(245,166,35,0.42);
        transform: translateY(-4px);
        box-shadow: 0 20px 40px rgba(15,23,42,0.08);
    }

.cimg {
    position: relative;
    height: 210px;
    overflow: hidden;
    background: #edf2f7;
}

    .cimg img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .5s ease;
    }

.ccard:hover .cimg img {
    transform: scale(1.04);
}

.cbadge {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: var(--gold);
    color: var(--ink);
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
}

.cbody {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cname {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    line-height: 1;
    margin-bottom: 0.25rem;
    color: var(--ink);
}

.csub {
    font-size: 0.8rem;
    color: var(--muted);
    margin-bottom: 1rem;
}

.cspecs {
    display: flex;
    gap: 0.65rem;
    margin-bottom: 1rem;
}

.cspec {
    flex: 1;
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 0.65rem;
    padding: 0.55rem 0.7rem;
}

.cspec-l {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.15rem;
}

.cspec-v {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ink);
}

.btn-car {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.82rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 0.75rem;
    color: var(--ink);
    text-decoration: none;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: background .2s, border-color .2s, color .2s;
}

    .btn-car:hover {
        background: var(--gold);
        border-color: var(--gold);
        color: var(--ink);
    }

.cbox {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1.25rem;
    padding: 2.4rem 2rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15,23,42,0.04);
}

@media (min-width: 768px) {
    .cbox {
        grid-template-columns: 1fr 1fr;
        padding: 2.8rem;
    }
}

.cbox::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 280px;
    height: 280px;
    pointer-events: none;
    background: radial-gradient(circle, rgba(245,166,35,0.07) 0%, transparent 70%);
}

.ctitle {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 2.8rem);
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 1;
    margin-bottom: 0.9rem;
    color: var(--ink);
}

.cdesc {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 1.6rem;
}

.cbtns {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: var(--gold);
    color: var(--ink);
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 0.98rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.8rem 1.5rem;
    border-radius: 0.75rem;
    text-decoration: none;
    transition: background .18s, transform .18s;
}

    .btn-gold:hover {
        background: var(--gold2);
        transform: translateY(-1px);
    }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #475569;
    border: 1px solid var(--line);
    background: #fff;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 0.98rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.8rem 1.3rem;
    border-radius: 0.75rem;
    text-decoration: none;
    transition: color .2s, border-color .2s, background .2s;
}

    .btn-ghost:hover {
        color: var(--ink);
        background: #f8fafc;
    }

.hours-box {
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 0.95rem;
    padding: 1.4rem;
    align-self: start;
}

.hours-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #b45309;
    margin-bottom: 0.9rem;
}

.hrow {
    display: flex;
    justify-content: space-between;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.9rem;
}

    .hrow:last-of-type {
        border-bottom: none;
    }

.hlbl {
    color: var(--muted);
}

.hval {
    color: var(--ink);
    font-weight: 600;
}

.hnote {
    margin-top: 0.9rem;
    font-size: 0.78rem;
    color: var(--muted);
    font-style: italic;
}

footer {
    background: #eef2f7;
    border-top: 1px solid var(--line);
    padding: 3rem 2rem;
    text-align: center;
}

.footer-in {
    max-width: 640px;
    margin: 0 auto;
}

.flogo {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 1.35rem;
    margin-bottom: 0.35rem;
    color: var(--ink);
}

    .flogo span {
        color: var(--gold);
    }

.fsub {
    font-size: 0.8rem;
    color: var(--muted);
    margin-bottom: 1.4rem;
}

.flinks {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 1.4rem;
}

    .flinks a {
        font-size: 0.8rem;
        font-weight: 600;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        color: #64748b;
        text-decoration: none;
        transition: color .2s;
    }

        .flinks a:hover {
            color: var(--ink);
        }

.fcopy {
    font-size: 0.74rem;
    color: #94a3b8;
    padding-top: 1.3rem;
    border-top: 1px solid var(--line);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fu {
    animation: fadeUp .65s ease both;
}

.fu1 {
    animation-delay: .04s;
}

.fu2 {
    animation-delay: .13s;
}

.fu3 {
    animation-delay: .22s;
}

.fu4 {
    animation-delay: .34s;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .55s ease, transform .55s ease;
}

    .reveal.visible {
        opacity: 1;
        transform: none;
    }


/* catalog/model */
.catalog-model-page {
    padding: 1.5rem 0 4.5rem;
}

.catalog-model-wrap {
    padding-top: 1.5rem;
    padding-bottom: 3.5rem;
}

.catalog-model-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 1.4rem;
    font-size: 0.82rem;
    color: var(--muted);
}

    .catalog-model-breadcrumbs a {
        color: #475569;
        text-decoration: none;
    }

        .catalog-model-breadcrumbs a:hover {
            color: var(--ink);
        }

    .catalog-model-breadcrumbs strong {
        color: var(--ink);
    }

.catalog-model-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 2rem;
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1.4rem;
    padding: 2rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.04);
}

.catalog-model-intro {
    margin-top: 1rem;
    max-width: 760px;
    font-size: 1rem;
    line-height: 1.75;
    color: #475569;
}

.catalog-model-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.5rem;
}

.catalog-model-stat {
    min-width: 160px;
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 1rem;
    padding: 0.95rem 1rem;
}

.catalog-model-stat-value {
    display: block;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.8rem;
    line-height: 1;
    font-weight: 800;
    color: var(--ink);
}

.catalog-model-stat-label {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.8rem;
    color: var(--muted);
}

.catalog-model-visual {
    background: white;
    border: 1px solid var(--line);
    border-radius: 1.2rem;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .catalog-model-visual img {
        width: 100%;
        max-height: 300px;
        object-fit: contain;
    }

.catalog-model-toolbar {
    margin-top: 1.5rem;
    display: grid;
    gap: 1rem;
}

.catalog-model-filter-group {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1.2rem;
    padding: 1.2rem;
}

.catalog-model-filter-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.9rem;
}

.catalog-model-reset {
    border: 0;
    background: transparent;
    color: #475569;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
}

    .catalog-model-reset:hover {
        color: var(--ink);
    }

.catalog-model-generations,
.catalog-model-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.catalog-generation-chip {
    width: 154px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 1rem;
    padding: 0.45rem;
    text-align: left;
    cursor: pointer;
    transition: border-color .2s, transform .2s, box-shadow .2s, background .2s;
}

    .catalog-generation-chip:hover,
    .catalog-generation-chip.is-active {
        border-color: rgba(245,166,35,.72);
        box-shadow: 0 14px 28px rgba(15,23,42,.06);
        transform: translateY(-2px);
    }

    .catalog-generation-chip.is-active {
        background: rgba(245,166,35,.06);
    }

.catalog-generation-chip-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 78px;
    border-radius: 0.85rem;
    overflow: hidden;
    background: white;
    border: 1px solid #eef2f7;
}

    .catalog-generation-chip-thumb img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.catalog-generation-chip-body {
    display: block;
    padding: 0.7rem 0.25rem 0.2rem;
}

.catalog-generation-chip-title {
    display: block;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 1.02rem;
    color: var(--ink);
    line-height: 1;
}

.catalog-generation-chip-meta,
.catalog-generation-chip-count {
    display: block;
    margin-top: 0.28rem;
    font-size: 0.74rem;
    color: var(--muted);
}

.catalog-category-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 999px;
    padding: 0.7rem 1rem;
    font-size: 0.84rem;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    transition: border-color .2s, background .2s, color .2s, box-shadow .2s;
}

    .catalog-category-chip strong {
        font-size: 0.76rem;
        color: var(--muted);
    }

    .catalog-category-chip:hover,
    .catalog-category-chip.is-active {
        border-color: rgba(245,166,35,.72);
        color: var(--ink);
    }

    .catalog-category-chip.is-active {
        background: rgba(245,166,35,.08);
        box-shadow: 0 10px 24px rgba(245,166,35,.12);
    }

.catalog-model-results {
    margin-top: 2rem;
}

.catalog-model-results-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.catalog-model-summary {
    text-align: right;
    font-size: 0.9rem;
    color: var(--muted);
}

.catalog-model-empty {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1rem;
    padding: 1.1rem 1.2rem;
    color: #475569;
    margin-bottom: 1.2rem;
}

.catalog-model-sections {
    display: grid;
    gap: 1.8rem;
}

.catalog-model-section {
    display: grid;
    gap: 0.95rem;
}

.catalog-model-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.catalog-model-section-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1;
    color: var(--ink);
}

.catalog-model-section-subtitle {
    margin-top: 0.35rem;
    font-size: 0.86rem;
    color: var(--muted);
}

.catalog-model-grid {
    display: grid;
    gap: 1.1rem;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 640px) {
    .catalog-model-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .catalog-model-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.catalog-part-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1.15rem;
    overflow: hidden;
    transition: border-color .24s, transform .24s, box-shadow .24s;
}

    .catalog-part-card:hover {
        border-color: rgba(245,166,35,.52);
        transform: translateY(-4px);
        box-shadow: 0 20px 38px rgba(15,23,42,.08);
    }

.catalog-part-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.catalog-part-card-image {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #edf2f7;
    border-bottom: 1px solid #eef2f7;
}

    .catalog-part-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .45s ease;
    }

.catalog-part-card:hover .catalog-part-card-image img {
    transform: scale(1.04);
}

.catalog-part-card-badge {
    position: absolute;
    left: 0.85rem;
    top: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0.28rem 0.72rem;
    border-radius: 999px;
    background: rgba(16,24,40,.84);
    color: #fff;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.catalog-part-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1rem;
}

.catalog-part-card-topline {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #b45309;
    margin-bottom: 0.35rem;
}

.catalog-part-card-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.2rem;
    line-height: 1;
    font-weight: 800;
    color: var(--ink);
}

.catalog-part-card-text {
    margin-top: 0.7rem;
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.catalog-part-card-meta {
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
    margin-top: 0.9rem;
    font-size: 0.82rem;
    color: var(--muted);
}

.catalog-part-card-btn {
    margin-top: 1rem;
}

@media (max-width: 991px) {
    .catalog-model-hero {
        grid-template-columns: 1fr;
    }

    .catalog-model-results-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .catalog-model-summary {
        text-align: left;
    }
}

@media (max-width: 640px) {
    .catalog-model-page {
        padding-top: 0.6rem;
    }

    .catalog-model-wrap {
        padding-top: 1rem;
        padding-bottom: 2.2rem;
    }

    .catalog-model-hero,
    .catalog-model-filter-group {
        padding: 1.1rem;
    }

    .catalog-generation-chip {
        width: calc(50% - 0.45rem);
        min-width: 138px;
    }

    .catalog-model-stats {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


.catalog-model-section.is-hidden,
.catalog-part-card.is-hidden,
.catalog-category-chip.is-hidden {
    display: none !important;
}
/* end catalog/model */

/* part page */
.catalog-part-page {
    padding: 1.5rem 0 4.5rem;
}

.catalog-part-wrap {
    padding-top: 1.5rem;
    padding-bottom: 3.5rem;
}

.catalog-part-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 520px);
    gap: 2rem;
    align-items: start;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1.4rem;
    padding: 2rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.04);
}

.catalog-part-hero-left {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.4rem;
}

.catalog-part-hero-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.catalog-part-hero-right {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.catalog-part-intro {
    margin-top: 1rem;
    max-width: 760px;
    font-size: 1rem;
    line-height: 1.75;
    color: #475569;
}

.catalog-part-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.1rem;
}

.catalog-part-pill {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0.62rem 1rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #f8fafc;
    color: var(--ink);
    font-size: 0.82rem;
    font-weight: 700;
}

.catalog-part-pill-price {
    border-color: rgba(245, 166, 35, 0.45);
    background: rgba(245, 166, 35, 0.08);
}

.catalog-part-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.35rem;
    align-items: center;
}

.catalog-part-backlink {
    color: #475569;
    font-weight: 700;
    text-decoration: none;
}

    .catalog-part-backlink:hover {
        color: var(--ink);
    }

.catalog-part-image-stage {
    position: relative;
    width: 100%;
}

.catalog-part-main-image {
    position: relative;
    width: 100%;
    min-height: 480px;
    padding: 1rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid var(--line);
    border-radius: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: zoom-in;
    appearance: none;
    -webkit-appearance: none;
}

    .catalog-part-main-image img {
        display: block;
        width: 100%;
        height: 100%;
        max-height: 440px;
        object-fit: contain;
        pointer-events: none;
        user-select: none;
    }

.catalog-part-main-image-zoom {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: rgba(16, 24, 40, 0.84);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 2;
    pointer-events: none;
}

.catalog-part-lens {
    position: absolute;
    left: 0;
    top: 0;
    width: 120px;
    height: 120px;
    border: 1px solid rgba(16, 24, 40, 0.18);
    background: rgba(255, 255, 255, 0.30);
    backdrop-filter: blur(1px);
    pointer-events: none;
    border-radius: 0.8rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.10);
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity .12s ease;
    z-index: 4;
}

.catalog-part-main-image.is-zooming .catalog-part-lens {
    opacity: 1;
}

.catalog-part-zoom-result {
    position: absolute;
    top: 5rem;
    right: calc(100% + 1rem);
    width: 320px;
    height: 320px;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background-color: #fff;
    background-repeat: no-repeat;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
    display: none;
    overflow: hidden;
    z-index: 5;
}

    .catalog-part-zoom-result.is-visible {
        display: block;
    }

.catalog-part-thumbs-panel {
    padding-top: 0.2rem;
}

.catalog-part-thumbs-label {
    margin-bottom: 0.7rem;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #b45309;
}

.catalog-part-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.catalog-part-thumb {
    width: 92px;
    height: 78px;
    border: 1px solid var(--line);
    border-radius: 0.8rem;
    background: #fff;
    overflow: hidden;
    padding: 0;
    cursor: pointer;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

    .catalog-part-thumb:hover,
    .catalog-part-thumb.is-active {
        border-color: rgba(245, 166, 35, 0.72);
        box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
        transform: translateY(-2px);
    }

    .catalog-part-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.catalog-part-content {
    margin-top: 1.75rem;
}

.catalog-part-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
}

.catalog-part-layout-single {
    grid-template-columns: 1fr;
}

.catalog-part-box {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1.2rem;
    padding: 1.35rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.04);
}

.catalog-part-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.catalog-part-section-title {
    margin: 0.15rem 0 0;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 2rem;
    line-height: 1;
    color: var(--ink);
    text-transform: uppercase;
}

.catalog-part-specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.catalog-part-spec {
    background: #f8fafc;
    border: 1px solid #e9eef5;
    border-radius: 1rem;
    padding: 0.95rem 1rem;
}

.catalog-part-spec-label {
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
}

.catalog-part-spec-value {
    margin-top: 0.35rem;
    color: var(--ink);
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.45;
}

.catalog-part-description {
    margin-top: 1.35rem;
    padding-top: 1.15rem;
    border-top: 1px solid #edf2f7;
}

.catalog-part-description-text {
    margin-top: 0.7rem;
    color: #475569;
    line-height: 1.8;
    font-size: 1rem;
}

.catalog-part-related {
    margin-top: 2rem;
}

.catalog-part-card-mini {
    background: transparent;
}

.catalog-part-lightbox[hidden] {
    display: none;
}

.catalog-part-lightbox {
    position: fixed;
    inset: 0;
    z-index: 300;
}

.catalog-part-lightbox-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(15, 23, 42, 0.82);
    cursor: pointer;
}

.catalog-part-lightbox-dialog {
    position: relative;
    z-index: 2;
    width: min(92vw, 1200px);
    height: min(88vh, 900px);
    margin: 4vh auto;
    background: #fff;
    border-radius: 1.2rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 32px 70px rgba(0, 0, 0, 0.28);
}

    .catalog-part-lightbox-dialog img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

.catalog-part-lightbox-close {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.84);
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

@media (max-width: 1280px) {
    .catalog-part-zoom-result {
        width: 260px;
        height: 260px;
    }
}

@media (max-width: 1080px) {
    .catalog-part-hero {
        grid-template-columns: 1fr;
    }

    .catalog-part-main-image {
        min-height: 320px;
    }

        .catalog-part-main-image img {
            max-height: 300px;
        }

    .catalog-part-zoom-result {
        display: none !important;
    }

    .catalog-part-lens {
        display: none !important;
    }
}

@media (max-width: 720px) {
    .catalog-part-specs {
        grid-template-columns: 1fr;
    }

    .catalog-part-hero,
    .catalog-part-box {
        padding: 1.2rem;
    }

    .catalog-part-section-title {
        font-size: 1.65rem;
    }

    .catalog-part-thumbs {
        gap: 0.6rem;
    }

    .catalog-part-thumb {
        width: 84px;
        height: 70px;
    }
}
/* end part page */
/* Global search */
.top-search {
    position: relative;
    display: none;
    align-items: center;
    width: min(360px, 28vw);
    min-width: 220px;
    flex: 1 1 280px;
    max-width: 420px;
}

.top-search-icon {
    position: absolute;
    left: 0.82rem;
    color: #64748b;
    pointer-events: none;
}

.top-search input {
    width: 100%;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.88rem;
    outline: none;
    padding: 0 2.85rem 0 2.35rem;
    transition: border-color .2s, box-shadow .2s, background .2s;
}

.top-search input:focus {
    border-color: rgba(245,166,35,.72);
    box-shadow: 0 0 0 3px rgba(245,166,35,.13);
    background: #fff;
}

.top-search button {
    position: absolute;
    right: 0.28rem;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 999px;
    background: var(--gold);
    color: var(--ink);
    cursor: pointer;
    transition: background .18s, transform .18s;
}

.top-search button:hover {
    background: var(--gold2);
    transform: translateY(-1px);
}

@media (min-width: 980px) {
    .top-search {
        display: flex;
    }
}

@media (max-width: 1180px) {
    .topbar-inner {
        gap: 1rem;
    }

    .nav-d {
        gap: 1.2rem;
    }
}

.mobile-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.55rem;
    padding-bottom: 0.95rem;
    border-bottom: 1px solid var(--line);
}

.mobile-search input {
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 0.75rem;
    padding: 0.78rem 0.9rem;
    font-family: 'DM Sans', sans-serif;
    outline: none;
}

.mobile-search input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(245,166,35,.12);
}

.mobile-search button {
    border: none;
    border-radius: 0.75rem;
    padding: 0 1rem;
    background: var(--gold);
    color: var(--ink);
    font-weight: 800;
    cursor: pointer;
}

.search-page {
    background: var(--bg);
    min-height: 70vh;
}

.search-hero {
    background:
        radial-gradient(circle at 15% 20%, rgba(245,166,35,.12), transparent 22%),
        linear-gradient(135deg, #ffffff 0%, #f6f8fb 52%, #eef2f7 100%);
    border-bottom: 1px solid var(--line);
}

.search-hero-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 3.2rem 2rem 2.5rem;
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(340px, 1.1fr);
    gap: 2rem;
    align-items: center;
}

.search-title {
    margin-top: 0.65rem;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(2.3rem, 4vw, 4.6rem);
    line-height: .92;
    letter-spacing: -0.03em;
    color: var(--ink);
}

.search-desc {
    margin-top: 1rem;
    max-width: 620px;
    color: #475569;
    line-height: 1.75;
    font-size: 1rem;
}

.search-panel {
    background: rgba(255,255,255,.9);
    border: 1px solid rgba(226,232,240,.9);
    border-radius: 1.25rem;
    padding: 1rem;
    box-shadow: 0 22px 50px rgba(15,23,42,.08);
}

.search-panel-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(190px, .42fr) auto;
    gap: .75rem;
    align-items: center;
}

.search-panel-input,
.search-panel-select,
.search-panel-button {
    margin-bottom: 0;
}

.search-panel-button {
    min-width: 132px;
    height: 48px;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.search-results-wrap {
    max-width: 1440px;
    margin: 0 auto;
    padding: 2.2rem 2rem 4rem;
}

.search-results-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1.15rem;
    padding: 1.25rem 1.35rem;
    box-shadow: 0 12px 30px rgba(15,23,42,.04);
}

.search-results-kicker {
    color: #b45309;
    font-weight: 800;
    font-size: .74rem;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.search-results-title {
    margin-top: .25rem;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(1.8rem, 2.8vw, 2.7rem);
    line-height: 1;
    color: var(--ink);
}

.search-results-filter {
    margin-top: .45rem;
    font-size: .9rem;
    color: var(--muted);
}

.search-results-count {
    flex-shrink: 0;
    padding: .55rem .9rem;
    border-radius: 999px;
    background: rgba(245,166,35,.12);
    color: #92400e;
    font-weight: 800;
    font-size: .9rem;
}

.search-section {
    margin-top: 1.35rem;
}

.search-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .9rem;
}

.search-section-head h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.75rem;
    line-height: 1;
    color: var(--ink);
}

.search-section-head span {
    color: var(--muted);
    font-weight: 700;
    font-size: .88rem;
}

.search-empty {
    margin-top: 1.35rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1.15rem;
    padding: 1.5rem;
    box-shadow: 0 12px 30px rgba(15,23,42,.04);
}

.search-empty h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.8rem;
    line-height: 1;
}

.search-empty p {
    margin-top: .5rem;
    color: #475569;
    line-height: 1.65;
}

.search-empty-call {
    margin-top: 1rem;
}

.search-vehicle-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 991px) {
    .search-hero-inner {
        grid-template-columns: 1fr;
        padding-top: 2.2rem;
    }

    .search-panel-grid {
        grid-template-columns: 1fr;
    }

    .search-panel-button {
        width: 100%;
    }

    .search-results-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .search-vehicle-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .search-hero-inner,
    .search-results-wrap {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}
/* Cookie bar */
.cookie-bar {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 260;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .22s ease, transform .22s ease;
}

    .cookie-bar.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

.cookie-bar-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.2rem;
    align-items: center;
    background: rgba(255, 255, 255, .96);
    border: 1px solid rgba(226, 232, 240, .95);
    border-radius: 1.2rem;
    padding: 1.15rem;
    box-shadow: 0 26px 70px rgba(15, 23, 42, .16);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.cookie-bar-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: #b45309;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: .35rem;
}

    .cookie-bar-eyebrow::before {
        content: "";
        width: 18px;
        height: 2px;
        background: var(--gold);
        display: block;
        border-radius: 999px;
    }

.cookie-bar-title {
    margin: 0;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.45rem;
    line-height: 1;
    text-transform: uppercase;
    color: var(--ink);
}

.cookie-bar-text {
    margin-top: .45rem;
    max-width: 760px;
    color: #475569;
    font-size: .9rem;
    line-height: 1.6;
}

.cookie-bar-actions,
.cookie-modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    justify-content: flex-end;
}

.cookie-btn {
    min-height: 42px;
    border: 1px solid var(--line);
    border-radius: .75rem;
    padding: .65rem 1rem;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: .95rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .18s, border-color .18s, color .18s, transform .18s, box-shadow .18s;
}

    .cookie-btn:hover {
        transform: translateY(-1px);
    }

.cookie-btn-primary {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--ink);
}

    .cookie-btn-primary:hover {
        background: var(--gold2);
        border-color: var(--gold2);
        box-shadow: 0 14px 30px rgba(245, 166, 35, .2);
    }

.cookie-btn-secondary {
    background: #fff;
    color: var(--ink);
}

    .cookie-btn-secondary:hover {
        background: #f8fafc;
    }

.cookie-btn-light {
    background: #f8fafc;
    color: #475569;
}

    .cookie-btn-light:hover {
        background: #fff;
        color: var(--ink);
    }

.cookie-modal[hidden],
.cookie-bar[hidden] {
    display: none;
}

.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 270;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease;
}

    .cookie-modal.is-visible {
        opacity: 1;
        pointer-events: auto;
    }

.cookie-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .72);
    border: 0;
    cursor: pointer;
}

.cookie-modal-dialog {
    position: relative;
    z-index: 2;
    width: min(100%, 680px);
    max-height: min(88vh, 760px);
    overflow: auto;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, .95);
    border-radius: 1.25rem;
    padding: 1.35rem;
    box-shadow: 0 34px 90px rgba(0, 0, 0, .28);
    transform: translateY(14px) scale(.98);
    transition: transform .22s ease;
}

.cookie-modal.is-visible .cookie-modal-dialog {
    transform: translateY(0) scale(1);
}

.cookie-modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .8rem;
}

.cookie-modal-title {
    margin: 0;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 2rem;
    line-height: 1;
    text-transform: uppercase;
    color: var(--ink);
}

.cookie-modal-close {
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: #475569;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
}

    .cookie-modal-close:hover {
        background: #f8fafc;
        color: var(--ink);
    }

.cookie-modal-text {
    color: #475569;
    font-size: .94rem;
    line-height: 1.65;
    margin-bottom: 1rem;
}

.cookie-options {
    display: grid;
    gap: .8rem;
    margin-bottom: 1.15rem;
}

.cookie-option {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 1rem;
    padding: 1rem;
    background: #f8fafc;
}

    .cookie-option h3 {
        margin: 0;
        font-family: 'Barlow Condensed', sans-serif;
        font-size: 1.25rem;
        line-height: 1;
        color: var(--ink);
        text-transform: uppercase;
    }

    .cookie-option p {
        margin-top: .35rem;
        color: #64748b;
        font-size: .86rem;
        line-height: 1.55;
    }

.cookie-option-clickable {
    cursor: pointer;
}

.cookie-option input {
    width: 22px;
    height: 22px;
    accent-color: var(--gold);
}

.cookie-required {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: .35rem .7rem;
    border-radius: 999px;
    background: rgba(245, 166, 35, .12);
    color: #92400e;
    font-size: .76rem;
    font-weight: 800;
    white-space: nowrap;
}

.cookie-modal-open {
    overflow: hidden;
}

@media (max-width: 820px) {
    .cookie-bar-inner {
        grid-template-columns: 1fr;
    }

    .cookie-bar-actions,
    .cookie-modal-actions {
        justify-content: stretch;
    }

    .cookie-btn {
        flex: 1 1 auto;
    }
}

@media (max-width: 560px) {
    .cookie-bar {
        left: .65rem;
        right: .65rem;
        bottom: .65rem;
    }

    .cookie-bar-inner,
    .cookie-modal-dialog {
        border-radius: 1rem;
        padding: 1rem;
    }

    .cookie-option {
        grid-template-columns: 1fr;
    }

    .cookie-required {
        justify-self: start;
    }

    .cookie-modal-actions {
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
    }
}
/* end Cookie bar */

/* cena na dotaz */
.price-request-group {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.price-request-check {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0.6rem !important;
    width: 100% !important;
}

    .price-request-check input[type="checkbox"],
    .price-request-input {
        position: static !important;
        display: inline-block !important;
        width: 18px !important;
        height: 18px !important;
        min-width: 18px !important;
        max-width: 18px !important;
        margin: 0 !important;
        padding: 0 !important;
        transform: none !important;
        flex: 0 0 18px !important;
        vertical-align: middle !important;
        accent-color: var(--gold);
        cursor: pointer;
    }

.price-request-label {
    display: inline-flex !important;
    align-items: center !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
}
/* end cena na dotaz */

.footer-separator {
    color: #cbd5e1;
    margin: 0 0.35rem;
}

.footer-credit {
    color: #94a3b8;
}
/* responsive polish - mobile/tablet */
img,
svg,
video {
    max-width: 100%;
}

button,
a,
input,
select,
textarea {
    -webkit-tap-highlight-color: rgba(245, 166, 35, .18);
}

@media (max-width: 1180px) {
    body {
        padding-top: 66px;
    }

    .topbar {
        height: 66px;
    }

    .topbar-inner {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
        gap: .85rem;
    }

    .logo-main {
        font-size: 1.35rem;
    }

    .logo-sub {
        font-size: .62rem;
    }

    .mobile-nav {
        top: 66px;
    }
}

@media (max-width: 979px) {
    .topbar-inner {
        justify-content: space-between;
    }

    .top-right {
        margin-left: auto;
    }

    .btn-call-top {
        padding: .58rem .85rem;
        font-size: .82rem;
    }

    .mobile-nav {
        max-height: calc(100vh - 66px);
        overflow: auto;
        overscroll-behavior: contain;
        padding: .9rem 1.25rem 1.25rem;
    }

    body.mobile-menu-open {
        overflow: hidden;
    }
}

@media (max-width: 720px) {
    body {
        padding-top: 62px;
    }

    .topbar {
        height: 62px;
    }

    .topbar-inner {
        padding-left: .85rem;
        padding-right: .85rem;
    }

    .logo-main {
        font-size: 1.18rem;
    }

    .logo-sub {
        max-width: 170px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: .58rem;
    }

    .btn-call-top {
        width: 40px;
        height: 40px;
        padding: 0;
        justify-content: center;
        border-radius: .7rem;
        font-size: 0;
    }

    .btn-call-top svg {
        width: 16px;
        height: 16px;
    }

    .mobile-nav {
        top: 62px;
        padding-left: .9rem;
        padding-right: .9rem;
    }

    .mobile-search {
        grid-template-columns: 1fr;
    }

    .mobile-search button {
        min-height: 42px;
    }
}

@media (max-width: 380px) {
    .logo-sub {
        display: none;
    }

    .logo-main {
        font-size: 1.08rem;
    }

    .menu-toggle,
    .btn-call-top {
        width: 38px;
        height: 38px;
    }
}

@media (max-width: 1023px) {
    .hero {
        min-height: auto;
        background-position: center right 28%;
    }

    .hero-inner {
        padding-top: 3.2rem;
        padding-bottom: 3rem;
    }

    .scard {
        max-width: 680px;
    }

    .catalog-model-hero,
    .catalog-part-hero,
    .search-hero-inner {
        grid-template-columns: 1fr;
    }

    .catalog-model-visual {
        min-height: 240px;
    }

    .catalog-model-visual img {
        max-height: 240px;
    }
}

@media (max-width: 760px) {
    .swrap,
    .hero-inner,
    .search-hero-inner,
    .search-results-wrap {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .swrap {
        padding-top: 2.6rem;
        padding-bottom: 2.8rem;
    }

    .hero-inner {
        padding-top: 2.4rem;
        padding-bottom: 2.4rem;
        gap: 1.4rem;
    }

    .hero-title {
        font-size: clamp(2.55rem, 15vw, 3.6rem);
        margin-bottom: .9rem;
    }

    .hero-desc,
    .catalog-model-intro,
    .catalog-part-intro,
    .search-desc,
    .cdesc {
        font-size: .95rem;
        line-height: 1.65;
    }

    .hero-pills,
    .catalog-part-pills,
    .cbtns {
        gap: .5rem;
    }

    .pill,
    .catalog-part-pill {
        font-size: .76rem;
        padding: .42rem .68rem;
    }

    .scard,
    .catalog-model-hero,
    .catalog-model-filter-group,
    .catalog-part-hero,
    .catalog-part-box,
    .search-panel,
    .search-results-head,
    .search-empty,
    .cbox {
        border-radius: 1rem;
    }

    .scard-head,
    .scard-body {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .divider {
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .sec-title {
        font-size: clamp(1.75rem, 10vw, 2.25rem);
        line-height: .98;
    }

    .sec-title span {
        display: block;
        margin-top: .25rem;
        font-size: .78em;
        line-height: 1.08;
    }

    .mgrid {
        gap: .7rem;
        margin-top: 1.4rem;
    }

    .mcard {
        padding: .75rem .55rem;
        border-radius: .82rem;
    }

    .mcard-name {
        font-size: .86rem;
    }

    .mcard-tag {
        font-size: .58rem;
    }

    .cars-hd,
    .catalog-model-results-head,
    .catalog-model-section-head,
    .search-section-head {
        align-items: flex-start;
        flex-direction: column;
        gap: .65rem;
    }

    .cgrid,
    .catalog-model-grid,
    .search-vehicle-grid {
        grid-template-columns: 1fr !important;
    }

    .cimg {
        height: auto;
        aspect-ratio: 16 / 10;
    }

    .cbody {
        padding: 1rem;
    }

    .cspecs {
        gap: .5rem;
    }

    .cspec {
        padding: .5rem .55rem;
    }

    .btn-gold,
    .btn-ghost,
    .btn-car,
    .btn-search,
    .btn-outline {
        min-height: 44px;
    }

    .cbtns .btn-gold,
    .cbtns .btn-ghost,
    .catalog-part-actions .btn-car,
    .catalog-part-actions .btn-ghost {
        width: 100%;
        justify-content: center;
    }

    .hours-box {
        padding: 1rem;
    }

    .hrow {
        gap: 1rem;
    }
}

@media (max-width: 640px) {
    .catalog-model-breadcrumbs {
        gap: .35rem;
        margin-bottom: 1rem;
        font-size: .76rem;
        line-height: 1.45;
    }

    .catalog-model-hero,
    .catalog-part-hero,
    .catalog-model-filter-group {
        padding: 1rem;
    }

    .catalog-model-stats {
        grid-template-columns: 1fr;
        gap: .65rem;
    }

    .catalog-model-stat {
        min-width: 0;
        padding: .8rem .85rem;
    }

    .catalog-model-stat-value {
        font-size: 1.55rem;
    }

    .catalog-model-visual {
        min-height: 190px;
        padding: .9rem;
    }

    .catalog-model-visual img {
        max-height: 190px;
    }

    .catalog-model-filter-head {
        align-items: flex-start;
        flex-direction: column;
        gap: .45rem;
    }

    .catalog-model-generations,
    .catalog-model-categories {
        flex-wrap: nowrap;
        overflow-x: auto;
        margin-left: -1rem;
        margin-right: -1rem;
        padding: .15rem 1rem .7rem;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
    }

    .catalog-generation-chip,
    .catalog-category-chip {
        scroll-snap-align: start;
        flex: 0 0 auto;
    }

    .catalog-generation-chip {
        width: 142px;
        min-width: 142px;
    }

    .catalog-generation-chip-thumb {
        height: 70px;
    }

    .catalog-category-chip {
        white-space: nowrap;
        padding: .62rem .85rem;
    }

    .catalog-model-section-title {
        font-size: 1.45rem;
    }

    .catalog-part-card-title {
        font-size: 1.08rem;
        line-height: 1.08;
    }

    .catalog-part-card-text {
        -webkit-line-clamp: 2;
    }

    .catalog-part-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .catalog-part-backlink {
        text-align: center;
        padding: .55rem 0;
    }

    .catalog-part-main-image {
        min-height: clamp(230px, 68vw, 320px);
        padding: .75rem;
        cursor: pointer;
    }

    .catalog-part-main-image img {
        max-height: clamp(210px, 62vw, 300px);
    }

    .catalog-part-thumbs {
        flex-wrap: nowrap;
        overflow-x: auto;
        margin-left: -1rem;
        margin-right: -1rem;
        padding: .1rem 1rem .65rem;
        -webkit-overflow-scrolling: touch;
    }

    .catalog-part-thumb {
        flex: 0 0 78px;
        width: 78px;
        height: 66px;
    }

    .catalog-part-card-head {
        flex-direction: column;
        gap: .6rem;
    }

    .catalog-part-section-title {
        font-size: 1.45rem;
    }

    .catalog-part-box {
        padding: 1rem;
    }

    .catalog-part-spec {
        padding: .8rem;
    }

    .catalog-part-lightbox-dialog {
        width: calc(100vw - 1.2rem);
        height: min(82vh, 720px);
        margin-top: 8vh;
        border-radius: 1rem;
        padding: .7rem;
    }

    .catalog-part-lightbox-close {
        top: .55rem;
        right: .55rem;
    }

    .search-title {
        font-size: clamp(2rem, 12vw, 3.2rem);
    }

    .search-hero-inner {
        padding-top: 2rem;
        padding-bottom: 1.8rem;
        gap: 1.1rem;
    }

    .search-panel {
        padding: .8rem;
    }

    .search-results-wrap {
        padding-top: 1.35rem;
        padding-bottom: 2.8rem;
    }

    .search-results-count {
        align-self: flex-start;
    }

    .search-section-head h3 {
        font-size: 1.45rem;
    }

    footer {
        padding: 2.2rem 1rem;
    }

    .flinks {
        gap: .75rem 1.25rem;
    }

    .footer-separator {
        display: none;
    }

    .footer-credit {
        display: block;
        margin-top: .35rem;
    }
}

@media (max-width: 430px) {
    .mgrid {
        grid-template-columns: 1fr 1fr;
    }

    .mcard-img {
        aspect-ratio: 4 / 3;
    }

    .cspecs {
        flex-direction: column;
    }

    .cookie-bar {
        left: .5rem;
        right: .5rem;
        bottom: .5rem;
    }
}

/* =========================================================
   Catalog model toolbar - mobile responsiveness fix
   Prevents the generation/category filter area from creating
   horizontal page overflow on narrow screens.
   ========================================================= */
.catalog-model-toolbar,
.catalog-model-filter-group,
.catalog-model-generations,
.catalog-model-categories {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

@media (max-width: 640px) {
    .catalog-model-toolbar {
        width: 100%;
        overflow: hidden;
    }

    .catalog-model-filter-group {
        width: 100%;
        overflow: hidden;
        border-radius: 1rem;
    }

    .catalog-model-generations {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .75rem;
        overflow: visible;
        margin-left: 0;
        margin-right: 0;
        padding: 0;
        scroll-snap-type: none;
    }

    .catalog-generation-chip {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        padding: .45rem;
    }

    .catalog-generation-chip-thumb {
        height: clamp(62px, 18vw, 76px);
    }

    .catalog-generation-chip-title {
        font-size: .96rem;
        line-height: 1.05;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .catalog-generation-chip-body {
        padding: .6rem .25rem .15rem;
    }

    .catalog-model-categories {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .65rem;
        overflow: visible;
        margin-left: 0;
        margin-right: 0;
        padding: 0;
        scroll-snap-type: none;
    }

    .catalog-category-chip {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        justify-content: center;
        white-space: normal;
        text-align: center;
        padding: .65rem .75rem;
    }
}

@media (max-width: 390px) {
    .catalog-model-generations,
    .catalog-model-categories {
        grid-template-columns: 1fr;
    }
}

