.catalog-btn{
    background-color: #333;
}

.basket-content-wrapper{
    margin-top: 72px;
    margin-bottom: 410px;
}

.basket-text-content{
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.basket-title{
    margin-top: 32px;
    color: #3B4030;
    font-size: 36px;
    font-weight: 900;
}

.basket-line{
    height: 1px;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.20);
}

.basket-content-item{
    margin-top: 30px;
    padding: 32px 38px;
    border-radius: 20px;
    border: 1px solid rgba(59, 64, 48, 0.20);
    background: rgba(243, 244, 239, 0.40);
}
.basket-content-item .basket-product{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.basket-item-preview {
    display: flex;
    align-items: center;
    gap: 32px;
    max-width: 370px;
    width: 370px;
    flex-basis: 370px;
}
.basket-item-img{
    width: 97px;
}
.basket-item-name-wrapper{
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.basket-item-name{
    color: #3B4030;
    font-size: 16px;
    font-weight: 700;
}

.basket-item-date{
    color: rgba(59, 64, 48, 0.70);
    font-size: 12px;
    font-weight: 400;
}

.basket-item-delete{
    color: #9EB175;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.basket-item-text{
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.basket-item-text-content{
    color: #3B4030;
    font-size: 12px;
    font-weight: 500;
}

.basket-item-text-number{
    color: #9EB175;
    font-size: 12px;
    font-weight: 500;
}

.basket-item-calc{
    display: flex;
    align-items: center;
    gap: 32px;
}

.basket-item-number{
    color: #3B4030;
    font-size: 16px;
    font-weight: 400;
}
.basket-item-number .old-price{
    display: block;
    font-size: 12px;
    margin-right: 5px;
    color: #ccc;
}
.basket-num{
    display: flex;
    text-align: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid rgba(51, 51, 51, 0.15);
    background: #FFF;
}

.basket-item-arrage{
    border-radius: 56px;
    background: #9EB175;
    width: 148px;
    height: 44px;
    color: #FFF;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 0 auto;
    display: block;
}
.basket-finalsum {
    text-align: right;
    padding-bottom: 20px;
    padding-top: 10px;
}
.basket-finalsum-order {
    text-align: left;
    padding-top: 15px;
}
.basket-add-item-link{
    margin-top: 24px;
    height: 74px;
    width: 100%;
}

.basket-add-item{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    border-radius: 20px;
    background: #EFF1EA;
    width: 100%;
}

.basket-add-item-img{
    width: 18px;
    height: 18px;
}

.basket-add-item-text{
    color: #3B4030;
    font-size: 16px;
    font-weight: 600;
}
.basket-delivery{
    margin-top: 20px;
    padding-left: 127px;
    gap: 250px
}
.basket-delivery a{
    color: #9EB175;
    font-weight: 600;
    text-decoration: dotted;
    font-size: 14px;
}
.basket-delivery .basket-delivery__item {
    display: flex;
    align-items: center;
    gap: 20px;
}
.basket-delivery .basket-delivery__items {
    display: flex;
    flex-direction: column;
    gap: 32px;
    flex-basis: 510px;
    display: none;
}
.basket-delivery .basket-delivery__item-title{
    max-width: 326px;
    width: 100%;
    color: #3B4030;
    font-size: 16px;
    font-weight: 400;
    line-height: 125%;
}
.basket-delivery .basket-delivery__item-value{
    color: #3B4030;
    font-size: 16px;
    font-weight: 400;
    line-height: 125%;
    border: 1px solid #ccc;
    padding: 10px 0 10px 10px;
}
.basket-delivery .custom-select {
    color: #3B4030;
    font-size: 16px;
    padding: 2px;
    border: 1px solid #ccc;
}
.popup__basket{
    width: 432px;
    text-align: center;
    padding: 32px;
    display: flex;
    flex-direction: column;
    border-radius: 24px;
    border: 1px solid rgba(59, 64, 48, 0.20);
    background: #FCFCFC;
    box-shadow: 0px 2px 18px 10px rgba(116, 130, 89, 0.04);
    gap: 32px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    z-index: -1;
    transition: .3s linear;
}

.popup__basket.active {
    opacity: 1;
    z-index: 10;
}

.popup__basket-name{
    color: #3B4030;
    font-size: 24px;
    font-weight: 700;
}

.popup__basket-btns{
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.popup__basket-btn{
    width: 368px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 40px;
    background: #F6F6F6;
/* Button text */
    color: #000;
    font-size: 16px;
    font-weight: 700;
}

.popup__basket-close{
    width: 367px;
    height: 60px;
    border-radius: 40px;
    background: #9EB175;
/* Button text */
    color: #FFF;
    font-size: 16px;
    font-weight: 600;
}


@media (min-width: 992px) and (max-width: 1200px) {

}
  
@media (min-width: 768px) and (max-width: 991.98px) {
    .basket-content-wrapper {
        margin: 40px 0;
    }
    .basket-content-item {
        padding: 16px;
    }
    .basket-item-text {
        width: 260px;
        max-width: 260px;
        flex-basis: 260px;
    }
    .basket-item-calc,
    .basket-item-preview {
        gap: 16px;
    }
    .basket-delivery {
        padding-left: 111px;
        margin-top: 10px;
    }
    .basket-item-number,
    .basket-item-name {
        font-size: 14px;
    }
    .basket-item-preview {
        max-width: 320px;
        width: 320px;
        flex-basis: 320px;
    }
    .basket-delivery a {
        font-size: 12px;
    }
    .basket-item-arrage {
        width: 132px;
        height: 33px;
        font-size: 14px;
    }
}
  
/*SM*/
@media (min-width: 576px) and (max-width: 767.98px) {
    .basket-content-wrapper {
        margin: 40px 0;
    }
    .basket-content-item {
        padding: 16px;
    }
    .basket-item-text {
        max-width: 50%;
        width: 50%;
        flex-basis: 50%;
    }
    .basket-item-calc,
    .basket-item-preview {
        gap: 16px;
    }
    .basket-item-calc{
        justify-content: end;
        width: 100%;
        flex-basis: 100%;
        max-width: 100%;
    }
    .basket-delivery {
        padding-left: 0;
        margin: 10px 0;
        justify-content: end;
    }
    .basket-item-number,
    .basket-item-name {
        font-size: 14px;
    }
    .basket-item-preview {
        max-width: 50%;
        width: 50%;
        flex-basis: 50%;
    }
    .basket-delivery a {
        font-size: 12px;
    }
    .basket-item-arrage {
        width: 132px;
        height: 33px;
        font-size: 14px;
        margin-top: 10px;
    }
    .basket-content-item .basket-product,
    .basket-item-preview{
        align-items: flex-start;
    }
    .basket-item-img {
        width: 64px;
    }
    .basket-add-item-link {
        margin-top: 12px;
        height: 36px;
    }
    .basket-add-item-text {
        font-size: 12px;
    }
    .basket-add-item-img {
        width: 14px;
        height: 14px;
    }
}
  
@media (min-width: 0px) and (max-width: 575.98px) {
    .basket-title {
        margin-top: 16px;
        font-size: 24px;
    }
    .basket-content-wrapper {
        margin: 20px 0;
    }
    .basket-content-item {
        padding: 16px;
        margin-top: 16px;
    }
    .basket-item-calc,
    .basket-item-preview {
        gap: 16px;
    }
    .basket-delivery {
        padding-left: 0;
        margin: 10px 0;
    }
    .basket-item-number,
    .basket-item-name {
        font-size: 14px;
    }
    .basket-item-preview,
    .basket-item-calc,
    .basket-item-text {
        max-width: 100%;
        width: 100%;
        flex-basis: 100%;
    }
    .basket-delivery a {
        font-size: 12px;
    }
    .basket-item-arrage {
        width: 132px;
        height: 33px;
        font-size: 14px;
        margin-top: 10px;
    }
    .basket-content-item .basket-product,
    .basket-item-preview{
        align-items: flex-start;
    }
    .basket-item-img {
        width: 64px;
    }
    .basket-add-item-link {
        margin-top: 12px;
        height: 36px;
    }
    .basket-add-item-text {
        font-size: 12px;
    }
    .basket-add-item-img {
        width: 14px;
        height: 14px;
    }
    .basket-item-text{
        flex-direction: row;
        margin: 12px 0;
    }
    .basket-item-text-content{
        width: 70%;
    }
    .basket-item-text-number{
        width: 30%;
        font-size: 11px;
    }
}