.DejavoQV-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(--dej-max-radius);
}

.DejavoQV-popup * {
    box-sizing: border-box;
}

.DejavoQV-open .select2-container {
    z-index: 99999969;
}

.DejavoQV-product {
    position: relative;
    overflow: hidden;
}

.DejavoQV-product > .product {
    display: flex !important;
}

.DejavoQV-product > .product > div {
    width: 50% !important;
    height: 460px;
}

.DejavoQV-product .thumbnails {
    outline: none;
    width: 460px;
    max-height: 460px;
    text-align: center;
    position: relative;
    background-color: #f9f9f9;
}

.DejavoQV-product .thumbnails .images {
    width: 100% !important;
    height: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.DejavoQV-product .thumbnails .thumbnail {
    display: flex;
    height: 100%;
    justify-content: center;
}

.DejavoQV-product .thumbnails img {
    display: block;
    object-fit: contain;
    object-position: center;
    vertical-align: middle;
    max-height: 460px;
    max-width: 100%;
    margin: auto;
    border-radius: 0;
}

.DejavoQV-product .thumbnails img[data-fancybox="gallery"] {
    cursor: pointer;
}

.DejavoQV-open .fancybox-container {
    z-index: 99999970;
}

.DejavoQV-product .thumbnails {
    position: relative;
    margin: 0 0 0 0;
}

.DejavoQV-product > .product .summary {
    margin: 0;
    padding: 0;
    background-color: #fff;
}
.DejavoQV-product .summary .price{
    margin-bottom: 0 !important;
}

.view-details-btn {
    width: 50%;
    height: 44px;
    line-height: 44px;
    overflow: hidden;
    position: absolute;
    left: 0;
    right: auto;
    bottom: 0;
    background-color: #222;
    box-shadow: 10px -20px 20px #fff;
    color: #fff;
    text-align: center;
    outline: none;
    transition: all 0.15s ease-out;
    display: flex;
    justify-content: center;
    flex-direction: row-reverse;
    z-index: 20;
}

.view-details-btn:after {
    content: '\f2a5';
    font-family: "dej-icon-rr";
    margin-left: 10px;
}

.view-details-btn:hover {
    background-color: #5fbd74;
    color: white;
}

.DejavoQV-product > .product .summary .summary-content {
    height: 100%;
    position: relative;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.DejavoQV-popup.view-details .DejavoQV-product > .product .summary .summary-content {
    padding-bottom: 64px;
}


/* Responsive */

@media screen and (max-width: 1023px) {
    .DejavoQV-popup {
        max-width: 460px;
        max-height: 90vh;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }

    .DejavoQV-product {
        height: 100%;
        flex-grow: 1;
        position: relative;
        overflow-y: auto;
    }

    .DejavoQV-product > .product {
        display: flex;
        flex-direction: column;
    }

    .DejavoQV-product > .product > div {
        width: 100% !important;
        float: none !important;
        margin: 0 !important;
        height: auto;
    }

    .DejavoQV-product > .product .thumbnails {
        max-height: 338px;
    }

    .DejavoQV-product .thumbnails img {
        max-height: 338px;
        margin: 0;
    }

    .DejavoQV-product .thumbnails .slick-track {
        max-height: 338px;
    }

    .view-details-btn {
        width: 100%;
    }
}

@media screen and (max-width: 767px) {
    .mfp-DejavoQV .mfp-arrow {
        display: none;
    }
}

/* Popup */

.mfp-DejavoQV {
    z-index: 99999969;
    overflow: auto;
}

.mfp-DejavoQV .mfp-container {
    padding: 0;
}

.mfp-DejavoQV .mfp-close {
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    font-size: 0;
    right: auto !important;
    left: 0 !important;
}

.mfp-DejavoQV .mfp-close:hover {
    background-color: transparent;
}

.mfp-DejavoQV .mfp-close:active {
    top: 0;
}

.mfp-DejavoQV .mfp-close:focus {
    outline: none;
}

.mfp-DejavoQV .mfp-close:before {
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    content: '\f258';
    font-family: "dej-icon-rr";
    display: inline-block;
    font-size: 24px;
    color: #222;
    text-transform: none;
    speak: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.mfp-DejavoQV .mfp-preloader {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    font-size: 0;
    margin: 0 auto;
    right: auto;
    bottom: auto;
}

.mfp-DejavoQV .mfp-preloader:before {
    content: '\f351';
    font-family: "dej-icon-rr";
    display: inline-block;
    font-size: 24px;
    text-transform: none;
    speak: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #fff;
    text-align: center;
    animation: Dejavo-spinner 1s linear infinite;
}

.mfp-DejavoQV .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-DejavoQV .mfp-arrow:active {
    margin-top: -30px;
}

.mfp-DejavoQV .mfp-arrow:hover {
    background-color: rgba(0, 0, 0, .5);
}

.mfp-DejavoQV .mfp-arrow:focus {
    outline: none;
}

.mfp-DejavoQV .mfp-arrow:before {
    width: 60px;
    height: 60px;
    line-height: 60px;
    padding: 0;
    border-width: 0;
    margin: 0;
    display: inline-block;
    font-size: 24px;
    text-transform: none;
    speak: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #fff;
}

.mfp-DejavoQV .mfp-arrow:after {
    display: none;
}

.mfp-DejavoQV .mfp-arrow.mfp-arrow-left:before {
    font-family: "dej-icon-rr";
    content: "\f11c";
}

.mfp-DejavoQV .mfp-arrow.mfp-arrow-right:before {
    font-family: "dej-icon-rr";
    content: "\f11d";
}


#DejavoQV-popup .dejavo_next_Arrow, #DejavoQV-popup .dejavo_prev_Arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white-color);
    color: var(--black-color);
    padding: 5px;
    box-shadow: 0 0 5px 0 #0000002b;
    transition: opacity 0.3s;
    opacity: 0.4;
    min-width: 40px;
    min-height: 45px;
    border-radius: 10px;
    border: 0;
}

#DejavoQV-popup .dejavo_next_Arrow {
    right: 2px
}

#DejavoQV-popup .dejavo_prev_Arrow {
    left: 2px
}
#DejavoQV-popup .dejavo_prev_Arrow:hover,
#DejavoQV-popup .dejavo_next_Arrow:hover {
    opacity: 0.8 !important;
}

#DejavoQV-popup form.cart .variations tr,
#DejavoQV-popup form.cart .variations td,
#DejavoQV-popup form.cart .variations th {
    justify-content: flex-start;
    align-items: center;
}

#DejavoQV-popup .woocommerce-product-details__short-description:not(.show) {
    max-height: initial !important;
    overflow: visible !important;
}
#DejavoQV-popup .woocommerce-product-details__short-description {
    margin: 0;
    background-color: #0000000f;
    padding: 10px;
    border-radius: var(--dej-max-radius);
}