/* ── AJsublim CRO Popups – popup.css ─────────────────────────── */
/* Colors matched to website slider: cyan + hot pink on dark     */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=DM+Sans:wght@400;500;600&display=swap');

:root {
  --aj-black:    #0d0f14;
  --aj-dark:     #12161f;
  --aj-navy:     #1a1f2e;
  --aj-cyan:     #00bcd4;
  --aj-bright:   #4fc3f7;
  --aj-teal:     #00e5ff;
  --aj-pink:     #e91e8c;
  --aj-pink2:    #ff4db2;
  --aj-cream:    #eef7fa;
  --aj-muted:    #8a9bb5;
  --aj-white:    #ffffff;
  --aj-shadow:   0 32px 80px rgba(0,0,0,0.55);
}

/* ── Overlay ──────────────────────────────────────────────────── */
.ajcro-overlay {
  position: fixed; inset: 0;
  background: rgba(13,15,20,0.80);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: flex; align-items: center; justify-content: center;
  z-index: 999999;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s ease;
  padding: 16px;
}
.ajcro-overlay.ajcro-active {
  opacity: 1; pointer-events: all;
}

/* ── Popup shell ──────────────────────────────────────────────── */
.ajcro-popup {
  position: relative;
  background: var(--aj-white);
  border-radius: 22px;
  overflow: hidden;
  max-width: 520px; width: 100%;
  box-shadow: var(--aj-shadow);
  transform: translateY(30px) scale(0.94);
  transition: transform 0.45s cubic-bezier(0.34,1.56,0.64,1);
  max-height: 92vh;
  overflow-y: auto;
  font-family: 'DM Sans', sans-serif;
}
.ajcro-overlay.ajcro-active .ajcro-popup {
  transform: translateY(0) scale(1);
}

/* ── Close button ────────────────────────────────────────────── */
.ajcro-close {
  position: absolute; top: 14px; right: 16px;
  background: rgba(255,255,255,0.15); border: none;
  width: 34px; height: 34px; border-radius: 50%;
  cursor: pointer; font-size: 17px; color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s; z-index: 10; line-height: 1;
}
.ajcro-close:hover { background: rgba(255,255,255,0.28); color: #fff; }

/* ════════════════════════════════════════════════════════════════
   WELCOME POPUP
   ════════════════════════════════════════════════════════════════ */
.ajcro-welcome-top {
  background: linear-gradient(145deg, #0d0f14 0%, #12161f 45%, #1a2535 100%);
  padding: 36px 36px 26px;
  position: relative; overflow: hidden; text-align: center;
}
.ajcro-welcome-top::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 75% 20%, rgba(0,188,212,0.2) 0%, transparent 55%);
}
.ajcro-deco1 {
  position: absolute; top: 14px; left: 22px;
  font-size: 44px; opacity: 0.10;
  animation: ajcroFloat 3s ease-in-out infinite;
}
.ajcro-deco2 {
  position: absolute; bottom: 12px; right: 26px;
  font-size: 30px; opacity: 0.08;
  animation: ajcroFloat 3.5s ease-in-out infinite reverse;
}
@keyframes ajcroFloat {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* Badge — cyan pill like slider "OFERTA ESPECIAL" */
.ajcro-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--aj-cyan); color: var(--aj-black);
  font-size: 11px; font-weight: 700;
  letter-spacing: 1.4px; text-transform: uppercase;
  padding: 5px 14px; border-radius: 100px;
  margin-bottom: 14px; position: relative;
}
.ajcro-welcome-top h2 {
  font-family: 'Playfair Display', serif;
  color: var(--aj-white); font-size: 30px; line-height: 1.15;
  margin: 0 0 8px; position: relative;
}
.ajcro-welcome-top h2 em {
  color: var(--aj-cyan); font-style: normal;
  display: block; font-size: 50px; line-height: 1.05;
}
.ajcro-welcome-top p {
  color: rgba(255,255,255,0.55); font-size: 14px; position: relative;
}

.ajcro-welcome-body { padding: 26px 32px 30px; }

/* Tiers */
.ajcro-tiers { display: flex; flex-direction: column; gap: 12px; margin-bottom: 22px; }
.ajcro-tier {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  background: var(--aj-cream);
  border-radius: 12px;
  border-left: 4px solid var(--aj-cyan);
  transition: transform 0.2s, box-shadow 0.2s;
}
.ajcro-tier:hover { transform: translateX(3px); box-shadow: 0 4px 14px rgba(0,188,212,0.15); }
.ajcro-tier:nth-child(2) { border-left-color: var(--aj-pink); }
.ajcro-tier:nth-child(3) { border-left-color: var(--aj-bright); }
.ajcro-tier-icon { font-size: 26px; flex-shrink: 0; }
.ajcro-tier-text strong { display: block; font-size: 13px; font-weight: 700; color: var(--aj-black); }
.ajcro-tier-text span   { font-size: 12px; color: var(--aj-muted); }
.ajcro-tier-pct {
  margin-left: auto;
  font-family: 'Playfair Display', serif;
  font-size: 22px; font-weight: 900; color: var(--aj-cyan);
  white-space: nowrap;
}
.ajcro-tier:nth-child(2) .ajcro-tier-pct { color: var(--aj-pink); }
.ajcro-tier:nth-child(3) .ajcro-tier-pct { color: var(--aj-bright); }

/* Coupon box */
.ajcro-coupon-box {
  background: var(--aj-cream);
  border: 2px dashed var(--aj-cyan);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 18px;
}
.ajcro-coupon-label { font-size: 11px; color: var(--aj-muted); font-weight: 500; margin-bottom: 3px; }
.ajcro-coupon-code {
  font-family: 'Playfair Display', serif;
  font-size: 20px; font-weight: 900; color: var(--aj-black);
  letter-spacing: 2px;
}
.ajcro-copy-btn {
  background: var(--aj-cyan); border: none;
  padding: 9px 18px; border-radius: 8px;
  font-size: 12px; font-weight: 700; cursor: pointer;
  color: var(--aj-black); transition: all 0.2s; white-space: nowrap; flex-shrink: 0;
}
.ajcro-copy-btn:hover { background: var(--aj-bright); color: var(--aj-black); }
.ajcro-copy-btn.copied { background: var(--aj-pink); color: white; }

/* CTA — hot pink pill matching slider "Aprovechar oferta" button */
.ajcro-cta-btn {
  display: block; width: 100%; padding: 16px;
  background: linear-gradient(90deg, #e91e8c, #ff4db2);
  color: white; text-align: center;
  font-size: 15px; font-weight: 700; letter-spacing: 0.4px;
  border: none; border-radius: 100px;
  cursor: pointer; transition: all 0.25s;
  text-decoration: none; margin-bottom: 10px;
}
.ajcro-cta-btn:hover {
  background: linear-gradient(90deg, #c4156f, #e91e8c);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(233,30,140,0.4);
}
.ajcro-skip {
  display: block; text-align: center;
  font-size: 12px; color: var(--aj-muted);
  cursor: pointer; text-decoration: underline;
  background: none; border: none; width: 100%;
}
.ajcro-skip:hover { color: var(--aj-black); }

/* Trust row */
.ajcro-trust {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  margin-top: 16px; padding-top: 16px;
  border-top: 1px solid #e4eef5;
}
.ajcro-trust-item { font-size: 11px; color: var(--aj-muted); }

/* ════════════════════════════════════════════════════════════════
   RETURNING POPUP
   ════════════════════════════════════════════════════════════════ */
.ajcro-returning-top {
  background: linear-gradient(145deg, #e0325e 0%, #e0325e 50%, #e0325e 100%);
  padding: 28px 28px 22px;
  text-align: center; position: relative; overflow: hidden;
}
.ajcro-returning-top::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 80%, rgba(233,30,140,0.15) 0%, transparent 55%),
    radial-gradient(circle at 80% 20%, rgba(0,188,212,0.15) 0%, transparent 50%);
}
.ajcro-wave-lbl {
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--aj-cyan);
  margin-bottom: 9px; position: relative;
}
.ajcro-returning-top h2 {
  font-family: 'Playfair Display', serif;
  color: white; font-size: 26px; line-height: 1.22;
  margin: 0 0 12px; position: relative;
}
.ajcro-timer-pill {
  background: rgba(233,30,140,0.2);
  border: 1px solid rgba(233,30,140,0.4);
  border-radius: 100px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 16px; font-size: 12px; color: #fff; font-weight: 600;
  position: relative;
}

.ajcro-returning-body { padding: 22px 26px 28px; }

/* Offer cards grid */
.ajcro-cards-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 11px; margin-bottom: 18px;
}
.ajcro-offer-card {
  background: var(--aj-cream);
  border-radius: 14px; padding: 18px 12px;
  text-align: center; cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.22s; position: relative;
}
.ajcro-offer-card:hover,
.ajcro-offer-card.ajcro-selected {
  border-color: var(--aj-cyan);
  box-shadow: 0 4px 18px rgba(0,188,212,0.22);
  background: #e8f8fb;
}
.ajcro-offer-card.ajcro-hot::before {
  content: attr(data-hot-label);
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--aj-pink); color: white;
  font-size: 10px; font-weight: 700;
  padding: 3px 10px; border-radius: 100px; white-space: nowrap;
}
.ajcro-card-icon  { font-size: 28px; margin-bottom: 7px; display: block; }
.ajcro-card-disc  {
  font-family: 'Playfair Display', serif;
  font-size: 28px; font-weight: 900; color: var(--aj-cyan); line-height: 1; margin-bottom: 4px;
}
.ajcro-card-title { font-size: 12px; font-weight: 700; color: var(--aj-black); }
.ajcro-card-sub   { font-size: 11px; color: var(--aj-muted); margin-top: 2px; }

/* Countdown strip */
.ajcro-countdown {
  background: var(--aj-dark); border-radius: 12px;
  padding: 13px 18px;
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px; gap: 12px;
}
.ajcro-cd-lbl { font-size: 12px; color: rgba(255,255,255,0.45); }
.ajcro-cd-units { display: flex; gap: 7px; }
.ajcro-cd-unit {
  background: rgba(0,188,212,0.12);
  border: 1px solid rgba(0,188,212,0.25);
  border-radius: 7px; padding: 7px 11px; text-align: center; min-width: 50px;
}
.ajcro-cd-num {
  font-family: 'Playfair Display', serif;
  font-size: 20px; font-weight: 900; color: var(--aj-cyan);
  line-height: 1; display: block;
}
.ajcro-cd-sep { color: rgba(0,188,212,0.35); font-size: 18px; font-weight: 700; align-self: center; }
.ajcro-cd-lbl-small { font-size: 9px; color: rgba(255,255,255,0.35); text-transform: uppercase; letter-spacing: 0.5px; }

/* Returning popup CTA — also hot pink */
#ajcro-popup-returning .ajcro-cta-btn {
  background: linear-gradient(90deg, #e91e8c, #ff4db2);
}
#ajcro-popup-returning .ajcro-cta-btn:hover {
  background: linear-gradient(90deg, #c4156f, #e91e8c);
  color: white;
}

/* ── Toast ───────────────────────────────────────────────────── */
.ajcro-toast {
  position: fixed; bottom: 30px; left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: var(--aj-dark); color: white;
  padding: 12px 26px; border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px; font-weight: 600;
  opacity: 0; pointer-events: none;
  transition: all 0.3s; z-index: 9999999;
  white-space: nowrap;
  border: 1px solid rgba(0,188,212,0.3);
}
.ajcro-toast.ajcro-toast-show {
  opacity: 1; transform: translateX(-50%) translateY(0);
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 480px) {
  .ajcro-welcome-top   { padding: 26px 18px 20px; }
  .ajcro-welcome-body  { padding: 18px 18px 22px; }
  .ajcro-welcome-top h2    { font-size: 24px; }
  .ajcro-welcome-top h2 em { font-size: 38px; }
  .ajcro-returning-top { padding: 22px 16px 18px; }
  .ajcro-returning-body{ padding: 16px; }
  .ajcro-cards-grid    { grid-template-columns: 1fr 1fr; }
  .ajcro-coupon-box    { flex-direction: column; align-items: flex-start; }
}