.flexslider-thumbnails {
    background-color: #fff;
    padding: 5px;
    background-size: cover;
    object-fit: cover;
}

.car-single-slider {
    width: 100%;
    max-width: 100%;
    position: relative;
    margin-bottom: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
}

.car-single-slider .slides {
    list-style: none;
    margin: 0;
    padding: 0;
}

.car-single-slider .slides li {
    display: block;
    width: 100%;
}

.car-single-slider .slides li img {
    width: 100%;
    max-height: 550px;
    object-fit: contain;
    object-position: center;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    height: 400px;
}

.car-single-slider .flex-control-nav {
    margin-top: 10px;
}

.flex-control-thumbs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch; /* iOS için akıcı kaydırma */
    white-space: nowrap;
    padding: 10px 0;
    margin: 0;
    gap: 10px;
    scrollbar-color: red transparent;
    min-height: 70px;
    scrollbar-gutter: stable both-edges;
    scroll-snap-type: x mandatory; /* Kaydırma snap */
}

.flex-control-thumbs::-webkit-scrollbar {
    height: 8px;
}

.flex-control-thumbs::-webkit-scrollbar-track {
    background: transparent;
}

.flex-control-thumbs::-webkit-scrollbar-thumb {
    background-color: red;
    border-radius: 4px;
    border: 1px solid transparent;
}

.flex-control-thumbs li {
    flex: 0 0 auto;
    scroll-snap-align: start;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 110px; /* Mobilde genişlik arttırıldı */
}

.flex-control-thumbs img {
    width: 100%;
    height: 80px; /* Yükseklik 80px olarak güncellendi */
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    display: block;
    margin: 0;
    padding: 0;
}

.flex-control-thumbs img:hover,
.flex-control-thumbs img.active {
    box-shadow: 0 0 0 2px red; /* Önceki gölge stili */
}

/* Tablet ve küçük ekran */
@media (max-width: 768px) {
    .car-single-slider {
        margin-bottom: 15px;
        border-radius: 8px;
    }

    .car-single-slider .slides li img {
        max-height: 300px;
        border-radius: 6px;
    }

    .flex-control-thumbs {
        gap: 8px;
        padding: 8px 0;
    }

    .flex-control-thumbs li {
        width: 90px;
    }

    .flex-control-thumbs img {
        height: 65px; /* Tablet için de biraz küçültüldü */
        border-radius: 6px;
    }
}

/* Mobil (küçük ekranlar) */
@media (max-width: 480px) {
    .car-single-slider .slides li img {
        max-height: 220px;
    }

    .flex-control-thumbs li {
        width: 80px;
    }

    .flex-control-thumbs img {
        height: 55px;
        border-radius: 6px;
    }
}







.car-single-widget {
    background-color: #fcfcfc;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
    font-family: 'Roboto', sans-serif;
    color: #333;
}

/* BAŞLIK STİLLERİ */
.car-single-widget h4 {
    font-size: 20px;
    font-weight: 700;
    color: #212529;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e9ecef;
}

/* ARAÇ BİLGİ KUTULARI KAPSAYICISI */
.car-key-info .row {
    margin-left: -6px;
    margin-right: -6px;
}

.car-key-info .col-lg-3,
.car-key-info .col-md-4,
.car-key-info .col-6 {
    padding-left: 6px;
    padding-right: 6px;
    margin-bottom: 12px;
}

/* HER BİR BİLGİ KUTUSU (ITEM) STİLİ */
.car-key-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 15px;
    padding-top: 25px;
    border: 1px solid #e9e9e9;
    border-radius: 8px;
    background-color: #ffffff;
    transition: all 0.2s ease-in-out;
    height: 100%;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.car-key-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.08);
    border-color: var(--theme-color);
}

/* İKON STİLİ - Sağ üste konumlandırılmış ikon */
.car-key-icon {
    position: absolute;
    top: 15px;
    right: 10px;
    font-size: 20px;
    color: #007bff;
    background-color: #e6f2ff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    flex-shrink: 0;
}

/* METİN İÇERİĞİ STİLİ */
.car-key-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
}

.car-key-content span {
    display: block;
    font-size: 16px;
    color: #777;
    margin-bottom: 3px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.car-key-content h6 {
    font-size: 15px;
    color: #343a40;
    margin: 0;
    font-weight: 700;
    line-height: 1.1;
    word-break: break-word;
    hyphens: auto;
}




/* RESPONSIVE AYARLAMALAR */

/* Tablet ve küçük masaüstü ekranları (md) */
@media (max-width: 991.98px) {
    .car-single-widget {
        padding: 18px;
    }

    .car-single-widget h4 {
        font-size: 18px;
        margin-bottom: 18px;
    }

    .car-key-item {
        padding: 12px;
        padding-top: 22px;
    }

    .car-key-icon {
        font-size: 18px;
        width: 38px;
        height: 38px;
        top: 8px;
        right: 8px;
    }

    .car-key-content span {
        font-size: 10px;
    }

    .car-key-content h6 {
        font-size: 14px;
    }

    .car-key-info .col-lg-3,
    .car-key-info .col-md-4,
    .car-key-info .col-6 {
        padding-left: 5px;
        padding-right: 5px;
        margin-bottom: 10px;
    }
}

/* Küçük tabletler ve büyük telefonlar (sm) */
@media (max-width: 767.98px) {
    .car-single-widget {
        padding: 15px;
    }

    .car-single-widget h4 {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .car-key-item {
        padding: 10px;
        padding-top: 20px;
    }

    .car-key-icon {
        font-size: 16px;
        width: 35px;
        height: 35px;
        top: 7px;
        right: 7px;
    }

    .car-key-content span {
        font-size: 9px;
    }

    .car-key-content h6 {
        font-size: 13px;
    }

    /* Mobil cihazlarda her bir öğe tam genişliği kaplasın */
    .car-key-info .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
        padding-left: 5px;
        padding-right: 5px;
    }
}

/* Telefonlar (xs) */
@media (max-width: 575.98px) {
    .car-single-widget {
        padding: 10px;
    }

    .car-single-widget h4 {
        font-size: 15px;
        margin-bottom: 10px;
        text-align: center;
    }

    .car-key-item {
        padding: 8px;
        padding-top: 18px;
    }

    .car-key-icon {
        font-size: 14px;
        width: 30px;
        height: 30px;
        top: 6px;
        right: 6px;
    }

    .car-key-content span {
        font-size: 14px;
    }

    .car-key-content h6 {
        font-size: 14px;
    }
}

/* Default styles for larger screens */
.car-single-list li {
    font-size: 16px;
}

/* Specific styles for labels within tech specs */
.car-single-list li .spec-label {
    color: #777777;
    font-weight: bold;
}

/* Specific styles for data values within tech specs */
.car-single-list li .spec-value {
    color: #343a40;
    font-weight: 700;
}

/* Specific styles for equipment item names (labels) */
.car-single-list li .equipment-item {
    color: #1a1919;
    font-weight: 500;
}

/* Media query for mobile (screens up to 767px wide) */
@media (max-width: 767px) {
    .car-single-list li {
        font-size: 14px;
    }
}



/* single-widget */

.car-single-widget {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    /* Soft shadow */
}

/* Price Styling */
.car-single-price {
    font-size: 30px;
    font-weight: 700;
    color: var(--theme-color);
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

/* Meta Info Styling */
.car-single-meta {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 20px;
}

.car-single-meta li {
    font-size: 15px;
    font-weight: 700;
    color: #555;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.car-single-meta li:last-child {
    margin-bottom: 0;
}

.car-single-meta li i {
    margin-right: 8px;
    color: var(--theme-color);
    font-weight: 900;
}



.get-directions-btn {
    background-color: var(--theme-color);
    color: #fff;
    padding: 12px 25px;
    border-radius: 13px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    width: 80%;
}

.get-directions-btn:hover {
    background-color: var(--theme-color-dark);

}


.send-now-btn {
    background-color: var(--theme-color);
    color: #fff;
    padding: 12px 25px;
    border-radius: 16px;
    border: none;
    font-size: 16px;
    font-weight: 600;
}

.send-now-btn:hover {
    background-color: var(--theme-color-dark);

}

/* --- Form Stilleri --- */
.car-single-form .form-group {
    margin-bottom: 15px;
}

.car-single-form .form-control {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 12px 15px;
    width: 100%;
    font-size: 15px;
    color: #333;
    transition: border-color 0.3s ease;
}

.car-single-form .form-control::placeholder {
    color: #aaa;
}

.car-single-form .form-control:focus {
    border-color: var(--theme-color);
    outline: none;
    box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--theme-color) 25%, transparent);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.request-options {
    background-color: #f8f8f8;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.request-options-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.request-options .form-check {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.request-options .form-check-input[type="radio"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 50%;
    outline: none;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    margin-top: 0;
    display: grid;
    place-content: center;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.request-options .form-check-input[type="radio"]:checked {
    border-color: var(--theme-color);
    background-color: #fff;
}

.request-options .form-check-input[type="radio"]::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--theme-color);
    transform: scale(0);
    transition: transform 0.2s ease;
}

.request-options .form-check-input[type="radio"]:checked::before {
    transform: scale(1);
}

.request-options .form-check-input[type="radio"]:focus {
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--theme-color) 25%, transparent);
}

.request-options .form-check-label {
    font-size: 15px;
    color: #555;
    cursor: pointer;
    margin-left: 10px;
}

/* --- Mobil Uyumluluk (Responsive Design) --- */
@media (max-width: 768px) {
    .car-single-widget {
        padding: 20px;
        margin-bottom: 20px;
    }

    .car-single-price {
        font-size: 26px;
        margin-bottom: 15px;
        padding-bottom: 15px;
    }

    .car-single-meta li {
        font-size: 16px;
        margin-bottom: 10px;
    }


    .car-single-form .form-control {
        padding: 10px 12px;
        font-size: 14px;
    }

    textarea.form-control {
        min-height: 120px;
    }

    .theme-btn,
    .get-directions-btn {
        padding: 10px 20px;
        font-size: 15px;
        border-radius: 10px;
    }
}

@media (max-width: 480px) {
    .car-single-widget {
        padding: 15px;
    }

    .car-single-price {
        font-size: 24px;
    }

    .car-single-meta li {
        font-size: 15px;
    }
}

.form-message.success {
    color: #155724;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
}

.form-control.is-invalid {
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
}

.g-recaptcha-feedback {
    margin-top: 0.5rem;
}


#car-container {
    width: 100%;
    max-width: 400px;
    /* Adjust as needed */
    margin: 20px auto;
    border: 1px solid #eee;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    padding: 20px;
    box-sizing: border-box;
}

.legend {
    margin-bottom: 20px;
    display: flex;
    gap: 15px;
    font-size: 0.9em;
    flex-wrap: wrap;
}

/* Mobil görünüm için */
@media (max-width: 768px) {
    .legend {
        flex-direction: column;
        gap: 10px;
        font-size: 0.85em;
        align-items: flex-start;
        /* sola yaslama */
    }
}

.legend-item {
    display: flex;
    align-items: center;
}

.legend-color {
    width: 20px;
    height: 20px;
    margin-right: 5px;
    border: 1px solid #ccc;
    /* For patterns */
}

/* Styles for the patterns in legend */
#legend-original {
    background-color: #F0F0F0;
}

#legend-painted {
    background-color: #ffdb4d;
}

#legend-locally-painted {
    /* background-image: linear-gradient(45deg, #4169e1 25%, transparent 25%, transparent 50%, #4169e1 50%, #4169e1 75%, transparent 75%, transparent); */
    background-color: #f5984f;
    background-size: 10px 10px;
}

#legend-replaced {
    /* background-image: linear-gradient(45deg, #ff0000 25%, transparent 25%, transparent 50%, #ff0000 50%, #ff0000 75%, transparent 75%, transparent); */
    background-color: #ff0000;
    background-size: 10px 10px;
}

.fancybox__slide {
  transition-duration: 100ms !important;
}