/*
 * ACF-matched icons on product images (bottom-right).
 * Loaded on all public pages via CssLoader.
 */
.product-acf-icons {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 3;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 6px;
  pointer-events: none;
}

.product-acf-icons img,
.woocommerce ul li.product .product-acf-icons img,
.woocommerce ul.products li.product .product-acf-icons img,
section.product-section .product-wraper .product .product-acf-icons img,
.product-wraper .product .product-acf-icons img {
  width: 48px !important;
  min-width: 48px;
  height: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  object-fit: contain;
  margin: 0 !important;
  border-radius: 50%;
  display: block;
}

.product-card-image,
.woocommerce ul.products li.product .product-card-image,
.woocommerce ul li.product .product-card-image {
  position: relative;
}

.product-gallery-main {
  position: relative;
}

.single-product .product-gallery-main .product-acf-icons img {
  width: 64px !important;
  min-width: 64px;
  height: 64px !important;
  min-height: 64px !important;
  max-height: 64px !important;
}

.single-product .product-data-wrapper .product-wrapper-attributes .woocommerce-product-gallery.popup .product-acf-icons {
  display: none;
}

@media (max-width: 768px) {
  .product-acf-icons img,
  .woocommerce ul li.product .product-acf-icons img,
  .woocommerce ul.products li.product .product-acf-icons img,
  section.product-section .product-wraper .product .product-acf-icons img,
  .product-wraper .product .product-acf-icons img {
    width: 40px !important;
    min-width: 40px;
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
  }

  .single-product .product-gallery-main .product-acf-icons img {
    width: 52px !important;
    min-width: 52px;
    height: 52px !important;
    min-height: 52px !important;
    max-height: 52px !important;
  }
}
