.lxev-car-selector {
    --lxev-selector-gold: #edca60;
    box-sizing: border-box;
    width: 100%;
    margin: 0 auto;
    padding: clamp(24px, 4vw, 48px);
    border: 1px solid #343839;
    border-radius: 16px;
    background: #151719;
    color: #f6f6f3;
    font-family: inherit;
    text-align: left;
}

.lxev-car-selector *,
.lxev-car-selector *::before,
.lxev-car-selector *::after { box-sizing: border-box; }

.lxev-car-selector .lxev-car-selector-eyebrow {
    margin: 0 0 16px;
    color: var(--lxev-selector-gold);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.lxev-car-selector .lxev-car-selector-heading h2 {
    margin: 0 0 16px;
    padding: 0;
    color: #f6f6f3;
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 650;
    line-height: 1.15;
    letter-spacing: -.025em;
    text-transform: none;
}

.lxev-car-selector .lxev-car-selector-heading > p:not(.lxev-car-selector-eyebrow) {
    max-width: 620px;
    margin: 0 0 32px;
    color: #bdc2c1;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
}

.lxev-car-selector .lxev-car-selector-form {
    margin: 0;
}

.lxev-car-selector .lxev-car-selector-fields {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px 16px;
    margin: 0 0 24px;
}

.lxev-car-selector .lxev-car-selector-field { min-width: 0; margin: 0; }

.lxev-car-selector label {
    display: block;
    margin: 0 0 9px;
    padding: 0;
    color: #e6e9e7;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    text-transform: none;
    letter-spacing: 0;
}

.lxev-car-selector select {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: 54px;
    margin: 9px 0 0;
    padding: 0 38px 0 16px;
    border: 1px solid #565d5e;
    border-radius: 8px;
    background-color: #222628;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23e6e9e7' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    color: #f6f6f3;
    box-shadow: none;
    font-family: inherit;
    font-size: 15px;
    font-weight: 400;
    line-height: normal;
    text-overflow: ellipsis;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    color-scheme: dark;
}

.lxev-car-selector select:disabled {
    border-color: #3e4546;
    background-color: #1c2022;
    color: #aeb6b5;
    opacity: 1;
    cursor: not-allowed;
}

.lxev-car-selector .lxev-car-selector-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 4px;
}

.lxev-car-selector button {
    min-height: 54px;
    margin: 0;
    padding: 12px 24px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: var(--lxev-selector-gold);
    color: #171a19;
    box-shadow: none;
    font-family: inherit;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.5;
    text-align: center;
    text-transform: none;
    letter-spacing: 0;
    white-space: normal;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease;
}

.lxev-car-selector button:hover:not(:disabled) {
    background: #f2d782;
    color: #171a19;
    box-shadow: none;
}

.lxev-car-selector button:disabled {
    border-color: #414849;
    background: #303738;
    color: #b9c1bf;
    opacity: 1;
    cursor: not-allowed;
}

.lxev-car-selector .lxev-car-selector-retry {
    border-color: #697373;
    background: transparent;
    color: #f6f6f3;
}

.lxev-car-selector .lxev-car-selector-retry:hover {
    border-color: #b1b9b6;
    background: #222628;
    color: #f6f6f3;
}

.lxev-car-selector select:focus-visible,
.lxev-car-selector button:focus-visible,
.lxev-car-selector a:focus-visible {
    outline: 2px solid var(--lxev-selector-gold);
    outline-offset: 4px;
}

.lxev-car-selector .lxev-car-selector-status {
    min-height: 24px;
    margin: 16px 0 0;
    color: #bdc2c1;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.lxev-car-selector .lxev-car-selector-status.is-error { color: #f0d7a4; }
.lxev-car-selector a { color: var(--lxev-selector-gold); }
.lxev-car-selector .lxev-car-selector-fallback {
    margin: 20px 0 0;
    font-size: 13px;
    line-height: 1.6;
}
.lxev-car-selector .lxev-car-selector-fallback a { text-decoration: none; }
.lxev-car-selector .lxev-car-selector-fallback a:hover { text-decoration: underline; }
.lxev-car-selector [hidden] { display: none !important; }

@media (max-width: 900px) {
    .lxev-car-selector .lxev-car-selector-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 540px) {
    .lxev-car-selector { padding: 26px 20px; }
    .lxev-car-selector .lxev-car-selector-heading > p:not(.lxev-car-selector-eyebrow) { margin-bottom: 26px; font-size: 15px; }
    .lxev-car-selector .lxev-car-selector-fields { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .lxev-car-selector .lxev-car-selector-actions { display: grid; grid-template-columns: minmax(0, 1fr); }
    .lxev-car-selector button { width: 100%; }
    .lxev-car-selector select { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    .lxev-car-selector button { transition: none; }
}
