/*
 * Platz für eigene Änderungen direkt als CSS
 * Die hier gemachten Änderungen überschreiben ggfs. andere Styles, da diese Datei als letzte geladen wird.
 */
.variations .validation {
 margin: 1em;
 color:#FF0000;
}
#pushed-success .form-row dt.col-6:nth-child(3), #pushed-success .form-row dd.col-6:nth-child(4), .secure-checkout-icon {display:none;}
.value.grundpreis {display:none;}
#product-list .value.grundpreis {display:block;}

/* 5.8-Galerie (Slick rows:0 / Splide) + altes NOVAChild .square-image
   Bekannt von etech24 und Halbig: Bilder sind kurz da, beim Hover/Init weg.
   Ursache: .inner absolut ohne top/left, Quadrat-Höhe 0, overflow:hidden.
   Nur in Child-custom.css, Parent NOVA nicht anfassen. */

/* Halbig: Hover schneidet .inner unter dem Quadrat ab */
.square-image .inner {
    top: 0 !important;
    left: 0 !important;
}

/* etech24: Galerie bleibt nach Slick-Init sichtbar */
.carousel.slick-smooth-loading:not(.slick-initialized),
.carousel.slick-lazy:not(.slick-initialized) {
    opacity: 1 !important;
    max-height: none !important;
}

#gallery.slick-initialized .square-image,
.product-wrapper .square-image {
    display: block;
    position: relative;
    aspect-ratio: 1 / 1;
    width: 100%;
    height: auto !important;
}

#gallery.slick-initialized .square-image::before,
.product-wrapper .square-image::before {
    content: none !important;
    display: none !important;
    padding: 0 !important;
}

#image_wrapper.fullscreen #gallery {
    width: min(100%, calc(100vh - 20rem));
    max-height: calc(100vh - 20rem);
    margin: 0 auto;
}
#image_wrapper.fullscreen #gallery .square-image .inner img {
    max-width: 100% !important;
    max-height: calc(100vh - 20rem) !important;
    object-fit: contain;
}

/* 5.8-Startseite: Skip-Links + Splide (altes NOVAChild hat noch Nivo, kein Splide-CSS) */

/* skip-links: hide unless keyboard focus (NOVA 5.5+/5.8) */
.btn-skip-to {
  position: absolute;
  top: 0;
  z-index: 1070;
  margin: 1%;
  padding: 0.375rem 0.75rem;
  background: #fff;
  border: 3px solid #1973d3;
  border-radius: 0.25rem;
  color: #212529;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transform: scale(0);
  transition: transform 200ms;
}
.btn-skip-to:focus,
.btn-skip-to:focus-visible {
  transform: scale(1);
  outline: none;
}

/* Splide Core CSS (NOVA 1.8 slider.css) */
.splide__container {
    box-sizing: border-box;
    position: relative;
}
.splide__list {
    backface-visibility: hidden;
    display: -ms-flexbox;
    display: flex;
    height: 100%;
    margin: 0 !important;
    padding: 0 !important;
}
.splide.is-initialized:not(.is-active) .splide__list {
    display: block;
}
.splide__pagination {
    -ms-flex-align: center;
    align-items: center;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-pack: center;
    justify-content: center;
    margin: 0;
    pointer-events: none;
}
.splide__pagination li {
    display: inline-block;
    line-height: 1;
    list-style-type: none;
    margin: 0;
    pointer-events: auto;
}
.splide:not(.is-overflow) .splide__pagination {
    display: none;
}
.splide__progress__bar {
    width: 0;
}
.splide {
    position: relative;
    visibility: hidden;
}
.splide.is-initialized,
.splide.is-rendered {
    visibility: visible;
}
.splide__slide {
    backface-visibility: hidden;
    box-sizing: border-box;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    list-style-type: none !important;
    margin: 0;
    position: relative;
}
.splide__slide img {
    vertical-align: bottom;
}
.splide__spinner {
    animation: splide-loading 1s linear infinite;
    border: 2px solid #999;
    border-left-color: transparent;
    border-radius: 50%;
    bottom: 0;
    contain: strict;
    display: inline-block;
    height: 20px;
    left: 0;
    margin: auto;
    position: absolute;
    right: 0;
    top: 0;
    width: 20px;
}
.splide__sr {
    clip: rect(0 0 0 0);
    border: 0;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}
.splide__toggle.is-active .splide__toggle__play,
.splide__toggle__pause {
    display: none;
}
.splide__toggle.is-active .splide__toggle__pause {
    display: inline;
}
.splide__track {
    overflow: hidden;
    position: relative;
    z-index: 0;
}
@keyframes splide-loading {
    0% {
        transform: rotate(0);
    }
    to {
        transform: rotate(1turn);
    }
}
.splide__track--draggable {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.splide__track--fade > .splide__list > .splide__slide {
    margin: 0 !important;
    opacity: 0;
    z-index: 0;
}
.splide__track--fade > .splide__list > .splide__slide.is-active {
    opacity: 1;
    z-index: 1;
}
.splide--rtl {
    direction: rtl;
}
.splide__track--ttb > .splide__list {
    display: block;
}
.splide__arrow {
    -ms-flex-align: center;
    align-items: center;
    background: #ccc;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    display: -ms-flexbox;
    display: flex;
    height: 2em;
    -ms-flex-pack: center;
    justify-content: center;
    opacity: 0.7;
    padding: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2em;
    z-index: 1;
}
.splide__arrow svg {
    fill: #000;
    height: 1.2em;
    width: 1.2em;
}
.splide__arrow:hover:not(:disabled) {
    opacity: 0.9;
}
.splide__arrow:disabled {
    opacity: 0.3;
}
.splide__arrow:focus-visible {
    outline: 3px solid #0bf;
    outline-offset: 3px;
}
.splide__arrow--prev {
    left: 1em;
}
.splide__arrow--prev svg {
    transform: scaleX(-1);
}
.splide__arrow--next {
    right: 1em;
}
.splide.is-focus-in .splide__arrow:focus {
    outline: 3px solid #0bf;
    outline-offset: 3px;
}
.splide__pagination {
    bottom: 0.5em;
    left: 0;
    padding: 0 1em;
    position: absolute;
    right: 0;
    z-index: 1;
}
.splide__pagination__page {
    background: #ccc;
    border: 0;
    border-radius: 50%;
    display: inline-block;
    height: 8px;
    margin: 3px;
    opacity: 0.7;
    padding: 0;
    position: relative;
    transition: transform 0.2s linear;
    width: 8px;
}
.splide__pagination__page.is-active {
    background: #fff;
    transform: scale(1.4);
    z-index: 1;
}
.splide__pagination__page:hover {
    cursor: pointer;
    opacity: 0.9;
}
.splide__pagination__page:focus-visible {
    outline: 3px solid #0bf;
    outline-offset: 3px;
}
.splide.is-focus-in .splide__pagination__page:focus {
    outline: 3px solid #0bf;
    outline-offset: 3px;
}
.splide__progress__bar {
    background: #ccc;
    height: 3px;
}
.splide__slide {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.splide__slide:focus {
    outline: 0;
}
@supports (outline-offset: -3px) {
    .splide__slide:focus-visible {
        outline: 3px solid #0bf;
        outline-offset: -3px;
    }
}
.splide__toggle {
    cursor: pointer;
}
.splide__track--nav > .splide__list > .splide__slide {
    border: 3px solid transparent;
    cursor: pointer;
}
.splide__track--nav > .splide__list > .splide__slide.is-active {
    border: 3px solid #000;
}

/* NOVA 1.8 slider-wrapper (altes Child-CSS kennt nur Nivo) */
.slider-wrapper.theme-default {
  background-color: #fff;
}
.slider-wrapper .splide {
  position: relative;
  margin-bottom: 0;
}
.slider-wrapper .splide__slide {
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
}
.slider-wrapper .splide__slide img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
}
.slider-wrapper .splide__slide:not(.is-active):not(.is-visible) img {
  display: none;
}
.slider-wrapper .slider-pause-controls-inside {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 10;
}
.slider-wrapper .slider-pause-controls-inside .slider-pause-btn {
  border-radius: 100%;
  line-height: 0;
  padding: 0.375rem;
}
.slider-wrapper .splide__slide__caption {
  background: #f5f1e9;
  color: #4a4a4a;
  padding-left: 1rem;
  width: 100%;
}

/* 5.8: Shop-Logo nicht strecken (HTML 180x50 vs Datei 500x120) */
header .navbar-brand img,
#shop-logo {
  width: auto !important;
  height: 2rem !important;
  max-width: 100%;
  object-fit: contain;
}
@media (min-width: 992px) {
  header .navbar-brand img,
  #shop-logo {
    height: 3.0625rem !important;
  }
}

/* 5.8 Gewaehrleistungslabel (altes Child-CSS kennt es nicht) */
.guarantee-label {
  background: #fff;
  border: 1px solid #7e7e7e;
}
.guarantee-label.guarantee-label-small { max-width: 250px; }
.guarantee-label.guarantee-label-full { max-width: 800px; margin: 0 auto; }
.guarantee-label-wrapper { margin-top: 0.5rem; margin-bottom: 1rem; }
.cart-items-body .guarantee-label-wrapper { cursor: pointer; }
.cart-items-body .guarantee-label-wrapper:after { display: none; }

/* 5.8 gesetzliches Gewaehrleistungslabel */
.warranty-label-checkout {
  max-width: 665px;
  margin: 1.25rem 0;
}
.warranty-label-checkout img {
  width: 100%;
  height: auto;
}
