/* DFT Featured Video Lite - Lightbox Styles v3.1.0 */

/* Thumbnail styles */
.woocommerce div.product .dft-fvl-thumb {
    position: relative;
    cursor: pointer;
}
/* Estilo para el botón de Play grande y centrado */
.woocommerce div.product .dft-fvl-thumb .dft-fvl-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    pointer-events: none;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Triángulo de Play (hecho con CSS) */
.woocommerce div.product .dft-fvl-thumb .dft-fvl-play::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 12px 0 12px 20px;
    border-color: transparent transparent transparent white;
    margin-left: 4px;
}
.woocommerce div.product .dft-fvl-thumb:hover .dft-fvl-play {
    transform: translate(-50%, -50%) scale(1.1);
    background-color: rgba(255, 0, 0, 0.8);
}

/* Modal styles (sin cambios) */
body.dft-fvl-open {
    overflow: hidden;
}
.dft-fvl-modal {
    position: fixed;
    inset: 0;
    z-index: 999990;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.dft-fvl-modal.show {
    opacity: 1;
    visibility: visible;
}
.dft-fvl-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    cursor: pointer;
}
.dft-fvl-content {
    position: relative;
    width: 100%;
    max-width: 960px;
    z-index: 999991;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}
.dft-fvl-modal.show .dft-fvl-content {
    transform: scale(1);
}
.dft-fvl-frame {
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.dft-fvl-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.dft-fvl-close {
    position: absolute;
    width: 40px;
    height: 40px;
    top: -45px;
    right: -12px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: red;
    font-size: 24px;
    line-height: 30px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: all 0.2s ease;
    z-index: 999992;
    padding: 2px 5px 5px 5px;
}
.dft-fvl-close:hover {
    transform: scale(1.1);
    background: #eee;
}

@media (max-width: 600px) {
    .dft-fvl-content {
        max-width: 100%;
    }
    .dft-fvl-close {
        top: -28px;
        right: 0;
        width: 28px;
        height: 28px;
        font-size: 20px;
        line-height: 26px;
    }
}