.custom-product-list {
    padding-top: var(--padding-top-desk);
    padding-bottom: var(--padding-bottom-desk);
    background: var(--section-bg);
}

.product-item-wrapper img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-item-wrapper {
    position: relative;
    display: block;
    overflow: hidden;
}

.product-image {
    width: 100%;
    display: block;
}

.secondary-image {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.primary-image {
    transition: opacity 0.5s ease;
}

.product-item-wrapper.has-secondary-image:hover .secondary-image {
    opacity: 1;
}

.product-item-wrapper.has-secondary-image:hover .primary-image {
    opacity: 0;
}

.product-title-with-price {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding-top: 16px;
    flex-wrap: wrap;
    flex-direction: column;
}

.add-with-product .product-title-with-price {
    padding-top: 12px;
}

.custom-product-list-container .title-with-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 28px;
    gap: 20px;
}

.title-with-button .main-title {
    color: var(--heading-color);
    font-size: var(--heading-font-desk);
    margin: 0;
    line-height: 1.273;
    text-transform: capitalize;
}

.title-with-button .main-button {
    text-decoration: none;
    background: #000000;
    color: #ffffff;
    font-size: 18px;
    padding: 12px 34px;
    border-radius: 23px;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1.375;
    text-transform: capitalize;
    cursor: pointer;
    letter-spacing: 0;
    position: relative;
    overflow: hidden;
    transition: all 0.5s;
    white-space: nowrap;
}

.title-with-button .main-button span.top-text {
    transform: translateY(0%);
    transition: all 0.3s ease;
}

.title-with-button .main-button span.bottom-text {
    position: absolute;
    transform: translateY(200%);
    transition: all 0.3s ease;
    color: #ffffff;
}

.title-with-button .main-button:hover span.top-text {
    transform: translateY(-200%);
    transition: all 0.3s ease;
}

.title-with-button .main-button:hover span.bottom-text {
    transform: translateY(0%);
    transition: all 0.3s ease;
}

.product-title-with-price .custom-product__title {
    font-size: 20px;
    margin: 0;
    color: #030303;
    line-height: 1.3;
    font-family: 'ANTA Sharp Grotesk Medium';
    max-width: 310px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
}

.add-with-product .product-title-with-price .custom-product__title {
    font-size: 22px;
}

.product-title-with-price .custom-product__price {
    font-size: 18px;
    margin: 0;
    color: #030303;
    line-height: 1.278;
    white-space: nowrap;
}

.custom-product-list-wrapper .custom-arrows-product:after {
    content: unset;
}

.custom-product-list-wrapper .swiper-button-next {
    transform: rotate(180deg);
}

.custom-product-list-wrapper .custom-arrows-product,
.custom-pagination .swiper-pagination {
    position: unset;
}

.custom-pagination .swiper-pagination .swiper-pagination-progressbar-fill {
    background: #000;
}

.add-with-product .arrow-with-progressbar .custom-pagination {
    max-width: 333px;
    width: 100%;
    margin-top: 0;
}

.arrow-with-progressbar {
    display: flex;
    gap: 14px;
    align-items: center;
    padding-top: 29px;
}

.flex-to-arrow {
    display: flex;
    gap: 14px;
    align-items: center;
}

.flex-to-arrow .custom-arrows-product {
    margin-top: unset;
    width: 50px;
    height: 50px;
    border: none;
}

.custom-arrows-product svg {
    width: 30px;
    height: 30px;
    object-fit: cover;
}

.custom-product-list-wrapper.swiper {
    opacity: 0;
    transition: all 0.5s;
}

.custom-product-list-wrapper.swiper.swiper-initialized {
    opacity: 1;
}

.add-with-product .custom-product-list-wrapper.swiper {
    padding-left: 7rem;
}

.custom-product-card .custom-product__tag .product--tag {
    width: auto;
    height: 28px;
    background: #D6000F;
    border-radius: 6px;
    font-size: 16px;
    color: #FFFFFF;
    padding: 5px 20px;
    text-transform: capitalize;
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
}

.add-with-product .custom-product-card {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.custom-product-list-wrapper .swiper-slide {
    height: auto;
}

.add-with-product .custom-product__tag {
    position: absolute;
    top: 0;
    left: 0;
    padding: 19px 0 0 19px;
}

.add-with-product .custom-product-card .custom-product__type {
    font-size: 18px;
    color: #969696;
    line-height: 1.278;
    margin: 0;
}

.add-with-product .price-wrapper-custom .custom-product__price {
    font-size: 22px;
    color: #030303;
    line-height: 1.273;
    margin: 0;
}

.add-with-product .custom-product__compare-price {
    font-size: 18px;
    color: #CCCCCC;
    line-height: 1.278;
    margin: 0;
}

.add-with-product .price-wrapper-custom {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    align-items: center;
}

.add-with-product .custom-product-card .money-with-addtocart {
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.custom-addtocart .product-form__submit::after,
.custom-addtocart .product-form__submit::before {
    content: unset;
}

.custom-addtocart .product-form__submit img {
    display: block;
    width: 29px;
    height: 21px;
    object-fit: cover;
}

.custom-addtocart .product-form__submit {
    background: #000;
    width: 100px;
    padding: 8px;
    line-height: 1.4;
    gap: 4px;
    font-size: 16px;
    color: #FFFFFF;
    font-weight: 400;
    border-radius: 18px;
}

.content-for-layout:has(.cart__footer-wrapper) .main-cart-class-slide {
    width: 100%;
}

.content-for-layout:has(.cart__footer-wrapper) .add-with-product .custom-product-list-wrapper.swiper {
    padding-left: 0;
}

.main-info-add-products {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

@media (max-width:1440px) {
    .add-with-product .custom-product-list-wrapper.swiper {
        padding-left: 20px;
    }

}

@media (max-width:1440px) {
    .content-for-layout:has(.cart__footer-wrapper) .custom-width {
        padding: 0 20px;
    }
}

@media (max-width:768px) {
    .custom-product-list {
        padding-top: var(--padding-top-mob);
        padding-bottom: var(--padding-bottom-mob);
    }

    .title-with-button .main-title {
        font-size: var(--heading-font-mob);
    }

    .title-with-button .main-button {
        font-size: 14px;
        padding: 5px 20px;
    }

    .product-title-with-price .custom-product__title {
        font-size: 16px;
    }

    .product-title-with-price .custom-product__price {
        font-size: 14px;
    }

    .arrow-with-progressbar,
    .flex-to-arrow {
        gap: 8px;
        padding-right: 14px;
    }

    .custom-arrows-product svg {
        width: 18px;
        height: 18px;
    }

    .add-with-product .product-title-with-price .custom-product__title {
        font-size: 18px;
    }

    .add-with-product .product-title-with-price {
        padding-right: 20px;
    }

    .add-with-product .price-wrapper-custom .custom-product__price,
    .add-with-product .custom-product__compare-price {
        font-size: 16px;
    }

    .custom-addtocart .product-form__submit {
        width: 80px;
    }

    .custom-addtocart .product-form__submit span {
        font-size: 14px;
    }

    .add-with-product .custom-product-card .money-with-addtocart {
        padding: 0 20px 0 0;
    }

    .custom-product-list-container .title-with-button {
        padding-bottom: 12px;
    }

    .product-title-with-price {
        padding-top: 10px;
    }

    .arrow-with-progressbar {
        padding-top: 18px;
    }

    .flex-to-arrow .custom-arrows-product {
        width: 36px;
        height: 36px;
        background: #F6F6F6;
        border-radius: 50%;
    }

    .custom-product-card .custom-product__tag .product--tag {
        font-size: 12px;
        padding: 5px 12px;
        height: 22px;
        border-radius: 0;
    }

    .add-with-product .custom-product__tag {
        padding: 14px 0 0 14px;
    }
}