.cart {
    padding: 32px 45px 41px 47px;
}

.cart .cart-block .cart-items .cart-item {
    padding: 8px 0 11px 0;
}
.mini-cart-img-container {
    width: 150px;
    display: block;
    text-align: center;
    overflow: hidden;
    position: relative;
    margin-right: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cart-rows{
    display: flex;
    flex:1;
    flex-direction: column;
    justify-content: space-between;
}
.cart .cart-block .cart-items {
    margin: 21px 0 29px 0;
}

.cart-item-title{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.cart-item .product-qty-wrapper {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    position: relative; /* на всякий случай оставляем для контекста */
    background: transparent; /* или добавь фон, если нужно как на скрине */
    border: 1px solid #A2A2A2;
    border-radius: 15px;
    width: 62px;
    height: 42px;
    overflow: hidden;
}
.cart-item .product-qty {
    flex: 1;
    width: 100% ;
    height: 100% ;
    background: transparent ;
    border: none ;
    color:#A2A2A2;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 16px;
    padding: 0 !important;
    margin: 0;
}
.product-qty::-webkit-inner-spin-button,
.product-qty::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.cart .cart-block .cart-items .cart-item .cart-item-title a {
    font-family: 'Buyan';
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: 0.05em;
    color: #fff;
    display: block;
    width: 215px;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Ровно 2 строки */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cart .cart-block .cart-items .cart-item .cart-item-title form input {
    width: 65px;
    background: transparent;
    border: 1px solid #A2A2A2;
    border-radius: 18px;
    color: #A2A2A2;
    font-weight: 700;
    font-size: 16px;
    text-align: center;
}
.bottom-cart-row{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.order-desc-item-zakaz-item-total {
    display: flex;
    width: 20%;
    align-items: flex-end;
    margin-bottom: 3px;
}
.cart-item .btn-qty {
    position: static;
    transform: none ;
    flex: 0 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: #A2A2A2;
    font-size: 14px;
    cursor: pointer;
    z-index: 1;
    padding: 0;
    font-size: 16px;
}
.cart-item-price .sale_price {
    color: #EABD88 !important;
    font-family: 'Montserrat';
    font-weight: 700;
    font-style: Bold;
    font-size: 9px;
    line-height: 120%;
    letter-spacing: 5%;
    font-variant: small-caps;
    margin-left: auto;
    margin-bottom: 5px;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

}
.cart-item-price{
    display: flex;
    flex-direction: column;
    align-self: flex-end;
    font-family: Montserrat;
    font-weight: 700;
    font-style: Bold;
    font-size: 17px;
    line-height: 120%;
    letter-spacing: 5%;
    text-transform: uppercase;
    overflow: hidden;
}
.cart-item-price div {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: baseline;
    width: 100%;
    white-space: nowrap;
}
.cart-item-price p, 
.cart-item-price .old_price, 
.cart-item-price .mr-2 {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin: 0;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

.cart-item-price p.is-full, 
.cart-item-price .old_price.is-full, 
.cart-item-price .mr-2.is-full {
    overflow: visible;
    white-space: normal;
    z-index: 100;
    background: #2a2a2a;
    padding: 2px 8px;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    position: absolute;
    right: 0;
    width: max-content;
}
.checkout-promo-input-styles{
    width: 100%;
    border: 1px dotted #A2A2A2;
    background: transparent;
    border-radius: 6px;
    color: #A2A2A2;
    font-family: Buyan;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding:7px 0 6px 20px !important;
}
.cart .cart-block .cart-total-cost .cart-total-cost-title {
    margin-bottom: 5px;
}
.cart .cart-block .cart-total-cost .cart-total-cost-pre-price li {
    margin-bottom: 5px;
}
.cart .cart-block .cart-total-cost .cart-total-cost-pre-price {
    margin-bottom: 16px;
}
.cart .cart-block .cart-total-cost .cart-total-cost-total-price .cart-total-cost-total-price-1 {
    font-size: 25px;
}
.checkout-btn{
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
    gap: 10px;
}
.cart .btn{
    font-size: 14px;
    box-shadow: 0px 2.8px 0px 0px #D8A86E;
    max-height: 50px;
}
@media (max-width:1024px) {
    .cart {
        padding:24px 35px 32px 35px;
    }
    .mini-cart-img-container {
        margin-right: 20px;
    }
    .cart .cart-block .cart-items .cart-item .cart-item-title a {
        width: 205px;
        font-size: 17px;
    }
    .cart .cart-block .cart-items .cart-item {
        padding-bottom: 8px;
    }
    .cart-item .product-qty-wrapper{
        width: 52px;
        height: 41px;
    }
    .cart .cart-block .cart-items {
        margin: 11px 0 18px 0;
    }
    .cart .cart-block .cart-promocode {
        min-height: 31px;
        max-height: 31px;
        border-radius: 6px;
        margin-top: 18px;
    }
    .checkout-promo-input-styles{
        font-size: 14px;
    }
    .cart .cart-block .cart-total-cost .cart-total-cost-title {
        margin-bottom: 3px;
        font-size: 18px;
    }
    .cart .cart-block .cart-total-cost .cart-total-cost-pre-price li div:nth-child(1) {
        font-size: 10px;
    }
    .cart .cart-block .cart-total-cost .cart-total-cost-pre-price li:last-child div:nth-child(1) {
        font-size: 10px;
    }
    .cart .cart-block .cart-total-cost .cart-total-cost-pre-price {
        margin-bottom: 10px;
    }
    .cart .cart-block .cart-total-cost .cart-total-cost-pre-price li div:nth-child(3) {
        font-size: 12px;
    }
    .cart .cart-block .cart-total-cost .cart-total-cost-pre-price li:last-child div:nth-child(3) {
        font-size: 12px;
    }
    .cart-item-price{
        font-size: 14px;
    }
    .cart-item-price .sale_price {
        font-size: 8px;
    }  
    .order-desc-item-zakaz-item-total {
        max-width: 55px;
        max-height: 41px;
        padding-right: 0;
    }
    .cart-item .btn-qty {
        flex: 0 0 15px;
        font-size: 17px;
    }
    .cart-item .product-qty {
        font-family: Montserrat;
        font-weight: 700;
        font-style: Bold;
        font-size: 14px;
        line-height: 128%;
        letter-spacing: 5%;
        font-variant: small-caps;
        border-radius: 15px;
    }
    .cart .cart-block .cart-items .cart-item .cart-item-price .old_price {
        margin-right: 15px;
    }
    .checkout-btn{
        margin-top: 10px;
        font-size: 12px;
    }
    .cart .btn{
        border-radius: 13px;
        max-height: 45px;
    }
    .cart .cart-block .cart-total-cost .cart-total-cost-total-price .cart-total-cost-total-price-1 {
        font-size: 22px;
    }
}
@media (max-width:600px) {
    .cart {
        padding: 25px 30px 25px 30px;
        width: 95%;
    }
    .cart .cart-block h2 {
        margin-bottom: 10px;
        font-size: 30px;
    }
    .mini-cart-img-container {
        width: 86px;
        margin-right: 13px;
    }
    .cart .cart-block .cart-items .cart-item .cart-item-title a {
        width: 100%;
        font-size: 16px;
        margin-bottom: 0;
    }
    .cart-item-price{
        font-size: 14px;
    }
    .cart-item-price .sale_price {
        font-size: 8px;
    }  
    .order-desc-item-zakaz-item-total {
        max-width: 50px;
        max-height: 41px;
        padding-right: 0;
    }
    .cart-item .product-qty-wrapper{
        width: 52px;
        height: 36px;
        border-radius: 12px;
    }
    .cart-item .product-qty {   
        font-size: 14px;
    }
    
    .cart .cart-block .cart-items .cart-item .cart-item-price .old_price {
        font-size: 14px;
    }
    .cart .cart-block .cart-promocode {
        min-height: 33px;
        max-height: 33px;
    }
    .cart .cart-block .cart-total-cost .cart-total-cost-title {
        margin-bottom: 7px;
    }
    .checkout-btn{
        margin-top: 17px;
    }
    .cart .btn{
        font-size: 12px;
        padding: 15px 97px 15px 97px;
        max-height: 38px;
        border-radius: 11px;
    }
    .cart-item .product-qty-wrapper {
        max-width: 52px;
        max-height: 37px;
    }
}
@media (max-width:480px) {
    .mini-cart-img-container {
        width: 98px;
        margin-right: 13px;
    }
    .cart-item-price{
        font-size: 14px;
        width: 137px;
    }
    .cart .cart-block .cart-items .cart-item .cart-item-price .old_price {
        margin-right: 10px;
        flex-wrap: wrap;
    }
    .btn-qty.plus-btn {
        width: 18px;
        font-size: 15px;
    }
    .cart .btn{
        padding: 10px 70px 10px 70px;
    }
}