/* ===== FEATURE IMAGE ===== */
.wbtm_car_details_feature_image img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
}
/* ===== GALLERY ===== */
.wbtm_car_details_gallery {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 2px;
    flex-wrap: wrap;
}
.wbtm_car_details_gallery img {
    width: 100px !important;
    height: 75px !important;
    border-radius: 5px;
    cursor: pointer;
}

.wbtm_car_details_view_more {
    background: var(--color_theme);
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
}

/* Smooth fade image animation */
.wbtm_gallery_image_fade_out {
    opacity: 0;
    transition: opacity 0.3s ease;
}
.wbtm_gallery_image_fade_in{
    opacity: 1;
    transition: opacity 0.3s ease;
}
.wbtm_gallery_image {
    cursor: pointer;
    border-radius: 6px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.wbtm_gallery_image:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.wbtm_gallery_image.active {
    border: 2px solid #0073aa;
}

.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_car_image_details{
    cursor: pointer;
}

.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;
}


/*End*/