/**
 * WooCommerce Product Video - Styles
 */

.wc-video-wrapper {
    margin: 15px 0;
    width: 100%;
}

.wc-product-video-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    background-color: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(231, 76, 60, 0.2);
}

.wc-product-video-btn:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(231, 76, 60, 0.3);
}

.wc-product-video-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.wc-video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 9999999;
    align-items: center;
    justify-content: center;
}

.wc-video-modal.active {
    display: flex;
}

.wc-video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    background: #000;
    border-radius: 10px;
}

.wc-video-close {
    position: absolute;
    top: -45px;
    right: 0;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    line-height: 1;
}

.wc-video-frame {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.wc-video-frame iframe,
.wc-video-frame video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .wc-product-video-btn {
        font-size: 13px;
        padding: 10px 15px;
    }
    .wc-video-close {
        top: -35px;
        font-size: 30px;
    }
}
