.quote-page {
    background-color: #F5F2EF;
    padding: 60px;
    border-radius: 6px;
    /*margin-inline: 20px/;*/
}

.quote-container {
    max-width: 1100px;
    margin: 0 auto;
    background: transparent;
}

.quote-section {
    padding-bottom: 60px;
}

.quote-section:last-child {
    padding-bottom: 0;
}

.section-title {
    font-size: 24px;
    line-height: 78px;
    padding-bottom: 25px;
    color: #000;
    text-transform: uppercase;
}

/* Tabs */
.test_drive .tabs-container {
    display: flex;
    background: #fff;
    overflow: hidden;
    border: 1px solid #DBDBDC;
    border-radius: 8px;
}
.cat_tabs .tab-btn {
    flex: 1;
    padding: 15px;
    border: none;
    background: #fff;
    color: #b0b0b0;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.tab-btn.active {
    border-radius: 8px;
}

/* Car Slider */
.car-slider-wrapper {
    position: relative;
    direction: ltr;
}

.car-card {
    padding: 10px;
    outline: none;
}

.car-card-inner {
    background: transparent;
    border: 1px solid #cccccc;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    height: 100%;min-height: 210px;display: flex;align-items: center;
}
.terms-wrapper{grid-column: span 2;}

.car-card.selected .car-card-inner {
    border-color: #000;
    background-color: #ffffff;
}

.selection-check {
    width: 24px;
    height: 24px;
    background: #000;
    border-radius: 50%;
    position: absolute;
    top: 15px;
    right: 15px;
    display: none;
    align-items: center;
    justify-content: center;
}

.selection-check::after {
    content: '';
    width: 10px;
    height: 6px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
    margin-top: -3px;
}

.car-card.selected .selection-check {
    display: flex;
}

.car-card img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.car-card:hover img {
    transform: scale(1.05);
}

.car-name {
    font-size: 18px;
    line-height: 27px;
    font-weight: 500;
    color: #0a0a0a;
    margin: 0;
}

/* Slick Arrows */
.owl-nav .owl-prev, .owl-nav .owl-next{position: absolute;
    top: 50%;
    transform: translateY(-50%);}
/* Slick Arrows */
.owl-prev,
.owl-next {
    width: 44px;
    height: 44px;
    background: #fff !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) !important;
    z-index: 10;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    transition: all 0.3s ease;
}
.owl-prev {
    left: -22px;
}

.owl-next {
    right: -22px;
}

.owl-prev:hover,
.owl-next:hover {
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    background: #f8f8f8 !important;
}

.owl-prev img,
.owl-next img {
    width: 10px;
    height: auto;
}

.owl-prev:before,
.owl-next:before {
    display: none !important;
    content: "" !important;
}

/* Form Styles */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label,
.group-label {
    font-size: 16px;
    line-height: 26px;
    font-weight: 500;
    padding-bottom: 5px;
    color: rgba(0, 0, 0, 80%);
}

.required {
    color: #ff4d4d;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 15px;
    border: 1px solid rgba(0, 0, 0, 10%) !important;
    border-radius: 3px;
    font-size: 16px;
    outline: none;
    background-color: #ffffff;
    transition: border-color 0.3s ease;
    width: 100%;
    box-sizing: border-box;height: auto;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #000;
}

/* Radio buttons */
.radio-group {
    display: flex;
    gap: 30px;
    padding-top: 10px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 16px;
    color: rgba(0, 0, 0, 80%);
}

.radio-label input[type="radio"] {
    /* appearance: none; */
    /* width: 20px;
    height: 20px;
    border: 1px solid #DBDBDC;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    background: #fff; */
}

.radio-label input[type="radio"]:checked {
    border-color: #000;
}

/*.radio-label input[type="radio"]:checked::after {
    content: '';
    width: 10px;
    height: 10px;
    background: #000;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}*/

/* Time input hint */
.time-hint {
    font-size: 12px;
    color: #7b7b7b;
    border: 1px solid #DDDAD8;
    background-color: rgba(255, 255, 255, 70%);
    padding: 10px;
    border-top: 0;
}

/* Checkbox wrapper */
.terms-wrapper {
    margin: 30px 0 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    line-height: 26px;
    color: #666666;
}

.checkbox-label input[type="checkbox"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 1px solid #DBDBDC;
    border-radius: 3px;
    position: relative;
    cursor: pointer;
    background: #fff;
    flex-shrink: 0;
}

.checkbox-label input[type="checkbox"]:checked {
    background: #fff;
    border-color: #000;
}

.checkbox-label input[type="checkbox"]:checked::after {
    content: '';
    width: 10px;
    height: 6px;
    border-left: 2px solid #000;
    border-bottom: 2px solid #000;
    transform: rotate(-45deg);
    position: absolute;
    top: 5px;
    left: 4px;
}

.recaptcha-wrapper {
    margin: 30px 0;
}

.recaptcha-placeholder img {
    max-width: 300px;
}

.submit-btn {
    cursor: pointer;
    transition: opacity 0.3s ease;
    text-transform: uppercase;
    max-width: 280px;
}

.submit-btn:hover {
    opacity: 0.9;
}

.d-none {
    display: none !important;
}

.test_drive .map_section {
    background-color: #ffffff;
    width: 100%;
    padding: 40px 20px;
    border-radius: 8px;
}

/* Responsive */
@media (min-width: 1281px) and (max-width: 1550px) {
    .test_drive .contact-map {
        width: 420px;
    }

    .test_drive .contact-info {
        width: calc(100% - 450px);
    }
}

@media (min-width: 1024px) and (max-width: 1280px) {
    .quote-page {
        padding: 35px;
        /*margin: 0 15px;*/
    }

    .quote-section {
        padding-bottom: 35px;
    }

    .section-title {
        font-size: 16px;
        line-height: 30px;
        padding-bottom: 18px;
    }

    .test_drive .contact-map {
        width: 370px;
    }

    .test_drive .contact-info {
        width: calc(100% - 390px);
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .quote-page {
        padding: 40px;
        /*margin: 0 20px;*/
    }

    .quote-section {
        padding-bottom: 35px;
    }

    .section-title {
        font-size: 18px;
        line-height: 34px;
        padding-bottom: 18px;
    }

    .test_drive .contact-right-body {
        flex-direction: row;
    }
}

@media (max-width: 767px) {
    .owl-theme .owl-nav{display: none;}
    .form-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        width: 100%;
        display: flex;
        flex-direction: column;
    }
    .checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    line-height: 18px;}

    .form-group.full-width {
        grid-column: span 1;
    }

    .quote-page {
        padding: 15px;
        /*margin: 0 15px;*/
    }

    .quote-section {
        padding-bottom: 20px;
        padding-top: 20px;
    }
    .inner_container.drive-form-content{padding: 0px;}
    .test_drive .map_section{padding: 25px 20px;}

    .section-title {
        font-size: 16px;
        line-height: 30px;
        padding-bottom: 15px;
    }

    .tab-btn {
        padding: 12px;
        font-size: 14px;
    }

    .form-group label,
    .group-label {
        font-size: 14px;
        line-height: 22px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px;
        font-size: 14px;
    }

    .recaptcha-wrapper {
        margin: 15px 0;
    }

    .slick-prev,
    .slick-next {
        display: none !important;
    }

    .test_drive .contact-right-body {
        flex-direction: column;
    }
}