/* Main image only. Keep the gallery, thumbnails, controls and booking layout intact. */
body.single-product .woocommerce-product-gallery.chic-adaptive-image > .woocommerce-product-gallery__wrapper,
body.single-product .woocommerce-product-gallery.chic-adaptive-image > .flex-viewport {
  width: var(--chic-image-width) !important;
  max-width: 100% !important;
  height: var(--chic-image-height) !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  margin-inline: auto !important;
  transition: height 180ms ease !important;
}
body.single-product .woocommerce-product-gallery.chic-adaptive-image .woocommerce-product-gallery__image,
body.single-product .woocommerce-product-gallery.chic-adaptive-image .woocommerce-product-gallery__image > a {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: auto !important;
}
body.single-product .woocommerce-product-gallery.chic-adaptive-image .woocommerce-product-gallery__image > a {
  display: block !important;
  width: 100% !important;
}
body.single-product .woocommerce-product-gallery.chic-adaptive-image .woocommerce-product-gallery__image > a > img:not(.zoomImg) {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  margin: 0 !important;
}
@media (prefers-reduced-motion: reduce) {
  body.single-product .woocommerce-product-gallery.chic-adaptive-image > .woocommerce-product-gallery__wrapper,
  body.single-product .woocommerce-product-gallery.chic-adaptive-image > .flex-viewport { transition: none !important; }
}

body.single-product #chicg-booking.chic-adaptive-image > .chicg-hero {
  width: var(--chic-image-width) !important; max-width: 100% !important;
  height: var(--chic-image-height) !important; min-height: 0 !important;
  max-height: none !important; aspect-ratio: auto !important; margin-inline: auto !important;
  transition: height 180ms ease !important;
}
body.single-product #chicg-booking.chic-adaptive-image .chicg-hero > #chicg-main-photo {
  display: block !important; width: 100% !important; height: auto !important;
  min-height: 0 !important; max-height: none !important; aspect-ratio: auto !important;
  object-fit: contain !important; margin: 0 !important;
}
@media (prefers-reduced-motion: reduce) {
  body.single-product #chicg-booking.chic-adaptive-image > .chicg-hero { transition: none !important; }
}
