/* Stiluri specifice paginii de coș */
body {
    font-family: "Cinzel", serif;
    margin: 0;
    padding: 0;
    background-color: black;
    color: #333;
}

header {
    background-color: black;
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

#header_logo{
    width: 150px;
}

main {
    padding: 2rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    color: white;
    margin-bottom: 1.5rem;
    text-align: center;
}

#cart-items {
    background-color: black;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.cart-item {
    display: flex;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    align-items: center;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 1rem;
}

.item-details {
    flex-grow: 1;
    color: white;
}

.item-details h3 {
    margin: 0 0 0.5rem;
    color: white;
}

.item-details p {
    margin: 0 0 0.5rem;
    color: white;
}

.quantity-controls {
    display: flex;
    align-items: center;
    margin-top: 0.5rem;
}

.quantity-controls button {
    background-color: black;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.quantity-controls button:hover {
    background-color: #333;
}

.quantity-controls .remove {
    font-family: "Cinzel", serif;
    font-size: 1.2rem;
    font-weight: 400;
    padding: 0 0.75rem;
    margin-left: 1rem;
    width: auto;
}

.quantity-controls span {
    margin: 0 0.5rem;
    min-width: 20px;
    text-align: center;
}

.cart-total {
    text-align: right;
    margin-top: 1.5rem;
    font-size: 1.3rem;
    font-weight: bold;
    color: white;
}

#checkout-btn {
    background-color: white;
    font-family: "Cinzel", serif;
    color: black;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 700;
    transition: background-color 0.3s;
}

.empty-cart-message {
    text-align: center;
    padding: 2rem;
    color: white;
}

/* Adăugăm la cart.css */
@media (max-width: 768px) {
    header {
        padding: 0.5rem;
    }

    .cart-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .cart-item img {
        margin-bottom: 1rem;
        width: 100%;
        height: auto;
    }

    .quantity-controls {
        width: 100%;
        justify-content: space-between;
    }

    .cart-total {
        text-align: center;
    }

    #checkout-btn {
        width: 100%;
    }
}