.mw-slider {
  width: 100%;
  max-width: 100%;
}

.mw-slider-topbar {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: -20px;
}

.mw-btn {
  appearance: none;
  border: 0;
  background: #bd0000;
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
  line-height: 1;
}

.mw-btn:hover { opacity: 0.9; }

.mw-btn.is-disabled,
.mw-btn[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.mw-slider-viewport {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #f5f5f5;
  margin-top: 5px; /* vorher meist ~10px */
  /* Wichtig für Swipe/PointerEvents: */
  touch-action: pan-y; /* erlaubt vertikales Scrollen, aber horizontales Swipen im Slider */
}

.mw-slider-track {
  display: flex;
  will-change: transform;
  transform: translate3d(0,0,0);
  transition: transform 420ms ease;
}

.mw-slide {
  min-width: 100%;
  position: relative;
  overflow: hidden; /* damit Zoom nicht "raussteht" */
}

/* Zoom (leichtes Ken-Burns) nur auf aktivem Slide */
.mw-slide img {
  width: 100%;
  height: auto;
  display: block;
  transform: scale(1);
  transition: transform 4500ms ease; /* fast wie default_ms */
}

.mw-slide.is-active img {
  transform: scale(1.07);
}

/* Video */
.mw-slide video {
  width: 100%;
  height: auto;
  display: block;
}

/* Pfeile */
.mw-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 0;
  background: rgba(0, 0, 0, 0.411);
  color: #fff;
  font-size: 28px;
  line-height: 44px;
  cursor: pointer;
  z-index: 50;

  /* Damit sicher klickbar */
  pointer-events: auto;
}

.mw-prev { left: 10px; }
.mw-next { right: 10px; }

/* Mobile: Pfeile optional ausblenden (Swipe reicht) */
@media (max-width: 768px) {
  .mw-nav { display: none; }
}

/* --- MW Slider: Click/Overlay Fix für Divi --- */
.mw-slider {
  position: relative;
}

.mw-slider-viewport {
  position: relative;
  isolation: isolate;         /* eigener Stacking-Context */
  touch-action: pan-y;
}

/* Track/Slides nach hinten – wichtig wenn Divi/Module Overlays bauen */
.mw-slider-track {
  position: relative;
  z-index: 1;
}

/* Pfeile maximal nach vorne */
.mw-nav {
  z-index: 9999 !important;
  pointer-events: auto !important;
}

/* Falls Divi irgendwo pointer-events blockiert */
.mw-slider-viewport * {
  pointer-events: auto;
}

/* Optional: auf Desktop Pfeile immer sichtbar */
@media (min-width: 769px) {
  .mw-nav { display: block !important; }
}

/* --- Play/Pause Icon Button (zentriert) --- */
.mw-toggle {
  width: 44px;
  height: 44px;
  min-width: 44px;
  padding: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Span wird zu einem fixen, zentrierten Icon-Container */
.mw-toggle .mw-toggle-text {
  width: 18px;
  height: 18px;
  display: block;
  position: relative;
  font-size: 0;   /* Text ausblenden */
  line-height: 0;
}

/* PLAY (Dreieck) – absolut zentriert */
.mw-toggle .mw-toggle-text::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-45%, -50%); /* -45% wirkt optisch mittig fürs Dreieck */
  width: 0;
  height: 0;
  border-left: 12px solid #fff;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}

/* PAUSE (zwei Balken) – absolut zentriert */
.mw-toggle.is-playing .mw-toggle-text::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 16px;
  border: 0;
  background:
    linear-gradient(#fff, #fff) left center / 4px 16px no-repeat,
    linear-gradient(#fff, #fff) right center / 4px 16px no-repeat;
}

/* --- Look Button breiter --- */
.mw-look {
  min-width: 220px;     /* mind. deutlich breiter */
  text-align: center;
  padding-left: 10px;
  padding-right: 10px;
}

/* --- Floating Lookbook Button --- */
.mw-lookbook-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 99999;
  display: inline-flex;
  align-items: center;
  gap: 10px;

  background: #d40000; /* ModeWelt Rot? */
  color: #fff;
  text-decoration: none;
  padding: 12px 16px;
  border-radius: 999px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.22);
  font-weight: 700;
  line-height: 1;
}

.mw-lookbook-float:hover { opacity: 0.95; }

.mw-lookbook-float__icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  position: relative;
}

/* kleines "Buch" Icon per CSS */
.mw-lookbook-float__icon::before,
.mw-lookbook-float__icon::after{
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  width:8px;
  border:2px solid #fff;
  border-radius: 3px;
}
.mw-lookbook-float__icon::before{ left:0; }
.mw-lookbook-float__icon::after{ right:0; opacity:0.9; }

@media (min-width: 981px) {
  .mw-lookbook-float {
    right: 22px;
    bottom: 22px;
    padding: 10px 14px;
  }
}
.mw-news {
  background: #0281d6; /* z.B. schwarz statt rot */
}
.mw-news {
  font-size: 14px;
  padding: 10px 9px;
  letter-spacing: 1px;
}
.mw-news {
  text-transform: uppercase;
}