
/* Modal Overlay */
.recipe-video-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 999999 !important;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.recipe-video-overlay-title {
    color: #fff;
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 20px;
    font-family: "Bebas Neue Rounded 1", sans-serif;
    text-align: center;
    z-index: 10001;
    text-shadow: 1px 1px 1px rgb(251 251 251 / 67%);
}

.recipe-video-modal {
    position: relative;
    justify-content: center;
    background: linear-gradient(135deg, #ff00b5, #00ced4, #6500c7);
    background-size: 600% 600%;
    animation: gradientShift 10s ease infinite;
    z-index: 9998;
    padding: 7px 7px 0px 7px;
    max-width: 960px;
    width: 90%;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    border-radius: 20px;
}

/* Optional: animate the gradient shift */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Video wrapper */
.recipe-video-modal video {
    width: 100%;
    max-height: 80vh;
    border-radius: 10px;
}

/* Close button */
.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 42px;
    color: #fff;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1002;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    transition:font-size 0.3s ease;
}

.modal-close:hover {
    background: transparent;
    font-size: 58px;
}


.single-product .main{z-index: inherit !important;}