/* ===== Basis ===== */

body {
    font-family: system-ui, -apple-system, sans-serif;
    margin: 0;
    background: #f6f6f6;
    color: #222;
}



/* ===== Header ===== */

.cart-header {
    padding: 16px;
    background: #fff;
    border-bottom: 1px solid #ddd;
}



/* ===== Container ===== */

.cart-container {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}



/* ===== Artikel ===== */

.cart-item {
    background: #fff;
    padding: 16px;
    border: 1px solid #e5e5e5;
    border-radius: 10px;

    display: flex;
    flex-direction: column;
    gap: 12px;

    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}



/* ===== Textliste ===== */

.cart-text-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cart-text {
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

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



/* ===== Textwerte ===== */

.cart-value {
    font-size: 18px;
    font-weight: 600;
}

.cart-meta {
    font-size: 13px;
    color: #666;
}



/* ===== Mengenfelder ===== */

.cart-quantity,
.cart-set-quantity {
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.qty-input,
.cart-set-quantity input,
.addon-qty {
    width: 70px;
    padding: 6px;
    font-size: 16px;
}



/* ===== Preis ===== */

.cart-price {
    font-size: 18px;
    font-weight: 700;
    text-align: right;
}



/* ===== Rabatt ===== */

.cart-discount {
    font-size: 13px;
    color: #2f7a2f;
}



/* ===== Aktionen ===== */

.cart-actions {
    display: flex;
    justify-content: flex-end;
}

.cart-actions button {
    padding: 8px 12px;
    border: 1px solid #ddd;
    background: #f3f3f3;
    border-radius: 6px;
    cursor: pointer;
}

.cart-actions button:hover {
    background: #e8e8e8;
}



/* ===== Addons ===== */

.cart-addons {
    background: #fff;
    padding: 16px;
    border-radius: 10px;
    border: 1px solid #e5e5e5;
}

.cart-addon-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

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

.addon-name {
    flex: 1;
    font-size: 14px;
}

.addon-price {
    font-weight: 600;
}



/* ===== Versand + Summary ===== */

.cart-shipping,
.cart-summary {
    background: #fff;
    padding: 16px;
    border-radius: 10px;
    border: 1px solid #e5e5e5;
}

.shipping-price,
.summary-row {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}



/* ===== Gesamtpreis ===== */

.total {
    font-size: 20px;
    font-weight: 700;
    margin-top: 14px;
}



/* ===== Checkout Button ===== */

.checkout-button {
    margin-top: 16px;
    width: 100%;
    padding: 14px;
    font-size: 18px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}

.checkout-button:hover {
    background: #222;
}



/* ===== Tablet / Desktop ===== */

@media (min-width: 768px) {

    .cart-container {
        max-width: 900px;
        margin: auto;
    }

}