/* NOVA-Akzentfarben: Gelb durch Bronze ersetzen.
   Vor den eigenen Designregeln, damit deren Schwarz-Weiss-Zustaende erhalten bleiben. */
:root { --primary: #875f38; }
:root { --primary: #875f38; }
a:hover { color:#875f38; }
.nav-tabs .nav-link.active,.nav-tabs .nav-item.show .nav-link { border-color:#875f38; }
.nav-pills .nav-link.active,.nav-pills .show>.nav-link { background-color:#875f38; }
.navbar-light .navbar-nav .nav-link:hover,.navbar-light .navbar-nav .nav-link:focus { color:#875f38; }
.page-item.active .page-link::after,.page-item.active .page-text::after { border-bottom:4px solid #875f38; }
@media (min-width: 992px) {
header .navbar-nav>.nav-item>.nav-link::before { border-color:#875f38; }
}
.btn-skip-to { border:3px solid #875f38; }
.slick-slide a:hover,.slick-slide a:focus { color:#875f38; }
.btn:not(:disabled):not(.disabled):active:focus,.btn:not(:disabled):not(.disabled).active:focus { box-shadow:0 0 0 .2rem rgba(135, 95, 56,.25),inset 0 3px 5px rgba(0,0,0,.125); }
aside .nav-panel>.nav>.active>.nav-link { border-bottom:.375rem solid #875f38; }
.box_login .register .fa { color:#875f38; }
.jqcloud-word.w5 { color:#875f38; }
.jqcloud-word a:hover { color:#875f38 !important; }
.btn-pause:focus,.btn-pause:focus-within { outline:2px solid #875f38 !important; }
#header-top-bar a:not(.dropdown-item):not(.btn):hover,header a:not(.dropdown-item):not(.btn):hover { color:#875f38; }
.form-control:focus { border-color: #875f38; box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 0 0.2rem rgba(135, 95, 56, 0.25); }
.btn:focus, .btn.focus { box-shadow: 0 0 0 0.2rem rgba(135, 95, 56, 0.25); }
.btn:not(:disabled):not(.disabled):active:focus, .btn:not(:disabled):not(.disabled).active:focus { box-shadow: 0 0 0 0.2rem rgba(135, 95, 56, 0.25), inset 0 3px 5px rgba(0, 0, 0, 0.125); }
.btn-primary { background-color: #875f38; border-color: #875f38; }
.btn-primary.disabled, .btn-primary:disabled { background-color: #875f38; border-color: #875f38; }
.btn-outline-primary { color: #875f38; border-color: #875f38; }
.btn-outline-primary:hover { background-color: #875f38; border-color: #875f38; }
.btn-outline-primary:focus, .btn-outline-primary.focus { box-shadow: 0 0 0 0.2rem rgba(135, 95, 56, 0.5); }
.btn-outline-primary.disabled, .btn-outline-primary:disabled { color: #875f38; }
.btn-outline-primary:not(:disabled):not(.disabled):active, .btn-outline-primary:not(:disabled):not(.disabled).active, .show > .btn-outline-primary.dropdown-toggle, .show > .btn-outline-primary[data-toggle=collapse]:not(.navbar-toggler) { background-color: #875f38; border-color: #875f38; }
.btn-outline-primary:not(:disabled):not(.disabled):active:focus, .btn-outline-primary:not(:disabled):not(.disabled).active:focus, .show > .btn-outline-primary.dropdown-toggle:focus, .show > .btn-outline-primary[data-toggle=collapse]:focus:not(.navbar-toggler) { box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125), 0 0 0 0.2rem rgba(135, 95, 56, 0.5); }
.btn-link:hover { color: #875f38; }
.custom-control-input:checked ~ .custom-control-label::before { border-color: #875f38; background-color: #875f38; }
.custom-control-input:focus ~ .custom-control-label::before { box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 0 0.2rem rgba(135, 95, 56, 0.25); }
.custom-control-input:focus:not(:checked) ~ .custom-control-label::before { border-color: #875f38; }
.custom-checkbox .custom-control-input:indeterminate ~ .custom-control-label::before { border-color: #875f38; background-color: #875f38; }
.custom-checkbox .custom-control-input:disabled:checked ~ .custom-control-label::before { background-color: rgba(135, 95, 56, 0.5); }
.custom-checkbox .custom-control-input:disabled:indeterminate ~ .custom-control-label::before { background-color: rgba(135, 95, 56, 0.5); }
.custom-radio .custom-control-input:disabled:checked ~ .custom-control-label::before { background-color: rgba(135, 95, 56, 0.5); }
.custom-switch .custom-control-input:disabled:checked ~ .custom-control-label::before { background-color: rgba(135, 95, 56, 0.5); }
.custom-select:focus { border-color: #875f38; box-shadow: 0 0 0 0.2rem rgba(135, 95, 56, 0.25); }
.custom-file-input:focus ~ .custom-file-label { border-color: #875f38; box-shadow: 0 0 0 0.2rem rgba(135, 95, 56, 0.25); }
.custom-range:focus::-webkit-slider-thumb { box-shadow: 0 0 0 1px #f5f7fa, 0 0 0 0.2rem rgba(135, 95, 56, 0.25); }
.custom-range:focus::-moz-range-thumb { box-shadow: 0 0 0 1px #f5f7fa, 0 0 0 0.2rem rgba(135, 95, 56, 0.25); }
.custom-range:focus::-ms-thumb { box-shadow: 0 0 0 1px #f5f7fa, 0 0 0 0.2rem rgba(135, 95, 56, 0.25); }
.custom-range::-webkit-slider-thumb { background-color: #875f38; }
.custom-range::-moz-range-thumb { background-color: #875f38; }
.custom-range::-ms-thumb { background-color: #875f38; }
.page-link:hover { color: #875f38; }
.page-link:focus { box-shadow: 0 0 0 0.2rem rgba(135, 95, 56, 0.25); }
.badge-primary { background-color: #875f38; }
a.badge-primary:focus, a.badge-primary.focus { box-shadow: 0 0 0 0.2rem rgba(135, 95, 56, 0.5); }
.progress-bar { background-color: #875f38; }
.list-group-item.active { background-color: #875f38; border-color: #875f38; }
.bg-primary { background-color: #875f38 !important; }
.border-primary { border-color: #875f38 !important; }
.text-primary { color: #875f38 !important; }
.consent-switch .consent-input:focus + .consent-label::before { outline: 2px solid #875f38; }
.consent-modal-close:hover, .consent-modal-close:focus { color: #875f38; }
a.give-consent-preview:focus-visible { color: #875f38; }
.badge-outline-primary { border-color: #875f38; color: #875f38; }
a.badge-outline-primary:focus, a.badge-outline-primary.focus { box-shadow: 0 0 0 0.2rem rgba(135, 95, 56, 0.5); }
.badge-check { border: 2px solid #875f38; }
.badge-check .badge-circle { background-color: #875f38; border-color: #875f38; }
.btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active, .show > .btn-primary.dropdown-toggle, .show > .btn-primary[data-toggle=collapse]:not(.navbar-toggler) { background-color: #875f38; border-color: #875f38; }
.btn-outline-primary { border-color: #875f38; }
.btn-outline-primary:not(:disabled):not(.disabled):active, .btn-outline-primary:not(:disabled):not(.disabled).active, .show > .btn-outline-primary.dropdown-toggle, .show > .btn-outline-primary[data-toggle=collapse]:not(.navbar-toggler) { border-color: #875f38; background-color: #875f38; }
@media (hover) {
.btn-icon-primary:hover { border-color: #875f38; color: #875f38; }
}
.btn-icon-primary:not(:disabled):not(.disabled):active, .btn-icon-primary:not(:disabled):not(.disabled).active, .show > .btn-icon-primary.dropdown-toggle, .show > .btn-icon-primary[data-toggle=collapse]:not(.navbar-toggler) { border-color: #875f38; background-color: #875f38; }
.btn-icon-secondary:not(:disabled):not(.disabled):active, .btn-icon-secondary:not(:disabled):not(.disabled).active, .show > .btn-icon-secondary.dropdown-toggle, .show > .btn-icon-secondary[data-toggle=collapse]:not(.navbar-toggler) { border-color: #875f38; background-color: #875f38; }
@media (hover) {
.btn-animated .btn-primary:hover { background-color: #875f38; border-color: #875f38; }
}
.btn-animated .btn-outline-primary::after { background-color: #875f38; }
@media (hover) {
.btn-animated .btn-outline-primary:hover { border-color: #875f38; }
.btn-animated .btn-outline-primary:hover::after { background: #875f38; }
}
.badge-circle:hover, .badge-circle:focus { background-color: #875f38; border-color: #875f38; }
.badge-circle-1.on-list { border: 1px solid #875f38; background-color: #875f38; }
.slick-arrow:hover { background-color: #875f38; }
.carousel-thumbnails .slick-slide.slick-current { border: 1px solid #875f38; }
.swatches-image.active { border: 1px solid #875f38; }
.swatches-text.active { border: 1px solid #875f38; }
.form-icon-trigger-label:hover { color: #875f38; }
.bootstrap-select.custom-select button.dropdown-toggle:focus, .bootstrap-select.custom-select button[data-toggle=collapse]:focus:not(.navbar-toggler) { border-color: #875f38; }
.bootstrap-select.custom-select.show button.dropdown-toggle, .bootstrap-select.custom-select.show button[data-toggle=collapse]:not(.navbar-toggler) { border-color: #875f38; }
.fa-sup { background-color: #875f38; }
.modal-header .close:hover { background-color: #875f38; }
@media (min-width: 768px) {
.productbox.productbox-hover:focus-visible .productbox-inner::before, .productbox.productbox-hover:focus-within .productbox-inner::before { outline: 2px solid #875f38; }
}
.noUi-horizontal .noUi-connect { background: #875f38; }
.noUi-horizontal .noUi-handle { background: #875f38; box-shadow: 0px 0px 0px 5px rgba(135, 95, 56, 0.5); }
.stepper .step-active .step-content::after { background: #875f38; }
@media (max-width: 991.98px) {
.stepper .step-current .step-content::after { background: #875f38; }
}
.tab-navigation .nav-link::after { border-color: #875f38; }
aside .nav-panel > .nav > .active > .nav-link { border-bottom: 0.375rem solid #875f38; }
.box_login .register .fa { color: #875f38; }
.jqcloud-word a:hover { color: #875f38 !important; }
.file-preview .fileinput-remove:focus-visible { outline: 2px solid #875f38; }
.file-preview .btn-file:focus-visible { outline: 2px solid #875f38; }
.file-drop-zone.clickable:focus { border: 2px solid #875f38; }
.modal-header .close:focus { background: #875f38; }
.btn:focus-visible,
.focus,
:focus-visible { outline: 2px solid #875f38; }
.opc-Video .video-transcript.focus { border: 2px solid #875f38; }
.opc-Video .card-header .btn-link:focus,
.opc-Video .btn-link:focus { color: #875f38; }
.filter-item.active .filter-img, .filter-item:active .filter-img { border: 3px solid #875f38; }
.filter-search-wrapper.input-group-selected .input-group-text, .filter-search-wrapper.input-group-selected .filter-search { border-color: #875f38; }
.productlist-filter-categories > .nav-item > .nav-link::before { border-color: #875f38; }
.swatches-image.focus, .swatches-text.focus { outline: 2px solid #875f38; }
#image_wrapper.fullscreen .product-detail-image-topbar #image_fullscreen_close:hover { background-color: #875f38; }
#image_wrapper #gallery .slick-arrow:hover { background-color: #875f38; }
#cfg-container .custom-control:focus > label { outline: 2px solid #875f38; }
#cfg-container .custom-control:focus-within > label { outline: 2px solid #875f38; }
.cfg-group .cfg-swatch:checked ~ .custom-control-label .config-item { outline-color: #875f38; }
.cfg-group .cfg-swatch:checked ~ .custom-control-label .config-item .badge-circle { background-color: #875f38; border-color: #875f38; }
#footer a:not(.btn):hover { color: #875f38; }
.account-head-data .account-head-data-credit { border: 1px solid #875f38; }
#rmaStickyPositions.loadingAJAX::after, #rmaStickyPositions.loadingAJAX::before { border: 8px solid #875f38; border-color: #875f38 #875f38 transparent transparent; }
.form-control:focus + .input-group-append .input-group-text { border-color: #875f38; }
.checkout-steps .step-check { color: #875f38; }

/* Trendpokale: eigene CSS-Anpassungen.
 * Wird zusätzlich zu den NOVA-Styles geladen, unabhängig von clear/midnight/blackline.
 * Noch keine alten Designregeln rekonstruierbar; bewusst keine neuen Farben oder Layouts erfunden.
 * Nach Änderungen Template-Cache leeren und bei Bedarf Version in template.xml erhöhen.
 */

/* Varianten: Textfelder und vorhandene Bild-Swatches, im Produktdetailbereich. */
#product-offer .variations .form-row.swatches,
#buy_form .variations .form-row.swatches {
    gap: 10px;
    margin-left: 0;
    margin-right: 0;
}
.variations .tp-variant-options > .col-auto {
    padding: 0;
}
.variations .tp-variant-options label.swatches,
.variations .textswatches label.swatches-text {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    min-height: 44px;
    padding: 10px 14px;
    margin: 0 8px 10px 0;
    border: 1px solid #e5e5e5;
    border-radius: 5px;
    background: #fff;
    color: #242424;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    cursor: pointer;
    box-shadow: none;
    transition: border-color .15s, background-color .15s, color .15s;
}
.variations .tp-variant-options label.swatches:hover,
.variations .textswatches label.swatches-text:hover {
    border-color: #242424;
}
.variations .tp-variant-options label.swatches:has(input:checked),
.variations .textswatches label.swatches-text:has(input:checked) {
    color: #fff;
    background: #242424;
    border-color: #242424;
}
.variations label.swatches:focus-within {
    outline: 2px solid #242424;
    outline-offset: 3px;
}
.variations .tp-variant-options .swatches-not-in-stock,
.variations .tp-variant-options .swatches-sold-out {
    opacity: .45;
}
.variations .tp-variant-options .swatches-not-in-stock .label-variation {
    text-decoration: line-through;
}
/* Bild-Swatches nutzen die in der Wawi hinterlegten Variationsbilder. */
.variations label.swatches-image {
    border-radius: 6px;
    overflow: hidden;
}
@media (prefers-reduced-motion: reduce) {
    .variations .tp-variant-options label.swatches { transition: none; }
}


/* Runde Farbwahl mit Auswahlring und Tooltip wie in der Referenz. */
.variations .tp-variant-options label.tp-color-swatch,
.variations .tp-variant-options label.tp-color-swatch:has(input:checked) {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 4px;
    margin: 0 10px 12px 0;
    border: 1px solid transparent;
    border-radius: 50%;
    background: #fff;
    color: #242424;
    overflow: visible;
}
.variations .tp-variant-options label.tp-color-swatch:hover,
.variations .tp-variant-options label.tp-color-swatch:has(input:checked) {
    border-color: #242424;
}
.variations .tp-variant-options label.tp-color-swatch:has(input:checked) {
    box-shadow: 0 5px 14px rgba(0,0,0,.12);
}
.tp-color-dot {
    display: block;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,.06);
}
.tp-tone-gold .tp-color-dot { background: #d4b15b; }
.tp-tone-silber .tp-color-dot { background: #c7c7c7; }
.tp-tone-bronze .tp-color-dot { background: #b67e52; }
/* Visuell verborgen, als Beschriftung für Hilfstechnologien erhalten. */
.variations label.tp-color-swatch .label-variation {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
.variations label.tp-color-swatch::before {
    content: attr(data-tp-tooltip);
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 10px;
    border-radius: 3px;
    background: #242424;
    color: #fff;
    font-size: 12px;
    line-height: 1.4;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    z-index: 20;
}
.variations label.tp-color-swatch::after {
    content: '';
    position: absolute;
    bottom: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%);
    border: 3px solid transparent;
    border-top-color: #242424;
    opacity: 0;
    pointer-events: none;
}
.variations label.tp-color-swatch:hover::before,
.variations label.tp-color-swatch:hover::after,
.variations label.tp-color-swatch:focus-within::before,
.variations label.tp-color-swatch:focus-within::after { opacity: 1; }
.variations .tp-selected-value { font-weight: 400; }
.variations .tp-selected-value:not(:empty)::before { content: ': '; }
/* Versteckte JTL-Radios bleiben per Tastatur erreichbar. */
.variations .tp-variant-options input.control-hidden {
    display: block !important;
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    clip-path: inset(50%);
}

/* Kaufbereich: kompakter Mengenzähler links, breiter Warenkorbbutton rechts. */
#add-to-cart .basket-form-inline:has(#quantity-grp) {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    column-gap: 20px;
    row-gap: 12px;
    align-items: end;
    margin-left: 0;
    margin-right: 0;
}
#add-to-cart .tp-quantity-label {
    grid-column: 1 / -1;
    justify-self: start;
    text-align: left;
    width: 100%;
    margin: 0;
    color: #242424;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}
#add-to-cart .basket-form-inline:has(#quantity-grp) > .col {
    width: 100%;
    max-width: none;
    padding: 0;
    margin: 0;
    min-width: 0;
}
#add-to-cart #quantity-grp {
    display: flex;
    flex-wrap: nowrap;
    height: 46px;
    border: 1px solid #ededed;
    border-radius: 5px;
    background: #f3f3f3;
    overflow: hidden;
}
#add-to-cart #quantity-grp .btn,
#add-to-cart #quantity-grp input,
#add-to-cart #quantity-grp .unit {
    height: 44px;
    min-height: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #242424;
    box-shadow: none;
}
#add-to-cart #quantity-grp .btn {
    min-width: 34px;
    padding: 0 10px;
    color: #777;
}
#add-to-cart #quantity-grp input {
    min-width: 26px;
    padding: 0 2px;
    text-align: center;
    font-size: 14px;
    appearance: textfield;
    -moz-appearance: textfield;
}
#add-to-cart #quantity-grp input::-webkit-inner-spin-button,
#add-to-cart #quantity-grp input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
#add-to-cart #quantity-grp .btn:hover { color: #111; background: #e8e8e8; }
#add-to-cart #quantity-grp:focus-within { outline: 2px solid #242424; outline-offset: 2px; }
#add-to-cart .basket-form-inline:has(#quantity-grp) button[name="inWarenkorb"] {
    width: 100%;
    min-height: 46px;
    margin: 0;
    padding: 10px 16px;
    border: 1px solid #171717;
    border-radius: 5px;
    color: #fff;
    background: #171717;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    box-shadow: none;
}
#add-to-cart .basket-form-inline:has(#quantity-grp) button[name="inWarenkorb"]:hover {
    color: #171717;
    background: #fff;
}
#add-to-cart button[name="inWarenkorb"] .fa-shopping-cart { display: none; }
#add-to-cart button[name="inWarenkorb"] svg path { stroke: currentColor; }
#add-to-cart button[name="inWarenkorb"]:disabled { opacity: .5; }
@media (max-width: 374px) {
    #add-to-cart .basket-form-inline:has(#quantity-grp) { grid-template-columns: 110px minmax(0, 1fr); column-gap: 12px; }
}

/* Ausgeblendete Auswahl-Zusammenfassungen auch gegenüber Theme-Regeln verbergen. */
#buy_form .shortdesc > p[data-tp-selection-summary="true"][hidden] { display: none !important; }

/* Redundante Variantenzeile am Ende der Kurzbeschreibung sofort ausblenden. */
#buy_form:has(.tp-variant-options) .shortdesc > p:last-child:has(> strong:only-child) {
    display: none !important;
}

/* Überschrift und Kurztext oben, technische Angaben unter dem Kaufbereich. */
#buy_form .product-title {
    color: #242424;
    font-size: clamp(25px, 2.2vw, 32px);
    line-height: 1.22;
    font-weight: 600;
    margin-bottom: 18px;
}
#buy_form .shortdesc { color: #777; line-height: 1.7; }
#buy_form .info-essential:not(:has(> *)) { display: none; }
#buy_form .tp-product-meta {
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid #ededed;
    color: #777;
    font-size: 13px;
    line-height: 1.7;
}
#buy_form .tp-product-meta-row { display: flex; gap: 8px; margin-bottom: 5px; }
#buy_form .tp-product-meta-label { color: #242424; flex-shrink: 0; }
#buy_form .tp-product-meta a { color: inherit; text-decoration: none; }
#buy_form .tp-product-meta a:hover { color: #242424; text-decoration: underline; }

/* Einheitlich schwarze Schrift; inverse Buttons behalten weiße Beschriftung. */
body { color: #000; }
body :where(h1, h2, h3, h4, h5, h6, p, li, dt, dd, label, small, a,
    .text-muted, .text-muted-util, .shortdesc, .product-title, .tp-product-meta,
    .tp-product-meta-label, .info-essential, .price, .price_label) {
    color: #000;
}
#buy_form .shortdesc,
#buy_form .product-title,
#buy_form .tp-product-meta,
#buy_form .tp-product-meta-label,
#buy_form .tp-product-meta a,
#buy_form .tp-product-meta a:hover,
#buy_form .text-muted,
#buy_form .text-muted-util { color: #000 !important; }
#add-to-cart #quantity-grp .btn,
#add-to-cart #quantity-grp input,
#add-to-cart #quantity-grp .unit,
#add-to-cart .tp-quantity-label { color: #000; }
input::placeholder, textarea::placeholder { color: #000; opacity: 1; }

/* Weißer Seitenhintergrund; Produktbilder öffnen kein Vollbild-Popup mehr. */
body { background-color: #ffffff !important; }
#gallery img { cursor: default !important; }
