.cart-section {
    flex: 1;
    padding: 80px 40px;
    background-color: #FDF8F3;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.cart-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cart-header h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 36px;
    color: #2D1810;
    margin: 0;
}

.cart-header p {
    font-size: 16px;
    color: #6B4E3D;
    margin: 0;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #FFFFFF;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(45, 24, 16, 0.08);
}

.item-info {
    max-width: 60%;
}

.item-name {
    font-weight: 600;
    font-size: 18px;
    color: #2D1810;
    margin: 0;
}

.item-description {
    font-size: 14px;
    color: #6B4E3D;
    margin: 4px 0 0 0;
}

.item-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.item-price {
    font-weight: 700;
    font-size: 16px;
    color: #8B5A3C;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #F5E6D3;
    padding: 6px 12px;
    border-radius: 8px;
}

.qty-btn {
    text-decoration: none;
    color: #2D1810;
    font-weight: 700;
    font-size: 16px;
    padding: 4px 8px;
}

.remove-btn {
    color: #A0522D;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
}

.remove-btn:hover {
    color: #D9534F;
}

.cart-summary {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-summary h3 {
    font-size: 20px;
    color: #2D1810;
}

.cart-summary span {
    font-weight: 700;
    color: #8B5A3C;
}

.cart-actions {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 16px;

    @media (min-width: 768px) {
        flex-direction: row;
    }
}

.empty-cart {
    text-align: center;
    font-size: 18px;
    color: #6B4E3D;
}

.empty-cart a {
    color: #8B5A3C;
    text-decoration: underline;
}

.remove-btn {
    background: none;
    border: none;
    color: #d9534f;
    font-size: 1.4rem;
    cursor: pointer;
    text-decoration: none;
    padding: 0;
    margin-left: 0.5rem;
    transition: color 0.2s ease;
    vertical-align: middle;
}

.remove-btn:hover {
    color: #c9302c;
}

.flash-message {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #F5E6D3; /* culoarea temei */
    color: #2D1810; /* text închis */
    padding: 12px 24px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(45, 24, 16, 0.2);
    font-weight: 600;
    font-size: 16px;
    z-index: 1000;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.flash-success { background-color: #DFF2BF; color: #4F8A10; }
.flash-error { background-color: #FFBABA; color: #D8000C; }
.flash-warning { background-color: #FEEFB3; color: #9F6000; }

.flash-hide {
    opacity: 0;
}

.btn-primary {
    border: none;
}

@media (max-width: 767px) {
    .cart-actions .btn-primary,
    .cart-actions .btn-secondary {
        text-align: center;
        justify-content: center;
        width: 100%;
    }
}
