:root {
    --aap-main-border-radius: 4px;
    --aap-main-button-height: 48px;
    --aap-main-button-other-height: 34px;
    --aap-main-slide-tab-height: 34px;
    --aap-main-btn-color: #43b02a;
    --aap-main-btn-color-hover: #e24c1d;
    --aap-main-icon-color: #ffffff;
    --aap-main-icon-color-hover: #ffffff;
}

.aap-product-product-list {
    display: flex !important;
    flex-wrap: wrap;
    width: 100%;
}

.aap-product-product-list .product {
    display: inline-block;
    padding: 0;
    width: 250px;
}

.aap-product-rating {
    display: flex;
    justify-content: flex-start;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
    gap: 10px;
    align-items: center;
}

.aap-product-rating .aap-product-rating-empty {
    height: 12px;
    position: relative;
    top: -2px;
}

.aap-product-product-list .product-wrap {
    padding: 8px !important;
    background-color: white;
    vertical-align: top;
    width: 100%;
    max-width: 500px !important;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 4px;
    margin: 0 !important;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
}

.aap-product-product-list .product-wrap .product-top .image {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.aap-product-product-list .product .product-bottom {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-top: 0;
    height: 45px;
}

.aap-product-product-list .product .image img {
    max-width: 100%;
}

.aap-product-product-list .product .name {
    display: block;
    width: auto;
    color: #000;
    font-size: 14px;
    height: 40px;
    overflow: hidden;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: initial;
    text-align: left;
    background: transparent;
}

.aap-product-product-list .product .name a {
    color: #000;
    background: transparent;
}

.aap-product-product-list .product a.name:hover {
    text-decoration: none;
}

.aap-product-product-list .product .price {
    font-weight: 500;
    font-size: 20px;
    float: left;
    margin-top: 0;
    position: relative;
    line-height: 1.2;
    color: black;
}

.aap-product-product-list .product .price .old-price {
    width: 100%;
    left: 0;
    margin-top: 0;
    position: relative;
    font-size: 12px;
    color: #808080;
    font-weight: normal;
    display: flex;
    align-items: center;
    gap: 4px;
}

.aap-product-product-list .product .price .old-price span {
    text-decoration: line-through;
}

.aap-product-product-list .product .price .old-price .discount-procent {
    color: white;
    background-color: red;
    padding: 2px 4px;
    font-size: 10px;
    font-weight: 500;
    border-radius: 16px;
    text-decoration: none;
    line-height: 14px;
    height: 18px;
}

.aap-product-product-list .product .button-cart {
    display: inline-block;
    background-color: var(--aap-main-btn-color);
    float: right;
    height: var(--aap-main-button-other-height);
    padding: 7px 14px;
    border-radius: var(--aap-main-border-radius);
    cursor: pointer;
}

.aap-product-product-list .product .button-cart .aap-cart-btn-icon {
    width: 20px;
    height: 20px;
    display: block;
    fill:  var(--aap-main-icon-color);
}

.aap-product-product-list .product .button-cart:hover {
    background: var(--aap-main-btn-color-hover);
}

.aap-product-product-list .product .button-cart:hover .aap-cart-btn-icon {
    width: 20px;
    height: 20px;
    display: block;
    fill:  var(--aap-main-icon-color-hover);
}

.aap-product-product-list.show-more {
    position: relative;
    padding-bottom: 70px;
}

.aap-product-product-list.show-more .button-show-more {
    position: absolute;
    background-color: #ffffff;
    color: black;
    font-size: 14px;
    padding: 12px;
    border: 1px solid #e4e4e4;
    border-radius: var(--aap-main-border-radius);
    bottom: 0;
    width: 200px;
    text-align: center;
    transition: background .3s ease;
    left: 50%;
    margin-left: -100px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: var(--aap-main-button-height);
}

.aap-product-product-list.show-more .button-show-more:hover {
    background-color: #f4f4f4;
}

.aap-product-product-list.show-more .button-show-more div {
    background-color: black;
    color: white;
    display: flex;
    width: 16px;
    height: 16px;
    line-height: 1;
    border-radius: 50px;
    align-items: center;
    justify-content: center;
}

.aap-product-product-list.show-more.show .button-show-more {
}

.aap-product-product-list.show-more.show .button-show-more span::before {
    display: none;
}

.aap-product-product-list.show-more.show .button-show-more:hover {
}

@media (min-width: 1200px) {
    .aap-product-product-list .product.hide_desktop {
        display: none;
    }
}

@media (max-width: 1200px) {
    .aap-product-product-list .product.hide_tablet {
        display: none;
    }
}

@media (max-width: 991px) {
    .aap-product-main .group .group-title {
        color: #000;
        font-weight: 500;
        font-size: 15px;
        padding-left: 0;
        margin-bottom: 0;
    }

    .aap-product-product-list .aap-product-mobile-infinity {
        width: 100%;
        overflow: hidden;
        overflow-x: auto;
        margin-bottom: 0;
    }

    .aap-product-product-list .aap-product-mobile-infinity .product {
        margin-right: 10px;
        margin-bottom: 0;
    }

    .aap-product-product-list .product {
        width: 33%;
    }
}

@media (max-width: 540px) {
    .aap-product-product-list .product {
        width: 48%;
        margin: 0 2% 10px 0;
    }

    .aap-product-product-list .product .price {
        font-weight: bold;
        font-size: 16px;
        float: left;
        margin-top: 0;
        position: relative;
        line-height: 1.2;
        color: black;
    }
}

.aap-product-product-info {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999999;
    overflow-x: hidden;
    overflow-y: auto;
}

.aap-product-overlay {
    background-color: #1e242f;
    opacity: .66;
    width: 100vw;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 5000;
}

.aap-product-product-info .body {
    z-index: 5001;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90vw;
    max-width: 900px;
    height: auto;
    max-height: 94vh;
    background-color: white;
    border-radius: var(--aap-main-border-radius);
    overflow-y: auto;
    overflow-x: hidden;
    padding: 20px;
    box-sizing: border-box;
    word-break: break-word;
    white-space: normal;
}

.aap-product-product-info .body-content {
    background: #fff;
}

.aap-product-product-info .body > .title {
    width: 100%;
    background-color: white;
    padding: 0;
    text-align: right;
    height: auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.aap-product-product-info .body > .title .aap-product-t {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.aap-product-product-info .body > .title .aap-product-t .app-product-t-title {
    font-size: 20px;
    font-weight: 500;
    color: black;
    text-align: start;
}

.aap-product-product-info .body > .title .aap-product-t .app-product-t-text {
    font-size: 16px;
    font-weight: 400;
    color: black;
}

.aap-product-product-info .body > .title .close {
    background-color: transparent;
    font-size: 14px;
    color: white;
    font-weight: 400;
    text-shadow: none;
    opacity: 1;
    display: inline-flex;
    float: unset;
    padding: 5px;
    border-radius: var(--aap-main-border-radius);
    width: 25px;
    height: 25px;
    align-items: center;
    justify-content: center;
}

.aap-product-product-info .body > .title .close > .ex-closer {
    width: 100%;
    height: 100%;
}

.aap-product-product-info .body > .title .close:hover {
    opacity: 0.8;
}

.aap-product-product-info .body .product-wrap {
    margin: 20px auto 5px auto;
    max-width: 1200px;
}

/* Product Slider */
.aap-product-main {
    padding: 16px;
    margin-top: 20px;
    user-select: none;
    background: white;
}

.aap-product-main .aap-group-products .group-title {
    color: #000;
    font-weight: 500;
    font-size: 15px;
    margin-bottom: 16px;
}

.aap-product-main .products-swiper-slider {
    padding: 0 40px;
    position: relative;
}

.aap-product-main .products-swiper-slider.locked {
    padding: 0;
}

.aap-product-main .products-swiper-slider.locked .product {
    padding: 0;
}

.aap-product-main .products-swiper-slider .swiper {
    padding-bottom: 0;
}

.aap-product-main .products-swiper-slider .swiper-button {
    border: 1px solid #e4e4e4;
    position: absolute;
    height: 106px;
    left: 0;
    top: 0;
    width: 34px;
    border-radius: var(--aap-main-border-radius);
    margin: 0;
}

.aap-product-main .products-swiper-slider .swiper-button:hover {
    background-color: #f4f4f4;
}

.aap-product-main .products-swiper-slider .swiper-button:after {
    display: none;
}

.aap-product-main .products-swiper-slider .swiper-button .chevron-wrap {
    background-color: black;
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aap-product-main .products-swiper-slider .swiper-button.swiper-button-disabled .chevron-wrap {
    background-color: #e4e4e4;
}

.aap-product-main .products-swiper-slider .swiper-button.swiper-button-disabled {
    border-color: #e4e4e4;
}

.aap-product-main .products-swiper-slider .swiper-button .ex-menu-list-item-chevron {
    background-color: white;
    width: 11px;
    height: 13px;
    padding: 0;
    margin: 0;
}

.aap-product-main .products-swiper-slider .swiper-button-next {
    left: auto;
    right: 0;
}

.aap-product-main .products-swiper-slider .swiper-button-prev .chevron-wrap {
    transform: rotate(180deg);
}

.aap-product-main .products-swiper-slider {
    display: flex;
}

.aap-product-main .products-swiper-slider .swiper-button {
    height: 100%;
    user-select: none;
}
.aap-product-product-list.aap-product-small-products .product .product-wrap {
    border: 1px solid #e4e4e4;
    border-radius: var(--aap-main-border-radius);
    align-items: start;
}

.aap-product-product-list.aap-product-small-products .product {
    width: 200px;
    flex-shrink: 0;
    color: black;
}

.aap-product-product-list.aap-product-small-products .product .product-wrap {
    padding: 12px;
    height: 100%;
    align-items: center;
}

.aap-product-product-list.aap-product-small-products .product .name {
    font-size: 12px;
    font-weight: 500;
    height: auto;
    background: transparent;
}

.aap-product-product-list.aap-product-small-products .product .image {
    margin-right: 10px;
}

.aap-product-product-list.aap-product-small-products .product .image img {
    width: 40px !important;
    height: 40px !important;
    max-width: max-content;
}

.aap-product-product-list.aap-product-small-products .product .product-top {
    width: 100%;
    display: flex;
    align-items: center;
    margin-bottom: 4px;
}

.aap-product-product-list.aap-product-small-products .product .aap-product-rating {
    display: none;
}

.aap-product-product-list.aap-product-small-products .product .product-bottom {
    margin-top: 0;
}


.aap-product-product-list.aap-product-small-products .product .price {
    font-weight: 500;
    font-size: 20px;
    float: left;
    margin-top: 0;
    position: relative;
    line-height: 1.2;
    color: black;
}

.aap-product-product-list.aap-product-small-products .product .price .old-price {
    width: 100%;
    left: 0;
    margin-top: 0;
    position: relative;
    font-size: 12px;
    color: #808080;
    font-weight: normal;
    display: flex;
    align-items: center;
    gap: 4px;
}

.aap-product-product-list.aap-product-small-products .product .price .old-price span {
    text-decoration: line-through;
}

.aap-product-product-list.aap-product-small-products .product .price .old-price .discount-procent {
    color: white;
    background-color: red;
    padding: 2px 4px;
    font-size: 10px;
    font-weight: 500;
    border-radius: 16px;
    text-decoration: none;
    line-height: 14px;
    height: 18px;
}
.aap-product-main .aap-product-product-list.aap-product-small-products .product .price {
    font-size: 16px;
    font-weight: bold;
}
.aap-product-main .aap-product-product-list.aap-product-small-products .product .new-price {
    font-size: 16px;
    font-weight: bold;
}
/* Product Slider */

@media (max-width: 1600px) {
    .aap-product-product-info .body .product-wrap {
        margin: 30px auto;
        max-width: 1000px;
    }
}

@media (max-width: 1200px) {
    .aap-product-product-info .body .product-wrap {
        padding: 0 20px;
    }
}

@media (max-width: 991px) {
    .aap-product-product-info .body .product-wrap {
        padding: 0 30px;
        margin: 30px auto;
        max-width: 1000px;
    }
    .aap-product-main .products-swiper-slider .swiper-button {
        display: none;
    }
    .aap-product-main .products-swiper-slider {
        padding: 15px 0 0 0;
    }
}

@media (max-width: 540px) {
    .aap-product-product-info .body .product-wrap {
        padding: 0;
    }

    .aap-product-product-info .body .product-wrap {
        margin: 10px 0;
        max-width: 1000px;
    }
}