.product-slider {
    margin-bottom: 38px;
}

.product-slider .head {
    position: relative;
    margin-bottom: 16px;
    padding: 0 16px;
}


.product-slider .head .line {
    content: "";
    height: 1px;
    width: auto;
    background: var(--black-10);
    z-index: -2;
    flex-grow: 1;
}

.product-slider .head-product-slider {
    display: flex;
    /*align-items: center;*/
    gap: 16px;
    /*background-color: var(--bg_color);*/
    padding-left: 24px;
}
.product-slider .head-product-slider.head-up-mask{
    margin: 0 0 0 -95px !important;
}

/*.product-slider.show_svg .head-product-slider{*/
/*    background-color: transparent;*/
/*}*/

.product-slider .head-product-slider .head-icon {
    width: 48px;
    height: 48px;
    background-color: var(--primary_color);
    border-radius: var(--icon-radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-slider .head-product-slider .head-icon svg {
    width: 18px;
    height: 18px;
}

.product-slider .head-product-slider .head-icon i {
    font-size: 18px;
    color: var(--white_color);
}

.product-slider .head-product-slider .head-icon svg path {
    fill: var(--white_color);
}

.product-slider .head-product-slider .head-product-slider-inner {
    display: flex;
    flex-wrap: wrap;
}

.product-slider .head-product-slider .head-product-slider-inner.flex-direction-column {
    flex-direction: column;
}

.product-slider:not(.show_svg) .head-product-slider .head-product-slider-inner.flex-direction-row {
    flex-direction: row;
    align-items: center;
    gap: 0 16px;
}

.product-slider .head-product-slider .head-product-slider-inner .title {
    font-size: 24px;
    font-weight: 900;
    line-height: normal;
}

.product-slider .head-product-slider .head-product-slider-inner .subtitle {
    font-size: 16px;
    font-weight: 500;
    line-height: normal;
    color: var(--black-70);
}

.product-slider .head-btns {
    display: flex;
    gap: 8px;
    /*background-color: var(--bg_color);*/
    padding-right: 24px;
}

.product-slider .btn {
    border: 0;
}

.product-slider .head._head-up-mask {
    padding: 0 0 0 16px !important;
}

.body-product-slider.head-up-mask-wrap {
    margin: 0 !important;
}

.body-product-slider.head-up-mask-wrap .product-slider-swiper {
    padding: 0 12px;
    transform: translateY(-16px);
}

.product-slider .swiper-button-next,
.product-slider .swiper-button-prev {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background-color: var(--white_color);
    position: relative;
    left: unset;
    right: unset;
    margin: 0;
    z-index: 1;
}

.product-slider .swiper-button-next:after,
.product-slider .swiper-button-prev:after {
    font-size: 16px;
    color: var(--black_color);
}

.show-arrows-sides.product-slider .head {
    position: unset;
}

.show-arrows-sides.product-slider .swiper-button-next {
    z-index: 99;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.show-arrows-sides.product-slider .swiper-button-prev {
    z-index: 99;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.product-slider .swiper-slide {
    height: auto;
}

.product-slider .bg_svg {
    position: relative;
    margin: 0 calc(var(--bs-gutter-x) * -0.5);
}

/*.product-slider .bg_svg svg {*/
/*    width: 100%;*/
/*    position: absolute;*/
/*    top: -15px;*/
/*    left: 0;*/
/*    z-index: -1;*/
/*}*/

.product-slider .bg_svg .shape-unit {
    filter: url(#smooth-join2);
    position: absolute;
    width: 100%;
    height: 288px;
    z-index: -1;
}

.product-slider .bg_svg .rect {
    position: absolute;
    background: var(--gray_color);
}

.product-slider .bg_svg .rect1 {
    width: 250px;
    height: 100px;
    top: -10px;
    right: 0;
    border-radius: 24px 24px 0 0;
    z-index: 2;
}

.product-slider .bg_svg .rect2 {
    width: 100%;
    height: calc(100% - 100px);
    border-radius: 32px;
    right: 0;
    top: 70px;
    z-index: 1;
}

/*.product-slider .bg_svg svg path {*/
/*    fill: var(--gray_color);*/
/*}*/
.product-slider-horiz.product-slider .head {
    margin-bottom: 36px;
}

.product-slider-horiz-swiper.swiper-grid-column > .swiper-wrapper .swiper-slide {
    margin: 0 !important;
}

.product-slider-horiz-swiper.swiper-grid-column > .swiper-wrapper {
    display: flex !important;
    flex-direction: row !important;
    gap: 24px;
}

.product-slider-horiz-swiper .swiper-slide:nth-of-type(2n) .main-product-box-wrapper.horiz-cart .btn-primary-light {
    --bs-btn-color: var(--secondary_color);
    --bs-btn-bg: var(--secondary-5);
    --bs-btn-border-color: var(--secondary-5);
    --bs-btn-hover-color: var(--white_color);
    --bs-btn-hover-bg: var(--secondary_color);
    --bs-btn-hover-border-color: var(--secondary_color);
    --bs-btn-active-color: var(--white_color);
    --bs-btn-active-bg: var(--secondary_color);
    --bs-btn-active-border-color: var(--secondary_color);
}

.product-slider-horiz-swiper .swiper-slide:nth-of-type(2n) .main-product-box-wrapper.horiz-cart .btn-primary-light svg path {
    stroke: var(--secondary_color);
}

.product-slider-horiz-swiper .swiper-slide:nth-of-type(2n) .main-product-box-wrapper.horiz-cart .btn-primary-light:hover svg path {
    stroke: var(--white_color);
}

.product-slider-horiz {
    position: relative;
    /*margin-bottom: 98px;*/
}

.product-slider-horiz:before {
    content: "";
    width: 22%;
    height: 287px;
    background-color: var(--primary_color);
    border-radius: 48px 0 0 48px;
    position: absolute;
    right: calc(-1 * var(--padding-inline-end));
    bottom: -32px;
    z-index: -1;
    outline: 2px solid transparent;
    outline-offset: 8px;
}

.product-slider-horiz:after {
    content: "";
    width: 22%;
    height: 287px;
    background-color: var(--secondary_color);
    border-radius: 0 48px 48px 0;
    position: absolute;
    left: calc(-1 * var(--padding-inline-start));
    bottom: -32px;
    z-index: -1;
    outline: 2px solid transparent;
    outline-offset: 8px;
}


.product-slider-horiz-swiper .swiper-slide.second-row-item .pooshan-product-box-wrapper.pooshan-horiz {
    margin-top: -16px;
}

.product-slider-horiz-swiper .swiper-slide:not(.second-row-item) .pooshan-product-box-wrapper.pooshan-horiz:after {
    content: "";
    width: 260px;
    height: 50px;
    border: 2px solid var(--black-20);
    position: absolute;
    left: 50%;
    bottom: -33px;
    transform: translateX(-50%);
    z-index: -2;
}

.product-slider-horiz-swiper .swiper-slide.second-row-item .pooshan-product-box-wrapper.pooshan-horiz .shape-container {
    top: 10px;
    transform: scaleY(-1);
}

.product-slider-horiz-swiper .swiper-slide.second-row-item .pooshan-product-box-wrapper.show-top-hook:before {
    display: none;
}

.body-product-slider.show_shadow {
    position: relative;
}

.body-product-slider.show_shadow:before {
    content: "";
    width: 200px;
    height: 100%;
    background: linear-gradient(to right, transparent, var(--bg_color));
    position: absolute;
    top: 0;
    right: 0;
    z-index: 9;
}

.body-product-slider.show_shadow:after {
    content: "";
    width: 200px;
    height: 100%;
    background: linear-gradient(to left, transparent, var(--bg_color));
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9;
}

.body-product-slider > .swiper {
    padding: 0 5px;
}

.product-slider .head-btns .swiper-pagination {
    --swiper-pagination-bullet-horizontal-gap: 0px;
    display: none;
    height: 1px;
    background-color: var(--black-10);
}

.product-slider .head-btns .swiper-pagination .swiper-pagination-bullet {
    width: 28px;
    height: 1px;
    border-radius: 0;
    background-color: var(--black-10);
}

.product-slider .head-btns .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    width: 28px;
    height: 1px;
    background-color: var(--black_color);
}

@media (max-width: 991px) {
    .product-slider-horiz-swiper .swiper-slide.second-row-item .pooshan-product-box-wrapper.pooshan-horiz {
        margin-top: 0;
    }
}

@media (max-width: 991px) {

    .product-slider-horiz:before {
        right: 0;
    }

    .product-slider-horiz:after {
        left: 0;
    }

    .body-product-slider.show_shadow:before,
    .body-product-slider.show_shadow:after {
        width: 100px;
    }
}

@media (max-width: 767px) {
    .product-slider-horiz.hide-arrows-mobile .head-btns .swiper-button-next,
    .product-slider-horiz.hide-arrows-mobile .head-btns .swiper-button-prev {
        display: none;
    }

    .body-product-slider.show_shadow:before,
    .body-product-slider.show_shadow:after {
        width: 50px;
    }

    .product-slider .head {
        position: unset;
    }

    .product-slider {
        padding-bottom: 82px;
        position: relative;
    }

    .product-slider.mobile-navigation-pagination .head-btns .swiper-pagination {
        display: flex;
        align-items: center;
        position: unset;
        width: max-content;
        max-width: 60%;
    }

    .product-slider.mobile-navigation-pagination .head-btns .swiper-button-next,
    .product-slider.mobile-navigation-pagination .head-btns .swiper-button-prev {
        display: none;
    }

    .product-slider.mobile-navigation-pagination .head-btns,
    .product-slider.mobile-navigation-arrows:not(.show-arrows-sides) .head-btns {
        width: 100%;
        position: absolute;
        bottom: 0;
        right: 0;
        align-items: center;
        margin: 0;
        padding-right: var(--product-slider-mobile-edge-gap-right, 12px);
        padding-left: var(--product-slider-mobile-edge-gap-left, 12px);
    }

    .product-slider.mobile-navigation-arrows .head-btns .swiper-pagination {
        display: none;
    }

    .product-slider .head-btns .btn {
        margin-right: auto;
    }

    /*.product-slider .line {*/
    /*    display: none;*/
    /*}*/
    .product-slider .head {
        margin-bottom: 16px;
    }

    .product-slider .head-product-slider .head-icon {
        width: 32px;
        height: 32px;
    }

    .product-slider .head-product-slider .head-product-slider-inner .title {
        font-size: 20px;
    }

    .product-slider .head-product-slider .head-product-slider-inner .subtitle {
        font-size: 14px;
    }

    .product-slider .bg_svg .rect2 {
        top: 55px;
    }

    .product-slider-horiz-swiper.swiper-grid-column > .swiper-wrapper {
        gap: 16px;
    }

    .product-slider-horiz:before,
    .product-slider-horiz:after {
        bottom: 72px;
        height: 248px;
    }

    .product-slider-horiz.product-slider {
        padding-bottom: 0;
    }

    .product-slider-horiz.product-slider .inner-wrapper {
        position: relative;
        padding-bottom: 88px;
    }

    .product-slider-horiz.product-slider .head-btns {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
    }

    .body-product-slider.show_shadow:before,
    .body-product-slider.show_shadow:after {
        width: 50%;
    }
}

@media (max-width: 600px) {
}

@media (max-width: 575px) {
    .body-product-slider.show_shadow:before,
    .body-product-slider.show_shadow:after {
        width: 25px;
    }

    .product-slider .head-btns {
        padding: 0 var(--product-slider-mobile-edge-gap, 24px);
    }


    .product-slider .head {
        padding: 0 12px;
    }

    .body-product-slider {
        margin: 0 0 0 -12px;
    }

    .show-arrows-sides .body-product-slider {
        margin: 0;
    }

    .product-slider .bg_svg:before {
        content: "";
        width: 100%;
        height: 188px;
        background: var(--gray_color);
        border-radius: 0;
        position: absolute;
        top: 55px;
        right: 0;
        z-index: -1;
    }

    .product-slider .bg_svg:after {
        content: "";
        width: 250px;
        height: 100px;
        background: var(--gray_color);
        border-radius: 24px 0 0 0;
        position: absolute;
        top: -10px;
        right: 0;
        z-index: -1;
    }

    .product-slider-horiz.product-slider .head-product-slider {
        padding-left: 0;
        gap: 8px;
        align-items: center;
    }

    .product-slider-horiz.product-slider .head .line {
        display: none;
    }

    .product-slider-horiz .body-product-slider {
        margin: 0;
    }


    .swiper-slide.second-row-item .pooshan-horiz .product-img {
        border-radius: 16px 16px 32px 32px;
    }

    .product-slider.show_svg {
        padding: 0 0 82px;
    }

    .product-slider.show_svg .head-up-mask {
        border-radius: 32px 0 0 0;
    }

    .product-slider.show_svg .head-up-mask-wrap:before {
        border-radius: 0;
    }
}
