.cart-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cart-container h2 {
    margin-bottom: 2rem;
}

.cart-item-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #a9a9a9;
    padding: 1rem;
    margin-bottom: 1rem;
    width: 100%;
    gap: 1rem;
}

.cart-total {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: end;
    padding: 1rem;
    width: 100%;
    gap: 1rem;
}

.cart-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #a9a9a9;
    padding: 1rem;
    gap: 1rem;
    width: 100%;
}

.cart-item img {
    width: 100px;
    height: 100px;
}

.cart-item input {
    width: 75px;
}

.grow {
    flex-grow: 1;
}

.item-title {
    font-weight: bold;
    text-decoration: none;
    color: black;
}

.item-title:hover {
    text-decoration: underline;
}

.cart-item-info {
    flex-grow: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

/* Mobile Design */
@media (max-width: 768px) {
    .cart-total {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .cart-item-info {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .cart-item-info > * {
        margin-top: 0.25rem;
        margin-bottom: 0.25rem;
    }
}

