/* Tarjetas con la foto grande arriba: 1 columna en el celular, 2 desde 640px. */
.zoot-prod-lista {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin: 24px 0;
  min-width: 0;
  max-width: 100%;
}
@media (min-width: 640px) {
  .zoot-prod-lista {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.zoot-prod-item {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 20px;
  padding: 12px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

/* Carrusel de fotos, ancho completo */
.zoot-prod-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  background: #f5f5f5;
  touch-action: pan-y;
}
.zoot-prod-slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.3s ease;
}
.zoot-prod-slide {
  flex: 0 0 100%;
  height: 100%;
}
.zoot-prod-slide a {
  display: block;
  width: 100%;
  height: 100%;
}
.zoot-prod-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.zoot-prod-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 20px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a1a1a;
  padding: 0;
}
.zoot-prod-prev {
  left: 8px;
}
.zoot-prod-next {
  right: 8px;
}
.zoot-prod-dots {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 4px;
}
.zoot-prod-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.18);
  cursor: pointer;
}
.zoot-prod-dot.is-active {
  background: #1a1a1a;
}

/* Info del producto */
.zoot-prod-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 0 4px 4px;
}
.zoot-prod-cabecera {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.zoot-prod-titulo {
  margin: 0;
  min-width: 0;
  font-size: 1.05rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
/* Puede encogerse con "…": con nowrap y flex 0 0 auto un dominio largo
   (poldodogcouture.com) estiraba la tarjeta más allá de la pantalla. */
.zoot-prod-tienda {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  background: #eef4ee;
  color: #3a7d44;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.zoot-prod-desc {
  margin: 6px 0 10px;
  font-size: 0.88rem;
  color: #666;
  line-height: 1.4;
}
.zoot-prod-pie {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 6px;
}
.zoot-prod-precio {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a4fb4;
}
.zoot-prod-precio-vacio {
  font-size: 0.85rem;
  font-weight: 500;
  color: #888;
}
.zoot-prod-boton {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #1a4fb4;
  color: #fff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.zoot-prod-boton:hover {
  background: #143c8c;
}

.zoot-prod-disclosure {
  margin: 4px 0 0;
  font-size: 0.72rem;
  color: #999;
}
.zoot-prod-ver-todos {
  margin: 12px 0 0;
  font-family: var(--koi-fuente-mono, monospace);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.zoot-prod-ver-todos a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.zoot-prod-fallback {
  margin: 0;
  padding: 10px 14px;
  border: 1px dashed #ccc;
  border-radius: 8px;
  font-size: 0.9rem;
}
.zoot-prod-fallback a {
  color: #1a4fb4;
  text-decoration: none;
}

@media (max-width: 480px) {
  .zoot-prod-item {
    gap: 12px;
    padding: 10px;
  }
  .zoot-prod-titulo {
    font-size: 0.95rem;
  }
  .zoot-prod-precio {
    font-size: 1rem;
  }
}
