& when (@media-common =true) {
    .product_quickview_content {
        background-color: #fff;
        margin: 0;
        padding: 0;

        .product-info-main-wrapper {
            padding: 40px 30px;

            .product-name-wrapper h3.page-title {
                font-size: 18px;
                margin-bottom: 5px;
                font-weight: 600;

                a {
                    color: var(--thim-mgs-color-01);
                }
            }

            .product-reviews-summary.empty {
                display: none;
            }

            .page-title-wrapper {
                padding: 0px;
                background-color: transparent;

                .page-title {
                    color: #8e8e8e;

                    span {
                        font-size: 16px;
                        margin-bottom: 5px;
                        font-weight: 600;
                    }
                }

                &::before {
                    opacity: 0;
                }
            }

            .product-info-price {
                margin-top: 15px;

                .price-wrapper {
                    .price {
                        font-size: 22px;
                        font-weight: normal;
                    }
                }
            }

            .product-add-form {
                .swatch-opt {
                    .swatch-attribute-label {
                        margin: 0 0 10px !important;
                        display: inline-block;
                        font-size: 14px;
                        color: var(--thim-mgs-color-01);
                        line-height: 1;
                        font-weight: 600;
                        text-transform: uppercase;
                        letter-spacing: 0.5px;

                        &:after {
                            content: ":";
                        }
                    }

                    .swatch-attribute-options {
                        margin: 0 0 5px 0;

                        .swatch-option {
                            margin: 5px 10px 0 0;
                        }
                    }
                }
            }
        }
    }

    .modal-popup._inner-scroll.quickViewDetails {
        .modal-inner-wrap {
            position: absolute;
            width: 100%;
            top: 50%;
            margin: 0 auto;
            max-height: calc(~"100vh - 30px");
            max-width: 900px !important;
            transition: all 300ms;
            -moz-transition: all 300ms;
            -o-transition: all 300ms;
            -ms-transition: all 300ms;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-50%) scale(0.95) !important;
            -moz-transform: translateY(-50%) scale(0.95) !important;
            -webkit-transform: translateY(-50%) scale(0.95) !important;
            -o-transform: translateY(-50%) scale(0.95) !important;

            .modal-header {
                padding: 0;
                height: 0;
                position: relative;
                z-index: 1;

                @media (min-width: 1200px) {
                    .action-close {
                        display: inline-flex;
                        align-items: center;
                        justify-content: center;
                        background-image: none;
                        box-shadow: none;
                        line-height: inherit;
                        margin: 0;
                        padding: 0;
                        cursor: pointer;
                        text-shadow: none;
                        font-weight: 400;
                        text-decoration: none;
                        position: absolute;
                        right: -13px;
                        top: -13px;
                        z-index: 1;
                        width: 30px;
                        height: 30px;
                        border: 2px solid #fff;
                        background-color: #2a2a2a;
                        color: #fff;
                        font-size: 19px;
                        opacity: 1;
                        text-align: center;
                        border-radius: 50%;
                        -webkit-border-radius: 50%;
                        -moz-border-radius: 50%;
                        -o-border-radius: 50%;
                    }
                }

                .action-close {
                    &:before {
                        font-size: 26px;
                        content: "\e680";
                        font-family: "Pe-icon-7-stroke";
                        color: #fff;
                        line-height: 1;
                    }
                }
            }

            .modal-content {
                margin: 0;
                padding: 0;
            }
        }

        &._show {
            .modal-inner-wrap {
                opacity: 1;
                visibility: visible;
                transform: translateY(-50%) scale(1) !important;
                -moz-transform: translateY(-50%) scale(1) !important;
                -webkit-transform: translateY(-50%) scale(1) !important;
                -o-transform: translateY(-50%) scale(1) !important;
            }
        }

        .column.main.product-info-clearfix {
            display: flex;
            flex-wrap: wrap;
            min-height: 450px;
            float: none !important;
            width: 100% !important;
        }

        .product-info-main-wrapper {
            flex: 0 0 50%;
            max-width: 50%;
            padding: 30px 25px;

            @media (min-width: 768px) {
                &::-webkit-scrollbar {
                    -webkit-appearance: none;
                    width: 5px;
                }

                &::-webkit-scrollbar-thumb {
                    background-color: rgba(0, 0, 0, 0.5);
                    border-radius: 0;
                }
            }

            .product-info-main {
                float: none;
                width: 100%;
                text-align: left !important;
                padding-left: 0;

                .page-title-wrapper .page-title {
                    text-align: left !important;
                }

                .product-reviews-summary {
                    margin-left: 0;
                    margin-right: 0;
                }

                .product-info-price {
                    -webkit-justify-content: flex-start;
                    justify-content: flex-start;
                }

                .box-tocart {
                    display: block;
                    margin-bottom: 15px;
                }

                .fieldset {
                    .lib-vendor-prefix-display(flex);
                    flex-wrap: wrap;

                    .field.qty {
                        max-width: 130px;
                    }
                }

                .product-addto-links {
                    margin: 0 0 0 15px;

                    a.action.tocompare {
                        margin-left: 15px;
                    }
                }
            }
        }

        .product-info-media-wrapper {
            margin: 0;
            padding: 0;
            flex: 0 0 50%;
            max-width: 50%;

            .product.media {
                float: none;
                width: 100%;
                margin: 0;
                padding: 0;

                @media (min-width: 1200px) {
                    .product.item-image {
                        a {
                            padding-bottom: 133%;
                            position: relative;

                            img {
                                position: absolute;
                                top: 50%;
                                left: 50%;
                                transform: translate(-50%, -50%);
                                -webkit-transform: translate(-50%, -50%);
                                -moz-transform: translate(-50%, -50%);
                                -o-transform: translate(-50%, -50%);
                            }
                        }
                    }
                }

                .owl-item .product.item-image img:not(.zoomImg) {
                    cursor: grab;
                }
            }
        }

        .product.media .fotorama__nav-wrap.fotorama__nav-wrap--horizontal {
            display: none !important;
        }
    }

    .product_quickview_content {
        >.catalog-product-view {
            .product.media .owl-item {
                padding: 0 !important;
            }
        }

        .bundle-options-container {
            margin: 20px 0 0;

            .product-add-form {
                display: block !important;
            }

            .bundle-options-wrapper {
                padding: 0;

                .product-options-wrapper {

                    .legend.title,
                    .legend.title+br {
                        display: none;
                    }
                }
            }

            .bundle-options-wrapper,
            .block-bundle-summary {
                float: none;
                width: 100% !important;
                position: static !important;
            }

            .fieldset>.field:not(.choice)>.control {
                float: none;
                width: 100% !important;
            }
        }
    }

    .product-info-main {

        .product-addto-links,
        .share-this-container {
            a.action {
                height: 40px;
                width: 40px;
                background-color: #ffffff !important;
                border: 1px solid #222 !important;
                color: #222 !important;
                font-size: 18px;
                text-align: center;
                border-radius: 50% !important;
                line-height: 40px !important;
                box-shadow: none;
                float: left;
                position: relative;

                &:hover {
                    background-color: var(--thim-mgs-color-14) !important;
                }

                span {
                    text-indent: -9999px;
                    display: inline-block;
                }

                &.towishlist {
                    &:before {
                        content: "\e642";
                        font-family: "Pe-icon-7-stroke";
                    }
                }

                &.tocompare {
                    margin-left: 10px;

                    &:before {
                        content: "\e64b";
                        font-family: "Pe-icon-7-stroke";
                    }
                }

                &:before {
                    position: absolute;
                    top: 50%;
                    left: 50%;
                    transform: translate(-50%, -50%);
                    -webkit-transform: translate(-50%, -50%);
                    -moz-transform: translate(-50%, -50%);
                    -o-transform: translate(-50%, -50%);
                }

                &:hover {
                    background-color: #000;

                    &:before {
                        color: #fff;
                    }
                }
            }
        }
    }

    .quickview-loading-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 9999;
        background: rgba(255, 255, 255, 0.8);
        background-image: url("../images/loader_black.svg");
        background-size: 50px auto;
        background-repeat: no-repeat;
        background-position: center;
        opacity: 0;
        visibility: hidden;
        transition: all 300ms;
        -moz-transition: all 300ms;
        -webkit-transition: all 300ms;
        -ms-transition: all 300ms;

        &.loading {
            opacity: 1;
            visibility: visible;
        }
    }
}

@media (max-width: 1199px) {
    .modal-popup._inner-scroll.quickViewDetails {
        inset: 15px !important;

        .modal-inner-wrap {
            .modal-header {
                z-index: 9;

                .action-close {
                    margin: 0;
                    padding: 0;
                    position: absolute;
                    top: 0;
                    right: 0;
                    width: 40px;
                    height: 40px;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    background: rgba(0, 0, 0, 0.38);

                    &:before {
                        font-size: 30px;
                        color: #fff;
                    }
                }
            }
        }

    }
}

@media (max-width: 767px) {
    .modal-popup._inner-scroll.quickViewDetails {

        .modal-inner-wrap {
            min-height: auto !important;
            height: auto !important;
            position: relative !important;
            top: 50% !important;
            background-color: #fff !important;
        }

        .product_quickview_content {
            overflow: hidden;
        }

        .column.main.product-info-clearfix {
            flex-direction: column;
        }

        .product-info-main-wrapper {
            flex: 0 0 100%;
            max-width: 100%;
        }

        .product-info-media-wrapper {
            flex: 0 0 100%;
            max-width: 100%;
        }
    }
}