/* Fotos confirmadas por la personalización nativa de PrestaShop. */
body#product .product-customization .ubd-file-item > .ubd-native-photo-preview {
  display: none !important;
}

body#product .product-customization.ubd-custom-has-files .ubd-file-item.is-filled:not(.ubd-photo-has-preview) .ubd-file-thumb img {
  display: none !important;
}

body#product .product-customization.ubd-custom-has-files .ubd-file-item.is-filled:not(.ubd-photo-has-preview) .ubd-file-thumb svg {
  display: block !important;
}

body#product .product-customization.ubd-custom-has-files .ubd-file-item[data-ubd-photo-state="saved"] .ubd-file-badge {
  background: #eaf6e9 !important;
  color: #24503a !important;
  -webkit-text-fill-color: #24503a !important;
}

body#product .product-customization.ubd-custom-has-files .ubd-file-item[data-ubd-photo-state="pending"] .ubd-file-badge {
  background: #fff2d6 !important;
  color: #6a3c1c !important;
  -webkit-text-fill-color: #6a3c1c !important;
}

body#product .product-customization.ubd-custom-has-files .ubd-file-item > a.remove-image {
  position: relative !important;
  z-index: 9 !important;
  display: flex !important;
  justify-content: center;
  align-items: center;
  width: fit-content;
  min-height: 36px;
  margin: 5px auto 0 !important;
  padding: 0 4px !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font-size: .82rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-decoration: underline !important;
}

body#cart .cart-item .ubd-cart-photo-confirmation {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 10px;
  margin: 8px 0 0;
}

body#cart .cart-item .ubd-cart-photo-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

body#cart .cart-item .ubd-cart-photo-thumbs img {
  width: 44px !important;
  height: 44px !important;
  object-fit: cover;
  border-radius: 9px;
  background: #fff;
  border: 1px solid #fff9;
}

body#cart .cart-item .ubd-cart-photo-thumbs img[hidden] {
  display: none !important;
}

body#cart .cart-item .ubd-cart-photo-confirmation > a[data-toggle="modal"] {
  padding: 7px 10px !important;
  line-height: 1.15 !important;
  letter-spacing: 0 !important;
  text-align: left !important;
}
