/*
Theme Name: bijan-child
Theme URI: http://example.com/bijan-child/
Description: Your first child theme!
Author: John Doe
Author URI: http://example.com
Template: bijan
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: child theme
Text Domain: bijan-child
*/
.product-iframe-modal {
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.35);
    backdrop-filter:blur(8px);
    -webkit-backdrop-filter:blur(8px);
    z-index:999999;
    align-items:center;
    justify-content:center;
    padding:50px;
}

.product-iframe-modal.show {
    display:flex;
}

.product-iframe-box {
    width:100%;
    height:100%;
    max-width:1100px;
    max-height:850px;
    background:rgba(255,255,255,0.85);
    border-radius:24px;
    padding:50px;
    position:relative;
    box-shadow:0 20px 60px rgba(0,0,0,.25);
}

.product-iframe-container {
    width:100%;
    height:100%;
    overflow:hidden;
    border-radius:16px;
}

.product-iframe-container iframe {
    width:100% !important;
    height:100% !important;
    max-width:100%;
    max-height:100%;
    border:0;
    display:block;
    border-radius:16px;
}


.product-iframe-close {
    position:absolute;
    right:20px;
    top:20px;

    width:50px !important;
    height:50px !important;

    display:flex !important;
    align-items:center;
    justify-content:center;

    padding:0 !important;
    margin:0;

    background:#fff;
    color:#333;

    border-radius:50%;

    font-size:32px !important;
    line-height:1 !important;

    font-weight:400;

    cursor:pointer;
    z-index:9999;

    box-shadow:0 5px 20px rgba(0,0,0,.2);

    transition:.2s ease;
}

.product-iframe-close:hover {
    transform:scale(1.1);
}
.product-iframe-close:hover {
    transform:scale(1.1);
}
@media (max-width:768px){

    .product-iframe-modal {
        padding:15px;
    }

    .product-iframe-box {
        padding:15px;
        max-height:90vh;
        border-radius:16px;
    }

    .product-iframe-close {
        right:10px;
        top:10px;
    }

}



.responsive-iframe-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.responsive-iframe-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}