
/* --- Verdor hero carousel hardening --- */
.hero-carousel, .carousel, .carousel-inner, .swiper, .glide__track, .splide__track {
  max-height: 72vh;
  min-height: 42vh;
  overflow: hidden;
}
.hero-carousel img,
.carousel-item img,
.swiper-slide img,
.glide__slide img,
.splide__slide img {
  width: 100% !important;
  height: clamp(300px, 62vh, 760px) !important;
  object-fit: cover !important;
  display: block !important;
}
/* Prevent images from adding extra margins/gaps */
.hero-carousel img { margin: 0; line-height: 0; }
/* iOS safari rounding fix when inside rounded containers */
.carousel, .hero-carousel { -webkit-mask-image: -webkit-radial-gradient(white, black); }

.hero-right .hero-frame { overflow:hidden; max-height: 62vh; border-radius:14px; }
.hero-right .hero-swaps { position:relative; }
.hero-right .hero-swaps .slide { position:relative; }
.hero-right .hero-swaps img { width:100%; height: clamp(300px, 62vh, 760px); object-fit: cover; display:block; }

/* === VENDOR FIX: hero images visible, zoomed, no side gaps === */
.hero .hero-frame,
.hero-right .hero-frame {
  overflow: hidden !important;
  border-radius: 14px;
}
.hero-frame .hero-swaps { position: relative; }
.hero-frame .slide { width: 100%; height: clamp(320px, 60vh, 760px); }
.hero-frame .slide img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center;
  opacity: 1 !important;          /* override any fade-to-0 */
  transform: scale(1.08);          /* slight zoom to touch borders */
  transform-origin: center center;
}
@media (max-width: 420px){
  .hero-frame .slide { height: clamp(300px, 56vh, 660px); }
  .hero-frame .slide img { transform: scale(1.12); }
}

/* Verdor hard cap to 9 slides */

/* Verdor hard cap to 5 slides */