body.woocommerce .summary .single_add_to_cart_button {
    max-width: 220rem;
}
.one-click-buy {
    height: 80rem;
    border-radius: 500rem;
    border: 1px solid #FFFFFF;
    outline: none;
    transition: .3s;
    width: 100%;
    max-width: 196rem;
    padding: 30rem 20rem;
    font-size: 18rem;
    line-height: 21rem;
    text-align: center;
    cursor: pointer;
    color: #fff;
    font-family: 'sans-serif', sans-serif;
    font-style: normal;
    font-weight: 500;
}

.one-click-buy:hover {
    background-color: #fff;
    color: #000000;
}
.popup-one-click-buy {
    z-index: 200;
}
.popup-one-click-buy .popup-main {
    width: 550rem;
    padding: 76rem 96rem 0;
}

.popup-one-click-buy .popup-main .popup-header {
    width: 100%;
}

.woocommerce .single_add_to_cart_button {
    max-width: 296rem;
}

.product-form-wrapper {
    display: flex;
    align-items: center;
    gap: 30rem;
}

.product-tag-wrapper {
    position: absolute;
    left: 20px;
    top: 20px;
    display: flex;
    width: calc(100% - 40px);
    flex-wrap: wrap;
    gap: 20px;
}

.product-tag {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 4px 15px 3px;
    border-radius: 25px;
}

.woocommerce_loop_product_action_buttons-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15rem;
}

.product-preview-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border: 1px solid #FFFFFF;
    border-radius: 500px;
    padding: 12rem 17rem 12rem 14rem;
    cursor: pointer;
}

.product-preview-wrapper svg {
    width: 22rem;
    height: 14rem;
    margin-right: 10rem;
}

.product-preview-icon {
    margin-right: 10rem;
}

.product-preview-text {
    text-transform: uppercase;
    font-family: 'sans-serif', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 10rem;
    line-height: 100%;
    text-align: center;
    letter-spacing: 0.1em;
    color: #FFFFFF;
}
.popup-product-preview {
    height: 100vh;
    overflow-y: scroll;
}
.popup-product-preview .popup-bg {
    position: fixed;
    top: 0;
}
.popup-product-preview .popup-main-wrapper {
    position: absolute;
}
.popup-product-preview .popup-main {
    height: unset;
    max-width: 1570rem;
    width: 100%;
}

.popup-product-preview .popup-close {
    top: -50rem;
    right: 0;
}

.popup-product-preview .popup-preview-container {
    max-height: 708rem;
    display: flex;
    background: #22292D;
    border-radius: 30px;
    overflow: hidden;
}

.popup-product-preview .popup-preview-image-wrapper {
    max-height: 708rem;
    max-width: calc(100% - 707rem - 155rem);
    width: 100%;
    flex-shrink: 0;
}

.popup-product-preview .popup-preview-image-wrapper img {
    width: 100%;
    height: 100%;
}

.product-rating-stars-container {
    display: flex;
}

.product-rating-star {
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-rating-star svg {
    width: 16.8rem;
    height: 16rem;
}

.product-rating-star.active svg {
    fill: #FED149;
}

.popup-preview-content-wrapper {
    display: flex;
    flex-direction: column;
    padding: 82rem 85rem 81rem 70rem;
    max-width: 862rem;
    width: 100%;
    max-height: 708rem;
    overflow: auto;
}

.popup-preview-content-wrapper .popup-preview-title {
    order: 1;
    font-family: 'sans-serif', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 30rem;
    line-height: 130%;
    color: #FFFFFF;
}

.popup-preview-content-wrapper .popup-preview-article {
    order: 2;
    margin-top: 10rem;
    font-family: 'sans-serif', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 14rem;
    line-height: 130%;
    color: #555555;
}

.product-rating-wrapper {
    display: flex;
    align-items: center;
}

.popup-preview-content-wrapper .product-rating-wrapper {
    order: 3;
    margin-top: 30rem;
}

.product-rating-value {
    margin-right: 4rem;
    font-family: 'sans-serif', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 18rem;
    line-height: 21rem;
    color: #EBEBEB;
}

.product-rating-description {
    margin-left: 20rem;
    font-family: 'sans-serif', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 14rem;
    line-height: 17rem;
    text-decoration-line: underline;
    color: #676767;
}

.popup-preview-content-wrapper .popup-preview-content {
    order: 4;
    margin-top: 30rem;
    font-family: 'sans-serif', sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: 18rem;
    line-height: 25rem;
    letter-spacing: 0.02em;
    color: #FFFFFF;
}

.popup-preview-price-wrapper {
    order: 5;
    margin-top: 34rem;
}

.popup-preview-price-wrapper .price {
    display: flex;
    align-items: center;
}

.popup-product-preview .old-price,
.popup-product-preview .current-price {
    font-family: 'sans-serif', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 34rem;
    line-height: 130%;
    color: #FFFFFF;
}

.popup-product-preview .old-price {
    margin-right: 22rem;
}

.popup-product-preview .price-description {
    margin-left: 22rem;
    text-transform: lowercase;
}

.popup-product-preview .popup-preview-buttons-container {
    order: 6;
}

.popup-product-preview form {
    display: flex;
    margin-top: 36rem;
    gap: 30rem;
}

.popup-product-preview .quantity {
    width: 156rem;
}

.popup-product-preview .single_add_to_cart_button {
    width: 100%;
    padding: 30rem 97rem 33rem 98rem;
    font-size: 18rem;
    line-height: 21rem;
    text-transform: capitalize;
}

.popup-preview-detail-info-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 70rem;
    padding-bottom: 40rem;
}

.red-button {
    background: #e30025;
    border-radius: 500px;
    font-family: 'sans-serif', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 20rem;
    line-height: 24rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    text-transform: uppercase;
    color: #FFFFFF;
    cursor: pointer;
}

.popup-preview-detail-info {
    max-width: 541rem;
    padding: 28rem 88rem;
    background: #e30025;
    font-weight: 500;
    font-size: 20rem;
    line-height: 24rem;
}

.product-loop-show-more-products {
    margin: 40rem auto 0;
    padding: 17rem 40rem;
    font-size: 14px;
    line-height: 100%;
    text-align: center;
    letter-spacing: 0.1em;
}

.products .product .product-rating-wrapper {
    margin-top: 30.5rem;
    margin-bottom: 20rem;
}

.product .entry-summary {
    display: flex;
    flex-direction: column;
}

.product .entry-summary > * {
    order: 5;
}

body.woocommerce ul.products li.product .woocommerce-product-loop-content-wrap {
    padding-top: 0;
}

.product .entry-summary .product-rating-wrapper {
    margin-top: 30rem;
}

body.woocommerce .summary .product_meta{
    margin-bottom: 0;
}

@media (max-width: 600px) {
    .single-product .entry-summary .cart {
        display: flex;
        flex-wrap: wrap;
    }

    .one-click-buy {
        height: 41rem;
        width: 100%;
        padding: 14rem 30rem;
        font-size: 12rem;
        font-weight: 500;
        line-height: 12rem;
        max-width: unset;
    }

    .product-preview-wrapper svg {
        width: 14rem;
        height: 9rem;
        margin-right: 5rem;
    }

    .popup-product-preview .popup-main {
        padding: 0 20rem;
        max-width: 376rem;
    }

    .popup-product-preview .popup-close {
        top: -40rem;
        right: 20rem;
    }

    .popup-product-preview .popup-preview-container {
        flex-direction: column;
    }

    .popup-product-preview .popup-preview-image-wrapper {
        max-width: 100%;
    }

    .popup-preview-content-wrapper {
        padding: 30rem 20rem 40rem;
    }

    .popup-preview-content-wrapper .product-rating-wrapper {
        order: 1;
        margin-top: 0;
    }

    .popup-preview-content-wrapper .popup-preview-title {
        order: 2;
        margin-top: 20rem;
        font-size: 16rem;
    }

    .popup-preview-content-wrapper .popup-preview-article {
        order: 3;
        font-size: 13rem;
    }

    .product-rating-value {
        font-size: 14rem;
    }

    .product-rating-description {
        font-size: 12rem;
    }

    .popup-preview-content-wrapper .popup-preview-content {
        font-size: 14rem;
        margin-top: 20rem;
    }

    .product-rating-star svg {
        width: 14rem;
        height: 13rem;
    }

    .popup-product-preview .old-price,
    .popup-product-preview .current-price {
        font-size: 22rem;
    }

    .popup-product-preview .price-description {
        font-size: 10rem;
    }

    .popup-product-preview form {
        flex-direction: column;
        gap: 20rem;
    }

    .popup-product-preview .single_add_to_cart_button {
        font-size: 12rem;
        padding: 14.5rem 29rem;
        max-width: 153rem;
        height: 41rem;
    }

    .popup-product-preview .quantity {
        width: 126rem;
        height: 41rem;
    }

    .woocommerce .popup-product-preview .quantity .qty {
        width: 64rem;
    }

    .woocommerce .popup-product-preview .quantity .quantity-arrows {
        width: 30rem;
    }

    .popup-preview-detail-info-wrapper {
        margin-top: 50rem;
    }

    .popup-preview-detail-info {
        font-size: 14rem;
        padding: 19rem 34rem;
    }

    .product-loop-show-more-products {
        width: 100%;
        font-size: 16px;
        line-height: 100%;
        padding: 19rem 34rem;
        margin-top: 50rem;
    }

    .products .product .product-rating-wrapper {
        margin-top: 15rem;
        margin-bottom: 10rem;
    }

    .product .entry-summary .product-rating-wrapper {
        margin-top: 0;
        order: 1;
    }
}
@media(max-height: 1000px) {
    .popup-product-preview .popup-main-wrapper {
        top: 70rem;
    }
    .popup-product-preview .popup-preview-container {
        max-height: unset;
    }
}