/* =========================================================
   HUNTER CARAVAN - CINEMATIC CONFIGURATOR V5.2 (ULTRA LUXURY)
   ========================================================= */

body.configurator-mode {
    background-color: var(--light-bg) !important;
    color: var(--text-main);
    overflow-x: hidden;
    scroll-behavior: smooth;
    padding-top: 0px !important;
}

/* Footer normal akışta kalsın; sabit fiyat kartı ve açılır listeler üstte */
body.configurator-mode .footer-premium {
    position: relative;
    z-index: 1;
}

body.configurator-mode .config-summary-dock {
    z-index: 1040;
}

body.configurator-mode .premium-custom-dropdown.is-open {
    position: relative;
    z-index: 1050;
}

/* KATI (SOLID) HEADER */
body.configurator-mode .navbar-premium {
    background-color: var(--primary-color) !important;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15) !important;
    border-bottom: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* --- 1. SİNEMATİK İLERLEME ÇUBUĞU --- */
.premium-progress-wrapper {
    position: sticky;
    top: 90px; /* Header'ın hemen altına otursun */
    z-index: 1000;
    background: rgba(249, 248, 246, 0.85); 
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(28, 28, 28, 0.1);
    padding: 15px 0;
    transition: all 0.4s ease;
}

.progress-steps {
    display: flex; justify-content: center; align-items: center; gap: 50px;
    list-style: none; margin: 0; padding: 0;
}

.step-item {
    font-size: 1rem; font-weight: 700; letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(0,0,0,0.3);
    display: flex; align-items: center; gap: 15px;
    transition: all 0.5s ease;
}


.step-item.active { color: var(--primary-color); transform: scale(1.05); }
.step-item.completed { color: var(--accent-color); }

.step-number {
    width: 32px; height: 32px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.9rem; font-weight: 800;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.step-separator { width: 60px; height: 2px; background: rgba(0,0,0,0.1); }

/* --- 2. ADIM 1 & 2: SEÇİM EKRANLARI --- */
.selection-screen {
    padding-top: 180px !important; /* Step 2'nin rahat nefes alması için artırıldı */
    padding-bottom: 120px;
    min-height: 85vh;
}

.step-2-header {
    margin-top: 30px; /* Step 2'de üstten ekstra boşluk */
}

.cinematic-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900; color: var(--primary-color);
    letter-spacing: -1px; text-shadow: 0 10px 30px rgba(28, 28, 28, 0.1);
}

.cinematic-poster-card {
    position: relative; display: block; border-radius: 20px;
    overflow: hidden; aspect-ratio: 3 / 4; cursor: pointer;
    text-decoration: none !important; background-color: #111; 
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.8s ease;
}

.cinematic-poster-img {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; opacity: 0.7; 
    transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.8s ease;
}

.cinematic-poster-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.3) 50%, transparent 100%);
    z-index: 1;
}

.cinematic-poster-content {
    position: absolute; bottom: 0; left: 0; width: 100%;
    padding: 40px 30px; z-index: 2;
    display: flex; flex-direction: column; justify-content: flex-end;
}

.cinematic-poster-title {
    color: #ffffff; font-size: 1.8rem; font-weight: 800; letter-spacing: 1px;
    margin-bottom: 10px; transition: transform 0.5s ease;
}

.cinematic-poster-link {
    color: var(--accent-color); font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px;
    opacity: 0; transform: translateY(20px); transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.cinematic-poster-card:hover { transform: translateY(-15px); box-shadow: 0 30px 60px rgba(28, 28, 28, 0.3); }
.cinematic-poster-card:hover .cinematic-poster-img { transform: scale(1.1); opacity: 0.9; }
.cinematic-poster-card:hover .cinematic-poster-title { transform: translateY(-10px); }
.cinematic-poster-card:hover .cinematic-poster-link { opacity: 1; transform: translateY(0); }
.cinematic-poster-icon { font-size: 4rem; color: var(--accent-color); margin-bottom: 20px; text-shadow: 0 5px 15px rgba(0,0,0,0.5); transition: transform 0.5s ease; }
.cinematic-poster-card:hover .cinematic-poster-icon { transform: scale(1.1) rotate(5deg); }


/* --- 3. ADIM 3: LÜKS DASHBOARD VE DİNAMİK ALANLAR --- */
.configurator-grid {
    display: flex; flex-wrap: wrap; margin-top: 90px;
    min-height: calc(100vh - 150px);
}

.config-dashboard {
    width: 40%;
    background: radial-gradient(circle at center, #ffffff 0%, var(--light-bg) 100%);
    border-right: 1px solid rgba(28, 28, 28, 0.1);
    padding: 0px 50px;
    position: sticky; top: 150px; height: calc(100vh - 150px);
    overflow-y: auto;
}

.dash-title { 
    font-size: clamp(2rem, 3vw, 2.5rem); 
    font-weight: 900; color: #fff;
    background-color: var(--primary-color); 
    line-height: 1.2; letter-spacing: -1px;
    border-radius: 100px; 
    padding: 10px 25px;
    display: inline-block;
    box-shadow: 0 10px 20px rgba(28, 28, 28, 0.2);
}

/* Lüks Ürün Sergileme Alanı (Wrapper) */
.dash-product-wrapper {
    position: relative;
    margin: 10px 0;
    padding: 30px;
    border-radius: 30px;
    background: #72727245;
    box-shadow: 0 20px 40px rgba(0,0,0,0.04), inset 0 2px 20px rgba(255,255,255,1);
    display: flex; justify-content: center; align-items: center;
}

/* Karavanın altındaki lüks gölge efekti */
.dash-product-wrapper::after {
    content: ''; position: absolute; bottom: 15%; width: 70%; height: 20px;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.15) 0%, transparent 70%);
    border-radius: 50%; z-index: 0;
}

.dash-product-img {
    width: 100%; position: relative; z-index: 1;
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.15)); 
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
.dash-product-wrapper:hover .dash-product-img { transform: scale(1.05); }

/* Detay Kutuları (Koyu Yeşil Arkaplanlı) */
.dash-specs-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
    border-top: 1px solid rgba(0,0,0,0.05);
}
.spec-box {
    background: var(--primary-color); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px; padding: 15px; margin-top: 10px;
    display: flex; align-items: center; gap: 15px;
    box-shadow: 0 10px 20px rgba(28, 28, 28, 0.15);
    transition: all 0.4s ease;
    color: #fff;
}
.spec-box:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(28, 28, 28, 0.25); }
.spec-box i { font-size: 1.8rem; color: var(--accent-color); }
.spec-box span:first-child { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; opacity: 0.7; }
.spec-box span:last-child { font-weight: 800; color: #ffffff; font-size: 1.1rem; }

/* Dinamik Donanım Listesi (Koyu Yeşil Arkaplanlı) */
.std-equipment-list { 
    margin-top: 30px; background: var(--primary-color); color: #fff;
    border-radius: 20px; padding: 35px; border: 1px solid rgba(255,255,255,0.05); 
    box-shadow: 0 15px 40px rgba(28, 28, 28, 0.15); 
}
.std-equipment-list h6 { font-weight: 800; color: #fff; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 25px; font-size: 0.9rem; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 15px; }
.std-equipment-list li { font-size: 0.95rem; margin-bottom: 15px; display: flex; align-items: flex-start; font-weight: 400; color: rgba(255,255,255,0.85); line-height: 1.5; }
.std-equipment-list li i { color: var(--accent-color); font-size: 1.3rem; margin-right: 15px; margin-top: -2px; }


/* --- 4. SAĞ EKRAN: BENTO SEÇENEKLER --- */
.config-options-area {
    width: 60%;
    background: #ffffff;
    padding: 0 60px 240px 60px;
    overflow: visible;
}

body.configurator-mode #step3_ConfiguratorScreen {
    padding-bottom: 32px;
}

body.configurator-mode #optionsContainer {
    overflow: visible;
}
.opt-group-title { font-size: 1.6rem; font-weight: 900; color: var(--primary-color); margin-bottom: 30px; padding-bottom: 15px; border-bottom: 2px solid rgba(0,0,0,0.05); }
.bento-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 25px; }
.custom-opt-input { display: none; }
.bento-card { background: #fdfdfd; border: 2px solid rgba(0,0,0,0.05); border-radius: 20px; padding: 25px; min-height: 180px; cursor: pointer; display: flex; flex-direction: column; justify-content: space-between; transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1); position: relative; overflow: hidden; }
.bento-card.has-image { padding: 15px; }
.bento-img-wrapper { width: 100%; height: 160px; border-radius: 12px; overflow: hidden; margin-bottom: 20px; }
.bento-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.bento-card:hover .bento-img-wrapper img { transform: scale(1.1); }
.bento-card:hover { background: #fff; border-color: rgba(28, 28, 28, 0.2); box-shadow: 0 20px 40px rgba(0,0,0,0.06); transform: translateY(-5px); }
.bento-card .opt-name { font-size: 1.15rem; font-weight: 800; color: var(--primary-color); }
.bento-card .opt-desc { display: block; font-size: 0.85rem; margin-top: 12px; padding: 12px 15px; background: rgba(28, 28, 28, 0.03); border-left: 3px solid var(--accent-color); border-radius: 8px; line-height: 1.6; color: rgba(0,0,0,0.6); }
.bento-bottom { margin-top: 20px; border-top: 1px dashed rgba(0,0,0,0.1); padding-top: 15px; display: flex; align-items: center; justify-content: space-between; }
.bento-card .opt-price { font-size: 1.25rem; font-weight: 900; color: var(--accent-color); }

/* SEÇİLİ DURUM */
.custom-opt-input:checked + .bento-card { background: #ffffff; border-color: var(--primary-color); box-shadow: 0 0 0 1px var(--primary-color), 0 20px 50px rgba(28, 28, 28, 0.15); }
.custom-opt-input:checked + .bento-card::after { content: '\F26A'; font-family: 'bootstrap-icons'; position: absolute; top: 20px; right: 20px; color: #fff; background: var(--primary-color); width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; box-shadow: 0 5px 15px rgba(28, 28, 28, 0.4); }
.custom-opt-input:disabled + .bento-card { opacity: 0.3; filter: grayscale(100%); cursor: not-allowed; transform: none; box-shadow: none; background: #f5f5f5; }

/* --- 5. BUILD SUMMARY DOCK (floating price + actions) --- */
.config-summary-dock {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%) translateY(0);
    width: auto;
    max-width: min(620px, calc(100% - 32px));
    z-index: 1040;
    pointer-events: none;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease;
}

.config-summary-dock.hidden {
    transform: translateX(-50%) translateY(calc(100% + 48px));
    opacity: 0;
}

.config-summary-dock-inner {
    pointer-events: auto;
    display: flex;
    align-items: stretch;
    gap: 0;
    width: fit-content;
    max-width: 100%;
    background: linear-gradient(145deg, #ffffff 0%, #f9f7f4 100%);
    border: 1px solid color-mix(in srgb, var(--primary-color) 14%, #e6dfd7);
    border-radius: 22px;
    box-shadow:
        0 4px 0 color-mix(in srgb, var(--primary-color) 8%, transparent),
        0 28px 56px rgba(28, 28, 28, 0.16),
        0 8px 24px rgba(44, 54, 49, 0.08);
    overflow: hidden;
    position: relative;
}

.config-summary-accent {
    width: 5px;
    flex-shrink: 0;
    background: linear-gradient(180deg, var(--accent-color) 0%, var(--primary-color) 100%);
}

.config-summary-body {
    flex: 0 1 auto;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.95rem 0.85rem 0.95rem 1.1rem;
    min-width: 0;
}

.config-summary-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    color: var(--primary-color);
    background: color-mix(in srgb, var(--primary-color) 10%, #fff);
    border: 1px solid color-mix(in srgb, var(--primary-color) 18%, transparent);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.config-summary-pricing {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.config-summary-eyebrow {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #6b7c75;
}

.config-summary-discount {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--accent-color);
    background: color-mix(in srgb, var(--accent-color) 10%, #fff);
    border: 1px solid color-mix(in srgb, var(--accent-color) 28%, transparent);
    border-radius: 999px;
    padding: 0.2rem 0.65rem;
    width: fit-content;
    max-width: 100%;
}

.config-summary-strike {
    font-size: 0.9rem;
    font-weight: 600;
    color: #9ca3af;
    text-decoration: line-through;
    line-height: 1.2;
}

.config-summary-strike[hidden] {
    display: none !important;
}

.config-summary-gross {
    font-size: clamp(1.35rem, 2.8vw, 1.85rem);
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.config-summary-gross.is-placeholder {
    font-size: 0.95rem;
    font-weight: 600;
    color: #6b7c75;
    letter-spacing: 0;
}

.config-summary-net {
    font-size: 0.82rem;
    font-weight: 500;
    color: #6b7c75;
    line-height: 1.3;
}

.config-summary-net:empty {
    display: none;
}

.config-summary-transport {
    display: block;
    margin-top: 0.35rem;
    padding: 0.4rem 0.55rem;
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.35;
    color: #4a5c54;
    background: rgba(28, 28, 28, 0.06);
    border: 1px solid rgba(28, 28, 28, 0.12);
    border-radius: 8px;
}

.config-summary-transport[hidden] {
    display: none !important;
}

.config-summary-transport-label {
    font-weight: 700;
    color: var(--primary-color);
}

.config-summary-transport-amount {
    font-weight: 500;
}

.config-summary-source {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.72rem;
    font-weight: 500;
    line-height: 1.35;
    color: #6b7c75;
}

.config-summary-source[hidden] {
    display: none !important;
}

.config-summary-tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.45rem;
}

.config-summary-tool-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.32rem 0.7rem;
    font-family: inherit;
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--primary-color);
    background: #fff;
    border: 1px solid color-mix(in srgb, var(--primary-color) 22%, #e6dfd7);
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.config-summary-tool-btn i {
    font-size: 0.85rem;
    color: var(--accent-color);
}

.config-summary-tool-btn--pdf i {
    color: var(--primary-color);
}

.config-summary-tool-btn:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

.config-summary-tool-btn:hover i {
    color: #fff;
}

.config-breakdown-modal {
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.config-breakdown-table th {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted, #6b7280);
}

.config-breakdown-strike {
    display: block;
    text-decoration: line-through;
    color: #9ca3af;
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.config-breakdown-strike[hidden] {
    display: none !important;
}

.config-summary-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.75rem 0.9rem;
    flex: 0 0 auto;
    min-width: 10.5rem;
    border-left: 1px solid color-mix(in srgb, var(--primary-color) 10%, #e6dfd7);
    background: color-mix(in srgb, var(--light-bg) 60%, #fff);
}

.config-summary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    border: none;
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 0.65rem 0.9rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.config-summary-btn:hover {
    transform: translateY(-2px);
}

.config-summary-btn:active {
    transform: translateY(0);
}

.config-summary-btn-ghost {
    background: #fff;
    color: var(--primary-color);
    border: 2px solid color-mix(in srgb, var(--primary-color) 22%, #e6dfd7);
    box-shadow: 0 4px 12px rgba(28, 28, 28, 0.06);
}

.config-summary-btn-ghost:hover {
    background: color-mix(in srgb, var(--primary-color) 6%, #fff);
    border-color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(28, 28, 28, 0.1);
}

.config-summary-btn-primary {
    background: linear-gradient(135deg, var(--accent-color) 0%, #d46a3f 100%);
    color: #fff;
    box-shadow: 0 10px 28px color-mix(in srgb, var(--accent-color) 45%, transparent);
    padding-left: 1.4rem;
    padding-right: 1.4rem;
}

.config-summary-btn-primary:hover {
    background: linear-gradient(135deg, #d46a3f 0%, var(--accent-color) 100%);
    color: #fff;
    box-shadow: 0 14px 32px color-mix(in srgb, var(--accent-color) 50%, transparent);
}

.config-summary-btn-primary i {
    font-size: 1.1rem;
    transition: transform 0.2s ease;
}

.config-summary-btn-primary:hover i {
    transform: translateX(3px);
}

.config-summary-actions {
    flex-wrap: wrap;
}

@media (max-width: 991px) {
    .config-summary-tools {
        width: 100%;
    }

    .config-summary-tool-btn {
        flex: 1 1 calc(50% - 0.25rem);
        justify-content: center;
        min-width: 0;
    }

    .config-summary-tool-btn span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

/* Legacy aliases (modal submit still uses btn-magnetic-glass) */
.btn-magnetic-glass {
    background: linear-gradient(135deg, var(--accent-color) 0%, #d46a3f 100%);
    color: #fff;
    padding: 18px 45px;
    border-radius: 14px;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: none;
    border: none;
    transition: all 0.35s ease;
}

.btn-magnetic-glass:hover {
    background: linear-gradient(135deg, #d46a3f 0%, var(--accent-color) 100%);
    color: #fff;
    box-shadow: 0 14px 32px color-mix(in srgb, var(--accent-color) 45%, transparent);
    transform: translateY(-2px);
}

/* =========================================================
   HUNTER PREMIUM - THEMED CUSTOM DROPDOWN (VAR COLORS)
   ========================================================= */

/* Ana Kapsayıcı */
.premium-custom-dropdown {
    position: relative;
    max-width: 600px;
    margin-bottom: 50px;
    font-family: inherit;
    z-index: 1;
}

/* Görünür Tetikleyici (Trigger) - Bento Kutuları ile Aynı Stil */
.custom-dropdown-trigger {
    background-color: #fdfdfd; /* Bento arka planı */
    color: var(--primary-color); /* Ana marka yeşilimiz */
    border: 2px solid rgba(0,0,0,0.05); /* Bento kenarlığı */
    border-radius: 16px; 
    padding: 18px 25px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}

.custom-dropdown-trigger:hover {
    background-color: #ffffff;
    border-color: rgba(28, 28, 28, 0.2); /* Marka yeşilinin saydamı */
    box-shadow: 0 15px 30px rgba(0,0,0,0.06);
    transform: translateY(-2px);
}

.custom-dropdown-trigger.active {
    background-color: #ffffff;
    border-color: var(--primary-color); 
    box-shadow: 0 0 0 4px rgba(28, 28, 28, 0.1);
    transform: translateY(0);
}

/* Tetikleyici İçindeki Seçilen Öğenin Önizlemesi */
.selected-option-preview {
    display: flex;
    align-items: center;
    margin-right: 15px;
}

.selected-option-name {
    flex-grow: 1; 
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; 
}

/* Ok İkonu (chevron-down) */
.custom-dropdown-trigger i {
    font-size: 1.2rem;
    color: var(--primary-color);
    opacity: 0.6;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.custom-dropdown-trigger.active i {
    transform: rotate(180deg);
    opacity: 1;
    color: var(--accent-color); /* Açıldığında ok turuncu olur */
}

/* Gizli Liste Mimarisi */
.custom-dropdown-list {
    position: absolute;
    top: calc(100% + 10px); 
    left: 0;
    width: 100%;
    background-color: #ffffff; 
    border: 2px solid rgba(0,0,0,0.05);
    border-radius: 16px;
    padding: 10px;
    margin: 0;
    list-style: none;
    z-index: 1051;
    box-shadow: 0 20px 50px rgba(28, 28, 28, 0.15);
    transition: opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1), transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    max-height: min(350px, calc(100vh - 220px));
    overflow-y: auto;
}

.custom-dropdown-list.drop-up {
    top: auto;
    bottom: calc(100% + 10px);
    transform-origin: bottom center;
}

.custom-dropdown-list.hidden {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    visibility: hidden;
    display: block !important;
}

.custom-dropdown-list.drop-up.hidden {
    transform: translateY(10px);
}

/* Liste İçindeki Öğeler */
.custom-dropdown-item {
    padding: 12px 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.custom-dropdown-item:hover {
    background-color: var(--light-bg); /* Sitenin kendi açık arka planı */
    border-color: rgba(28, 28, 28, 0.1);
    transform: translateX(5px); /* Üzerine gelince şık bir şekilde sağa kayar */
}

/* İlk Seçenek (Bir Seçenek Belirleyin) */
.custom-dropdown-item.default-option {
    color: rgba(0,0,0,0.4);
    font-weight: 600;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    margin-bottom: 8px;
    padding-bottom: 15px;
    border-radius: 0;
}
.custom-dropdown-item.default-option:hover {
    background-color: transparent;
    border-color: transparent;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transform: none;
}

/* Resim/Renk Önizlemesi (Öğeler İçinde) */
.option-preview {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    margin-right: 18px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.option-preview.no-preview {
    background-color: var(--light-bg); 
    border: 1px dashed rgba(0,0,0,0.15);
    box-shadow: none;
}

/* Öğenin Adı ve Fiyatı */
.option-name-price {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
}

.custom-dropdown-item .name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2px;
}

.custom-dropdown-item .price {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--accent-color); 
}

/* UYUMSUZ (DISABLED) DURUM */
.custom-dropdown-item.disabled {
    opacity: 0.3;
    filter: grayscale(100%);
    cursor: not-allowed;
    pointer-events: none;
}

/* Standart Select'i Gizle */
.hidden-select {
    display: none;
}

/* Lüks Kaydırma Çubuğu Stili (Liste İçin) */
.custom-dropdown-list::-webkit-scrollbar { width: 6px; }
.custom-dropdown-list::-webkit-scrollbar-track { background: var(--light-bg); border-radius: 10px; }
.custom-dropdown-list::-webkit-scrollbar-thumb { background: rgba(28, 28, 28, 0.2); border-radius: 10px; }
.custom-dropdown-list::-webkit-scrollbar-thumb:hover { background: var(--primary-color); }


/* =========================================================
   HUNTER CARAVAN - SMART SCROLL FOR EQUIPMENT LIST
   ========================================================= */

/* Listeye maksimum bir yükseklik verip taşanları kaydırılabilir yapıyoruz */
.std-equipment-list ul {
    max-height: 280px; /* Yaklaşık 6-7 madde gösterir, gerisini gizler */
    overflow-y: auto;
    padding-right: 15px; /* Sağ tarafta kaydırma çubuğu için boşluk */
}

/* Lüks Kaydırma Çubuğu (Sadece bu listeye özel, yeşil kutuya uyumlu) */
.std-equipment-list ul::-webkit-scrollbar { 
    width: 6px; 
}
.std-equipment-list ul::-webkit-scrollbar-track { 
    background: rgba(255, 255, 255, 0.05); 
    border-radius: 10px; 
}
.std-equipment-list ul::-webkit-scrollbar-thumb { 
    background: rgba(255, 255, 255, 0.2); 
    border-radius: 10px; 
}
.std-equipment-list ul::-webkit-scrollbar-thumb:hover { 
    background: var(--accent-color); /* Üzerine gelince turuncu olur */
}

/* =========================================================
   HUNTER CARAVAN - CONFIGURATOR MOBILE ARMOR
   ========================================================= */

/* Tablet ve Yatay Telefonlar (991px ve altı) */
@media (max-width: 991px) {
    /* 1. SEÇİM EKRANLARI (Adım 1 ve Adım 2) */
    .selection-screen {
        padding-top: 150px !important;
        padding-bottom: 60px;
    }
    
    .cinematic-title { font-size: clamp(2rem, 6vw, 2.5rem); }
    .step-2-header { flex-direction: column; align-items: flex-start !important; gap: 20px; }
    
    /* 2. İLERLEME ÇUBUĞU (Progress Bar) */
    .premium-progress-wrapper { top: 90px; padding: 10px 0; }
    .progress-steps { gap: 15px; }
    .step-separator { width: 20px; }
    .step-item span { display: none; /* Mobilde sadece sayılar kalsın, yazılar gitsin */ }
    
    /* 3. KONFİGÜRATÖR MİZANPAJI (Adım 3 - Yan yana duran yapıyı alt alta alır) */
    .configurator-grid {
        flex-direction: column;
        margin-top: 120px;
    }
    
    /* Sol Taraf (Gösterge Paneli) */
    .config-dashboard {
        width: 100%;
        position: relative; /* Sabit durmasını iptal et, normal akışa kat */
        top: 0;
        height: auto;
        border-right: none;
        padding: 40px 20px;
        background: var(--light-bg); /* Renk karmaşasını önle */
    }
    
    .dash-product-wrapper { padding: 15px; margin: 20px 0; }
    .dash-title { font-size: 1.8rem; padding: 8px 20px; }
    
    /* Sağ Taraf (Seçenekler Alanı) */
    .config-options-area {
        width: 100%;
        padding: 40px 20px 260px 20px;
    }
    
    .opt-group-title { font-size: 1.4rem; margin-top: 40px; margin-bottom: 20px; }
    
    /* 4. SEÇENEK KUTULARI (Bento Grid) */
    .bento-grid {
        grid-template-columns: 1fr; /* Mobilde tek sütun alt alta dizilsin */
        gap: 15px;
    }
    .bento-card { min-height: 140px; padding: 15px; }
    .bento-img-wrapper { height: 180px; }
    .bento-card .opt-name { font-size: 1.05rem; }
    .bento-card .opt-price { font-size: 1.15rem; }
    
    /* 5. AÇILIR MENÜLER (Custom Dropdowns) */
    .premium-custom-dropdown { margin-bottom: 30px; }
    .custom-dropdown-trigger { padding: 15px 20px; font-size: 0.95rem; }
    .custom-dropdown-list { max-height: 250px; } /* Mobilde liste boyunu kısalt */
    .option-preview { width: 32px; height: 32px; margin-right: 12px; }
    
    /* 6. Build summary dock — mobile */
    .config-summary-dock {
        left: 50%;
        width: calc(100% - 20px);
        max-width: none;
        bottom: 14px;
        transform: translateX(-50%);
    }

    .config-summary-dock.hidden {
        transform: translateX(-50%) translateY(calc(100% + 48px));
    }

    .config-summary-dock-inner {
        flex-direction: column;
        width: 100%;
        border-radius: 20px;
    }

    .config-summary-accent {
        width: 100%;
        height: 4px;
    }

    .config-summary-body {
        padding: 1rem 1.1rem 0.5rem;
    }

    .config-summary-actions {
        width: 100%;
        flex-direction: column;
        border-left: none;
        border-top: 1px solid color-mix(in srgb, var(--primary-color) 10%, #e6dfd7);
        padding: 0.85rem 1rem 1rem;
        background: #fff;
    }

    .config-summary-btn {
        width: 100%;
    }
}

/* Küçük Telefonlar (576px ve altı) */
@media (max-width: 576px) {
    .dash-specs-grid { grid-template-columns: 1fr; /* Özellik kutularını tek sütun yap */ gap: 15px; }
    .spec-box { padding: 15px; }
    .std-equipment-list { padding: 25px 20px; }
    .std-equipment-list li { font-size: 0.85rem; }
}


/* =========================================================
   HUNTER CARAVAN - LEGAL CONSENT CHECKBOX
   ========================================================= */
.legal-consent-wrapper {
    background: rgba(249, 248, 246, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: var(--transition-smooth);
}
.legal-consent-wrapper:hover { border-color: rgba(0, 0, 0, 0.1); }
.legal-consent-checkbox {
    width: 22px !important; height: 22px !important; flex-shrink: 0;
    cursor: pointer; border-color: var(--accent-color) !important; box-shadow: none !important;
}
.legal-consent-checkbox:checked {
    background-color: var(--accent-color) !important; border-color: var(--accent-color) !important;
}
.legal-consent-checkbox:focus {
    box-shadow: 0 0 0 0.25rem color-mix(in srgb, var(--accent-color) 25%, transparent) !important;
}
.legal-consent-label { font-size: 0.85rem; color: var(--text-main); line-height: 1.6; cursor: pointer; }



/* =========================================================
   HUNTER CARAVAN - LUXURY PHONE CAPSULE (UNBREAKABLE)
   ========================================================= */
.premium-phone-container {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important; /* Asla alt satıra inme kilidi */
    align-items: stretch !important;
    width: 100% !important;
    background: #f8f9fa !important;
    border-radius: 15px !important;
    border: 2px solid transparent !important;
    height: calc(3.5rem + 15px) !important;
    transition: all 0.3s ease !important;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.02) !important;
    position: relative !important;
    overflow: hidden !important; /* Dışarı taşmaları engeller */
}

/* Odaklanma (Focus) Efekti */
.premium-phone-container:focus-within {
    background: #ffffff !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 4px rgba(28, 28, 28, 0.1) !important;
}

/* Bayrak Tetikleyici Kutu */
.flag-select-trigger {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 15px 15px 0 15px !important; /* Yazı ile etiket çakışmasın diye üstten boşluk */
    cursor: pointer !important;
    border-right: 1px solid rgba(0,0,0,0.05) !important;
    min-width: 110px !important;
    flex-shrink: 0 !important; /* Ezilme kilidi */
    background: transparent !important;
    transition: background 0.2s !important;
}
.flag-select-trigger:hover { background: rgba(0,0,0,0.03) !important; }

/* Telefon Numarası Input Alanı */
.premium-phone-input {
    flex-grow: 1 !important; /* Kalan tüm boşluğu doldur */
    min-width: 0 !important; /* Dar ekranlarda taşmayı önler */
    width: 100% !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    padding: 15px 15px 0 15px !important; /* Yazı ile etiket çakışmasın diye üstten boşluk */
    height: 100% !important;
    font-size: 1.1rem !important;
    color: var(--text-main) !important;
}

/* --- DROPDOWN MENÜSÜ --- */
.premium-flag-dropdown {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 0 !important;
    width: 260px !important;
    background: #ffffff !important;
    border-radius: 15px !important;
    list-style: none !important;
    padding: 10px 0 !important;
    margin: 0 !important;
    z-index: 1060 !important;
    display: none;
    max-height: 280px !important;
    overflow-y: auto !important;
    border: 1px solid rgba(0,0,0,0.05) !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15) !important;
}
.premium-flag-dropdown.show { display: block !important; animation: fadeInDropdown 0.2s cubic-bezier(0.25, 1, 0.5, 1) !important; }
.premium-flag-dropdown li {
    padding: 12px 20px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    font-size: 0.95rem !important;
    color: #444 !important;
    display: flex !important;
    align-items: center !important;
    font-weight: 500 !important;
}
.premium-flag-dropdown li:hover { background: rgba(28, 28, 28, 0.05) !important; color: var(--primary-color) !important; padding-left: 25px !important; }
.premium-flag-dropdown li span.fi { margin-right: 15px !important; border-radius: 3px !important; font-size: 1.3rem !important; box-shadow: 0 2px 5px rgba(0,0,0,0.15) !important; }

/* SweetAlert2 — taslak kaydedildi / sipariş bildirimleri */
.premium-swal-popup {
    border-radius: 20px !important;
    padding: 1.75rem 1.5rem 1.5rem !important;
    font-family: 'Poppins', 'Segoe UI', system-ui, sans-serif !important;
    box-shadow: 0 24px 60px rgba(28, 28, 28, 0.18) !important;
}

.premium-swal-popup .swal2-title {
    color: #1C1C1C !important;
    font-weight: 700 !important;
    font-size: 1.35rem !important;
}

.premium-swal-popup .swal2-html-container,
.premium-swal-popup .swal2-content {
    color: #2c3631 !important;
    font-size: 0.95rem !important;
    line-height: 1.55 !important;
}

.premium-swal-confirm {
    border-radius: 30px !important;
    font-weight: 700 !important;
    padding: 0.6rem 1.75rem !important;
}

.premium-swal-popup .swal2-timer-progress-bar {
    background: #F2B705 !important;
}

.premium-swal-popup .swal2-icon.swal2-success {
    border-color: #1C1C1C !important;
    color: #1C1C1C !important;
}

.premium-swal-popup .swal2-icon.swal2-success [class^='swal2-success-line'] {
    background-color: #1C1C1C !important;
}

.premium-swal-popup .swal2-icon.swal2-success .swal2-success-ring {
    border-color: rgba(28, 28, 28, 0.25) !important;
}
