/**
 * Custom Product Images - Estilos CSS
 */

/* ========================================
   GALERÍA PERSONALIZADA DE PRODUCTOS
   ======================================== */

.custom-product-gallery {
  width: 100%;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: 100%;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.gallery-item:has(img){
  border: 1px solid #ebebeb !important;
  border-radius: 8px !important;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  border: 1px solid #ebebeb !important;
  border-radius: 8px !important;
}



/* Cuadro con "+X" para más imágenes */
.gallery-more {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  transition: transform 0.3s ease;
  border: 2px solid #ebebeb !important;
  border-radius: 8px !important;
  background: white;
}



.more-overlay {
  text-align: center;
  color: white;
}

.more-count {
  font-size: 28px;
  font-weight: 500;
  color: #444444;
}



/* ========================================
   IMAGEN DE CATEGORÍA
   ======================================== */
.product-miniature-category {
  width:100%;
}

.product-miniature-category img {
  width:100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
