/*
 * Platz für eigene Änderungen direkt als CSS
 * Die hier gemachten Änderungen überschreiben ggfs. andere Styles, da diese Datei als letzte geladen wird.
 */


/* montserrat-500 - latin */
@font-face {
  font-display: swap; 
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  src: url('./fonts/montserrat-v31-latin-500.woff2') format('woff2'); 
}

html {
    color-scheme: dark;
}

/* App auf 1400px Breite setzen*/
@media (min-width: 1300px) { 
  .container { max-width: 1400px; } 
}

.mainslider-desktop-fixed-height {
  height: 342px;
}

.ws5_oss_visualCountrySelection_button_ISO {
  background: #414141!important;
}

@media (min-width: 992px) {
  #shop-nav .ws5_oss_visualCountrySelection_button_container {
    display: none;
  }
}

#main-wrapper {
  background: #121212;
}

body {
  background-color: #121212;
}

#header-top-bar a:not(.dropdown-item):not(.btn):hover, header a:not(.dropdown-item):not(.btn):hover {
  color: #00e5FF;
}

#header-top-bar a:hover .nav-mobile-heading, header a:hover .nav-mobile-heading {
  color: #ffffffab; 
}

#header-top-bar a.nav-link.dropdown-toggle:hover, 
header a.nav-link.dropdown-toggle:hover {
  color: #ffffffab; 
}

#footer a:not(.btn):hover {
  color: #00e5FF;
}

.hr-sect::before, .hr-sect::after {
  background: #969696;
}

#product-offer .product-info .stock-information {
    border-top: 1px solid #969696;
    border-bottom: 1px solid #969696;
}

@media (min-width: 992px) {
    .breadcrumb-wrapper {
        border-style: solid;
        border-color: #969696;
        border-width: 0 0 1px 0;
    }
}

/* Spinner auf Mobile deaktivieren */
@media (max-width: 767px) {
.jtl-spinner {
  display: none !important;
}
}

.table-hover tbody tr:hover {
  background-color: #242424;
}

.btn:focus, .btn.focus {
  box-shadow: none;
}

.product-offer .btn-secondary {
  color: #ffffffde;
  background-color:#5c00aa;
  border-color: #5c00aa;
}

@media (hover) {
  .btn-outline-primary:hover {
    background-color:#5c00aa;
    color: #ffffffde;
  }
}

@media (hover) {
  .btn-outline-secondary:hover {
    background-color: #00E5FF;
  }
}

#header-top-bar {
	background: #121212;
}

.topbar-usps {
    font-size: 0.9rem;
    color: #ffffffde;
    font-weight: 500;
}

.topbar-usps i {
    color: #00e5FF;
}

.topbar-wrapper {
    padding: 0rem 1rem;
}

#header-top-bar .container-fluid.d-lg-flex {
    flex-direction: row !important;
}

#shop-nav .fa-shopping-cart {
  font-size: 1rem;
}

#shop-nav .fa-user {
  font-size: 1rem;
}

/* Farbe der Productboxen auf Main und PLP + Abstand zum CTA unten */
@media (min-width: 768px) {
.productbox.productbox-hover .productbox-inner::before {
  background: #1e1e1e;
  margin-bottom: -1rem;
  }
}

/* Farbe der Productboxen auf Main und PLP + Abstand zum CTA unten MOBILE */
@media (max-width: 768px) {
#result-wrapper .productbox-inner {
  background: #1e1e1e;
  padding-bottom: 1rem;
  margin: 1rem;
  }
}

/* Mobile Productbox Optimierung PLP  */ 
@media (max-width: 768px) {
#product-list .product-wrapper:not(:last-child) {
    margin-bottom: 1rem;
  }
}

/* Images auf PLP anpassen */
#result-wrapper .productbox-image .square-image .inner img {
  width: 75%;
}

/* Topseller Stream auf Mainpage auf volle Breite pro Produkt setzen - Mobile */
@media (max-width: 767px) {
    .opc-ProductStream-gallery .col-6 { 
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

/* Images auf Mainpage Topseller Stream anpassen */
.opc-ProductStream-gallery .productbox-image .square-image .inner img {
  width: 90%;
}

.nav-scrollbar-item .nav-link {
  font-weight: 600;
  font-family: 'Montserrat';
}

.categories-recursive-link  {  
  font-weight: 600;
  font-family: 'Montserrat';
}

@media (min-width: 992px) { .nav-mobile-heading {
  font-weight: 600;
  font-family: 'Montserrat';
  font-size: 15px;
  }
}

@media (min-width: 992px) {
  .categories-recursive-dropdown .nav-link{
    font-size: 15px;
    font-family: Montserrat,sans-serif;
    font-weight: 500;
  }
}

@media (min-width: 992px) {
    .nav-item-lg-m {
        margin-top: 1rem;
        margin-bottom: 0.5rem;
    }
}

/* Mainpage Slider Anpassungen */
.nivoSlider {
    max-width: 1600px;
    margin: auto;
    box-shadow: none !important;
    background: #121212 !important;
}

.slider-pause-controls {
	display: none;
}

.nivo-controlNav {
	padding: 5px 0 !important;
}
	
/* Styleänderungen Product Boxen */
.productbox-title {
   font-size: 20px;
   font-weight: 600;
   text-align: center;
}

.productbox-title a.text-clamp-2 {
    text-decoration: none;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.productbox-title a.text-clamp-3 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  text-decoration: none;
  height: 4.5em;
}

.productbox-price {
  font-size: 1.5rem;
}

.customOldPrice {
  text-decoration: line-through;
  font-size: 1.25rem;
  font-weight: 400;
  margin-left: 0.75rem;
}

.customSpecialPrice {
  color: red;
}

.customOldPriceConfigurator {
  text-decoration: line-through;
  font-size: 0.9375rem;
  font-weight: 400;  
  margin-right: 0.5rem;
}

.customSpecialPriceConfigurator {
  color: red;
  font-size: 1rem;
}

/* Sortierung und Anzahl Items auf PLP ausblenden */
.filter-type-FilterItemSort {
   display: none;
}

/* Sortierung und Anzahl Items auf Mobile PLP ausblenden */
.productlist-page-nav .displayoptions {
  display: none;
}

.filter-type-FilterItemLimits {
   display: none;
}

/* Filterung für Besondere Artikel (Neu, Top) ausblenden */
.box-filter-special {
   display: none!important;
}

.col.geizhals-link.col-auto {
    padding-left: 0;
    padding-top: 1rem;
    font-size: 1rem;
}

/* Konfigurator Error Box (Rules) animieren */
#rule-error-box {
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#rule-error-box.visible {
  opacity: 1;
  transform: translateY(0);
}

.ribbon-8.productbox-ribbon {
  display: none;
}

/* Configbanner zentrieren */ 
.cfg-group .group-description img {
  display: block;
  margin-right: auto;
  margin-left: auto;
}

/* Configurator mixed layout tweaks */
.cfg-group-mixed-wrapper .config-item.card.disabled { opacity: .5; }
.cfg-group-mixed-wrapper .cfg-subheading { border-bottom: 1px solid rgba(0,0,0,.08); padding-bottom: .25rem; }
.cfg-group-toggle .fa-chevron-down { transition: transform .2s ease; }
.collapse.show + .cfg-group-toggle .fa-chevron-down { transform: rotate(180deg); }

/* Gallery layout tweaks for config groups */
.cfg-subheading { border-bottom: 1px solid rgba(0,0,0,.08); padding-bottom: .5rem; padding-top: .5rem; font-size:1.4rem; }

/* Case/Gehaeuse card layout */
.config-item.card .cfg-card { display:flex; flex-direction:column; min-height:370px; }
@media (max-width: 575.98px) {
.config-item.card .cfg-card { display:flex; flex-direction:column; min-height:340px; }
}
@media (max-width: 450px) {
.config-item.card .cfg-card { display:flex; flex-direction:column; min-height:320px; }
}
@media (max-width: 400px) {
.config-item.card .cfg-card { display:flex; flex-direction:column; min-height:300px; }
}

.config-item.card .cfg-card-body { padding: .5rem .75rem .0rem .75rem; display:flex; flex-direction:column; gap:.1rem; flex:1 1 auto; }
.config-item.card .cfg-card-title { font-weight:600; font-size:.9375rem; line-height:1.2; }
.config-item.card .cfg-card-desc { font-size:.85rem; color: var(--gray, #6c757d); overflow:hidden; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; }
.config-item.card .cfg-card-price { margin-top:auto; font-weight:600; font-size:.9375rem; }
.config-item.card { margin-right: -0.5rem; margin-left: -0.5rem;}

/* Tweak the preview badge in cards */
span.badge.circle-small.configpreview.position-absolute.badge-light { padding:0; font-size:100%; }

/* Enlarge chevron click area without changing layout 
@media (min-width: 992px) { 
.cfg-group-toggle { position: relative; margin-left: -20rem; margin-right: -10rem; padding: .25rem 10rem .25rem 20rem; }
.cfg-group-toggle .fa-chevron-down { transition: transform .2s ease; }
.cfg-group-toggle[aria-expanded='true'] .fa-chevron-down { transform: rotate(180deg); }
 } */

 
/* Remove Bootstrap focus ring only for the configurator chevron button */
.cfg-group-toggle.btn:focus,
.cfg-group-toggle.btn.focus,
.cfg-group-toggle.btn:focus-visible {
  box-shadow: none !important;
  outline: none !important;
}

/* --- Configurator Categories Clickbox ---  */
.hr-sect.d-flex {
    position: relative !important;
    overflow: hidden !important;
} 
.cfg-group-toggle {
    position: relative !important;
    pointer-events: auto !important;
} 
.cfg-group-toggle::after {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;    

    width: 150vw !important; 
    height: 50px !important;    

    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}
.cfg-group-toggle[aria-expanded="false"]::after,
.cfg-group-toggle:not([aria-expanded])::after {
    transform: translate(-50%, -50%) rotate(180deg) !important;
}
.cfg-group-toggle[aria-expanded="true"]::after {
    transform: translate(-50%, -50%) rotate(0deg) !important;
}

.custom-control-label {
  margin-bottom: 10px;
}

.cfg-group .custom-control {
  margin: 0;
}

/* Bilder in Square Cards Abstände definieren */
.cfg-card .square-image .inner img {
  padding: 1rem;  
}

/* Hauptbild auf der PDP kleiner */
@media (min-width: 992px) {
  main #gallery .square-image .inner img {
    padding: 4rem;  
    padding-top: 0;
  }
  main #image_wrapper #gallery {
    margin-bottom: -5rem;
    margin-top: -3rem;
  }
}

@media (max-width: 991.98px) {
  main #image_wrapper #gallery {
    margin-bottom: 0;
  }

  .breadcrumb-wrapper {
    margin-bottom: 0.5rem;
  }
}

.product-offer .price_wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.price_label.pricestarting {
  color: #C8C8C8;
  padding-top: 0.5rem;
}

.product-offer .estimated-delivery{
  color: #ffffffde;
  font-size: 0.875rem;
  display: inline-block;
  padding-top: 0.25rem;
}

/* Konfiguratorgruppenabstände */
.cfg-group .hr-sect {
  margin-top: 0;
  font-size: 1.25rem;
}

/* Artikeldetails PopUp Änderungen */
 .modal-content .product-offer {
  display: none  
 }


#cfg-container .custom-control:focus-within > label {
  outline: none;
  border-radius: none;
  outline-offset: none;
}

#cfg-container .card {
  border: 0;
}

.cfg-preis-list {
  margin-left: auto;
  padding-left: 1rem;
  font-weight: 700;
  font-size: .9rem;
  white-space: nowrap;
}

.cfg-preis-list-multi {  
  margin-top: 0.5rem;
  font-weight: 700;
  font-size: .9375rem;
  white-space: nowrap;
}

@media (max-width: 575.98px) {
.cfg-bild-list {
  display: none;
}
}

/* Sidebar innerhalb scrollbar machen, nur Desktop */
@media (min-width: 992px) {
  .cfg-sidebar-components-list {
  max-height: 60vh;
  overflow-y: auto;
  overflow-x: hidden;
}
}

.cfg-sidebar-price-custom {
  padding-top: 1rem;
  padding-right: 1rem;
  text-align: right;
}

.cfg-sidebar-price-custom .price {
  font-size: 1.25rem;
}

/* Sidebar komponenten einrücken */
.cfg-sidebar-components-list .row {
  margin-left: 0;
}

.cfg-item-qty {
  display: flex;
  flex-direction: column; 
}

.cfg-item-description dt {
  font-size: 0.9375rem;  
}

@media (min-width: 992px) {
  #mainNavigation .nav-item .nav {
    flex-direction: column;
    flex-wrap: wrap;
    max-height: 750px;
    align-content: flex-start;
    gap: 8px;
  }
}

@media (min-width: 992px) {
    .nav-scrollbar-item .dropdown-body {
        padding-bottom: 1.5rem;
        padding-top: 1rem;
    }
}

@media (min-width: 992px) {
  .navbar-brand {
    margin-right: 1rem !important;
    /*padding-top: 0 !important;
    padding-bottom: 0 !important;*/
    padding: 7px !important;
    padding-left: 0!important;
  }
}

@media (min-width: 992px) {
  .navbar{
    height: 75px !important;
  }
}

@media (min-width: 992px) {
  header .navbar-collapse{
    height: 73px;
  }
}

@media (min-width: 992px) {
    header .navbar-nav>.nav-item>.nav-link {
      padding-right: 1rem;
      padding-left: 1rem;
    }
}

.item-list-description {
  line-height: 1.3em;
  margin-top: 20px;
  padding-left: 1.5rem;
  padding-right: 1rem
}

@media (max-width: 991px) { .productbox-inner .price_wrapper {
  margin-top: 1rem;
  margin-bottom: 1rem;
  text-align: center;
  padding-left: 0;
  }
}

@media (min-width: 992px) { .productbox-inner .price_wrapper {
  padding-left: 2rem;
  margin-bottom: 1rem;
  }
}

.btn-configurate {
  font-family: Montserrat,sans-serif;
  font-size: 15px;
  border-width: 3px;
  width: 90%;
  left: 1rem;
}

/* Hover-Effekt für Gliederungspunkte im Megamenü deaktivieren */
.categories-recursive-link.is-gliederung:hover,
.categories-recursive-link.is-gliederung:focus {
    background-color: transparent !important;
    color: inherit !important;
}

.nav-panel .nav .nav {
    padding-left: 1rem;
}

.desc:not(.collapser-ready) {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

#result-wrapper .desc {
  background: #1e1e1e;
  padding: 1rem;
}

.btn-outline-primary {
  color: #ffffffde;
}

#sidepanel_left .box-normal {
  background: #1e1e1e;
  padding: 1rem;
}

.form-control {
  background-color: #1e1e1e;
  color: #ffffffde;
}

.cfg-group .form-counter .btn {
  background-color: transparent;
}

/* Fullscreen Gallery transparent */
#image_wrapper.fullscreen .gallery-with-action-main {
background: #1e1e1e69;
box-shadow: 1px 1px 20px #1e1e1e;
}

#image_wrapper.fullscreen .product-detail-image-topbar {
  background: transparent;
}

#image_wrapper.fullscreen .product-detail-image-preview-bar {
  background: #1e1e1e;
}

#image_wrapper .gallery-with-action-main #gallery .slick-arrow {
  color: white;
}

.btn-outline-secondary {
  color: #ffffffde;
}

.form-control:focus {
color: #ffffffde;
background-color: #1e1e1e;
}

.label-slide .form-group:not(.exclude-from-label-slide):not(.checkbox) label {
  background: transparent;
}

.label-slide .form-group:not(.exclude-from-label-slide):not(.checkbox) .form-control:placeholder-shown:not(:focus) ~ label {
  color: #ffffffde;
}

.label-slide .form-group:not(.exclude-from-label-slide):not(.checkbox) label:after {
  background: transparent;
}

.label-slide .form-group:not(.exclude-from-label-slide):not(.checkbox).typeahead-required label:not(.focused) {
  color: #ffffffde;
}

.form-control:disabled {
  background-color: #494949b0;
}

.stepper {
  background-color: #1e1e1e;
}

.stepper .step-active::after {
  background-color: #1e1e1e;
}

.stepper .step-active {
  background-color: #1e1e1e;
}

.stepper .step::before {
  border-left: 1.875rem solid #1e1e1e;
}

.stepper .step::after {
  border-left: 1.875rem solid #1e1e1e;
}

.badge-secondary {
  color: #ffffffde;
}

.tt-menu {
  background-color: #1e1e1e;
}

.tt-menu .tt-suggestion {
  color: #ffffffde;
}

#order-confirm .checkout-confirmation-comment {
  background-color: #282828;
  color: #ffffffde;
}

.shipping-address-standard-active tr:first-child {
    background-color: rgb(36 36 36);
}

#order-confirm .checkout-confirmation-comment::placeholder {
  color: #ffffffde;
}

.account-icon-dropdown .dropdown-footer {
  background-color: #1e1e1e;
}

.cfg-position-details.cfg-layout-list .cfg-group-list-wrapper .cfg-group {
  border: 0.5px solid #4b4b4b;
  border-radius: 2px;
  padding: 1rem;
  background-color: rgb(30 30 30);
}

.cfg-group .config-item {
  background-color: #242424;
  outline: 1px solid #242424;
  box-shadow: 0px 0px 10px 0px rgb(20 20 20);
  border-radius: 2px;
}

.cfg-position-details.cfg-layout-list .product-configuration-sidebar-wrapper {
  border: 0.5px solid #4b4b4b;
  border-radius: 2px;
  background-color: rgb(30 30 30);
}

.checkout-payment-method .checkout-payment-method-note {
  margin-top: 0.25rem;
  font-size: 1rem;
}

.checkout-payment-method .checkout-payment-method-badge {
  font-size: 1rem;
}

.checkout-payment-method .title {
  font-size: 1rem;
}

.checkout-shipping-form .checkout-shipping-form-options {
  font-size: 115%
}

.text-info.notice {
  color: #bbbbbb!important;
}

#result-wrapper .checkout-shipping-form-options .desc {
  padding: 0;
}

#cart-dropdown-container .item-overflow-notice {
  display: none;
}


/* Ausverkaufte Boxen im Konfigurator */
.cfg-group .cfg-swatch:disabled ~ .custom-control-label .config-item {
  background: #1a1a1a;
  color: #959595;
}

.popover {
  background-color: #1e1e1e;
   max-width: 300px;
}

.popover-header {
  background-color: #121212;
}

/* Scrollbars Dark Mode */
::-webkit-scrollbar {
    width: 12px;
    background-color: #191919; /* Hintergrund der Scrollbar-Spur */
}

::-webkit-scrollbar-thumb {
    background-color: #383838; /* Farbe des Scrollbalkens */
    border-radius: 6px;
    border: 3px solid #191919; 
}

::-webkit-scrollbar-thumb:hover {
    background-color: #444444; /* Farbe beim Drüberfahren */
}

.cfg-group .group-description {
  margin-bottom: 1rem;
  margin-top: 1rem;
}

.checkout-payment-options .custom-control-inline,
.checkout-payment-options .custom-control-label {
    width: 100%;
}

/* --- Mobile Text Optimierungen --- */
@media (max-width: 768px) {
  h1 {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  h2 {
    font-size: 1.25rem;
  }
}

[data-toggle=collapse]:not(.navbar-toggler).opc-Accordion-head {
  text-align: left;
  font-size: 18px;
}

@media (max-width: 991.98px) {
    .productbox-ribbon.ribbon {
      font-size: 0.75rem;
    }
}

@media (max-width: 991.98px) {
    /* Trrifft jetzt JEDEN Nav-Link im Header, egal ob mit oder ohne Untermenü-Pfeil */
    header .navbar-nav .nav-link {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    /* Hebelt das Abschneiden für absolut alle Textboxen im mobilen Menü aus */
    header .navbar-nav .nav-link .text-truncate {
        white-space: normal !important;      /* Erlaubt den Zeilenumbruch */
        overflow: visible !important;       /* Macht den Text sichtbar */
        text-overflow: clip !important;     /* Entfernt die "..." */
        flex-grow: 1;
        min-width: 0;
    }

    /* Hält eventuell vorhandene Pfeile auf Position */
    header .navbar-nav .nav-link::after {
        flex-shrink: 0;
        margin-left: 0.5rem;
    }

    header .navbar-nav .nav-item, header .navbar-nav .nav-link {
        padding-right: 0;
    }

    .nav-item > a > strong.nav-mobile-heading {
      display: none!important;
    }
}

@media (min-width: 768px) {
  /* Überschreibt den Hover-, Focus- und .focus-Zustand auf PLP */
  .productbox.productbox-hover:hover .productbox-inner::before,
  .productbox.productbox-hover:focus .productbox-inner::before,
  .productbox.productbox-hover.focus .productbox-inner::before {
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: #242424;
  }
}

@media (min-width: 768px) {
  .productbox.productbox-hover:hover .productbox-ribbon.ribbon, 
  .productbox.productbox-hover:focus .productbox-ribbon.ribbon, 
  .productbox.productbox-hover.focus .productbox-ribbon.ribbon {
    left: -0.5rem;
    top: 1rem;
  }
}