.most-sells{
    position: relative;
    margin: 12px 0;
}
.most-sells:before{
    content:"";
    width: 177px;
    height: calc(100% + 24px);
    background: var(--sec-color);
    border-radius: 24px;
    position: absolute;
    right: -24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: -1;
}
.most-sells:after{
    content:"";
    width: 177px;
    height: calc(100% + 24px);
    background: var(--black-color-5);
    border-radius: 24px;
    position: absolute;
    left: -24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: -1;
}
.most-sells .first-box{
    padding: 12px 0 12px 24px;
}
.most-sells .second-box .d-flex{
    margin: 0 -12px;
}
.most-sells .second-box .col-12{
    padding: 12px;
}
.most-sells .most-sells-head-box{
    height: 100%;
    background: var(--white-color);
    border-radius: 12px;
    padding: 8px;
}
.most-sells .most-sells-head-box .inner{
    height: 100%;
    border-radius: 16px;
    background: linear-gradient(var(--white-color), var(--white-color)) padding-box, linear-gradient(270deg, var(--black-color-10) 0%, transparent 30%) border-box;
    border-top: 1px solid transparent;
    border-right: 1px solid transparent;
    border-bottom: 1px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    position: relative;
}
.most-sells .most-sells-head-box .inner:before{
    content: "";
    width: 298px;
    aspect-ratio: 1 / 1;
    background: linear-gradient(to top, #303030 0%, rgba(48, 48, 48, .3) 11%, transparent 20%);
    border-radius: 100%;
    position: absolute;
    top: -70%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.1;
    mix-blend-mode: multiply;
}
.most-sells .most-sells-head-box .inner img{
    margin: 14px auto;
}
.most-sells .most-sells-head-box .inner .text{
    width: 100%;
    padding: 0 60px 30px;
    position: relative;
}
.most-sells .most-sells-head-box .inner .text:before{
    content: "";
    width: 16px;
    height: 24px;
    background-color: var(--main-color);
    mask-image: url(../img/flower2.svg);
    position: absolute;
    right: 20px;
    top: 15px;
}
.most-sells .most-sells-head-box .inner .text:after{
    content: "";
    width: 16px;
    height: 24px;
    background-color: var(--main-color);
    mask-image: url(../img/flower2.svg);
    position: absolute;
    left: 20px;
    top: 15px;
    transform: scaleX(-1);
}
.most-sells .most-sells-head-box .inner .text .title{
    font-size: 20px;
    font-weight: bold;
    line-height: 28px;
    color: var(--black-color);
    display: block;
    margin: 0;
}
.most-sells .most-sells-head-box .inner .text .subtitle{
    font-size: 14px;
    font-weight: 400;
    line-height: 19px;
    color: var(--black-color-70);
    display: block;
    margin: 0;
}

.most-sells .second-box .col-12:nth-child(2) .product-box-horizontal2 .name-price-wrapper .btn,
.most-sells .second-box .col-12:nth-child(3) .product-box-horizontal2 .name-price-wrapper .btn{
    background: var(--main-color-10);
}
.most-sells .second-box .col-12:nth-child(2) .product-box-horizontal2 .name-price-wrapper .btn path,
.most-sells .second-box .col-12:nth-child(3) .product-box-horizontal2 .name-price-wrapper .btn path{
    fill: var(--main-color);
}
.most-sells .second-box .col-12:nth-child(2) .product-box-horizontal2 .name-price-wrapper .btn:hover,
.most-sells .second-box .col-12:nth-child(3) .product-box-horizontal2 .name-price-wrapper .btn:hover{
    background: var(--main-color);
}
.most-sells .second-box .col-12:nth-child(2) .product-box-horizontal2 .name-price-wrapper .btn:hover path,
.most-sells .second-box .col-12:nth-child(3) .product-box-horizontal2 .name-price-wrapper .btn:hover path{
    fill: var(--white-color);
}

@media (max-width: 1399px) {
    .most-sells .most-sells-head-box .inner:before{
        top: -60%;
    }
}
@media (max-width: 1199px){
    .most-sells .most-sells-head-box .inner{
        justify-content: center;
    }
    .most-sells .most-sells-head-box .inner:before{
        top: -14px;
    }
}
@media (max-width: 991px){
    .most-sells .most-sells-head-box .inner .text:before,
    .most-sells .most-sells-head-box .inner:before{
        display: none;
    }
    .most-sells .most-sells-head-box .inner{
        flex-direction: row;
        border: 0;
    }
    .most-sells .most-sells-head-box .inner .text{
        padding: 0 0 0 24px;
    }
    .most-sells .most-sells-head-box .inner .text:after{
        left: 8px;
        background-color: var(--black-color-10);
    }
    .most-sells .first-box {
        padding: 0 0 4px;
    }
    .most-sells .second-box .col-12 {
        padding: 4px 0;
    }
    .most-sells .second-box .d-flex {
        margin: 0;
    }
}
@media (max-width: 767px){

    .most-sells .most-sells-head-box .inner img{
        width: 120px;
        height: auto;
        margin: -24px -14px 6px 0;
    }
    .most-sells .most-sells-head-box .inner .text .title{
        font-size: 16px;
    }
    .most-sells:before{
        width: calc(100% + 32px);
        height: 132px;
        background: var(--main-color);
        right: unset;
        left: 50%;
        top: 36px;
        transform: translateX(-50%);
    }
    .most-sells:after{
        display: none;
    }
    .most-sells .second-box .col-12:last-child{
        position: relative;
    }
    .most-sells .second-box .col-12:last-child:after{
        content: "";
        background: var(--black-color-5);
        border-radius: 24px;
        width: calc(100% + 32px);
        height: 132px;
        z-index: -1;
        position: absolute;
        left: 50%;
        bottom: 50%;
        transform: translateX(-50%);
    }


}