/*! BESA source: besa-checkout.css */
/* A-1449: Vorhandenes BESA-Layout, nur Ausrichtung und Kostenübersicht. */
.besa-checkout-cost-row { display:flex; justify-content:space-between; gap:1rem; margin:.65rem 0; }
.besa-checkout-cost-row > :last-child { white-space:nowrap; }
.besa-checkout-cost-total { border-top:1px solid currentColor; padding-top:1rem; margin-top:1rem; font-weight:700; }
.besa-checkout-cost-tax { font-size:.875em; }
.checkout-payment-method .niu-checkout-payment-method-info { flex:1; min-width:0; }
.checkout-payment-method .niu-checkout-payment-method-image { margin-left:auto; padding-left:1rem; flex-shrink:0; }
.checkout-payment-method .niu-checkout-payment-method-image .klarna_badge { margin:0; }
.checkout-payment-method .niu-checkout-payment-method-image .klarna_badge img { width:75px; max-width:100%; }

.checkout-payment-method .niu-checkout-payment-method-image {
    display:flex; align-items:center; justify-content:flex-end;
    width:120px; max-width:120px; flex:0 0 120px; padding-left:0; margin-left:.75rem;
}
.checkout-payment-method .niu-checkout-payment-method-image img { max-width:100%; object-fit:contain; }
.checkout-payment-method .niu-checkout-payment-method-image .paypal-marks { width:auto !important; }
.checkout-payment-method .niu-checkout-payment-method-image .paypal-mark { margin:0; padding:0; border:0; }
.checkout-payment-method:has(.klarna_combined_payment) > div > label { width:100%; padding:1rem; }
.checkout-payment-method .niu-checkout-payment-method-image:not(:has(img, svg)) { display:none; }

/* Letzter Prüfschritt: alle Positionen ohne inneres Scrollen oder Verlauf lesen. */
#checkout .besa-final-cart-expanded .niu-basket-items.niu-scroll-more-container {
    max-height:none !important;
    height:auto !important;
    overflow:visible !important;
    mask-image:none !important;
    -webkit-mask-image:none !important;
}
#checkout .besa-final-cart-expanded .niu-scroll-more-indicator { display:none !important; }
#checkout #collapse-final-cart:has(.besa-final-cart-expanded) {
    display:block !important;
    height:auto !important;
    overflow:visible !important;
}

/* Klarna entfernt die native Labelklasse für seine kombinierte Sofortzahlung.
   Der äußere Auswahlrahmen bleibt deshalb ausdrücklich erhalten. */
.checkout-payment-method:has(.klarna_combined_payment) > div > label {
    display: block;
    border: 1px solid var(--border-color, #dedede);
    border-radius: .25rem;
}

/* Befund M4: Wartezustand nach Versandwechsel in der Kasse sichtbar machen (js/besa-cart-choice.js). */
form.besa-shipping-busy #checkout-shipping-payment { opacity:.55; transition:opacity .15s; cursor:progress; }
.besa-checkout-status { margin:.75rem 0; font-weight:600; }
form.besa-shipping-busy .besa-checkout-status::before {
    content:""; display:inline-block; width:1em; height:1em; margin-right:.5em; vertical-align:-.15em;
    border:2px solid currentColor; border-right-color:transparent; border-radius:50%;
    animation:besa-checkout-spin .8s linear infinite;
}
.besa-checkout-status--error { color:#b00020; }
@keyframes besa-checkout-spin { to { transform:rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
    form.besa-shipping-busy .besa-checkout-status::before { animation:none; }
}

/* Keep dispatch/pickup hints and sidebar status from moving the checkout controls. */
[data-besa-delivery-info] {
    display: grid;
    grid-template-rows: minmax(1.4em, auto) minmax(1.05em, auto);
}
[data-besa-shipping-form="sidebar"] [data-besa-shipping-status] {
    line-height: 1.5;
    min-height: 1.5em;
}

/*! BESA source: besa-shop.css */
/* A-1450: BESA-Farben und vorhandene Lato-Schrift, nur Darstellung. */
:root { --besa-ink: #36383a; --besa-blue-readable: #276482; --besa-header-offset: 150px; }
/* F06: Existing CMS text and desktop layout retained; limit fixed side spacing on small screens. */
@media (max-width: 991.98px) {
    #content.besa-service-content { min-width: 0; overflow-wrap: anywhere; }
    #content.besa-service-content .besa-cms-horizontal-spacing {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }
    #content.besa-service-content .besa-cms-body-copy { font-size: 1rem !important; line-height: 1.6; }
    #content.besa-service-content img { max-width: 100%; height: auto; }
    #content.besa-service-content a { overflow-wrap: anywhere; }
    #content.besa-service-content .row { margin-left: 0; margin-right: 0; }
    #content.besa-service-content .row > [class*="col"] { min-width: 0; }
    #content.besa-service-content .nav-item,
    #content.besa-service-content .nav-link { min-width: 0; max-width: 100%; }
    #content.besa-service-content .text-truncate { white-space: normal; overflow-wrap: anywhere; }
}
#cfg-grp-201 .besa-tax-duplicate { display: none !important; }
#cfg-grp-201 .besa-config-tax-choice { margin: .5rem 0 1rem !important; }
#main-wrapper .btn-secondary { background: #36383a; border-color: #36383a; color: #fff; }
#main-wrapper .btn-secondary:hover { background: #1f2021; border-color: #1f2021; }
#main-wrapper .btn-link, #main-wrapper .filter-item, #main-wrapper .productbox-title a { color: var(--besa-ink); }
#main-wrapper .productbox-title a:hover { color: #c30100; }
#main-wrapper .product-title { font-size: clamp(1.35rem, 1.8vw, 1.8rem); line-height: 1.3; }
#main-wrapper .price_wrapper > .price { font-size: 1.65rem; font-weight: 700; }
/* Identische Schalterkontur im Kopf und am Artikel, Funktion des Plugins erhalten. */
.custom-switch:has(.changeSolarMwst-trigger) { padding-left: 3rem; min-height: 1.5rem; flex-shrink: 0; }
.custom-switch .changeSolarMwst-trigger ~ .custom-control-label::before { width: 2.5rem; height: 1.4rem; left: -3rem; top: .05rem; border-radius: 1rem; border: 1px solid #6b7280; background: #6b7280; box-shadow: none; }
.custom-switch .changeSolarMwst-trigger ~ .custom-control-label::after { width: 1rem; height: 1rem; left: calc(-3rem + .2rem); top: .25rem; border-radius: 50%; background: #fff; }
.custom-switch .changeSolarMwst-trigger:checked ~ .custom-control-label::before { background: #36383a; border-color: #36383a; }
.custom-switch .changeSolarMwst-trigger:checked ~ .custom-control-label::after { transform: translateX(1.1rem); background: #fff; }
.custom-switch .changeSolarMwst-trigger:focus-visible ~ .custom-control-label::before { outline: 3px solid #5ba7d1; outline-offset: 3px; }
#niu-top-bar .tp-solar-popup { color: #fff; font-size: .9rem; line-height: 1.4; text-decoration: underline; text-underline-offset: .15em; }
#niu-top-bar .changeSolarMwst-trigger:checked ~ .custom-control-label::before { background: #fff; border-color: #fff; }
#niu-top-bar .changeSolarMwst-trigger:checked ~ .custom-control-label::after { background: #36383a; }
.mwst-switcher-product { padding: .75rem; margin: .65rem 0 !important; border: 1px solid #d8dde1; border-radius: .5rem; background: #f9fafb; gap: .2rem; }
.mwst-switcher-product .tp-solar-popup { color: #36383a; font-size: .9rem; line-height: 1.4; text-decoration: underline; text-underline-offset: .15em; }
/* Leistung bleibt vor der Liste, die übrigen echten Filter stehen links. */
.besa-power-filter { margin: 1rem 0 1.5rem; }
.besa-filter-heading { font-size: 1rem; font-weight: 700; margin-bottom: .75rem; }
.besa-power-filter .filter-search-wrapper, .besa-power-filter .filter-search-wrapper > .collapse.show, .besa-power-filter .nav { display: flex !important; flex-direction: row !important; flex-wrap: wrap; gap: .5rem; }
.besa-power-filter .filter-item { border: 1px solid #b6bdc3; border-radius: .4rem; padding: .5rem .75rem; margin: 0; color: #36383a; }
.besa-power-filter .filter-item:hover, .besa-power-filter .filter-item.active { border-color: #36383a; background: #f1f3f4; }
.besa-power-filter .box-link-wrapper { display: flex; align-items: center; gap: .4rem; }
.besa-filter-panel { border: 1px solid #d8dde1; border-radius: .5rem; background: #fff; padding: .75rem; margin-bottom: 1.25rem; }
.besa-filter-panel > summary { font-size: 1rem; font-weight: 700; color: #36383a; cursor: pointer; padding: .35rem 0; }
.besa-filter-panel #niu-content-filter-panel { display: block !important; }
.besa-filter-panel #niu-content-filter-panel > .box { display: block !important; width: 100%; margin: 0; padding: .35rem 0; border: 0; border-radius: 0; box-shadow: none; border-bottom: 1px solid #e5e7eb; }
.besa-filter-panel #niu-content-filter-panel > .box:last-child { border-bottom: 0; }
.besa-filter-panel .btn-filter-box { color: #36383a; background: transparent; padding: .6rem 0; font-size: .95rem; text-align: left; }
.besa-filter-panel .box-filter-hr { display: none; }
.besa-filter-panel .filter-item { font-size: .95rem; }
#jtl-nav-wrapper.besa-direction-header { position: sticky; top: 0; transition: top .2s ease; }
#jtl-nav-wrapper.besa-header-hidden { top: calc(-1 * var(--besa-header-height)) !important; }
@media (min-width: 992px) {
    .besa-split-filters #sidepanel_left { align-self: stretch; flex: 0 0 25%; max-width: 25%; }
    .besa-split-filters .row:has(> #sidepanel_left) > .col-lg-8 { flex: 0 0 75%; max-width: 75%; }
    .besa-split-filters #sidepanel_left > :not(.besa-filter-panel) { display: none; }
    .besa-filter-panel { position: sticky; top: var(--besa-panel-top, var(--besa-header-offset)); max-height: calc(100vh - var(--besa-header-offset) - 16px); overflow-y: auto; overscroll-behavior: contain; }
    .besa-filter-panel > summary { pointer-events: none; list-style: none; }
    .besa-filter-panel > summary::-webkit-details-marker { display: none; }
}
@media (max-width: 991px) {
    .besa-filter-panel { position: static; }
    .besa-power-filter .filter-item { min-height: 44px; }
    .mwst-switcher-product { flex-wrap: wrap !important; }
}
@media (prefers-reduced-motion: reduce) { #jtl-nav-wrapper.besa-direction-header { transition: none; } }

.besa-filter-more-unused { display: none !important; }
/* Bestehende spätere Plugin-Regeln gezielt überstimmen. */
.mwst-switcher-product .tp-solar-popup { color: #36383a !important; }
#niu-top-bar .tp-solar-popup { color: #fff !important; }
#main-wrapper .besa-bulk-prices__button { color: #36383a !important; background: #f1f3f4 !important; border: 1px solid #b6bdc3 !important; box-shadow: none !important; }
#main-wrapper .besa-bulk-prices__button:hover { background: #e5e7eb !important; }
#main-wrapper .btn-checkout { background: #c30100 !important; border-color: #c30100 !important; color: #fff !important; }
#main-wrapper .btn-checkout:hover { background: #a60100 !important; border-color: #a60100 !important; }
#main-wrapper .price_wrapper:has(.mwst-switcher-product) .price { font-size: 1.65rem !important; font-weight: 700; }
#main-wrapper .attr-characteristic .badge-primary { background: #e9edf0 !important; color: #36383a !important; border-radius: .35rem; font-size: .875rem; line-height: 1.4; white-space: normal; }

/* Feststehende Leistungsauswahl und eine gemeinsame Kopfsteuerung. */
#jtl-nav-wrapper.besa-direction-header { transform: none !important; transition: top .2s ease !important; }
.besa-power-filter { position: sticky; top: var(--besa-header-offset); z-index: 1000; background: #fff; padding: .75rem 0; border-bottom: 1px solid #d8dde1; box-shadow: 0 5px 8px -8px #36383a; transition: top .2s ease; }
.besa-filter-panel { transition: none !important; }
@media (max-width: 991px) {
    .besa-power-filter { margin-top: .5rem; padding: .65rem 0; }
    .besa-power-filter .filter-search-wrapper { flex-wrap: nowrap !important; overflow-x: auto; padding-bottom: .3rem; scrollbar-width: thin; }
    .besa-power-filter .filter-search-wrapper > .collapse.show, .besa-power-filter .nav { display: contents !important; }
    .besa-power-filter .filter-item { flex: 0 0 auto; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
    #jtl-nav-wrapper.besa-direction-header, .besa-power-filter, .besa-filter-panel { transition: none !important; }
}

#jtl-nav-wrapper.besa-direction-header.besa-header-compact:not(.besa-header-hidden) { top: calc(-1 * var(--besa-compact-hidden-height)) !important; }

/* Klartext ergänzt die unveränderte fachliche Beschriftung des Steuer-Plugins. */
.custom-switch .besa-tax-state { display: inline-block; font-weight: 700; font-size: .85rem; line-height: 1.5rem; white-space: normal; overflow-wrap: anywhere; }
.changeSolarMwst-trigger ~ .custom-control-label .besa-tax-on { display: none; }
.changeSolarMwst-trigger:checked ~ .custom-control-label .besa-tax-on { display: inline; }
.changeSolarMwst-trigger:checked ~ .custom-control-label .besa-tax-off { display: none; }
.custom-switch .changeSolarMwst-trigger ~ .custom-control-label::before { background: #e5e7eb !important; border-color: #687078 !important; }
.custom-switch .changeSolarMwst-trigger ~ .custom-control-label::after { background: #36383a !important; transform: none; }
.custom-switch .changeSolarMwst-trigger:checked ~ .custom-control-label::before { background: #5ba7d1 !important; border-color: #5ba7d1 !important; }
.custom-switch .changeSolarMwst-trigger:checked ~ .custom-control-label::after { background: #fff !important; transform: translateX(1.1rem); }
.mwst-switcher-product { flex-wrap: wrap !important; gap: .5rem 1rem; }

[data-niu-floating-checkout]:not(.besa-purchase-passed) { visibility: hidden !important; opacity: 0 !important; pointer-events: none !important; }

/* NIU markiert sichtbares Copyright mit .not: am Footer ausblenden statt nach oben fliegen. */
[data-niu-floating-checkout].show.not {
    transform: translateY(100%) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Steuerfelder dürfen auch in schmalen Checkout-Karten umbrechen. */
.custom-switch:has(.changeSolarMwst-trigger) { min-width: 0; max-width: 100%; flex-shrink: 1; }
.custom-switch .changeSolarMwst-trigger ~ .custom-control-label { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.nav-mwst-switcher:has(.changeSolarMwst-trigger), .mwst-switcher-product { min-width: 0; max-width: 100%; flex-wrap: wrap !important; }
.nav-mwst-switcher [data-switch-label-state], .mwst-switcher-product [data-switch-label-state] { min-width: 0; max-width: 100%; }
.nav-mwst-switcher .tp-solar-popup, .mwst-switcher-product .tp-solar-popup { white-space: normal; overflow-wrap: anywhere; }
.card-header:has(.changeSolarMwst-trigger) .row > .col { min-width: 0; }
@media (max-width: 575px) {
    .card-header:has(.changeSolarMwst-trigger) .row > .col { flex: 0 0 100%; max-width: 100%; }
    .card-header:has(.changeSolarMwst-trigger) .col-auto { margin-top: .5rem; }
}

/* Deckender Kopfbereich, ohne die feste Position der Filter zu verändern. */
.besa-power-filter.besa-power-pinned::before {
    content: ''; position: absolute; bottom: 100%;
    left: calc(-1 * var(--besa-power-left)); width: var(--besa-page-width);
    height: var(--besa-header-offset); background: #fff;
    pointer-events: none; z-index: -1;
}
@media (max-width: 991px) {
    .besa-power-filter.besa-power-pinned::after {
        content: ''; position: absolute; top: 0; bottom: 0;
        left: calc(-1 * var(--besa-power-left)); width: var(--besa-page-width);
        background: #fff; pointer-events: none; z-index: -1;
    }
}

/* Auch den Zwischenraum neben der Leiste gegen Kartenschatten abdecken. */
@media (min-width: 992px) {
    .besa-power-filter.besa-power-pinned::after {
        content: ''; position: absolute; top: 0; bottom: 0;
        left: calc(-1 * var(--besa-power-gutter));
        width: calc(var(--besa-page-width) - var(--besa-power-left) + var(--besa-power-gutter));
        background: #fff; pointer-events: none; z-index: -1;
    }
}

/* Nur die vorhandenen roten Hervorhebungen im Steuerhinweis umfärben. */
.modal-solar-steuerfrei [style*="#a80000"],
.modal-solar-steuerfrei [style*="#c01a1a"] { color: #5ba7d1 !important; }

/* NIU zentriert den Knopf mit einer wichtigen Transformationsregel. */
.custom-switch .changeSolarMwst-trigger ~ .custom-control-label::after {
    top: 50% !important; transform: translate(0, -50%) !important;
    transition: transform .18s ease, background-color .18s ease !important;
}
.custom-switch .changeSolarMwst-trigger:checked ~ .custom-control-label::after {
    transform: translate(1.1rem, -50%) !important;
}
@media (prefers-reduced-motion: reduce) {
    .custom-switch .changeSolarMwst-trigger ~ .custom-control-label::after { transition: none !important; }
}

/* Schalterfläche und Knopf auf dieselbe vertikale Mitte beziehen. */
.custom-switch .changeSolarMwst-trigger ~ .custom-control-label::before {
    top: 50% !important; transform: translateY(-50%) !important;
}

/* Kompakter Informationszugang im dunklen Kopf, unabhängig vom Steuerschalter. */
#niu-top-bar .besa-tax-info-icon { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; margin-left: 12px; padding: 8px; color: inherit; text-decoration: none; vertical-align: middle; }
#niu-top-bar .besa-tax-info-icon span { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border: 1.5px solid currentColor; border-radius: 50%; font-size: 14px; font-weight: 700; line-height: 1; }
#niu-top-bar .besa-tax-info-icon:focus-visible { outline: 2px solid #5ba7d1; outline-offset: 2px; border-radius: 4px; }
/* Tempo 09.11.2026: Endzustand von initHeaderTaxInfo() schon vor dem Skript, sonst ändert sich die
   Höhe der oberen Leiste nach dem ersten Bild und die ganze Seite springt. Gleiche Maße wie oben. */
#niu-top-bar .dzm-niu-topbar-welcome-message { display: none !important; }
#niu-top-bar .tp-solar-popup:not(.besa-tax-info-icon) { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; margin-left: 12px; padding: 8px; font-size: 0 !important; text-decoration: none; vertical-align: middle; color: inherit; }
#niu-top-bar .tp-solar-popup:not(.besa-tax-info-icon)::before { content: 'i'; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border: 1.5px solid currentColor; border-radius: 50%; font-size: 14px; font-weight: 700; line-height: 1; }

/* Einzelner mittiger Zugang zum nativen Widerrufsformular. */
#footer .besa-withdrawal-footer { display: flex; justify-content: center; width: 100%; padding: 1.5rem 0; }
#footer .besa-withdrawal-button { background: #2b719a; border: 1px solid #2b719a; color: #fff; min-height: 44px; padding: .75rem 1.5rem; font-weight: 700; text-decoration: none; }
#footer .besa-withdrawal-button:hover { background: #225c7e; border-color: #225c7e; color: #fff; }
#footer .besa-withdrawal-button:focus-visible { outline: 3px solid #fff; outline-offset: 4px; box-shadow: 0 0 0 7px #15242d; }
/* Redundante Altzugänge im Footer, nur der neue native Button bleibt sichtbar. */
#footer a[href$="/Online-Widerrufsformular"]:not(.besa-withdrawal-button),
#footer a[href$="/Ruecktrittsformular"] { display: none !important; }

/* Native Widerrufsseite: BESA-Button und Abstand zum dunklen Newsletter/Footer. */
#online-revocation-form { padding-bottom: 4rem; }
#online-revocation-form .withdrawal-form button[type="submit"] {
    background: #5ba7d1 !important; border-color: #5ba7d1 !important;
    color: #fff !important; box-shadow: none !important; min-height: 44px;
}
#online-revocation-form .withdrawal-form button[type="submit"]:hover {
    background: #72b4d8 !important; border-color: #72b4d8 !important;
    color: #fff !important; box-shadow: none !important;
}
#online-revocation-form .withdrawal-form button[type="submit"]:focus-visible {
    outline: 3px solid #15242d; outline-offset: 3px;
    box-shadow: none !important;
}
@media (max-width: 767.98px) {
    #online-revocation-form { padding-bottom: 3rem; }
}

/* C3, 22.10.2026: Consentdialog und Wiederöffnen über der Kaufleiste. */
#consent-manager.active {
    z-index: 1201;
}

/* BESA 2026-10-23: reserve validation space only in customer login email groups. */
#login_form .form-group:has(#email),
.form-group:has(#email_quick) {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(3.5em, auto);
}
#login_form .form-group:has(#email)::after,
.form-group:has(#email_quick)::after {
  content: ""; grid-column: 1; grid-row: 2; min-height: 3.5em;
}
#login_form .form-group:has(#email) > .d-flex,
.form-group:has(#email_quick) > .d-flex { grid-column: 1; grid-row: 1; }
#login_form .form-group:has(#email) > .form-error-msg,
.form-group:has(#email_quick) > .form-error-msg { grid-column: 1; grid-row: 2; align-self: start; }

@media (max-width: 575.98px) {
  #login_form .form-group:has(#email), .form-group:has(#email_quick) { grid-template-rows: auto minmax(5em, auto); }
  #login_form .form-group:has(#email)::after, .form-group:has(#email_quick)::after { min-height: 5em; }
}

/*! BESA source: besa-filter-20261016.css */
/* Ergänzt die vorhandene NIU/BESA-Darstellung. Ohne init() ohne Wirkung. */
/* Tempo 09.11.2026: Jede Regel auf Skript-Zustandsklassen gilt per :has() auch für den Aufbau, der schon im HTML steht. */
.besa-f16-root, #result-wrapper:has(.besa-f16-toolbar) { --besa-f16-gap: 8px; }
.besa-f16-toolbar {
    position: sticky;
    top: var(--besa-f16-header-bottom, 0px);
    z-index: 100;
    background: var(--body-bg, #fff);
    color: inherit;
    padding: .5rem 0;
    margin-bottom: .75rem;
    border-bottom: 1px solid currentColor;
    /* Keine weiße Abdeckung oberhalb: dort steht der echte NIU-Kopf. */
}
.besa-f16-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.besa-f16-actions > * {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 44px; padding: .5rem .75rem; border: 1px solid currentColor;
    border-radius: .4rem; font: inherit; color: inherit; background: transparent;
    text-decoration: none; cursor: pointer; max-width: 100%; overflow-wrap: anywhere;
}
.besa-f16-cart { margin-left: auto; }
.besa-f16-actions > :focus-visible, .besa-f16-panel > summary:focus-visible {
    outline: 3px solid currentColor; outline-offset: 3px;
}
.besa-f16-power { margin-top: .5rem; min-width: 0; }
.besa-f16-power > .box { width: 100%; margin: 0; box-shadow: none; }
.besa-f16-power .nav { display: flex; flex-direction: row; flex-wrap: wrap; gap: .5rem; }
.besa-f16-power .filter-item { min-height: 44px; }
.besa-f16-panel {
    border: 1px solid #dedede; border-radius: .5rem; padding: .75rem;
    background: var(--body-bg, #fff); margin-bottom: 1rem;
    scroll-margin-top: calc(var(--besa-f16-header-bottom, 0px) + var(--besa-f16-toolbar-height, 60px) + 8px);
}
.besa-f16-panel > summary { cursor: pointer; min-height: 44px; padding: .5rem 0; font-weight: 700; }
.besa-f16-panel #niu-content-filter-panel { display: block !important; }
.besa-f16-panel #niu-content-filter-panel > .box {
    display: block !important; width: 100%; margin: 0; padding: .35rem 0;
    border: 0; box-shadow: none;
}
.besa-f16-panel .btn-filter-box { white-space: normal; text-align: left; min-height: 44px; }
.besa-f16-unused { display: none !important; }
@media (min-width: 1200px) {
    .besa-f16-side, aside#sidepanel_left:has(> .besa-f16-panel) {
        display: block !important;
        align-self: start;
        position: sticky;
        top: calc(var(--besa-f16-header-bottom, 0px) + 8px);
        max-height: calc(100dvh - var(--besa-f16-header-bottom, 0px) - 16px);
        overflow-y: auto;
        overscroll-behavior: auto;
    }
    /* Filter und vorhandene Kategorien gemeinsam scrollen. So liegt keine
       statische Kategoriebox über einem angehefteten Filter. */
    .besa-f16-side > .besa-f16-panel, aside#sidepanel_left:has(> .besa-f16-panel) > .besa-f16-panel { position: static; }
}
@media (max-width: 991.98px) {
    .besa-f16-power .nav { flex-wrap: nowrap; overflow-x: auto; }
    .besa-f16-power .nav > * { flex-shrink: 0; }
}
/* Zugänglichkeit bei hoher Vergrößerung: kein Bildschirm voller fester Leisten. */
.besa-f16-tight > .besa-f16-toolbar { position: static; }
body:has(.besa-f16-root.besa-f16-tight) :is(.besa-f16-side, aside#sidepanel_left:has(> .besa-f16-panel)) {
    position: static; max-height: none; overflow: visible;
}
@media print {
    .besa-f16-toolbar { display: none; }
    .besa-f16-side, aside#sidepanel_left:has(> .besa-f16-panel) { position: static; max-height: none; overflow: visible; }
}

/* Kompakte native Leistungsauswahl mit einem nach unten öffnenden Mehr-Bereich. */
.besa-f16-power { position: relative; }
.besa-f16-power-label { display: block; font-size: .85rem; margin-bottom: .35rem; }
.besa-f16-power-line { display: flex; gap: 8px; align-items: start; min-width: 0; }
.besa-f16-choices { display: flex; flex: 0 1 auto; gap: 6px; min-width: 0; overflow: hidden; }
.besa-f16-choices .filter-item, .besa-f16-more-values .filter-item {
    display: inline-flex; align-items: center; flex: 0 0 auto;
    white-space: nowrap; min-height: 44px; padding: 4px 8px;
    border: 1px solid currentColor; border-radius: 4px;
}
.besa-f16-choices .filter-item.active, .besa-f16-more-values .filter-item.active { font-weight: 700; }
.besa-f16-more-button, .besa-f16-more-close {
    flex: 0 0 auto; min-height: 44px; padding: 4px 8px;
    border: 1px solid currentColor; border-radius: 4px;
    background: transparent; color: inherit; font: inherit; cursor: pointer;
}
.besa-f16-more-panel {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 110;
    background: var(--body-bg, #fff); border: 1px solid currentColor;
    border-radius: 4px; padding: 8px; max-height: 45dvh; overflow: auto;
}
.besa-f16-more-values { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.besa-f16-selected-values { font-size: .85rem; margin-top: 4px; }
.besa-f16-power [hidden], .besa-f16-more-button[hidden] { display: none !important; }

/* Warenkorb: roter Rahmen, beim Darüberfahren gefüllt wie der Produkt-CTA. */
.besa-f16-toolbar .besa-f16-cart { border-color: #f20201; }
.besa-f16-toolbar .besa-f16-cart:hover,
.besa-f16-toolbar .besa-f16-cart:focus-visible {
    background-color: #c30100;
    border-color: #c30100;
    color: #fff;
}

/* Kategorien: nur die gemessene Navigationszeile bleibt beim Abwärtsscrollen. */
body.besa-f16-category #jtl-nav-wrapper, body:has(.niu-content-filter-panel-wrapper[data-besa-category-page]) #jtl-nav-wrapper {
    transform: none !important;
    transition: none !important;
}
.besa-f16-mobile-nav { display: none; }
@media (max-width: 991.98px) {
    .besa-f16-mobile-nav.is-visible {
        display: flex;
        min-height: 44px;
        align-items: center;
        background: var(--body-bg, #fff);
        border-bottom: 1px solid #dedede;
        padding: 0 1rem;
    }
    .besa-f16-mobile-nav > button, .besa-f16-mobile-nav > a {
        display: inline-flex;
        align-items: center;
        flex-direction: row !important;
        gap: .65rem;
        min-height: 44px;
    }
}
.besa-f16-toolbar { background-color: var(--body-bg, #fff); }

/* Eine Zeile: Leistungswerte, Mehrbereich und der originale Warenkorbknopf. */
.besa-f16-toolbar { display: flex; align-items: center; gap: 8px; }
.besa-f16-actions { order: 2; flex: 0 0 auto; flex-wrap: nowrap; }
.besa-f16-power { flex: 1 1 auto; margin-top: 0; }
.besa-f16-power-label {
    position: absolute; width: 1px; height: 1px; padding: 0;
    margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap;
}
.besa-f16-power-line { align-items: center; }
.besa-f16-range .besa-f16-power-label {
    position: static; width: auto; height: auto; margin: 0 0 .25rem;
    overflow: visible; clip: auto; white-space: normal; font-weight: 600;
}
.besa-f16-range .besa-device-range legend {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap;
}
/* Verdeckte aktive Werte bleiben für Hilfstechniken benannt. */
.besa-f16-selected-values {
    position: absolute; width: 1px; height: 1px; padding: 0;
    margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap;
}
@media (max-width: 420px) {
    .besa-f16-toolbar { gap: 6px; font-size: .8rem; }
    .besa-f16-actions > * { padding: .4rem .5rem; }
    .besa-f16-power-line { gap: 6px; }
    .besa-f16-choices .filter-item { padding: 4px 5px; }
    .besa-f16-more-button { padding: 4px 5px; }
}

/* Restfälle der Kategoriezeile, ohne Eingriff in Kopfposition oder Scrollabstand. */
.besa-f16-category .besa-f16-actions, body:has(.niu-content-filter-panel-wrapper[data-besa-category-page]) .besa-f16-actions { margin-left: auto; }
.besa-f16-category .besa-f16-cart, body:has(.niu-content-filter-panel-wrapper[data-besa-category-page]) .besa-f16-cart { white-space: nowrap; }
.besa-f16-category .besa-f16-more-values .filter-item, body:has(.niu-content-filter-panel-wrapper[data-besa-category-page]) .besa-f16-more-values .filter-item {
    max-width: 100%; white-space: normal; overflow-wrap: anywhere;
}

/* Die native Topbar bleibt beim kompakten Kategorienkopf unsichtbar. */
body.besa-f16-category.besa-f16-header-compact #niu-top-bar {
    visibility: hidden !important;
    pointer-events: none !important;
}
body.besa-f16-category #jtl-nav-wrapper, body:has(.niu-content-filter-panel-wrapper[data-besa-category-page]) #jtl-nav-wrapper {
    position: sticky !important;
    top: var(--besa-category-stick-top, 0px) !important;
}

/* Leistungswerte: vorhandenes Linkblau für Maus und Tastatur. */
.besa-f16-choices .filter-item:hover,
.besa-f16-more-values .filter-item:hover,
.besa-f16-choices .filter-item:focus-visible,
.besa-f16-more-values .filter-item:focus-visible {
    border-color: #3f87b0;
    outline-color: #3f87b0;
}

/* Der Mehrbereich schafft Platz unter der ganzen Leiste statt Produkte zu überdecken. */
.besa-f16-toolbar { flex-wrap: wrap; }
.besa-f16-more-panel {
    position: static;
    order: 3;
    flex: 0 0 100%;
    width: 100%;
    margin-top: 12px;
    padding: 24px;
    background: var(--body-bg, #fff);
    max-height: 45dvh;
    box-sizing: border-box;
}
.besa-f16-more-panel[hidden] { display: none !important; }
.besa-f16-more-values { gap: 12px; margin-bottom: 20px; }
@media (max-width: 575.98px) {
    .besa-f16-more-panel { padding: 20px 16px; }
}

/* Die obere Zeile bleibt unabhängig von der geöffneten zweiten Zeile ungeteilt. */
.besa-f16-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.besa-f16-power { grid-column: 1; grid-row: 1; }
.besa-f16-actions { grid-column: 2; grid-row: 1; }
.besa-f16-more-panel { grid-column: 1 / -1; grid-row: 2; }

/* „Alle anzeigen“ in den geöffneten Filtern farbig hervorheben (BESA-Stahlblau). 30.10.2026
   #main-wrapper nötig, weil besa-shop.css .btn-link dort mit ID-Gewicht einfärbt. */
#main-wrapper .snippets-filter-show-all .btn-link,
#main-wrapper .snippets-filter-show-all .btn-link i,
#main-wrapper .snippets-filter-show-all .btn-link span {
    color: #3F87B0;
    font-weight: 600;
}
#main-wrapper .snippets-filter-show-all .btn-link:hover,
#main-wrapper .snippets-filter-show-all .btn-link:focus-visible {
    color: #5BA7D1;
    text-decoration: underline;
}

/*! BESA source: besa-produkt-20261016.css */
/* Produktdarstellung, 16.10.2026. Nach besa-shop.css laden. */
/* Der Lagerhinweis kann HTML aus Produktdaten enthalten. Absatzabstände
   erzeugten bei UNITED ENERGY eine zusätzliche optische Leerzeile. */
.niu-product-item-article .niu-productbox-stock .status p {
    margin-block: 0;
}

/* Die Höhe wird aus den sichtbaren Karten desselben Listencontainers ermittelt.
   Keine feste Texthöhe, kein Abschneiden und keine Farb-/Radiusänderung. */
.niu-product-item-article > .niu-itembox-link {
    display: block;
    height: 100%;
}
.niu-product-item-article .productbox-column {
    min-height: var(--besa-produkt-row-height, 0px);
}

/* Übergangsschutz bis JS oder der bevorzugte Smarty-Patch greift. */
details.besa-bulk-prices > summary {
    display: none;
}
.besa-bulk-prices__heading {
    font-weight: 600;
    margin-block: 0 0.5rem;
}
.besa-bulk-prices .bulk-prices {
    max-width: 100%;
    overflow-x: auto;
}
/* Die Artikelfrage ist dauerhaft als anklickbarer Text erkennbar. */
.question-on-item .btn.question {
    text-decoration: underline;
    text-underline-offset: .15em;
}

/* Versandarten stehen als direkt wählbare Optionen nebeneinander. */
.besa-shipping-options { display: flex; flex-wrap: wrap; gap: 8px; }
.besa-shipping-option {
    display: flex; align-items: center; gap: 6px;
    flex: 1 1 150px; min-width: 0; margin: 0;
    padding: 10px; border: 1px solid #b8b8b8; border-radius: 6px;
    cursor: pointer; font-size: .875rem;
}
.besa-shipping-option input { flex: 0 0 auto; }
.besa-shipping-option:has(input:checked) { border-color: #3f87b0; background: #f1f8fc; }
.besa-shipping-option:has(input:focus-visible) { outline: 2px solid #3f87b0; outline-offset: 2px; }

/* Feste Rechnungszeilen verhindern den Layoutwechsel nach der Versandwahl. */
.besa-sidebar-cost-row {
    display: flex; justify-content: space-between; align-items: baseline;
    gap: .75rem; min-height: 1.75rem; padding-block: .2rem;
    font-size: .875rem; line-height: 1.4;
}
.besa-sidebar-cost-row > :first-child { min-width: 0; overflow-wrap: anywhere; }
.besa-sidebar-cost-total { font-weight: 700; font-size: 1rem; border-top: 1px solid #d8dde1; padding-top: .5rem; }
[data-besa-shipping-form="sidebar"] [data-besa-shipping-status] { min-height: 1.5em; line-height: 1.5; }

@media (max-width: 991.98px) {
    [data-besa-shipping-form="sidebar"] fieldset { margin-block: .25rem !important; }
    [data-besa-shipping-form="sidebar"] legend { font-size: .95rem; margin-bottom: .4rem; }
    [data-besa-shipping-form="sidebar"] .besa-shipping-option { min-height: 44px; padding: .5rem .65rem; }
    [data-niu-sidebar-content="cart"] .besa-sidebar-invoice { margin-top: .35rem; }
}

/* Eine sichtbare native Scrollspur zeigt den beweglichen Artikelbereich. */
[data-niu-sidebar-content="cart"] [data-niu-sidebar-cart="main"] {
    overflow-y: auto !important;
    scrollbar-width: auto;
    scrollbar-color: #737373 #ededed;
    scrollbar-gutter: stable;
}
[data-niu-sidebar-content="cart"] [data-niu-sidebar-cart="main"]::-webkit-scrollbar {
    display: block !important;
    width: 10px !important;
}
[data-niu-sidebar-content="cart"] [data-niu-sidebar-cart="main"]::-webkit-scrollbar-track {
    background: #ededed; border-radius: 8px;
}
[data-niu-sidebar-content="cart"] [data-niu-sidebar-cart="main"]::-webkit-scrollbar-thumb {
    background: #737373; border: 2px solid #ededed; border-radius: 8px;
}
[data-niu-sidebar-content="cart"] [data-niu-sidebar-cart="main"]::-webkit-scrollbar-thumb:hover {
    background: #444;
}

@supports selector(::-webkit-scrollbar) {
    [data-niu-sidebar-content="cart"] [data-niu-sidebar-cart="main"] {
        scrollbar-color: auto !important;
    }
}

/*! BESA source: besa-kopf-20261020.css */
/* Kopfhinweise umbrechen, bevor längere Texte benachbarte Icons überlagern. */
#niu-top-bar .dzm-niu-topbar-main {
    column-gap: 16px;
    row-gap: 4px;
    flex-wrap: wrap;
}
#niu-top-bar .dzm-niu-topbar-main > .small {
    flex-shrink: 0;
}

/* BESA 30.10.2026: Skonto- und Versandhinweis in der oberen Leiste */
#niu-top-bar .besa-topbar-hints { align-items: center; gap: 1.5rem; margin-right: auto; color: #fff; font-size: .9rem; line-height: 1.4; white-space: nowrap; }
#niu-top-bar .besa-topbar-hint { display: inline-flex; align-items: center; gap: .4rem; }
#niu-top-bar .besa-topbar-hint .bi { font-size: 1rem; }

/* Mobile Lieferlandwahl als kompakte Zeile; native Auswahl und Bestätigung bleiben erhalten. */
@media (max-width: 1199.98px) {
    #jtl-nav-wrapper .ws5_oss_wrapper.headerBanner { padding-block: 0 !important; }
    #jtl-nav-wrapper .ws5_oss_row {
        display: grid !important; grid-template-columns: auto minmax(0, 1fr) 44px;
        align-items: center; gap: .5rem; margin-block: 0 !important;
        padding: .35rem 1rem !important; font-size: .8125rem;
    }
    #jtl-nav-wrapper .ws5_oss_text_div,
    #jtl-nav-wrapper .ws5_oss_select_div,
    #jtl-nav-wrapper .ws5_oss_button_div { width: auto !important; margin: 0 !important; padding: 0 !important; min-width: 0; }
    #jtl-nav-wrapper .ws5_oss_text_div p { display: none; }
    #jtl-nav-wrapper .ws5_oss_text_div::before { content: 'Lieferland'; font-weight: 500; }
    #jtl-nav-wrapper .ws5_oss_select_div .select2 { width: 100% !important; }
    #jtl-nav-wrapper .ws5_oss_select_div .select2-selection { height: 40px !important; min-height: 40px; font-size: .875rem; }
    #jtl-nav-wrapper .ws5_oss_select_div .select2-selection__rendered { line-height: 38px !important; padding-right: 24px; }
    #jtl-nav-wrapper .ws5_oss_select_div .select2-selection__arrow { height: 38px !important; }
    #jtl-nav-wrapper .ws5_oss_button { width: 44px; min-height: 44px; margin: 0 !important; padding: .25rem !important; }
}

/*! BESA source: besa-restored-typography.css */
/* Original Stage Lato accent font. Current compiled theme CSS stays intact. */
@font-face{font-family:"Lato";src:url("../../NIUplus/themes/base/fonts/Lato/Lato-Hairline.woff2") format("woff2");font-weight:100;font-style:normal;font-display:swap}
@font-face{font-family:"Lato";src:url("../../NIUplus/themes/base/fonts/Lato/Lato-HairlineItalic.woff2") format("woff2");font-weight:100;font-style:italic;font-display:swap}
@font-face{font-family:"Lato";src:url("../../NIUplus/themes/base/fonts/Lato/Lato-Light.woff2") format("woff2");font-weight:300;font-style:normal;font-display:swap}
@font-face{font-family:"Lato";src:url("../../NIUplus/themes/base/fonts/Lato/Lato-LightItalic.woff2") format("woff2");font-weight:300;font-style:italic;font-display:swap}
@font-face{font-family:"Lato";src:url("../../NIUplus/themes/base/fonts/Lato/Lato-Regular.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Lato";src:url("../../NIUplus/themes/base/fonts/Lato/Lato-Italic.woff2") format("woff2");font-weight:400;font-style:italic;font-display:swap}
@font-face{font-family:"Lato";src:url("../../NIUplus/themes/base/fonts/Lato/Lato-Bold.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:"Lato";src:url("../../NIUplus/themes/base/fonts/Lato/Lato-BoldItalic.woff2") format("woff2");font-weight:700;font-style:italic;font-display:swap}
@font-face{font-family:"Lato";src:url("../../NIUplus/themes/base/fonts/Lato/Lato-Black.woff2") format("woff2");font-weight:900;font-style:normal;font-display:swap}
@font-face{font-family:"Lato";src:url("../../NIUplus/themes/base/fonts/Lato/Lato-BlackItalic.woff2") format("woff2");font-weight:900;font-style:italic;font-display:swap}
h1,h2,h3,h4,h5,h6,.h1,.h2,.product-matrix .product-matrix-title,.h3,.sidepanel-left .box-normal .box-normal-link,.h4,.h5,.h6{font-family:"Lato",sans-serif;}
.tooltip{font-family:"Lato",sans-serif;}
.popover{font-family:"Lato",sans-serif;}
#footer .productlist-filter-headline{font-family:"Lato",sans-serif;}
header .submenu-headline-toplevel{font-family:"Lato",sans-serif;}
.btn{font-family:Lato !important;}
.form-counter .form-control{font-family:"Lato",sans-serif;}
.form-counter .input-group-text{font-family:"Lato",sans-serif;}
.fa-sup{font-family:"Lato",sans-serif;}
.text-accent,.tab-navigation .nav-link{font-family:"Lato",sans-serif;}
.productbox-inner .productbox-price{font-family:"Lato",sans-serif;}
.product-detail .shortdesc{font-family:"Lato",sans-serif !important;}

/*! BESA source: besa-mobile.css */
/* BESA mobile improvements v1. Native cart, pricing and checkout remain authoritative. */
:root { --besa-readable-muted: #595959; }
#main-wrapper .text-muted, .product-detail .info-essential,
.product-detail .price-note { color: var(--besa-readable-muted) !important; }
.besa-product-heading { margin-block: .4rem .9rem; }
.besa-product-heading .product-title { margin: 0; line-height: 1.25; overflow-wrap: anywhere; }
.besa-product-documents { border-block: 1px solid #d8dde1; margin: 1rem 0; color: #36383a; }
.besa-product-documents > summary { display: flex; align-items: center; gap: .6rem; min-height: 48px; padding: .5rem .25rem; cursor: pointer; font-weight: 700; }
.besa-product-documents > summary::before { content: '+'; font-size: 1.25rem; width: 1.1rem; text-align: center; }
.besa-product-documents[open] > summary::before { content: '−'; }
.besa-product-documents > summary::-webkit-details-marker { display: none; }
.besa-document-count { margin-left: auto; min-width: 1.5rem; text-align: center; background: #f1f3f4; border-radius: 1rem; font-size: .85rem; }
.besa-document-list { list-style: none; margin: 0; padding: 0; }
.besa-document-list > li { display: flex; align-items: center; flex-wrap: wrap; gap: .25rem 1rem; padding: .65rem .25rem; border-top: 1px solid #e5e7eb; }
.besa-document-description { flex: 1 1 220px; min-width: 0; overflow-wrap: anywhere; }
.besa-document-description > * { display: block; margin: 0; }
.besa-document-description > span, .besa-document-description > small { color: #595959; }
.besa-document-actions { display: flex; gap: .75rem; }
.besa-document-actions a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .3rem; text-decoration: underline; text-underline-offset: .15em; font-size: .9rem; color: #276482; }
.besa-document-unavailable { margin: .25rem 0; color: #9b1c1c; }
.besa-cart-benefits { padding: .6rem .75rem; margin: .5rem 0 .75rem; border-left: 3px solid #39704c; background: #f4f8f5; font-size: .9rem; line-height: 1.45; }
.besa-cart-benefits p { margin: 0; }
.besa-cart-benefits p + p { margin-top: .35rem; }
.besa-cart-benefits a { color: #276482; text-decoration: underline; text-underline-offset: .15em; }
.alert-wrapper:is(.alert-success,.alert-info) { margin-bottom: 8px; border-left: 3px solid currentColor; }
.alert-wrapper:is(.alert-success,.alert-info) > .d-flex { min-height: 36px; }
.alert-wrapper:is(.alert-success,.alert-info) > .d-flex > .px-3.py-3 { padding: 8px 10px !important; min-width: 0; overflow-wrap: anywhere; }
.alert-wrapper:is(.alert-success,.alert-info) .niu-alert-icon { padding-inline: 9px !important; background: transparent; color: inherit; }
.alert-wrapper:is(.alert-success,.alert-info):has(.close) > .d-flex { min-height: 44px; padding-right: 40px; }
.alert-wrapper .close { width: 44px; min-height: 44px; padding: 0; display: flex; align-items: center; justify-content: center; }
.besa-wishlist-empty { padding: .75rem 0; margin: .5rem 0 1.5rem; color: #595959; }
.snippets-wishlist .wishlist-actions { align-items: center; margin-block: .25rem .5rem; }
.snippets-wishlist .wishlist-actions .btn { min-height: 44px; padding-block: .35rem; }
.snippets-wishlist .wishlist-actions .dropdown-toggle { padding-inline: .65rem; }
.snippets-wishlist .wishlist-dropdown-name .dropdown-toggle,
.snippets-wishlist #wlName.dropdown-toggle { width: max-content !important; min-width: 10rem; max-width: 100%; color: #36383a; border-color: #899198; white-space: normal; overflow-wrap: anywhere; }
.snippets-wishlist .wishlist-dropdown-name .dropdown-toggle:hover,
.snippets-wishlist .wishlist-dropdown-name .dropdown-toggle:focus { background: #f1f3f4; color: #1f2021; }
.snippets-wishlist .wishlist-dropdown-name.show .dropdown-toggle { background: #36383a; color: #fff; }
.snippets-wishlist .wishlist-privacy-count { align-items: center; row-gap: .4rem; }
.snippets-wishlist hr { margin-block: .5rem; }
.snippets-wishlist #wl-items-form:not(.has-items) { margin-top: .5rem !important; }
.snippets-wishlist .wishlist-privacy .custom-control-label { min-height: 44px; display: inline-flex; align-items: center; font-size: .875rem; }
.snippets-wishlist .wishlist-privacy .custom-control-label::before,
.snippets-wishlist .wishlist-privacy .custom-control-label::after { top: .85rem; }
.besa-product-documents :focus-visible, .besa-cart-benefits :focus-visible { outline: 3px solid #276482; outline-offset: 3px; }
/* Startseiten-Slider: Inhalte bestimmen die Höhe auch bei mittleren Breiten.
   Übereinanderliegende Rasterzellen halten beide Folien gleich hoch; clip verhindert
   einen unsichtbaren Scrollbereich beim Fokussieren der Steuerung. */
.besa .slider.besa-slider { display: grid; grid-template-columns: minmax(0,1fr); min-width: 0; overflow: clip; }
.besa .besa-slider a.slide { position: relative; inset: auto; grid-area: 1 / 1; min-width: 0; box-sizing: border-box; }
.besa .besa-slider a.slide > span:first-child { min-width: 0; overflow-wrap: anywhere; }
@media (min-width: 761px) {
    .besa .besa-slider .slide-bild { flex: 0 1 40%; min-width: 0; max-width: 380px; }
}
@media (min-width: 761px) and (max-width: 1199px) {
    .besa .besa-slider a.slide { padding: 40px 64px 56px; gap: 20px; }
    .besa .besa-slider a.slide [style*="font-size:2.5rem"] { font-size: 2rem !important; }
}
@media (min-width: 761px) and (max-width: 900px) {
    .besa #einstieg > .wrap { grid-template-columns: minmax(0,1fr) !important; }
    .besa #einstieg > .wrap > .besa-slider + div {
        grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: 1fr !important;
    }
    .besa #einstieg a.kachel { min-height: 210px; }
}
/* NIU sperrt den Fingerabdruck außerhalb seines .mini-Managers. Der im Checkout
   verschobene Originalbutton bleibt an dessen nativen Klickhandler gebunden. */
nav.besa-display-tools > #consent-settings-btn { pointer-events: auto; transform: none; }
.besa-display-tools { display: flex; flex-wrap: wrap; gap: .5rem; padding: .75rem 1rem; margin-inline: auto; background: #fff; }
.besa-display-tools button { opacity: 1 !important; visibility: visible !important; position: static !important; z-index: auto !important; display: inline-flex !important; align-items: center; gap: .4rem; min-height: 44px; width: auto !important; height: auto !important; max-width: 100%; margin: 0 !important; padding: 6px 10px !important; border: 1px solid #899198 !important; border-radius: 6px !important; background: #fff !important; color: #36383a !important; font-size: .875rem; line-height: 1.3; }
.besa-display-tools button svg, .besa-display-tools button img { width: 24px; height: 24px; flex: 0 0 24px; }
.besa-display-tools button:focus-visible { outline: 3px solid #276482; outline-offset: 3px; }
.besa-payment-more { text-decoration: underline; text-underline-offset: .15em; }
.btn.btn-outline-secondary:has(.besa-payment-more) { min-height: 44px; padding: 6px 0; border: 0; background: transparent; color: #595959; text-align: left; box-shadow: none; }
.btn.btn-outline-secondary:has(.besa-payment-more):hover { color: #276482; background: #f8fafb; }
.product-gallery .splide__arrow { min-width: 44px; min-height: 44px; }
@media (max-width: 991.98px) {
    /* Bild und darüberliegende Aktionen behalten denselben quadratischen Rahmen. */
    #product-offer .product-gallery #image_wrapper { max-width: 360px; margin-inline: auto; }
    #product-offer .product-gallery #niu-product-splide-thumbs { margin-top: .5rem; }
    #product-offer .product-gallery #niu-product-splide-thumbs > .splide__track { padding-block: .25rem !important; }
    #product-offer .product-info-inner { padding: 1rem !important; margin-top: .5rem !important; }
    #product-offer .product-info-inner .product-headline:empty { display: none; }
    #product-offer .product-info-inner .shortdesc { font-size: .9rem; line-height: 1.4; }
    .besa-product-heading .product-title { font-size: clamp(1.2rem, 4.8vw, 1.6rem) !important; }
    [data-niu-floating-checkout].show { visibility: visible !important; opacity: 1 !important; pointer-events: auto !important; }
    .niu-floating-checkout-wrapper { max-width: 100%; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid #d5e2e9; }
    .niu-floating-checkout-container { align-items: center; gap: .75rem; margin: 0 !important; }
    .niu-floating-checkout-img, .niu-floating-checkout-content-text { display: none; }
    .niu-floating-checkout-content { min-width: 0; flex: 1; }
    .niu-floating-checkout-price-price .price { margin: 0 !important; font-size: 1.1rem; }
    .niu-floating-checkout-action { flex: 0 0 auto; }
    .niu-floating-checkout-action button[form='buy_form'] { display: flex; align-items: center; justify-content: center; gap: .4rem; min-height: 44px; height: 44px !important; padding-inline: .8rem; font-size: .875rem; }
    .niu-floating-checkout-action .besa-mobile-purchase-label { display: inline; }
    body:has([data-niu-floating-checkout].show) #consent-settings-btn { left: auto !important; right: 12px !important; bottom: calc(76px + env(safe-area-inset-bottom)) !important; }
    body:has([data-niu-floating-checkout].show) > button[aria-label='Barrierefreiheit Einstellungen öffnen'] { left: auto !important; right: 12px !important; bottom: calc(124px + env(safe-area-inset-bottom)) !important; }
}
@media (max-width: 575.98px) {
    #product-offer .product-gallery #image_wrapper { max-width: 280px; }
}
.besa-mobile-purchase-label { display: none; }
@media (prefers-reduced-motion: reduce) {
    #main-wrapper .splide__list { transition-duration: 0s !important; }
}
#content p.mceVisualAid.mceVisualGuides { overflow-wrap: anywhere; }

/* Im Seitenwarenkorb überlagert die Rechnung keine Empfehlungen; der Footer enthält nur die Aktionen. */
[data-niu-sidebar-cart="main"].besa-sidebar-flow { min-height: 0; scroll-padding-block: .5rem; }
.besa-sidebar-flow [data-niu-sidebar-cart-item-container] { flex: 0 0 auto; }
.besa-sidebar-flow .besa-sidebar-summary { flex: 0 0 auto; margin-block: .25rem .75rem; }
.besa-sidebar-flow [data-niu-sidebar-cart-item-container-xselling] { flex: 0 0 auto; padding-top: .5rem; }
.besa-sidebar-flow [data-niu-sidebar-cart-item-container-xselling] .niu-sidebar-header { margin-top: 0 !important; }
.besa-sidebar-flow [data-niu-sidebar-cart-item-container-coupon] { margin-block: .75rem .25rem !important; }
.besa-sidebar-coupon { border-top: 1px solid #d8dde1; }
.besa-sidebar-coupon > summary { display: flex; align-items: center; gap: .5rem; min-height: 44px; cursor: pointer; color: #276482; }
.besa-sidebar-coupon > summary::before { content: '+'; width: 1rem; text-align: center; }
.besa-sidebar-coupon[open] > summary::before { content: '−'; }
.besa-sidebar-coupon > summary::-webkit-details-marker { display: none; }
.besa-sidebar-coupon [data-niu-sidebar-coupon] { margin-top: .35rem; }
.besa-sidebar-coupon [data-niu-sidebar-coupon-input] { text-align: left; }
.besa-sidebar-coupon :focus-visible { outline: 2px solid #276482; outline-offset: 2px; }
@media (max-width: 575.98px) {
    .besa-sidebar-flow .niu-item-card--details-row:has(.delivery-status) { flex-wrap: wrap; gap: .25rem .5rem; }
    .besa-sidebar-flow .niu-item-card--details-row > .delivery-status { flex: 0 0 100%; min-width: 0; }
    .besa-sidebar-flow .delivery-status p { margin-bottom: .35rem; }
    .besa-sidebar-flow .delivery-status p:last-child { margin-bottom: 0; }
}

/* Auf kleineren Bildschirmen Bild und Kaufinfos nebeneinander statt einer hohen Bildsäule. */
/* Die Grid-Zeile bestimmt die Außenhöhe auch nach einem Wechsel der Bildschirmbreite. */
.product-wrapper.niu-box:has(.niu-product-item-article) { height: auto !important; }
@media (max-width: 1199.98px) {
    .niu-product-item-article { height: auto !important; }
    .niu-product-item-article .productbox-column { min-height: 0 !important; height: auto !important; }
    .niu-product-item-article .productbox-column .productbox-inner { padding: .75rem !important; height: auto !important; }
    .niu-product-item-article .productbox-column .productbox-inner > .row {
        display: grid; grid-template-columns: clamp(72px, 28%, 100px) minmax(0, 1fr);
        align-items: start; gap: .75rem; margin: 0;
    }
    .niu-product-item-article .productbox-column .productbox-inner > .row > .col {
        width: 100%; max-width: 100%; min-width: 0; padding: 0;
    }
    .niu-product-item-article .productbox-column .productbox-image { margin-bottom: 0 !important; }
    .niu-product-item-article .productbox-column .niu-productbox-caption { padding: 0 !important; }
    .niu-product-item-article .productbox-column .productbox-title {
        min-height: 0 !important; margin-bottom: .35rem !important;
        font-size: .9375rem; line-height: 1.35;
    }
    .niu-product-item-article .productbox-column .productbox-title a { font-size: inherit; line-height: inherit; }
    .niu-product-item-article .productbox-column .niu-productbox-stock,
    .niu-product-item-article .productbox-column .niu-productbox-delivery-info { font-size: .8125rem; line-height: 1.35; }
}

/* Listen beginnen direkt unter ihren bedienbaren Filtern, auch in der Tablet-Zwischenbreite. */
@media (max-width: 1199.98px) {
    body:has(#product-list) #breadcrumb .breadcrumb { padding-block: .25rem; margin-bottom: .25rem; }
    #result-wrapper > h1 { margin-bottom: .35rem; }
    #result-wrapper > hr.productlist-page-nav-top,
    #result-wrapper > hr.productlist-page-nav-bottom { margin-block: .35rem; }
    #result-wrapper .productlist-page-nav { min-height: 44px; margin-block: 0; }
    #result-wrapper .productlist-page-nav .btn { min-height: 44px; padding-block: .35rem; }
    #result-wrapper .besa-f16-panel { padding: 0 .5rem; margin-block: .35rem; }
    #result-wrapper .besa-f16-panel > summary { min-height: 44px; padding-block: .5rem; }
    #result-wrapper .besa-f16-toolbar { padding-block: .25rem; margin-block: .25rem .5rem; }
}
@media (min-width: 576px) and (max-width: 1199.98px) {
    #product-list.layout-box { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 991.98px) {
    #jtl-nav-wrapper .niu-nav-brand-wrapper:has(.niu-nav-main-wrapper-type-1),
    #jtl-nav-wrapper .niu-nav-main-wrapper-type-1,
    #jtl-nav-wrapper .niu-nav-main-wrapper-type-1 > div { height: 60px !important; min-height: 60px; }
    #jtl-nav-wrapper #logo-mobile-nav { padding-block: .25rem !important; }
}

/*! BESA source: besa-mobile-layout.css */
/* BESA v1.12 – kompakter Einkaufseinstieg, native Formular-/Kaufaktionen. */
.besa-mobile-bar { display: none; }
.besa-country-picker { display: inline-block; margin-inline: .35rem; }
.besa-country-picker > summary { list-style: none; cursor: pointer; }
.besa-country-picker > summary { display: flex; align-items: center; justify-content: center; gap: 3px; min-width: 44px; min-height: 44px; }
.besa-country-picker > summary::-webkit-details-marker { display: none; }
.besa-country-flag img { display: block; width: 20px !important; height: 14px !important; margin: 0 !important; object-fit: contain; }
.besa-country-code { font-size: .75rem; font-weight: 600; }
.besa-country-panel {
    position: absolute; top: 100%; right: 12px; z-index: 1210;
    display: grid; grid-template-columns: minmax(0, 1fr) 44px; align-items: center; gap: .4rem;
    width: min(400px, calc(100vw - 24px)); padding: .75rem;
    background: #fff; border: 1px solid #b8c9d3; border-radius: .5rem;
    color: #253a47; box-shadow: 0 8px 24px #16394c26;
}
.besa-country-close { grid-column: 2; grid-row: 1; display: inline-flex; align-items: center; justify-content: center; width: 44px; min-height: 44px; margin: 0; padding: 0; border: 0; background: transparent; color: #276482; font-size: 0; }
.besa-country-close::before { content: '\00d7'; font-size: 1.5rem; }
.besa-country-picker:not([open]) > .besa-country-panel { display: none; }
#jtl-nav-wrapper .besa-country-panel .ws5_oss_row { grid-template-columns: minmax(0, 1fr) 44px; gap: .4rem; padding: 0 !important; }
#jtl-nav-wrapper .besa-country-panel .ws5_oss_text_div { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px !important; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
#jtl-nav-wrapper .besa-country-panel .ws5_oss_select_div { grid-column: 1; min-width: 0; }
#jtl-nav-wrapper .besa-country-panel .ws5_oss_button_div { grid-column: 2; }
#jtl-nav-wrapper .besa-country-panel .ws5_oss_wrapper { grid-column: 1; grid-row: 1; display: block !important; position: static !important; min-width: 0; }
.besa-mobile-bar :focus-visible, .besa-list-options :focus-visible { outline: 2px solid #276482; outline-offset: 2px; }

.besa-list-options { display: flex; align-items: center; flex-wrap: wrap; gap: .25rem; }
.besa-list-layout-switch .ed { display: inline-flex !important; align-items: center; justify-content: center; width: 44px; min-height: 44px; padding: .25rem !important; border: 1px solid #b8c9d3; border-radius: .3rem; color: #245772; }
#result-wrapper .besa-list-layout-switch :is(#ed_list, #ed_gallery) { display: inline-flex !important; }
.besa-list-layout-switch .ed.active { background: #276482; color: #fff; }
/* Eine zuvor vom Raster berechnete Wrapperhöhe darf native Listenzeilen nicht strecken. */
#product-list[data-besa-layout-view] > .product-wrapper { height: auto !important; animation: none; }
.besa-list-layout-switch .ed > span:first-child { margin: 0 !important; }
.besa-list-layout-switch .ed > span:not(:first-child) { display: none !important; }
.besa-list-view-options { position: relative; }
.besa-list-view-options > summary {
    display: inline-flex; align-items: center; justify-content: center; gap: .35rem;
    list-style: none; min-width: 44px; min-height: 44px; padding: .35rem .5rem; cursor: pointer;
}
.besa-list-view-options > summary::-webkit-details-marker { display: none; }
.besa-list-view-panel {
    display: flex; flex-wrap: wrap; align-items: center; gap: .5rem;
    position: absolute; top: 100%; right: 0; z-index: 125;
    min-width: 250px; padding: .75rem; border: 1px solid #b8c9d3;
    border-radius: .4rem; background: #fff; box-shadow: 0 6px 18px #16394c1a;
}
.besa-list-view-options:not([open]) > .besa-list-view-panel { display: none; }
.besa-list-filter-button {
    min-height: 44px; padding: .35rem .7rem; white-space: nowrap;
    border: 1px solid #276482; border-radius: .35rem; background: #f1f7fa; color: #245772; font: inherit;
}
.besa-list-filter-button[aria-expanded='true'] { background: #276482; color: #fff; }
.besa-list-filter-button::before { content: '\2637'; margin-right: .35rem; font-size: 1rem; }

.dzm-itembox-quickbuy-trigger-btn[data-besa-quickbuy] {
    background: #276482 !important; color: #fff !important; border-color: #276482 !important;
    min-width: 44px; min-height: 44px;
}
.dzm-itembox-quickbuy-trigger-btn[data-besa-quickbuy]:hover { background: #1d4f69 !important; }
.besa-quickbuy-label { display: none; }
.besa-subcategories:empty { display: none; }
.besa-pdp-payments { display: none; }
/* Ratenhinweise nur im Checkout; Plugins und deren Zahlungsarten bleiben unverändert. */
#product-offer easycredit-widget, #product-offer #ppc-productDetails-instalment-banner { display: none !important; }
@media (max-width: 1199.98px) {
    #product-offer .besa-pdp-payments-ready { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem; width: 100%; margin: .5rem 0 0; padding: 0; }
    #product-offer .besa-pdp-payment-logo { display: inline-flex; flex: 0 0 46px; align-items: center; justify-content: center; width: 46px; height: 24px; }
    #product-offer .besa-pdp-payment-logo img { display: block; max-width: 46px; width: 100%; max-height: 24px; object-fit: contain; }
    #product-offer .besa-pdp-empty-box { display: none !important; }
    /* Der native PayPal-Platzhalter behält seine Breite und kann später befüllt werden. */
    #product-offer .niu-cb-card:has(#niu-paypal:not(:has(*))) { margin-bottom: 0 !important; }
    #product-offer #niu-paypal:not(:has(*)) { margin-top: 0 !important; }
    #product-offer .stock-information { margin-top: .5rem !important; padding-bottom: .5rem !important; }
    #product-offer .stock-information hr, #product-offer .product-offer > hr { margin-block: .5rem !important; }
    #product-offer .besa-product-summary > h2 { margin-top: .5rem !important; }
}
/* Vollständige freigegebene Modulnamen auf großen Ansichten; mobil begrenzt die Karte. */
.besa-module-title { height: auto; min-height: 5.2em; max-height: none; overflow: visible; white-space: normal; display: block; }

@media (max-width: 1199.98px) {
    #result-wrapper #product-list .niu-productbox-caption .price { font-size: 1.1rem !important; line-height: 1.25; }
    .ribbon.ribbon-8 { display: none !important; }
    body.besa-compact-layout #niu-top-bar { display: none !important; }
    #jtl-nav-wrapper.besa-compact-header {
        position: sticky !important; top: 0 !important; transform: none !important;
        transition: none !important; z-index: 1200; overflow: visible;
    }
    #jtl-nav-wrapper.besa-compact-header .niu-nav-brand-wrapper { height: 64px !important; min-height: 64px; overflow: visible; }
    .besa-compact-header .niu-nav-main-wrapper-type-1,
    .besa-compact-header .niu-categories-color-wrap,
    .besa-compact-header .besa-f16-mobile-nav { display: none !important; }
    .besa-compact-header .besa-mobile-bar {
        display: grid; position: relative; align-items: center; gap: 2px;
        grid-template-columns: 44px 44px minmax(48px, 1fr) repeat(2, 44px);
        grid-template-areas: 'menu search logo account cart';
        min-height: 64px; height: 64px; padding: 0 12px; background: #fff;
        border-bottom: 1px solid #e3eaf0;
    }
    .besa-compact-header .besa-mobile-bar.besa-has-country {
        grid-template-columns: 44px 44px minmax(48px, 1fr) repeat(3, 44px);
        grid-template-areas: 'menu search logo country account cart';
    }
    .besa-mobile-bar .besa-bar-menu { grid-area: menu; }
    .besa-mobile-bar .besa-bar-logo { grid-area: logo; }
    .besa-mobile-bar .besa-bar-search { grid-area: search; }
    .besa-mobile-bar .besa-country-picker { grid-area: country; margin: 0; }
    .besa-mobile-bar .besa-bar-account { grid-area: account; }
    .besa-mobile-bar .besa-bar-cart { grid-area: cart; }
    .besa-mobile-bar > :is(button, a) {
        display: inline-flex !important; align-items: center; justify-content: center;
        width: 44px; min-width: 44px !important; min-height: 44px !important;
        padding: 0 !important; margin: 0 !important; border: 0; background: transparent;
    }
    .besa-country-picker > summary { display: flex; align-items: center; justify-content: center; gap: 3px; min-height: 44px; }
    .besa-mobile-bar .besa-bar-logo { display: flex !important; width: 100%; min-width: 0; justify-content: center; align-items: center; padding: 0 !important; margin: 0; }
    .besa-mobile-bar .besa-bar-logo a { display: block; width: min(110px, calc(100% - 12px)); max-width: 100%; }
    .besa-mobile-bar .besa-bar-logo img { width: 100% !important; height: auto !important; max-height: 36px !important; max-width: 100% !important; object-fit: contain; }
    .besa-mobile-bar .besa-country-code { display: none; }
    .besa-mobile-bar .besa-bar-menu > span,
    .besa-mobile-bar :is(.besa-bar-account, .besa-bar-search) > .small,
    .besa-mobile-bar .besa-bar-cart > :is(.small, .cart-icon-dropdown-price) { display: none !important; }
    .besa-mobile-bar .besa-bar-logo#logo-mobile-nav { padding: 0 !important; }
    #jtl-nav-wrapper .besa-country-panel .ws5_oss_wrapper.headerBanner { padding: 0 !important; margin: 0 !important; }

    body:has(#result-wrapper .besa-category-intro) .breadcrumb-wrapper { margin-block: 0 !important; padding-block: 0 !important; }
    body:has(#result-wrapper .besa-category-intro) .breadcrumb { margin-block: 0 !important; padding-block: .15rem !important; font-size: .75rem; line-height: 1.25; }
    #result-wrapper .besa-category-intro { margin-block: .25rem !important; padding-block: 0 !important; }
    .besa-category-intro > .productlist-header-description-image { display: none; }
    .besa-category-intro .title > div:has(> picture) { display: none !important; }
    .besa-category-intro .niu-cat-hero { min-height: 0 !important; height: auto !important; background: transparent; }
    .besa-category-intro .niu-cat-hero > :is(img, .niu-cat-hero-overlay) { display: none; }
    .besa-category-intro .niu-cat-hero > .title { position: static !important; min-height: 0; justify-content: start !important; text-align: left !important; }
    .besa-category-intro .title { margin-block: 0 !important; padding-block: .25rem !important; }
    .besa-category-intro .niu-sidebar-head-small { display: flex; flex-wrap: wrap; align-items: baseline; gap: .125rem .5rem; margin: 0 !important; padding: 0 !important; text-align: left; }
    .besa-category-intro .niu-sidebar-head-small :is(h1, h2) { flex: 0 1 auto; width: auto; max-width: 100%; font-size: clamp(1.25rem, 3.8vw, 1.6rem); line-height: 1.25; margin: 0 !important; }
    .besa-category-intro .niu-sidebar-head-small > p { flex: 0 0 auto; margin: 0 !important; font-size: .75rem; line-height: 1.25; white-space: nowrap; }
    .besa-subcategories > .container-fluid { padding: 0 !important; margin: .5rem 0 .75rem; }
    .besa-subcategories :is(hr, .item_desc) { display: none !important; }
    .besa-subcategories > .container-fluid > .h3 { margin: 0 0 .4rem; font-size: .875rem; line-height: 1.3; }
    .besa-subcategories .niu-cat-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem; margin: 0; }
    .besa-subcategories .niu-cat-row > div {
        width: 100% !important; max-width: 100%; flex: none; padding: 0 !important;
        margin: 0 !important; border: 0 !important; min-width: 0; justify-content: flex-start !important;
    }
    .besa-subcategories .niu-cat-wrapper { display: block !important; }
    .besa-subcategories .niu-cat-wrapper > a:has(.subcategories-image) { display: none; }
    .besa-subcategories .btn-group { padding: 0; min-height: 44px; background: #f1f7fa; border: 1px solid #d5e2e9; border-radius: .35rem; }
    .besa-subcategories .btn-group > a { display: flex; align-items: center; min-height: 44px; padding: .45rem .65rem !important; line-height: 1.3; font-size: .875rem; color: #245772; white-space: normal; }
    .besa-subcategories .dropdown-toggle { min-width: 40px; min-height: 44px; padding: .35rem !important; }
    .besa-subcategories .dropdown-menu { max-width: calc(100vw - 32px); }

    body.besa-f16-active aside#sidepanel_left, body:has(.besa-f16-toolbar) aside#sidepanel_left { display: none !important; }
    body.besa-f16-active #content, body:has(.besa-f16-toolbar) #content { flex: 0 0 100%; max-width: 100%; width: 100%; }
    #result-wrapper.besa-list-filter-tools .besa-f16-panel:not([open]), #result-wrapper:has(.besa-list-filter-button) .besa-f16-panel:not([open]) { display: none; }
    #result-wrapper.besa-list-filter-tools .besa-f16-panel > summary, #result-wrapper:has(.besa-list-filter-button) .besa-f16-panel > summary { display: none; }
    #result-wrapper.besa-list-filter-tools .besa-f16-panel[open], #result-wrapper:has(.besa-list-filter-button) .besa-f16-panel[open] { margin: .5rem 0; padding: .5rem .75rem; max-height: 65svh; overflow-y: auto; }
    #result-wrapper .productlist-page-nav-header-m { display: flex; flex-wrap: nowrap; align-items: center; gap: .25rem; min-height: 44px; margin: .125rem 0 .25rem !important; padding-block: 0 !important; }
    #result-wrapper .besa-list-options { flex: 1 1 auto; max-width: none; width: auto; min-width: 0; min-height: 44px; flex-wrap: nowrap; gap: .25rem; margin: 0 !important; padding: 0 !important; font-size: .875rem; }
    #result-wrapper .productlist-page-nav-header-m > .productlist-item-info { flex: 0 0 auto; width: auto; max-width: 82px; padding: 0; font-size: .75rem; line-height: 1.35; }
    #result-wrapper .besa-list-options .btn-group { margin: 0 !important; padding: 0 !important; }
    #result-wrapper .besa-list-layout-switch { display: flex; align-items: center; gap: 0; margin: 0; padding: 0; }
    #result-wrapper .besa-list-filter-button, #result-wrapper .productlist-page-nav-header-m .dropdown-toggle, #result-wrapper .besa-list-layout-switch .ed { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; height: 44px; margin-block: 0 !important; padding-block: .25rem !important; line-height: 1.2; }
    #result-wrapper .productlist-page-nav-header-m .dropdown-toggle { padding-inline: .45rem !important; }
    .besa-list-view-label { display: none; }
    #result-wrapper .besa-f16-toolbar { position: static; border: 0; margin: .25rem 0 .5rem; padding: 0; }
    #result-wrapper .besa-f16-actions { display: none; }
    #result-wrapper .besa-f16-toolbar:not(:has(.besa-f16-power)) { display: none; }
    #result-wrapper .besa-f16-more-panel { padding: .75rem; margin-top: .5rem; }
    #result-wrapper .besa-f16-more-values { gap: .5rem; margin-bottom: .5rem; }

    .dzm-itembox-quickbuy-trigger-wrapper:has([data-besa-quickbuy]) {
        position: absolute !important; display: block !important; width: 44px !important;
        height: 44px !important; opacity: 1 !important; transform: none !important;
        right: .3rem !important; bottom: .3rem !important; top: auto !important; left: auto !important;
        margin: 0; border-radius: 50%; overflow: visible !important;
    }
    .productbox-image:has(> .dzm-itembox-quickbuy-trigger-wrapper) { position: relative; }
    .dzm-itembox-quickbuy-trigger-btn[data-besa-quickbuy] { display: flex !important; align-items: center !important; justify-content: center !important; width: 44px !important; height: 44px !important; padding: 0 !important; font-size: 0; line-height: 1; border-radius: 50% !important; transform: none !important; opacity: 1 !important; visibility: visible !important; }
    .dzm-itembox-quickbuy-trigger-btn[data-besa-quickbuy] > :is(span, div) { min-width: 0; }
    .dzm-itembox-quickbuy-trigger-btn[data-besa-quickbuy] svg { width: 16px; height: 16px; }
    [data-besa-quickbuy] .dzm-itembox-quickbuy-trigger-text { display: none; }
    .besa-quickbuy-label { display: none; }
    [data-besa-quickbuy] > i { font-size: 1rem; }
    #result-wrapper .besa-list-limit-options { display: none; }
    #result-wrapper .productlist-page-nav-header-m > .productlist-item-info { display: none; }
}
@media (max-width: 1199.98px) {
    #result-wrapper:not(:has([data-besa-list-mode="1"])) #product-list.layout-box { grid-template-columns: minmax(0, 1fr) !important; gap: .65rem !important; }
    #result-wrapper:not(:has([data-besa-list-mode="1"])) #product-list.layout-box .productbox-column .productbox-inner { padding: .6rem !important; }
    #result-wrapper:not(:has([data-besa-list-mode="1"])) #product-list.layout-box .productbox-column .productbox-inner > .row { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
    #result-wrapper:not(:has([data-besa-list-mode="1"])) #product-list.layout-box .productbox-column .productbox-title {
        font-size: .875rem; line-height: 1.35; min-height: 4.05em !important;
        display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
    }
    #result-wrapper:not(:has([data-besa-list-mode="1"])) #product-list.layout-box .productbox-image.square-image { height: clamp(112px, 32vw, 150px); aspect-ratio: auto; }
    #result-wrapper:not(:has([data-besa-list-mode="1"])) #product-list.layout-box .productbox-image.square-image img { object-fit: contain; }
    #result-wrapper:not(:has([data-besa-list-mode="1"])) #product-list.layout-box .productbox-column .niu-productbox-stock,
    #result-wrapper:not(:has([data-besa-list-mode="1"])) #product-list.layout-box .productbox-column .niu-productbox-delivery-info { font-size: .75rem; line-height: 1.35; }
}
@media (min-width: 340px) and (max-width: 1199.98px) {
    #result-wrapper:not(:has([data-besa-list-mode="1"])) #product-list.layout-box { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (min-width: 768px) and (max-width: 1023.98px) {
    #result-wrapper:not(:has([data-besa-list-mode="1"])) #product-list.layout-box { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (min-width: 1024px) and (max-width: 1199.98px) {
    #result-wrapper:not(:has([data-besa-list-mode="1"])) #product-list.layout-box { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
}
@media (max-width: 1199.98px) {
    .col-lg-8:has(> #result-wrapper), .col-xl-9:has(> #result-wrapper) {
        flex: 0 0 100%; max-width: 100%; width: 100%; margin-left: 0 !important;
    }
    #result-wrapper:has([data-besa-list-mode="1"]) #product-list.layout-box { grid-template-columns: minmax(0, 1fr) !important; }
    #product-list .productbox-row .productbox-inner { padding: .65rem !important; }
    #product-list .productbox-row .niu-productbox-inner-row {
        display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: .5rem; margin: 0;
    }
    #product-list .productbox-row .niu-list-view-product-actions { display: none !important; }
    #product-list .productbox-row .niu-productbox-inner-row > .col { width: auto; max-width: none; padding: 0; }
    #product-list .productbox-row .productbox-image { height: 88px; margin: 0 !important; }
    #product-list .productbox-row .productbox-image img { width: 100%; height: 100%; object-fit: contain; }
    #product-list .productbox-row .productbox-title {
        font-size: .875rem; line-height: 1.35; min-height: 0 !important;
        display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
    }
    #product-list .productbox-row .productbox-title > a { font-size: inherit !important; line-height: inherit; }
}
@media (min-width: 576px) and (max-width: 1199.98px) {
    .besa-subcategories .niu-cat-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1200px) {
    /* Nur die native Quickbuy-Leiste liegt über dem gestreckten Produktlink. Das Bild selbst bleibt
       darunter: Klick aufs Bild öffnet den Artikel, Vergleich/Wunschzettel bleiben sichtbar. */
    #product-list .productbox-inner:has(.besa-card-product-link) .productbox-image:has(> .dzm-itembox-quickbuy-trigger-wrapper) { position: relative; }
    #product-list .productbox-inner:has(.besa-card-product-link) .productbox-image > .dzm-itembox-quickbuy-trigger-wrapper { z-index: 2; }
    /* NIU blendet den Quickbuy-Knopf nur bei .productbox-image:hover ein. Unter dem Produktlink wird das
       Bild nie „überfahren“, deshalb beim Überfahren der Karte einblenden (gleiche Werte wie NIU). */
    #product-list .productbox-inner:has(.besa-card-product-link):hover .dzm-quickbuy--is-hover .dzm-itembox-quickbuy-trigger-btn { transform: translateY(0); transition: transform .3s, opacity .9s; opacity: 1; }
    .besa-list-filter-button { display: none; }
    .besa-list-view-options { display: contents; }
    .besa-list-view-options > summary { display: none; }
    .besa-list-view-options > .besa-list-view-panel { display: flex !important; position: static; width: auto; min-width: 0; padding: 0; border: 0; box-shadow: none; background: transparent; }
}
@media (max-width: 339.98px) {
    .besa-compact-header .besa-mobile-bar,
    .besa-compact-header .besa-mobile-bar.besa-has-country { height: auto; min-height: 100px; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-template-areas: 'logo logo logo logo logo' 'menu search country account cart'; padding-block: .25rem; }
    #jtl-nav-wrapper.besa-compact-header .niu-nav-brand-wrapper { height: auto !important; min-height: 100px; }
    #result-wrapper .productlist-page-nav-header-m { flex-wrap: wrap; }
}
@media print {
    .besa-country-panel, .besa-mobile-bar, .besa-list-options { display: none !important; }
}

.besa-config-module-traits { display: flex; flex-wrap: wrap; gap: .15rem .5rem; color: #405e6e; }
.besa-config-module-traits > span + span::before { content: "\00b7"; margin-right: .5rem; }

/* F10: Nur die Vergleichsbedienleiste umbrechen; die Tabelle scrollt weiterhin separat. */
@media (max-width: 575.98px) {
    #filter-checkboxes:has(#check-all):has(#check-none) > .row > .col,
    #filter-checkboxes:has(#check-all):has(#check-none) > .row > .col-auto {
        flex: 0 0 100%;
        max-width: 100%;
        min-width: 0;
    }
    #filter-checkboxes:has(#check-all):has(#check-none) > .row > .col > .btn-group {
        display: flex;
        flex-wrap: wrap;
        max-width: 100%;
    }
    #filter-checkboxes:has(#check-all):has(#check-none) > .row .btn {
        white-space: normal;
        overflow-wrap: anywhere;
        min-width: 0;
        max-width: 100%;
    }
}

#gallery .niu-image-gallery-image[data-niu-lightbox-trigger] { position: relative; }

.besa-gallery-open {
    position: absolute;
    right: .5rem;
    bottom: .5rem;
    z-index: 2;
}
.besa-gallery-open:focus-visible { outline: 3px solid #166534; outline-offset: 2px; }

/* F12: Bei geringer Höhe Einführung, Optionen und Navigation gemeinsam scrollen. */
@media (max-height: 600px) {
    #cfg-container.niu-sidebar:is(.showing, .show):has(> :is(.cfg-group, #product-configuration-sidebar).show) {
        display: flex;
        flex-direction: column;
    }
    #cfg-container.niu-sidebar:is(.showing, .show):has(> :is(.cfg-group, #product-configuration-sidebar).show) > :not(.niu-sidebar-content) {
        flex-shrink: 0;
    }
    #cfg-container.niu-sidebar:is(.showing, .show) > .niu-sidebar-content:is(.cfg-group, #product-configuration-sidebar).show {
        display: block !important;
        flex: 1 1 0%;
        min-height: 0;
        overflow-y: auto;
    }
    #cfg-container.niu-sidebar:is(.showing, .show) > .niu-sidebar-content:is(.cfg-group, #product-configuration-sidebar).show > .niu-sidebar-content-scroll-container {
        overflow: visible;
    }
}

/*! BESA source: besa-icons.css */
/* Native icon outlines for common Shop symbols. Other codepoints retain the original complete font face. */
@font-face{font-family:"bootstrap-icons";font-style:normal;font-weight:normal;font-display:swap;src:url("../fonts/besa-bootstrap-icons.woff2?v=fbfd1acb3f7e1b3b") format("woff2");unicode-range:U+F12B,U+F12F,U+F132,U+F179,U+F19B,U+F1C7,U+F1DE,U+F1F3,U+F227,U+F26A,U+F26B,U+F282,U+F284,U+F285,U+F288,U+F2EA,U+F327,U+F333,U+F33B,U+F341,U+F3E3,U+F3FC,U+F42A,U+F431,U+F470,U+F475,U+F47B,U+F4D1,U+F4FE,U+F503,U+F52F,U+F571,U+F589,U+F59D,U+F5EA,U+F62A,U+F63E,U+F659,U+F662,U+F70D,U+F790,U+F84C}
@font-face{font-family:"Font Awesome 5 Free";font-style:normal;font-weight:900;font-display:swap;src:url("../fonts/besa-fontawesome-solid.woff2?v=3bd4e46141635244") format("woff2");unicode-range:U+F00C,U+F00D,U+F015,U+F053,U+F054,U+F059,U+F05A,U+F077,U+F078,U+F085,U+F0C8,U+F105}
