/* ====== POPUP OFERTA ====== */
.offer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(44, 36, 32, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.offer-overlay.show {
  display: flex;
  opacity: 1;
}

.offer-popup {
  background: linear-gradient(135deg, var(--warm-white) 0%, var(--cream) 100%);
  border-radius: 24px;
  max-width: 480px;
  width: 100%;
  padding: 40px 36px 32px;
  text-align: center;
  position: relative;
  box-shadow: 0 30px 80px rgba(44, 36, 32, 0.25);
  border: 1px solid var(--glass-border);
  transform: scale(0.92) translateY(20px);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.offer-overlay.show .offer-popup { transform: scale(1) translateY(0); }

.offer-popup::before {
  content: '';
  position: absolute;
  top: -40%; right: -20%;
  width: 280px; height: 280px;
  background: radial-gradient(circle, var(--rose-gold-glow) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.offer-close {
  position: absolute;
  top: 16px; right: 16px;
  background: transparent;
  border: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.3s ease;
  z-index: 2;
}
.offer-close:hover {
  background: rgba(183, 110, 92, 0.1);
  color: var(--rose-gold);
}
.offer-close svg { width: 18px; height: 18px; }

.offer-content { position: relative; z-index: 1; }

.offer-icon {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, var(--rose-gold) 0%, var(--wood) 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 10px 30px var(--rose-gold-glow);
  transform: rotate(-6deg);
}
.offer-icon svg { width: 36px; height: 36px; color: #fff; }

.offer-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(183, 110, 92, 0.1);
  color: var(--rose-gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 40px;
  margin-bottom: 14px;
}

.offer-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--charcoal);
  margin-bottom: 12px;
  line-height: 1.2;
}
.offer-title em {
  color: var(--rose-gold);
  font-style: italic;
}

.offer-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.offer-highlight {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 16px;
  background: rgba(183, 110, 92, 0.06);
  border-radius: 14px;
  margin-bottom: 24px;
}
.offer-highlight-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}
.offer-highlight-item svg {
  width: 16px; height: 16px;
  color: var(--rose-gold);
  flex-shrink: 0;
}

.offer-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.offer-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  border-radius: 60px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}
.offer-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
}
.offer-btn-primary svg { width: 20px; height: 20px; }

.offer-btn-secondary {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.82rem;
  cursor: pointer;
  padding: 8px;
  font-family: inherit;
  transition: color 0.3s ease;
}
.offer-btn-secondary:hover { color: var(--text-secondary); }

.offer-fineprint {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 16px;
  line-height: 1.5;
}

/* ====== BANNER MINI (canto inferior) ====== */
.offer-mini {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 998;
  background: linear-gradient(135deg, var(--rose-gold) 0%, var(--wood) 100%);
  border-radius: 16px;
  padding: 14px 18px;
  display: none;
  align-items: center;
  gap: 14px;
  box-shadow: 0 8px 30px rgba(183, 110, 92, 0.4);
  max-width: 320px;
  cursor: pointer;
  text-decoration: none;
  color: #fff;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: miniPulse 3s infinite;
}
.offer-mini.show {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}
.offer-mini:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(183, 110, 92, 0.5);
}

@keyframes miniPulse {
  0%, 100% { box-shadow: 0 8px 30px rgba(183, 110, 92, 0.4); }
  50% { box-shadow: 0 8px 30px rgba(183, 110, 92, 0.7); }
}

.offer-mini-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  animation: miniGiftBounce 2s infinite;
}
@keyframes miniGiftBounce {
  0%, 100% { transform: rotate(-6deg); }
  50% { transform: rotate(6deg); }
}

.offer-mini-text {
  flex: 1;
  line-height: 1.3;
}
.offer-mini-text strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 2px;
}
.offer-mini-text span {
  font-size: 0.78rem;
  opacity: 0.9;
}

.offer-mini-close {
  position: absolute;
  top: -8px; right: -8px;
  width: 24px; height: 24px;
  background: #fff;
  color: var(--charcoal);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  font-size: 0.85rem;
  font-weight: 700;
  transition: transform 0.2s ease;
}
.offer-mini-close:hover { transform: scale(1.15); }

/* ====== RESPONSIVO POPUP ====== */
@media (max-width: 600px) {
  .offer-popup {
    padding: 32px 24px 24px;
  }
  .offer-title { font-size: 1.5rem; }
  .offer-highlight {
    flex-direction: column;
    gap: 10px;
    padding: 14px;
  }
  .offer-mini {
    left: 16px;
    right: 16px;
    bottom: 100px;
    max-width: none;
  }
}
