/* Video Section Styling */
.wc-product-video-section {
    margin: 60px 0;
    padding: 50px 0;
    border-top: 1px solid #e5e5e5;
    clear: both;
    width: 100%;
    position: relative;
    left: 0;
    right: 0;
}

.wc-product-video-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.wc-product-video-title {
    font-size: 28px;
    font-weight: 600;
    margin: 0 0 30px 0;
    text-align: center;
    color: #333;
}

.wc-video-player-wrapper {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

/* Video Thumbnail */
.wc-video-thumbnail {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wc-video-thumbnail:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
}

.wc-video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wc-video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wc-video-placeholder svg {
    width: 80px;
    height: 80px;
    opacity: 0.3;
    color: white;
}

/* Play Button */
.wc-video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.wc-video-thumbnail:hover .wc-video-play-button {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(255, 255, 255, 1);
}

.wc-video-play-button svg {
    width: 32px;
    height: 32px;
    color: #667eea;
    margin-left: 4px;
}

/* Lightbox */
.wc-video-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
}

.wc-video-lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 99999;
}

.wc-video-lightbox-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    z-index: 100000;
    pointer-events: none;
}

.wc-video-wrapper {
    position: relative;
    width: 90%;
    max-width: 1200px;
    aspect-ratio: 16 / 9;
}

.wc-video-wrapper {
    pointer-events: auto;
}

.wc-video-wrapper iframe,
.wc-video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.wc-video-close {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    color: white;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wc-video-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* Responsive */
@media (max-width: 768px) {
    .wc-product-video-section {
        margin: 40px 0;
        padding: 30px 0;
    }
    
    .wc-product-video-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .wc-video-play-button {
        width: 60px;
        height: 60px;
    }
    
    .wc-video-play-button svg {
        width: 24px;
        height: 24px;
    }
    
    .wc-video-lightbox-content {
        padding: 20px;
    }
    
    .wc-video-close {
        width: 40px;
        height: 40px;
        font-size: 28px;
    }
}