
:root {
    --bg: #f7f7fb;
    --panel: rgba(255,255,255,0.88);
    --card: #ffffff;
    --text: #19202b;
    --muted: #647089;
    --line: #e6eaf2;
    --accent: #4f46e5;
    --accent-2: #7c3aed;
    --shadow: 0 18px 44px rgba(31, 41, 55, 0.08);
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 14px;
    --container: 1240px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: var(--text);
    background:
      radial-gradient(circle at top left, rgba(124,58,237,0.08), transparent 28%),
      radial-gradient(circle at top right, rgba(79,70,229,0.09), transparent 22%),
      linear-gradient(180deg, #fbfcff 0%, #f5f7fb 100%);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
/* Header aligned with index_new */
.site-header--shop .main-nav {
    position: sticky;
    top: 0;
    z-index: 1100;
    backdrop-filter: blur(18px);
    background: rgba(255,255,255,0.82);
    border-bottom: 1px solid rgba(230,234,242,0.75);
}
.site-header--shop .nav-inner {
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 14px;
    min-height: 64px;
}
.site-header--shop .desktop-nav,
.site-header--shop .nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}
.site-header--shop .desktop-nav--shop {
    justify-self: center;
    justify-content: center;
}

.site-header--shop .brand--shop img {
    height: 48px;
    width: auto;
}
.site-header--shop .nav-actions--shop {
    justify-self: end;
    order: 2;
}
.site-header--shop .desktop-nav--shop {
    order: 1;
}
.site-header--shop .nav-links a,
.site-header--shop .nav-login,
.site-header--shop .user-button {
    padding: 8px 13px;
    border-radius: 999px;
    color: var(--text);
    font-weight: 700;
    font-size: 0.96rem;
}
.site-header--shop .nav-links a.active,
.site-header--shop .nav-links a:hover,
.site-header--shop .nav-login:hover,
.site-header--shop .user-button:hover {
    background: rgba(79,70,229,0.08);
}
.site-header--shop .user-dropdown { position: relative; }
.site-header--shop .user-button {
    min-height: 44px;
    border: 0;
    background: transparent;
    cursor: pointer;
}
.site-header--shop .dropdown-content {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 180px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 8px;
}
.site-header--shop .dropdown-content a { display: block; padding: 10px 12px; border-radius: 10px; }
.site-header--shop .dropdown-content a:hover { background: #f4f6fb; }
.site-header--shop .dropdown-content[hidden] { display: none !important; }
.site-header--shop .cart-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    min-height: 44px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
}
.site-header--shop .cart-icon { position: relative; font-size: 1.1rem; }
.site-header--shop .cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: #ef4444;
    color: #fff;
    font-size: 0.72rem;
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    border-radius: 999px;
    padding: 0 4px;
}
.site-header--shop .cart-price { font-weight: 700; font-size: 0.9rem; }
.site-header--shop .mobile-menu-button {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 12px;
    cursor: pointer;
}
.site-header--shop .mobile-drawer {
    display: none;
    width: min(var(--container), calc(100% - 32px));
    margin: 10px auto 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 10px;
}
.site-header--shop .mobile-drawer[hidden] { display: none !important; }
.site-header--shop .mobile-drawer a { display: block; padding: 12px 14px; border-radius: 12px; font-weight: 700; }
.site-header--shop .mobile-drawer a:hover,
.site-header--shop .mobile-drawer a.active { background: #f4f6fb; }
.shop-shell {
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;
    padding: 22px 0 72px;
}
.shop-hero {
    display: grid;
    grid-template-columns: 1.2fr auto;
    gap: 24px;
    align-items: end;
    padding: 8px 0 4px;
}
.eyebrow {
    margin: 0 0 8px;
    font-size: 0.84rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 800;
}
.shop-hero h1 { margin: 0; line-height: 1.05; font-size: clamp(2rem, 4vw, 3.3rem); }
.shop-intro {
    margin: 14px 0 0;
    max-width: 760px;
    color: var(--muted);
    line-height: 1.6;
}
.shop-hero__actions { display: none; gap: 10px; }
.hero-link {
    min-height: 48px;
    padding: 0 18px;
    border: none;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    cursor: pointer;
    background: var(--text);
    color: #fff;
}
.hero-link--ghost { background: #fff; color: var(--text); border: 1px solid var(--line); }
.admin-strip {
    margin-top: 18px;
    padding: 14px 18px;
    border: 1px dashed rgba(79,70,229,0.35);
    background: rgba(79,70,229,0.06);
    border-radius: 18px;
}
.admin-strip a { font-weight: 700; color: var(--accent); }
.shop-toolbar {
    margin-top: 18px;
    padding: 12px 14px;
    background: rgba(255,255,255,0.76);
    border: 1px solid rgba(230,234,242,0.9);
    border-radius: 18px;
    box-shadow: 0 10px 26px rgba(31,41,55,0.05);
}
.toolbar-top {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: center;
}
.chip-row {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
}
.chip {
    white-space: nowrap;
    padding: 10px 14px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--muted);
    font-weight: 700;
    font-size: 0.94rem;
    cursor: pointer;
}
.chip.active { background: var(--text); color: #fff; border-color: var(--text); }
.filter-icon-button {
    width: 48px;
    height: 48px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 14px;
    cursor: pointer;
    color: var(--text);
    box-shadow: 0 10px 24px rgba(31,41,55,0.05);
}
.advanced-filters {
    margin-top: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}
.advanced-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: end;
}
.advanced-grid--single {
    grid-template-columns: minmax(220px, 320px);
}
.advanced-filters label {
    display: grid;
    gap: 8px;
    color: var(--muted);
    font-weight: 700;
    font-size: 0.92rem;
}
.advanced-filters select {
    min-height: 48px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: #fff;
    padding: 0 14px;
    font: inherit;
    color: var(--text);
}
.toggle-check {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
}
.results-head {
    margin: 26px 0 18px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
}
.results-head h2 { margin: 0; font-size: clamp(1.45rem, 2vw, 2rem); }
.results-head p { margin: 8px 0 0; color: var(--muted); }
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}
.product-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 14px 30px rgba(22,33,61,0.06);
}
.product-card__media {
    position: relative;
    aspect-ratio: 1 / 1;
    background: #f4f6fb;
}
.product-card__media img { width: 100%; height: 100%; object-fit: cover; }
.discount-badge, .featured-badge {
    position: absolute;
    top: 14px;
    min-height: 32px;
    padding: 0 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    font-size: 0.82rem;
    font-weight: 800;
}
.discount-badge { left: 14px; background: #ff5f59; color: #fff; }
.featured-badge { right: 14px; background: rgba(22,33,61,0.85); color: #fff; }
.product-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 10px;
    padding: 18px;
}
.product-meta {
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.product-title {
    margin: 0;
    height: 4.05em;
    line-height: 1.35;
    font-size: 1.05rem;
    overflow: hidden;
}
.product-title a {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.price-line {
    margin-top: auto;
    display: flex;
    gap: 8px;
    align-items: baseline;
    flex-wrap: wrap;
    min-height: 36px;
}
.price-current { font-size: 1.25rem; font-weight: 800; }
.price-old { color: #9aa3b7; text-decoration: line-through; }
.card-actions { margin-top: 10px; }
.btn {
    width: 100%;
    min-height: 50px;
    border-radius: 16px;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    cursor: pointer;
}
.btn-primary { background: var(--text); color: #fff; }
.btn-primary.is-added { background: #1ea75a; }
.btn-secondary { background: #fff; color: var(--text); border: 1px solid var(--line); }
.btn-disabled { background: #eef1f7; color: #98a0b3; cursor: not-allowed; }
.admin-edit { margin-top: 10px; font-size: 0.92rem; color: var(--accent); font-weight: 700; }
.empty-state {
    margin-top: 18px;
    padding: 34px 28px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid var(--line);
    text-align: center;
}
.shop-footer {
    width: min(var(--container), calc(100% - 32px));
    margin: 34px auto 28px;
    color: var(--muted);
    text-align: center;
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}
.footer-doc { margin-bottom: 12px; }
@media (max-width: 1100px) {
    .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
    .site-header--shop .nav-inner {
        min-height: 52px;
        gap: 8px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        align-content: center;
        padding-bottom: 0;
    }

    .site-header--shop .brand--shop {
        justify-self: auto;
    }

    .site-header--shop .brand--shop img {
        height: 38px;
    }

    .site-header--shop .nav-actions--shop {
        gap: 8px;
        justify-self: auto;
        margin-left: auto;
    }

    .site-header--shop .desktop-nav {
        order: 3;
        width: 100%;
        display: flex;
        justify-content: center;
        gap: 2rem;
        padding: 0 0 7px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .site-header--shop .desktop-nav::-webkit-scrollbar {
        display: none;
    }

    .site-header--shop .desktop-nav a,
    .site-header--shop .nav-login {
        padding: 6px 10px;
        font-size: 0.86rem;
        line-height: 1.1;
        white-space: nowrap;
    }

    .site-header--shop .user-button {
        padding: 6px 10px;
        font-size: 0.86rem;
        line-height: 1.1;
        white-space: nowrap;
    }

    .site-header--shop .user-greeting {
        display: none;
    }

    .site-header--shop .mobile-menu-button {
        display: none !important;
    }

    .site-header--shop .mobile-drawer {
        display: none !important;
    }

    .site-header--shop .cart-wrapper {
        padding: 7px 9px;
        min-height: 38px;
    }

    .shop-actions--desktop {
        display: flex;
    }

    .shop-hero {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .shop-hero__actions {
        display: flex;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 640px) {
    .shop-shell, .shop-footer, .site-header--shop .nav-inner, .site-header--shop .mobile-drawer { width: calc(100% - 24px); }
    .shop-toolbar { padding: 12px; border-radius: 18px; }
    .advanced-grid, .advanced-grid--single { grid-template-columns: 1fr; }
    .results-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
    .site-header--shop .nav-inner { gap: 8px; }
    .site-header--shop .cart-wrapper { padding: 7px 9px; }
    .cart-total { display: none !important; }
    .chip { padding: 9px 13px; font-size: 0.91rem; }
    .product-grid { gap: 14px; }
    .product-card { border-radius: 18px; }
    .product-card__body { padding: 14px; }
    .product-title { height: 4.05em; font-size: 0.98rem; }
    .price-current { font-size: 1.1rem; }
    .btn { min-height: 46px; border-radius: 14px; font-size: 0.95rem; }
}


/* Warenkorb-Popup */
.cart-modal-open {
    overflow: hidden;
}

.cart-added-modal[hidden] {
    display: none !important;
}

.cart-added-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: grid;
    place-items: center;
    padding: 20px;
}

.cart-added-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17,24,39,0.48);
    backdrop-filter: blur(8px);
}

.cart-added-modal__dialog {
    position: relative;
    width: min(430px, 100%);
    padding: 30px;
    border: 1px solid rgba(255,255,255,0.7);
    border-radius: 28px;
    background:
      radial-gradient(circle at top left, rgba(124,58,237,0.16), transparent 34%),
      linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,255,0.98));
    box-shadow: 0 30px 90px rgba(17,24,39,0.28);
    text-align: center;
    animation: cartAddedIn .22s ease-out;
}

.cart-added-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--muted);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
}

.cart-added-modal__icon {
    display: inline-grid;
    place-items: center;
    width: 62px;
    height: 62px;
    margin-bottom: 14px;
    border-radius: 22px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    font-size: 1.55rem;
    box-shadow: 0 16px 34px rgba(79,70,229,0.28);
}

.cart-added-modal__eyebrow {
    margin: 0 0 6px;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.cart-added-modal__dialog h2 {
    margin: 0;
    color: var(--text);
    font-size: clamp(1.55rem, 4vw, 2rem);
    line-height: 1.08;
}

.cart-added-modal__text {
    margin: 12px auto 0;
    color: var(--muted);
    line-height: 1.55;
}

.cart-added-modal__product {
    width: fit-content;
    max-width: 100%;
    margin: 16px auto 0;
    padding: 9px 14px;
    border: 1px solid rgba(79,70,229,0.14);
    border-radius: 999px;
    background: rgba(79,70,229,0.07);
    color: var(--text);
    font-size: 0.92rem;
    font-weight: 800;
}

.cart-added-modal__quantity-control {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
    padding: 7px;
    border: 1px solid rgba(79,70,229,0.15);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(79,70,229,0.07), rgba(124,58,237,0.08));
}

.cart-added-modal__qty-btn {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: var(--accent);
    font-size: 1.25rem;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(31,41,55,0.08);
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.cart-added-modal__qty-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    background: var(--accent);
    color: #fff;
    box-shadow: 0 12px 26px rgba(79,70,229,0.22);
}

.cart-added-modal__qty-btn:disabled {
    cursor: not-allowed;
    opacity: 0.42;
}

.cart-added-modal__qty-value {
    min-width: 42px;
    color: var(--text);
    text-align: center;
    font-size: 1.12rem;
    font-weight: 900;
}

.cart-added-modal__status {
    min-height: 20px;
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 700;
}

.cart-added-modal__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 22px;
}

.cart-added-modal__btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border-radius: 15px;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.cart-added-modal__btn:hover {
    transform: translateY(-1px);
}

.cart-added-modal__btn--primary {
    border: 0;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    box-shadow: 0 14px 30px rgba(79,70,229,0.24);
}

.cart-added-modal__btn--ghost {
    border: 1px solid var(--line);
    background: #fff;
    color: var(--text);
}

@keyframes cartAddedIn {
    from { opacity: 0; transform: translateY(16px) scale(.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 560px) {
    .cart-added-modal__dialog {
        padding: 26px 20px 20px;
        border-radius: 24px;
    }

    .cart-added-modal__actions {
        grid-template-columns: 1fr;
    }
}

/* Zusatzartikel im Warenkorb-Bestätigungs-Popup */
.cart-added-modal__dialog--extras {
    width: min(760px, 100%);
    max-height: calc(100vh - 40px);
    overflow: auto;
}

.cart-extra-section {
    margin-top: 20px;
    padding: 14px;
    border: 1px solid rgba(79,70,229,0.13);
    border-radius: 22px;
    background: rgba(255,255,255,0.72);
    text-align: left;
}

.cart-extra-section__head {
    display: grid;
    gap: 3px;
    margin-bottom: 12px;
}

.cart-extra-section__head p {
    margin: 0;
    color: var(--text);
    font-weight: 900;
}

.cart-extra-section__head span {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.4;
}

.cart-extra-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 10px;
}

.cart-extra-card {
    position: relative;
    width: 100%;
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 10px;
    border: 1px solid rgba(17,24,39,0.10);
    border-radius: 18px;
    background: #fff;
    color: var(--text);
    text-align: left;
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.cart-extra-card:hover {
    transform: translateY(-1px);
    border-color: rgba(79,70,229,0.35);
    box-shadow: 0 12px 24px rgba(17,24,39,0.08);
}

.cart-extra-card.is-selected {
    border-color: var(--accent);
    background: rgba(79,70,229,0.06);
    box-shadow: 0 0 0 3px rgba(79,70,229,0.13), 0 12px 24px rgba(17,24,39,0.08);
}

.cart-extra-card.is-added {
    opacity: 0.58;
}

.cart-extra-card--config {
    border-style: dashed;
    background: rgba(248,250,255,0.88);
}

.cart-extra-card__check {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 900;
    opacity: 0;
    transform: scale(.82);
    transition: opacity .18s ease, transform .18s ease;
}

.cart-extra-card.is-selected .cart-extra-card__check,
.cart-extra-card.is-added .cart-extra-card__check {
    opacity: 1;
    transform: scale(1);
}

.cart-extra-card__thumb {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    overflow: hidden;
    background: #f3f4fb;
}

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

.cart-extra-card__body {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.cart-extra-card__body strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.92rem;
}

.cart-extra-card__body span {
    color: var(--accent);
    font-weight: 900;
    font-size: 0.9rem;
}

.cart-extra-card__body em {
    color: var(--muted);
    font-size: 0.76rem;
    font-style: normal;
    font-weight: 700;
}

.cart-extra-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    color: var(--text);
    font-weight: 900;
}

.cart-extra-add {
    width: 100%;
    margin-top: 12px;
}

.cart-extra-add:disabled {
    cursor: not-allowed;
    opacity: 0.48;
    box-shadow: none;
}

.cart-extra-status {

    margin: 8px 0 0;
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 700;
    text-align: center;
}

@media (max-width: 560px) {
    .cart-added-modal__dialog--extras {
        max-height: calc(100vh - 24px);
    }

    .cart-extra-section {
        margin-left: -4px;
        margin-right: -4px;
        padding: 12px 10px;
        border-radius: 20px;
    }

    .cart-extra-grid {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 2px 2px 12px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .cart-extra-grid::after {
        content: '';
        flex: 0 0 2px;
    }

    .cart-extra-card {
        flex: 0 0 132px;
        min-width: 132px;
        grid-template-columns: 1fr;
        align-content: start;
        gap: 8px;
        padding: 8px;
        border-radius: 18px;
        scroll-snap-align: start;
        text-align: left;
    }

    .cart-extra-card:hover {
        transform: none;
    }

    .cart-extra-card__thumb {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        border-radius: 14px;
    }

    .cart-extra-card__body {
        gap: 3px;
    }

    .cart-extra-card__body strong {
        display: -webkit-box;
        min-height: 36px;
        overflow: hidden;
        white-space: normal;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        line-height: 1.18;
        font-size: 0.82rem;
    }

    .cart-extra-card__body span {
        font-size: 0.86rem;
    }

    .cart-extra-card__body em {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 0.7rem;
    }

    .cart-extra-card__check {
        top: 10px;
        right: 10px;
    }

    .cart-extra-summary {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
        margin-top: 2px;
    }
}

.cart-extra-card.is-loading {
    cursor: wait;
    opacity: 0.72;
}

.cart-extra-card.is-loading * {
    pointer-events: none;
}

/* Feinschliff: Zusatzartikel im Popup dezenter und mobiler machen */
.cart-extra-section {
    margin-top: 16px;
    padding: 12px;
    border: 1px solid rgba(17,24,39,0.08);
    border-radius: 18px;
    background: rgba(248,250,255,0.52);
}

.cart-extra-section__head {
    gap: 2px;
    margin-bottom: 10px;
}

.cart-extra-section__head p {
    font-size: 0.95rem;
    font-weight: 850;
}

.cart-extra-section__head span {
    font-size: 0.82rem;
    line-height: 1.35;
}

.cart-extra-grid {
    gap: 8px;
    max-height: 172px;
    overflow-y: auto;
    padding-right: 2px;
}

.cart-extra-card {
    grid-template-columns: 48px minmax(0, 1fr);
    padding: 8px 10px;
    border-color: rgba(17,24,39,0.08);
    border-radius: 14px;
    background: rgba(255,255,255,0.86);
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.cart-extra-card:hover {
    transform: none;
    border-color: rgba(79,70,229,0.24);
    box-shadow: 0 8px 18px rgba(17,24,39,0.05);
}

.cart-extra-card.is-selected {
    border-color: rgba(79,70,229,0.58);
    background: rgba(79,70,229,0.045);
    box-shadow: 0 0 0 2px rgba(79,70,229,0.08);
}

.cart-extra-card--config {
    background: rgba(248,250,255,0.76);
}

.cart-extra-card__check {
    top: 7px;
    right: 7px;
    width: 20px;
    height: 20px;
    font-size: 0.68rem;
}

.cart-extra-card__thumb {
    width: 48px;
    height: 48px;
    border-radius: 11px;
}

.cart-extra-card__body {
    gap: 1px;
}

.cart-extra-card__body strong {
    font-size: 0.88rem;
    line-height: 1.2;
}

.cart-extra-card__body span {
    font-size: 0.84rem;
    font-weight: 850;
}

.cart-extra-card__body em {
    font-size: 0.72rem;
    font-weight: 650;
}

.cart-extra-summary {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(17,24,39,0.07);
    font-size: 0.92rem;
    font-weight: 850;
}

.cart-extra-status {
    margin-top: 7px;
    font-size: 0.8rem;
    font-weight: 650;
}

@media (max-width: 560px) {
    .cart-extra-section {
        margin-left: 0;
        margin-right: 0;
        padding: 10px;
        border-radius: 16px;
    }

    .cart-extra-grid {
        gap: 8px;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 10px;
    }

    .cart-extra-card {
        flex-basis: 124px;
        min-width: 124px;
        gap: 7px;
        padding: 7px;
        border-radius: 14px;
    }

    .cart-extra-card:hover {
        box-shadow: none;
    }

    .cart-extra-card__thumb {
        width: 100%;
        height: auto;
        border-radius: 11px;
    }

    .cart-extra-card__body strong {
        min-height: 32px;
        line-height: 1.15;
        font-size: 0.78rem;
    }

    .cart-extra-card__body span {
        font-size: 0.8rem;
    }

    .cart-extra-card__body em {
        font-size: 0.66rem;
    }

    .cart-extra-card__check {
        top: 8px;
        right: 8px;
    }

    .cart-extra-summary {
        gap: 3px;
        margin-top: 0;
        padding-top: 8px;
        font-size: 0.88rem;
    }
}
