/* ===== FEATURE IMAGE (Single Image Mode) ===== */
.wbtm_car_details_images {
    width: 100%;
    max-width: 400px;
    margin: auto;
}
.wbtm_car_details_feature_image {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    border: 1px solid #ddd;
    overflow: hidden;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}
.wbtm_car_details_feature_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===== GALLERY SLIDER ===== */
.wbtm_gallery_slider {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    overflow: hidden;
    background: #f5f5f5;
    border: 1px solid #ddd;
}

.wbtm_gallery_slider_track {
    position: relative;
    width: 100%;
    height: 100%;
}

.wbtm_gallery_slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    pointer-events: none;
}

.wbtm_gallery_slide.active {
    opacity: 1;
    pointer-events: auto;
}

.wbtm_gallery_slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Coach Type Badge */
.wbtm_coach_badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #ff4757;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 20px;
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Navigation Arrows */
.wbtm_gallery_slider_arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    color: #333;
}

.wbtm_gallery_slider_arrow:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.wbtm_gallery_slider_arrow svg {
    width: 18px;
    height: 18px;
}

.wbtm_gallery_slider_prev {
    left: 10px;
}

.wbtm_gallery_slider_next {
    right: 10px;
}

/* Dot Indicators */
.wbtm_gallery_slider_dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.wbtm_gallery_slider_dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.wbtm_gallery_slider_dot.active {
    background: #ff4757;
    transform: scale(1.3);
}

.wbtm_gallery_slider_dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Slide Counter */
.wbtm_gallery_slider_counter {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 12px;
    z-index: 10;
    letter-spacing: 0.5px;
}

/* ===== POPUP LIGHTBOX ===== */
.wbtm_gallery_image_popup_wrapper {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.wbtm_gallery_image_popup_content {
    position: relative;
    max-width: 90%;
    max-height: 85%;
    top: 30px;
    margin: auto;
}

.wbtm_gallery_image_popup_item {
    display: none;
    width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    animation: fadeIn 0.4s ease;
}
.wbtm_gallery_image_popup_container img.active {
    display: block;
    opacity: 1;
}

.wbtm_gallery_image_popup_close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ff4444;
    border: none;
    color: #fff;
    font-size: 18px;
    padding: 8px 10px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
}

.wbtm_gallery_image_popup_prev,
.wbtm_gallery_image_popup_next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffff99;
    border: none;
    color: #000;
    font-size: 22px;
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.wbtm_gallery_image_popup_prev:hover,
.wbtm_gallery_image_popup_next:hover {
    background: #fff;
}

.wbtm_gallery_image_popup_prev { left: 10px; }
.wbtm_gallery_image_popup_next { right: 10px; }


.wtbm_term_wrapper {
    max-width: 900px;
    margin: 20px auto;
    /*padding: 0 20px;*/
    font-family: "Inter", Arial, sans-serif;
}
.wtbm_term_wrapper_popup {
    margin: 20px auto;
    font-family: "Inter", Arial, sans-serif;
}

.wtbm_term_item {
    background: #ffffff;
    border-radius: 14px;
    padding: 5px 10px;
    margin-bottom: 5px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 3px solid #4f46e5;
}
.wbtm_bus_feature_items {
    background: #ffffff;
    border-radius: 14px;
    padding: 5px 10px;
    margin-bottom: 5px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wtbm_term_item:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.wtbm_term_header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.wtbm_term_index {
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 14px;
    flex-shrink: 0;
}

.wtbm_term_title {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.wtbm_term_content {
    font-size: 15px;
    line-height: 1.7;
    color: #4b5563;
    padding-left: 10px;
}

.wtbm_term_content p {
    margin: 0;
}

.wbtm_bus_popup_holder{
    display: none;
}

.wbtm_bus_photos_wrapper_popup{
    overflow: scroll;
    height: 60vh;
}
