/* Hide legacy filter */
#filter-type-1{
    display: none !important;
}

/* ===== Container ===== */
.selector-container{
    background: #F5F5F5;
    position: relative;
    left: 50%;
    right: 50%;
    width: 100vw;
    margin-left: -50vw;
    margin-right: -50vw;
}

#vehicle-selector{
    padding: 48px 20px;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

/* ===== Headings ===== */
#vehicle-selector > h1{
    color: #232323;
    text-transform: uppercase;
    letter-spacing: -.025em;
    font-size: 38px;
    line-height: .95;
    font-weight: 600;
    margin: 10px 0 28px 0;
}

#vehicle-selector .subtitle-row{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin: 0 0 14px 0;
}

#vehicle-selector .subtitle-row > h2{
    margin: 0;
    font-size: 22px;
    line-height: 1.1;
}

#vehicle-selector .subtitle-row > span{
    font-size: 13px;
    line-height: 1.35;
    max-width: 420px;
    color: #444;
}

/* ===== EU stars ===== */
#vehicle-selector .eu-plate__stars{
    position: relative;
    width: 26px;
    height: 26px;
    margin-bottom: 2px;
}

#vehicle-selector .eu-plate__stars::before{
    content: "★";
    position: absolute;
    top: 50%;
    left: 50%;
    color: transparent;
    font-size: 7px;
    transform: translate(-50%, -50%);
    text-shadow:
            0 -11px 0 #ffcc00,
            5.5px -9.5px 0 #ffcc00,
            9.5px -5.5px 0 #ffcc00,
            11px 0 0 #ffcc00,
            9.5px 5.5px 0 #ffcc00,
            5.5px 9.5px 0 #ffcc00,
            0 11px 0 #ffcc00,
            -5.5px 9.5px 0 #ffcc00,
            -9.5px 5.5px 0 #ffcc00,
            -11px 0 0 #ffcc00,
            -9.5px -5.5px 0 #ffcc00,
            -5.5px -9.5px 0 #ffcc00;
}

/* ===== 2 COLUMN LAYOUT ===== */
#vehicle-selector .vehicle-layout{
    display: grid !important;
    grid-template-columns: minmax(320px, 380px) minmax(0, 1fr) !important;
    gap: 24px !important;
    margin-top: 16px;
    align-items: start;
}

/* Left column */
#vehicle-selector .vehicle-left{
    background: #ffffff;
    border: 1px solid #e5e5e5;
    padding: 22px;
    height: fit-content;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,.03);
}

#vehicle-selector .plate-label{
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 8px;
    display: block;
    text-align: center;
}

#vehicle-selector #vs-plate{
    text-transform: uppercase;
}

/* ===== Plate / VIN toggle ===== */
#vehicle-selector .plate-mode-toggle{
    display: flex;
    gap: 18px;
    margin-bottom: 18px;
    align-items: center;
    flex-wrap: wrap;
}

#vehicle-selector .vs-radio{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    user-select: none;
}

#vehicle-selector .vs-radio input{
    transform: translateY(1px);
}

/* ===== EU license plate input ===== */
#vehicle-selector .eu-plate{
    display: grid;
    grid-template-columns: 68px 1fr;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

#vehicle-selector .eu-plate__flag{
    background: #0b4aa2;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 4px;
    gap: 2px;
}

#vehicle-selector .eu-plate__country{
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .5px;
    line-height: 1;
}

#vehicle-selector .eu-plate__input{
    border: 0 !important;
    border-radius: 0 !important;
    height: 56px;
    padding: 10px 14px !important;
    font-size: 17px !important;
    font-weight: 700;
    letter-spacing: .5px;
    outline: none !important;
}

#vehicle-selector .eu-plate__input:focus{
    box-shadow: none !important;
}

#vehicle-selector .vs-ident{
    margin-top: 10px;
}

#vehicle-selector .vs-detect-btn{
    height: 54px;
    font-weight: 800;
    letter-spacing: .5px;
    text-transform: uppercase;
    border-radius: 8px;
    margin-top: 14px !important;
}

#vehicle-selector .vs-ident .text-muted{
    margin-top: 12px !important;
    font-size: 13px;
    line-height: 1.35;
}

/* Right column */
#vehicle-selector .vehicle-right{
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ===== Better select row formatting ===== */
#vehicle-selector .vs-select-row{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: center;
}

#vehicle-selector select, #vehicle-parts-left select{
    border: 1px solid #b93241 !important;
    background: #ffffff;
    border-radius: 6px;
    font-size: 14px !important;
    font-weight: 700;
    padding: 0 44px 0 12px !important;
    height: 40px;
    line-height: 40px;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: none;
}

/* Custom arrow */
#vehicle-selector .select-wrap, #vehicle-parts-left .select-wrap{
    position: relative;
}

#vehicle-selector .select-wrap select{
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

#vehicle-selector .select-wrap select::-ms-expand{
    display: none;
}

#vehicle-selector .select-wrap::after, #vehicle-parts-left .select-wrap::after{
    content: "";
    position: absolute;
    right: 16px;
    top: 50%;
    width: 9px;
    height: 9px;
    border-right: 2px solid #b93241;
    border-bottom: 2px solid #b93241;
    transform: translateY(-50%) rotate(45deg);
    transition: transform .18s ease;
    pointer-events: none;
}

/* ===== Full width results under section ===== */
#vehicle-selector .vs-results-block{
    margin-top: 26px;
}

/* ===== Products grid ===== */
#vehicle-selector #vs-results.vs-grid{
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
}

@media (max-width: 1199px){
    #vehicle-selector #vs-results.vs-grid{
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
@media (max-width: 991px){
    #vehicle-selector #vs-results.vs-grid{
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 575px){
    #vehicle-selector #vs-results.vs-grid{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Cards */
#vehicle-selector .vs-card{
    border: 1px solid #e5e5e5;
    background: #fff;
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 6px;
    overflow: hidden;
}

#vehicle-selector .vs-card:hover{
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
}

#vehicle-selector .vs-img{
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

#vehicle-selector .vs-img img{
    max-height: 120px;
    max-width: 100%;
    object-fit: contain;
}

#vehicle-selector .vs-body{
    padding: 10px;
    text-align: center;
}

#vehicle-selector .vs-brand{
    font-weight: 900;
    font-size: 13px;
}

#vehicle-selector .vs-num{
    color: #777;
    font-size: 12px;
    font-weight: 700;
}

#vehicle-selector .vs-name{
    font-size: 12px;
    line-height: 1.35;
}

/* ===== Mobile: stack columns & selects ===== */
@media (max-width: 991px){
    #vehicle-selector .vehicle-layout{
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    #vehicle-selector .vehicle-right{
        display: block;
    }

    #vehicle-selector .vs-select-row{
        grid-template-columns: 1fr;
        gap: 12px;
    }

    #vehicle-selector .subtitle-row{
        flex-direction: column;
        align-items: flex-start;
    }

    #vehicle-selector .subtitle-row > span{
        max-width: none;
    }
}

.vs-vin-options{
    margin-top: 10px;
}

.vs-vin-options__header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0 0 10px 0;
}

.vs-vin-options__title{
    font-weight: 700;
    margin: 0;
}

.vs-vin-options__close{
    border: 1px solid #b93241 !important;
    background: #ffffff;
    border-radius: 6px;
    font-size: 14px !important;
    font-weight: 700;
    padding: 6px 10px;
    cursor: pointer;
    line-height: 1;
    user-select: none;
}

.vs-vin-options__close:hover{
    filter: brightness(0.98);
}

.vs-vin-options__grid{
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

@media (max-width: 1200px){
    .vs-vin-options__grid{
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 992px){
    .vs-vin-options__grid{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 576px){
    .vs-vin-options__grid{
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

.vs-vin-options__card{
    border: 1px solid #b93241 !important;
    background: #ffffff;
    border-radius: 6px;
    font-size: 14px !important;
    font-weight: 700;
    padding: 10px 12px;
    cursor: pointer;
    user-select: none;
    line-height: 1.2;
}

.vs-vin-options__card:hover{
    filter: brightness(0.98);
}

.vs-vin-options__hint{
    font-size: 12px;
    opacity: .8;
    font-weight: 400;
    margin-top: 6px;
}

/* FULL CONTAINER LOADING OVERLAY */
.vs-loading-overlay{
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
}

.vs-loading-overlay--hidden{
    display: none;
}

.vs-spinner{
    width: 48px;
    height: 48px;
    border: 4px solid #e5e5e5;
    border-top: 4px solid #b93241;
    border-radius: 50%;
    animation: vs-spin 0.8s linear infinite;
}

@keyframes vs-spin{
    to{
        transform: rotate(360deg);
    }
}

/* ===== SIDEBAR MODE ===== */
.vehicle-layout--sidebar{
    display: block !important;
    margin-top: 10px;

    background: #b93241;
    padding: 16px 16px;
    border-radius: 4px;
    margin-bottom: 28px;
}

.vehicle-layout--sidebar button.active {
    background: #000000 !important;
    color: #ffffff;
}

.vehicle-layout--sidebar .vs-tab-nav > .vs-tab-btn{
    background: #f1f1f1;
}
.vehicle-layout--sidebar .vehicle-left,
.vehicle-layout--sidebar .vehicle-right{
    background: none;
    border: none;
    padding: 0;
    box-shadow: none;
}

.vs-tabs{
    display: flex;
    flex-direction: column;
}

.vs-tab-nav{
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
}

.vs-tab-btn{
    flex: 1;
    border: 1px solid #b93241;
    background: #fff;
    padding: 8px 10px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    border-radius: 6px;
}

.vs-tab-btn.active{
    background: #b93241;
    color: #fff;
}

.vs-tab-content{
    display: none;
}

.vs-tab-content.active{
    display: block;
}

#vehicle-parts-right .card-block{
    padding: 0;
}

.selector-container--sidebar #vehicle-selector{
    padding: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    width: 100% !important;
}

.selector-container--sidebar{
    background: transparent !important;
    position: static !important;
    left: auto !important;
    right: auto !important;
    width: auto !important;
    margin: 0 !important;
}

.selector-container--sidebar #vehicle-selector .vehicle-layout{
    display: block !important;
    grid-template-columns: none !important;
    gap: 0 !important;
    margin-top: 0 !important;
}

.selector-container--sidebar #vehicle-selector .vs-select-row{
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
}

.selector-container--sidebar #vehicle-selector .vs-col{
    width: 100% !important;
}

.selector-container--sidebar #vehicle-selector .select-wrap,
.selector-container--sidebar #vehicle-selector select{
    width: 100% !important;
}

.selector-container--sidebar #vehicle-selector .subtitle-row{
    display: none !important;
}

.selector-container--sidebar .vs-vin-options__grid--list{
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

.selector-container--sidebar .vs-vin-options__grid--list .vs-vin-options__card{
    width: 100%;
}

/* =========================
   HOME WIZARD
   ========================= */
#vehicle-selector .vs-home-wizard{
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#vehicle-selector .vs-home-wizard__steps{
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

#vehicle-selector .vs-step-chip{
    border: 1px solid #d9d9d9;
    background: #fff;
    border-radius: 999px;
    padding: 8px 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 700;
    font-size: 13px;
    transition: border-color .15s ease, color .15s ease, background .15s ease;
}

#vehicle-selector .vs-step-chip__nr{
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #f1f1f1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    flex: 0 0 24px;
}

#vehicle-selector .vs-step-chip.is-active{
    border-color: #b93241;
    color: #b93241;
}

#vehicle-selector .vs-step-chip.is-active .vs-step-chip__nr{
    background: #b93241;
    color: #fff;
}

#vehicle-selector .vs-step-chip.is-done{
    border-color: #b93241;
}

#vehicle-selector .vs-step-chip.is-done .vs-step-chip__nr{
    background: #b93241;
    color: #fff;
}

#vehicle-selector .vs-home-wizard__panel{
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,.03);
}

#vehicle-selector .vs-step-panel{
    display: none;
}

#vehicle-selector .vs-step-panel.active{
    display: block;
}

#vehicle-selector .vs-step-panel__head{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

#vehicle-selector .vs-step-panel__title{
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.2;
}

#vehicle-selector .vs-step-panel__head .vs-step-panel__title{
    margin-bottom: 0;
}

#vehicle-selector .vs-step-subtitle{
    font-size: 13px;
    color: #666;
    margin: -2px 0 10px 0;
    font-weight: 700;
}

#vehicle-selector .vs-step-backlink{
    border: 0;
    background: transparent;
    color: #b93241;
    font-size: 13px;
    font-weight: 800;
    padding: 0;
    cursor: pointer;
    text-decoration: underline;
}

#vehicle-selector .vs-step-options{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    align-content: start;
}

#vehicle-selector .vs-option-btn{
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 8px;
    padding: 10px 12px;
    text-align: left;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    cursor: pointer;
    width: 100%;
    transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}

#vehicle-selector .vs-option-btn:hover{
    border-color: #b93241;
}

#vehicle-selector .vs-option-btn.is-active{
    background: #b93241;
    border-color: #b93241;
    color: #fff;
}

/* only engine step scrolls */
#vehicle-selector #vs-panel-engine .vs-step-options{
    max-height: 380px;
    overflow-y: auto;
    padding-right: 4px;
}

#vehicle-selector #vs-panel-engine .vs-option-btn{
    padding: 9px 12px;
    font-size: 12.5px;
    line-height: 1.2;
}

/* ===== Make logos ===== */
#vehicle-selector .vs-step-options--makes{
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 10px;
    align-items: stretch;
}

#vehicle-selector .vs-make-logo-btn{
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 10px;
    aspect-ratio: 1 / 1;
    width: 100%;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
    overflow: hidden;
}

#vehicle-selector .vs-make-logo-btn:hover{
    border-color: #b93241;
}

#vehicle-selector .vs-make-logo-btn.is-active{
    border-color: #b93241;
    box-shadow: inset 0 0 0 1px #b93241;
    background: #fff;
}

#vehicle-selector .vs-make-logo-btn__img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

#vehicle-selector .vs-make-logo-btn__text{
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    color: #232323;
    word-break: break-word;
}

@media (max-width: 767px){
    #vehicle-selector .vs-step-options--makes{
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
    }

    #vehicle-selector .vs-make-logo-btn{
        padding: 8px;
    }

    #vehicle-selector .vs-make-logo-btn__img{
        max-width: 74%;
        max-height: 74%;
    }
}

.vehicle-product-tabs {
    margin-top: 1rem;
}

.vehicle-product-tabs__nav {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    border-bottom: 1px solid #ddd;
    margin-bottom: 16px;
}

.vehicle-product-tabs__btn {
    border: 0;
    background: transparent;
    padding: 10px 14px;
    cursor: pointer;
    font-weight: 600;
    border-bottom: 2px solid transparent;
}

.vehicle-product-tabs__btn.is-active {
    border-bottom-color: #000;
}

.vehicle-product-tabs__panel[hidden] {
    display: none !important;
}

.vehicle-product-tabs .data-sheet {
    margin-bottom: 0;
}

.vehicle-fitment-group {
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    margin-bottom: 10px;
    overflow: hidden;
}

.vehicle-fitment-group__toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    border: 0;
    background: #f8f8f8;
    cursor: pointer;
    font-weight: 600;
    text-align: left;
}

.vehicle-fitment-group__panel {
    padding: 10px 14px;
    background: #fff;
}

.vehicle-fitment-group__panel[hidden] {
    display: none !important;
}

.vehicle-fitment-models {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vehicle-fitment-models__item {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.vehicle-fitment-models__item:last-child {
    border-bottom: 0;
}

.vehicle-fitment-models__engine {
    color: #666;
    font-size: 0.95rem;
    margin-top: 2px;
}

.vehicle-fitment-model-group {
    border-top: 1px solid #eee;
}

.vehicle-fitment-model-group__toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    border: 0;
    background: #fff;
    cursor: pointer;
    font-weight: 600;
    text-align: left;
}

.vehicle-fitment-model-group__panel[hidden] {
    display: none !important;
}

.vehicle-fitment-engine__list {
    list-style: none;
    margin: 0;
    padding: 0 12px 10px 12px;
}

.vehicle-fitment-engine__item {
    padding: 6px 0;
    color: #555;
    border-top: 1px dashed #eee;
}

.vehicle-fitment-engine__item:first-child {
    border-top: 0;
}

.vehicle-specs {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vehicle-specs__row {
    display: grid;
    grid-template-columns: minmax(180px, 260px) 1fr;
    gap: 16px;
    align-items: start;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.vehicle-specs__label {
    font-weight: 600;
}

.vehicle-specs__value {
    word-break: break-word;
}

.vehicle-oem-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 24px;
}

.vehicle-oem-list__item {
    padding: 6px 0;
    border-bottom: 1px solid #eee;
    word-break: break-word;
}

@media (max-width: 767px) {
    .vehicle-oem-list {
        grid-template-columns: 1fr;
    }
}

#module-vehicle-parts .breadcrumb {
    margin-bottom: 40px;
}

#module-vehicle-parts .product-miniature .thumbnail-top {
    height: 250px; /* choose the visual height you want */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #fff;
}

#module-vehicle-parts .product-miniature .product-thumbnail {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

#module-vehicle-parts .product-miniature .product-thumbnail picture {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

#module-vehicle-parts .product-miniature .product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* keeps full image visible */
    display: block;
}
#module-vehicle-parts .product-miniature .thumbnail-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

#module-vehicle-parts  .product-miniature .product-description {
    flex-grow: 1;
}

#module-vehicle-parts  .product-miniature .product-title span{
    color: #232323;
    font-size: 19px !important;
    line-height: .94737em;
    font-weight: 600;
    margin: 25px 0 0 0;
    -ms-word-wrap: break-word;
    word-wrap: break-word;
}

.vehicle-filter-collapse {
    background: #fff;
    margin-bottom: 12px;
    overflow: hidden;
    border-bottom: 1px solid #D0D5DB;
}

.vehicle-filter-summary {
    list-style: none;
    cursor: pointer;
    padding: 0;
    margin: 0;
    position: relative;
}

.vehicle-filter-summary::-webkit-details-marker {
    display: none;
}

.vehicle-filter-summary:after {
    content: "";
    position: absolute;
    right: 4px;
    top: 50%;
    width: 6px;
    height: 6px;
    border-right: 2px solid #AAB2BD;
    border-bottom: 2px solid #AAB2BD;
    transform: translateY(-60%) rotate(45deg);
}

details[open] .vehicle-filter-summary:after {
    transform: translateY(-30%) rotate(-135deg);
}

.vehicle-filter-options {
    padding: 10px 0px 14px 0px;
    max-height: 260px;
    overflow: auto;
}

.vehicle-check-option {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 4px;
    font-size: 13px;
    line-height: 1.3;
    cursor: pointer;
}

.vehicle-check-option input {
    margin-top: 2px;
    flex: 0 0 auto;
}

.vehicle-check-option__label {

}

.vehicle-check-option__count {
    flex: 0 0 auto;
    margin-left: auto;
    color: #6b7280;
    font-weight: 700;
    text-align: right;
    padding-left: 8px;
}
.vehicle-subcats {
    margin-bottom: 1rem;
}

.vehicle-subcats-grid > [class*="col-"] {
    margin-bottom: .5rem;
}

.vehicle-subcat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 10px 0 0;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    background: #fff;
    text-decoration: none !important;
    transition: border-color .12s ease, background .12s ease;
}

.vehicle-subcat-item:hover {
    border-color: #b93241;
}

.vehicle-subcat-item.is-active {
    border-color: #b93241;
    background: #fff6f7;
}

.vehicle-subcat-thumb {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border: 1px solid #eee;
    border-radius: 6px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.vehicle-subcat-thumb img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.vehicle-subcat-name {
    flex: 1;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    color: #232323;
}

.vehicle-subcat-count {
    flex: 0 0 auto;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    border-radius: 12px;
    background: #f2f2f2;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vehicle-subcats-grid .col-lg-4 {
    flex: 0 0 25%;
    max-width: 25%;
}

@media (max-width: 991px) {
    .vehicle-subcats-grid .col-lg-4 {
        flex: 0 0 33.33%;
        max-width: 33.33%;
    }
}

@media (max-width: 767px) {
    .vehicle-subcats-grid .col-lg-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 480px) {
    .vehicle-subcats-grid .col-lg-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.vehicle-parts-loading {
    opacity: .6;
    pointer-events: none;
}

#module-vehicle-parts .h4.mb-4{
    margin-bottom: 28px;
}

.vehicle-code-form .vehicle-code-row {
    display: flex !important;
    align-items: stretch !important;
    flex-wrap: nowrap !important;
    gap: 12px;
}

.vehicle-code-form .vehicle-code-input {
    display: block !important;
    width: 50% !important;
    max-width: 50% !important;
    flex: 0 0 50% !important;
    min-width: 0;
}

.vehicle-code-form .vehicle-code-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: auto !important;
    max-width: none !important;
    flex: 0 0 auto !important;
    white-space: nowrap;
}

@media (max-width: 767px) {
    .vehicle-code-form .vehicle-code-row {
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        gap: 10px;
    }

    .vehicle-code-form .vehicle-code-input {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

    .vehicle-code-form .vehicle-code-btn {
        width: 100% !important;
        flex: 0 0 100% !important;
    }
}

.vehicle-product-image-box {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border: 1px solid #eee;
    background: #fff;
    overflow: hidden;
}

.vehicle-product-image-box picture {
    position: absolute;
    inset: 0;
    display: block;
}

.vehicle-product-image-box img {
    position: absolute;
    top: 50%;
    left: 50%;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: contain;
    display: block;
}

.vehicle-product-no-image {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
    text-align: center;
    padding: 20px;
}