/* ============================================
   WARENKORB — LUXURY REDESIGN
   Eleganter Boutique-Look (Playfair, Creme, Rosé)
   Lädt NACH cart.css und überschreibt gezielt
   ============================================ */

/* ---- Seite & Kopf ---- */
.cart-page {
    background: linear-gradient(180deg, #FDFBFA 0%, #FAF6F4 100%);
    min-height: 60vh;
    padding: 48px 20px 80px;
}

.cart-header {
    text-align: center;
    margin-bottom: 40px;
}

.cart-header h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(30px, 5vw, 42px);
    font-weight: 400;
    color: #2B1F1F;
    margin: 0;
}

.cart-header .cart-rule {
    display: block;
    width: 56px;
    height: 1px;
    background: #A87878;
    margin: 18px auto 0;
}

/* ---- Layout ---- */
.cart-content {
    max-width: 1040px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 28px;
    align-items: start;
}

/* ---- Artikel-Karten ---- */
.cart-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cart-item {
    display: flex;
    gap: 18px;
    background: #FFFFFF;
    border: 1px solid #F0E7E3;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 4px 18px rgba(43, 31, 31, 0.04);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.cart-item:hover {
    box-shadow: 0 10px 30px rgba(43, 31, 31, 0.08);
    transform: translateY(-1px);
}

.cart-item__image-wrapper {
    flex-shrink: 0;
    width: 96px;
    height: 96px;
    border-radius: 12px;
    overflow: hidden;
    background: #FAF6F4;
    border: 1px solid #F0E7E3;
}

.cart-item__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cart-item__details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

.cart-item__title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 16.5px;
    font-weight: 500;
    color: #2B1F1F;
    margin: 0;
    line-height: 1.3;
}

.cart-item__variant {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 12px;
    color: #9A8A8A;
    margin: 4px 0 0;
}

.cart-item__remove {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid transparent;
    background: transparent;
    color: #C4B4B4;
    font-size: 12px;
    cursor: pointer;
    transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
    flex-shrink: 0;
}

.cart-item__remove:hover {
    color: #B0483E;
    border-color: rgba(176, 72, 62, 0.25);
    background: rgba(176, 72, 62, 0.05);
}

/* Menge als elegante Pille */
.cart-item__quantity {
    display: inline-flex;
    align-items: center;
    gap: 0;
    border: 1px solid #E5D9D4;
    border-radius: 999px;
    overflow: hidden;
    background: #FAF6F4;
}

.cart-item__quantity .quantity-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: #2B1F1F;
    font-size: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.cart-item__quantity .quantity-btn:hover {
    background: #F0E4E0;
}

.cart-item__quantity .quantity-value,
.cart-item__quantity span {
    min-width: 28px;
    text-align: center;
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    color: #2B1F1F;
}

.cart-item__price {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #2B1F1F;
    letter-spacing: 0.01em;
}

/* ---- Bestellübersicht ---- */
.cart-summary {
    position: sticky;
    top: 24px;
    background: #FFFFFF;
    border: 1px solid #F0E7E3;
    border-radius: 18px;
    padding: 28px 26px;
    box-shadow: 0 10px 34px rgba(43, 31, 31, 0.06);
}

.cart-summary h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 21px;
    font-weight: 500;
    color: #2B1F1F;
    margin: 0 0 6px;
}

.cart-summary h2::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: #A87878;
    margin-top: 12px;
}

.cart-summary__row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 13.5px;
    color: #7A6A6A;
    padding: 12px 0;
    border-bottom: 1px solid #F5EEEA;
}

.cart-summary__row:first-of-type {
    margin-top: 14px;
}

.cart-summary__total {
    border-bottom: none;
    padding-top: 16px;
    font-size: 15px;
    font-weight: 600;
    color: #2B1F1F;
}

.cart-summary__total .cart-total {
    font-size: 22px;
    font-weight: 700;
    color: #2B1F1F;
}

/* CTA-Buttons */
.cart-summary .button--primary {
    display: block;
    width: 100%;
    margin-top: 18px;
    padding: 15px;
    border: none;
    border-radius: 999px;
    background: #C49494;
    color: #FFFFFF;
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    text-align: center;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.cart-summary .button--primary:hover {
    background: #A87878;
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(168, 120, 120, 0.35);
}

.cart-summary .button--secondary {
    display: block;
    width: 100%;
    margin-top: 12px;
    padding: 13px;
    border: 1.5px solid #C49494;
    border-radius: 999px;
    background: transparent;
    color: #C49494;
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-align: center;
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease;
}

.cart-summary .button--secondary:hover {
    background: #C49494;
    color: #FFFFFF;
}

/* Trust-Zeile unter den Buttons */
.cart-summary__trust {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #F5EEEA;
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 11px;
    color: #9A8A8A;
}

.cart-summary__trust span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.cart-summary__trust i {
    color: #A87878;
    font-size: 11px;
}

/* ---- Reservierungs-Leiste einpassen ---- */
.cu-reserve {
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(43, 31, 31, 0.04);
}

/* ---- Leerer Warenkorb ---- */
#empty-cart .empty-cart__content {
    max-width: 420px;
    margin: 40px auto;
    text-align: center;
    background: #FFFFFF;
    border: 1px solid #F0E7E3;
    border-radius: 18px;
    padding: 56px 32px;
    box-shadow: 0 10px 34px rgba(43, 31, 31, 0.06);
}

#empty-cart i {
    font-size: 34px;
    color: #D8C6C0;
}

#empty-cart h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 24px;
    font-weight: 500;
    color: #2B1F1F;
    margin: 18px 0 8px;
}

#empty-cart p {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 13.5px;
    color: #9A8A8A;
    margin: 0 0 24px;
}

#empty-cart .button--primary {
    display: inline-block;
    padding: 13px 34px;
    border-radius: 999px;
    background: #C49494;
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.25s ease;
}

#empty-cart .button--primary:hover {
    background: #A87878;
}

/* ---- Mobile ---- */
@media (max-width: 860px) {
    .cart-content {
        grid-template-columns: 1fr;
    }

    .cart-summary {
        position: static;
    }

    .cart-item {
        padding: 14px;
        gap: 14px;
    }

    .cart-item__image-wrapper {
        width: 80px;
        height: 80px;
    }

    .cart-item__title {
        font-size: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cart-item,
    .cart-summary .button--primary,
    .cart-summary .button--secondary {
        transition: none;
    }
}
