/** Shopify CDN: Minification failed

Line 7:0 Unexpected "<"
Line 285:0 Unexpected "<"

**/
<style>
/* ════════════════════════════════════════════════════════════
   1. CONFIGURACIÓN BASE DEL GRID
   ════════════════════════════════════════════════════════════ */

.product-grid {
  gap: 16px !important;
  padding: 0 !important;
}

.collection,
.section-template--collection {
  max-width: 1400px;
  margin: 0 auto;
  padding: 25px 20px !important;
}

/* Títulos */
.collection__title .title,
.title-wrapper .title {
  text-align: center;
  font-size: 26px !important;
  font-weight: 400 !important;
  letter-spacing: 2px !important;
  margin-bottom: 10px !important;
  color: #1a1a1a;
}

/* ════════════════════════════════════════════════════════════
   2. TARJETA DEL PRODUCTO (DISEÑO LUSSAM)
   ════════════════════════════════════════════════════════════ */

.card-wrapper {
  height: auto !important;
  width: 100% !important;
}

.card {
  border-radius: 10px !important;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(2, 2, 2, 0.06) !important;
  transition: all 0.4s ease !important; 
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.04) !important;
  position: relative;
  height: auto !important;
}

/* Hover en Escritorio */
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(110, 125, 194, 0.47) !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
  z-index: 2;
}

/* ════════════════════════════════════════════════════════════
   3. IMÁGENES (SOLUCIÓN DEFINITIVA DEL ERROR)
   ════════════════════════════════════════════════════════════ */

.card__media,
.card__inner {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 1 / 1 !important; 
  overflow: hidden !important;
  background: #f5f5f5;
  border-radius: 8px 8px 0 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Imagen siempre cubre */
.card__media img,
.card__inner img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  transition: transform 0.8s ease !important;
  opacity: 1 !important;
  z-index: 1;
}

/* Segunda imagen */
.card__media img + img,
.card__inner img + img {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  opacity: 0 !important;
  z-index: 2;
  transition: opacity 0.4s ease, transform 0.8s ease !important;
}

/* Hover */
.card:hover .card__media img + img,
.card:hover .card__inner img + img {
  opacity: 1 !important;
  transform: scale(1.05);
}

.card:hover .card__media img:first-child {
  transform: scale(1.05);
}

/* ════════════════════════════════════════════════════════════
   4. INFORMACIÓN Y BOTONES
   ════════════════════════════════════════════════════════════ */

.card__content,
.card-information {
  padding: 10px 10px !important;
  text-align: center !important;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card__heading {
  font-size: 16px !important;
  font-weight: 100 !important;
  letter-spacing: 0.8px !important;
  color: #1a1a1a !important;
  margin-bottom: 1px !important;
  text-align: center;
  line-height: 1.3;
  min-height: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.price {
  font-size: 15px !important;
  font-weight: 500 !important;
  margin-bottom: 5px !important;
  display: flex !important;
  justify-content: center !important;
}

/* Botón principal normal */
.quick-add__submit {
  border-radius: 50px !important;
  padding: 8px 20px !important;
  font-size: 10px !important;
  background: #1a1a1a !important;
  color: white !important;
  border: 1px solid #1a1a1a !important;
  cursor: pointer;
  margin-top: 5px !important;
  width: auto !important;
  transition: all 0.3s ease;
}

.quick-add__submit:hover {
  background: transparent !important;
  color: #1a1a1a !important;
  transform: translateY(-3px);
}

/* ════════════════════════════════════════════════════════════
   5. BOTÓN ADD TO CART DENTRO DE LA IMAGEN (PC)
   ════════════════════════════════════════════════════════════ */

.add-to-cart-floating {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  background: #1a1a1a;
  color: #fff;
  padding: 6px 12px;
  font-size: 11px;
  border-radius: 30px;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
  z-index: 5;
}

.card:hover .add-to-cart-floating {
  opacity: 1;
  pointer-events: all;
}

/* ════════════════════════════════════════════════════════════
   6. VERSIÓN MÓVIL — BOTÓN ABAJO A LA DERECHA
   ════════════════════════════════════════════════════════════ */

@media (max-width: 749px) {

  .add-to-cart-floating {
    opacity: 1 !important;
    transform: none !important;
    bottom: 8px !important;
    right: 8px !important;
    left: auto !important;
    pointer-events: all !important;
    position: absolute !important;
  }

}

/* FORZAR IMAGEN COMPLETA */
.card__media,
.card__inner,
.card__media .media,
.product-card-wrapper .media,
.card__media .media img,
.product-card-wrapper .media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
}

.card__media {
    aspect-ratio: 1 / 1 !important;
    overflow: hidden !important;
}
/* ════════════════════════════════════════════════════════════
   BOTÓN CARRITO FLOTANTE LUSSAM
   ════════════════════════════════════════════════════════════ */

.lussam-btn-cart {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: #1a1a1a;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.4s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.card:hover .lussam-btn-cart {
  opacity: 1;
  transform: scale(1);
}

.lussam-btn-cart:hover {
  background: #333;
  transform: scale(1.15) !important;
}

.lussam-btn-cart.success {
  background: #22c55e !important;
}

@media (max-width: 749px) {
  .lussam-btn-cart {
    opacity: 1 !important;
    transform: scale(1) !important;
    width: 34px;
    height: 34px;
  }
  
  .lussam-btn-cart svg {
    width: 16px;
    height: 16px;
  }
}
</style>
