/* Product Video Section Styles */

/* Responsive Video Lightbox Styles */
@media (max-width: 768px) {

    /* Make lightbox video responsive on mobile */
    .fancybox-container {
        padding: 10px !important;
    }

    .fancybox-slide--video .fancybox-content {
        max-width: 100% !important;
        max-height: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .fancybox-slide--video iframe,
    .fancybox-slide--video video {
        max-width: 100% !important;
        max-height: 80vh !important;
        width: 100% !important;
        height: auto !important;
    }

    /* Adjust video button size on mobile */
    .video-btn a {
        width: 60px !important;
        height: 60px !important;
        line-height: 66px !important;
        font-size: 20px !important;
    }
}

/* Ensure video player is responsive */
.fancybox-slide--video .fancybox-content {
    position: relative;
    width: 100%;
    max-width: 100%;
}

.fancybox-slide--video iframe,
.fancybox-slide--video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Video Content Styles */
.video-content {
    position: relative;
    display: block;
    text-align: center;
}

.video-content .image-box {
    position: relative;
    display: block;
    background: #f5f5f5;
    border-radius: 10px;
    overflow: hidden;
    padding-bottom: 56%;
    min-height: 120px;
}

.video-content .video-btn {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.video-content .video-btn a {
    position: relative;
    display: inline-block;
    width: 80px;
    height: 80px;
    line-height: 86px;
    background: #fff;
    text-align: center;
    border-radius: 50%;
    font-size: 24px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: all 300ms ease;
}

.video-content .video-btn a:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.video-btn a {
    color: var(--theme-color);
}