/* Plaka input: standart Latin (A–Z, 0–9) — plate-font.ttf gibi oyun/PUA fontları HTML input’ta bozuk glif üretir. */
.dealership-screen-bg {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    user-select: none;
    background-image: url(/html/img/dealership-bg2.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 2;
    overflow: hidden;
    /* Tutarlı bölgeler: sol panel, alt araç şeridi, marka şeridi yüksekliği */
    --showroom-edge: max(12px, env(safe-area-inset-left, 12px));
    --showroom-top: clamp(71px, 15.5vh, 54px);
    /* Alt şerit: 3 satırlı detay + başlık sığsın (kırpma olmasın) */
    --showroom-bottom-rail: clamp(158px, 26vh, 192px);
    /* Şeritleri ekran altından yukarı kaydırır (wrapper + kategoriler birlikte) */
    --showroom-rail-lift: 32px;
    /* Kategori + hatırlatıcı satırı (sol panel max-height için rezerv) */
    --showroom-cat-rem-row-h: clamp(56px, 7.2vh, 86px);
    --showroom-panel-w: clamp(288px, 30vw, 372px);
    --showroom-stack-gap: 10px;
    /* Hafif siyahlık + düşük opaklık — oyun dünyası hafif görünsün */
    --showroom-glass-weak: rgba(0, 0, 0, 0.42);
    --showroom-glass: rgba(0, 0, 0, 0.29);
    --showroom-glass-strong: rgba(0, 0, 0, 0.72);
    --showroom-glass-deep: rgba(0, 0, 0, 0.35);
}

.car-details-screen {
    position: absolute;
    left: var(--showroom-edge);
    top: var(--showroom-top);
    will-change: opacity;
    bottom: auto;
    width: var(--showroom-panel-w);
    max-width: calc(100vw - var(--showroom-edge) * 2);
    max-height: calc(100vh - var(--showroom-top) - var(--showroom-bottom-rail) - var(--showroom-rail-lift) - var(--showroom-cat-rem-row-h) - var(--showroom-stack-gap) - 14px);
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    min-height: 0;
    height: auto;
    background:
        radial-gradient(110% 72% at 0% 0%, rgba(255, 255, 255, 0.055), transparent 58%),
        linear-gradient(165deg, var(--showroom-glass-strong) 0%, var(--showroom-glass) 100%);
    color: #fff;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-top: 2px solid rgba(126, 255, 196, 0.45);
    border-radius: 12px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 12px 32px rgba(0, 0, 0, 0.48);
    overflow: hidden;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, visibility 0.18s step-end;
}

/* Oyuncu alttan araç seçip dünyada spawn olduktan sonra (Lua SHOWROOM_VEHICLE_READY) */
.car-details-screen.car-details-screen--ready {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.18s ease, visibility 0s step-start;
}

/* ── Scroll alanı ─────────────────────────────────────── */
.car-specifications {
    flex: 1 1 auto;
    min-height: 0;
    max-height: min(54vh, calc(100vh - var(--showroom-top) - var(--showroom-bottom-rail) - var(--showroom-rail-lift) - var(--showroom-cat-rem-row-h) - 160px));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    /* GPU compositor scroll — main thread'i bloklamaz */
    will-change: transform;
    transform: translateZ(0);
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px 10px 6px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}

.car-specifications::-webkit-scrollbar {
    width: 3px;
}

.car-specifications::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 999px;
}

/* ── Spec başlığı ─────────────────────────────────────── */
.car-specifications h2,
.car-specifications .showroom-specs-title {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 9px;
    margin: 0 0 2px;
    padding: 0;
    letter-spacing: 0.16em;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
}

.car-specifications .showroom-specs-title::before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 2px;
    border-radius: 2px;
    background: rgba(126, 255, 196, 0.55);
    flex-shrink: 0;
}

/* ── Spec container ───────────────────────────────────── */
.vehicle-specs {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    border-radius: 8px;
    background: transparent;
    border: none;
}

/* ── Spec barlar ──────────────────────────────────────── */
.spec-bar {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 0;
    color: white;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 7px;
    padding: 5px 8px 5px 6px;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.spec-bar + .spec-bar {
    margin-top: 3px;
}

.spec-bar:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.1);
}

.spec-bar:last-child {
    margin-bottom: 0;
}

.spec-icon {
    width: 20px;
    height: 20px;
    min-width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(126, 255, 196, 0.7);
    background: rgba(126, 255, 196, 0.07);
    border: 1px solid rgba(126, 255, 196, 0.12);
    border-radius: 5px;
    font-size: 10px;
}

.spec-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.spec-label {
    font-size: 10px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.75);
    display: flex;
    justify-content: space-between;
    gap: 6px;
    align-items: baseline;
    font-weight: 500;
    letter-spacing: 0.01em;
    line-height: 1;
}

.spec-value {
    font-size: 9.5px;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.03em;
    white-space: nowrap;
    flex-shrink: 0;
}

.spec-bar-wrapper {
    display: flex;
    gap: 2px;
    height: 3px;
    border-radius: 2px;
    overflow: hidden;
}

.spec-bar-segment {
    flex: 1;
    height: 100%;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 1px;
    transition: background-color 0.25s ease;
}

.spec-bar-segment.active {
    background: rgba(126, 255, 196, 0.72);
    box-shadow: none;
}

/* ── Özelleştirme stack ───────────────────────────────── */
.showroom-customize-stack {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 0 10px 6px;
}

/* ── Bölüm başlıkları ─────────────────────────────────── */
.showroom-block-title {
    display: flex;
    align-items: center;
    gap: 5px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.14em;
    margin: 0 0 5px;
    text-transform: uppercase;
    line-height: 1.2;
    border-left: none;
    padding-left: 0;
}

.showroom-block-title::before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 2px;
    border-radius: 2px;
    background: rgba(100, 200, 255, 0.5);
    flex-shrink: 0;
}

#showroom-plate-heading::before {
    background: rgba(126, 255, 196, 0.6);
}

.showroom-block-icon {
    display: none;
}

/* ── Plaka bölümü ─────────────────────────────────────── */
.showroom-plate-section {
    --plate-text-rgb: 255, 255, 255;
    flex: 0 0 auto;
    margin: 0;
    padding: 7px 8px 8px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.showroom-plate-picker {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) 30px;
    gap: 6px;
    align-items: center;
}

.plate-picker-btn {
    width: 30px;
    height: 44px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 10px;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.plate-picker-btn:hover {
    border-color: rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.showroom-plate-info-prices {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 8px;
    padding-top: 6px;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

.plate-price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 9.5px;
    letter-spacing: 0.02em;
}

.plate-price-label {
    color: rgba(255, 255, 255, 0.55);
    display: flex;
    align-items: center;
    gap: 5px;
}

.plate-price-label i {
    color: rgba(100, 200, 255, 0.7);
    font-size: 9px;
    width: 12px;
    text-align: center;
}

.plate-price-val {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.plate-price-val.has-fee {
    color: rgba(126, 255, 196, 0.9);
}

/* ── Aksiyonlar bloğu ─────────────────────────────────── */
.showroom-actions-block {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px 10px 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.18);
}

/* ── Ödeme toggle ─────────────────────────────────────── */
.showroom-payment-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.showroom-payment-label {
    color: rgba(255, 255, 255, 0.4);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
}

.showroom-payment-toggle {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 7px;
    padding: 2px;
    gap: 2px;
}

.showroom-pay-btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 5px 8px;
    border-radius: 5px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.5);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, transform 0.08s ease;
}

.showroom-pay-btn:hover {
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.85);
}

.showroom-pay-btn:active {
    transform: translateY(1px);
}

.showroom-pay-btn:focus-visible {
    outline: 2px solid rgba(126, 255, 196, 0.7);
    outline-offset: 2px;
}

.showroom-pay-btn.active {
    background: rgba(126, 255, 196, 0.14);
    color: rgba(255, 255, 255, 0.95);
    box-shadow: inset 0 0 0 1px rgba(126, 255, 196, 0.3);
}

/* ── Aksiyon butonları ────────────────────────────────── */
.showroom-actions {
    flex: 0 0 auto;
    display: flex;
    flex-direction: row;
    gap: 6px;
}

.showroom-actions .car-store-button {
    flex: 1 1 0;
    min-width: 0;
}

.plate-preview {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    /* border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(8, 8, 8, 0.92); */
    min-height: 48px;
}

/* Seçili plaka stilinin toplam ek fiyatı (stil + genel PlateExtraFee) */
.showroom-plate-fee-ribbon {
    position: absolute;
    top: 3px;
    right: 3px;
    z-index: 3;
    max-width: 96%;
    padding: 2px 7px 3px;
    border-radius: 5px;
    font-size: clamp(8px, 2.2vw, 10px);
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.95);
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.28);
    pointer-events: auto;
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.showroom-plate-fee-ribbon.is-hidden {
    display: none;
}

.showroom-plate-fee-ribbon.showroom-plate-fee--zero {
    opacity: 0.8;
    font-weight: 700;
}

.plate-preview-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 96px;
    object-fit: contain;
    user-select: none;
    pointer-events: none;
}

.plate-preview-overlay {
    position: absolute;
    left: 7%;
    right: 7%;
    bottom: 14%;
    height: 46%;
    min-height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.showroom-plate-input {
    pointer-events: auto;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0 4px;
    border: none;
    border-radius: 4px;
    background: transparent;
    color: rgb(var(--plate-text-rgb));
    caret-color: rgb(var(--plate-text-rgb));
    letter-spacing: 0.12em;
    font-size: clamp(11px, 3.2vw, 15px);
    font-weight: 800;
    font-family: "Exo", "Montserrat", "Arial Narrow", Arial, sans-serif;
    text-transform: uppercase;
    text-align: center;
    outline: none;
    text-shadow:
        0 0 1px rgba(0, 0, 0, 0.55),
        0 1px 2px rgba(0, 0, 0, 0.35);
        border-bottom: 1px solid #00000063;
}

.showroom-plate-input::placeholder {
    color: rgba(var(--plate-text-rgb), 0.42);
}

.showroom-plate-input:focus {
    /* box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
    background: rgba(0, 0, 0, 0.06); */
}

.spec-bar {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
    color: white;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 6px 8px;
}

.spec-bar:last-child {
    margin-bottom: 0;
}

.spec-icon {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
}

.spec-info {
    flex: 1;
}

.spec-label {
    font-size: 11px;
    margin-bottom: 6px;
    color: rgba(236, 236, 236, 0.95);
    display: flex;
    justify-content: space-between;
    gap: 8px;
    align-items: baseline;
}

.spec-bar-wrapper {
    display: flex;
    gap: 3px;
    height: 7px;
}

/* Her bir küçük kutu için stil */
.spec-bar-segment {
    flex: 1;
    height: 100%;
    background: rgba(255, 255, 255, 0.14);
    border-radius: 2px;
}

/* Aktif segment için stil */
.spec-bar-segment.active {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.45);
}

.spec-value {
    font-size: 11px;
    color: #ffffff;
    font-weight: 700;
}

/* Marka / kategori şeridi — sade seçim + hover (layout zıplaması yok) */
.category-box {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    min-height: 42px;
    border-radius: 8px;
    background: var(--showroom-glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.category-box i {
    color: rgba(255, 255, 255, 0.42);
    font-size: 14px;
    transition: color 0.2s ease;
}

.category-box span {
    color: rgba(255, 255, 255, 0.88);
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.category-box:hover:not(.selected) {
    background: var(--showroom-glass-strong);
    border-color: rgba(255, 255, 255, 0.16);
}

.category-box.selected {
    background: rgba(0, 0, 0, 0.55);
    border-color: rgba(126, 255, 196, 0.42);
    box-shadow: 0 0 0 1px rgba(126, 255, 196, 0.12) inset;
}

.category-box.selected span {
    color: #fff;
    font-weight: 600;
}

.category-box.selected i {
    color: rgba(126, 255, 196, 0.88);
}

.category-box.selected:hover {
    background: rgba(0, 0, 0, 0.62);
    border-color: rgba(126, 255, 196, 0.5);
}

/* Marka şeridi + hatırlatıcı: araç şeridinin hemen üstünde, yan yana flex */
.showroom-categories-reminder-row {
    position: absolute;
    left: var(--showroom-edge);
    right: var(--showroom-edge);
    width: auto;
    bottom: calc(var(--showroom-rail-lift) + var(--showroom-bottom-rail) + 8px);
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    z-index: 7;
    box-sizing: border-box;
    pointer-events: none;
}

/* Marka satırı + seçili markanın gövde kategorileri (SUV, Sport, …) */
.showroom-categories-stack {
    flex: 0 1 40%;
    width: 40%;
    max-width: 40%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
    pointer-events: auto;
}

.showroom-brand-model-categories {
    display: none;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    max-height: 44px;
    padding: 2px 0 3px;
    overflow-x: auto;
    overflow-y: hidden;
    /* Kaydırma çalışır; çubuk görünmez */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.showroom-brand-model-categories::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

/* Gövde kategorileri (SUV, Sport…) — üstteki category-box ile aynı dil */
.showroom-model-cat-chip {
    flex: 0 0 auto;
    appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--showroom-glass);
    color: rgba(255, 255, 255, 0.86);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 7px 12px;
    min-height: 34px;
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
    max-width: 148px;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
    box-sizing: border-box;
}

.showroom-model-cat-chip:hover {
    border-color: rgba(255, 255, 255, 0.18);
    background: var(--showroom-glass-strong);
    color: #fff;
}

.showroom-model-cat-chip.selected {
    background: rgba(0, 0, 0, 0.55);
    border-color: rgba(126, 255, 196, 0.42);
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(126, 255, 196, 0.1);
}

.car-store-box.showroom-cat-hidden,
.car-store-box.showroom-search-hidden {
    display: none !important;
}

.vehicle-categories {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    max-height: 52px;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 0 4px;
    /* Kaydırma (tekerlek) kalır; scrollbar görünmez */
    scrollbar-width: none;
    -ms-overflow-style: none;
    align-items: center;
}

.vehicle-categories .category-box {
    padding: 8px 13px;
    min-height: 42px;
    gap: 8px;
    border-radius: 8px;
}

.vehicle-categories .category-box i {
    font-size: 14px;
}

.vehicle-categories .category-box span {
    font-size: 13px;
}

.vehicle-categories::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.vehicle-categories .brand-box {
    flex: 0 0 auto;
    min-width: 134px;
    justify-content: flex-start;
}

.vehicle-categories .brand-box-logo {
    width: 24px;
    height: 24px;
}

.vehicle-categories .brand-box small {
    font-size: 12px;
}

.brand-box-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.35);
    padding: 2px;
    opacity: 0.88;
    transition: opacity 0.2s ease, box-shadow 0.2s ease;
}

.category-box.brand-box.selected .brand-box-logo {
    opacity: 1;
    box-shadow: 0 0 0 1px rgba(126, 255, 196, 0.35);
}

.brand-box small {
    margin-left: auto;
    color: rgba(255, 255, 255, 0.4);
    font-size: 11px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    transition: color 0.2s ease;
}

.category-box.brand-box.selected small {
    color: rgba(126, 255, 196, 0.85);
}

.car-store-button {
    display: none;
    position: relative;
    width: 100%;
    margin: 0;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 8px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    user-select: none;
    transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease, transform 0.08s ease;
    box-sizing: border-box;
    padding: 9px 12px;
    border: 1px solid transparent;
}

.car-store-button.car-store-buy {
    background: linear-gradient(160deg, rgba(126, 255, 196, 0.22) 0%, rgba(80, 220, 160, 0.14) 100%);
    border-color: rgba(126, 255, 196, 0.4);
    color: #e4fff4;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 2px 8px rgba(0, 0, 0, 0.2);
}

.car-store-button.car-store-buy:hover {
    background: linear-gradient(160deg, rgba(126, 255, 196, 0.32) 0%, rgba(80, 220, 160, 0.22) 100%);
    border-color: rgba(126, 255, 196, 0.65);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 4px 14px rgba(0, 0, 0, 0.24);
}

.car-store-button.car-store-test-drive {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.72);
}

.car-store-button.car-store-test-drive:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.92);
}

.car-store-button:active {
    transform: translateY(1px);
    transition-duration: 0.06s;
}

.car-store-button:focus-visible {
    outline: 2px solid rgba(126, 255, 196, 0.7);
    outline-offset: 2px;
}

.car-store-wrapper {
    position: absolute;
    left: 0;
    right: 0;
    bottom: var(--showroom-rail-lift);
    width: 100%;
    height: var(--showroom-bottom-rail);
    min-height: 0;
    max-height: none;
    margin: 0;
    padding: 8px var(--showroom-edge) max(8px, env(safe-area-inset-bottom, 0));
    box-sizing: border-box;
    overflow-x: auto;
    overflow-y: hidden;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    align-items: stretch;
    background: #1a1a1a41;
    scrollbar-width: thin;
    scrollbar-color: rgba(126, 255, 196, 0.4) transparent;
    z-index: 10;
}

.car-store-wrapper::-webkit-scrollbar {
    height: 5px;
}

.car-store-wrapper::-webkit-scrollbar-thumb {
    background: rgba(126, 255, 196, 0.5);
    border-radius: 999px;
}

.car-store-box {
    position: relative;
    isolation: isolate;
    flex: 0 0 auto;
    width: clamp(248px, 30vw, 400px);
    min-width: clamp(248px, 30vw, 400px);
    max-width: min(400px, 94vw);
    height: 100%;
    max-height: 100%;
    background:
        radial-gradient(150% 105% at 0% 0%, rgba(255, 255, 255, 0.06), transparent 56%),
        radial-gradient(130% 100% at 100% 100%, rgba(255, 255, 255, 0.03), transparent 60%),
        linear-gradient(180deg, var(--showroom-glass-strong), var(--showroom-glass));
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 10px 24px rgba(0, 0, 0, 0.42); */
    border-radius: 10px;
    padding: 10px 11px;
    transition: border-color 120ms ease, background-color 120ms ease;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 10px;
    overflow: hidden;
    box-sizing: border-box;
}

.car-store-box::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    pointer-events: none;
    background: var(--box-cat-diagonal, none);
    transition: filter 120ms ease, opacity 120ms ease;
}

.car-store-box > * {
    position: relative;
    z-index: 1;
}

.car-store-box:hover {
    border: 1px solid rgba(255, 255, 255, 0.22);
    background:
        radial-gradient(150% 105% at 0% 0%, rgba(255, 255, 255, 0.08), transparent 56%),
        radial-gradient(130% 100% at 100% 100%, rgba(255, 255, 255, 0.04), transparent 60%),
        linear-gradient(180deg, var(--showroom-glass-deep), var(--showroom-glass-strong));
}

.car-store-box:hover::before {
    filter: brightness(1.1) saturate(1.12);
}

.car-store-box-active {
    border: 1px solid rgba(126, 255, 196, 0.55);
    background:
        radial-gradient(150% 105% at 0% 0%, rgba(126, 255, 196, 0.1), transparent 56%),
        radial-gradient(130% 100% at 100% 100%, rgba(255, 255, 255, 0.05), transparent 60%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.68));
    /* box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 0 0 1px rgba(126, 255, 196, 0.2),
        0 8px 22px rgba(0, 0, 0, 0.45); */
}

.car-store-box-active::before {
    opacity: 0.28;
}

/* GTA modelCategory — diagonal wash; tuned per class so similar types read differently on the grid */
/* 0 Compacts */
.car-store-box[data-veh-cat="0"] {
    --box-cat-diagonal: linear-gradient(128deg, rgba(72, 195, 188, 0.34) 0%, rgba(24, 88, 82, 0.17) 44%, rgba(0, 0, 0, 0.5) 44.5%, rgba(0, 0, 0, 0.76) 100%);
}
/* 1 Sedans */
.car-store-box[data-veh-cat="1"] {
    --box-cat-diagonal: linear-gradient(128deg, rgba(140, 158, 182, 0.33) 0%, rgba(45, 58, 78, 0.18) 44%, rgba(0, 0, 0, 0.52) 44.5%, rgba(0, 0, 0, 0.78) 100%);
}
/* 2 SUVs */
.car-store-box[data-veh-cat="2"] {
    --box-cat-diagonal: linear-gradient(128deg, rgba(48, 195, 108, 0.36) 0%, rgba(18, 85, 48, 0.2) 44%, rgba(0, 0, 0, 0.5) 44.5%, rgba(0, 0, 0, 0.76) 100%);
}
/* 3 Coupes */
.car-store-box[data-veh-cat="3"] {
    --box-cat-diagonal: linear-gradient(128deg, rgba(62, 128, 255, 0.35) 0%, rgba(28, 58, 130, 0.2) 44%, rgba(0, 0, 0, 0.5) 44.5%, rgba(0, 0, 0, 0.77) 100%);
}
/* 4 Muscle */
.car-store-box[data-veh-cat="4"] {
    --box-cat-diagonal: linear-gradient(128deg, rgba(220, 55, 65, 0.35) 0%, rgba(90, 28, 38, 0.2) 44%, rgba(0, 0, 0, 0.52) 44.5%, rgba(0, 0, 0, 0.78) 100%);
}
/* 5 Sports Classics */
.car-store-box[data-veh-cat="5"] {
    --box-cat-diagonal: linear-gradient(128deg, rgba(205, 155, 75, 0.34) 0%, rgba(88, 62, 32, 0.2) 44%, rgba(0, 0, 0, 0.5) 44.5%, rgba(0, 0, 0, 0.77) 100%);
}
/* 6 Sports — orange-red (vs deeper Open Wheel & emergency reds) */
.car-store-box[data-veh-cat="6"] {
    --box-cat-diagonal: linear-gradient(128deg, rgba(255, 88, 58, 0.35) 0%, rgba(118, 42, 28, 0.2) 44%, rgba(0, 0, 0, 0.52) 44.5%, rgba(0, 0, 0, 0.78) 100%);
}
/* 7 Super — electric cyan (vs warm Sports) */
.car-store-box[data-veh-cat="7"] {
    --box-cat-diagonal: linear-gradient(128deg, rgba(90, 210, 255, 0.34) 0%, rgba(32, 78, 120, 0.19) 44%, rgba(0, 0, 0, 0.52) 44.5%, rgba(0, 0, 0, 0.78) 100%);
}
/* 8 Motorcycles */
.car-store-box[data-veh-cat="8"] {
    --box-cat-diagonal: linear-gradient(128deg, rgba(255, 138, 48, 0.35) 0%, rgba(108, 68, 22, 0.2) 44%, rgba(0, 0, 0, 0.5) 44.5%, rgba(0, 0, 0, 0.77) 100%);
}
/* 9 Off-road */
.car-store-box[data-veh-cat="9"] {
    --box-cat-diagonal: linear-gradient(128deg, rgba(210, 175, 65, 0.33) 0%, rgba(78, 65, 28, 0.2) 44%, rgba(0, 0, 0, 0.5) 44.5%, rgba(0, 0, 0, 0.77) 100%);
}
/* 10 Industrial */
.car-store-box[data-veh-cat="10"] {
    --box-cat-diagonal: linear-gradient(128deg, rgba(225, 145, 45, 0.33) 0%, rgba(85, 58, 22, 0.19) 44%, rgba(0, 0, 0, 0.54) 44.5%, rgba(0, 0, 0, 0.8) 100%);
}
/* 11 Utility */
.car-store-box[data-veh-cat="11"] {
    --box-cat-diagonal: linear-gradient(128deg, rgba(118, 138, 155, 0.31) 0%, rgba(38, 50, 62, 0.18) 44%, rgba(0, 0, 0, 0.54) 44.5%, rgba(0, 0, 0, 0.79) 100%);
}
/* 12 Vans — periwinkle (vs saturated Coupes) */
.car-store-box[data-veh-cat="12"] {
    --box-cat-diagonal: linear-gradient(128deg, rgba(115, 125, 210, 0.32) 0%, rgba(42, 46, 88, 0.2) 44%, rgba(0, 0, 0, 0.5) 44.5%, rgba(0, 0, 0, 0.78) 100%);
}
/* 13 Cycles */
.car-store-box[data-veh-cat="13"] {
    --box-cat-diagonal: linear-gradient(128deg, rgba(130, 235, 115, 0.32) 0%, rgba(38, 92, 34, 0.17) 44%, rgba(0, 0, 0, 0.5) 44.5%, rgba(0, 0, 0, 0.77) 100%);
}
/* 14 Boats — sea teal (vs sky Planes) */
.car-store-box[data-veh-cat="14"] {
    --box-cat-diagonal: linear-gradient(128deg, rgba(45, 195, 205, 0.34) 0%, rgba(18, 78, 88, 0.18) 44%, rgba(0, 0, 0, 0.52) 44.5%, rgba(0, 0, 0, 0.78) 100%);
}
/* 15 Helicopters */
.car-store-box[data-veh-cat="15"] {
    --box-cat-diagonal: linear-gradient(128deg, rgba(165, 178, 198, 0.3) 0%, rgba(52, 58, 72, 0.17) 44%, rgba(0, 0, 0, 0.54) 44.5%, rgba(0, 0, 0, 0.8) 100%);
}
/* 16 Planes */
.car-store-box[data-veh-cat="16"] {
    --box-cat-diagonal: linear-gradient(128deg, rgba(95, 165, 245, 0.32) 0%, rgba(38, 65, 110, 0.18) 44%, rgba(0, 0, 0, 0.52) 44.5%, rgba(0, 0, 0, 0.79) 100%);
}
/* 17 Service */
.car-store-box[data-veh-cat="17"] {
    --box-cat-diagonal: linear-gradient(128deg, rgba(225, 195, 55, 0.3) 0%, rgba(88, 76, 28, 0.17) 44%, rgba(0, 0, 0, 0.54) 44.5%, rgba(0, 0, 0, 0.8) 100%);
}
/* 18 Emergency — red into blue-shadow (vs pure warm Sports) */
.car-store-box[data-veh-cat="18"] {
    --box-cat-diagonal: linear-gradient(128deg, rgba(230, 48, 55, 0.34) 0%, rgba(28, 42, 110, 0.22) 44%, rgba(0, 0, 0, 0.52) 44.5%, rgba(0, 0, 0, 0.78) 100%);
}
/* 19 Military */
.car-store-box[data-veh-cat="19"] {
    --box-cat-diagonal: linear-gradient(128deg, rgba(95, 115, 62, 0.32) 0%, rgba(38, 48, 28, 0.2) 44%, rgba(0, 0, 0, 0.5) 44.5%, rgba(0, 0, 0, 0.78) 100%);
}
/* 20 Commercial — fleet navy (vs bright Coupes / Vans) */
.car-store-box[data-veh-cat="20"] {
    --box-cat-diagonal: linear-gradient(128deg, rgba(70, 95, 180, 0.31) 0%, rgba(28, 38, 75, 0.19) 44%, rgba(0, 0, 0, 0.52) 44.5%, rgba(0, 0, 0, 0.78) 100%);
}
/* 21 Trains */
.car-store-box[data-veh-cat="21"] {
    --box-cat-diagonal: linear-gradient(128deg, rgba(165, 95, 58, 0.31) 0%, rgba(58, 38, 26, 0.18) 44%, rgba(0, 0, 0, 0.54) 44.5%, rgba(0, 0, 0, 0.8) 100%);
}
/* 22 Open Wheel — deep racing red (vs orange Sports) */
.car-store-box[data-veh-cat="22"] {
    --box-cat-diagonal: linear-gradient(128deg, rgba(210, 35, 45, 0.34) 0%, rgba(85, 22, 32, 0.2) 44%, rgba(0, 0, 0, 0.52) 44.5%, rgba(0, 0, 0, 0.78) 100%);
}
/* unknown / fallback */
.car-store-box[data-veh-cat="99"] {
    --box-cat-diagonal: linear-gradient(150% 100% at 4% 4%, rgba(255, 255, 255, 0.08), transparent 55%);
}

/* vehicleCategory.showroomCardTint → stockList.showroomTintRgb (inline --showroom-tint) */
.car-store-box--tint-custom::before {
    background: linear-gradient(
        128deg,
        rgba(var(--showroom-tint), 0.34) 0%,
        rgba(var(--showroom-tint), 0.18) 44%,
        rgba(0, 0, 0, 0.52) 44.5%,
        rgba(0, 0, 0, 0.78) 100%
    );
}

.car-store-box-topline {
    flex: 0 0 auto;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

/* Fiyat ve İndirim (Tek Satır / Temiz Düzen) */
.car-store-box-price-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    min-width: 0;
    flex: 1 1 auto;
    max-width: 100%;
}

.car-store-box-price-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px;
    width: 100%;
    min-width: 0;
}

.car-store-box-price {
    font-size: 14.5px;
    font-weight: 800;
    color: #00ff66;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1, "lnum" 1;
}

.car-store-box-price--sale {
    color: #7dffc4;
    text-shadow: 0 0 10px rgba(94, 234, 212, 0.25);
}

.car-store-box-price-old {
    font-size: 10.5px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.45);
    text-decoration: line-through;
    text-decoration-thickness: 1px;
}

.car-store-box-price-badge {
    font-size: 9.5px;
    font-weight: 900;
    letter-spacing: 0.05em;
    color: #062a20;
    background: linear-gradient(135deg, #5eeaae, #2dd4bf);
    padding: 2px 5px;
    border-radius: 4px;
    line-height: 1.1;
    transform: translateY(-1px);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.car-store-box-media {
    flex: 0 0 36%;
    width: 36%;
    min-width: 36%;
    max-width: 36%;
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: stretch;
    min-height: 0;
    align-self: stretch;
}

.car-store-box-media .car-store-box-image {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    max-width: none;
    min-height: 52px;
    height: auto;
    filter: drop-shadow(2px 4px 10px black);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0;
}

/* Compare: kart çerçevesi (mavi) kaldırıldı — sınıflar hâlâ JS’te vurgu için eklenebilir */
.car-store-box--compare-a,
.car-store-box--compare-b {
    outline: none;
    box-shadow: none;
}

/* Tam genişlik yerine sağda kompakt blok (marka şeridiyle çakışmasın) — sol panelle aynı cam / vurgu */
.showroom-compare-toolbar {
    position: absolute;
    left: auto;
    right: var(--showroom-edge);
    width: max-content;
    max-width: min(480px, calc(100vw - var(--showroom-edge) * 2));
    bottom: calc(
        var(--showroom-bottom-rail) + var(--showroom-rail-lift) + 10px + var(--showroom-cat-rem-row-h) + 10px
    );
    z-index: 11;
    pointer-events: auto;
    box-sizing: border-box;
}

.showroom-compare-toolbar-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px 10px;
    padding: 6px 10px;
    border-radius: 12px;
    background: linear-gradient(165deg, var(--showroom-glass-strong) 0%, var(--showroom-glass) 100%);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-top: 2px solid rgba(126, 255, 196, 0.38);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 8px 28px rgba(0, 0, 0, 0.45);
    max-width: 100%;
    box-sizing: border-box;
}

.showroom-compare-toolbar-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.showroom-compare-toolbar-summary {
    flex: 0 1 220px;
    min-width: 0;
    max-width: 240px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.showroom-compare-toolbar-btn {
    flex: 0 0 auto;
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.95);
    cursor: pointer;
}

.showroom-compare-toolbar-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.showroom-compare-toolbar-btn-primary {
    border-color: rgba(126, 255, 196, 0.42);
    background: #5eeaae;
    color: #062a20;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.28);
}

.showroom-compare-toolbar-btn-primary:disabled {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    box-shadow: none;
}

.showroom-compare-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 40;
    align-items: center;
    justify-content: center;
    padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
    box-sizing: border-box;
}

.showroom-compare-modal.is-open {
    display: flex;
}

.showroom-compare-picker-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 38;
    align-items: center;
    justify-content: center;
    padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
    box-sizing: border-box;
}

.showroom-compare-picker-modal.is-open {
    display: flex;
}

.showroom-compare-picker-sheet {
    max-height: min(88vh, 760px);
    width: min(720px, 96vw);
}

.showroom-compare-picker-sub {
    margin: 0;
    padding: 0 14px 8px;
    font-size: 11px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.62);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.showroom-compare-picker-filter-row {
    padding: 0 12px 10px;
}

.showroom-compare-picker-filter {
    width: 100%;
    box-sizing: border-box;
    padding: 7px 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.38);
    color: rgba(255, 255, 255, 0.92);
    font-size: 12px;
    outline: none;
}

.showroom-compare-picker-filter::placeholder {
    color: rgba(255, 255, 255, 0.38);
}

.showroom-compare-picker-item--hidden {
    display: none !important;
}

.showroom-compare-picker-columns {
    display: flex;
    flex-direction: row;
    gap: 10px;
    padding: 10px 12px 8px;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}

.showroom-compare-picker-side {
    flex: 1 1 50%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 0;
}

.showroom-compare-picker-side-label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    padding: 0 2px;
}

.showroom-compare-picker-list {
    flex: 1 1 auto;
    min-height: 120px;
    max-height: min(52vh, 420px);
    overflow-x: hidden;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 2px;
    scrollbar-width: thin;
    scrollbar-color: rgba(126, 255, 196, 0.25) transparent;
}

.showroom-compare-picker-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
    padding: 7px 9px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.32);
    color: #fff;
    font: inherit;
    cursor: pointer;
    transition: border-color 0.12s ease, background 0.12s ease;
}

.showroom-compare-picker-item:hover {
    border-color: rgba(126, 255, 196, 0.4);
    background: rgba(0, 0, 0, 0.45);
}

.showroom-compare-picker-item.is-picked {
    border-color: rgba(126, 255, 196, 0.48);
    background: rgba(94, 234, 212, 0.08);
    box-shadow: inset 0 0 0 1px rgba(94, 234, 212, 0.18);
}

.showroom-compare-picker-item-name {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.25;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.showroom-compare-picker-item-meta {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.52);
}

.showroom-compare-picker-empty {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.55);
    padding: 12px 6px;
}

.showroom-compare-picker-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 10px 12px 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 560px) {
    .showroom-compare-picker-columns {
        flex-direction: column;
    }

    .showroom-compare-picker-list {
        max-height: min(32vh, 260px);
    }
}

.showroom-compare-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.62);
}

.showroom-compare-modal-sheet {
    position: relative;
    z-index: 1;
    width: min(920px, 96vw);
    max-height: min(86vh, 720px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-top: 2px solid rgba(126, 255, 196, 0.45);
    background:
        radial-gradient(110% 72% at 0% 0%, rgba(255, 255, 255, 0.055), transparent 58%),
        linear-gradient(165deg, var(--showroom-glass-strong) 0%, var(--showroom-glass) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 24px 50px rgba(0, 0, 0, 0.48);
}

.showroom-compare-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px 10px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 100%);
    position: sticky;
    top: 0;
    z-index: 2;
    flex: 0 0 auto;
}

.showroom-compare-modal-head h2 {
    margin: 0;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
}

.showroom-compare-modal-close {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.showroom-compare-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.16);
}

.showroom-compare-columns {
    display: flex;
    flex-direction: row;
    gap: 12px;
    padding: 12px;
    overflow: auto;
    flex: 1 1 auto;
    min-height: 0;
}

.showroom-compare-col {
    flex: 1 1 50%;
    min-width: min(280px, 44vw);
}

.showroom-compare-col-inner {
    height: 100%;
    padding: 10px 10px 12px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.09);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.showroom-compare-slot-pill {
    align-self: flex-start;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(94, 234, 212, 0.18);
    border: 1px solid rgba(94, 234, 212, 0.35);
    color: #c9fff0;
}

.showroom-compare-col:nth-child(2) .showroom-compare-slot-pill {
    /* İkinci sütun da aynı showroom vurgusu (mor/mavi ayrımı yok) */
    background: rgba(94, 234, 212, 0.12);
    border-color: rgba(94, 234, 212, 0.35);
    color: #b8f5e0;
}

.showroom-compare-thumb {
    width: 100%;
    height: clamp(72px, 14vh, 120px);
    border-radius: 8px;
    /* modelImage yok: JS inline vermez, bu görsel yüklenir */
    background-image: url("/html/img/vehicleImages/unkown-vehicle.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgba(0, 0, 0, 0.25);
}

.showroom-compare-name {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
}

.showroom-compare-meta {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.3;
}

.showroom-compare-kv {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.6);
}

.showroom-compare-kv strong {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.92);
}

.showroom-compare-price-block {
    margin-top: 2px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 6px;
    min-width: 0;
}

.showroom-compare-price-block > .showroom-compare-sale:only-child {
    grid-column: 1 / -1;
    justify-self: end;
}

.showroom-compare-price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    font-size: 11px;
    min-width: 0;
}

/* CEF: line-through bazen kırılır; kartlardaki list chip’e benzer */
.showroom-compare-list {
    text-decoration: none;
    display: inline-flex;
    align-items: baseline;
    padding: 2px 6px 3px;
    border-radius: 7px;
    background: rgba(0, 0, 0, 0.38);
    border: 1px solid rgba(248, 113, 113, 0.28);
    color: rgba(255, 186, 186, 0.92);
    font-weight: 800;
    font-size: 10px;
    white-space: nowrap;
}

.showroom-compare-badge {
    padding: 2px 7px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(94, 234, 212, 0.9), rgba(45, 212, 191, 0.82));
    color: #042f2e;
    font-weight: 900;
    font-size: 10px;
    border: 1px solid rgba(204, 251, 241, 0.45);
}

.showroom-compare-sale {
    font-size: 15px;
    font-weight: 800;
    color: #7dffc4;
}

.showroom-compare-specs {
    margin-top: 4px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.showroom-compare-spec-row {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.58);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 3px;
}

.showroom-compare-spec-row strong {
    color: rgba(255, 255, 255, 0.92);
    font-size: 11px;
}

@media (max-width: 720px) {
    .showroom-compare-columns {
        flex-direction: column;
    }

    .showroom-compare-col {
        min-width: 0;
    }
}

.car-store-box-content {
    flex: 1 1 auto;
    width: 0;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    justify-content: flex-start;
    align-items: stretch;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0 2px 2px;
    overflow: visible;
}

.car-store-box-stock {
    background: #22ca22;
    text-align: center;
    padding: 4px 9px;
    font-size: 11px;
    color: white;
    border-radius: 9px;
    white-space: nowrap;
}

.out-class {
    background: #c91f1f;
}

.car-store-box-price {
    color: #00ff66;
    font-weight: 700;
    font-size: 13px;
}


.car-store-box-carname {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.01em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
    flex: 0 0 auto;
    min-height: 0;
}

.car-store-box-class {
    color: rgba(255, 255, 255, 0.72);
    font-size: 10px;
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
    flex: 0 0 auto;
}

.car-store-box-details-grid {
    position: relative;
    flex: 0 0 auto;
    flex-shrink: 0;
    margin-top: 1px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 12px;
    row-gap: 5px;
    padding: 0 4px;
    align-items: start;
    --showroom-detail-sep: rgba(98, 104, 112, 0.88);
}

/* İki sütunun tam ortasında, uçlara kadar net dikey çizgi */
.car-store-box-details-grid::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    transform: translateX(-50%);
    background: linear-gradient(
        180deg,
        rgba(72, 78, 86, 0.25) 0%,
        var(--showroom-detail-sep) 6%,
        var(--showroom-detail-sep) 94%,
        rgba(72, 78, 86, 0.25) 100%
    );
    pointer-events: none;
    z-index: 1;
}

.car-store-detail-item {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0 2px;
    min-width: 0;
    text-align: left;
}

.car-store-detail-item span {
    display: block;
    color: rgba(190, 194, 200, 0.9);
    font-size: 8px;
    margin-bottom: 2px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.2;
}

.car-store-detail-item strong {
    display: block;
    color: #ffffff;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.car-store-box-search {
    display: none;
}

.car-store-box-search input {
    border: none;
    outline: none;
    background: transparent;
    color: white;
}

.car-store-box-search-icon {
    color: #ffffff8a;
    font-size: 1.3vh;
    height: 100%;
    text-align: center;
    padding: 1px;
}


.showroom-camera-tools {
    flex: 0 0 auto;
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    pointer-events: auto;
}

.showroom-interior-cam-btn {
    appearance: none;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    min-height: 36px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: var(--showroom-glass-strong);
    color: #f1f1f1;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.showroom-interior-cam-btn:hover {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(0, 0, 0, 0.5);
}

.showroom-interior-cam-btn.active {
    border-color: rgba(126, 255, 196, 0.55);
    background: rgba(20, 48, 36, 0.72);
    color: rgba(126, 255, 196, 0.95);
}

.showroom-interior-cam-btn:disabled {
    opacity: 0.55;
    cursor: wait;
    pointer-events: none;
}

.showroom-interior-cam-btn__icon {
    font-size: 15px;
    line-height: 1;
    pointer-events: none;
    transform: scaleX(-1);
    transition: transform 0.15s ease, color 0.15s ease;
}

.showroom-interior-cam-btn.active .showroom-interior-cam-btn__icon {
    transform: scaleX(1);
}

.car-store-reminder {
    position: relative;
    flex: 0 0 auto;
    width: max-content;
    /* İki ipucu kutusu kadar: sağda kompakt blok (kalan alanı doldurma) */
    max-width: min(368px, calc(52vw - var(--showroom-edge)));
    height: auto;
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 6px;
    text-align: left;
    z-index: 1;
    /* Sadece bilgi — tıklamayı alt şerideki kartlara bırak */
    pointer-events: none;
}

.car-store-reminder > * {
    flex: 0 0 auto;
    min-width: 0;
}

.car-store-reminder-box {
    width: auto;
    max-width: min(178px, 26vw);
    min-height: 36px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    color: rgba(235, 235, 235, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
    padding: 5px 7px;
    background: var(--showroom-glass-strong);
    margin: 0;
}

.car-store-reminder-icon {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 4px;
    color: #f1f1f1;
    padding: 0;
    
}

.car-store-reminder-text {
    padding: 0 2px 0 0;
    white-space: normal;
    font-weight: 500;
    font-size: 10px;
    line-height: 1.25;
    color: #ededed;
}


.dealership-screen-esc-close {
    position: absolute;
    left: var(--showroom-edge);
    top: max(10px, env(safe-area-inset-top, 10px));
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(200, 200, 200, 0.9);
    z-index: 20;
}

.dealership-screen-esc-close p {
    float: none;
    margin: 0;
    padding: 6px 10px;
    background: var(--showroom-glass-strong);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: #f1f1f1;
    font-weight: 500;
}

.car-store-undefined {
    text-align: center;
    width: 100%;
    height: 100%;
    font-size: 2.5vh;
    font-weight: 400;
    margin-top: 0%;
    background: var(--showroom-glass);
    padding: 4rem;
    color: rgba(210, 210, 210, 0.85);
}


/* Renk — plaka kutusu ile aynı panel stili */
.color-picker-section {
    flex: 0 0 auto;
    position: relative;
    width: 100%;
    margin: 0;
    padding: 7px 8px 8px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-sizing: border-box;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
}

.color-picker-section .color-picker-block-title {
    margin: 0 0 5px;
}

.color-picker-section .color-picker-block-title::before {
    background: rgba(126, 255, 196, 0.6);
}

.showroom-sv-picker {
    position: relative;
    width: 100%;
    height: clamp(96px, 14vh, 118px);
    border-radius: 6px;
    overflow: hidden;
    cursor: crosshair;
    touch-action: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-sizing: border-box;
}

.showroom-sv-picker-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.showroom-hue-track {
    position: relative;
    width: 100%;
    height: 14px;
    border-radius: 999px;
    cursor: pointer;
    touch-action: none;
    background: linear-gradient(
        to right,
        #ff0000 0%,
        #ffff00 17%,
        #00ff00 33%,
        #00ffff 50%,
        #0000ff 67%,
        #ff00ff 83%,
        #ff0000 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-sizing: border-box;
}

.showroom-color-cursor {
    position: absolute;
    width: 14px;
    height: 14px;
    margin-left: -7px;
    margin-top: -7px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.45), 0 2px 6px rgba(0, 0, 0, 0.35);
    pointer-events: none;
    z-index: 2;
    box-sizing: border-box;
    background: var(--cursor-fill, #fff);
}

.showroom-hue-cursor {
    top: 50%;
    margin-top: -8px;
    width: 16px;
    height: 16px;
    margin-left: -8px;
}

#carColorPicker {
    display: none;
}

@media (prefers-reduced-motion: reduce) {
    .car-details-screen,
    .car-details-screen.car-details-screen--ready,
    .showroom-pay-btn,
    .car-store-button {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}