/* ============================================================
   alebrijes.css — Grid 5 cards + modal glassmorphism
   Ilios Vounó — colección real de mezcales
   ============================================================ */

/* ── Section ── */
.alebrijes {
  padding: var(--space-16) 0;
  position: relative;
}

.alebrijes__header {
  text-align: center;
  margin-bottom: var(--space-16);
  padding: 0 var(--gutter);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: center;
}

/* ── Grid 5 cards — Mobile First ── */
/* Base (móvil 320px+): 1 columna, scroll vertical natural */
.alebrijes__grid-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 3vw, var(--space-5));
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Tablet chica (600px+): 2 columnas */
@media (min-width: 600px) {
  .alebrijes__grid-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop (1024px+): 3 columnas centradas */
@media (min-width: 1024px) {
  .alebrijes__grid-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .alebrijes__grid-top > .product-card {
    width: calc(33.333% - (var(--space-5) * 2 / 3));
  }
}

/* ── Card — diseño elegante empresarial ── */
.product-card {
  position: relative;
  background: rgba(14, 14, 14, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6) var(--space-6);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  text-align: center;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  outline: none;
  font-family: inherit;
  color: inherit;
  width: 100%;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.product-card:focus-visible {
  outline: 1px solid rgba(255, 255, 255, 0.4);
  outline-offset: 4px;
}

/* ── Imagen ── */
.product-card__img-wrap {
  width: clamp(110px, 28vw, 150px);
  height: clamp(110px, 28vw, 150px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
}

.product-card__img-wrap {
  background: transparent;
}

.product-card__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
  transition: transform 0.4s ease;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
}

/* ── Info central ── */
.product-card__info {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: var(--space-5);
}

.product-card__agave {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

.product-card__name {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 3vw, 1.35rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.1;
  letter-spacing: 0.03em;
}

.product-card__grado {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-top: var(--space-1);
}

/* Notas sensoriales — solo texto, sin chips */
.product-card__notes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

.product-card__note {
  font-family: var(--font-body);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.25);
}

.product-card__note:not(:last-child)::after {
  content: '·';
  margin-left: var(--space-2);
}

/* ── Botón Ver Producto ── */
.product-card__cta {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-6);
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
  margin-top: auto;
}

/* ── Badge edición limitada ── */
.product-card__badge {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  font-family: var(--font-body);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 3px var(--space-3);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
}

/* ── Hover ── */
.product-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
  transform: translateY(-4px);
}

.product-card:hover .product-card__img {
  transform: scale(1.06);
}

.product-card:hover .product-card__cta {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
}

.product-card:active {
  transform: translateY(-2px);
}
