body.spacer-theme .vehicle-search--homepage{
    margin-top:var(--section-space-lg);
}

body.spacer-theme .vehicle-search__card{
    max-width:var(--max-width-card);
    margin:0 auto;
    padding:var(--space-32);
    background:var(--decor-gradient-panel-warm);
    border:1px solid var(--border-light);
    border-radius:var(--radius-xl);
    box-shadow:var(--shadow-lg);
}

body.spacer-theme .vehicle-search__header{
    margin-bottom:var(--content-flow-lg);
}

body.spacer-theme .vehicle-search__eyebrow{
    display:inline-block;
    margin-bottom:var(--cluster-gap-sm);
    color:var(--brand-primary);
    font-size:var(--fs-12);
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:var(--type-kicker-tracking);
}

body.spacer-theme .vehicle-search__title{
    margin:0 0 var(--cluster-gap-sm);
    font-size:var(--type-display-page);
    line-height:var(--lh-section);
    font-weight:800;
}

body.spacer-theme .vehicle-search__text{
    margin:0;
    max-width:var(--max-width-copy);
    color:var(--text-secondary);
    font-size:var(--fs-16);
    line-height:var(--lh-body-relaxed);
}

body.spacer-theme .vehicle-search__tabs{
    display:inline-flex;
    gap:var(--cluster-gap-xs);
    padding:var(--space-6);
    background:var(--surface-warm-soft);
    border-radius:var(--control-radius);
    margin-bottom:var(--content-flow-lg);
}

body.spacer-theme .vehicle-search__tab{
    border:0;
    background:transparent !important;
    color:var(--text-secondary) !important;
    padding:var(--space-12) var(--space-16);
    border-radius:var(--control-radius-compact);
    font-weight:700;
    cursor:pointer;
    transition:all var(--motion-base) var(--ease-standard);
    box-shadow:none !important;
}

body.spacer-theme .vehicle-search__tab.is-active{
    background:var(--state-active-text) !important;
    color:var(--state-selected-text) !important;
    box-shadow:var(--state-hover-shadow-control);
}

body.spacer-theme .vehicle-search__panel[hidden]{
    display:none !important;
}

body.spacer-theme .plate-search-form,
body.spacer-theme .form-group{
    display:flex;
    flex-direction:column;
    gap:var(--cluster-gap-xs);
}

body.spacer-theme .form-label{
    font-size:var(--fs-14);
    font-weight:700;
    color:var(--text-primary);
}

body.spacer-theme .form-input,
body.spacer-theme .custom-select__search,
body.spacer-theme .custom-select__trigger{
    min-height:var(--control-height-md);
    width:100%;
    border:1px solid var(--control-border-color);
    border-radius:var(--control-radius);
    background:var(--control-bg);
    color:var(--control-text);
}

body.spacer-theme .form-input,
body.spacer-theme .custom-select__search{
    padding:0 var(--control-padding-x-md);
}

body.spacer-theme .form-input:focus,
body.spacer-theme .custom-select__search:focus{
    outline:none;
    border-color:var(--control-border-color-focus);
    box-shadow:var(--control-focus-shadow);
}

body.spacer-theme .plate-search{
    display:grid;
    grid-template-columns:1fr auto;
    gap:var(--space-12);
    align-items:end;
}

body.spacer-theme .plate-input{
    display:flex;
    align-items:stretch;
    border:1px solid var(--border-medium);
    border-radius:var(--radius-md);
    overflow:hidden;
    background:var(--control-bg);
}

body.spacer-theme .plate-input:focus-within{
    border-color:var(--brand-primary);
    box-shadow:var(--control-focus-shadow);
}

body.spacer-theme .plate-input__country{
    min-width:56px;
    display:grid;
    place-items:center;
    background:var(--info);
    color:var(--button-primary-text);
    font-weight:800;
    letter-spacing:var(--type-kicker-tracking);
}

body.spacer-theme .plate-input .form-input{
    border:0;
    border-radius:var(--radius-none);
    box-shadow:none;
}

body.spacer-theme .btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:var(--button-height-lg);
    border:0;
    border-radius:var(--button-radius);
    padding:0 var(--button-padding-x-md);
    font-weight:700;
    cursor:pointer;
    transition:var(--transition-button);
}

body.spacer-theme .btn:disabled{
    opacity:var(--state-disabled-strong-opacity);
    cursor:wait;
}

body.spacer-theme .btn-primary{
    background:var(--button-primary-bg);
    color:var(--button-primary-text);
}

body.spacer-theme .btn-primary:hover{
    background:var(--button-primary-bg-hover);
    transform:var(--state-hover-lift);
    box-shadow:var(--state-hover-shadow-card);
}

body.spacer-theme .btn-wide{
    width:100%;
}

body.spacer-theme .form-help{
    margin:0;
    color:var(--text-muted);
    font-size:var(--fs-14);
}

body.spacer-theme .form-message{
    min-height:var(--size-20);
    margin-top:var(--space-4);
    font-size:var(--fs-14);
    font-weight:600;
}

body.spacer-theme .form-message.is-error{
    color:var(--error);
}

body.spacer-theme .form-message.is-success{
    color:var(--success);
}

body.spacer-theme .form-message.is-loading{
    color:var(--info);
}

body.spacer-theme .vehicle-search__steps{
    display:flex;
    flex-wrap:wrap;
    gap:var(--space-10);
    margin:0 0 var(--space-20);
}

body.spacer-theme .vehicle-search__step{
    display:inline-flex;
    align-items:center;
    min-height:var(--size-36);
    padding:0 var(--space-12);
    border-radius:999px;
    background:var(--bg-muted);
    color:var(--text-muted);
    font-size:var(--fs-13);
    font-weight:700;
}

body.spacer-theme .vehicle-search__step.is-active{
    background:var(--brand-soft);
    color:var(--brand-primary);
}

body.spacer-theme .vehicle-search__step.is-complete{
    background:var(--success-bg);
    color:var(--success);
}

body.spacer-theme .selector-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:var(--space-16);
}

body.spacer-theme .custom-select{
    position:relative;
}

body.spacer-theme .custom-select.is-disabled{
    opacity:var(--state-disabled-opacity);
    pointer-events:none;
}

body.spacer-theme .custom-select__trigger{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 var(--control-padding-x-md);
    cursor:pointer;
    background:var(--control-bg) !important;
    color:var(--control-text) !important;
    border:1px solid var(--control-border-color) !important;
    box-shadow:none !important;
}

body.spacer-theme .custom-select.is-disabled .custom-select__trigger{
    background:var(--state-neutral-surface) !important;
    color:var(--state-neutral-text) !important;
}

body.spacer-theme .custom-select__arrow{
    color:var(--text-muted);
    font-size:var(--fs-14);
}

body.spacer-theme .custom-select__dropdown{
    display:none;
    position:absolute;
    top:calc(100% + 8px);
    left:0;
    right:0;
    z-index:var(--z-sticky);
    background:var(--bg-card);
    border:1px solid var(--border-light);
    border-radius:var(--radius-16);
    box-shadow:var(--shadow-md);
    overflow:hidden;
}

body.spacer-theme .custom-select.is-open .custom-select__dropdown{
    display:block;
}

body.spacer-theme .custom-select__search-wrap{
    padding:var(--space-12);
    border-bottom:1px solid var(--border-light);
}

body.spacer-theme .custom-select__search{
    min-height:var(--size-46);
}

body.spacer-theme .custom-select__list{
    list-style:none;
    margin:0;
    padding:var(--space-8);
    max-height:260px;
    overflow:auto;
}

body.spacer-theme .custom-select__option{
    padding:var(--space-12) var(--space-14);
    border-radius:var(--radius-sm);
    cursor:pointer;
    color:var(--text-primary);
    transition:all var(--motion-quick) var(--ease-standard);
}

body.spacer-theme .custom-select__option:hover,
body.spacer-theme .custom-select__option.is-active{
    background:var(--state-neutral-surface);
}

body.spacer-theme .custom-select__option.is-empty{
    color:var(--text-muted);
    cursor:default;
}

body.spacer-theme .manual-search__actions{
    margin-top:var(--space-20);
}

body.spacer-theme .vehicle-search-result{
    margin-top:var(--space-24);
    padding:var(--space-24);
    background:var(--decor-gradient-success-panel);
    border:1px solid rgba(46, 125, 50, 0.18);
    border-radius:var(--radius-lg);
}

body.spacer-theme .vehicle-search-result__header{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:var(--space-20);
    margin-bottom:var(--space-20);
}

body.spacer-theme .vehicle-search-result__eyebrow{
    display:inline-block;
    margin-bottom:var(--space-8);
    color:var(--success);
    font-size:var(--fs-12);
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:var(--type-kicker-tracking);
}

body.spacer-theme .vehicle-search-result__title{
    margin:0 0 var(--space-8);
    font-size:var(--fs-24);
}

body.spacer-theme .vehicle-search-result__text{
    margin:0;
    color:var(--text-secondary);
}

body.spacer-theme .vehicle-search-result__grid{
    display:grid;
    grid-template-columns:repeat(4, minmax(0, 1fr));
    gap:var(--space-16);
    margin:0;
}

body.spacer-theme .vehicle-search-result__item{
    padding:var(--space-18);
    border:1px solid var(--border-light);
    border-radius:var(--radius-16);
    background:var(--bg-card);
}

body.spacer-theme .vehicle-search-result__item dt{
    color:var(--text-muted);
    font-size:var(--fs-12);
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:var(--type-kicker-tracking);
}

body.spacer-theme .vehicle-search-result__item dd{
    margin:var(--space-8) 0 0;
    color:var(--text-primary);
    font-size:var(--fs-18);
    font-weight:700;
}

body.spacer-theme .vehicle-search__trust{
    display:flex;
    flex-wrap:wrap;
    gap:var(--space-12);
    margin-top:var(--space-24);
}

body.spacer-theme .vehicle-search__trust span{
    display:inline-flex;
    align-items:center;
    min-height:var(--size-38);
    padding:0 var(--space-14);
    border-radius:999px;
    background:var(--bg-muted);
    color:var(--text-primary);
    font-size:var(--fs-14);
    font-weight:700;
}

body.spacer-theme .vehicle-search__footer{
    margin-top:var(--space-20);
    padding-top:var(--space-20);
    border-top:1px solid var(--border-light);
}

body.spacer-theme .text-link{
    border:0;
    background:transparent !important;
    padding:0;
    color:var(--brand-primary) !important;
    font-weight:700;
    cursor:pointer;
    box-shadow:none !important;
}

body.spacer-theme .text-link:hover{
    text-decoration:underline;
}

@media (max-width: 992px) {
    body.spacer-theme .selector-grid,
    body.spacer-theme .vehicle-search-result__grid{
        grid-template-columns:repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    body.spacer-theme .vehicle-search__card{
        padding:var(--space-20);
    }

    body.spacer-theme .plate-search,
    body.spacer-theme .vehicle-search-result__header,
    body.spacer-theme .selector-grid,
    body.spacer-theme .vehicle-search-result__grid{
        grid-template-columns:1fr;
        display:grid;
    }

    body.spacer-theme .vehicle-search-result__actions .btn,
    body.spacer-theme .plate-search .btn{
        width:100%;
    }
}

