/* ==========================================================================
   JDS Werbewelt - JTL-Shop 5.7.5 NOVA Child-Template Stylesheet
   Pfad: templates/jds_werbewelt/themes/my-nova/custom.css
   Enthaelt: Lokale Sofia Sans v20 Fonts, Sticky B2B/B2C-Preheader,
             Startseiten-/OPC-Komponenten, Kategorieseite (PLP),
             Produktdetailseite (PDP) & Produkt-Badges.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Lokale Schriftarten (DSGVO-konform, kein externes Google-Fonts-CDN)
   Dateien unter: templates/jds_werbewelt/themes/my-nova/fonts/
   -------------------------------------------------------------------------- */
@font-face {
    font-family: "Sofia Sans";
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url("./fonts/sofia-sans-v20-latin-300.woff2") format("woff2");
}

@font-face {
    font-family: "Sofia Sans";
    font-style: italic;
    font-weight: 300;
    font-display: swap;
    src: url("./fonts/sofia-sans-v20-latin-300italic.woff2") format("woff2");
}

@font-face {
    font-family: "Sofia Sans";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("./fonts/sofia-sans-v20-latin-regular.woff2") format("woff2");
}

@font-face {
    font-family: "Sofia Sans";
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url("./fonts/sofia-sans-v20-latin-italic.woff2") format("woff2");
}

@font-face {
    font-family: "Sofia Sans";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("./fonts/sofia-sans-v20-latin-600.woff2") format("woff2");
}

@font-face {
    font-family: "Sofia Sans";
    font-style: italic;
    font-weight: 600;
    font-display: swap;
    src: url("./fonts/sofia-sans-v20-latin-600italic.woff2") format("woff2");
}

@font-face {
    font-family: "Sofia Sans";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("./fonts/sofia-sans-v20-latin-700.woff2") format("woff2");
}

@font-face {
    font-family: "Sofia Sans";
    font-style: italic;
    font-weight: 700;
    font-display: swap;
    src: url("./fonts/sofia-sans-v20-latin-700italic.woff2") format("woff2");
}

/* --------------------------------------------------------------------------
   2. Design-Tokens & NOVA / Bootstrap / Startseiten Custom Properties
   -------------------------------------------------------------------------- */
:root {
    --jds-primary: #2B9CAB;
    --jds-secondary: #EA6700;
    --jds-secondary-hover: #CF5B00;
    --jds-sale: #C9302C;
    --jds-light-grey: #FAFAFA;
    --jds-medium-grey: #D9D8D7;
    --jds-medium-brown: #965D32;
    --jds-dark-brown: #41342B;
    --jds-dark-blue: #36656B;
    --jds-base-font-color: #777777;
    --jds-header-font-color: #555555;
    --jds-box-shadow-color: #CCCCCC;
    --jds-radius: 5px;
    --jds-font-family: "Sofia Sans", Arial, Helvetica, sans-serif;

    /* Aliase fuer Startseiten- & OPC-Komponenten aus jds_werbewelt_startseite.html */
    --primary-color: var(--jds-primary);
    --secondary-color: var(--jds-secondary);
    --light-grey: var(--jds-light-grey);
    --medium-grey: var(--jds-medium-grey);
    --medium-brown: var(--jds-medium-brown);
    --dark-brown: var(--jds-dark-brown);
    --dark-blue: var(--jds-dark-blue);
    --base-font-color: var(--jds-base-font-color);
    --header-font-color: var(--jds-header-font-color);
    --box-shadow-color: var(--jds-box-shadow-color);

    /* Mapping auf NOVA / Bootstrap Custom Properties */
    --primary: var(--jds-primary);
    --secondary: var(--jds-secondary);
    --gray-100: var(--jds-light-grey);
    --gray-300: var(--jds-medium-grey);
    --font-family-sans-serif: var(--jds-font-family);
}

/* --------------------------------------------------------------------------
   3. Basis-Typografie, Layout-Helper & Globale NOVA-Harmonisierungen
      Durchgaengig ausschliesslich Sofia Sans fuer Fliesstext, Ueberschriften,
      Submenues, Formulare, Preise, Tabs und Overlays (Icons bleiben FontAwesome).
   -------------------------------------------------------------------------- */
html,
body,
button,
input,
optgroup,
select,
textarea,
.btn,
.nav-link,
.dropdown-menu,
.dropdown-item,
.tooltip,
.popover,
.fa-sup,
.hr-sect,
.text-accent,
.productbox-price,
.tab-navigation .nav-link,
header .submenu-headline,
header .submenu-headline-toplevel,
.megamenu-content,
.megamenu-content a,
.categories-recursive-link,
.productlist-filter-headline,
#footer .productlist-filter-headline,
.sidepanel-left .box-normal .box-normal-link,
.product-matrix .product-matrix-title,
.form-counter .form-control,
.form-counter .input-group-text,
#consent-manager {
    font-family: var(--jds-font-family);
}

body {
    color: var(--jds-base-font-color);
    overflow-x: clip;
}

#main-wrapper {
    overflow-x: clip;
}

h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4,
h5, .h5,
h6, .h6 {
    font-family: var(--jds-font-family);
    font-weight: 600;
    color: var(--jds-header-font-color);
}

.container-fluid-xl {
    max-width: 1250px;
}

.row.display-flex {
    display: flex;
    flex-wrap: wrap;
}

.row.display-flex > [class*="col-"] {
    display: flex;
    flex-direction: column;
}

.btn,
.form-counter,
.form-control {
    border-radius: var(--jds-radius);
}

.jds-has-box-shadow,
.has-box-shadow {
    box-shadow: 1px 1px 3px 1px var(--jds-box-shadow-color);
    border-radius: var(--jds-radius);
}

.jds-text-primary {
    color: var(--jds-primary);
}

.jds-text-secondary {
    color: var(--jds-secondary);
}

.jds-text-dark-blue {
    color: var(--jds-dark-blue);
}

/* Smooth-Scroll Offset wegen Sticky Preheader + Header */
#product-list,
#produkte,
#jds-muster-anfrage,
#jds-kontakt-beratung {
    scroll-margin-top: 155px;
}

/* Buttons (JDS + Startseiten-Kompatibilitaet) */
.jds-btn-primary,
.btn-primary-custom {
    background-color: var(--jds-primary);
    border-color: var(--jds-primary);
    color: #ffffff;
    font-weight: 600;
    padding: 0.65rem 1.4rem;
    border-radius: var(--jds-radius);
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.jds-btn-primary:hover,
.jds-btn-primary:focus,
.btn-primary-custom:hover,
.btn-primary-custom:focus {
    background-color: var(--jds-dark-blue);
    border-color: var(--jds-dark-blue);
    color: #ffffff;
    transform: translateY(-1px);
    text-decoration: none;
}

.jds-btn-secondary,
.btn-secondary-custom {
    background-color: var(--jds-secondary);
    border-color: var(--jds-secondary);
    color: #ffffff;
    font-weight: 600;
    padding: 0.65rem 1.4rem;
    border-radius: var(--jds-radius);
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.jds-btn-secondary:hover,
.jds-btn-secondary:focus,
.btn-secondary-custom:hover,
.btn-secondary-custom:focus {
    background-color: var(--jds-secondary-hover);
    border-color: var(--jds-secondary-hover);
    color: #ffffff;
    transform: translateY(-1px);
    text-decoration: none;
}

/* Section Headlines (JDS + Startseiten-Kompatibilitaet) */
.jds-section-headline,
.section-headline {
    position: relative;
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
    color: var(--jds-header-font-color);
}

.jds-section-headline::after,
.section-headline::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--jds-primary);
    border-radius: 2px;
}

.jds-section-headline.text-center::after,
.section-headline.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Dreiecks-Listen (Werbemittel Highlights & Startseite) */
ul.jds-triangle-list,
ul.triangle-list {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

ul.jds-triangle-list li,
ul.triangle-list li {
    list-style-type: none;
    margin-left: -1.5rem;
    position: relative;
    padding-left: 1rem;
    margin-bottom: 0.45rem;
    color: var(--jds-header-font-color);
}

ul.jds-triangle-list > li::before,
ul.triangle-list > li::before {
    content: "";
    border-color: transparent var(--jds-medium-brown);
    border-style: solid;
    border-width: 0.25em 0 0.25em 0.5em;
    display: block;
    height: 0;
    width: 0;
    left: 0;
    top: 0.45em;
    position: absolute;
}

ul.jds-triangle-list--primary > li::before,
ul.triangle-list.primary > li::before {
    border-color: transparent var(--jds-primary);
}

/* --------------------------------------------------------------------------
   4. Sticky Preheader im Breadcrumb-Design (B2B / B2C Umschalter)
   -------------------------------------------------------------------------- */
.jds-sticky-shell {
    position: sticky;
    top: 0;
    /* Ueber dem NOVA-Megamenue-Overlay (.modal-backdrop = 1040), aber unterhalb
       echter Bootstrap-Modals (.modal = 1050) und Fullscreen-Galerie (1060). */
    z-index: 1045;
}

/* Bei echten Bootstrap-Modals (z. B. Versandkosten-Popup, Login-Modal) ordnet sich
   der Header unter dem Modal-Backdrop (1040) ein, solange kein Header-Dropdown offen ist. */
body.modal-open .jds-sticky-shell {
    z-index: 1030;
}

body.modal-open .jds-sticky-shell.jds-dropdown-open,
body.modal-open .jds-sticky-shell:has(.nav-item.dropdown.show, .dropdown-menu.show, .is-mega.show) {
    z-index: 1045;
}

.jds-sticky-shell #jtl-nav-wrapper {
    position: relative;
    top: auto;
    z-index: 1035;
}

.jds-preheader {
    position: relative;
    z-index: 1030;
    background-color: var(--jds-light-grey);
    border-bottom: 1px solid var(--jds-medium-grey);
    font-size: 0.9rem;
    color: var(--jds-dark-blue);
}

/* Auf Desktop (>= 992px) liegt der Preheader ueber eventuellen Overlays innerhalb von #jtl-nav-wrapper;
   auf Mobile (< 992px) bleibt #jtl-nav-wrapper darueber, damit das Off-Canvas-Menue ab top: 0 frei bedienbar bleibt. */
@media (min-width: 992px) {
    .jds-sticky-shell #jtl-nav-wrapper {
        z-index: 1030;
    }

    .jds-preheader {
        z-index: 1035;
    }

    .jds-salebanner {
        z-index: 1035;
    }
}

/* Optionales Vollbreiten-Sale-Banner unterhalb des B2B/B2C-Preheaders (Desktop bis Mobile) */
.jds-salebanner {
    position: relative;
    z-index: 1030;
    width: 100%;
    background-color: var(--jds-salebanner-bg, var(--jds-secondary));
    color: var(--jds-salebanner-color, #ffffff);
    font-family: var(--jds-font-family);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
}

.jds-salebanner-inner {
    padding: 0.45rem 0.5rem;
    text-align: center;
    word-wrap: break-word;
}

.jds-salebanner-inner p:last-child {
    margin-bottom: 0;
}

.jds-salebanner a {
    color: inherit;
    text-decoration: underline;
}

.jds-salebanner a:hover,
.jds-salebanner a:focus {
    color: inherit;
    opacity: 0.88;
}

@media (max-width: 767.98px) {
    .jds-salebanner {
        font-size: 0.84rem;
    }

    .jds-salebanner-inner {
        padding: 0.4rem 0.25rem;
    }
}

.jds-preheader-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.45rem 1rem;
    padding: 0.4rem 0;
}

.jds-b2b-switch-wrap {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.jds-b2b-switch-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--jds-header-font-color);
}

.jds-b2b-switch-pill {
    display: inline-flex;
    align-items: center;
    background-color: #ffffff;
    border: 1px solid var(--jds-medium-grey);
    border-radius: 999px;
    padding: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.jds-b2b-switch-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.22rem 0.7rem;
    border-radius: 999px;
    color: var(--jds-header-font-color);
    font-weight: 600;
    font-size: 0.8rem;
    text-decoration: none;
    line-height: 1.3;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.jds-b2b-switch-btn:hover,
.jds-b2b-switch-btn:focus {
    color: var(--jds-dark-blue);
    text-decoration: none;
}

.jds-b2b-switch-btn.is-active {
    background-color: var(--jds-dark-blue);
    color: #ffffff;
}

.jds-b2b-switch-btn.is-active:hover,
.jds-b2b-switch-btn.is-active:focus {
    color: #ffffff;
}

.jds-b2b-switch-btn.is-loading {
    opacity: 0.7;
    pointer-events: none;
}

.jds-b2b-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.22rem 0.7rem;
    border-radius: 999px;
    background-color: #ffffff;
    border: 1px solid var(--jds-medium-grey);
    color: var(--jds-dark-blue);
    font-weight: 600;
    font-size: 0.8rem;
}

.jds-preheader-tax {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: var(--jds-dark-blue);
}

.jds-preheader-tax a {
    color: var(--jds-dark-blue);
    text-decoration: underline;
}

.jds-preheader-tax a:hover {
    color: var(--jds-primary);
}

/* Header & Navigation Feinschliff (aus Live-custom.css + saubere Ausrichtung ab 1024px) */
input#search-header {
    border-radius: 5px 0 0 5px !important;
}

button#search-button {
    border: 1px solid #707070;
    border-radius: 0 5px 5px 0 !important;
}

#shop-nav {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    white-space: nowrap;
}

#jtl-nav-wrapper .col-lg-4 > span.text-center {
    font-size: 0.88rem;
    line-height: 1.35;
}

/* --------------------------------------------------------------------------
   5. Breadcrumbs (Fluid 100% Hintergrund, Inhalt im 1250px Boxed-Container)
   -------------------------------------------------------------------------- */
#jtl-nav-wrapper ul.nav,
#jtl-nav-wrapper ul.navbar-nav {
    margin-bottom: 0;
}

#main-wrapper #content-wrapper,
#main-wrapper #content-wrapper:not(.has-fluid),
#main-wrapper #content-wrapper.has-fluid,
body[data-page="1"] #content-wrapper,
body[data-page="2"] #content-wrapper,
#content-wrapper.is-item-list {
    padding-top: 0 !important;
}

body[data-page="1"] .breadcrumb-container {
    margin-bottom: 1.5rem;
}

body[data-page="2"] .breadcrumb-container,
.breadcrumb-container {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 0;
}

.breadcrumb-wrapper {
    width: 100%;
    margin: 0;
    border-style: solid;
    border-color: var(--jds-medium-grey);
    border-width: 0 0 1px 0;
    background-color: var(--jds-light-grey);
}

.breadcrumb-wrapper > .container,
.breadcrumb-wrapper > .container-fluid,
.breadcrumb-wrapper > nav,
.breadcrumb-wrapper > #breadcrumb,
.breadcrumb-wrapper > .col {
    flex: 0 0 100%;
    width: 100%;
    max-width: 1250px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.breadcrumb-wrapper .breadcrumb {
    background-color: transparent;
    margin-bottom: 0;
    padding: 0.4rem 0;
}

.breadcrumb-wrapper .breadcrumb-item span,
.breadcrumb-wrapper .breadcrumb-item a {
    font-size: 0.9rem;
    color: var(--jds-dark-blue);
    font-weight: 400;
}

.breadcrumb-wrapper .breadcrumb-item a:hover,
.breadcrumb-wrapper .breadcrumb-item:hover span {
    color: var(--jds-primary);
}

.breadcrumb-wrapper .breadcrumb-item.active span,
.breadcrumb-wrapper .breadcrumb-title {
    color: var(--jds-medium-brown);
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   6. Startseiten- & OPC-Komponenten (aus jds_werbewelt_startseite.html)
   -------------------------------------------------------------------------- */
.hero-banner-section {
    background: linear-gradient(135deg, rgba(54, 101, 107, 0.05) 0%, rgba(43, 156, 171, 0.12) 100%);
    border-bottom: 1px solid var(--jds-medium-grey);
    padding: 3.5rem 0;
}

.inspiration-card {
    background-color: #ffffff;
    border: 1px solid var(--jds-medium-grey);
    border-radius: var(--jds-radius);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.inspiration-card:hover {
    transform: translateY(-4px);
    border-color: var(--jds-primary);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.inspiration-card-header {
    background-color: var(--jds-light-grey);
    border-bottom: 1px solid var(--jds-medium-grey);
    padding: 1rem 1.25rem;
    font-weight: 600;
    color: var(--jds-dark-blue);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.inspiration-card-header i {
    color: var(--jds-secondary);
    font-size: 1.25rem;
    width: 24px;
    text-align: center;
}

.inspiration-card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

/* --------------------------------------------------------------------------
   7. Produkt-Badges (Kategorieseite & Produktdetailseite, max. 2 Labels)
   -------------------------------------------------------------------------- */
.jds-box-image-outer,
.jds-pdp-gallery-wrap {
    position: relative;
    width: 100%;
}

.jds-card-badges {
    position: absolute;
    top: 0.55rem;
    left: 0.55rem;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
    pointer-events: none;
}

.jds-card-badges--pdp {
    top: 0.75rem;
    left: 0.75rem;
}

.jds-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.24rem 0.55rem;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    line-height: 1.2;
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.14);
}

.jds-card-badges--pdp .jds-card-badge {
    padding: 0.28rem 0.65rem;
    font-size: 0.75rem;
}

.jds-card-badge--bestseller {
    background-color: var(--jds-secondary);
}

.jds-card-badge--sale {
    background-color: var(--jds-sale);
}

.jds-card-badge--new {
    background-color: var(--jds-primary);
}

.jds-card-badge--soldout {
    background-color: var(--jds-header-font-color);
}

.jds-box-image-outer.is-soldout img,
.jds-pdp-gallery-wrap.is-soldout #gallery img {
    opacity: 0.55;
    filter: grayscale(65%);
}

/* --------------------------------------------------------------------------
   8. Kategorieseite (PLP) - Hero (Fluid 100% Hintergrund, 1250px Content),
      Artikelkacheln, Unterkategorien, FAQ, SEO
   -------------------------------------------------------------------------- */
.jds-hero-banner {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background: linear-gradient(135deg, rgba(54, 101, 107, 0.06) 0%, rgba(43, 156, 171, 0.14) 100%);
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid var(--jds-medium-grey);
    border-radius: 0;
    padding: 2rem 0;
    margin-bottom: 2.5rem;
}

@media (min-width: 992px) {
    .jds-hero-banner {
        padding: 3rem 0;
    }
}

.jds-hero-banner-inner {
    width: 100%;
    max-width: 1250px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.jds-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background-color: var(--jds-dark-blue);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    margin-bottom: 0.9rem;
}

.jds-hero-title {
    font-weight: 700;
    line-height: 1.18;
    font-size: calc(1.55rem + 1vw);
    margin-bottom: 0.9rem;
    color: var(--jds-header-font-color);
}

.jds-hero-lead {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--jds-header-font-color);
    margin-bottom: 1.25rem;
}

.jds-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.jds-hero-actions .btn {
    text-decoration: none;
}

.jds-hero-media-card {
    background-color: #ffffff;
    padding: 0.9rem;
    border-radius: var(--jds-radius);
    box-shadow: 1px 1px 4px 1px var(--jds-box-shadow-color);
}

.jds-hero-media-card img {
    border-radius: 4px;
    max-height: 320px;
    width: 100%;
    object-fit: cover;
}

.jds-hero-trust-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding-top: 0.65rem;
    border-top: 1px solid var(--jds-medium-grey);
    font-size: 0.8rem;
    color: var(--jds-base-font-color);
}

.jds-plp-has-hero .productlist-header-headline,
.jds-plp-has-hero .productlist-header-description,
.jds-plp-has-hero .content-cats-small {
    display: none;
}

/* Unterkategorien-Sektion unterhalb der Produktliste */
.jds-subcategories-section {
    background-color: var(--jds-light-grey);
    border: 1px solid var(--jds-medium-grey);
    border-radius: var(--jds-radius);
    padding: 2rem 1.5rem 1rem;
    margin: 2.5rem 0;
}

.sub-categories {
    box-shadow: 1px 1px 5px 0 rgba(85, 85, 85, 0.35);
    background-color: #ffffff;
    border-radius: var(--jds-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sub-categories:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(54, 101, 107, 0.16);
}

.sub-categories .subcategories-image {
    overflow: hidden;
    position: relative;
    background-color: var(--jds-light-grey);
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.jds-subcat-placeholder {
    font-size: 2.5rem;
    color: var(--jds-primary);
    opacity: 0.45;
}

.sub-categories .subcategories-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
    filter: grayscale(100%);
}

.sub-categories:hover .subcategories-image img {
    filter: grayscale(0);
    transform: scale(1.08);
}

.sub-categories .productlist-header-subcategories-info,
.sub-categories .caption {
    width: 100%;
    padding: 0.65rem 0.75rem;
    background-color: var(--jds-medium-grey);
    color: var(--jds-header-font-color);
    text-align: center;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
    font-weight: 600;
    font-size: 1rem;
}

.sub-categories:hover .productlist-header-subcategories-info,
.sub-categories:hover .caption {
    background-color: var(--jds-primary);
    color: var(--jds-light-grey);
}

.sub-categories:hover .productlist-header-subcategories-info a,
.sub-categories:hover .caption a,
.subcategories-info-link {
    text-decoration: none;
    color: inherit;
}

/* Artikelkacheln (productlist/item_box.tpl) - 3 Spalten Desktop, 2 Tablet, 1 Mobile, gleich hoch */
#product-list.row > .product-wrapper,
.product-list > .product-wrapper,
.row.gallery > .product-wrapper {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
    flex: 0 0 100%;
    max-width: 100%;
}

@media (min-width: 576px) {
    #product-list.row > .product-wrapper,
    .product-list > .product-wrapper,
    .row.gallery > .product-wrapper {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (min-width: 992px) {
    #product-list.row > .product-wrapper,
    .product-list > .product-wrapper,
    .row.gallery > .product-wrapper {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

.jds-card-cta {
    margin-top: 0.25rem;
}

#product-list .product-wrapper:not(:last-child) {
    margin-bottom: 1.5rem;
}

#product-list .product-wrapper > .productbox,
.product-list .product-wrapper > .productbox,
.row.gallery .product-wrapper > .productbox {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    width: 100%;
    height: 100%;
    padding: 1rem;
    border: 1px solid var(--jds-medium-grey);
    border-radius: 0.5rem;
    background-color: #ffffff;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

#product-list .product-wrapper > .productbox:hover,
.product-list .product-wrapper > .productbox:hover,
.row.gallery .product-wrapper > .productbox:hover {
    border-color: var(--jds-primary);
    box-shadow: 0 6px 18px rgba(43, 156, 171, 0.14);
}

/* NOVA Hover-Overlay, pos-abs, margin: -1rem (productbox-show-variations) & onhover-Drawer
   komplett neutralisieren, damit KEINE Produktbox beim Hover Position oder Groesse aendert */
#product-list.layout-gallery .product-wrapper > .productbox.productbox-hover.productbox-show-variations,
#product-list.layout-gallery .product-wrapper > .productbox.productbox-hover.productbox-show-variations.transition,
#product-list.layout-gallery .product-wrapper > .productbox.productbox-hover.productbox-show-variations:hover,
#product-list.layout-gallery .product-wrapper > .productbox.productbox-hover.productbox-show-variations:focus,
#product-list.layout-gallery .product-wrapper > .productbox.productbox-hover.productbox-show-variations.focus,
#product-list.layout-gallery .product-wrapper > .productbox.productbox-hover.productbox-show-variations.show-variation-collapse:hover,
#product-list .product-wrapper > .productbox.productbox-hover:hover,
#product-list .product-wrapper > .productbox.productbox-hover:focus,
#product-list .product-wrapper > .productbox.productbox-hover.focus,
.product-list .product-wrapper > .productbox.productbox-hover:hover,
.product-list .product-wrapper > .productbox.productbox-hover:focus,
.product-list .product-wrapper > .productbox.productbox-hover.focus {
    position: relative;
    z-index: auto;
    margin: 0;
    padding: 1rem;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
}

#product-list .productbox.productbox-hover .productbox-inner::before,
.product-list .productbox.productbox-hover .productbox-inner::before,
.row.gallery .productbox.productbox-hover .productbox-inner::before {
    display: none;
}

#product-list .productbox.productbox-hover.productbox-column:hover .productbox-inner.pos-abs,
#product-list .productbox.productbox-hover.productbox-column:focus .productbox-inner.pos-abs,
#product-list .productbox.productbox-hover.productbox-column.focus .productbox-inner.pos-abs,
.row.gallery .productbox.productbox-hover.productbox-column:hover .productbox-inner.pos-abs {
    position: relative;
}

#product-list .productbox .productbox-onhover,
.product-list .productbox .productbox-onhover,
.row.gallery .productbox .productbox-onhover {
    display: none !important;
}

#product-list .productbox.productbox-hover:hover .productbox-ribbon.ribbon,
#product-list .productbox.productbox-hover:focus .productbox-ribbon.ribbon,
#product-list .productbox.productbox-hover.focus .productbox-ribbon.ribbon {
    top: 0.5rem;
    left: 0.5rem;
}

#product-list .product-wrapper > .productbox > form,
.product-list .product-wrapper > .productbox > form,
.row.gallery .product-wrapper > .productbox > form {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    width: 100%;
    height: 100%;
    margin: 0;
}

#product-list .productbox-inner,
.product-list .productbox-inner,
.row.gallery .productbox-inner {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    width: 100%;
    height: 100%;
}

/* flex-wrap: nowrap verhindert, dass .col[1] (Titel/Preis) rechts neben das Bild umbricht! */
#product-list .productbox-inner > .row,
.product-list .productbox-inner > .row,
.row.gallery .productbox-inner > .row {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    flex: 1 1 auto;
    margin-left: 0;
    margin-right: 0;
}

#product-list .productbox-inner > .row > .col,
.product-list .productbox-inner > .row > .col,
.row.gallery .productbox-inner > .row > .col {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

#product-list .productbox-inner > .row > .col:last-child,
.product-list .productbox-inner > .row > .col:last-child,
.row.gallery .productbox-inner > .row > .col:last-child {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

/* Produktbild-Container: nur aeusseren Wrapper stylen, damit .second-wrapper
   (traegt ebenfalls .productbox-image) position:absolute behaelt und exakt ueber .first-wrapper liegt! */
#product-list .jds-box-image-outer,
.product-list .jds-box-image-outer,
.row.gallery .jds-box-image-outer {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: var(--jds-light-grey);
    border-radius: 4px;
    margin-bottom: 0.75rem;
}

#product-list .list-gallery,
.row.gallery .list-gallery {
    position: relative;
    width: 100%;
}

#product-list .list-gallery .first-wrapper,
.row.gallery .list-gallery .first-wrapper {
    position: relative;
    width: 100%;
    margin: 0;
    background-color: var(--jds-light-grey);
}

#product-list .list-gallery .second-wrapper,
.row.gallery .list-gallery .second-wrapper {
    display: none;
}

#product-list .square-image .inner,
.row.gallery .square-image .inner {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Hover auf Produktkachel: 1. Bild dauerhaft behalten (kein Bildwechsel), sanfter 10%-Zoom */
#product-list .list-gallery:hover img.first,
#product-list .list-gallery:hover .first-wrapper img,
.row.gallery .list-gallery:hover img.first,
.row.gallery .list-gallery:hover .first-wrapper img {
    opacity: 1;
}

#product-list .square-image .inner img.first,
#product-list .first-wrapper .square-image .inner img,
#product-list .first-wrapper.square-image .inner img,
.row.gallery .square-image .inner img.first,
.row.gallery .first-wrapper .square-image .inner img,
.row.gallery .first-wrapper.square-image .inner img {
    transform: translate(-50%, -50%) scale(1);
    transition: transform 0.35s ease-in-out;
}

#product-list .productbox:hover .square-image .inner img.first,
#product-list .productbox:hover .first-wrapper .square-image .inner img,
#product-list .productbox:hover .first-wrapper.square-image .inner img,
.row.gallery .productbox:hover .square-image .inner img.first,
.row.gallery .productbox:hover .first-wrapper .square-image .inner img,
.row.gallery .productbox:hover .first-wrapper.square-image .inner img {
    transform: translate(-50%, -50%) scale(1.1);
}

/* Preisbox direkt auf NOVA [itemprop="offers"] stylen & nach unten ausrichten */
#product-list .productbox-inner [itemprop="offers"],
.row.gallery .productbox-inner [itemprop="offers"] {
    margin-top: auto;
    padding: 0.7rem 0.8rem;
    background-color: var(--jds-light-grey);
    border: 1px solid var(--jds-medium-grey);
    border-radius: var(--jds-radius);
    margin-bottom: 0.75rem;
}

#product-list .price_wrapper,
.row.gallery .price_wrapper,
.item-list-price .price_wrapper {
    margin-bottom: 0;
}

#product-list .price_wrapper .price_label,
.row.gallery .price_wrapper .price_label,
.item-list-price .price_wrapper .price_label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--jds-header-font-color);
}

#product-list .productbox-price,
.row.gallery .productbox-price,
.item-list-price .productbox-price {
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--jds-dark-blue);
    line-height: 1.25;
}

#product-list .productbox-price.special-price,
.row.gallery .productbox-price.special-price,
.item-list-price .productbox-price.special-price {
    color: var(--jds-sale);
}

.jds-plp-price-unit {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--jds-header-font-color);
}

.jds-plp-vpe-info {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--jds-header-font-color);
    line-height: 1.35;
    margin-top: 0.15rem;
}

.jds-plp-base-price {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--jds-primary);
    line-height: 1.35;
    margin-top: 0.25rem;
}

.jds-plp-base-price-label {
    font-weight: 400;
    color: var(--jds-base-font-color);
}

.jds-plp-more-variations {
    display: block;
    font-size: 0.78rem;
    font-weight: 400;
    color: var(--jds-base-font-color);
    margin-top: 0.15rem;
}

#product-list .productbox-inner .productbox-title,
.row.gallery .productbox-inner .productbox-title {
    margin-bottom: 0.5rem;
    top: 0;
}

#product-list .productbox-title a,
.product-list .productbox-title a,
.row.gallery .productbox-title a {
    color: var(--jds-primary);
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
}

#product-list .productbox-title a:hover,
.product-list .productbox-title a:hover,
.row.gallery .productbox-title a:hover {
    color: var(--jds-dark-blue);
    text-decoration: underline;
}

/* Kachel-USPs (aus jds_highlights) & Preisbox */
.jds-product-usps {
    font-size: 0.85rem;
    margin-top: 0.5rem;
    margin-bottom: 0.85rem;
}

.jds-product-usps li {
    margin-bottom: 0.3rem;
    line-height: 1.4;
}

.jds-product-price-block {
    margin-top: auto;
    padding: 0.7rem 0.8rem;
    background-color: var(--jds-light-grey);
    border: 1px solid var(--jds-medium-grey);
    border-radius: var(--jds-radius);
    margin-bottom: 0.75rem;
}

.jds-plp-minqty-hint {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    color: var(--jds-dark-blue);
    margin-top: 0.35rem;
}

.jds-plp-tier-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background-color: rgba(43, 156, 171, 0.12);
    color: var(--jds-dark-blue);
    padding: 0.15rem 0.5rem;
    border-radius: 3px;
    font-weight: 600;
}

/* FAQ Accordion (JDS + Startseiten-Kompatibilitaet) */
.jds-faq-section {
    padding: 2.5rem 0;
}

.jds-faq-accordion .card,
.jtl-faq-accordion .card {
    border: 1px solid var(--jds-medium-grey);
    border-radius: var(--jds-radius);
    margin-bottom: 0.75rem;
    overflow: hidden;
    box-shadow: none;
}

.jds-faq-accordion .card-header,
.jtl-faq-accordion .card-header {
    background-color: var(--jds-light-grey);
    border-bottom: none;
    padding: 0;
}

.jds-faq-accordion .btn-link,
.jtl-faq-accordion .btn-link {
    color: var(--jds-header-font-color);
    font-weight: 600;
    text-decoration: none;
    width: 100%;
    text-align: left;
    padding: 1rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.jds-faq-accordion .btn-link:hover,
.jds-faq-accordion .btn-link:focus,
.jtl-faq-accordion .btn-link:hover,
.jtl-faq-accordion .btn-link:focus {
    color: var(--jds-primary);
    background-color: #f1f7f8;
    text-decoration: none;
}

.jds-faq-accordion .btn-link[aria-expanded="true"],
.jtl-faq-accordion .btn-link[aria-expanded="true"] {
    color: var(--jds-dark-blue);
    background-color: #f1f7f8;
    border-bottom: 1px solid var(--jds-medium-grey);
}

.jds-faq-accordion .jds-faq-icon,
.jtl-faq-accordion .faq-icon {
    transition: transform 0.25s ease;
    color: var(--jds-primary);
    flex-shrink: 0;
}

.jds-faq-accordion .btn-link[aria-expanded="true"] .jds-faq-icon,
.jtl-faq-accordion .btn-link[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

/* SEO-Content & Beratungsbox (JDS + Startseiten-Kompatibilitaet) */
.jds-seo-content-box,
.seo-content-box {
    background-color: var(--jds-light-grey);
    border: 1px solid var(--jds-medium-grey);
    border-radius: var(--jds-radius);
    padding: 1.5rem 1.25rem;
    margin-top: 2rem;
}

@media (min-width: 992px) {
    .jds-seo-content-box,
    .seo-content-box {
        padding: 2.25rem 2rem;
    }
}

.jds-usp-sidebar {
    background-color: #ffffff;
    border: 1px solid var(--jds-medium-grey);
    border-radius: var(--jds-radius);
    padding: 1.15rem;
}

.jds-usp-sidebar-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--jds-secondary);
    margin-bottom: 0.9rem;
}

.jds-usp-box,
.usp-box {
    background-color: #ffffff;
    border-left: 4px solid var(--jds-primary);
    border-radius: 4px;
    padding: 0.9rem 1.15rem;
    margin-bottom: 0.9rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

.jds-usp-box:last-of-type,
.usp-box:last-of-type {
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   9. Produktdetailseite (PDP) - Galerie, Variationen, Preise, Staffel, Tabs
   -------------------------------------------------------------------------- */
.jds-pdp-page .product-title {
    color: var(--jds-primary);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.jds-manufacturer-kicker {
    display: inline-block;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--jds-secondary);
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
}

.jds-pdp-status-badges .badge {
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 4px;
}

.jds-pdp-page .info-essential {
    display: none;
}

.jds-pdp-page .shortdesc {
    color: var(--jds-base-font-color);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.jds-pdp-page .shortdesc ul {
    padding-left: 1.5rem;
    margin-top: 0.75rem;
    margin-bottom: 1rem;
}

.jds-pdp-page .shortdesc ul li {
    list-style-type: none;
    margin-left: -1.5rem;
    position: relative;
    padding-left: 1rem;
    margin-bottom: 0.4rem;
    color: var(--jds-header-font-color);
}

.jds-pdp-page .shortdesc ul > li::before {
    content: "";
    border-color: transparent var(--jds-primary);
    border-style: solid;
    border-width: 0.25em 0 0.25em 0.5em;
    display: block;
    height: 0;
    width: 0;
    left: 0;
    top: 0.45em;
    position: absolute;
}

/* Linke Spalte: Sticky Galerie + Schattenrahmen + Thumbnails + Trust-Mini-Bar
   Wichtig: min-width: 0 verhindert Slick-Carousel-Breitenexplosion im Flex-Grid;
   height: auto auf #image_wrapper:not(.fullscreen) zieht Thumbnails direkt ans Bild
   und laesst NOVAs Fullscreen-Ansicht (position: fixed) ueber den gesamten Viewport oeffnen. */
.jds-pdp-page .product-gallery,
.jds-pdp-page .product-info {
    min-width: 0;
}

.jds-pdp-page .product-gallery #image_wrapper:not(.fullscreen) {
    height: auto;
    position: static;
}

.jds-pdp-page .product-gallery #image_wrapper:not(.fullscreen) .product-detail-image-preview-bar {
    margin-top: 0.5rem;
    padding-left: 0;
    padding-right: 0;
}

@media (min-width: 992px) {
    .jds-pdp-page .row.product-detail > .product-gallery {
        align-self: flex-start;
        position: sticky;
        top: 9.5rem;
    }
}

/* Sobald NOVA #image_wrapper.fullscreen aktiviert, Stacking-Context von sticky aufheben */
.jds-pdp-page .row.product-detail > .product-gallery:has(#image_wrapper.fullscreen),
.jds-pdp-page .row.product-detail > .product-gallery.jds-has-fullscreen {
    position: static !important;
    z-index: auto !important;
}

.jds-pdp-page #image_wrapper.fullscreen {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-width: none !important;
    z-index: 1060 !important;
}

.jds-pdp-page #image_wrapper.fullscreen .jds-pdp-gallery-wrap {
    overflow: visible;
}

.jds-pdp-page #image_wrapper.fullscreen #gallery_wrapper {
    border: none;
    box-shadow: none;
    background-color: transparent;
}

.jds-pdp-page #image_wrapper.fullscreen .jds-card-badges {
    display: none;
}

.jds-pdp-gallery-wrap {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.jds-pdp-gallery-wrap #gallery_wrapper {
    background-color: #ffffff;
    border: 1px solid var(--jds-medium-grey);
    border-radius: var(--jds-radius);
    box-shadow: 1px 1px 3px 1px var(--jds-box-shadow-color);
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.jds-pdp-gallery-wrap #gallery_preview .square-image,
.jds-pdp-page #gallery_preview .square-image {
    border: 2px solid var(--jds-medium-grey);
    border-radius: 4px;
    background-color: #ffffff;
    transition: border-color 0.2s ease;
}

.jds-pdp-gallery-wrap #gallery_preview .slick-current .square-image,
.jds-pdp-gallery-wrap #gallery_preview .square-image:hover,
.jds-pdp-page #gallery_preview .slick-current .square-image,
.jds-pdp-page #gallery_preview .square-image:hover {
    border-color: var(--jds-primary);
}

.jds-trust-minibar {
    margin-top: 1rem;
    padding: 0.75rem 0.5rem;
    background-color: var(--jds-light-grey);
    border: 1px solid var(--jds-medium-grey);
    border-radius: var(--jds-radius);
    text-align: center;
    font-size: 0.82rem;
    color: var(--jds-header-font-color);
}

.jds-trust-minibar-icon {
    display: block;
    font-size: 1.25rem;
    margin-bottom: 0.35rem;
}

/* NOVA Swatches / Variationen im klaren Bild+Text-Pill-Look (Entwurf) */
.jds-pdp-page .variations {
    margin-bottom: 1rem;
}

.jds-pdp-page .variations dt.js-btn-slider-wrapper {
    font-size: 0.98rem;
    font-weight: 700;
    color: #343a40;
    margin-bottom: 0.5rem;
}

.jds-pdp-page .variations .swatches-selected {
    color: var(--jds-primary) !important;
    font-weight: 700;
}

.jds-pdp-page .variations .form-row.swatches {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0.5rem;
    margin-left: 0;
    margin-right: 0;
}

.jds-pdp-page .variations .form-row.swatches > .col,
.jds-pdp-page .variations .form-row.swatches > .js-slider-item {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
    margin: 0;
}

.jds-pdp-page .variations .swatches-text,
.jds-pdp-page .variations .swatches-image {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.55rem;
    width: auto;
    max-width: none;
    height: auto;
    min-height: 48px;
    margin: 0;
    white-space: nowrap;
    border-radius: var(--jds-radius);
    border: 1px solid var(--jds-medium-grey);
    background-color: #ffffff;
    color: var(--jds-header-font-color);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.jds-pdp-page .variations .swatches-text {
    padding: 0.45rem 0.85rem;
}

.jds-pdp-page .variations .swatches-text.jds-has-swatch-thumb,
.jds-pdp-page .variations .swatches-image {
    padding: 0.3rem 0.75rem 0.3rem 0.3rem;
}

.jds-pdp-page .variations .swatches-image .square-image {
    width: 48px;
    height: 48px;
    min-width: 48px;
    padding-top: 0;
    margin: 0;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
    background-color: #ffffff;
    border: 1px solid var(--jds-medium-grey);
    position: relative;
}

.jds-pdp-page .variations .swatches-image .square-image .inner {
    position: static;
    top: auto;
    left: auto;
    width: 100%;
    height: 100%;
    transform: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
}

.jds-pdp-page .variations .swatches-image .square-image picture {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.jds-pdp-page .variations .swatches-image .square-image:empty {
    display: none;
}

.jds-pdp-page .variations .swatches-image .square-image img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border: none;
    position: static;
    transform: none;
}

.jds-pdp-page .variations .jds-swatch-thumb {
    width: 40px;
    height: 40px;
    object-fit: contain;
    background-color: #ffffff;
    border-radius: 4px;
    border: 1px solid var(--jds-medium-grey);
    padding: 2px;
    flex-shrink: 0;
}

.jds-pdp-page .variations .swatches-text:hover,
.jds-pdp-page .variations .swatches-image:hover {
    border-color: var(--jds-primary);
}

.jds-pdp-page .variations .swatches-text.active,
.jds-pdp-page .variations .swatches-image.active,
.jds-pdp-page .variations input:checked + label.swatches-text,
.jds-pdp-page .variations input:checked + label.swatches-image {
    border: 2px solid var(--jds-secondary) !important;
    background-color: #fff8f2;
    color: var(--jds-dark-brown);
}

/* Preisbox & interaktive 3-spaltige Staffelpreistabelle */
.jds-price-box {
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
    background-color: var(--jds-light-grey);
    border: 1px solid var(--jds-medium-grey);
    border-radius: var(--jds-radius);
    padding: 1.15rem;
    margin-bottom: 1rem;
}

.jds-price-box > .col {
    padding-left: 0;
    padding-right: 0;
    max-width: 100%;
    width: 100%;
}

/* Doppelte NOVA-Standard-Staffeltabelle ausblenden, sobald interaktive JDS-Tabelle aktiv ist */
.jds-price-box.jds-has-custom-tiers .bulk-prices {
    display: none;
}

.jds-price-box .price_wrapper {
    display: flex;
    flex-direction: column;
}

.jds-price-box .price_wrapper .jds-price-main-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem;
    margin-bottom: 0.15rem;
}

.jds-price-box .price_wrapper .price,
.jds-price-box .price_wrapper .price.h1 {
    display: inline-block;
    font-size: 1.75rem;
    font-weight: 700;
    color: #343a40;
    line-height: 1.2;
    margin-bottom: 0;
}

.jds-price-box .jds-price-unit-suffix {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--jds-base-font-color);
    white-space: nowrap;
}

/* NOVA Grundpreiszeile ("ab 17,89 € pro 1 Stück") und "ab"-Label ausblenden */
.jds-price-box .price_wrapper .price_label.per_unit,
.jds-price-box .price_wrapper .base-price,
.jds-price-box.jds-has-custom-tiers .price_wrapper .price_label.pricestarting {
    display: none;
}

.jds-price-box .price_wrapper .vat_info {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.82rem;
    color: var(--jds-base-font-color);
}

.jds-live-unit-price {
    color: var(--jds-primary);
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: 0.1rem;
    margin-bottom: 0.15rem;
}

.jds-price-box-tax-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.2rem 0.55rem;
    border-radius: 3px;
    background-color: rgba(54, 101, 107, 0.1);
    color: var(--jds-dark-blue);
    margin-bottom: 0.5rem;
}

.jds-table-price-tiers {
    background-color: #ffffff;
    margin-top: 0.9rem;
    margin-bottom: 0;
}

.jds-table-price-tiers th {
    background-color: var(--jds-light-grey);
    color: var(--jds-dark-blue);
    font-size: 0.84rem;
    font-weight: 700;
    padding: 0.45rem;
    text-align: center;
    white-space: nowrap;
}

.jds-table-price-tiers tbody tr {
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.jds-table-price-tiers tbody tr:hover {
    background-color: #f1f7f8;
}

.jds-table-price-tiers tbody tr.is-active-tier {
    background-color: rgba(43, 156, 171, 0.14);
}

.jds-table-price-tiers tbody tr.is-active-tier td {
    color: var(--jds-dark-blue);
}

.jds-table-price-tiers td {
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.45rem;
    text-align: center;
}

.jds-tiers-hint {
    font-size: 0.8rem;
    color: var(--jds-base-font-color);
    margin-top: 0.5rem;
    margin-bottom: 0;
}

/* Verfuegbarkeit oben als Badges -> doppelten Textblock kompakt halten, "Frage zum Artikel" dezent sichtbar */
.jds-pdp-page .stock-information {
    margin-bottom: 0.75rem;
}

.jds-pdp-page .stock-information .delivery-status {
    display: none;
}

.jds-pdp-page .stock-information .question-on-item .btn-link {
    padding: 0;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--jds-dark-blue);
}

.jds-pdp-page .stock-information .question-on-item .btn-link:hover {
    color: var(--jds-primary);
}

/* Buy-Box, Mengenfeld & oranger Warenkorb-Button (1 Zeile ab 576px wie Entwurf) */
.jds-buy-card {
    background-color: #ffffff;
    border: 1px solid var(--jds-medium-grey);
    border-radius: var(--jds-radius);
    padding: 1.15rem;
    margin-bottom: 1rem;
}

.jds-minqty-banner {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.82rem;
    color: var(--jds-dark-blue);
    background-color: var(--jds-light-grey);
    border-radius: 4px;
    padding: 0.45rem 0.75rem;
    margin-bottom: 0.85rem;
}

.jds-qty-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--jds-base-font-color);
    margin-bottom: 0.45rem;
}

.jds-buy-card #add-to-cart {
    background-color: transparent;
    padding: 0;
}

.jds-buy-card #add-to-cart .basket-form-inline {
    align-items: center;
}

@media (min-width: 576px) {
    .jds-buy-card #add-to-cart .basket-form-inline > .col-sm-6:first-child {
        flex: 0 0 46%;
        max-width: 46%;
    }

    .jds-buy-card #add-to-cart .basket-form-inline > .col-sm-6:last-child {
        flex: 0 0 54%;
        max-width: 54%;
    }
}

.jds-buy-card #add-to-cart .choose_quantity {
    background-color: #ffffff;
    flex-wrap: nowrap;
}

.jds-buy-card #add-to-cart .choose_quantity .input-group-prepend,
.jds-buy-card #add-to-cart .choose_quantity .input-group-append {
    flex: 0 0 auto;
    display: flex;
    align-items: stretch;
}

.jds-buy-card #add-to-cart .choose_quantity input.quantity {
    flex: 1 1 3.2rem;
    min-width: 2.8rem;
    width: 1%;
    padding-left: 0.35rem;
    padding-right: 0.35rem;
    text-align: center;
}

.jds-buy-card #add-to-cart .choose_quantity .input-group-text.unit {
    width: auto;
    flex: 0 0 auto;
    padding-left: 0.45rem;
    padding-right: 0.45rem;
    white-space: nowrap;
}

.jds-buy-card #add-to-cart .choose_quantity .btn {
    padding-left: 0.6rem;
    padding-right: 0.6rem;
    flex-shrink: 0;
}

.jds-buy-card #add-to-cart button[name="inWarenkorb"],
.jds-buy-card #add-to-cart .btn-primary {
    background-color: var(--jds-secondary);
    border-color: var(--jds-secondary);
    color: #ffffff;
    font-weight: 600;
    padding: 0.72rem 1.25rem;
    box-shadow: 0 2px 5px rgba(234, 103, 0, 0.25);
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.jds-buy-card #add-to-cart button[name="inWarenkorb"]:hover,
.jds-buy-card #add-to-cart button[name="inWarenkorb"]:focus,
.jds-buy-card #add-to-cart .btn-primary:hover,
.jds-buy-card #add-to-cart .btn-primary:focus {
    background-color: var(--jds-secondary-hover);
    border-color: var(--jds-secondary-hover);
    color: #ffffff;
    transform: translateY(-1px);
}

.jds-sample-inline-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--jds-header-font-color);
    margin-top: 0.75rem;
    text-decoration: none;
}

.jds-sample-inline-link:hover {
    color: var(--jds-primary);
    text-decoration: underline;
}

/* Purchase Info / Grafik-Service Banner */
.jds-purchase-info {
    background-color: var(--jds-dark-blue);
    color: var(--jds-light-grey);
    border: none;
    border-radius: var(--jds-radius);
    padding: 0.95rem 1.15rem;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1rem;
}

.jds-purchase-info-icon {
    font-size: 1.75rem;
    color: #ffffff;
    flex-shrink: 0;
}

.jds-purchase-info-sub {
    display: block;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Vollflaechige 3-Tab-Sektion (productdetails/tabs.tpl) */
.jds-pdp-tabs-section {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background-color: var(--jds-light-grey);
    border-top: 1px solid var(--jds-medium-grey);
    border-bottom: 1px solid var(--jds-medium-grey);
    padding: 2rem 0;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}

.jds-pdp-tabs-inner {
    width: 100%;
    max-width: 1250px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.jds-pdp-nav-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

.jds-pdp-nav-tabs .nav-item {
    flex-shrink: 0;
}

.jds-pdp-nav-tabs .nav-link,
.jds-pdp-page .nav-tabs .nav-link {
    color: var(--jds-header-font-color);
    font-weight: 600;
    border: 1px solid transparent;
    border-top-left-radius: var(--jds-radius);
    border-top-right-radius: var(--jds-radius);
    padding: 0.75rem 1.25rem;
    white-space: nowrap;
}

.jds-pdp-nav-tabs .nav-link:hover,
.jds-pdp-page .nav-tabs .nav-link:hover {
    color: var(--jds-primary);
}

.jds-pdp-nav-tabs .nav-link.active,
.jds-pdp-page .nav-tabs .nav-link.active {
    color: var(--jds-primary);
    background-color: #ffffff;
    border-color: var(--jds-medium-grey) var(--jds-medium-grey) #ffffff;
    position: relative;
    z-index: 2;
}

.jds-pdp-tab-content {
    border: 1px solid var(--jds-medium-grey);
    padding: 2rem;
    background-color: #ffffff;
    border-bottom-left-radius: var(--jds-radius);
    border-bottom-right-radius: var(--jds-radius);
    border-top-right-radius: var(--jds-radius);
    margin-top: -1px;
}

.jds-pdp-longdesc p {
    line-height: 1.65;
    text-align: justify;
}

.jds-at-a-glance-box {
    padding: 1rem;
    background-color: var(--jds-light-grey);
    border: 1px solid var(--jds-medium-grey);
    border-radius: var(--jds-radius);
}

.jds-at-a-glance-title {
    color: var(--jds-secondary);
    letter-spacing: 0.5px;
}

.jds-spec-table th {
    width: 35%;
    font-weight: 600;
    color: var(--jds-header-font-color);
}

.jds-pdp-page #tabAccordion > .card .card-header {
    background-color: var(--jds-dark-blue);
    color: var(--jds-light-grey);
}

.jds-print-card {
    background-color: #ffffff;
    border: 1px solid var(--jds-medium-grey);
    border-radius: var(--jds-radius);
    padding: 1rem;
    height: 100%;
}

.jds-print-preview-img {
    max-height: 96px;
    object-fit: contain;
}

.jds-print-sidebar {
    background-color: #ffffff;
    border: 1px solid var(--jds-medium-grey);
    border-radius: var(--jds-radius);
    padding: 1.15rem;
}

.jds-trust-badge-card {
    border: 1px dashed var(--jds-medium-grey);
    border-radius: var(--jds-radius);
    padding: 0.85rem;
    background-color: #ffffff;
    text-align: center;
}

@media (max-width: 767.98px) {
    .jds-pdp-tab-content {
        padding: 1.25rem;
    }

    .jds-pdp-nav-tabs .nav-link {
        padding: 0.6rem 0.9rem;
        font-size: 0.9rem;
    }

    .jds-spec-table th {
        width: 42%;
    }
}

/* Muster-Anforderung Banner (PDP Unten) */
.jds-sample-banner {
    background: linear-gradient(135deg, rgba(54, 101, 107, 0.08) 0%, rgba(43, 156, 171, 0.16) 100%);
    border: 1px solid var(--jds-medium-grey);
    border-radius: var(--jds-radius);
    padding: 1.75rem 1.5rem;
    margin: 2rem 0 2.5rem;
}

.jds-sample-banner-title {
    color: var(--jds-dark-blue);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* --------------------------------------------------------------------------
   10. Footer (Fluid 100% Hintergrund, Inhalt im 1250px Boxed-Container)
   -------------------------------------------------------------------------- */
footer#footer {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    background-color: var(--jds-light-grey);
    border-top: 1px solid var(--jds-medium-grey);
    padding-top: 2.5rem;
    margin-top: 0;
    color: var(--jds-base-font-color);
}

footer#footer > .container,
footer#footer > .container-fluid {
    width: 100%;
    max-width: 1250px;
    margin-left: auto;
    margin-right: auto;
}

footer#footer .footnote-vat {
    padding: 1.25rem 0;
    border-top: 1px solid var(--jds-medium-grey);
    margin-top: 1.5rem;
}

footer#footer #copyright {
    width: 100%;
    max-width: 100%;
    background-color: var(--jds-dark-blue);
    color: #ffffff;
    padding: 0.85rem 0;
}

footer#footer #copyright > .container,
footer#footer #copyright > .container-fluid {
    width: 100%;
    max-width: 1250px;
    margin-left: auto;
    margin-right: auto;
}

/* --------------------------------------------------------------------------
   11. Kategorieseiten (PAGE_ARTIKELLISTE = data-page="2"):
       Linke Sidebar ausblenden & Inhalt (col-lg-8 / col-xl-9) auf 100% strecken
   -------------------------------------------------------------------------- */
body[data-page="2"] #sidepanel_left,
body[data-page="2"] aside#sidepanel_left {
    display: none;
}

body[data-page="2"] #content,
body[data-page="2"] #content > .row > [class*="col-lg-8"],
body[data-page="2"] #content > .row > .ml-auto-util {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
    margin-left: 0;
}

/* --------------------------------------------------------------------------
   12. Mobile Optimierungen (Preheader & Hero-Buttons 100% Breite)
   -------------------------------------------------------------------------- */
@media (max-width: 767.98px) {
    .jds-preheader-inner {
        justify-content: center;
        text-align: center;
    }

    .jds-b2b-switch-wrap {
        justify-content: center;
    }

    .jds-preheader-tax {
        font-size: 0.78rem;
    }

    .jds-hero-actions {
        flex-direction: column;
    }

    .jds-hero-actions .btn {
        width: 100%;
        display: block;
    }
}

/* --------------------------------------------------------------------------
   13. Globaler Angebotsmodus (body.jds-quote-mode)
       Nur aktiv, wenn im Template-Backend jds_shop_mode = "quote" gewaehlt ist.
   -------------------------------------------------------------------------- */
body.jds-quote-mode .jds-quote-nav-label {
    font-size: 0.875rem;
    font-weight: 600;
    margin-left: 0.35rem;
    margin-right: 0.35rem;
}

body.jds-quote-mode .jds-quote-dropdown-header {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--jds-dark-blue);
    border-bottom: 1px solid var(--jds-medium-grey);
    padding: 0.65rem 1rem;
    margin-bottom: 0.25rem;
}

body.jds-quote-mode .jds-quote-hidden-step {
    display: none !important;
}

body.jds-quote-mode .jds-quote-submit-btn {
    display: block !important;
}

body.jds-quote-mode .jds-quote-checkout-heading,
body.jds-quote-mode .jds-quote-completed-heading {
    color: var(--jds-dark-blue);
    font-weight: 700;
}

body.jds-quote-mode .jds-quote-info-box {
    border-left: 4px solid var(--jds-primary);
    background-color: #eef7f8;
    border-color: #c5e3e7;
    color: #214a50;
}

body.jds-quote-mode .jds-quote-info-icon {
    font-size: 1.2rem;
    color: var(--jds-primary);
    flex-shrink: 0;
}

body.jds-quote-mode .jds-quote-step-card,
body.jds-quote-mode .jds-quote-shipping-card,
body.jds-quote-mode .jds-quote-completed-card {
    border-radius: var(--jds-radius);
}

body.jds-quote-mode .jds-quote-guideline-badge {
    font-size: 0.85em;
    font-weight: 400;
    color: var(--jds-base-font-color);
}

body.jds-quote-mode .jds-quote-completed-alert {
    border-left: 4px solid #28a745;
    font-size: 1.02rem;
    line-height: 1.55;
}

body.jds-quote-mode .jds-quote-ref-number {
    font-weight: 700;
    color: var(--jds-dark-blue);
    letter-spacing: 0.02em;
}

body.jds-quote-mode .jds-quote-price-hint {
    line-height: 1.35;
}
