/* ===== Cioraderm Hero Slider ===== */
.cc_MdNZYCy9lp_5FbqhZ1lGd .cio-hslider {
  position: relative;
  width: 100%;
  overflow: hidden;
  outline: none;
  height: var(--cio-hslider-h-mobile, 460px);
  aspect-ratio: var(--cio-hslider-aspect-mobile, auto);
}

.cc_MdNZYCy9lp_5FbqhZ1lGd .cio-hslider:focus-visible {
  box-shadow: inset 0 0 0 2px #4b2f4f;
}

.cc_MdNZYCy9lp_5FbqhZ1lGd .cio-hslider__viewport {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.cc_MdNZYCy9lp_5FbqhZ1lGd .cio-hslider__track {
  display: flex;
  height: 100%;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* IkasComponentRenderer injects wrapper divs of varying depth around each slide.
   Flatten them to display:contents so the REAL slide element is always the direct
   flex cell of the track — otherwise the wrapper (not the slide) becomes the flex
   item, sizes to content, and multiple slides shrink and peek instead of each
   being a full 100% page. Target the slide class directly, not a fixed depth. */
.cc_MdNZYCy9lp_5FbqhZ1lGd .cio-hslider__track > *:not(.cio-slide), .cc_MdNZYCy9lp_5FbqhZ1lGd .cio-hslider__track > * > *:not(.cio-slide), .cc_MdNZYCy9lp_5FbqhZ1lGd .cio-hslider__track > * > * > *:not(.cio-slide) {
  display: contents;
}
.cc_MdNZYCy9lp_5FbqhZ1lGd .cio-hslider__track .cio-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  min-width: 0;
}

/* Arrows */
.cc_MdNZYCy9lp_5FbqhZ1lGd .cio-hslider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.85);
  color: #1a1a1a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.cc_MdNZYCy9lp_5FbqhZ1lGd .cio-hslider__arrow:hover {
  background: #fff;
}

.cc_MdNZYCy9lp_5FbqhZ1lGd .cio-hslider__arrow--prev {
  left: 14px;
}

.cc_MdNZYCy9lp_5FbqhZ1lGd .cio-hslider__arrow--next {
  right: 14px;
}

.cc_MdNZYCy9lp_5FbqhZ1lGd .cio-hslider__arrow:focus-visible {
  outline: 2px solid #4b2f4f;
  outline-offset: 2px;
}

/* Dots */
.cc_MdNZYCy9lp_5FbqhZ1lGd .cio-hslider__dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
}

.cc_MdNZYCy9lp_5FbqhZ1lGd .cio-hslider__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  padding: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.55);
  transition: background 0.2s ease, width 0.2s ease;
}

.cc_MdNZYCy9lp_5FbqhZ1lGd .cio-hslider__dot:hover {
  background: rgba(255, 255, 255, 0.85);
}

.cc_MdNZYCy9lp_5FbqhZ1lGd .cio-hslider__dot--active {
  width: 24px;
  border-radius: 5px;
  background: #fff;
}

.cc_MdNZYCy9lp_5FbqhZ1lGd .cio-hslider__dot:focus-visible {
  outline: 2px solid #4b2f4f;
  outline-offset: 2px;
}

@media (min-width: 768px) {
  .cc_MdNZYCy9lp_5FbqhZ1lGd .cio-hslider {
    height: var(--cio-hslider-h-desktop, 640px);
    aspect-ratio: var(--cio-hslider-aspect-desktop, auto);
  }
  .cc_MdNZYCy9lp_5FbqhZ1lGd .cio-hslider__arrow--prev {
    left: 28px;
  }
  .cc_MdNZYCy9lp_5FbqhZ1lGd .cio-hslider__arrow--next {
    right: 28px;
  }
  .cc_MdNZYCy9lp_5FbqhZ1lGd .cio-hslider__dots {
    bottom: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cc_MdNZYCy9lp_5FbqhZ1lGd .cio-hslider__track {
    transition: none;
  }
}

/* Merchant-controlled side gutters. Appended last so they win over the layout
   rules above; the slider is full-bleed by default, hence the 0 fallbacks. */
.cc_MdNZYCy9lp_5FbqhZ1lGd .cio-hslider {
  padding-left: var(--cio-sidepad-l, 0);
  padding-right: var(--cio-sidepad-r, 0);
  box-sizing: border-box;
}
@media (max-width: 767px) {
  .cc_MdNZYCy9lp_5FbqhZ1lGd .cio-hslider {
    padding-left: var(--cio-sidepad-l-m, var(--cio-sidepad-l, 0));
    padding-right: var(--cio-sidepad-r-m, var(--cio-sidepad-r, 0));
  }
}

/* Merchant-controlled button side padding. Appended last so it wins over the
   rules above (breakpoint blocks included); the fallbacks are what those
   rules already produce, so an unset prop leaves the button unchanged. */
.cc_MdNZYCy9lp_5FbqhZ1lGd .cio-hslider__arrow {
  padding-left: var(--cio-btn-arrow-l, 0);
  padding-right: var(--cio-btn-arrow-r, 0);
}
.cc_MdNZYCy9lp_5FbqhZ1lGd .cio-hslider__dot {
  padding-left: var(--cio-btn-dot-l, 0);
  padding-right: var(--cio-btn-dot-r, 0);
}
@media (max-width: 767px) {
  .cc_MdNZYCy9lp_5FbqhZ1lGd .cio-hslider__arrow {
    padding-left: var(--cio-btn-arrow-l-m, var(--cio-btn-arrow-l, 0));
    padding-right: var(--cio-btn-arrow-r-m, var(--cio-btn-arrow-r, 0));
  }
  .cc_MdNZYCy9lp_5FbqhZ1lGd .cio-hslider__dot {
    padding-left: var(--cio-btn-dot-l-m, var(--cio-btn-dot-l, 0));
    padding-right: var(--cio-btn-dot-r-m, var(--cio-btn-dot-r, 0));
  }
}
