/* ═══════════════════════════════════════════
   MODAL-PUBLI.CSS — Combo Sabana · YEDIBOX
   ═══════════════════════════════════════════ */

#publi-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(8, 4, 18, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  animation: publi-fadein 0.5s ease 0.2s forwards;
}

@keyframes publi-fadein { to { opacity: 1; } }

#publi-modal {
  position: relative;
  width: 100%;
  max-width: 500px;
  background: #110d1c;
  border-radius: 26px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(220, 170, 255, 0.13),
    0 40px 100px rgba(140, 60, 220, 0.35),
    0 0 60px rgba(200, 120, 255, 0.06) inset;
  transform: translateY(40px) scale(0.96);
  animation: publi-up 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.35s forwards;
}

@keyframes publi-up { to { transform: translateY(0) scale(1); } }

#publi-modal::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2.5px;
  background: linear-gradient(90deg,
    #9b3fff, #c084fc, #ff8ec7, #ffd6f0, #c084fc, #9b3fff
  );
  background-size: 400% 100%;
  animation: stripe 5s linear infinite;
  z-index: 10;
}

@keyframes stripe {
  0%   { background-position: 0% 0%; }
  100% { background-position: 400% 0%; }
}

#publi-close {
  position: absolute;
  top: 12px; right: 13px;
  width: 32px; height: 32px;
  border: none;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  color: rgba(255,255,255,0.45);
  font-size: 13px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s, transform 0.25s;
  z-index: 11;
}

#publi-close:hover {
  background: rgba(192, 132, 252, 0.28);
  color: #fff;
  transform: rotate(90deg);
}

/* ── Layout dos columnas ── */
.publi-inner {
  display: flex;
  min-height: 380px;
}

/* ── Columna imagen ── */
.publi-col-img {
  position: relative;
  flex: 0 0 52%;
  background: #1a0f2e;
  overflow: hidden;
}

.publi-img-main {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  padding: 10px;
  box-sizing: border-box;
  animation: slow-zoom 12s ease-in-out infinite alternate;
  transition: opacity 0.35s ease;
  background: #1a0f2e;
}

@keyframes slow-zoom {
  from { transform: scale(1); }
  to   { transform: scale(1.05); }
}

.publi-col-img::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 40px; height: 100%;
  background: linear-gradient(to right, transparent, #110d1c);
  pointer-events: none;
  z-index: 1;
}

.publi-img-badge {
  position: absolute;
  top: 11px; left: 11px;
  z-index: 3;
  background: rgba(17, 13, 28, 0.75);
  border: 1px solid rgba(192, 132, 252, 0.35);
  border-radius: 50px;
  padding: 4px 11px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #d4a0ff;
  backdrop-filter: blur(6px);
}

.publi-logo {
  position: absolute;
  bottom: 10px; left: 10px;
  z-index: 3;
  width: 38px; height: 38px;
  object-fit: contain;
  border-radius: 9px;
  background: rgba(17,13,28,0.6);
  padding: 3px;
}

.publi-thumbs {
  position: absolute;
  bottom: 10px; right: 6px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.publi-thumb {
  width: 40px; height: 40px;
  border-radius: 7px;
  object-fit: cover;
  border: 2px solid rgba(192,132,252,0.25);
  cursor: pointer;
  transition: border-color 0.2s, transform 0.18s;
  background: #1a0f2e;
}

.publi-thumb.active,
.publi-thumb:hover {
  border-color: #c084fc;
  transform: scale(1.1);
}

/* ── Columna cuerpo ── */
.publi-col-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.3rem 1.3rem 1.1rem 1rem;
  min-width: 0;
}

.publi-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c084fc;
  margin-bottom: 0.45rem;
}

.publi-tag-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #c084fc;
  display: inline-block;
  flex-shrink: 0;
  animation: blink 1.6s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.2; }
}

.publi-title {
  font-family: 'Georgia', serif;
  font-size: clamp(1.05rem, 3.5vw, 1.35rem);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  margin: 0 0 0.4rem;
}

.publi-title em {
  font-style: italic;
  color: #e2a8ff;
}

.publi-desc {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  margin: 0 0 0.8rem;
  line-height: 1.55;
}

.publi-feats {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 0.85rem;
}

.publi-feat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.69rem;
  color: rgba(255,255,255,0.45);
}

.publi-feat i { color: #c084fc; width: 12px; text-align: center; }

.publi-price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 0;
}

.publi-price-new {
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.publi-price-old {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.22);
  text-decoration: line-through;
}

.publi-price-off {
  display: inline-block;
  background: rgba(192,132,252,0.13);
  border: 1px solid rgba(192,132,252,0.28);
  border-radius: 6px;
  padding: 2px 7px;
  font-size: 0.66rem;
  font-weight: 700;
  color: #d4a0ff;
}

/* ── Acciones ── */
.publi-actions {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 0.9rem;
}

/* Botón WhatsApp */
.publi-btn-wsp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 0.72rem 1rem;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #128c3e 0%, #25D366 60%, #1ebe57 100%);
  background-size: 200% 200%;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s, box-shadow 0.18s;
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.35);
  animation: wsp-shimmer 4s ease infinite;
  position: relative;
  overflow: hidden;
}

@keyframes wsp-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}

.publi-btn-wsp::after {
  content: '';
  position: absolute;
  top: -50%; left: -60%;
  width: 30%; height: 200%;
  background: rgba(255,255,255,0.13);
  transform: skewX(-20deg);
  animation: publi-shine 4.5s ease infinite;
}

@keyframes publi-shine {
  0%        { left: -60%; }
  55%, 100% { left: 140%; }
}

.publi-btn-wsp:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.5);
}

.publi-btn-wsp i { font-size: 1.05rem; }

.publi-btn-skip {
  background: none;
  border: none;
  color: rgba(255,255,255,0.2);
  font-size: 0.7rem;
  cursor: pointer;
  padding: 0;
  text-align: center;
  width: 100%;
  transition: color 0.2s;
}

.publi-btn-skip:hover { color: rgba(255,255,255,0.45); }

/* ── Mobile ── */
@media (max-width: 479px) {
  .publi-inner { flex-direction: column; min-height: unset; }
  .publi-col-img { flex: unset; width: 100%; height: 210px; }
  .publi-img-main { height: 210px; padding: 8px; }
  .publi-col-img::after {
    top: unset; right: 0; bottom: 0;
    width: 100%; height: 50px;
    background: linear-gradient(to bottom, transparent, #110d1c);
  }
  .publi-thumbs { flex-direction: row; bottom: 8px; right: 8px; }
  .publi-col-body { padding: 1rem 1.1rem 1rem; }
  .publi-feats { flex-direction: row; flex-wrap: wrap; }
  .publi-feat {
    background: rgba(192,132,252,0.07);
    border: 1px solid rgba(192,132,252,0.18);
    border-radius: 50px;
    padding: 3px 9px;
  }
}

/* ── Salida ── */
#publi-overlay.publi-exit {
  animation: publi-out 0.3s ease forwards;
}

@keyframes publi-out { to { opacity: 0; pointer-events: none; } }


/* ══════════════════════════════════════════════
   SECCIÓN DÍA DE LA MADRE — index.html
   clase: .mama-section
   ══════════════════════════════════════════════ */
.mama-section {
  padding: 3rem 1.2rem 2.5rem;
  position: relative;
  overflow: hidden;
}

/* fondo degradado sutil */
.mama-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%,
    rgba(155, 63, 255, 0.09) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.mama-section .ps-header {
  margin-bottom: 1.2rem;
}

/* card especial Día de la Madre */
.mama-card {
  background: linear-gradient(135deg, #1a0f2e 0%, #160c25 100%);
  border: 1px solid rgba(192, 132, 252, 0.2);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  gap: 0;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: 0 20px 60px rgba(120, 40, 200, 0.25);
  transition: transform 0.25s, box-shadow 0.25s;
}

.mama-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 70px rgba(120, 40, 200, 0.38);
}

/* imagen del card */
.mama-card-img {
  flex: 0 0 42%;
  position: relative;
  overflow: hidden;
  background: #1a0f2e;
  min-height: 260px;
}

.mama-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 12px;
  box-sizing: border-box;
  display: block;
  transition: transform 0.5s ease;
}

.mama-card:hover .mama-card-img img {
  transform: scale(1.04);
}

.mama-card-img::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 35px; height: 100%;
  background: linear-gradient(to right, transparent, #160c25);
  pointer-events: none;
}

/* badge del card */
.mama-card-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(17, 13, 28, 0.78);
  border: 1px solid rgba(192,132,252,0.35);
  border-radius: 50px;
  padding: 4px 11px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #d4a0ff;
  backdrop-filter: blur(6px);
}

/* cuerpo del card */
.mama-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.6rem 1.5rem 1.6rem 1rem;
  gap: 0.6rem;
}

.mama-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c084fc;
}

.mama-card-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #c084fc;
  animation: blink 1.6s ease-in-out infinite;
}

.mama-card-title {
  font-family: 'Georgia', serif;
  font-size: clamp(1.15rem, 3vw, 1.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  margin: 0;
}

.mama-card-title em {
  font-style: italic;
  color: #e2a8ff;
}

.mama-card-desc {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.5;
  margin: 0;
}

.mama-card-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.mama-price-new {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.mama-price-old {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.22);
  text-decoration: line-through;
}

.mama-price-off {
  background: rgba(192,132,252,0.13);
  border: 1px solid rgba(192,132,252,0.28);
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #d4a0ff;
}

/* botón WhatsApp del card */
.mama-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.72rem 1.2rem;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #128c3e 0%, #25D366 60%, #1ebe57 100%);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.32);
  width: 100%;
  max-width: 240px;
}

.mama-card-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.5);
}

/* responsive */
@media (max-width: 600px) {
  .mama-card { flex-direction: column; }
  .mama-card-img { flex: unset; min-height: 200px; height: 200px; }
  .mama-card-img::after {
    top: unset; right: 0; bottom: 0;
    width: 100%; height: 40px;
    background: linear-gradient(to bottom, transparent, #160c25);
  }
  .mama-card-body { padding: 1.2rem; }
  .mama-card-btn  { max-width: 100%; }
}