#AvinaQV-popup {
    position: relative;
    width: 90%;
    max-width: 920px;
    margin: 0 auto;
    padding: 0;
    background-color: #fff;
    max-height: 460px;
    box-sizing: border-box;
    overflow: hidden;
    border-radius: var(--min-radius);
}

#AvinaQV-popup * {
    box-sizing: border-box;
}
#AvinaQV-popup .pro_price_sec {
    padding: 10px 10px 0 10px;
}
#AvinaQV-popup .single-product {
    position: relative;
    overflow: hidden;
}

#AvinaQV-popup .single-product .product {
    display: flex;
}

#AvinaQV-popup .single-product .product > div {
    width: 50%;
    height: 460px;
    overflow: hidden;
}

#AvinaQV-popup .thumbnails {
    outline: none;
    width: 460px;
    max-height: 460px;
    text-align: center;
    position: relative;
    background-color: #f9f9f9;
}

#AvinaQV-popup .thumbnails .images {
    width: 100%;
    height: 100%;
    float: none;
    margin: 0;
    padding: 0;
}

#AvinaQV-popup .thumbnails .thumbnail {
    display: flex;
    height: 100%;
    justify-content: center;
}

#AvinaQV-popup .thumbnails img {
    display: block;
    object-fit: contain;
    object-position: center;
    vertical-align: middle;
    max-height: 460px;
    max-width: 100%;
    margin: auto;
    border-radius: 0;
}

#AvinaQV-popup .thumbnails img[data-fancybox="gallery"] {
    cursor: pointer;
}

#AvinaQV-popup .thumbnails {
    position: relative;
    margin: 0 0 0 0;
}

#AvinaQV-popup .single-product .product .summary {
    margin: 0;
    padding: 0;
}

#AvinaQV-popup .single-product .product .summary.view-details {
    padding-bottom: 44px;
    position: relative;
}

#AvinaQV-popup .product-description {
    margin-top: 20px;
}

#AvinaQV-popup .AvinaQV-related {
    padding-top: 20px;
    padding-bottom: 0;
    margin-top: 10px;
    margin-bottom: 0;
    border-width: 1px 0 0 0;
    border-style: dashed;
    border-color: #dddddd;
}

.AvinaQV-related-heading {
    margin-bottom: 10px;
}

.AvinaQV-related-product {
    outline: none;
    display: flex;
    align-items: center;
}

.AvinaQV-related-product-image {
    width: 50%;
    flex: 0 0 50%;
    margin-right: 10px;
}

.AvinaQV-related-product-image img {
    width: 100%;
    height: auto;
}

.AvinaQV-related-product-info {
    flex-grow: 1;
    text-align: start;
}

.AvinaQV-related-product-name {
    font-weight: 700;
}

.AvinaQV-related-product-atc p, .AvinaQV-related-product-atc .add_to_cart_inline {
    margin: 0;
    padding: 0;
    border: none;
    display: inline-block;
    width: 100%;
}

.AvinaQV-related-product-atc p .button {
    display: block;
    margin: 0;
    outline: none;
}


#AvinaQV-popup .view-details-btn {
    width: 50%;
    height: 44px;
    line-height: 44px;
    overflow: hidden;
    position: absolute;
    left: auto;
    right: 0;
    bottom: 0;
    background-color: #222;
    box-shadow: 10px -20px 20px #fff;
    color: #fff;
    text-align: center;
    outline: none;
    -webkit-transition: all 0.15s ease-out;
    transition: all 0.15s ease-out;
}

#AvinaQV-popup .view-details-btn:after {
    content: '\e90f';
    font-family: "Font Awesome 6 Pro";
    margin-left: 10px;
}

#AvinaQV-popup .view-details-btn:hover {
    background-color: #5fbd74;
}

#AvinaQV-popup .summary-content {
    height: 100%;
    position: relative;
    padding: 30px;
}

/* RTL */



/* Responsive */

@media screen and (max-width: 1023px) {
    #AvinaQV-popup {
        max-width: 460px;
        height: 90vh;
        max-height: 90vh;
        overflow: hidden;
    }

    #AvinaQV-popup .single-product {
        height: 100%;
        position: relative;
        overflow-y: auto;
    }

    #AvinaQV-popup .single-product .product {
        display: block;
    }

    #AvinaQV-popup .single-product .product > div {
        width: 100%;
        height: auto;
    }

    #AvinaQV-popup .single-product .product .thumbnails {
        max-height: 338px;
    }

    #AvinaQV-popup .thumbnails img {
        max-height: 338px;
        margin: 0;
    }

    #AvinaQV-popup .view-details-btn {
        width: 100%;
    }
}

@media screen and (max-width: 767px) {
    .mfp-AvinaQV .mfp-arrow {
        display: none;
    }
    #AvinaQV-popup .summary-content {
        padding: 10px;
    }
}

/* Popup */

.mfp-AvinaQV {
    z-index: 99991;
    overflow: auto;
}

.mfp-AvinaQV .mfp-content {
    text-align: right;
}

.mfp-AvinaQV .mfp-container {
    padding: 0;
}

.mfp-AvinaQV .mfp-close {
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    font-size: 0;
    right: auto !important;
    left: 0 !important;
}

.mfp-AvinaQV .mfp-close:hover {
    background-color: transparent;
}

.mfp-AvinaQV .mfp-close:active {
    top: 0;
}

.mfp-AvinaQV .mfp-close:focus {
    outline: none;
}

.mfp-AvinaQV .mfp-close:before {
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    content: '\f00d';
    font-family: "Font Awesome 6 Pro";
    display: inline-block;
    font-size: 24px;
    color: #222;
    text-transform: none;
    speak: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.mfp-AvinaQV .mfp-preloader {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    font-size: 0;
    margin: 0 auto;
    margin-top: -15px;
    margin-left: -15px;
    right: auto;
    bottom: auto;
}

.mfp-AvinaQV .mfp-preloader:before {
    content: '\f021';
    font-family: "Font Awesome 6 Pro";
    display: inline-block;
    font-size: 24px;
    text-transform: none;
    speak: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #fff;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    animation: Avina-spinner 1s linear infinite;
}

.mfp-AvinaQV .mfp-arrow {
    width: 60px;
    height: 60px;
    line-height: 60px;
    border: none;
    padding: 0;
    outline: none;
    text-align: center;
    margin-top: -30px;
    border-radius: 0;
    opacity: 1;
}

.mfp-AvinaQV .mfp-arrow:active {
    margin-top: -30px;
}

.mfp-AvinaQV .mfp-arrow:hover {
    background-color: rgba(0, 0, 0, .5);
}

.mfp-AvinaQV .mfp-arrow:focus {
    outline: none;
}

.mfp-AvinaQV .mfp-arrow:before {
    width: 60px;
    height: 60px;
    line-height: 60px;
    padding: 0;
    border-width: 0;
    margin: 0;
    display: inline-block;
    font-family: "Font Awesome 6 Pro";
    font-size: 24px;
    text-transform: none;
    speak: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #fff;
}

.mfp-AvinaQV .mfp-arrow:after {
    display: none;
}

.mfp-AvinaQV .mfp-arrow.mfp-arrow-left:before {
    content: '\f053';
}

.mfp-AvinaQV .mfp-arrow.mfp-arrow-right:before {
    content: '\f054';
}

/*
====== Fade effect ======
*/
.mfp-fade.mfp-bg {
    opacity: 0;
    -webkit-transition: all 0.15s ease-out;
    transition: all 0.15s ease-out;
}

.mfp-fade.mfp-bg.mfp-ready {
    opacity: 0.8;
}

.mfp-fade.mfp-bg.mfp-removing {
    opacity: 0;
}

.mfp-fade.mfp-wrap .mfp-content {
    opacity: 0;
    -webkit-transition: all 0.15s ease-out;
    transition: all 0.15s ease-out;
}

.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
    opacity: 1;
}

.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
    opacity: 0;
}

/*
====== Zoom effect ======
*/

.mfp-zoom-in .mfp-with-anim {
    opacity: 0;
    transition: all 0.2s ease-in-out;
    transform: scale(0.8);
}

.mfp-zoom-in.mfp-bg {
    opacity: 0;
    transition: all 0.3s ease-out;
}

.mfp-zoom-in.mfp-ready .mfp-with-anim {
    opacity: 1;
    transform: scale(1);
}

.mfp-zoom-in.mfp-ready.mfp-bg {
    opacity: 0.8;
}

.mfp-zoom-in.mfp-removing .mfp-with-anim {
    transform: scale(0.8);
    opacity: 0;
}

.mfp-zoom-in.mfp-removing.mfp-bg {
    opacity: 0;
}

/*
====== Move-from-top effect ======
*/

.mfp-move-from-top .mfp-with-anim {
    opacity: 0;
    transition: all 0.2s;
    transform: translateY(-100px);
}

.mfp-move-from-top.mfp-bg {
    opacity: 0;
    transition: all 0.2s;
}

.mfp-move-from-top.mfp-ready .mfp-with-anim {
    opacity: 1;
    transform: translateY(0);
}

.mfp-move-from-top.mfp-ready.mfp-bg {
    opacity: 0.8;
}

.mfp-move-from-top.mfp-removing .mfp-with-anim {
    transform: translateY(-50px);
    opacity: 0;
}

.mfp-move-from-top.mfp-removing.mfp-bg {
    opacity: 0;
}

/*
====== 3d unfold ======
*/

.mfp-3d-unfold .mfp-content {
    perspective: 2000px;
}

.mfp-3d-unfold .mfp-with-anim {
    opacity: 0;
    transition: all 0.3s ease-in-out;
    transform-style: preserve-3d;
    transform: rotateY(-60deg);
}

.mfp-3d-unfold.mfp-bg {
    opacity: 0;
    transition: all 0.5s;
}

.mfp-3d-unfold.mfp-ready .mfp-with-anim {
    opacity: 1;
    transform: rotateY(0deg);
}

.mfp-3d-unfold.mfp-ready.mfp-bg {
    opacity: 0.8;
}

.mfp-3d-unfold.mfp-removing .mfp-with-anim {
    transform: rotateY(60deg);
    opacity: 0;
}

.mfp-3d-unfold.mfp-removing.mfp-bg {
    opacity: 0;
}

/*
====== Slide bottom effect ======
*/

.mfp-slide-bottom .mfp-with-anim {
    opacity: 0;
    -webkit-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    transform: translateY(-20px) perspective(600px) rotateX(10deg);

}

.mfp-slide-bottom.mfp-ready .mfp-with-anim {
    opacity: 1;
    transform: translateY(0) perspective(600px) rotateX(0);
}

/* animate out */
.mfp-slide-bottom.mfp-removing .mfp-with-anim {
    opacity: 0;
    transform: translateY(-10px) perspective(600px) rotateX(10deg);
}

.mfp-slide-bottom.mfp-bg {
    opacity: 0;
    -webkit-transition: opacity 0.3s ease-out;
    transition: opacity 0.3s ease-out;
}

.mfp-slide-bottom.mfp-ready.mfp-bg {
    opacity: 0.8;
}

.mfp-slide-bottom.mfp-removing.mfp-bg {
    opacity: 0;
}