/* Opt-in only; preserve all existing gallery/product-slider rules. */
.wp-block-gallery.is-style-weds-image-slider {
  position: relative;
  display: block;
  width: 100%;
  max-width: 600px;
  margin: 0 auto 32px;
}

.wp-block-gallery.is-style-weds-image-slider figure.wp-block-image {
  display: block;
  width: 100%;
  margin: 0;
  flex: none;
}

.wp-block-gallery.is-style-weds-image-slider figure.wp-block-image img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: contain;
}

.wp-block-gallery.is-style-weds-image-slider .slick-list,
.wp-block-gallery.is-style-weds-image-slider .slick-track {
  width: 100%;
}

.wp-block-gallery.is-style-weds-image-slider .weds-image-slider__arrow {
  position: absolute;
  top: calc(50% - 24px);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #d3d3d3;
  border-radius: 0;
  color: #111318;
  background: rgba(255, 255, 255, 0.94);
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
}

.wp-block-gallery.is-style-weds-image-slider .weds-image-slider__arrow svg {
  display: block;
  width: 24px;
  height: 24px;
}

.wp-block-gallery.is-style-weds-image-slider .weds-image-slider__prev { left: 8px; }
.wp-block-gallery.is-style-weds-image-slider .weds-image-slider__next { right: 8px; }
.wp-block-gallery.is-style-weds-image-slider .slick-disabled { opacity: 0.35; cursor: default; }

.wp-block-gallery.is-style-weds-image-slider .weds-image-slider__dots {
  display: flex;
  justify-content: center;
  gap: 4px;
  padding: 0;
  margin: 12px 0 0 !important;
  list-style: none;
}

.wp-block-gallery.is-style-weds-image-slider .weds-image-slider__dots li {
  list-style: none;
  padding: 0;
  margin: 0;
}

.wp-block-gallery.is-style-weds-image-slider .weds-image-slider__dots button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #111318;
  font-size: 0;
  cursor: pointer;
}

.wp-block-gallery.is-style-weds-image-slider .weds-image-slider__dots button::before {
  content: '';
  width: 9px;
  height: 9px;
  border: 1px solid #555;
  border-radius: 50%;
  background: white;
}

.wp-block-gallery.is-style-weds-image-slider .slick-active button::before { background: #111318; }
.wp-block-gallery.is-style-weds-image-slider button:focus-visible { outline: 3px solid #1476bc; outline-offset: 2px; }
