.basket__info{
    padding: 0 78px;
    margin-bottom: 64px;
}
.basket__content{
    background: #F3F3F3;
    padding: 64px 78px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: stretch;
}
.basket__items{
    padding: 10px;
    background: #F8F8F8;
    max-width: 771px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.basket__item{
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border: 1px solid #E4E4E4;
    padding: 16px 32px 16px 16px;

}
.basket__item-info{
    display: flex;
    gap: 32px;
    align-items: flex-start;
    flex: 1;
}
.basket__item-img{
    height: 157px;
    max-width: 120px;
    width: 100%;
    border: 1px solid #E4E4E4;
    padding: 25px 0px;
    background: #FFFFFF;

}
.basket__item-img img{
    height: 100%;
    width: 100%;
    object-fit: contain;
}
.basket__item-text{
    letter-spacing: 0;
    line-height: 29.53px; 
}
.basket__item-text h4{
    font-weight: 400;
    font-size: 19px;    
    
}
.basket__item-text > p{
    font-size: 14px;
    margin-bottom: 16px;
}
.basket__item-btns{
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 16px;
}
.basket__item-btn{
    width: 35px;
    height: 35px;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #FBFBFD;
    border: 1px solid #2424241A;
    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: -0.96px;
    transition: all 0.3s ease;
    cursor: pointer;
}
.basket__item-btn:hover { 
    background: #476984; 
    color: #F8F8F8;   
}
.basket__item-btns input {
    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: -0.96px;

    /* убираем стандартное поле */
    border: none;
    background: transparent;
    outline: none;

    /* выравнивание как у текста */
    text-align: center;
    width: 20px; /* ширина под цифру */
    -moz-appearance: textfield; /* убираем стрелки в Firefox */
}

/* убираем стрелки в Chrome, Safari, Edge */
.basket__item-btns input::-webkit-outer-spin-button,
.basket__item-btns input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.basket__item-del{
    color: #D93A3A;
    font-size: 19px;
}
.basket__item-del button{
    background: none;
    border: none;
    cursor: pointer;
}
.basket__item-price{
    letter-spacing: 0;
}
.basket__item-price p{
    font-size: 19px;
    line-height: 29.53px;   
    margin-bottom: 8px;
}
.basket__item-price h3{
    color: #476984;
    font-weight: 700;
    font-size: 26.3px;
    line-height: 39.38px;
}

.basket__pay{
    padding: 32px;
    background: #F8F8F8;
    width: 100%;
    letter-spacing: 0;
    display: flex;
    flex-direction: column;

}
.basket__pay h3{
    font-weight: 500;
    font-size: 26.3px;
    line-height: 39.38px;
    margin-bottom: 24px;
}
.basket__pay-item{
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 311px;
    line-height: 29.53px;
    margin-bottom: 16px;
    font-size: 19px;
}
.basket__pay-price{
    font-weight: 600;
}

.basket__pay-item:last-child{
    margin-bottom: 24px;
}

.basket__pay-clip{
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: "Segoe UI", Arial, sans-serif;
    font-weight: 400;
    font-size: 15.8px;
    line-height: 100%;
    vertical-align: middle;
    padding: 8px 20px;
    border-radius: 101.25px;
    border: 1px solid #2121231A;
    background: #F4F4F4;
    max-width: 322px;
    margin-bottom: 31px;
    cursor: pointer;
}
.basket__pay-btns{
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}
.basket__pay-btn{
    max-width: 321px;
}
.basket__pay-btn.active{
    border: 1px solid #476984;
    background: #476984;
    color: #F8F8F8;
}
.basket__pay-conf{
    font-size: 19px;
    line-height: 29.53px;
}
.basket__pay-conf a{
    color: #476984;
    text-decoration: underline;
}

@media (max-width: 1386px) {
    .basket__info{
        padding: 0 24px;
    }
    .basket__content{
        padding: 64px 24px;
    }
}
@media (max-width: 1205px) {
    .basket__content{
        flex-direction: column;
    }
    .basket__items{
        max-width: 100%;
    }
}
@media (max-width: 725px) {
    .basket__pay-btns{
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 630px) {
    .basket__item{
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        position: relative;
    }
    .basket__item-del{
        position: absolute;
        bottom: 16px;
        right: 32px;
    }
    .basket__item-info{
        margin-bottom: 16px;
    }
}
@media (max-width: 550px) {
    .basket__content{
        padding: 12px;
        gap: 12px;
    }
    .basket__items{
        padding: 12px;
    }
    .basket__item{
        padding: 16px;
    }
    .basket__item-del{
        bottom: 16px;
        right: 16px;
        font-size: 16px;
        line-height: 100%;
    }
    .basket__item-info{
        flex-direction: column;
        gap: 24px;
    }
    .basket__item-img{
        height: 100px;
        padding: 16px 0;
        max-width: 100px;
    }
    .basket__item-text h4{
        font-weight: 500;
        margin-bottom: 5px;
        font-size: 16px;
        line-height: 100%;
    }
    .basket__item-text > p{
        font-size: 14px;
    }
    .basket__item-price p{
        font-weight: 500;
        font-size: 16px;
        line-height: 100%;
        margin-bottom: 5px;
    }
    .basket__item-price h3{
        font-size: 18px;
        line-height: 100%;
    }
    .basket__item-btns{
        margin-bottom: 0px;
    }
    .basket__pay{
        padding: 16px 12px;
    }
    .basket__pay h3{
        font-size: 16px;
        line-height: 100%;
    }
    .basket__pay-item{
        max-width: 100%;
        font-size: 14px;
        margin-bottom: 10px;
    }
    .basket__pay-item:last-child{
        margin-bottom: 16px;
    }
    .basket__pay-clip{
        max-width: 10   0%;
        margin-bottom: 24px;
    }
    .basket__pay-btns{
        align-items: center;
        margin-bottom: 16px;
    }
    .basket__pay-conf{
        font-size: 14px;
        line-height: 100%;
        text-align: center;
    }
}