/* ================================
   CAR SWITCHER – PREMIUM FRONTEND
================================ */
.car-switcher-container {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    padding-top: 20px;
    padding-bottom: 60px;
}
/* CAR IMAGE */
.car-image-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
#car-active-image {
    width: 100%;
    max-width: 1300px;
    height: auto;
    transition: opacity .25s ease;
}
/* COLOR TABS - HƏMİŞƏ 2x2 GRID */
.color-tabs-wrapper {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
}
.color-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    padding: 15px 20px;
    border-radius: 40px;
    background: #1a1a1a;
    color: #fff;
    opacity: .6;
    transition: .2s ease;
    font-size: 17px;
}

.color-tab .tab-label {
    white-space: normal;
    word-break: break-word;
    max-width: 90px;
    line-height: 1.2;
}

.color-tab:hover {
    opacity: .85;
}
.color-tab.active {
    opacity: 1;
    background: #3e3e3e;
}
/* THE SMALL CIRCLE ICON (SVG background) */
.color-tab .dot {
    width: 32px;
    height: 32px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 50%;
    flex-shrink: 0;
}
/* CTA BUTTON */
.car-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 42px;
    border: 2px solid #00ffc3;
    border-radius: 14px;
    color: #00ffc3;
    font-size: 20px;
    font-weight: 500;
    margin-top: 45px;
    text-decoration: none;
    transition: .25s ease;
}
.car-cta .arrow {
    margin-left: 10px;
    font-size: 24px;
    transform: translateY(1px);
}
.car-cta:hover {
    background: #00ffc3;
    color: #000;
}
/* ================================
   RESPONSIVE
================================ */
/* Tablet - 2x2 grid qalır */
@media (max-width: 1024px) {
    .color-tabs-wrapper {
        gap: 16px;
        margin-top: 30px;
        max-width: 500px;
    }
    .color-tab {
        padding: 12px 15px;
        font-size: 15px;
    }
    .color-tab .tab-label {
        max-width: 80px;
    }
    .color-tab .dot {
        width: 28px;
        height: 28px;
    }
}

/* MOBİL – 2x2 grid, daha kiçik */
@media (max-width: 768px) {
    .car-switcher-container {
        padding-left: 10px;
        padding-right: 10px;
        padding-top: 15px;
        padding-bottom: 50px;
    }
    
    .color-tabs-wrapper {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-top: 30px;
        width: 100%;
        max-width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
    }
    
    .color-tab {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 12px 8px;
        border-radius: 20px;
        width: 100%;
        text-align: center;
        gap: 8px;
        font-size: 12px;
    }
    
    .color-tab .tab-label {
        display: block;
        width: 100%;
        word-break: break-word;
        white-space: normal;
        max-width: 65px;
        margin: 0 auto;
        line-height: 1.2;
    }
    
    .color-tab .dot {
        width: 22px;
        height: 22px;
    }
    
    .car-cta {
        padding: 14px 28px;
        font-size: 15px;
        margin-top: 30px;
    }
    
    .car-cta .arrow {
        margin-left: 8px;
        font-size: 20px;
    }
}

/* Kiçik mobil (320px - 480px) */
@media (max-width: 480px) {
    .car-switcher-container {
        padding-left: 8px;
        padding-right: 8px;
        padding-top: 12px;
        padding-bottom: 35px;
    }
    
    #car-active-image {
        max-width: 100%;
    }
    
    .color-tabs-wrapper {
        gap: 10px;
        margin-top: 25px;
        padding: 0 5px;
    }
    
    .color-tab {
        padding: 10px 6px;
        border-radius: 18px;
        font-size: 11px;
        gap: 6px;
    }
    
    .color-tab .tab-label {
        display: block;
        width: 100%;
        word-break: break-word;
        white-space: normal;
        max-width: 55px;
        margin: 0 auto;
        line-height: 1.1;
        font-size: 10px;
    }
    
    .color-tab .dot {
        width: 18px;
        height: 18px;
    }
    
    .car-cta {
        padding: 12px 20px;
        font-size: 14px;
        margin-top: 25px;
    }
    
    .car-cta .arrow {
        margin-left: 6px;
        font-size: 16px;
    }
}