#product-quickview-modal {
    position: fixed;
    z-index: 18;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(255,255,255,0.8);
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.loopbook-loading-mask {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.loopbook-loading-mask .loader:after {
    border-width: 0 3px 0 0;
    border-style: solid;
    border-color: rgb(252, 97, 115);
    border-radius: 50%;
    display: block;
    height: 55px;
    width: 55px;
    content: "";
    animation: spin .6s infinite linear;
    -webkit-animation: spin .6s infinite linear;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
@-webkit-keyframes spin {
    from { -webkit-transform: rotate(0deg); }
    to { -webkit-transform: rotate(360deg); }
}

#product-quickview-modal .modal-content {
    background-color: #fff;
    margin: 80px auto;
    width: 800px;
    height: 450px;
    box-shadow: #999 0 0 9px 0;
    position: relative;
}

#product-quickview-modal .modal-body {
    padding: 30px;
    overflow: hidden scroll;
    height: 100%;
    width: 100%;
}

#product-quickview-modal .close {
    color: #fff;
    cursor: pointer;
    position: absolute;
    top: -14px;
    right: -14px;
    background: #333;
    border-radius: 100%;
    width: 30px;
    height: 30px;
    line-height: 32px;
    text-align: center;
    z-index: 10;
}

#product-quickview-modal .close:before {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 12px;
    content: '\e616';
    font-family: 'luma-icons';
    font-weight: bold;
    overflow: hidden;
    speak: none;
    text-align: center;
    line-height: 27px;
}

#product-quickview-modal .close:hover,
#product-quickview-modal .close:focus {
    cursor: pointer;
}

.not-found-product {
    padding: 15px;
    background: #f9f9f9;
    border: 1px solid #cdcdcd;
    margin: 0 0 15px 0;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    position: relative;
}

.not-found-product i {
    color: #cdcdcd;
    font-size: 3.8rem;
    margin-right: 15px;
}

.product-quickview-wrapper {
    display: flex;
    align-items: flex-start;
}

.product-quickview-wrapper .product.media {
    flex: 1;
    margin-bottom: 0 !important;
}

.product-quickview-wrapper .product-info-main {
    flex: 2;
}

.product-quickview-wrapper .media.sticky {
    top: 0;
}

.product-quickview-wrapper .featured-image {
    border: 1px solid #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 336px;
    text-align: center;
}

.product-quickview-buttons {
    margin-top: 10px;
}

.product-quickview-buttons .product-learn-more {
    background-color: #f4f4f4;
    padding: 12px;
    border-radius: 5px;
    text-decoration: none;
    color: inherit;
    display: inline-block;
}

@media (max-width: 846px) {
    #product-quickview-modal .close {
        right: 15px;
        top: 15px;
    }

    #product-quickview-modal .modal-content {
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        margin: 0;
    }
}

@media (max-width: 768px) {
    .product-quickview-wrapper {
        flex-direction: column;
        align-items: stretch;
    }
}
