/* =========================================
   WARENKORB STYLES
   ========================================= */

.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

/* Einzelne Produkt-Karte im Warenkorb */
.cart-item-card {
    background: var(--clr-lightgrey);
    border-radius: 15px;
    padding: 1rem;
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 1rem;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid var(--clr-light);
}

.cart-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    /* background: var(--clr-light); */
}

.cart-details h4 {
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
    color: var(--clr-dark);
}

.cart-sku {
    font-size: 0.75rem;
    color: var(--clr-grey);
    margin-bottom: 0.5rem;
}

.cart-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.item-total-price {
    font-weight: 600;
    color: var(--clr-dark);
}

/* Mengenwähler im Warenkorb */
.qty-small {
    display: flex;
    align-items: center;
    background: var(--clr-light);
    border-radius: 8px;
    overflow: hidden;
}

.qty-small button {
    border: none;
    background: none;
    padding: 0.3rem 0.6rem;
    font-size: 1rem;
    cursor: pointer;
    color: var(--clr-red);
}

.qty-small span {
    width: 25px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Entfernen Button */
.remove-item {
    background: none;
    border: none;
    color: var(--clr-red);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Zusammenfassung Box */
.cart-summary {
    background: var(--clr-lightgrey);
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid var(--clr-lightgrey);
    margin-bottom: 6rem; /* Platz für Bottom Nav */
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    color: var(--clr-grey);
}

.summary-row.total {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--clr-dark);
    margin-top: 1rem;
}

/* Versand Optionen */
.shipping-options {
    margin-block: 1.5rem;
    padding: 1rem;
    background: var(--clr-light);
    border-radius: 12px;
}

.shipping-options p {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    cursor: pointer;
}

/* Checkout Button */
.btn-checkout {
    width: 100%;
    background: var(--clr-red);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    margin-top: 1rem;
    cursor: pointer;
}

/* Leerer Warenkorb */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state i {
    font-size: 4rem;
    color: var(--clr-lightgrey);
    margin-bottom: 1rem;
}

/* Dark Mode Support */
body.dark-mode .cart-item-card,
body.dark-mode .cart-summary {
    background: #2a2a2a;
    border-color: #333;
}

body.dark-mode .cart-details h4,
body.dark-mode .item-total-price,
body.dark-mode .summary-row.total {
    color: white;
}

body.dark-mode .qty-small {
    background: #333;
}







.cart-notes {
    background: var(--clr-lightgrey);
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid var(--clr-lightgrey);
    margin-bottom: 1.5rem;
}

.cart-notes h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--clr-dark);
}

.cart-notes p {
    font-size: 0.8rem;
    color: var(--clr-grey);
    margin-bottom: 1rem;
}

.cart-notes textarea {
    width: 100%;
    height: 100px;
    border: 1px solid var(--clr-lightgrey);
    border-radius: 12px;
    padding: 10px;
    font-family: inherit;
    font-size: 0.9rem;
    resize: none;
    background: var(--clr-light);
    color: var(--clr-dark);
}

/* Dark Mode */
body.dark-mode .cart-notes {
    background: #2a2a2a;
    border-color: #333;
}
body.dark-mode .cart-notes h3 { color: white; }
body.dark-mode .cart-notes textarea { 
    background: #1a1a1a; 
    
    border-color: #444;
}








.cart-customer-info {
    padding: 1.5rem;
    background: var(--clr-lightgrey);
    border-radius: 20px;
    margin-bottom: 1.5rem;
}

.cart-customer-info h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--clr-red);
}

.input-group {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.input-group-row {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 15px;
}

.input-group label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--clr-grey);
}

.input-group input {
    padding: 10px 15px;
    border: 1px solid #eee;
    border-radius: 12px;
    font-size: 0.9rem;
    background: var(--clr-light);
}

.input-group input:focus {
    outline: none;
    border-color: var(--clr-red);
}

body.dark-mode .cart-customer-info { background: #2a2a2a; }
body.dark-mode .input-group input { background: #333; border-color: #444; color: var(--clr-dark) }
















.addon-card {
    background: var(--accent-light, var(--clr-lightgrey)); /* Ein leichter Akzentton */
    border-left: 5px solid var(--clr-yellow); /* Goldene Farbe für "Licht" */
    padding: 15px;
    margin: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    border-radius: 8px;
}

.addon-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.addon-info i {
    font-size: 1.5rem;
    color: var(--clr-yellow);
}

.btn-addon {
    background: var(--clr-light);
    color: var(--clr-light);
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.2s;
}

.btn-addon:hover {
    transform: scale(1.05);
}

@media (max-width: 600px) {
    .addon-card {
        flex-direction: column;
        text-align: center;
    }
}





body.dark-mode .addon-card { background: #2a2a2a; }
body.dark-mode .btn-addon { background: #333; border-color: #444; color: var(--clr-dark) }








.cart-legal-check a {
    
    text-decoration: underline;
    font-weight: 600;
    transition: opacity 0.2s;
}

.cart-legal-check a:hover {
    opacity: 0.7;
    text-decoration: none;
}