/* =========================
   SECCIÓN PRODUCTOS
========================= */
.prod-section{
  padding: 30px 0 60px;
  /*background: #fff;*/
  font-family: "Montserrat", system-ui, Arial, sans-serif;
}

.prod-wrap{
  width: min(1220px, 92vw);
  margin: 0 auto;
}

.prod-head{
  text-align: center;
  margin-bottom: 18px;
}
.prod-head h2{
  margin: 0;
  font-weight: 900;
  letter-spacing: 1px;
  color: #2b2b2b;
}

/* =========================
   GRID
========================= */
.prod-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  gap: 30px;
  align-items: start;
}

/* =========================
   CARD
========================= */
.prod-card{
  position: relative;
  border-radius: 18px;
  overflow: visible;
}

/* =========================
   MEDIA (IMÁGENES)
========================= */
.prod-media{
  position: relative;
  height: 280px;
  display: grid;
  place-items: center;
  overflow: visible;
}

/* Imágenes apiladas (fade) */
.prod-img{
  position: absolute;
  width: min(320px, 92%);
  height: auto;
  display: block;
  filter: drop-shadow(0 16px 26px rgba(0,0,0,.18));
  transition: opacity .35s ease, transform .35s ease, filter .35s ease;
  will-change: opacity, transform;
}
.prod-img.is-front{ opacity: 1; }
.prod-img.is-back{  opacity: 0; transform: translateY(6px) scale(.985); }

/* Hover cambia la imagen */
.prod-card:hover .prod-img.is-front{ opacity: 0; transform: translateY(-6px) scale(.985); }
.prod-card:hover .prod-img.is-back{
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: drop-shadow(0 18px 28px rgba(0,0,0,.22));
}

/* =========================
   CHIP SOBRE IMAGEN (pequeño)
========================= */
.prod-chip{
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(70,70,70,.92);
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .3px;
  box-shadow: 0 10px 18px rgba(0,0,0,.10);
  z-index: 4;
  cursor: pointer;
  user-select: none;
}

/* Variante alineada a la izquierda (como tu primera tarjeta) */
.prod-chip--left{
  left: 14px;
  transform: none;
}

/* =========================
   PANEL TRANSPARENTE (NO TAPA IMAGEN)
   -> aparece debajo con animación suave
========================= */
.prod-panel{
  position: relative;
  margin: 0 auto;
  width: min(360px, 100%);
  background: rgba(235,235,235,.72);
  backdrop-filter: blur(6px);
  border-radius: 12px;
  padding: 14px 14px 12px;
  box-shadow: 0 18px 35px rgba(0,0,0,.08);
  border: 1px solid rgba(0,0,0,.06);

  /* oculto por defecto */
  max-height: 0;
  opacity: 0;
  transform: translateY(-8px);
  overflow: hidden;
  transition: max-height .55s ease, opacity .25s ease, transform .35s ease;
}

/* aparece al hacer clic en el chip */
.prod-card.is-open .prod-panel,
.prod-card.force-open .prod-panel{
  max-height: 240px;
  opacity: 1;
  transform: translateY(0);
}

/* Título panel */
.prod-panelTitle{
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
  color: #2b2b2b;
  text-align: center;
}

/* Lista */
.prod-list{
  margin: 0;
  padding: 0 0 0 18px;
  list-style: disc;
  font-size: 12px;
  font-weight: 700;
  color: #3a3a3a;
  line-height: 1.35;
}
.prod-list li{ margin: 4px 0; }

/* Pill verde tipo “Personalizar Próximamente” */
.prod-pill{
  display: inline-flex;
  margin-top: 10px;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(25,25,25,.92);
  color: #b6ff2c;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .3px;
}

/* =========================
   PARTÍCULAS (tipo carrusel)
========================= */
.prod-particles{
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s ease;
  border-radius: 12px;
  overflow: hidden;
}
.prod-card.is-open .prod-particles,
.prod-card.force-open .prod-particles{ opacity: 1; }

.prod-particles .p{
  position: absolute;
  width: var(--s);
  height: var(--s);
  background: rgba(174, 255, 0, .75);
  border-radius: 2px;
  filter: blur(.6px);
  transform: translate(0,0);
  animation: pFloat var(--d) ease-in-out infinite;
}

@keyframes pFloat{
  0%   { transform: translate(0,0); opacity: .25; }
  50%  { transform: translate(var(--mx), calc(var(--my) * -1)); opacity: .75; }
  100% { transform: translate(0,0); opacity: .25; }
}

/* =========================
   META (título + precio)
========================= */
.prod-meta{
  margin-top: 14px;
  text-align: left;
}
.prod-meta h3{
  margin: 0;
  font-weight: 900;
  font-size: 18px;
  color: #2b2b2b;
}
.prod-meta p{
  margin: 6px 0 0;
  font-weight: 700;
  color: #2b2b2b;
}

/* =========================
   RESPONSIVO
========================= */
@media (max-width: 1024px){
  .prod-grid{ grid-template-columns: repeat(2, minmax(240px, 1fr)); }
}

@media (max-width: 768px){
  .prod-grid{ grid-template-columns: 1fr; }
  .prod-media{ height: 260px; }
  .prod-meta{ text-align: center; }
  .prod-chip{ left: 50%; transform: translateX(-50%); }
  .prod-chip--left{ left: 50%; transform: translateX(-50%); }
}

@media (max-width: 425px){
  .prod-media{ height: 230px; }
  .prod-img{ width: min(280px, 92%); }
  .prod-panel{ width: min(330px, 100%); }
}
