.cart-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.cart-header {
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.cart-item {
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
}

.cart-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.cart-item-title {
    font-size: 1.1rem;
    transition: color 0.2s;
}

.cart-item-title a:hover {
    color: var(--accent-gold) !important;
}

.quantity-control {
    max-width: 160px;
}

.quantity-input {
    width: 50px;
    height: 38px;
    font-weight: 500;
    border: 1px solid #dee2e6;
}

.cart-item-price {
    min-width: 140px;
}

.cart-total {
    background-color: #f8f9fa;
    border-radius: 12px;
}

.cart-btn-remove {
    transition: all 0.2s;
}

.cart-btn-remove:hover {
    transform: scale(1.2);
    color: #dc3545 !important;
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .cart-item .row > div {
        margin-bottom: 15px;
    }
    
    .quantity-control {
        justify-content: center;
    }
    
    .cart-item-price {
        text-align: center !important;
        margin-top: 10px;
    }
    
    .cart-btn-remove {
        position: absolute;
        top: 15px;
        right: 15px;
    }
}


/* Стили для кнопки удаления */
.cart-btn-remove {
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background-color: transparent;
    border: none;
    cursor: pointer;
}

.cart-btn-remove-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transition: all 0.3s ease;
    background-color: rgba(220, 53, 69, 0.1);
}

.cart-btn-remove:hover .cart-btn-remove-inner {
    background-color: rgba(220, 53, 69, 0.2);
    transform: scale(1.1);
}

.cart-btn-remove:active .cart-btn-remove-inner {
    transform: scale(0.9);
}

.cart-btn-remove i {
    transition: all 0.3s ease;
}

.cart-btn-remove:hover i {
    color: #dc3545 !important;
}

/* Анимация при удалении */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-3px); }
    40%, 80% { transform: translateX(3px); }
}

.cart-btn-remove.shaking {
    animation: shake 0.4s ease;
}