/* -------------------------
   assets/css/main.css (very basic)
   ------------------------- */
.vehicle-card{border:1px solid #eee;padding:10px;background:#fff}
.vehicle-info{padding:10px}
.vehicle-title{font-size:18px;margin:0}

.vehicle-labels .badge {
    margin-right: 5px;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 6px;
}

.vehicle-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.japan-info svg {
    border: 1px solid #333;
    border-radius: 2px;
}

/* Wrapper positioning */
.japan-info-wrapper {
    display: flex;
    align-items: center;
}

/* Default (Desktop) */
.japan-info {
    font-size: 14px;
    padding-top: 12px;
    padding-left: 20px;
}

/* Tablet */
@media (max-width: 991px) {
    .japan-info {
        font-size: 13px;
        padding-left: 12px;
        padding-top: 8px;
    }
}

/* Mobile */
@media (max-width: 575px) {
    .japan-info-wrapper {
        /* width: 100%; */
        justify-content: center;
        margin-top: 10px;
    }

    .japan-info {
        font-size: 12px;
        padding: 0;
    }

    #japan-time {
        white-space: nowrap;
    }
}

.vehicle-features .feature {
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 13px;
    background: #eee;
    transition: 0.3s;
}

.vehicle-features .available {
    background: #28a745;
    color: #fff;
    font-weight: 600;
}

.vehicle-features .unavailable {
    background: #ddd;
    color: #888;
    filter: blur(0.8px);
    opacity: 0.6;
}

.location-card {
    padding: 15px;
    border: 1px solid var(--light-gray);
    border-radius: 12px;
    background: var(--x-lightgray);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.location-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.location-flag {
    max-width: 48px;
    max-height: 32px;
    object-fit: contain;
}
.sidebar-box:hover h6 {
    color: var(--main_secondary);
}

.location-placeholder {
    font-size: 36px;
}


.video-banner {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    background: #000;
}

/* Banner Image */
.banner-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Dark overlay */
.video-overlay {
    position: absolute;
    inset: 0;
    /* background: rgba(0, 0, 0, 0.45); */
    z-index: 1;
}

/* Banner content */
.banner-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 10%;
    color: #fff;
}

.banner-content h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
}

.banner-content p {
    font-size: 1.25rem;
    margin: 10px 0 20px;
}

.banner-content .btn {
    display: inline-block;
    background: #f4b400;
    color: #000;
    padding: 12px 28px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    width: fit-content;
}

/* Mobile optimization */
@media (max-width: 768px) {
    .video-banner {
        height: 400px;
    }

    .banner-content {
        padding: 20px;
        text-align: center;
        align-items: center;
    }

    .banner-content h1 {
        font-size: 2rem;
    }

    .banner-content p {
        font-size: 1rem;
    }
}

/* =========================
   GALLERY – GLOBAL STYLES
========================= */

.small_container {
    max-width: 690px;
}

.line,
.related.products > h2,
.wp-block-woocommerce-empty-cart-block h2 {
    position: relative;
}

#post-40971 header h1::after,
.line::after,
.related.products > h2::after,
.wp-block-woocommerce-empty-cart-block h2::after {
    content: "";
    width: 110px;
    height: 3px;
    background-color: var(--main_secondary);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: -20px;
}

/* =========================
   SLIDER IMAGE STYLES
========================= */

.gallery_slider img,
.gallery_slider figure {
    width: 100%;
    height: 250px;
    border-radius: 10px;
    object-fit: cover;
    object-position: bottom;
}

.gallery_zoom_slider figure {
    height: 280px;
}

.gallery_zoom_slider img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    box-shadow: 0 0 10px lightgray;
}

/* =========================
   SWIPER CORE FIXES
========================= */

.gallery_slider .swiper,
.gallery_slider .swiper-wrapper,
.gallery_slider .swiper-slide,
.gallery_zoom_slider .swiper,
.gallery_zoom_slider .swiper-wrapper,
.gallery_zoom_slider .swiper-slide {
    height: auto;
}

/* ⚠️ DO NOT override swiper-wrapper display */
.gallery_zoom_slider .swiper-wrapper {
    display: flex;
}

/* =========================
   NAVIGATION BUTTONS
========================= */

.gallery_slider .swiper-button-prev,
.gallery_slider .swiper-button-next,
body .swiper-button-prev,
body .swiper-button-next {
    width: 40px;
    height: 40px;
    background-color: var(--main_secondary);
    border-radius: 50%;
    color: #fff;
}

.gallery_slider .cb-carousel-block {
    padding: 0 50px;
}

/* =========================
   THUMB SLIDER
========================= */

.wp-block-group.gallery_slider
.cb-thumbs-wrap
.thumbs-slider
.swiper-slide {
    opacity: 1;
    border: 4px solid transparent;
}

.wp-block-group.gallery_slider
.cb-thumbs-wrap
.thumbs-slider
.swiper-slide.swiper-slide-active {
    border-color: #60308b;
}

/* =========================
   ZOOM SLIDER CONTENT
========================= */

.gallery_zoom_slider .swiper-slide {
    text-align: center;
}

.gallery_zoom_slider figcaption {
    display: none;
}

.gallery_zoom_slider .swiper-slide-next figcaption {
    display: block;
}

.gallery_zoom_slider {
    padding: 0 !important;
}

.gallery_zoom_slider .wp-block-group {
    text-align: center;
    margin-top: 15px;
}

.gallery_zoom_slider .wp-block-group h4 {
    font-size: 15px;
    margin-bottom: 0;
}

.gallery_zoom_slider .wp-block-group p {
    font-size: 11px;
}

/* =========================
   RESPONSIVE FIXES
========================= */

/* Tablets */
@media (max-width: 1024px) {
    .gallery_zoom_slider figure {
        height: 200px;
    }
}

/* Mobile */
@media (max-width: 768px) {

    /* Keep Swiper sliding (no stacking) */
    .gallery_zoom_slider .swiper-slide {
        width: 100%;
    }

    .gallery_slider .cb-carousel-block {
        padding: 0 20px;
    }

    .gallery_zoom_slider figure {
        height: 220px;
    }

    .gallery_zoom_slider .wp-block-group h4 {
        font-size: 18px;
    }

    .gallery_zoom_slider .wp-block-group p {
        font-size: 14px;
        margin-top: 8px;
    }

    .gallery_slider .swiper-button-prev,
    .gallery_slider .swiper-button-next {
        width: 32px;
        height: 32px;
    }
}

/* Small phones */
@media (max-width: 576px) {
    .gallery_zoom_slider figure {
        height: 200px;
    }
    .card-img-top {
        height: 300px;
        object-fit: cover;
    }
}

/* =========================
   MISC
========================= */

.gallery_zoom_slider1 .swiper .gutenberg-image-alt {
    display: none;
}

.gallery_slider p {
    padding-top: 1rem !important;
}

.about_section {
    background-color: #F4F7FF;
}

.gmap_canvas iframe {
    width: 100%;
    border: none;
}

.contact_info {
    align-items: flex-start;
}

.contact_icons {
    font-size: 20px;
    color: var(--main_secondary);
    min-width: 30px;
}

.contact_info_col1,
.contact_info_col2 {
    background: #fff;
}

@media (max-width: 991px) {
    .gmap_canvas iframe {
        height: 300px;
    }
}