/* RADPOSTEN.DE – Eigene CSS-Anpassungen */

/* ==========================================
   RADPOSTEN.DE – NAVIGATION
   Schwarzer Hintergrund und weiße Schrift
   ========================================== */

#mainNavigation {
    background-color: #17191b;
}

#mainNavigation .nav-link {
    color: #ffffff;
    font-weight: 600;
}

#mainNavigation .nav-link:hover {
    color: #ff3030;
}


/* ==========================================
   RADPOSTEN.DE – NAVIGATION
   Navigation bündig mit dem Banner
   ========================================== */

@media (min-width: 992px) {

    header #mainNavigation {
        margin-right: 0 !important;
    }

    header .container-fluid.menu-center-center.menu-multiple-rows-scroll {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

}


/* ==========================================
   RADPOSTEN.DE – HEADER
   Obere News- und Kontaktleiste ausblenden
   ========================================== */

#header-top-bar {
    display: none !important;
}


/* ==========================================
   RADPOSTEN.DE – SUCHLEISTE
   Suche kompakter und rechts ausrichten
   Nur Desktop ab 992 px
   ========================================== */

@media (min-width: 992px) {

    .main-search-wrapper {
        flex: 0 1 450px !important;
        width: 450px !important;
        max-width: 450px !important;
        margin-left: auto !important;
        margin-right: 20px !important;
    }

}


/* ==========================================
   RADPOSTEN.DE – STARTSEITE
   Kategorieblock: volle verfügbare Breite
   ========================================== */

.radposten-kategorien-grid {
    width: 100%;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
}


/* ==========================================
   RADPOSTEN.DE – KATEGORIE-KACHELN
   Gleichmäßige Abstände ohne Layoutänderung
   ========================================== */

.radposten-kategorien-grid .opc-area.opc-col.col-lg-2 {
    padding-left: 4px !important;
    padding-right: 4px !important;
    margin-bottom: 8px;
}


/* ==========================================
   RADPOSTEN.DE – KATEGORIEBILDER
   Bilder nutzen die verfügbare Spaltenbreite
   ========================================== */

.radposten-kategorien-grid .opc-area.opc-col.col-lg-2 img {
    display: block;
    width: 100%;
    height: auto;
}


/* ==========================================
   RADPOSTEN.DE – Artikelpreis rot darstellen
   Nur auf der Produktdetailseite
   ========================================== */

body[data-page="1"] .price,
#product-offer .price {
    color: #d60024 !important;
}


/* ==========================================
   RADPOSTEN.DE – Warenkorb-Button abrunden
   ========================================== */

#add-to-cart button[type="submit"],
#add-to-cart .btn-primary {
    border-radius: 3px !important;
}


/* ==========================================
   RADPOSTEN.DE – Warenkorb-Text mobil anzeigen
   ========================================== */

@media (max-width: 767.98px) {

    #add-to-cart .btn-basket-check > span {
        display: inline !important;
        visibility: visible !important;
    }

}


/* ==========================================
   RADPOSTEN.DE – Mobile Logogröße optimieren
   ========================================== */

@media (max-width: 767.98px) {

    #shop-logo {
        width: 180px !important;
        height: auto !important;
        max-width: 100% !important;
    }

}


/* ==========================================
   RADPOSTEN.DE – Logo mobil exakt zentrieren
   ========================================== */

@media (max-width: 767.98px) {

    /* Logo mittig im Header positionieren */
    #logo {
        position: absolute !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 180px !important;
        z-index: 1;
    }

    /* Logogröße beibehalten */
    #shop-logo {
        width: 180px !important;
        height: auto !important;
        max-width: 100% !important;
    }

}


/* ==========================================
   RADPOSTEN.DE – Mobiles Logo exakt zentrieren
   Horizontal und vertikal im Header
   ========================================== */

@media (max-width: 767.98px) {

    /* Header als Bezugspunkt */
    header nav.navbar {
        position: relative !important;
    }

    /* Logo horizontal und vertikal zentrieren */
    header #logo {
        position: absolute !important;
        left: 50% !important;
        top: calc(50% + 4px) !important;
        transform: translate(-50%, -50%) !important;
        width: 180px !important;
        z-index: 2;
    }

    /* Logogröße */
    header #shop-logo {
        width: 180px !important;
        height: auto !important;
        max-width: 100% !important;
    }

}



/* ==========================================
   RADPOSTEN.DE – STARTSEITE SEO-BEREICH
   Gestaltung des OPC-Rich-Text-Blocks
   ========================================== */

.radposten-seo {
    box-sizing: border-box;
    background: #f3f4f5;
    color: #17191b;
    padding: 48px 32px;
    margin: 42px 0 0;
    font-family: inherit;
}

.radposten-seo *,
.radposten-seo *::before,
.radposten-seo *::after {
    box-sizing: border-box;
}

.radposten-seo .radposten-seo-inner {
    max-width: 1180px;
    margin: 0 auto;
}

.radposten-seo h1 {
    color: #17191b;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 18px;
}

.radposten-seo .intro {
    max-width: 950px;
    color: #45494d;
    font-size: 16px;
    line-height: 1.75;
    margin: 0 0 30px;
}

.radposten-seo .radposten-seo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.radposten-seo .radposten-seo-card {
    min-width: 0;
    background: #ffffff;
    border-top: 4px solid #ff3030;
    padding: 26px;
}

.radposten-seo .radposten-seo-card h2 {
    color: #17191b;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 14px;
}

.radposten-seo .radposten-seo-card p {
    color: #45494d;
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 13px;
}

.radposten-seo .radposten-seo-card p:last-child {
    margin-bottom: 0;
}

.radposten-seo .radposten-seo-bottom {
    border-top: 1px solid #d5d8da;
    margin-top: 30px;
    padding-top: 24px;
}

.radposten-seo .radposten-seo-bottom h2 {
    color: #17191b;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 12px;
}

.radposten-seo .radposten-seo-bottom p {
    color: #45494d;
    font-size: 15px;
    line-height: 1.75;
    margin: 0;
}

@media (max-width: 991.98px) {
    .radposten-seo {
        padding: 36px 24px;
    }

    .radposten-seo .radposten-seo-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (max-width: 575.98px) {
    .radposten-seo {
        margin-top: 28px;
        padding: 28px 16px;
    }

    .radposten-seo h1 {
        font-size: 23px;
    }

    .radposten-seo .intro {
        font-size: 15px;
    }

    .radposten-seo .radposten-seo-card {
        padding: 22px 18px;
    }

    .radposten-seo .radposten-seo-card h2 {
        font-size: 18px;
    }

    .radposten-seo .radposten-seo-bottom h2 {
        font-size: 19px;
    }
}


/* ==========================================
   RADPOSTEN.DE – SEO-TEXTE AUSSERHALB DER KARTEN
   Zentriert, Karteninhalte bleiben linksbündig
   ========================================== */

.radposten-seo h1,
.radposten-seo .intro,
.radposten-seo .radposten-seo-bottom h2,
.radposten-seo .radposten-seo-bottom p {
    text-align: center;
}

.radposten-seo .intro {
    margin-left: auto;
    margin-right: auto;
}


/* ==========================================
   RADPOSTEN.DE – EINHEITLICHE SHOPBREITE
   Banner, Vorteile, Kategorie-Kacheln, Top-Artikel
   und SEO-Texte: EIN gemeinsamer äußerer Rahmen.
   Desktop: 1380 px statt 1180 px.

   WICHTIG: Keine max-width-Regeln auf verschachtelte
   .container, .opc-area oder .opc-col anwenden!
   Sonst schrumpfen die sechs Kategorie-Kacheln.
   ========================================== */

@media (min-width: 1200px) {
    #main-wrapper {
        width: 100% !important;
        max-width: 1380px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    #main-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* Innere OPC-Bereiche nutzen die Breite ihres Rahmens.
   Die sechs Kategorie-Spalten bleiben gleich groß. */
.radposten-kategorien-grid {
    width: 100% !important;
    max-width: 100% !important;
}

/* Bilder und Slider nicht künstlich zusätzlich verkleinern. */
#main-wrapper img {
    max-width: 100%;
}


/* ==========================================
   RADPOSTEN.DE – DESKTOP-NAVIGATION AUSRICHTEN
   Schwarzer Balken bleibt vollflächig,
   Menueinhalt wird mit Shopinhalt zentriert.
   Mobile Logo- und Headerregeln bleiben unangetastet.
   ========================================== */

@media (min-width: 1200px) {
    header #mainNavigation > .container-fluid,
    header #mainNavigation .container-fluid.menu-center-center.menu-multiple-rows-scroll,
    header .container-fluid.menu-center-center.menu-multiple-rows-scroll {
        width: 100% !important;
        max-width: 1380px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box;
    }
}

/* ==========================================
   RADPOSTEN.DE – DESKTOP-HEADER PASSEND ZUM SHOP
   Logo, Suche und Konto/Warenkorb gemeinsam
   auf derselben Achse wie Banner und Navigation.
   Die helle Kopfzeile bleibt über volle Breite.
   Mobile Ansicht wird nicht verändert.
   ========================================== */

@media (min-width: 1200px) {
    /* NOVA: unmittelbarer Container für Logo, Suche und Shop-Symbole. */
    #jtl-nav-wrapper > .container-fluid,
    #jtl-nav-wrapper > .container,
    #jtl-nav-wrapper > .container-fluid-xl {
        width: 100% !important;
        max-width: 1380px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box;
    }

    /* Suchfeld innerhalb der zentrierten Headerzeile belassen. */
    #jtl-nav-wrapper .main-search-wrapper {
        margin-left: auto !important;
        margin-right: 20px !important;
    }
}

/* Desktop bei schmaleren Viewports: keine festen Überbreiten. */
@media (min-width: 992px) and (max-width: 1199.98px) {
    #jtl-nav-wrapper > .container-fluid,
    #jtl-nav-wrapper > .container,
    #jtl-nav-wrapper > .container-fluid-xl {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* ================================================================
   RADPOSTEN.DE – KONTAKTSEITE (JTL-NOVA Standard-Kontaktformular)
   Betrifft NUR Inhalte mit den Klassen radposten-contact-*
   sowie das native <form class="contact-form">.
   Kein neues Formular, keine Änderungen an anderen Shopseiten.
   ================================================================ */

.radposten-contact-intro,
.radposten-contact-cards,
.radposten-contact-form-heading,
.radposten-contact-advice {
    width: 100%;
    max-width: 960px;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
}

.radposten-contact-intro {
    background: #f3f4f5;
    border-bottom: 3px solid #ff3030;
    text-align: center;
    padding: 33px 28px 30px;
    margin-top: 8px;
    margin-bottom: 18px;
}

.radposten-contact-intro .radposten-contact-eyebrow {
    color: #d60024;
    letter-spacing: 2px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 10px;
}

.radposten-contact-intro h2 {
    color: #17191b;
    font-size: clamp(23px, 2.4vw, 29px);
    line-height: 1.3;
    font-weight: 700;
    margin: 0 0 12px;
}

.radposten-contact-intro .radposten-contact-lead {
    color: #17191b;
    font-size: 17px;
    line-height: 1.55;
    font-weight: 600;
    margin: 0 0 10px;
}

.radposten-contact-intro p:last-child {
    color: #4d5256;
    font-size: 15px;
    line-height: 1.7;
    margin: 0 auto;
    max-width: 740px;
}

.radposten-contact-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.radposten-contact-card {
    background: #f7f8f9;
    border-top: 3px solid #ff3030;
    padding: 22px 24px;
    min-width: 0;
}

.radposten-contact-card .radposten-contact-card-label {
    font-size: 11px;
    letter-spacing: 1.4px;
    font-weight: 700;
    color: #d60024;
    margin: 0 0 7px;
}

.radposten-contact-card h3 {
    color: #17191b;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 7px;
}

.radposten-contact-card .radposten-contact-card-link {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 8px;
    overflow-wrap: anywhere;
}

.radposten-contact-card a {
    color: #17191b;
    text-decoration: none;
}

.radposten-contact-card a:hover,
.radposten-contact-card a:focus-visible {
    color: #d60024;
    text-decoration: underline;
}

.radposten-contact-card p:last-child {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.radposten-contact-form-heading {
    margin-bottom: 13px;
}

.radposten-contact-form-heading h2 {
    color: #17191b;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.35;
    padding: 0 0 10px;
    margin: 0 0 10px;
    border-bottom: 1px solid #dedede;
}

.radposten-contact-form-heading p {
    color: #555;
    font-size: 15px;
    line-height: 1.65;
    margin: 0;
}

/* Das echte Formular wird von JTL erzeugt. */
form.contact-form {
    max-width: 960px;
    margin: 0 auto 24px;
    background: #f3f4f5;
    border-top: 3px solid #ff3030;
    padding: 22px 24px 24px;
    box-sizing: border-box;
}

form.contact-form .required-info {
    color: #61666a;
    font-size: 13px;
    margin: 0 0 10px;
}

form.contact-form hr {
    border: 0;
    border-top: 1px solid #dfe2e5;
    margin: 12px 0;
}

form.contact-form fieldset.row {
    background: #fff;
    border: 1px solid #e2e4e6;
    border-left: 3px solid #ff3030;
    padding: 18px 12px 12px;
    margin: 0 0 15px;
    min-width: 0;
}

form.contact-form fieldset .h3 {
    color: #17191b;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 15px;
}

form.contact-form .form-group {
    margin-bottom: 14px;
}

form.contact-form .form-control,
form.contact-form .custom-select,
form.contact-form input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
form.contact-form select,
form.contact-form textarea {
    background-color: #fff;
    border: 1px solid #cdd2d6;
    border-radius: 3px;
    color: #17191b;
    box-shadow: none;
    max-width: 100%;
}

form.contact-form .form-control:focus,
form.contact-form .custom-select:focus,
form.contact-form input:focus,
form.contact-form select:focus,
form.contact-form textarea:focus {
    border-color: #ff3030;
    box-shadow: 0 0 0 2px rgba(255,48,48,.12);
    outline: none;
}

form.contact-form input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
form.contact-form select {
    min-height: 43px;
}

form.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

form.contact-form label {
    color: #34383c;
}

form.contact-form .contact-form-privacy,
form.contact-form .contact-form-privacy a {
    font-size: 13px;
    line-height: 1.6;
}

form.contact-form .contact-form-privacy a {
    color: #b90022;
}

form.contact-form button[type="submit"],
form.contact-form input[type="submit"] {
    background: #ff3030;
    border: 1px solid #ff3030;
    color: #fff;
    border-radius: 2px;
    font-size: 14px;
    font-weight: 700;
    min-height: 44px;
    padding: 10px 17px;
}

form.contact-form button[type="submit"]:hover,
form.contact-form input[type="submit"]:hover,
form.contact-form button[type="submit"]:focus-visible,
form.contact-form input[type="submit"]:focus-visible {
    background: #d60024;
    border-color: #d60024;
    color: #fff;
}

.radposten-contact-advice {
    background: #17191b;
    padding: 25px 28px;
    margin-top: 7px;
    margin-bottom: 18px;
}

.radposten-contact-advice .radposten-contact-advice-kicker {
    color: #ff4545;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.7px;
    margin: 0 0 7px;
}

.radposten-contact-advice h2 {
    color: #fff;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 9px;
}

.radposten-contact-advice p {
    color: #dedede;
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

/* Seitentitel nur auf Seiten, auf denen das native Kontaktformular steht. */
body:has(form.contact-form) .title.h2 {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    color: #17191b;
    font-size: 25px;
    font-weight: 700;
}

@media (max-width: 767.98px) {
    .radposten-contact-intro {
        padding: 26px 20px;
    }

    .radposten-contact-cards {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 25px;
    }

    .radposten-contact-card {
        padding: 19px 18px;
    }

    form.contact-form {
        padding: 18px 14px;
    }

    form.contact-form fieldset.row {
        padding: 18px 8px 8px;
    }

    .radposten-contact-advice {
        padding: 23px 20px;
    }
}


/* ================================================================
   RADPOSTEN.DE – VOLLBREITE BALKEN / ZENTRIERTER SHOP
   Desktop: weisser Header, anthrazitfarbene Navigation und Footer
   gehen über die Bildschirmbreite. Die eigentlichen Inhalte bleiben
   bei maximal 1380 px – wie Banner, Kategorien und Top-Artikel.
   Keine Änderung an OPC, Kontaktformular oder mobiler Logoposition.
   ================================================================ */

@media (min-width: 1200px) {

    /* Hellgraue Aussenflächen links/rechts vom weissen Shopinhalt. */
    html,
    body.is-nova {
        background-color: #f3f4f5 !important;
    }

    /* Der obere WEISSE Header darf nicht mehr bei 1380 px enden.
       Die vorhandene innere Kopfzeile wird weiterhin mit den
       obigen Regeln auf 1380 px begrenzt. */
    #jtl-nav-wrapper {
        width: 100% !important;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        background-color: #ffffff !important;
        box-sizing: border-box;
    }

    /* Die innere Kopfzeile (Logo / Suche / Konto) bleibt schmal.
       Gerade NICHT alle verschachtelten .container begrenzen. */
    #jtl-nav-wrapper > .container,
    #jtl-nav-wrapper > .container-fluid,
    #jtl-nav-wrapper > .container-fluid-xl {
        width: 100% !important;
        max-width: 1380px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box;
    }

    /* Der dunkle Streifen reicht auf beiden Seiten bis zum
       Bildschirmrand. #mainNavigation sitzt IN der Kopfzeile:
       deshalb den Hintergrund erweitern und NICHT die Menüeinträge.
       Die Pseudofläche ist rein dekorativ, Menüs bleiben klickbar. */
    #mainNavigation {
        position: relative;
        isolation: isolate;
        overflow: visible !important;
        background-color: #17191b !important;
    }

    #mainNavigation::before {
        content: "";
        position: absolute;
        z-index: -1;
        top: 0;
        bottom: 0;
        left: 50%;
        width: 100vw;
        transform: translateX(-50%);
        background-color: #17191b;
        pointer-events: none;
    }

    /* Die Seite selbst bleibt wie bisher maximal 1380 px breit. */
    #main-wrapper {
        width: 100% !important;
        max-width: 1380px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        background-color: #ffffff;
        box-sizing: border-box;
    }
}

/* Der gesamte Footer-BALKEN, inklusive Copyright, ist vollbreit. */
#footer {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    background-color: #17191b;
    box-sizing: border-box;
}

/* Nur der Inhalt innerhalb des Footers wird zentriert.
   JTL NOVA: footer#footer > .container und
   footer#footer > #copyright > .container-fluid. */
@media (min-width: 1200px) {
    #footer > .container,
    #footer > .container-fluid,
    #footer > .container-fluid-xl,
    #footer > #copyright > .container,
    #footer > #copyright > .container-fluid,
    #footer > #copyright > .container-fluid-xl {
        width: 100% !important;
        max-width: 1380px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box;
    }
}

/* Keine alte 1380-px-Grenze direkt auf dem Copyright-Balken. */
#footer #copyright {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box;
}

/* Auf der Startseite nicht künstlich zusätzlichen Abstand
   zwischen SEO-Bereich und Footer erzwingen. */
body[data-page="1"] #main-wrapper,
body[data-page="1"] #content-wrapper {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* ================================================================
   RADPOSTEN.DE – KATEGORIE-SEO-TEXTE IM CI-STIL
   OPC Rich-Text-Portlets: Layout -> Benutzerdefinierte Klasse(n):
   radposten-kategorie-seo
   Gilt nur fuer Portlets mit dieser Klasse.
   ================================================================ */

:is(.radposten-kategorie-seo, :where(#result-wrapper > .desc:has(> h3):not(:has(> h2)))) {
    width: 100%;
    max-width: 960px;
    box-sizing: border-box;
    margin: 24px auto 32px !important;
    padding: 30px 34px 28px;
    background: #f3f4f5;
    border-top: 3px solid #ff3030;
    color: #17191b;
    text-align: left;
}

:is(.radposten-kategorie-seo, :where(#result-wrapper > .desc:has(> h3):not(:has(> h2)))) *,
:is(.radposten-kategorie-seo, :where(#result-wrapper > .desc:has(> h3):not(:has(> h2)))) *::before,
:is(.radposten-kategorie-seo, :where(#result-wrapper > .desc:has(> h3):not(:has(> h2)))) *::after {
    box-sizing: border-box;
}

:is(.radposten-kategorie-seo, :where(#result-wrapper > .desc:has(> h3):not(:has(> h2)))) h2,
:is(.radposten-kategorie-seo, :where(#result-wrapper > .desc:has(> h3):not(:has(> h2)))) h3 {
    color: #17191b;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    border-left: 3px solid #ff3030;
    padding: 0 0 0 13px;
    margin: 24px 0 11px;
    text-align: left;
}

:is(.radposten-kategorie-seo, :where(#result-wrapper > .desc:has(> h3):not(:has(> h2)))) h2:first-of-type,
:is(.radposten-kategorie-seo, :where(#result-wrapper > .desc:has(> h3):not(:has(> h2)))) h3:first-of-type {
    margin-top: 0;
}

:is(.radposten-kategorie-seo, :where(#result-wrapper > .desc:has(> h3):not(:has(> h2)))) p,
:is(.radposten-kategorie-seo, :where(#result-wrapper > .desc:has(> h3):not(:has(> h2)))) li {
    color: #44494d;
    font-size: 15px;
    line-height: 1.75;
    text-align: left;
}

:is(.radposten-kategorie-seo, :where(#result-wrapper > .desc:has(> h3):not(:has(> h2)))) p {
    margin: 0 0 12px;
}

:is(.radposten-kategorie-seo, :where(#result-wrapper > .desc:has(> h3):not(:has(> h2)))) p:last-child {
    margin-bottom: 0;
}

:is(.radposten-kategorie-seo, :where(#result-wrapper > .desc:has(> h3):not(:has(> h2)))) ul,
:is(.radposten-kategorie-seo, :where(#result-wrapper > .desc:has(> h3):not(:has(> h2)))) ol {
    margin: 0 0 15px;
    padding-left: 22px;
}

:is(.radposten-kategorie-seo, :where(#result-wrapper > .desc:has(> h3):not(:has(> h2)))) li {
    margin-bottom: 5px;
}

:is(.radposten-kategorie-seo, :where(#result-wrapper > .desc:has(> h3):not(:has(> h2)))) strong {
    color: #17191b;
    font-weight: 700;
}

:is(.radposten-kategorie-seo, :where(#result-wrapper > .desc:has(> h3):not(:has(> h2)))) a {
    color: #c70025;
    text-decoration: underline;
    text-underline-offset: 2px;
}

:is(.radposten-kategorie-seo, :where(#result-wrapper > .desc:has(> h3):not(:has(> h2)))) a:hover,
:is(.radposten-kategorie-seo, :where(#result-wrapper > .desc:has(> h3):not(:has(> h2)))) a:focus-visible {
    color: #ff3030;
}

@media (max-width: 767.98px) {
    :is(.radposten-kategorie-seo, :where(#result-wrapper > .desc:has(> h3):not(:has(> h2)))) {
        margin-top: 18px !important;
        margin-bottom: 24px !important;
        padding: 23px 18px;
    }

    :is(.radposten-kategorie-seo, :where(#result-wrapper > .desc:has(> h3):not(:has(> h2)))) h2,
    :is(.radposten-kategorie-seo, :where(#result-wrapper > .desc:has(> h3):not(:has(> h2)))) h3 {
        font-size: 18px;
        margin-top: 21px;
        padding-left: 11px;
    }

    :is(.radposten-kategorie-seo, :where(#result-wrapper > .desc:has(> h3):not(:has(> h2)))) p,
    :is(.radposten-kategorie-seo, :where(#result-wrapper > .desc:has(> h3):not(:has(> h2)))) li {
        font-size: 14px;
        line-height: 1.7;
    }
}

/* ================================================================
   RADPOSTEN.DE – KURZE KATEGORIE-EINLEITUNG UEBER DEN PRODUKTEN
   Automatisch fuer die JTL-NOVA-Kategoriebeschreibung aus JTL-Wawi.
   Selektor aus productlist/header.tpl: #result-wrapper > .desc
   Der separate OPC-SEO-Block darunter bleibt unveraendert.
   ================================================================ */

/* Nur die obere Standardbeschreibung im Produktlisten-Kopf. */
#result-wrapper > .desc {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 10px 0 22px;
    padding: 13px 18px 13px 19px;
    background-color: #ffffff;
    border-left: 3px solid #ff3030;
    color: #17191b;
    text-align: left;
}

/* Keine ueberfluessigen Abstaende durch den JTL-Standard-Absatz. */
#result-wrapper > .desc > p {
    margin: 0;
}

#result-wrapper > .desc h2,
#result-wrapper > .desc h3,
#result-wrapper > .desc h4 {
    margin: 0 0 9px;
    padding: 0;
    color: #17191b;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.4;
    text-align: left;
    border: 0;
}

#result-wrapper > .desc p,
#result-wrapper > .desc li {
    margin-top: 0;
    margin-bottom: 8px;
    color: #44494d;
    font-size: 15px;
    line-height: 1.65;
    text-align: left;
}

#result-wrapper > .desc p:last-child,
#result-wrapper > .desc > p:last-child,
#result-wrapper > .desc p > :last-child {
    margin-bottom: 0;
}

#result-wrapper > .desc a {
    color: #c70025;
    text-decoration: underline;
    text-underline-offset: 2px;
}

#result-wrapper > .desc a:hover,
#result-wrapper > .desc a:focus-visible {
    color: #ff3030;
}

@media (max-width: 767.98px) {
    #result-wrapper > .desc {
        margin: 8px 0 18px;
        padding: 11px 12px 11px 14px;
    }

    #result-wrapper > .desc h2,
    #result-wrapper > .desc h3,
    #result-wrapper > .desc h4 {
        font-size: 17px;
        margin-bottom: 7px;
    }

    #result-wrapper > .desc p,
    #result-wrapper > .desc li {
        font-size: 14px;
        line-height: 1.6;
    }
}

/* ================================================================
   RADPOSTEN.DE – PRODUKTLISTE OHNE SORTIER-/SEITENGROESSEN-DROPDOWNS
   NOVA: snippets/productlist_page_nav.tpl
   Nur die beiden Auswahlfelder ausblenden.
   Galerie/Liste, Trefferanzahl und Seitennavigation bleiben erhalten.
   ================================================================ */
.productlist-page-nav .filter-type-FilterItemSort,
.productlist-page-nav .filter-type-FilterItemLimits {
    display: none !important;
}

/* ================================================================
   RADPOSTEN.DE – LISTEN-/GALERIE-UMSCHALTER ENTFERNEN
   NOVA: productlist/layout_options.tpl
   Nur die beiden Ansichtsschalter ausblenden; Produkte, Trefferzahl
   und Paginierung bleiben erhalten.
   ================================================================ */
.productlist-page-nav #ed_list,
.productlist-page-nav #ed_gallery {
    display: none !important;
}

/* ================================================================
   RADPOSTEN.DE – RABATT-BADGE DIREKT AM PRODUKTBILD
   JTL NOVAChild/productlist/item_box.tpl
   Kein absolutes Verschieben mehr aus dem Preisblock.
   Header, Navigation, Artikelbilder und andere Seiten unverändert.
   ================================================================ */

/* Die Position bezieht sich auf den tatsächlichen Bildcontainer. */
/* Nur den aeusseren Bildcontainer positionieren. Die inneren
   .square-Elemente brauchen ihre NOVA-Positionierung fuer Zweitbilder. */
.productbox .productbox-image:not(.square) {
    position: relative;
}
:is(.productbox, .product-slider-TopAngebot) .rp-image-saving {
    position: absolute;
    z-index: 5;
    top: 9px;
    left: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 10px 6px;
    color: #fff;
    background: #17191b;
    border: 0;
    border-radius: 2px 2px 5px 2px;
    box-shadow: 3px 3px 0 #ff3030;
    font-size: 15px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -.2px;
    white-space: nowrap;
    pointer-events: none;
    transform: skewX(-9deg);
}
:is(.productbox, .product-slider-TopAngebot) .rp-image-saving > span {
    display: block;
    transform: skewX(9deg);
}

/* Bereits vorhandene grüne NOVA-Lagerfahnen ausblenden. */
.productbox .ribbon,
.productbox .ribbon-wrapper {
    display: none !important;
}

/* Zweizeilige Titel reservieren für gleichmäßige Preispositionen.
   Bestehende NOVA-Textbegrenzung bleibt erhalten. */
.productbox .productbox-title {
    min-height: 2.8em;
}

/* Graue, durchgestrichene UVP und prägnanter roter Verkaufspreis. */
:is(.productbox, .product-slider-TopAngebot) .price_wrapper .rp-uvp {
    display: block;
    color: #777b80 !important;
    font-size: 13px;
    line-height: 1.35;
    margin: 0 0 3px !important;
}
:is(.productbox, .product-slider-TopAngebot) .price_wrapper .rp-uvp del {
    color: inherit !important;
    text-decoration: line-through !important;
}
:is(.productbox, .product-slider-TopAngebot) .price_wrapper > .price,
:is(.productbox, .product-slider-TopAngebot) .price_wrapper .price {
    color: #d60024 !important;
    font-size: 23px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    margin: 0 !important;
}

/* Die alte Rabattzeile aus früheren Versionen darf nicht erscheinen. */
:is(.productbox, .product-slider-TopAngebot) .price_wrapper .rp-uvp-saving {
    display: none !important;
}

@media (max-width: 767.98px) {
    :is(.productbox, .product-slider-TopAngebot) .rp-image-saving {
        top: 6px;
        left: 6px;
        padding: 4px 7px 5px;
        font-size: 11px;
        box-shadow: 2px 2px 0 #ff3030;
    }
    :is(.productbox, .product-slider-TopAngebot) .price_wrapper .rp-uvp {
        font-size: 12px;
    }
    :is(.productbox, .product-slider-TopAngebot) .price_wrapper > .price,
    :is(.productbox, .product-slider-TopAngebot) .price_wrapper .price {
        font-size: 19px !important;
    }
}

/* Startseite: Kacheln zwischen Vorteilsleiste und Top-Artikeln. */
.radposten-kategorien-grid {
    position: relative;
    top: 21px;
}
.product-slider-TopAngebot .item-slider-desc {
    min-height: 2.8em;
}
.product-slider-TopAngebot .item-slider-price .rp-uvp {
    min-height: 1.35em;
}
.product-slider-wrapper:not(.product-slider-TopAngebot) .item-slider .rp-image-saving {
    display: none;
}


/* Die Serviceleiste kann in mehreren OPC-Entwürfen vorkommen. */
#main-wrapper .rp-phone-trust,
#main-wrapper .rp-phone-service-image {
    display: none !important;
}

/* Mobile Navigation */
@media (max-width: 991.98px) {
    #shop-nav-wish,
    #shop-nav-compare,
    :is(header, #mainNavigation, #shop-nav, .nav-mobile-body, .nav-mobile-footer) a:is([href*="/Wunschliste" i], [href*="/Wunschzettel" i], [href*="/Vergleichsliste" i], [href*="/News" i], [href$="#my-wishlists" i], [aria-label="Wunschzettel" i], [aria-label="Vergleichsliste" i], [aria-label="News" i], [title="Wunschzettel" i], [title="Vergleichsliste" i], [title="News" i]),
    :is(header, #mainNavigation, #shop-nav, .nav-mobile-body, .nav-mobile-footer) li:has(> a:is([href*="/Wunschliste" i], [href*="/Wunschzettel" i], [href*="/Vergleichsliste" i], [href*="/News" i], [href$="#my-wishlists" i], [aria-label="Wunschzettel" i], [aria-label="Vergleichsliste" i], [aria-label="News" i], [title="Wunschzettel" i], [title="Vergleichsliste" i], [title="News" i])) {
        display: none !important;
    }

}

/* Gewichtszeilen unter der Beschreibung auf allen Bildschirmgrößen. */
#tab-description .product-attributes tr.attr-weight,
#tab-description .product-attributes tr:has(> td.weight-unit),
#tab-description .product-attributes:has(> table > tbody > tr > td.weight-unit):not(:has(> table > tbody > tr > td:last-child:not(.weight-unit))) {
    display: none;
}

/* RADPOSTEN Produktbeschreibung v1.0 | 19.11.2026
   Einmalig am Ende der bestehenden custom/radposten-custom.css ergänzen.
   Alle Regeln sind auf .rp-product-desc begrenzt. Keine Core-Änderungen. */
:is(.rp-product-desc, :where(#tab-description > .desc:not(:has(.rp-product-desc)))) {
    --rp-pd-ink: #17191b;
    --rp-pd-accent: #ff3030;
    --rp-pd-soft: #f5f5f5;
    --rp-pd-line: #e2e3e4;
    box-sizing: border-box;
    width: 100%;
    max-width: 960px;
    min-width: 0;
    margin: 0 auto;
    color: var(--rp-pd-ink);
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.6;
    text-align: left;
    overflow-wrap: anywhere;
}
:is(.rp-product-desc, :where(#tab-description > .desc:not(:has(.rp-product-desc)))) *,
:is(.rp-product-desc, :where(#tab-description > .desc:not(:has(.rp-product-desc)))) *::before,
:is(.rp-product-desc, :where(#tab-description > .desc:not(:has(.rp-product-desc)))) *::after { box-sizing: border-box; }
:is(.rp-product-desc, :where(#tab-description > .desc:not(:has(.rp-product-desc)))) .rp-pd-intro {
    margin: 0 0 24px;
    padding: 20px 22px;
    border-left: 3px solid var(--rp-pd-accent);
    background: var(--rp-pd-soft);
}
:is(.rp-product-desc, :where(#tab-description > .desc:not(:has(.rp-product-desc)))) h2,
:is(.rp-product-desc, :where(#tab-description > .desc:not(:has(.rp-product-desc)))) h3 {
    color: var(--rp-pd-ink);
    font-family: inherit;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: normal;
    text-transform: none;
}
:is(.rp-product-desc, :where(#tab-description > .desc:not(:has(.rp-product-desc)))) h2 { margin: 0 0 12px; font-size: 1.375rem; }
:is(.rp-product-desc, :where(#tab-description > .desc:not(:has(.rp-product-desc)))) h3 { margin: 0 0 14px; font-size: 1.125rem; }
:is(.rp-product-desc, :where(#tab-description > .desc:not(:has(.rp-product-desc)))) p { margin: 0 0 12px; }
:is(.rp-product-desc, :where(#tab-description > .desc:not(:has(.rp-product-desc)))) p:last-child { margin-bottom: 0; }
:is(.rp-product-desc, :where(#tab-description > .desc:not(:has(.rp-product-desc)))) strong { font-weight: 600; }
:is(.rp-product-desc, :where(#tab-description > .desc:not(:has(.rp-product-desc)))) .rp-pd-section {
    margin: 0 0 26px;
    padding: 0 0 24px;
    border-bottom: 1px solid var(--rp-pd-line);
}
:is(.rp-product-desc, :where(#tab-description > .desc:not(:has(.rp-product-desc)))) :is(.rp-pd-list, :where(#tab-description > .desc:not(:has(.rp-product-desc)) ul, #tab-description > .desc:not(:has(.rp-product-desc)) ol)) {
    margin: 0;
    padding: 0 0 0 20px;
    list-style: disc outside;
}
:is(.rp-product-desc, :where(#tab-description > .desc:not(:has(.rp-product-desc)))) :is(.rp-pd-list, :where(#tab-description > .desc:not(:has(.rp-product-desc)) ul, #tab-description > .desc:not(:has(.rp-product-desc)) ol)) li { margin: 0 0 8px; padding-left: 2px; }
:is(.rp-product-desc, :where(#tab-description > .desc:not(:has(.rp-product-desc)))) :is(.rp-pd-list, :where(#tab-description > .desc:not(:has(.rp-product-desc)) ul, #tab-description > .desc:not(:has(.rp-product-desc)) ol)) li:last-child { margin-bottom: 0; }
:is(.rp-product-desc, :where(#tab-description > .desc:not(:has(.rp-product-desc)))) :is(.rp-pd-table, :where(#tab-description > .desc:not(:has(.rp-product-desc)) table)) {
    width: 100%;
    max-width: 100%;
    margin: 0;
    table-layout: fixed;
    border-collapse: collapse;
    border: 1px solid var(--rp-pd-line);
    font-size: inherit;
    line-height: 1.5;
}
:is(.rp-product-desc, :where(#tab-description > .desc:not(:has(.rp-product-desc)))) :is(.rp-pd-table, :where(#tab-description > .desc:not(:has(.rp-product-desc)) table)) caption {
    padding: 0 0 10px;
    color: var(--rp-pd-ink);
    font-size: .875rem;
    text-align: left;
    caption-side: top;
}
:is(.rp-product-desc, :where(#tab-description > .desc:not(:has(.rp-product-desc)))) :is(.rp-pd-table, :where(#tab-description > .desc:not(:has(.rp-product-desc)) table)) th,
:is(.rp-product-desc, :where(#tab-description > .desc:not(:has(.rp-product-desc)))) :is(.rp-pd-table, :where(#tab-description > .desc:not(:has(.rp-product-desc)) table)) td {
    padding: 11px 14px;
    border-bottom: 1px solid var(--rp-pd-line);
    text-align: left;
    vertical-align: top;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
}
:is(.rp-product-desc, :where(#tab-description > .desc:not(:has(.rp-product-desc)))) :is(.rp-pd-table, :where(#tab-description > .desc:not(:has(.rp-product-desc)) table)) th { width: 36%; font-weight: 600; }
:is(.rp-product-desc, :where(#tab-description > .desc:not(:has(.rp-product-desc)))) :is(.rp-pd-table, :where(#tab-description > .desc:not(:has(.rp-product-desc)) table)) tbody tr:nth-child(odd) { background: #f7f7f7; }
:is(.rp-product-desc, :where(#tab-description > .desc:not(:has(.rp-product-desc)))) .rp-pd-note {
    margin-top: 14px;
    padding: 14px 16px;
    border-left: 3px solid var(--rp-pd-accent);
    background: var(--rp-pd-soft);
}
:is(.rp-product-desc, :where(#tab-description > .desc:not(:has(.rp-product-desc)))) .rp-pd-trust {
    margin: 0;
    padding: 18px 22px;
    background: var(--rp-pd-soft);
    font-size: .9375rem;
}
:is(.rp-product-desc, :where(#tab-description > .desc:not(:has(.rp-product-desc)))) a {
    color: var(--rp-pd-ink);
    text-decoration: underline;
    text-decoration-color: var(--rp-pd-accent);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}
:is(.rp-product-desc, :where(#tab-description > .desc:not(:has(.rp-product-desc)))) a:hover { text-decoration-color: var(--rp-pd-ink); }
:is(.rp-product-desc, :where(#tab-description > .desc:not(:has(.rp-product-desc)))) a:focus-visible { outline: 2px solid var(--rp-pd-ink); outline-offset: 4px; }
@media (max-width: 575.98px) {
    :is(.rp-product-desc, :where(#tab-description > .desc:not(:has(.rp-product-desc)))) .rp-pd-intro { padding: 16px; margin-bottom: 22px; }
    :is(.rp-product-desc, :where(#tab-description > .desc:not(:has(.rp-product-desc)))) h2 { font-size: 1.1875rem; }
    :is(.rp-product-desc, :where(#tab-description > .desc:not(:has(.rp-product-desc)))) h3 { font-size: 1.0625rem; }
    :is(.rp-product-desc, :where(#tab-description > .desc:not(:has(.rp-product-desc)))) .rp-pd-section { margin-bottom: 22px; padding-bottom: 20px; }
    :is(.rp-product-desc, :where(#tab-description > .desc:not(:has(.rp-product-desc)))) :is(.rp-pd-table, :where(#tab-description > .desc:not(:has(.rp-product-desc)) table)) th { width: 40%; }
    :is(.rp-product-desc, :where(#tab-description > .desc:not(:has(.rp-product-desc)))) :is(.rp-pd-table, :where(#tab-description > .desc:not(:has(.rp-product-desc)) table)) th,
    :is(.rp-product-desc, :where(#tab-description > .desc:not(:has(.rp-product-desc)))) :is(.rp-pd-table, :where(#tab-description > .desc:not(:has(.rp-product-desc)) table)) td { padding: 10px; }
    :is(.rp-product-desc, :where(#tab-description > .desc:not(:has(.rp-product-desc)))) .rp-pd-trust { padding: 16px; }
}


/* Produkttexte aus älteren Wawi-Vorlagen nutzen das Radposten-Layout. */
#tab-description > .desc:not(:has(.rp-product-desc)) > :is(h2,h3,p,ul,table) { margin-top: 0; }
#tab-description > .desc:not(:has(.rp-product-desc)) > p:empty { display:none; }
#tab-description > .desc:not(:has(.rp-product-desc)) > h2, #tab-description > .desc:not(:has(.rp-product-desc)) #ds_div h5 { background:#f5f5f5; border-left:3px solid #ff3030; padding:20px 22px 8px; margin:0; color:#17191b; font-size:1.375rem; font-weight:600; line-height:1.35; }
#tab-description > .desc:not(:has(.rp-product-desc)) > h2 + p { background:#f5f5f5; border-left:3px solid #ff3030; padding:0 22px 20px; margin:0 0 24px; }
#tab-description > .desc:not(:has(.rp-product-desc)) > h3 { margin:24px 0 14px; padding-top:20px; border-top:1px solid #e2e3e4; }
#tab-description > .desc:not(:has(.rp-product-desc)) > h2 + p + h3 { padding-top:0; border:0; }
#tab-description > .desc:not(:has(.rp-product-desc)) table tbody td:first-child { width:36%; font-weight:600; }
#tab-description > .desc:not(:has(.rp-product-desc)) #ds_div :is(span,font), .product-info .shortdesc #ds_div :is(span,font) { font-family:inherit !important; font-size:inherit !important; }
#tab-description > .desc:not(:has(.rp-product-desc)) #ds_div h5 { padding-bottom:20px; margin-bottom:20px; }
.rp-product-desc .rp-pd-section > h4:first-child { margin:0 0 14px; font-family:inherit; font-size:1.125rem; font-weight:600; line-height:1.35; }
@media (max-width:575.98px) {
    #tab-description > .desc:not(:has(.rp-product-desc)) > h2, #tab-description > .desc:not(:has(.rp-product-desc)) #ds_div h5 { padding:16px 16px 8px; font-size:1.1875rem; }
    #tab-description > .desc:not(:has(.rp-product-desc)) > h2 + p { padding:0 16px 16px; }
    .rp-product-desc .rp-pd-section > h4:first-child { font-size:1.0625rem; }
}

/* RADPOSTEN – Artikeldetail – Badge neben dem Preis | 19.11.2026
   Badge wie Kategorie; UVP und Ersparnis aus JTL. */
.product-info .product-offer .price_wrapper > .price {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
}
.product-info .product-offer .rp-detail-price-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    padding: 7px 12px 8px;
    color: #fff;
    background: #17191b;
    border: 0;
    border-radius: 2px 2px 5px 2px;
    box-shadow: 3px 3px 0 #ff3030;
    font-size: 20px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -.2px;
    white-space: nowrap;
    transform: skewX(-9deg);
}
.product-info .product-offer .rp-detail-price-badge > span { display: block; transform: skewX(9deg); }

.product-info .product-offer .price_wrapper { margin: 18px 0 6px; min-width: 0; }
.product-info .product-offer .rp-detail-uvp {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px;
    margin: 0 0 4px;
    color: #6a6e73;
    font-size: 14px;
    line-height: 1.4;
}
.product-info .product-offer .rp-detail-uvp abbr { border: 0; text-decoration: none; cursor: help; }
.product-info .product-offer .rp-detail-uvp del { text-decoration: line-through; }
.product-info .product-offer .price_wrapper > .price {
    margin: 0 0 10px !important;
    color: #d60024 !important;
    font-size: 36px !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    letter-spacing: -.6px;
}
.product-info .product-offer .price-note {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
}
.product-info .product-offer .rp-detail-saving {
    order: -1;
    display: block;
    max-width: 100%;
    margin: 0 0 3px;
    padding: 0;
    background: transparent;
    border: 0;
    color: #17191b;
    line-height: 1.5;
}
.product-info .product-offer .rp-detail-saving-main { font-size: 16px; font-weight: 400; }
.product-info .product-offer .rp-detail-saving-main strong { color: inherit; font-weight: 700; white-space: nowrap; }
.product-info .product-offer .price-note .vat_info { color: #555b61; font-size: 13px; }
.product-info .product-offer .price-note .vat_info a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 575.98px) {
    .product-info .product-offer .rp-detail-price-badge {
        padding: 6px 10px 7px;
        font-size: 18px;
        box-shadow: 2px 2px 0 #ff3030;
    }
    .product-info .product-offer .price_wrapper { margin-top: 14px; }
    .product-info .product-offer .price_wrapper > .price { font-size: 32px !important; }
    .product-info .product-offer .rp-detail-saving-main { font-size: 15px; }
}


/* Radposten-Startseite: Artikelbilder im Bereich vor der Markenleiste begrenzen. */
#content:has(> div > .rp-marken-kopf) > .product-slider-NeuImSortiment {
    padding-bottom: 0;
    margin-bottom: 12px;
}
#content:has(> div > .rp-marken-kopf) > .product-slider-NeuImSortiment .slick-slider-other,
#content:has(> div > .rp-marken-kopf) > .product-slider-NeuImSortiment .slider-no-preview {
    margin-bottom: 0 !important;
}
#content:has(> div > .rp-marken-kopf) > .product-slider-NeuImSortiment .slick-list {
    height: auto !important;
}
#content:has(> div > .rp-marken-kopf) > .product-slider-NeuImSortiment .item-slider.productbox-image {
    height: clamp(94px, 14vw, 156px);
    min-height: 0;
    max-height: 156px;
    margin: 0 auto 8px;
    aspect-ratio: auto;
}
#content:has(> div > .rp-marken-kopf) > .product-slider-NeuImSortiment .item-slider.productbox-image::before {
    display: none;
}
#content:has(> div > .rp-marken-kopf) > .product-slider-NeuImSortiment .item-slider.productbox-image .inner {
    inset: 0;
    width: 100%;
    height: 100%;
}
#content:has(> div > .rp-marken-kopf) > .product-slider-NeuImSortiment picture {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
#content:has(> div > .rp-marken-kopf) > .product-slider-NeuImSortiment picture img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Der mobile Slick-Slider setzt die Kartenhoehe per Inline-Stil. */
#content:has(> div > .rp-marken-kopf) > .product-slider-NeuImSortiment .slick-slide {
    height: auto !important;
}
