/**
 * Showcase de 3 Categorías Independientes (Pantalones, Bolsos, Accesorios).
 * Inspirado fielmente en la estructura y orden visual de la imagen de referencia:
 * - Título centrado con acento rosado de la tienda Katrina's Imports.
 * - Fila 1: 4 tarjetas verticales con etiquetas "lo.último EN ..." en acentos rosados.
 * - Fila 2: 1 tarjeta ancha (2 cols) con badge rosado de marca + 2 tarjetas verticales (1 col c/u).
 * - Fila 3: Banner horizontal completo con gradiente rosado vibrante y botón ¡VER TODO! >.
 */

.showcase-section {
  padding: 3rem 0 5.5rem;
}

/* Bloque contenedor por categoría */
.showcase-category-block {
  margin-bottom: 5.5rem;
  position: relative;
}

.showcase-category-block:last-child {
  margin-bottom: 1.5rem;
}

/* ========================================================= */
/* CABECERA LIMPIA Y CENTRADA CON ACENTO ROSADO              */
/* ========================================================= */
.showcase-clean-header {
  text-align: center;
  margin-bottom: 2.25rem;
}

.showcase-clean-header .badge {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
}

.showcase-clean-title {
  font-family: var(--font-main);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--color-neutral);
  letter-spacing: -0.03em;
  margin: 0.35rem 0 0.25rem;
  line-height: 1.15;
}

.showcase-clean-title .dot-accent {
  color: var(--color-primary);
  font-size: 1.15em;
  text-shadow: 0 2px 10px rgba(255, 94, 167, 0.4);
}

.showcase-clean-subtitle {
  font-size: 0.98rem;
  color: var(--color-text-muted);
  margin: 0;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* ========================================================= */
/* CUADRÍCULA MATRIX DE 4 COLUMNAS                           */
/* ========================================================= */
.showcase-matrix-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
  width: 100%;
}

/* Tarjeta estándar vertical (Portrait ~3:4) */
.matrix-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  aspect-ratio: 3 / 4;
  min-height: 310px;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  background: #EBE5E8;
  border: 1px solid rgba(255, 94, 167, 0.12);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  -webkit-user-select: none;
  user-select: none;
}

.matrix-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 94, 167, 0.55);
  box-shadow: 0 16px 36px rgba(255, 94, 167, 0.2), 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Media de la tarjeta */
.matrix-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.matrix-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.35s ease;
}

.matrix-card:hover .matrix-img {
  transform: scale(1.06);
}

/* Overlay con degradado inferior */
.matrix-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(14, 10, 16, 0.9) 0%,
    rgba(18, 14, 20, 0.45) 30%,
    rgba(20, 15, 22, 0.05) 60%,
    rgba(0, 0, 0, 0) 100%
  );
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.matrix-card:hover .matrix-overlay {
  background: linear-gradient(
    to top,
    rgba(20, 10, 16, 0.95) 0%,
    rgba(28, 14, 24, 0.55) 35%,
    rgba(35, 15, 28, 0.1) 65%,
    rgba(0, 0, 0, 0) 100%
  );
}

/* Tag inferior: lo.último EN <NOMBRE> con toque rosado */
.matrix-bottom-tag {
  position: relative;
  z-index: 2;
  margin-bottom: 1.35rem;
  padding: 0 1rem;
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.38rem;
  color: #FFFFFF;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
  pointer-events: none;
  text-align: center;
  flex-wrap: wrap;
}

.matrix-bottom-tag .tag-prefix {
  font-family: var(--font-main);
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: -0.01em;
}

.matrix-bottom-tag .tag-en {
  font-size: 0.68rem;
  font-weight: 800;
  color: #FF7EB9;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.matrix-bottom-tag .tag-title {
  font-family: var(--font-main);
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #FFFFFF;
}

/* ========================================================= */
/* TARJETA ANCHA (Fila 2: 2 Columnas)                        */
/* ========================================================= */
.matrix-card-wide {
  grid-column: span 2;
  aspect-ratio: auto;
  min-height: 310px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1.65rem 1.85rem;
}

.matrix-card-wide .wide-overlay {
  background: linear-gradient(
    to top,
    rgba(14, 10, 16, 0.9) 0%,
    rgba(18, 14, 20, 0.4) 45%,
    rgba(20, 15, 22, 0.2) 100%
  );
}

.matrix-card-wide:hover .wide-overlay {
  background: linear-gradient(
    to top,
    rgba(20, 10, 16, 0.95) 0%,
    rgba(32, 14, 25, 0.5) 50%,
    rgba(35, 15, 28, 0.25) 100%
  );
}

/* Badge superior rosado de marca */
.matrix-top-tag {
  position: relative;
  z-index: 2;
  font-family: var(--font-main);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FFFFFF;
  background: linear-gradient(135deg, #FF5EA7 0%, #E5498F 100%);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 14px rgba(255, 94, 167, 0.45);
}

.matrix-card-wide .matrix-bottom-tag {
  margin-bottom: 0;
  padding: 0;
  justify-content: flex-start;
}

/* ========================================================= */
/* BANNER HORIZONTAL ROSADO (Fila 3: 4 Columnas)             */
/* ========================================================= */
.matrix-banner-strip {
  grid-column: span 4;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 98px;
  padding: 1.35rem 2.25rem;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  border: 1px solid rgba(255, 94, 167, 0.3);
  box-shadow: 0 6px 22px rgba(229, 73, 143, 0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.matrix-banner-strip:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(255, 94, 167, 0.32);
}

.matrix-banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.matrix-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 0.25;
  transition: transform 0.6s ease, opacity 0.3s ease;
}

.matrix-banner-strip:hover .matrix-banner-img {
  transform: scale(1.04);
  opacity: 0.35;
}

/* Degradados rosados temáticos de Katrina's Imports */
.banner-pantalones .matrix-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #E5498F 0%, #FF5EA7 55%, #FFA3CC 100%);
}

.banner-bolsos .matrix-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #D4387E 0%, #E5498F 55%, #FF7AB8 100%);
}

.banner-accesorios .matrix-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #BA1A66 0%, #E5498F 55%, #C9B6E4 100%);
}

.banner-medias .matrix-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #E5498F 0%, #FF5EA7 55%, #FFA3CC 100%);
}

.banner-tazas .matrix-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #D4387E 0%, #E5498F 55%, #FF7AB8 100%);
}

.banner-impresiones .matrix-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #BA1A66 0%, #E5498F 55%, #C9B6E4 100%);
}

.banner-gorras .matrix-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #E5498F 0%, #FF5EA7 55%, #FFA3CC 100%);
}

.banner-casacas .matrix-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #D4387E 0%, #E5498F 55%, #FF7AB8 100%);
}

.banner-polos .matrix-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #BA1A66 0%, #E5498F 55%, #C9B6E4 100%);
}

.matrix-banner-left {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  color: #FFFFFF;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  flex-wrap: wrap;
}

.banner-prefix {
  font-family: var(--font-main);
  font-size: 1.15rem;
  font-weight: 500;
  color: #FFFFFF;
  letter-spacing: -0.01em;
}

.banner-en {
  font-size: 0.72rem;
  font-weight: 800;
  color: #FFE4EF;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.banner-title {
  font-family: var(--font-main);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #FFFFFF;
}

.matrix-banner-right {
  position: relative;
  z-index: 2;
}

/* Botón pill blanco con acento rosado ¡VER TODO! > */
.matrix-btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #FFFFFF;
  color: var(--color-primary-dark);
  padding: 0.58rem 1.35rem;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: all 0.25s ease;
}

.matrix-btn-pill svg {
  width: 15px;
  height: 15px;
  transition: transform 0.25s ease;
}

.matrix-banner-strip:hover .matrix-btn-pill {
  background: var(--color-neutral);
  color: #FFFFFF;
  transform: translateX(4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.matrix-banner-strip:hover .matrix-btn-pill svg {
  transform: translateX(3px);
}

/* ========================================================= */
/* RESPONSIVE DESIGN                                         */
/* ========================================================= */

/* Tablets y Pantallas Medianas (<= 992px) */
@media (max-width: 992px) {
  .showcase-matrix-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.95rem;
  }

  .matrix-card-wide {
    grid-column: span 2;
    min-height: 260px;
  }

  .matrix-banner-strip {
    grid-column: span 2;
    padding: 1.15rem 1.65rem;
  }
}

/* Móviles (<= 640px) */
@media (max-width: 640px) {
  .showcase-section {
    padding: 2rem 0 3.5rem;
  }

  .showcase-category-block {
    margin-bottom: 3.75rem;
  }

  .showcase-clean-title {
    font-size: 1.85rem;
  }

  .showcase-matrix-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
  }

  .matrix-card {
    min-height: 220px;
    border-radius: 12px;
  }

  .matrix-card-wide {
    grid-column: span 2;
    min-height: 220px;
    padding: 1.15rem 1.25rem;
  }

  .matrix-bottom-tag {
    margin-bottom: 0.85rem;
    padding: 0 0.5rem;
    gap: 0.25rem;
  }

  .matrix-bottom-tag .tag-prefix {
    font-size: 0.75rem;
  }

  .matrix-bottom-tag .tag-en {
    font-size: 0.55rem;
  }

  .matrix-bottom-tag .tag-title {
    font-size: 0.8rem;
  }

  .matrix-top-tag {
    font-size: 0.7rem;
    padding: 0.25rem 0.65rem;
  }

  .matrix-banner-strip {
    grid-column: span 2;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1.1rem 1.25rem;
    min-height: 0;
  }

  .banner-prefix {
    font-size: 0.95rem;
  }

  .banner-title {
    font-size: 1rem;
  }

  .matrix-btn-pill {
    width: 100%;
    justify-content: center;
    font-size: 0.78rem;
    padding: 0.48rem 1rem;
  }
}
