/* ---------------------- */
/* Carousel Container      */
/* ---------------------- */

.vpc-swiper-container {
    width: 100%;
    padding: 20px 0;
    box-sizing: border-box;
    position: relative;
}

/* Slide item */
.vpc-slide {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #000;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* This ensures the entire slide is a pointer */
    cursor: pointer;
}

/* Video Styling */
.vpc-video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

.vpc-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.vpc-video-wrapper iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    transition: transform 0.3s ease;
}


/* Make the entire video wrapper clickable, including the YouTube iframe */
.vpc-video-wrapper:hover video,
.vpc-video-wrapper:hover iframe {
    transform: scale(1.12);
}

/* New transparent overlay to capture clicks on top of the iframe */
.vpc-video-wrapper .vpc-click-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Ensure this is on top of the iframe */
    cursor: pointer;
}


/* Carousel overlay on video bottom */
.vpc-overlay {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    border-radius: 12px;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 1.4;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);

    /* Glass effect */
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    z-index: 2; /* Ensure this is on top of the click overlay and video */
    cursor: pointer;
}

/* Overlay Thumbnail */
.vpc-overlay-thumb {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 8px !important;
    margin-right: 10px;
    flex-shrink: 0;
}

.vpc-overlay-info {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.vpc-overlay-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 13px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vpc-overlay-price {
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vpc-overlay-price del {
    color: #fff;
    margin-left: 6px;
    font-size: 11px;
}

/* -------------------------- */
/* Carousel Navigation Arrows */
/* -------------------------- */
.swiper-button-next,
.swiper-button-prev {
    width: 40px;
    height: 40px;
    background: #fff;
    color: #000;
    border-radius: 50%;
    border: 1px solid #ccc;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.swiper-button-next {
    right: 10px;
}

.swiper-button-prev {
    left: 10px;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: #cfb257;
    color: #fff;
    transform: translateY(-50%) scale(1.05);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px;
    color: #000;
}

@media (max-width: 768px) {
    .swiper-button-next,
    .swiper-button-prev {
        width: 32px;
        height: 32px;
        right: 5px;
        left: 5px;
    }

    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
}

/* All modal-related styles have been removed. */