#pa_variations,#pa_models{
    border: 0;
    border-bottom: 1px solid #000000;
    border-radius: 0px;
    margin: -15px 0 0 0;
    color: #D11B1E;
}

.product_add_to_cart{
    width: 100% !important;
}

table.variations select {
    max-width: 100% !important;
}


/* DARK OVERLAY */
#video-popup {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);

    display: flex;             /* keep only this */
    justify-content: center;
    align-items: center;

    z-index: 999999;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
}

#video-popup.active {
    opacity: 1;
    pointer-events: auto;
}


/* POPUP BOX WITH FIXED 16:9 RATIO */
#video-popup .video-popup-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    background: #000;

    /* THIS IS THE IMPORTANT PART */
    aspect-ratio: 16/9;
}

/* IFRAME FILLS POPUP */
#video-popup .video-popup-iframe iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* CLOSE BUTTON */
.video-popup-close {
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
}



.video-thumb {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.video-thumb img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px 10px 0 0 !important;
}

.video-thumb .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 19px;
    color: #ffffff;
    /* opacity: 0.9; */
    background: rgb(255 0 0);
    padding: 0px 12px;
    border-radius: 17%;
    pointer-events: none;
}



/* .thumbs-position-left .wd-gallery-thumb .wd-carousel-wrap {
    transform: translate3d(0px, -305.75px, 0px);
} */

@media screen and (max-width:1024px) {
	#pa_variations,#pa_models {margin:0;padding:0}
    #pa_variants{margin-top: 0;}
}