.cart-container {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: calc(100vh - 80px);
}

.cart-header {
    margin-bottom: 3rem;
}

.cart-title {
    font-size: 2.5rem;
    font-weight: var(--font-weight-extrabold);
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.cart-subtitle {
    color: var(--text-light);
    font-size: 1.125rem;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cart-item-enhanced {
    background: var(--white-color);
    border-radius: var(--border-radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    display: flex;
    gap: 1.5rem;
    transition: var(--transition-normal);
}

.cart-item-enhanced:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cart-item-image img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: var(--border-radius-md);
}

.cart-item-details {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.cart-item-info {
    flex: 1;
}

.cart-item-title {
    font-size: 1.25rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}
.cart-not-item-title {
    font-size: 0.75rem;
    color: var(--danger-color);
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
}
.cart-item-description {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.cart-item-options {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.option-tag {
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
}

.cart-item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
}

.quantity-controls {
    display: flex;
    align-items: center;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-md);
    overflow: hidden;
}

.quantity-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--white-color);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.quantity-btn:hover {
    background: var(--primary-color);
    color: var(--white-color);
}

.quantity-input {
    width: 60px;
    height: 40px;
    border: none;
    text-align: center;
    font-weight: var(--font-weight-semibold);
    background: var(--light-color);
}

.cart-item-price {
    text-align: left;
}

.current-price {
    font-size: 1.25rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
}

.original-price {
    font-size: 1rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.unit-price {
    font-size: 0.875rem;
    color: var(--text-light);
}

.remove-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-fast);
}

.remove-btn:hover {
    background: #dc3545;
    color: var(--white-color);
}


.cart-summary-enhanced {
    background: var(--white-color);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: sticky;
    top: 100px;
}

.summary-header {
    background: var(--primary-gradient);
    color: var(--white-color);
    padding: 1.5rem 2rem;
}

.summary-title {
    font-size: 1.25rem;
    font-weight: var(--font-weight-semibold);
    margin: 0;
}

.summary-content {
    padding: 2rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-weight: var(--font-weight-medium);
}

.summary-value {
    font-weight: var(--font-weight-semibold);
}

.discount-row {
    display: none;
}

.summary-divider {
    height: 1px;
    background: var(--border-color);
    margin: 1.5rem 0;
}

.total-row {
    margin-bottom: 2rem;
}

.total-label {
    font-size: 1.125rem;
    font-weight: var(--font-weight-bold);
}

.total-value {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
}


.checkout-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn-checkout {
    background: var(--primary-gradient);
    color: var(--white-color);
    padding: 1rem 2rem;
    border-radius: var(--border-radius-md);
    text-decoration: none;
    font-weight: var(--font-weight-semibold);
    text-align: center;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor:pointer;
}

.btn-checkout:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--white-color);
}

.btn-continue-shopping {
    color: var(--text-light);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    text-align: center;
    padding: 0.75rem;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-continue-shopping:hover {
    color: var(--primary-color);
}


@keyframes slideOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(-100%);
    }
}

@media (max-width: 768px) {
    
    .cart-item-details {
        flex-direction: column;
        gap: 1rem;
    }

    .cart-item-actions {
        flex-direction: row;
        align-items: center;
    }

    .security-badges {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width:500px) {
    .cart-item-enhanced {
        flex-direction: column;
    }

}


.empty-cart {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 10px;
    color: #555;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.empty-cart-icon {
    font-size: 60px;
    color: #888;
    width: 90px;
    height: 90px;
    line-height: 90px;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.empty-cart h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.empty-cart p {
    font-size: 16px;
    color: #777;
}