

.basket h2{
    font-weight: 600;
    font-size: 40px;
    margin-bottom: 32px;
}
.basket-item{
    padding: 16px;
    border-radius: 10px;
    background: var(--light-grey-color);
    position: relative;
}
.basket input[type="checkbox"]{
    width: 24px;
    height: 24px;
}

.basket-item-image{
    max-width: 200px;
    min-width: 90px;
    max-height: 120px;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.basket-item-image img{
    width: 100%;
    height: 100%;
    object-fit: fill;
    border-radius: 10px;
}
.basket-item-name{
    font-weight: 700;
    color: var(--dark-color);
}
.basket-item-quantity-block{
    background: var(--white-color);
    padding: 16px;
    border-radius: 10px;
    display: flex;
    gap: 16px;
    align-items: center;
}
.basket-item-quantity-block > span{
    font-size: 18px;
    width: 24px;
    text-align: center;
}
.basket-item-quantity-block span:nth-child(odd){
    cursor: pointer;
    font-size: 25px;
}
.basket-item-quantity-block span:last-child{
    color: var(--green1-color);
}
.basket-item-delete{
    cursor: pointer;
}
.basket-create-order{
    border-radius: 10px;
    padding: 24px;
    background: var(--light-grey-color);
    max-width: 500px;
}
.basket-create-order h3{
    font-weight: 700;
    font-size: 32px;
    text-align: center;
}
.basket form .button-green{
    width: 100%;
    background: var(--green1-color);
    color: var(--white-color);
}
.basket-empty p{
    font-weight: 600;
    font-size: 24px;
    color: var(--dark-color);
}
.basket-empty img{
    width: 100px;
    height: 100px;
}
.create-order-form p{
    font-size: 14px;
    color: var(--grey2-color);
}

@media (max-width: 430px) {
    .basket{
        padding: 10px;
    }
    .basket h2{
        font-size: 20px;
    }
    .basket-content{
        gap: 20px;
        flex-direction: column;
    }
    .basket-content > div{
        gap: 12px;
    }
    .basket-main-buttons{
        gap: 12px;
        padding-left: 0 !important;
    }
    .basket-main-buttons > div{
        flex: 1;
    }
    .basket-items{
        gap: 12px;
    }
    .basket-item{
        gap: 12px;
        padding: 8px;
    }
    .basket-item > div{
        gap: 12px;
    }
    .basket-item a{
        flex-wrap: nowrap;
    }
    .basket-item-name{
        font-size: 12px;
    }
    .basket-item-select{
        position: absolute;
        right: 8px;
        top: 8px;
    }
    .basket-item-name-buttons{
        flex-direction: column;
        gap: 12px;
    }
    .basket-item-quantity-block{
        padding: 12px;
        gap: 12px;
    }
    .basket-item-quantity{
        font-size: 14px !important;
    }
    .basket-item-quantity-block > span{
        width: 15px;
    }
    .basket-item-quantity-block span:nth-child(odd) {
        font-size: 14px;
    }
    .basket-item-delete{
        align-self: self-end;
    }
    .basket-create-order{
        padding: 12px;
    }
    .basket-create-order h3{
        font-size: 18px;
    }
    .create-order-form p{
        font-size: 10px;
    }
    .basket-empty img{
        width: 60px;
        height: 60px;
    }
    .basket-empty p{
        font-size: 18px;
    }
}