.bg-mz {
    --bg-ink: #10251f;
    --bg-green: #133b30;
    --bg-deep: #0d2822;
    --bg-orange: #ffb36b;
    --bg-paper: #f8f7f2;
    --bg-border: #dedfd4;
    background: var(--bg-paper);
    color: var(--bg-ink);
    font-family: system-ui, sans-serif;

    .bg-mz-container {
        width: calc(100% - 64px);
        max-width: 1180px;
        margin-inline: auto;
    }

    a {
        color: inherit;
        text-decoration: none;
    }

    a:focus-visible,
    button:focus-visible,
    input:focus-visible {
        outline: 3px solid #be5c13;
        outline-offset: 3px;
    }

    h1, h2, h3, p {
        margin: 0;
    }

    h2 {
        font-size: clamp(1.55rem, 3vw, 2.5rem);
        font-weight: 780;
        letter-spacing: -.035em;
        line-height: 1.12;
    }

    .bg-mz-header {
        background: #fff;
    }

    .bg-mz-nav, .bg-mz-brand, .bg-mz-menu,
    .bg-mz-section-heading {
        display: flex;
        align-items: center;
    }

    .bg-mz-nav {
        min-height: 78px;
        justify-content: space-between;
        gap: 18px;
        padding-block: 12px;
    }

    .bg-mz-brand {
        gap: 12px;
        line-height: 1.15;

        strong, small {
            display: block;
        }

        strong {
            font-size: 1.1rem;
        }

        small {
            margin-top: 3px;
            color: #495d54;
        }
    }

    .bg-mz-mark, .bg-mz-logo {
        width: 132px;
        height: 132px;
        border-radius: 10px;
        flex: none;
        object-fit: contain;
    }

    .bg-mz-mark {
        display: grid;
        place-items: center;
        color: #fff;
        background: var(--bg-green);
        font-size: 2rem;
        font-weight: 820;
    }

    .bg-mz-menu {
        gap: clamp(16px, 3vw, 36px);
        font-size: .93rem;
        font-weight: 650;
    }

    nav a:hover, .bg-mz-section-heading a:hover {
        text-decoration: underline;
    }

    .bg-mz-button {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        min-height: 46px;
        border: 1px solid transparent;
        border-radius: 8px;
        padding: 10px 17px;
        font: inherit;
        font-size: .92rem;
        font-weight: 740;
        text-align: center;
        line-height: 1.25;
        cursor: pointer;
        transition: background-color .15s ease;
    }

    .bg-mz-button-nav {
        border-color: var(--bg-green);
        color: var(--bg-green);

        &:hover { background: #edf3ed; }
    }

    .bg-mz-button-primary {
        background: var(--bg-orange);
        color: #211a12;

        &:hover { background: #ffca94; }
    }

    .bg-mz-marketplace {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
        gap: 16px;
        padding-top: 14px;
    }

    .bg-mz-parts-nav {
        display: flex;
        align-items: center;
        gap: 20px;
        overflow-x: auto;
        padding: 12px 4px;
        border-bottom: 1px solid var(--bg-border);
        font-size: .9rem;
        font-weight: 680;
        white-space: nowrap;

        a:last-child { margin-left: auto; }
    }

    .bg-mz-promotions {
        position: relative;
        min-width: 0;
        align-self: start;
        overflow: hidden;
        background: #f6f5f2;
        color: #1d1d1f;

        [hidden] { display: none !important; }

        button {
            font: inherit;
            cursor: pointer;
        }
    }

    .bg-mz-promo-pause {
        position: absolute;
        top: 6px;
        right: 8px;
        z-index: 1;
        min-height: 44px;
        padding: 0 12px;
        border: 1px solid #e2e7ee;
        border-radius: 4px;
        background: #fff;
        color: #14283d;
        font-size: .75rem !important;
    }

    .bg-mz-promo-image {
        display: block;
        aspect-ratio: 16 / 9;
        background: #eeedeb;

        img {
            display: block;
            width: 100%;
            height: 100%;
            aspect-ratio: 16 / 9;
            object-fit: contain;
        }
    }

    .bg-mz-promo-land-rover {
        position: relative;
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
        align-items: center;
        overflow: hidden;
        background: #10342c;

        img {
            min-width: 0;
            height: 100%;
            aspect-ratio: auto;
            object-fit: cover;
            object-position: 46% center;
        }
    }

    .bg-mz-land-rover-banner {
        display: grid;
        gap: 7px;
        padding: clamp(12px, 3vw, 32px);
        color: #fff;

        span {
            color: #d8eddd;
            font-size: clamp(.68rem, 1.2vw, .9rem);
            font-weight: 750;
            letter-spacing: .12em;
        }

        strong {
            max-width: 8ch;
            font-size: clamp(1.25rem, 3vw, 2.65rem);
            line-height: 1;
        }
    }

    .bg-mz-promo-actions {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 6px 16px;
    }

    .bg-mz-promo-fitment {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
        color: #14283d;
        font-size: .875rem;
        font-weight: 700;
        text-decoration: underline;
    }

    .bg-mz-promo-caption {
        padding: 16px 20px 12px;

        h2 {
            font-size: 1.375rem;
            font-weight: 650;
            letter-spacing: -.02em;
        }

        p {
            min-height: 3em;
            margin-block: 7px 10px;
            color: #122c45;
            font-size: .875rem;
        }
    }

    .bg-mz-promo-link {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
        padding: 8px 16px;
        border-radius: 3px;
        background: #c7431d;
        color: #fff;
        font-size: .875rem;
        font-weight: 700;

        &:hover { background: #a23214; }
    }

    .bg-mz-promo-nav {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        padding: 0 16px 12px;
    }

    .bg-mz-promo-arrow {
        width: 38px;
        height: 38px;
        border: 1px solid #14283d;
        border-radius: 50%;
        background: transparent;
        color: #14283d;
        font-size: 1.125rem !important;
    }

    .bg-mz-promo-dots {
        display: flex;
        align-items: center;

        button {
            display: grid;
            place-items: center;
            width: 20px;
            height: 26px;
            padding: 0;
            border: 0;
            background: transparent;

            &::before {
                width: 6px;
                height: 6px;
                border-radius: 4px;
                background: #18364d;
                content: "";
            }

            &[aria-current="true"]::before { width: 17px; }
        }
    }

    .bg-mz-brands {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
        gap: 10px;
        padding: 0;
        margin-bottom: 0;
        list-style: none;

        a {
            display: grid;
            min-height: 56px;
            place-items: center;
            height: 100%;
            padding: 8px;
            border: 1px solid var(--bg-border);
            border-radius: 8px;
            background: white;
            text-align: center;
            font-weight: 720;
        }

        a:hover { border-color: var(--bg-green); }
    }

    .bg-mz-search-wrap {
        padding-top: 12px;
    }

    .bg-mz-search {
        display: grid;
        grid-template-columns: minmax(155px, .32fr) 1fr;
        align-items: center;
        gap: 16px;
        padding: clamp(16px, 3vw, 28px);
        border: 1px solid var(--bg-border);
        border-radius: 12px;
        background: white;

        label { font-size: 1.1rem; font-weight: 720; }

        input {
            width: 100%;
            min-width: 0;
            min-height: 46px;
            border: 1px solid #83958a;
            border-radius: 8px;
            padding: 9px 13px;
            color: var(--bg-ink);
            background: white;
        }
    }

    .bg-mz-search-fields {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 8px;
    }

    .bg-mz-section {
        padding-block: clamp(32px, 5vw, 66px);
    }

    .bg-mz-section-heading {
        justify-content: space-between;
        align-items: baseline;
        gap: 14px;
        margin-bottom: 22px;

        a { font-weight: 700; }
    }

    .bg-mz-categories {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 12px;

        a {
            display: grid;
            grid-template-rows: auto auto 1fr;
            gap: 7px;
            min-width: 0;
            padding: 12px;
            border: 1px solid var(--bg-border);
            border-radius: 11px;
            background: #fff;

            &:hover { border-color: var(--bg-green); background: #f4f8f1; }
        }

        .bg-mz-category-image {
            display: block;
            width: 100%;
            height: auto;
            aspect-ratio: 3 / 2;
            object-fit: cover;
            border-radius: 7px;
            background: #eff0f1;
        }

        span { color: #495d54; font-size: .9rem; }
    }

    .bg-mz-vehicle {
        scroll-margin-top: 20px;

        .ocp-hero-marketplace {
            padding: 0;
            height: 100%;
            background: transparent;
        }

        .ocp-hero-marketplace > .container {
            width: 100%;
            max-width: none;
            padding-inline: 0;
        }

        .ocp-vehicle-finder-card {
            padding: 22px;
            background: #fff;
            border: 1px solid var(--bg-border);
            border-radius: 12px;
        }

        .bg-mz-vin {
            margin-top: 14px;
            padding-top: 14px;
            border-top: 1px solid var(--bg-border);
        }

        .btn-ocp-primary {
            background: var(--bg-green);
            color: #fff;
            border-color: var(--bg-green);
        }
    }

    .bg-mz-trade {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 22px;

        h2 { max-width: 23ch; }
        p { margin-top: 10px; }
        .bg-mz-button { flex-shrink: 0; }
    }

    .bg-mz-footer {
        background: var(--bg-deep);
        color: #fff;
    }

    .bg-mz-footer-grid {
        display: grid;
        grid-template-columns: 1.1fr 1fr .6fr;
        gap: 25px;
        padding-block: 38px;

        h2, h3 { font-size: 1.08rem; font-weight: 740; margin-bottom: 8px; }
        p, address { color: #dce8df; margin-bottom: 0; }
        nav { display: grid; align-content: start; gap: 8px; }
    }

    @media (max-width: 1020px) {
        .bg-mz-nav { flex-wrap: wrap; }
        .bg-mz-menu { order: 3; width: 100%; overflow-x: auto; white-space: nowrap; }
    }

    @media (max-width: 820px) {
        .bg-mz-container {
            width: calc(100% - 36px);
        }

        .bg-mz-marketplace { grid-template-columns: 1fr; }
        .bg-mz-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
        .bg-mz-search { grid-template-columns: 1fr; }
    }

    @media (max-width: 535px) {
        .bg-mz-nav {
            display: grid;
            grid-template-columns: minmax(0, 1fr) auto;
            gap: 10px 12px;
        }

        .bg-mz-brand { grid-column: 1 / -1; }
        .bg-mz-menu { grid-column: 1; grid-row: 2; }
        .bg-mz-button-nav { grid-column: 2; grid-row: 2; }

        .bg-mz-section-heading, .bg-mz-trade { align-items: flex-start; flex-direction: column; }
        .bg-mz-footer-grid { grid-template-columns: 1fr; }
        .bg-mz-search-fields { grid-template-columns: 1fr; }
    }

    @media (prefers-reduced-motion: reduce) {
        .bg-mz-button { transition: none; }
    }
}

.bg-mz-catalogue {
    .bg-catalogue-results {
        padding-block: clamp(22px, 4vw, 42px) 48px;
        background: var(--bg-paper);
    }

    .bg-catalogue-heading {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: 12px;

        h1 {
            margin: 0;
            color: var(--bg-ink);
            font-size: clamp(1.5rem, 4vw, 2.25rem);
            font-weight: 750;
            line-height: 1.15;
        }
    }

    .bg-catalogue-basket {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        min-height: 44px;
        padding: 9px 13px;
        border-radius: 7px;
        background: var(--bg-green);
        color: #fff;
        font-size: .875rem;
        font-weight: 700;
        text-decoration: none;

        &:hover, &:focus-visible { background: var(--bg-deep); color: #fff; }
    }

    .bg-catalogue-basket-count {
        padding: 0 6px;
        border-radius: 4px;
        background: #fff;
        color: var(--bg-deep);
    }

    .bg-catalogue-ranges {
        display: flex;
        flex-wrap: wrap;
        gap: 0 20px;
        margin-block: 12px 16px;
        border-bottom: 1px solid var(--bg-border);

        a {
            display: inline-flex;
            align-items: center;
            min-height: 44px;
            border-bottom: 3px solid transparent;
            color: #46544e;
            font-size: .875rem;
            font-weight: 650;
            text-decoration: none;
        }

        a:hover, a[aria-current="page"] { color: var(--bg-green); }
        a[aria-current="page"] { border-bottom-color: var(--bg-green); }
    }

    .bg-catalogue-vehicle {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: 8px 20px;
        margin-bottom: 16px;
        padding: 10px 14px;
        border: 1px solid #c9d9d0;
        border-radius: 8px;
        background: #edf4ef;
        color: var(--bg-deep);
        font-size: .9375rem;
    }

    .bg-catalogue-vehicle-info,
    .bg-catalogue-vehicle-actions {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .bg-catalogue-vehicle-actions a {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        min-height: 40px;
        color: var(--bg-green);
        font-weight: 700;
        text-decoration: underline;
        text-underline-offset: 3px;
    }

    .bg-catalogue-vehicle-actions .bg-catalogue-clear-vehicle {
        margin-right: 8px;
        font-weight: 500;
    }

    .bg-catalogue-count {
        margin-bottom: 12px;
        color: #46544e;
        font-size: .9375rem;
    }

    .bg-catalogue-category-prompt {
        padding: 20px;
        border: 1px solid var(--bg-border);
        border-radius: 8px;
        background: #fff;

        a { color: var(--bg-green); font-weight: 700; }
    }

    .bg-catalogue-mobile-filter {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
        width: 100%;
        min-height: 44px;
        padding: 8px 10px;
        border: 1px solid #c9d9d0;
        border-radius: 6px;
        background: #f4f8f5;
        color: var(--bg-green);
        font-weight: 700;
        text-align: left;

        &[aria-expanded="true"] i { transform: rotate(180deg); }
    }

    .bg-mz-catalogue-filter {
        display: flex;
        flex-wrap: wrap;
        align-items: end;
        gap: 12px;
        padding: 18px;
        border: 1px solid var(--bg-border);
        border-radius: 12px;
        background: #fff;

        > div { flex: 1 1 200px; }
        > div:first-of-type { flex-grow: 2; }

        .form-label { font-weight: 700; }
        .form-control, .form-select { min-height: 46px; }
    }

    .ocp-product-card {
        border-color: var(--bg-border);
        border-radius: 12px;
    }
}

.bg-mz .bg-mz-public-card {
    max-width: 760px;
    padding: 24px;
    border: 1px solid var(--bg-border);
    border-radius: 12px;
    background: #fff;

    h1, h2 { margin-bottom: 12px; }
    p, address { margin-bottom: 16px; }

    details {
        padding-block: 12px;
        border-top: 1px solid var(--bg-border);
    }

    summary { cursor: pointer; font-weight: 700; }
    details p { margin: 8px 0 0; }
}

*,*::before,*::after{box-sizing:border-box}
body{margin:0}
[hidden]{display:none!important}
.visually-hidden,.skip:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.skip:focus{display:block;padding:.75rem;background:white}
.bg-mz .logo{flex:none;border-radius:10px}
.bg-mz .bg-mz-search-wrap{background:#133b30;color:#fff}
.bg-mz .bg-mz-search input,.bg-mz .vehicle input{width:100%;min-width:0;border:1px solid #d6ded5;border-radius:8px;padding:11px;color:#10251f;background:white;font:inherit}
.bg-mz .vehicle{display:flex;flex-direction:column;gap:18px;padding:24px;background:white;border:1px solid #dedfd4;border-radius:14px}
.bg-mz .vehicle h2{font-size:1.55rem}
.vehicle label{display:block;margin-bottom:6px;font-weight:650}
.wide{align-self:flex-start}
.promo-controls{display:flex;align-items:center;justify-content:center;gap:14px;padding:10px}
.promo-controls button{width:42px;height:42px;border:1px solid #c6d2c9;border-radius:50%;background:#fff;color:#133b30;font:700 1.5rem system-ui;cursor:pointer}
.category-grid,.info-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr));gap:18px}
.category-grid a,.brand-links a{display:block;overflow:hidden;border:1px solid #dedfd4;border-radius:10px;background:white}
.category-grid img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}
.category-grid strong,.category-grid span{display:block;padding:0 12px 10px}
.category-grid strong{padding-top:12px}
.brand-links{display:flex;flex-wrap:wrap;gap:9px}
.brand-links a{padding:10px 15px;font-weight:700}
.category-grid a:hover,.brand-links a:hover{text-decoration:underline}
.info-grid p,.info-grid details{margin-top:.85rem}
summary{cursor:pointer}
@media(max-width:780px){.bg-mz .bg-mz-nav{flex-wrap:wrap}.bg-mz .bg-mz-menu{order:3;width:100%;flex-wrap:wrap;gap:12px}.bg-mz .logo{width:48px;height:48px}}
@media(max-width:420px){.bg-mz .bg-mz-container{width:calc(100% - 28px)}.bg-mz .vehicle{padding:16px}}

.bg-mz .bg-mz-nav { min-height:147px }
.bg-mz .bg-mz-search-wrap { background:transparent; color:var(--bg-ink) }
.bg-mz .bg-mz-search { min-height:104px }
.bg-mz .bg-mz-marketplace { margin-top:14px; gap:16px }
.bg-mz .bg-mz-vehicle { background:linear-gradient(145deg,#1b2838,#2d394b) }
.bg-mz .vehicle { gap:14px; padding:22px; border-radius:12px }
.bg-mz .vehicle h2 { font-size:1.08rem; letter-spacing:-.025em }
.vehicle-fields { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px 8px; margin-bottom:11px }
.vehicle-fields select { display:block; width:100%; min-height:38px; margin-top:4px; padding:5px 7px; border:1px solid #d5d8d6; border-radius:6px; color:var(--bg-ink); font:inherit; background:#fff }
.vehicle-fields select:disabled { background:#ededed; color:#68737a }
.bg-mz .vehicle input { padding:8px 10px }
.bg-mz .vehicle-submit { background:#133b30; color:#fff; min-height:40px }
#vehicle-submit { width:100%; margin-top:8px }
#vehicle-submit:disabled { opacity:.62; cursor:default }
.vehicle-fallback { display:inline-block; margin-top:8px; font-size:.86rem; text-decoration:underline!important }
.vin-form { border-top:1px solid #dedfd4; padding-top:14px }
#vehicle-status { margin-top:7px; font-size:.9rem }
.bg-mz .bg-mz-promo-dots button { width:12px; min-height:20px; padding:0; border:0; background:transparent; }
.bg-mz .bg-mz-promo-dots button::before { content:''; display:block; width:6px; height:6px; margin:auto; border-radius:50%; background:#143548; }
.bg-mz .bg-mz-promo-dots button[aria-current=true]::before { width:12px; border-radius:4px; }
.bg-mz .bg-mz-promo-caption { min-height:150px }
@media(max-width:780px){.bg-mz .bg-mz-nav{min-height:100px}.vehicle-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
