.product-slider-by-sellers {
    margin-bottom: 93px;
    /*padding-bottom: 116px;*/
}

.product-slider-by-sellers .head {
    margin-bottom: 25px;
    position: relative;
    padding: 0 16px;
}

.product-slider-by-sellers .head .line {
    content: "";
    height: 1px;
    width: auto;
    background: var(--black-10);
    z-index: -1;
    flex-grow: 1;
}

.product-slider-by-sellers .head-product-slider-by-sellers {
    display: flex;
    align-items: center;
    gap: 16px;
    /*background-color: var(--bs-body-bg,--bg_color);*/
    padding-left: 24px;
}

.product-slider-by-sellers .head-product-slider-by-sellers .head-icon {
    width: 48px;
    height: 48px;
    background-color: var(--primary_color);
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-slider-by-sellers .head-product-slider-by-sellers .head-icon svg {
    width: 18px;
    height: 18px;
}

.product-slider-by-sellers .head-product-slider-by-sellers .head-icon i{
    font-size: 18px;
    color: var(--white_color);
}
.product-slider-by-sellers .head-product-slider-by-sellers .head-icon svg path {
    fill: var(--white_color);
}

.product-slider-by-sellers .head-product-slider-by-sellers .head-product-slider-by-sellers-inner {
    display: flex;
}
.product-slider-by-sellers .head-product-slider-by-sellers .head-product-slider-by-sellers-inner.flex-direction-column {
    flex-direction: column;
}
.product-slider-by-sellers .head-product-slider-by-sellers .head-product-slider-by-sellers-inner.flex-direction-row {
    flex-direction: row;
    align-items: center;
    gap: 16px;

}

.product-slider-by-sellers .head-product-slider-by-sellers .head-product-slider-by-sellers-inner .title {
    font-size: 24px;
    font-weight: 900;
    line-height: normal;
}

.product-slider-by-sellers .head-product-slider-by-sellers .head-product-slider-by-sellers-inner .subtitle {
    font-size: 16px;
    font-weight: 500;
    line-height: normal;
    color: var(--black-70);
}

.product-slider-by-sellers .head-btns {
    display: flex;
    gap: 8px;
    padding-right: 24px;
}

.product-slider-by-sellers .head .btn {
    border: 0;
}


/*.body-product-slider-by-sellers {*/
/*    position: relative;*/
/*    display: flex;*/
/*    overflow-x: auto;*/
/*    white-space: nowrap;*/
/*    -webkit-overflow-scrolling: touch;*/
/*    scrollbar-width: none;*/
/*    -ms-overflow-style: none;*/
/*    cursor: grab;*/

/*}*/

.body-product-slider-by-sellers {
    position: relative;
    overflow-x: hidden;  /* جلوگیری از نمایش اسکرول‌بار */
    cursor: grab;
}
.body-product-slider-by-sellers.swiper{
    margin: 0 -12px;
}
.body-product-slider-by-sellers .swiper-wrapper {
    display: flex;
    white-space: nowrap;
    transition: transform 0.3s ease;  /* برای اسکرول روان */
}
/* پنهان کردن اسکرول‌بار */
.body-product-slider-by-sellers::-webkit-scrollbar {
    display: none;
}
.body-product-slider-by-sellers {
    -ms-overflow-style: none;
    scrollbar-width: none;
}




/*.body-product-slider-by-sellers.swiper,*/
/*.body-product-slider-by-sellers .seller.swiper-slide{*/
/*    overflow-y: visible;*/
/*    box-sizing: border-box;*/
/*}*/

.body-product-slider-by-sellers:before {
    content: "";
    width: 50%;
    height: calc(100% - 116px);
    background-color: var(--primary_color);
    border-radius: 48px;
    opacity: 0.1;
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.body-product-slider-by-sellers:after {
    content: "";
    width: 50%;
    height: calc(100% - 116px);
    background-color: var(--secondary_color);
    border-radius: 48px;
    opacity: 0.1;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: -1;
}

.body-product-slider-by-sellers .seller {
    width: 25% !important;
    padding: 0 12px;
    z-index: 1;
}



.body-product-slider-by-sellers .seller.grid-3:nth-child(2) {
    padding-left: 8px;
}

.body-product-slider-by-sellers .seller.grid-3:nth-child(3) {
    padding-right: 8px;
}

.body-product-slider-by-sellers .seller.grid-2 {
    width: 50% !important;
}

.body-product-slider-by-sellers .seller.grid-1 {
    width: 100% !important;
}

.body-product-slider-by-sellers .seller.seller-1 {
    width: 50% !important;
}

.body-product-slider-by-sellers .seller .seller-wrap {
    position: relative;
    padding: 8px;
}
.body-product-slider-by-sellers .seller .seller-wrap:before{
    content:"";
    background-color: var(--white_color);
    border-radius: 24px 24px 40px 40px;
    width: 100%;
    height: calc(100% - 116px);
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}
.body-product-slider-by-sellers.show-btn-bottom .seller .seller-products:before,
.body-product-slider-by-sellers.show-btn-bottom .seller .seller-wrap:before{
    height: 100%;
}


.body-product-slider-by-sellers .seller .seller-head .seller-rate i{
    color: #F0BA06;
}
.body-product-slider-by-sellers .seller .seller-head {
    margin-bottom: 8px;
}


.body-product-slider-by-sellers .seller .seller-head .first-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 8px;
    margin-bottom: 8px;
}

.body-product-slider-by-sellers .seller .seller-head .first-row a:not(.btn) {
    display: flex;
    align-items: center;
    justify-content: start;
}

.body-product-slider-by-sellers .seller .seller-head .first-row .seller-name-box{
    display: flex;
    flex-direction: column;
    padding: 0 8px 0 16px;
}
.body-product-slider-by-sellers .seller .seller-head .first-row .seller-name-box span{
    font-weight: 500;
    color: var(--black-50);
}
.body-product-slider-by-sellers .seller .seller-head .first-row .seller-name {
    font-weight: 900;
    font-size: 24px;
}

.body-product-slider-by-sellers .seller .seller-head .first-row img {
    width: 100%;
    height: auto;
    mix-blend-mode: multiply;
}

.body-product-slider-by-sellers .seller .seller-head .first-row .img {
    width: 48px;
    height: 48px;
    padding: 0;
    background-color: var(--gray_color);
    border-radius: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray_color);
}

.body-product-slider-by-sellers .seller .seller-head .hr-line{
    margin: 0 -8px;
    border-color: var(--gray_color);
    opacity: 1;
}
.body-product-slider-by-sellers .seller .seller-head .second-row {
    display: flex;
    align-items: center;
    justify-content: start;
    margin-bottom: 20px;
    position: relative;
}

.body-product-slider-by-sellers .seller .seller-head .second-row:before {
    content: "";
    width: 100%;
    height: 1px;
    background-color: var(--black-10);
    position: absolute;
    left: 0;
    top: 50%;
    z-index: 1;
}

.body-product-slider-by-sellers .seller .seller-head .second-row.product-count {
    justify-content: space-between;
}

.body-product-slider-by-sellers .seller .seller-head .second-row b {
    background-color: var(--white_color);
    font-size: 16px;
    font-weight: 700;
    color: var(--black_color);
    padding-left: 4px;
    z-index: 2;
}

.body-product-slider-by-sellers .seller .seller-head .second-row span {
    background-color: var(--white_color);
    font-size: 16px;
    font-weight: 500;
    color: var(--black-70);
    z-index: 2;
    padding-left: 16px;
}

.body-product-slider-by-sellers .seller .seller-head .second-row.product-count b {
    padding: 0 16px 0 8px;
}

.body-product-slider-by-sellers .seller .seller-head .second-row.product-count span {
    padding: 0 8px 0 16px;
}


/*.body-product-slider-by-sellers .seller .seller-head .second-row.product-count {*/
/*    display: none;*/
/*}*/

/*.body-product-slider-by-sellers .seller:first-child .seller-head .second-row {*/
/*    display: none;*/
/*}*/

.body-product-slider-by-sellers .seller:first-child .seller-head .second-row.product-count {
    display: flex;
}

.body-product-slider-by-sellers .seller .seller-products {
    /*margin-bottom: -116px;*/
    padding: 8px;
}

.body-product-slider-by-sellers .seller .seller-products:before {
    content: "";
    width: 100%;
    height: calc(100% - 116px);
    background-color: var(--gray_color);
    border-radius: 32px;
    position: absolute;
    left: 0;
    top: 0;
}
.product-slider-by-sellers .swiper-button-next,
.product-slider-by-sellers .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;
    display: none;
}
.product-slider-by-sellers.has-arrows-desk .swiper-button-next,
.product-slider-by-sellers.has-arrows-desk .swiper-button-prev{
    display: flex;
}
.product-slider-by-sellers .swiper-button-next:after,
.product-slider-by-sellers .swiper-button-prev:after{
    font-size: 16px;
    color: var(--black_color);
}

.product-slider-by-sellers.equal-width .seller {
    width: 33.3333% !important;
}

.product-slider-by-sellers .seller-wrap .btn-outline-light.bottom-btn{
    width: max-content;
    margin: 0 auto;
}


@media (max-width: 1399px) {
    .body-product-slider-by-sellers .seller:not(:first-child) .seller-head .first-row a.btn span {
        display: none;
    }
    .body-product-slider-by-sellers .seller .seller-head .first-row .seller-name{
        font-size: 16px;
    }
}

@media (max-width: 1199px) {
    .body-product-slider-by-sellers .seller .seller-head .first-row a.btn span {
        display: none;
    }
    .body-product-slider-by-sellers .seller .seller-head .first-row a.btn{
        min-width: 48px;
        height: 48px;
        padding: 10px;
    }
    .body-product-slider-by-sellers .seller.seller-1,
    .body-product-slider-by-sellers .seller {
        width: 33.3333% !important;
    }

    .body-product-slider-by-sellers .seller.grid-2.seller-1,
    .body-product-slider-by-sellers .seller.grid-2 {
        width: 50% !important;
    }

    .body-product-slider-by-sellers .seller.grid-1.seller-1 {
        width: 100% !important;
    }

    .body-product-slider-by-sellers .seller.grid-3:nth-child(1) {
        padding-left: 8px;
    }

    .body-product-slider-by-sellers .seller.grid-3:nth-child(2) {
        padding: 0 8px;
    }

    .body-product-slider-by-sellers .seller .seller-head .first-row a div {
        display: none;
    }
}

@media (max-width: 991px) {

    .body-product-slider-by-sellers .seller .seller-head .first-row a div {
        display: block;
    }

    .body-product-slider-by-sellers .seller.seller-1, .body-product-slider-by-sellers .seller{
        width: 50% !important;
    }
    .body-product-slider-by-sellers:before{
        width: 100% !important;
    }
    .body-product-slider-by-sellers:after{
        display: none;
    }

    .body-product-slider-by-sellers .seller.grid-3{
        padding: 0 8px;
    }
}

@media (max-width: 767px) {

    .product-slider-by-sellers.has-arrows-desk:not(.has-arrows-mobile) .swiper-button-next,
    .product-slider-by-sellers.has-arrows-desk:not(.has-arrows-mobile) .swiper-button-prev{
        display: none;
    }
    .product-slider-by-sellers.has-arrows-mobile .head-btns{

    }
    .product-slider-by-sellers.has-arrows-mobile .swiper-button-next,
    .product-slider-by-sellers.has-arrows-mobile .swiper-button-prev{
        display: flex;
    }

    .product-slider-by-sellers.equal-width .seller,
    .body-product-slider-by-sellers .seller.seller-1, .body-product-slider-by-sellers .seller{
        width: 100% !important;
    }
    .body-product-slider-by-sellers:before{
        width: calc(100% - 16px) !important;
        right: 8px;
    }
    .product-slider-by-sellers .head {
        position: unset;
    }

    .product-slider-by-sellers {
        padding-bottom: 82px;
        position: relative;
    }

    .product-slider-by-sellers .head-btns {
        padding: 0;
        position: absolute;
        bottom: 0;
        align-items: center;
    }

    .product-slider-by-sellers.mobile-arrows-around-button .head-btns {
        width: 100%;
        right: 0;
        justify-content: space-between;
    }

    .product-slider-by-sellers.mobile-arrows-around-button:not(.has-arrows-mobile) .head-btns {
        justify-content: center;
    }

    .product-slider-by-sellers.mobile-arrows-around-button .head-btns .swiper-button-next{
        order: 1;
    }
    .product-slider-by-sellers.mobile-arrows-around-button .head-btns .swiper-button-prev{
        order: 3;
    }
    .product-slider-by-sellers.mobile-arrows-around-button .head-btns .btn {
        order: 2;
    }

    .product-slider-by-sellers.mobile-arrows-beside-button .head-btns {
        width: 100%;
        position: absolute;
        bottom: 0;
        right: 0;
        align-items: center;
        margin: 0;
        padding: 0 12px;
    }

    .product-slider-by-sellers.mobile-arrows-beside-button .head-btns .btn {
        order: 3;
        margin-right: auto;
    }

    .product-slider-by-sellers.mobile-arrows-beside-button .head-btns .swiper-button-next {
        order: 1;
    }

    .product-slider-by-sellers.mobile-arrows-beside-button .head-btns .swiper-button-prev {
        order: 2;
    }

    .product-slider-by-sellers .line {
    }

    .product-slider-by-sellers .head {
        margin-bottom: 16px;
    }

    .product-slider-by-sellers .head-product-slider-by-sellers .head-icon {
        width: 32px;
        height: 32px;
    }

    .product-slider-by-sellers .head-product-slider-by-sellers .head-product-slider-by-sellers-inner .title {
        font-size: 20px;
    }

    .product-slider-by-sellers .head-product-slider-by-sellers .head-product-slider-by-sellers-inner .subtitle {
        font-size: 14px;
    }

    .product-slider-by-sellers:not(.has-arrows-mobile) .seller-wrap .btn-outline-light.bottom-btn{
        font-size: 14px;
        margin: 0;
        transform: translateY(9px);
    }
    .product-slider-by-sellers:not(.has-arrows-mobile) .head-btns .btn-primary-light{
        max-width: 50%;
        font-size: 14px;
        z-index: 2;
    }
    .product-slider-by-sellers:not(.has-arrows-mobile) {
        padding-bottom: 0;
    }


}

@media (max-width: 600px) {
}

@media (max-width: 575px) {
    .product-slider-by-sellers {

    }

    .product-slider-by-sellers .head-btns {
        padding: 0 24px;
    }

    .product-slider-by-sellers .head {
        padding: 0 12px;
    }

    .body-product-slider-by-sellers {
        margin: 0;
    }
}
