/**
 * Alex Product Images Widget Styles (LESS)
 *
 * Vertical thumbnail panel on the left (desktop).
 * Horizontal thumbnail panel below the main image (mobile ≤ 767px).
 */
.elementor-widget-alex_product_images .alex-product-gallery-root {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  width: 100%;
  position: relative;
}
.elementor-widget-alex_product_images .alex-thumb-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 90px;
  min-height: 0;
  gap: 8px;
}
.elementor-widget-alex_product_images .alex-thumb-track {
  flex: 1 1 0;
  overflow: hidden;
  min-height: 0;
  width: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
}
.elementor-widget-alex_product_images .alex-thumb-track::-webkit-scrollbar {
  display: none;
}
.elementor-widget-alex_product_images .alex-thumb-track .flex-control-thumbs {
  display: flex;
  flex-direction: column;
  list-style: none;
  margin: 0;
  padding: 0;
}
.elementor-widget-alex_product_images .alex-thumb-track .flex-control-thumbs li {
  flex-shrink: 0;
  width: 100%;
  cursor: pointer;
  aspect-ratio: 1;
}
.elementor-widget-alex_product_images .alex-thumb-track .flex-control-thumbs li img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-sizing: border-box;
}
.elementor-widget-alex_product_images .alex-thumb-track .flex-control-thumbs li.flex-active img {
  box-sizing: border-box;
}
.elementor-widget-alex_product_images .alex-thumb-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  color: inherit;
  padding: 4px;
  flex-shrink: 0;
  width: 100%;
  transition: all 0.2s;
}
.elementor-widget-alex_product_images .alex-thumb-nav svg {
  display: block;
  width: 1em;
  height: 1em;
}
.elementor-widget-alex_product_images .alex-thumb-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.elementor-widget-alex_product_images .alex-gallery-main {
  flex: 1 1 0;
  min-width: 0;
}
.elementor-widget-alex_product_images .alex-gallery-main .woocommerce-product-gallery {
  width: 100% !important;
}
.elementor-widget-alex_product_images .alex-gallery-main .woocommerce-product-gallery__wrapper {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
}
.elementor-widget-alex_product_images .alex-gallery-main .woocommerce-product-gallery__wrapper > li.woocommerce-product-gallery__image {
  flex: 0 0 100% !important;
  max-width: 100% !important;
  width: 100% !important;
}
.elementor-widget-alex_product_images .alex-gallery-main .flex-viewport {
  overflow: hidden !important;
}
.elementor-widget-alex_product_images .alex-thumb-track .flex-control-nav {
  display: flex;
}
@media (max-width: 767px) {
  .elementor-widget-alex_product_images .alex-product-gallery-root {
    flex-direction: column;
  }
  .elementor-widget-alex_product_images .alex-thumb-panel {
    flex-direction: row;
    width: 100%;
    height: auto;
  }
  .elementor-widget-alex_product_images .alex-thumb-track {
    overflow-x: auto;
    overflow-y: hidden;
    flex: 1 1 0;
    min-width: 0;
    width: auto;
  }
  .elementor-widget-alex_product_images .alex-thumb-track .flex-control-thumbs {
    flex-direction: row;
  }
  .elementor-widget-alex_product_images .alex-thumb-track .flex-control-thumbs li {
    width: 70px;
    flex-shrink: 0;
  }
  .elementor-widget-alex_product_images .alex-thumb-nav {
    width: auto;
    height: 100%;
    padding: 4px 8px;
  }
}
