#lightbox {
    display: none;
}

#th-car-section-content {
    padding-left: 16px;
    padding-right: 16px;
}

#th-car-section .tab-pane-body {
    width: 100%;
}

.th_car_products #left_column {
    padding-left: 0;
}

#th-car-section .th_car_buttons .btn {
    text-transform: none;
    padding: 38px 28px;
    box-shadow: 0 0 12px 0 rgba(233, 87, 18, 0.35);
    transition: box-shadow 0.3s;
}

#th-car-section .th_car_buttons .btn:hover {
    box-shadow: 0 0 20px 0 rgba(233, 87, 18, 0.5);
}


#th-car-section .th_desc_heading {
    margin-bottom: .5em;
}

.th_car_details {
    display: flex;
    border-radius: 16px;
    border: 2px solid #EBE9EF;
    align-items: flex-start;
    justify-content: center;
    flex: 1 0 0;
    padding: 24px;
    margin-bottom: 20px;

    .th_details_container {
        padding-left: 0;
    }

    .th_images_container {
        padding-right: 20px;
        padding-left: 0;

        img {
            object-fit: cover;
            width: 100%;
            height: 100%;
        }

        .th_images_cover {
            margin-bottom: 6px;

            .swiper-slide {
                height: 11em;
                overflow: hidden;
                border-radius: 8px;
                background: rgba(0, 0, 0, 0.5);
                cursor: pointer;
            }
        }

        .th_images_bottom {
            .swiper-slide {
                height: 3.5em;
                overflow: hidden;
                border-radius: 4px;
                background: rgba(0, 0, 0, 0.5);
            }
        }
    }

    .th_car_title_row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        margin-bottom: .8em;
    }

    .th_car_title_row .th_car_min_price {
        margin-top: 0;
    }

    .th_car_title {
        color: #203754;
        font-family: Roboto;
        font-size: 20px;
        font-style: normal;
        font-weight: 700;
        line-height: 150%;
        margin-bottom: .5em;
    }

    .th_car_detail_label {
        color: #203754;
        font-family: Inter;
        font-size: 16px;
        font-style: normal;
        font-weight: 700;
        line-height: 140%;
    }

    .th_car_detail_value {
        color: #203754;
        font-family: Inter;
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 140%;
    }

    .th_car_detail.row {
        border-bottom: 1px solid #E6E8E9;
        margin: 0;
        padding-bottom: .3em;
        margin-bottom: .3em;

        .col-6 {
            padding: 0;
        }
    }

    a.btn.btn-default,
    button.th_car_notify {
        display: flex;
        height: 48px;
        padding: 16px 28px;
        justify-content: center;
        align-items: center;
        gap: 8px;
        align-self: stretch;
        border-radius: 8px;
        border: 2px solid rgba(255, 255, 255, 0.24);
        background: #E95712;
        color: #FFF;
        font-family: Roboto;
        font-size: 16px;
        font-style: normal;
        font-weight: 700;
        line-height: 150%;
        margin-bottom: 16px;
        text-transform: none;
    }

    a.whatsappchat-anchor {
        div {
            width: 100%;
        }

        span:first-child {
            width: 100%;
            display: block;
            margin: 0;
            text-align: center;
        }
    }

    .th_car_notify_card {
        background: #FFF;
        border: 2px solid #EBE9EF;
        border-radius: 12px;
        padding: 16px;
        margin-top: 16px;
        text-align: center;
        cursor: pointer;
        transition: border-color 0.2s;
    }

    .th_car_notify_card:hover {
        border-color: #E95712;
    }

    .th_car_notify_card.th_car_notify_active {
        border-color: #E95712;
        background: #FFF5F0;
        cursor: pointer;
    }

    .th_car_notify_card_header {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .th_car_notify_card_icon {
        color: #E95712;
        font-size: 24px;
        display: flex;
    }

    .th_car_notify_card_title {
        color: #203754;
        font-family: Inter;
        font-size: 16px;
        font-weight: 600;
    }

    .th_car_notify_card_text {
        color: #375E8D;
        font-family: Inter;
        font-size: 13px;
        font-weight: 400;
        margin-top: 4px;
    }

    .th_car_notify_card .th_car_notify_icon_filled { display: none; }
    .th_car_notify_card.th_car_notify_active .th_car_notify_icon_outlined { display: none; }
    .th_car_notify_card.th_car_notify_active .th_car_notify_icon_filled { display: flex; }

    .th_car_notify_card .th_car_notify_title_active { display: none; }
    .th_car_notify_card.th_car_notify_active .th_car_notify_title_inactive { display: none; }
    .th_car_notify_card.th_car_notify_active .th_car_notify_title_active { display: inline; }

    .th_car_notify_card .th_car_notify_text_active { display: none; }
    .th_car_notify_card.th_car_notify_active .th_car_notify_text_inactive { display: none; }
    .th_car_notify_card.th_car_notify_active .th_car_notify_text_active { display: inline; }

    .th_car_min_price {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        padding: 8px;
        background: #FFF5F0;
        border-radius: 8px;
        margin-top: 16px;
    }

    .th_car_min_price_label {
        color: #203754;
        font-family: Inter;
        font-size: 16px;
        font-weight: 400;
    }

    .th_car_min_price_value {
        color: #E95712;
        font-family: Inter;
        font-size: 20px;
        font-weight: 700;
    }

    .th_car_buttons_container {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

.th_car_notify_bottom.th_car_details {
    border: none;
    border-radius: 0;
    padding: 0;
    margin-top: 24px;
    display: block;
}

.th_car_notify_bottom .th_car_notify_card {
    max-width: 100%;
}

/* Unsubscribe confirmation modal */
.th_car_unsubscribe_modal .modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
    margin-right: 10px;
}

.th_car_unsubscribe_modal .modal-body {
    padding: 24px 24px 8px;
}

.th_car_unsubscribe_modal .modal-body h5 {
    color: #203754;
    font-family: Inter;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.th_car_unsubscribe_modal .modal-body p {
    color: #375E8D;
    font-family: Inter;
    font-size: 14px;
    margin-bottom: 0;
}

.th_car_unsubscribe_icon {
    color: #E95712;
    margin-bottom: 12px;
}

.th_car_unsubscribe_modal .modal-footer {
    border-top: none;
    justify-content: center;
    gap: 8px;
    padding: 16px 24px 24px;
}

.th_car_unsubscribe_modal .btn-secondary {
    display: flex;
    height: 48px;
    padding: 16px 28px;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    border: 2px solid #E95712;
    background: #FFF;
    color: #E95712;
    font-family: Roboto;
    font-size: 16px;
    font-weight: 700;
    line-height: 150%;
    text-transform: none;
}

.th_car_unsubscribe_modal .btn-secondary:hover {
    background: #E95712;
    color: #FFF;
}

.th_car_unsubscribe_modal .btn-primary {
    display: flex;
    height: 48px;
    padding: 16px 28px;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.24);
    background: #E95712;
    color: #FFF;
    font-family: Roboto;
    font-size: 16px;
    font-weight: 700;
    line-height: 150%;
    text-transform: none;
}

.th_car_unsubscribe_modal .btn-primary:hover {
    box-shadow: 0 4px 12px 0 #64291833;
    background: #d14e10;
}

.th_car_page_title {
    flex-direction: column;

    h1 {
        color: #203754;
        font-family: Inter;
        font-size: 44px;
        font-style: normal;
        font-weight: 700;
        line-height: 120%;
    }

    span {
        color: #203754;
        font-family: Inter;
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 140%;
    }
}

.th_sort {
    margin-bottom: 1em;
    width: 100%;
}

.th_car_footer {
    width: 100%;

    .bottom_pagination {
        width: 100%;
    }

    .dropdown_list {
        right: 0;
        left: auto;
    }
}

.th_car_filters {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 16px;
    border: 2px solid #EBE9EF;
    background: #FFF;
    box-shadow: 0 4px 12px 0 #EBE9EF;

    h3 {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 16px 24px;
        align-self: stretch;
        color: #203754;
        font-family: Roboto;
        font-size: 20px;
        font-style: normal;
        font-weight: 700;
        border-bottom: 2px solid #EBE9EF;

        i {
            display: none;
        }
    }

    .th_car_filters_content {
        display: flex;
        padding: 24px;
        flex-direction: column;
        align-items: flex-start;
        align-self: stretch;
    }

    .th_car_filters_content_categories {
        display: flex;
        justify-content: start;
        align-items: start;
        flex-direction: column;
        align-self: stretch;

        label {
            color: #203754;
            font-family: Inter;
            font-size: 16px;
            font-style: normal;
            font-weight: 700;
            line-height: 140%;
            display: flex;
            justify-content: space-between;
            width: 100%;
        }

        .th_car_filters_content_categories_data {
            width: 100%;
        }

        .th_car_filters_content_category[data-depth="3"] {
            margin-left: 1em;
        }

        .th_car_filters_content_category[data-depth="4"] {
            margin-left: 2em;
        }

        .th_car_filters_content_category.hidden {
            display: none;
        }

        .th_car_filters_content_category.selected {
            font-family: Inter;
            font-size: 16px;
            font-weight: 700;
            line-height: 22.4px;
            color: #EE613A;
            text-decoration: none;

            .th_car_filters_content_category_name:hover {
                text-decoration: line-through;
            }

            a {
                color: #EE613A;
            }

            a:before {
                content: "▶";
                font-size: 12px;
                padding-right: 5px;
                color: #EE613A;
            }
        }

        .th_car_filters_content_category {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: .8em;

            .th_car_filters_content_category_name {
                display: inline-flex;
                width: 100%;
                font-family: Inter;
                font-size: 16px;
                font-weight: 400;
                line-height: 22.4px;
                color: #375E8D;
                align-items: center;

                span {
                    width: 16px;
                    height: 16px;
                    display: flex;
                    margin-right: 5px;
                }
            }

            .th_car_filters_content_category_actions {
                display: flex;
                align-items: center;
                justify-content: end;
                color: #375E8D;
                cursor: pointer;
                width: 40%;
            }
        }
    }

    .th_car_filters_content_prices {
        width: 100%;

        .th_car_filters_content_prices_data {
            padding: 0 .5em;
        }

        label {
            color: #203754;
            font-family: Inter;
            font-size: 16px;
            font-style: normal;
            font-weight: 700;
            line-height: 140%;
            display: flex;
            justify-content: space-between;
            width: 100%;
            margin-top: 1em;
        }

        #th_price_slider {
            border: 1px solid #C8D9EE;

            div {
                background: #EDF3F9;
            }
        }

        span {
            text-align: center;
            display: block;
        }
    }
}

.th_sort {
    display: flex;
    align-items: center;
    justify-content: end;

    .products-sort-order {
        border: .8px solid #C8D9EE;
        border-radius: 8px;
        padding: 8px;
        margin-right: 5px;
        min-width: 8em;
        text-align: center;
    }
}

#th_car_notify_modal .modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
    margin-right: 10px;
    position: relative;
}

#th_car_notify_modal .modal-header {
    border-bottom: none;
    padding: 0;
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 1;
}

.th_car_notify_modal_hero {
    padding: 24px 24px 16px;
}

.th_car_notify_modal_icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #EBE9EF;
    color: #375E8D;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

#th_car_notify_modal .modal-title {
    font-family: Roboto;
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
    color: #203754;
    margin-bottom: 8px;
}

.th_car_notify_modal_desc {
    color: #375E8D;
    font-family: Inter;
    font-size: 14px;
    margin-bottom: 0;
}

#th_car_notify_modal .modal-body {
    padding: 8px 24px;
}

#th_car_notify_modal .modal-footer {
    border-top: none;
    justify-content: center;
    padding: 8px 24px 24px;
}

#th_car_notify_modal .form-group input:not([type="checkbox"]) {
    border-radius: 8px;
    border: 1px solid #ADC6E5;
    padding: 0 16px;
    height: 56px;
    font-size: 16px;
}

#th_car_notify_modal button[type="submit"] {
    width: 100%;
    padding: 12px 28px;
    border-radius: 8px;
    background: #E95712;
    border: unset;
    margin-bottom: 4px;
    font-weight: 700;
    color: #FFF;
    font-size: .875rem;
    text-transform: none;
    font-family: Roboto;
    min-height: 3.5em;
}

#th_car_notify_modal button[type="submit"]:hover {
    box-shadow: 0 4px 12px 0 #64291833;
}

#th_car_notify_modal button[type="submit"]:active,
#th_car_notify_modal button[type="submit"]:focus {
    background: #FACEC2 !important;
    color: #E95712 !important;
}

#th_car_notify_modal input[type="checkbox"] {
    width: 22px;
    height: 22px;
}

#th_car_notify_modal .th_car_notify_modal_consent {
    font-family: Roboto;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #061119;
    display: flex;
    gap: 10px;
}

#th_car_notify_modal input[type="checkbox"]:checked:after {
    content: '✓';
    display: block;
    text-align: center;
    width: 100%;
    height: 100%;
    color: #E95712;
    background: white;
    border: 1px solid #E95712;
    border-radius: 2px;
    font-weight: 700;
}

.swiper-button-next,
.swiper-button-prev {
    position: absolute;
    top: 50%;
    width: 20px;
    height: 32px;
    margin-top: -16px;
    z-index: 10;
    cursor: pointer;
    background-size: 20px 32px;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    opacity: 1;
}

.swiper-button-prev {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E");
    left: 10px;
}

.swiper-button-next {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E");
    right: 10px;
}

.swiper-button-disabled {
    opacity: 0.35;
    cursor: auto;
    pointer-events: none;
}

@media only screen and (min-width: 320px) and (max-width: 767px) {
    .th_details_container {
        margin-top: 1em;
    }

    .th_car_buttons_container {
        height: unset !important;
        margin-top: 1em;
    }

    .th_full_width_top_container {
        margin-bottom: 2em;
    }

    .th_images_container {
        padding-right: 0 !important;
    }

    .th_car_footer {
        .bottom_pagination {
            flex-flow: column;
        }

        .products-number-per-page {
            margin-bottom: 1em;
        }
    }

    .th_sort {
        margin-top: 2em;
        justify-content: center;
        margin-bottom: 1em;
    }

    .th_car_title_row {
        flex-direction: column;
    }

    .th_car_page_title {
        h1 {
            font-size: 32px;
            text-align: center;
        }

        span {
            text-align: center;
        }
    }

    .th_car_buttons_container {
        padding: 0 !important;
    }

    #left_column {
        display: block !important;
        padding-right: 0;
        padding-top: 1.5em;

        .th_car_filters {
            h3 {
                flex-direction: row;
                justify-content: space-between;
                margin-bottom: 0;

                i.show {
                    display: block;
                }
            }

            .th_car_filters_content {
                display: none;
            }
        }
    }
}

@media only screen and (min-width: 480px) and (max-width: 767px) {
    .th_car_details {
        .th_images_cover {
            .swiper-slide {
                height: 20em !important;
            }
        }
    }
}

/* Car image placeholder */
.th_car_placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 200px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
    border-radius: 8px;
}

.th_car_placeholder svg {
    width: 80px;
    height: 80px;
    opacity: 0.4;
}
