.ah-quick-product-loader {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: #0006;
    z-index: 99999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ah-quick-product-loader img {
    width: 70px;
    border-radius: 20px;
}

.product .product-preview-btn {
    position: absolute;
    z-index: 10;
    top: 5px;
    left: 4px;
    padding: 9px;
    background-color: var(--ahura-c-bg-secondary);
    border: 1px solid var(--ahura-c-bg-secondary);
    height: 40px;
    width: 40px;
    color: var(--ahura-c-text-secondary);
    border-radius: 7px;
    box-shadow: 0 3px 7px #00000012;
}

#product-quick-view-template {
    transition: ease .2s;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 99999999;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    padding: 20px;
}

#product-quick-view-template.show-quick-view {
    opacity: 1;
    pointer-events: all;
}

#ah-quick-product-content {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
}

#ah-quick-product-content .ah-quick-product {
    position: relative;
    width: 55%;
    padding: 0;
    margin: 0;
    gap: 20px;
    transform: translateY(-50px);
    transition: ease .3s;
    border: none;
}

#ah-quick-product-content .ah-quick-product-content-box {
    position: relative;
    display: flex;
    align-items: center;
    padding: 10px;
    margin: 0;
}

#ah-quick-product-content .ah-quick-product-head {
    background-color: #fff;
    border-radius: 10px 10px 0 0;
    padding: 10px;
    border-bottom: 1px solid #ebebeb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

#ah-quick-product-content .ah-quick-product-head h2 {
    font-size: 20px;
    color: #333;
}

#ah-quick-product-content .ah-close-quick-product {
    font-size: 21px;
    cursor: pointer;
    width: 25px;
    padding-top: 6px;
    color: #333;
}

#product-quick-view-template.show-quick-view .ah-quick-product {
    transform: translateY(0);
}

.woocommerce div.product .ah-product-content div.summary {
    float: none;
    padding: 0;
    margin: 0;
    width: auto;
}

.ah-quick-product .ah-product-gallery {
    width: 400px;
    position: relative;
}

.ah-quick-product .ah-product-gallery img {
    border-radius: 10px;
}

.ah-quick-product .ah-gallery-images {
    margin-top: 10px;
}

.ah-quick-product .ah-thumbnail-image img {
    width: 100%;
}

.ah-quick-product .ah-gallery-images img {
    height: 80px;
    object-fit: cover;
    border: 1px solid #f0f0f0;
    cursor: pointer;
}

.ah-quick-product .ah-product-content {
    padding: 15px;
}

.ah-quick-product .ah-product-content .mw_add_to_cart {
    min-width: 150px;
    text-align: center;
    padding: 13px;
    border-radius: 10px;
    margin-top: 15px;
}

.ah-quick-product .mw_term_data {
    display: inline-block;
    margin-bottom: 14px;
}

.ah-quick-product .mw_term_data .mw_term_item {
    background-color: #f0f0f0;
    font-size: 14px;
    padding: 3px 7px;
    border-radius: 5px;
}

.ah-quick-product .swiper-button-next,
.ah-quick-product .swiper-button-prev {
    width: 40px;
    height: 40px;
    padding: 10px;
    border-radius: 50px;
    background-color: #fff;
    color: #000;
    box-shadow: 0 0 10px #00000038;
    font-size: 22px;
}

.ah-quick-product .swiper-button-next::after,
.ah-quick-product .swiper-button-prev::after {
    font-size: 22px;
}

.ah-quick-product .ah-gallery-images .swiper-slide {
    transition: ease .15s;
}

.ah-quick-product .ah-gallery-images .swiper-slide-thumb-active {
    transform: scale(.8);
}

@media screen and (max-width: 1600px){
    #ah-quick-product-content .ah-quick-product {
        width: 80%;
    }
}

@media screen and (max-width: 1100px){
    #ah-quick-product-content .ah-quick-product {
        width: 80%;
    }

    .ah-quick-product .ah-product-gallery {
        width: 300px;
    }

    .ah-quick-product .ah-gallery-images img {
        height: 50px;
    }
}

@media screen and (max-width: 767px){
    #ah-quick-product-content .ah-quick-product {
        width: 100%;
        height: 100%;
        border-radius: 0;
    }

    #ah-quick-product-content .ah-quick-product-content-box {
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        text-align: center;
        overflow: auto;
        max-height: calc(100% - 60px);
    }

    #ah-quick-product-content .ah-quick-product-content-box > div{
        width: 100%;
    }

    .ah-quick-product .ah-thumbnail-image img,
    .woocommerce .ah-quick-product.product .ah-thumbnail-image img {
        max-width: 270px;
    }

    #product-quick-view-template {
        padding: 0;
    }
}