/*
 * Moderner Stil fuer ALLE Seiten (2026-10-03), passend zur neuen Startseite (home-welcome.css):
 * Markenblau, runde Ecken, weiche Schatten, Raleway fuer Ueberschriften, helle Flaechen.
 * Wirkt auf die gemeinsamen Bausteine des Groover-Themes (Seitentitel, Kaesten, Felder, Knoepfe,
 * Hinweise, Tabellen, Filter, Produktseite, Fuss) — keine Vorlage muss dafuer umgebaut werden.
 *
 * Geladen nur mit <body class="sf-modern"> (vorerst Vorschau-Keks, siehe _theme_header.php).
 * Alles ist mit body.sf-modern gekapselt, damit es die Groover-Regeln sicher uebertrifft.
 */
body.sf-modern {
    --m-radius: 16px;
    --m-radius-sm: 10px;
    --m-shadow: 0 10px 30px rgba(20, 40, 60, .07);
    --m-shadow-hover: 0 16px 36px rgba(48, 155, 217, .16);
    --m-line: #e8ecf0;
    --m-field: #f8fafc;
    background: #fff;
}

/* ---------- Seitenkopf: heller Verlauf hinter Brotkrumen + Titel ---------- */
body.sf-modern .shop-main { background: linear-gradient(180deg, var(--shop-brand-tint) 0, #fff 300px) no-repeat; }
body.sf-modern .bread-crumb { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin-top: 8px; }
body.sf-modern .bread-crumb li { display: inline-flex; align-items: center; }
body.sf-modern .bread-crumb li a {
    display: inline-block; padding: 5px 12px; border-radius: 999px; background: #fff;
    font-size: 13px; font-weight: 600; color: var(--shop-muted); box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
}
body.sf-modern .bread-crumb li.is-marked a { color: var(--shop-brand-dark); background: #fff; }
body.sf-modern .bread-crumb li.has-separator::after { content: "›"; margin: 0 2px 0 8px; color: #b8c2cc; }
body.sf-modern .bread-crumb li.has-separator a::after,
body.sf-modern .bread-crumb li.has-separator::before { display: none; }
body.sf-modern .shop-page-title,
body.sf-modern .page-detail h1 {
    font-family: 'Raleway', sans-serif; font-weight: 800; font-size: clamp(28px, 3.6vw, 42px);
    line-height: 1.1; letter-spacing: -.01em; color: var(--shop-ink);
}

/* ---------- Abschnittsueberschriften ("Neuheiten", "Unsere Marken", "Aehnliche Artikel") ---------- */
body.sf-modern .sec-maker-header { border: 0 !important; }
body.sf-modern .sec-maker-header::before,
body.sf-modern .sec-maker-header::after { display: none !important; }
body.sf-modern .sec-maker-h3 {
    font-family: 'Raleway', sans-serif; font-weight: 800; font-size: clamp(24px, 2.8vw, 34px);
    text-transform: none; letter-spacing: -.01em; color: var(--shop-ink);
    border: 0 !important; padding: 0; background: none;
}
body.sf-modern .sec-maker-h3::before, body.sf-modern .sec-maker-h3::after { display: none !important; }
body.sf-modern .section-h4, body.sf-modern .information-heading, body.sf-modern .order-h6 { font-family: 'Raleway', sans-serif; font-weight: 800; color: var(--shop-ink); }

/* ---------- Kaesten ---------- */
body.sf-modern .shop-checkout-block,
body.sf-modern .shop-listing-filter,
body.sf-modern .shop-review-form,
body.sf-modern .shop-cart-empty {
    background: #fff; border: 1px solid var(--m-line); border-radius: var(--m-radius);
    box-shadow: var(--m-shadow);
}
body.sf-modern .shop-checkout-block { padding: 24px 26px; }
body.sf-modern .shop-auth-card { max-width: 460px; padding: 32px 32px 28px; }
body.sf-modern .shop-cart-empty { padding: 48px 24px; text-align: center; }

/* ---------- Felder ---------- */
body.sf-modern .shop-main .text-field,
body.sf-modern .shop-main input[type="text"],
body.sf-modern .shop-main input[type="email"],
body.sf-modern .shop-main input[type="password"],
body.sf-modern .shop-main input[type="tel"],
body.sf-modern .shop-main input[type="number"],
body.sf-modern .shop-main input[type="search"],
body.sf-modern .shop-main input[type="date"],
body.sf-modern .shop-main select,
body.sf-modern .shop-main textarea,
body.sf-modern .shop-main .select-box {
    border: 1px solid #dde3e9; border-radius: var(--m-radius-sm); background-color: var(--m-field);
    min-height: 46px; padding: 10px 14px; font-size: 15px; color: var(--shop-ink); box-shadow: none;
    transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
body.sf-modern .shop-main textarea { min-height: 96px; }
body.sf-modern .shop-main .text-field:focus,
body.sf-modern .shop-main input:focus,
body.sf-modern .shop-main select:focus,
body.sf-modern .shop-main textarea:focus,
body.sf-modern .shop-main .select-box:focus {
    outline: 0; border-color: var(--shop-brand); background-color: #fff; box-shadow: 0 0 0 3px rgba(48, 155, 217, .18);
}
body.sf-modern .shop-main label { font-weight: 600; font-size: 14px; color: var(--shop-ink); margin-bottom: 6px; }
body.sf-modern .shop-main input[type="checkbox"], body.sf-modern .shop-main input[type="radio"] { accent-color: var(--shop-brand); }
body.sf-modern .shop-main input[type="range"] { accent-color: var(--shop-brand); min-height: 0; border: 0; background: none; padding: 0; }

/* ---------- Knoepfe ---------- */
body.sf-modern .shop-main .button,
body.sf-modern .shop-main button.button,
body.sf-modern .mini-cart .cart-anchor,
body.sf-modern .mini-cart .checkout-anchor {
    border-radius: 12px; min-height: 46px; padding: 12px 22px; font-weight: 700; font-size: 15px;
    text-transform: none; letter-spacing: 0; line-height: 1.2;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
body.sf-modern .shop-main .button-primary,
body.sf-modern .mini-cart .checkout-anchor {
    background: var(--shop-brand); border: 0; color: #fff; box-shadow: 0 8px 20px rgba(48, 155, 217, .3);
}
body.sf-modern .shop-main .button-primary:hover,
body.sf-modern .mini-cart .checkout-anchor:hover {
    background: var(--shop-brand-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(48, 155, 217, .38);
}
body.sf-modern .shop-main .button-outline-secondary,
body.sf-modern .mini-cart .cart-anchor {
    background: #fff; border: 1px solid #dde3e9; color: var(--shop-ink); box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
}
body.sf-modern .shop-main .button-outline-secondary:hover,
body.sf-modern .mini-cart .cart-anchor:hover {
    border-color: var(--shop-brand); color: var(--shop-brand-dark); background: #fff; transform: translateY(-2px);
}
body.sf-modern .shop-main .button:disabled, body.sf-modern .shop-main .button[disabled] { transform: none; box-shadow: none; opacity: .55; }
body.sf-modern .redirect-link { font-weight: 700; color: var(--shop-brand-dark); border-bottom: 2px solid var(--shop-brand-tint); }

/* ---------- Hinweise ---------- */
body.sf-modern .shop-flash { border-radius: 12px; padding: 14px 18px; border-width: 1px; }
body.sf-modern .shop-status-banner { font-weight: 600; }

/* ---------- Tabellen (Warenkorb, Bestellungen, Vergleich, Staffelpreise) ---------- */
body.sf-modern .table-wrapper,
body.sf-modern .spec-table,
body.sf-modern .shop-tiers-table,
body.sf-modern .shop-print-table {
    border-radius: var(--m-radius); overflow: hidden; border: 1px solid var(--m-line); background: #fff;
}
body.sf-modern .table-wrapper table, body.sf-modern .spec-table table { margin: 0; }
body.sf-modern .table-wrapper th, body.sf-modern .shop-tiers-table th, body.sf-modern .shop-print-table th, body.sf-modern .spec-table th {
    background: #f6f9fb; color: var(--shop-ink); font-weight: 700; font-size: 13px; border-color: var(--m-line);
}
body.sf-modern .table-wrapper td, body.sf-modern .spec-table td { border-color: var(--m-line); }

/* ---------- Listen: Filterspalte, Sortierung, Blaettern ---------- */
body.sf-modern .shop-listing-filter { padding: 18px 18px 8px; }
body.sf-modern .shop-listing-filter .title-name { font-family: 'Raleway', sans-serif; font-weight: 800; font-size: 16px; text-transform: none; }
body.sf-modern .shop-listing-filter .shop-collapsible { border-bottom: 1px solid var(--m-line); padding-bottom: 12px; margin-bottom: 12px; }
body.sf-modern .shop-listing-filter .shop-collapsible:last-of-type { border-bottom: 0; }
body.sf-modern .page-bar { border: 0; padding: 0 0 12px; }
body.sf-modern .shop-result-count { color: var(--shop-muted); font-weight: 600; }
body.sf-modern .pagination-area .pagination-number ul { display: flex; gap: 6px; }
body.sf-modern .pagination-area .pagination-number a {
    display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; border-radius: 10px;
    background: #fff; border: 1px solid var(--m-line); font-weight: 700;
}
body.sf-modern .pagination-area .pagination-number .active a { background: var(--shop-brand); border-color: var(--shop-brand); color: #fff; }

/* ---------- Produktseite ---------- */
body.sf-modern .zoom-area, body.sf-modern .sf-stage { border-radius: 20px; overflow: hidden; }
body.sf-modern .shop-attr-btn {
    border-radius: 999px; border: 1px solid #dde3e9; background: #fff; padding: 7px 14px; font-weight: 600;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
body.sf-modern .shop-attr-btn:hover { border-color: var(--shop-brand); }
body.sf-modern .shop-attr-btn.is-selected {
    border-color: var(--shop-brand); background: var(--shop-brand-tint); color: var(--shop-brand-dark);
    box-shadow: 0 0 0 2px rgba(48, 155, 217, .25);
}
body.sf-modern .shop-attr-swatch { box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(0, 0, 0, .12); }
body.sf-modern .shop-attr-label { font-weight: 700; }
body.sf-modern .sf-design-invite, body.sf-modern #sf-design-invite {
    border-radius: var(--m-radius); border: 1px solid #cfe7f6 !important; background: linear-gradient(135deg, var(--shop-brand-tint), #fff 80%);
    box-shadow: var(--m-shadow);
}
body.sf-modern #sf-design-start { border-radius: 12px; box-shadow: 0 10px 24px rgba(48, 155, 217, .35); }
body.sf-modern #sf-design-start:hover { transform: translateY(-2px); }
body.sf-modern .sf-zone-controls { border-radius: var(--m-radius); }
body.sf-modern .sf-zone-controls .sf-btn-secondary { border-radius: 10px; }
body.sf-modern .shop-orders-paused { border-radius: 12px; }
body.sf-modern .shop-qty-input { border-radius: 10px; }
body.sf-modern .nav-tabs, body.sf-modern .detail-nav-wrapper .nav { border: 0; gap: 6px; }
body.sf-modern .detail-nav-wrapper .nav-link, body.sf-modern .nav-tabs .nav-link {
    border: 0 !important; border-radius: 999px; padding: 8px 16px; font-weight: 700; color: var(--shop-muted); background: #f3f6f9;
}
body.sf-modern .detail-nav-wrapper .nav-link.active, body.sf-modern .nav-tabs .nav-link.active { background: var(--shop-brand); color: #fff !important; }
body.sf-modern .shop-review { border-radius: var(--m-radius-sm); }

/* ---------- Kopf: Suche und Unterleiste etwas weicher ---------- */
body.sf-modern .form-searchbox { border-radius: 12px; }
body.sf-modern .form-searchbox .text-field { border-radius: 12px 0 0 12px; }
body.sf-modern .form-searchbox #btn-search { border-radius: 0 12px 12px 0; }
body.sf-modern .bottom-nav > li > a { border-radius: 999px; transition: background .15s ease, color .15s ease; }
body.sf-modern .bottom-nav > li > a:hover { background: var(--shop-brand-tint); color: var(--shop-brand-dark); }
body.sf-modern .sf-search-results { border-radius: 14px; box-shadow: 0 18px 40px rgba(20, 40, 60, .14); }
body.sf-modern .mini-cart { border-radius: 18px 0 0 18px; }

/* ---------- Fuss ---------- */
body.sf-modern .footer { background: #f6f9fb; border-top: 0; margin-top: 40px; }
body.sf-modern .outer-footer-wrapper {
    margin: -40px 0 0; padding: 40px 32px !important; border-radius: 22px; text-align: center;
    background: linear-gradient(135deg, var(--shop-brand) 0%, #4fb3ea 100%); color: #fff;
    box-shadow: 0 18px 40px rgba(48, 155, 217, .3); border: 0;
}
body.sf-modern .outer-footer-wrapper h6 { color: rgba(255, 255, 255, .9); font-weight: 600; font-size: 15px; }
body.sf-modern .outer-footer-wrapper h1 { color: #fff; font-family: 'Raleway', sans-serif; font-weight: 800; font-size: clamp(26px, 3vw, 36px); margin: 6px 0 18px; }
body.sf-modern .newsletter-form { display: flex; gap: 8px; max-width: 480px; margin: 0 auto; }
body.sf-modern .newsletter-form input[type="email"] {
    flex: 1; min-width: 0; height: 50px; padding: 0 16px; border: 0; border-radius: 12px; background: #fff; color: var(--shop-ink); font-size: 15px;
}
body.sf-modern .newsletter-form .button {
    height: 50px; padding: 0 22px; border: 0; border-radius: 12px; background: var(--shop-ink); color: #fff; font-weight: 700;
    text-transform: none; letter-spacing: 0;
}
body.sf-modern .newsletter-form .button:hover { background: #000; }
body.sf-modern .mid-footer-wrapper { padding-top: 48px; }
body.sf-modern .footer-list h6 { font-family: 'Raleway', sans-serif; font-weight: 800; font-size: 16px; color: var(--shop-ink); text-transform: none; }
body.sf-modern .footer-list ul li a { color: var(--shop-muted); }
body.sf-modern .footer-list ul li a:hover { color: var(--shop-brand-dark); }
body.sf-modern .sf-pay-list { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; list-style: none; }
body.sf-modern .sf-pay-list li {
    display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px;
    background: #fff; border: 1px solid var(--m-line); font-size: 13px; font-weight: 600; color: var(--shop-ink);
}
body.sf-modern .sf-pay-list i { color: var(--shop-brand); }
body.sf-modern .bottom-footer-wrapper { border-top: 1px solid var(--m-line); }

@media (max-width: 575px) {
    body.sf-modern .shop-auth-card { padding: 24px 18px; }
    body.sf-modern .shop-checkout-block { padding: 18px; }
    body.sf-modern .newsletter-form { flex-direction: column; }
    body.sf-modern .outer-footer-wrapper { padding: 28px 18px !important; margin-top: -24px; }
}

/* ---------- Rechtsseiten ---------- */
body.sf-modern .shop-legal-seller {
    background: #fff; border: 1px solid var(--m-line); border-radius: var(--m-radius); box-shadow: var(--m-shadow); padding: 22px 24px;
}
body.sf-modern .shop-legal-seller-name { font-family: 'Raleway', sans-serif; font-weight: 800; color: var(--shop-ink); }
body.sf-modern .page-detail h2, body.sf-modern .page-detail h3,
body.sf-modern .shop-legal-body h2, body.sf-modern .shop-legal-body h3 { font-family: 'Raleway', sans-serif; font-weight: 800; color: var(--shop-ink); }

/* Newsletter: das Theme setzt den Knopf absolut ueber das Feld (fuer seinen eckigen Rahmen). */
body.sf-modern .newsletter-form { overflow: visible; }
body.sf-modern .newsletter-form .button { position: static; transform: none; border-left: 0; flex: 0 0 auto; }
@media (max-width: 575px) {
    body.sf-modern .newsletter-form input[type="email"], body.sf-modern .newsletter-form .button { flex: 0 0 auto; width: 100%; height: 50px; }
}

/* Kopf am Handy: das Theme haelt unter dem Logo 80 px frei fuer eine Knopfleiste, die der Shop
   nicht hat — es blieb eine leere Flaeche. */
@media (max-width: 991px) {
    body.sf-modern .full-layer-bottom-header { padding-bottom: 0; }
    body.sf-modern .full-layer-mid-header { padding: 20px 0; }
}

/* ---------- Handy-Menue (mobile-nav.js) ---------- */
body.sf-modern .sf-burger-li { display: none; }
body.sf-modern .sf-burger {
    width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--shop-brand-tint); cursor: pointer;
    display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 0;
}
body.sf-modern .sf-burger span { width: 20px; height: 2.5px; border-radius: 2px; background: var(--shop-brand-dark); }
body.sf-modern .sf-drawer-backdrop {
    position: fixed; inset: 0; z-index: 1040; background: rgba(15, 25, 35, .35); opacity: 0; transition: opacity .25s ease;
}
body.sf-modern .sf-drawer-backdrop.is-open { opacity: 1; }
body.sf-modern .sf-drawer {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 1050; width: min(86vw, 360px); overflow-y: auto;
    background: #fff; border-radius: 22px 0 0 22px; box-shadow: -18px 0 50px rgba(15, 25, 35, .18);
    padding: 18px 18px 28px; transform: translateX(105%); transition: transform .25s ease;
}
body.sf-modern .sf-drawer.is-open { transform: none; }
html.sf-drawer-lock, html.sf-drawer-lock body { overflow: hidden; }
body.sf-modern .sf-drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
body.sf-modern .sf-drawer__head .shop-brand-text { font-size: 22px; }
body.sf-modern .sf-drawer__close {
    width: 40px; height: 40px; border: 0; border-radius: 12px; background: #f3f6f9; color: var(--shop-ink); font-size: 16px; cursor: pointer;
}
body.sf-modern .sf-drawer__search { display: flex; margin-bottom: 14px; }
body.sf-modern .sf-drawer__search input {
    flex: 1; min-width: 0; height: 46px; padding: 0 14px; border: 1px solid #dde3e9; border-right: 0;
    border-radius: 12px 0 0 12px; background: #f8fafc; font-size: 16px;
}
body.sf-modern .sf-drawer__search button { width: 50px; border: 0; border-radius: 0 12px 12px 0; background: var(--shop-brand); color: #fff; }
body.sf-modern .sf-drawer__list { list-style: none; margin: 0 0 12px; padding: 0; }
body.sf-modern .sf-drawer__list a {
    display: flex; align-items: center; gap: 14px; padding: 13px 12px; border-radius: 12px;
    font-weight: 700; font-size: 16px; color: var(--shop-ink);
}
body.sf-modern .sf-drawer__list a:hover, body.sf-modern .sf-drawer__list a:focus-visible { background: var(--shop-brand-tint); color: var(--shop-brand-dark); }
body.sf-modern .sf-drawer__list i { width: 22px; text-align: center; color: var(--shop-brand); }
body.sf-modern .sf-drawer__list--soft { border-top: 1px solid var(--m-line); padding-top: 10px; }
body.sf-modern .sf-drawer__list--soft a { font-weight: 600; font-size: 15px; }
/* "Zum Backend" fuer angemeldete Admins (2026-10-03): Oben rechts als Pille, im Handy-Menue als
   hervorgehobener Eintrag. Nur sichtbar, wenn ShopStatus::isAdminPreview() gilt. */
body.sf-modern .secondary-nav > li.sf-backend-li > a.sf-backend-btn {
    display: inline-flex; align-items: center; gap: 7px; padding: 4px 12px; margin-right: 6px;
    border-radius: 999px; background: var(--shop-brand); color: #fff; font-weight: 700; line-height: 1.6;
}
body.sf-modern .secondary-nav > li.sf-backend-li > a.sf-backend-btn:hover,
body.sf-modern .secondary-nav > li.sf-backend-li > a.sf-backend-btn:focus-visible { background: var(--shop-brand-dark); color: #fff; }
body.sf-modern .sf-drawer__list a.sf-drawer__backend { background: var(--shop-brand-tint); color: var(--shop-brand-dark); }
body.sf-modern .sf-drawer__count {
    margin-left: auto; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--shop-brand);
    color: #fff; font-size: 12px; display: grid; place-items: center;
}
body.sf-modern .sf-drawer__count[hidden] { display: none; }
body.sf-modern .sf-drawer__langs { display: flex; gap: 8px; padding: 6px 12px; }
body.sf-modern .sf-drawer__langs a { padding: 6px 12px; border-radius: 999px; background: #f3f6f9; font-weight: 700; }
body.sf-modern .sf-drawer__langs a[aria-current] { background: var(--shop-brand); color: #fff; }

@media (max-width: 991px) {
    body.sf-modern .sf-burger-li { display: list-item; margin-left: 10px; }
    /* Logo links, Warenkorb + Menue rechts in EINER Zeile statt untereinander. */
    body.sf-modern .full-layer-mid-header .row { flex-wrap: nowrap; }
    body.sf-modern .full-layer-mid-header .row > div { flex: 0 0 auto; width: auto; max-width: none; }
    body.sf-modern .full-layer-mid-header .row > div:first-child { flex: 1 1 auto; min-width: 0; }
    body.sf-modern .full-layer-mid-header .brand-logo { text-align: left !important; }
    body.sf-modern .full-layer-mid-header .shop-brand-text { font-size: 22px; }
    body.sf-modern .mid-nav { display: flex; align-items: center; justify-content: flex-end; text-align: right; }
    body.sf-modern .mid-nav .item-price { display: none; }
}
@media (min-width: 992px) {
    body.sf-modern .sf-drawer, body.sf-modern .sf-drawer-backdrop { display: none !important; }
}

/* ---------- Filter am Handy aufklappbar ---------- */
body.sf-modern .sf-filter-toggle { display: none; }
@media (max-width: 767px) {
    body.sf-modern .sf-filter-toggle {
        display: flex; align-items: center; gap: 10px; width: 100%; height: 50px; padding: 0 16px; margin-bottom: 14px;
        border: 1px solid var(--m-line); border-radius: 14px; background: #fff; box-shadow: var(--m-shadow);
        font-weight: 700; font-size: 15px; color: var(--shop-ink); cursor: pointer;
    }
    body.sf-modern .sf-filter-toggle i:first-child { color: var(--shop-brand); }
    body.sf-modern .sf-filter-toggle__n {
        min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--shop-brand); color: #fff;
        font-size: 12px; display: grid; place-items: center;
    }
    body.sf-modern .sf-filter-toggle__caret { margin-left: auto; color: var(--shop-muted); transition: transform .2s ease; }
    body.sf-modern .shop-listing-sidebar.is-open .sf-filter-toggle__caret { transform: rotate(180deg); }
    body.sf-modern .shop-listing-sidebar.sf-js:not(.is-open) .shop-listing-filter { display: none; }
    body.sf-modern .shop-listing-sidebar.is-open .shop-listing-filter { margin-bottom: 20px; }
}
@media (max-width: 991px) {
    /* Warenkorb-Zahl haengt sonst am rechten Rand neben dem Menue-Knopf. */
    body.sf-modern .mid-nav #mini-cart-trigger { position: relative; display: inline-block; }
    body.sf-modern .mid-nav #mini-cart-trigger .item-counter { position: absolute; top: -8px; right: -10px; left: auto; margin: 0; }
}

/* Farbname + kleiner Herstellercode auf der Produktseite (Migration 045) */
body.sf-modern .shop-attr-code { margin-left: 6px; font-size: 11px; font-weight: 600; color: #9aa5b1; }
body.sf-modern .shop-attr-btn.is-selected .shop-attr-code { color: var(--shop-brand); }

/* Farbauswahl einklappen (colour-more.js) */
body.sf-modern .shop-attr-btn[hidden] { display: none; }
body.sf-modern .shop-attr-more {
    display: inline-flex; align-items: center; padding: 7px 14px; border-radius: 999px; cursor: pointer;
    border: 1px dashed var(--shop-brand); background: #fff; color: var(--shop-brand-dark); font-weight: 700; font-size: 14px;
}
body.sf-modern .shop-attr-more:hover { background: var(--shop-brand-tint); }

/* ---------- Miniaturbilder als eine Reihe zum Wischen (product-media.js: setupThumbRows) ---------- */
body.sf-modern .sf-thumbwrap { position: relative; }
body.sf-modern .sf-thumbrow {
    display: flex !important; flex-wrap: nowrap !important; gap: 10px; overflow-x: auto !important; overflow-y: hidden; scroll-snap-type: x mandatory;
    scrollbar-width: none; -webkit-overflow-scrolling: touch; padding: 4px 2px 6px; margin-top: 12px;
}
body.sf-modern .sf-thumbrow::-webkit-scrollbar { display: none; }
body.sf-modern .sf-thumbrow > a {
    flex: 0 0 calc((100% - 30px) / 4); width: auto !important; float: none !important; margin: 0 !important;
    scroll-snap-align: start; border-radius: 12px; overflow: hidden; border: 2px solid transparent; background: #f5f7f9;
    transition: border-color .15s ease;
}
body.sf-modern .sf-thumbrow > a[hidden] { display: none !important; }
body.sf-modern .sf-thumbrow > a.active { border-color: var(--shop-brand); }
body.sf-modern .sf-thumbrow > a img { display: block; width: 100%; height: auto; }
body.sf-modern .sf-thumbnav {
    position: absolute; top: 50%; z-index: 2; width: 34px; height: 34px; margin-top: -14px; border: 0; border-radius: 50%;
    background: #fff; color: var(--shop-ink); font-size: 22px; line-height: 1; cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .15); display: grid; place-items: center;
}
body.sf-modern .sf-thumbnav[hidden] { display: none; }
body.sf-modern .sf-thumbnav.is-prev { left: -8px; }
body.sf-modern .sf-thumbnav.is-next { right: -8px; }
@media (hover: none) { body.sf-modern .sf-thumbnav { display: none; } }

/* Hinweis unter "PayPal" in der Kasse (SDK laedt erst nach Auswahl) */
body.sf-modern .sf-paypal-privacy { margin: 0 0 12px; padding: 10px 14px; border-radius: 10px; background: #f6f9fb; color: var(--shop-muted); font-size: 13px; line-height: 1.5; }

/* ---------- Widerrufsfunktion (§ 356a BGB) + Gewaehrleistungshinweis (2026-10-03) ---------- */
/* "Hervorgehoben" laut Gesetz: eigener, gut sichtbarer Knopf statt eines Links in der Liste. */
body.sf-modern .sf-withdraw-button {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px;
    padding: 10px 16px; border-radius: 12px; border: 2px solid var(--shop-ink); background: #fff;
    color: var(--shop-ink) !important; font-weight: 800; font-size: 14px; text-decoration: none !important;
}
body.sf-modern .sf-withdraw-button:hover { background: var(--shop-ink); color: #fff !important; }
body.sf-modern .sf-withdraw-button--inline { margin-left: 8px; }
body.sf-modern .sf-footer-delivery { margin: 12px 0 0; font-size: 13px; color: var(--shop-muted); line-height: 1.7; }
body.sf-modern .sf-footer-delivery i { color: var(--shop-brand); width: 16px; }
body.sf-modern .sf-withdraw { max-width: 640px; }
body.sf-modern .sf-withdraw textarea { width: 100%; }
body.sf-modern .sf-withdraw__confirm { width: 100%; margin-top: 6px; }
body.sf-modern .sf-withdraw__summary { width: 100%; margin: 16px 0; border-collapse: collapse; }
body.sf-modern .sf-withdraw__summary th { text-align: left; padding: 8px 12px 8px 0; color: var(--shop-muted); font-weight: 600; width: 40%; vertical-align: top; }
body.sf-modern .sf-withdraw__summary td { padding: 8px 0; border-top: 1px solid var(--m-line); }
body.sf-modern .sf-withdraw__summary th { border-top: 1px solid var(--m-line); }
body.sf-modern .sf-warranty-notice { margin: 20px 0; max-width: 720px; }
body.sf-modern .sf-warranty-notice img { display: block; width: 100%; height: auto; border-radius: 6px; box-shadow: var(--m-shadow); }
body.sf-modern .sf-warranty-note { display: flex; align-items: center; gap: 10px; margin: 16px 0 0; font-size: 13px; color: var(--shop-muted); }
body.sf-modern .sf-warranty-note__badge {
    flex: 0 0 28px; height: 28px; border-radius: 8px; display: grid; place-items: center;
    background: #003399; color: #FFED00; font-weight: 800; font-size: 14px;
}

/* Hersteller und Produktsicherheit (GPSR, _product_safety.php) */
body.sf-modern .shop-product-safety { text-align: left; }
body.sf-modern .shop-ps-list { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; margin: 0; font-size: 13.5px; }
body.sf-modern .shop-ps-list dt { font-weight: 700; color: var(--shop-ink); }
body.sf-modern .shop-ps-list dd { margin: 0; color: var(--shop-muted); line-height: 1.5; }
@media (max-width: 575px) { body.sf-modern .shop-ps-list { grid-template-columns: 1fr; gap: 2px; } body.sf-modern .shop-ps-list dd { margin-bottom: 8px; } }

/* Fuss: das Theme legte per CSS ein Bild mit Skrill/Bitcoin/Amex/Mastercard/Visa unter die
   Copyright-Zeile — keine davon wird angeboten (irrefuehrend). Die echten Zahlarten stehen in
   der Spalte "Bezahlen & Versand". */
body.sf-modern .bottom-footer-wrapper::before { display: none !important; content: none !important; }

/* Kategorien-Menue (Theme): am Rechner im neuen Stil, am Handy statt dessen im Seitenmenue. */
body.sf-modern .v-menu .v-title { border-radius: 12px; font-weight: 700; text-transform: none; letter-spacing: 0; }
body.sf-modern .v-menu .v-wrapper { border-radius: 0 0 14px 14px; overflow: hidden; box-shadow: 0 16px 36px rgba(20, 40, 60, .14); }
@media (max-width: 991px) {
    body.sf-modern .full-layer-bottom-header .v-menu { display: none; }
}
body.sf-modern .sf-drawer__label { margin: 6px 12px 4px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--shop-muted); }
body.sf-modern .sf-drawer__sub { list-style: none; margin: 0 0 4px 48px; padding: 0; }
body.sf-modern .sf-drawer__sub a { display: block; padding: 6px 0; font-size: 14px; font-weight: 600; color: var(--shop-muted); }
body.sf-modern .sf-drawer__sub a:hover { color: var(--shop-brand-dark); }
body.sf-modern .sf-drawer__list--cats { border-top: 1px solid var(--m-line); padding-top: 6px; }

/* ---------- Kaufablauf rechtssicher (2026-10-03) ---------- */
body.sf-modern .sf-final-summary {
    margin: 18px 0; padding: 20px 22px; background: #fff; border: 1px solid var(--m-line);
    border-radius: var(--m-radius); box-shadow: var(--m-shadow);
}
body.sf-modern .sf-final-summary .section-h4 { margin-bottom: 12px; }
body.sf-modern .sf-fs-lines { list-style: none; margin: 0 0 12px; padding: 0; }
body.sf-modern .sf-fs-line { padding: 10px 0; border-bottom: 1px solid var(--m-line); }
body.sf-modern .sf-fs-head { display: flex; justify-content: space-between; gap: 12px; font-weight: 700; color: var(--shop-ink); }
body.sf-modern .sf-fs-price { white-space: nowrap; }
body.sf-modern .sf-fs-meta { margin-top: 3px; color: var(--shop-muted); font-size: 13px; line-height: 1.5; }
body.sf-modern .sf-fs-wd, body.sf-modern .sf-wd-hint { margin-top: 4px; font-size: 12.5px; font-weight: 600; color: #1c6b3a; }
body.sf-modern .sf-fs-wd.is-excluded, body.sf-modern .sf-wd-hint.is-excluded { color: #8a5a00; }
body.sf-modern .sf-fs-totals { width: 100%; border: 0; margin: 0; }
body.sf-modern .sf-fs-totals td { padding: 5px 0; border: 0; font-size: 14.5px; color: var(--shop-ink); }
body.sf-modern .sf-fs-totals td:last-child { text-align: right; white-space: nowrap; }
body.sf-modern .sf-fs-totals tr[hidden] { display: none; }
body.sf-modern .sf-fs-grand td { padding-top: 10px; border-top: 2px solid var(--shop-ink); font-size: 18px; font-weight: 800; }
body.sf-modern .sf-fs-vat td { color: var(--shop-muted); font-size: 13px; padding-top: 0; }
body.sf-modern .sf-fs-note { margin: 8px 0 0; font-size: 13.5px; color: var(--shop-ink); }
body.sf-modern .sf-cart-delivery { padding: 14px 16px; border-radius: 12px; background: #f6f9fb; }
body.sf-modern .sf-cart-delivery p { margin: 0 0 4px; font-size: 14px; }
body.sf-modern .shop-lead-time { margin: 6px 0 0; font-size: 13.5px; font-weight: 600; color: var(--shop-ink); }
body.sf-modern .shop-review-verified-note { margin: 0 0 14px; padding: 10px 14px; border-radius: 10px; background: #f6f9fb; color: var(--shop-muted); font-size: 13.5px; }
body.sf-modern .sf-paypal-next { margin: 0 0 10px; font-weight: 700; color: var(--shop-ink); }
body.sf-modern .sf-terms-missing { margin: 6px 0 12px; }
body.sf-modern .sf-rights { display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; background: #fff8e6; font-size: 13px; line-height: 1.45; }
body.sf-modern .sf-rights input { margin-top: 3px; flex: 0 0 auto; }
body.sf-modern .sf-dpi-warn { margin: 6px 0 10px; padding: 8px 12px; border-radius: 10px; background: #fdecec; color: #a12626; font-size: 13px; }
body.sf-modern .sf-dpi-warn[hidden] { display: none; }

/* Logo gestaltbares.de (2026-10-03) statt Schriftzug "KonfiguratorShop" */
body.sf-modern .shop-brand-text .sf-logo { display: block; height: 44px; width: auto; max-width: 100%; }
@media (max-width: 991px) { body.sf-modern .shop-brand-text .sf-logo { height: 34px; } }
@media (max-width: 380px) { body.sf-modern .shop-brand-text .sf-logo { height: 28px; } }
body.sf-modern .sf-drawer__head .sf-logo { height: 30px; }

/* Widerrufsknopf im Fuss so gross wie der uebrige Fusstext (Wunsch Nutzer 2026-10-03). Bleibt
   durch Rahmen + Fettschrift als Schaltflaeche erkennbar — § 356a BGB verlangt "hervorgehoben". */
body.sf-modern .footer .sf-withdraw-button {
    margin-top: 10px; padding: 3px 10px; border-width: 1px; border-radius: 8px;
    font-size: 13px; font-weight: 700; line-height: 19.5px;
}
