@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&display=swap');

.demo-label {
  font-family: 'Cinzel', serif;
  font-size: .65rem;
  letter-spacing: .3em;
  color: rgba(200,150,12,.4);
  text-transform: uppercase;
  text-align: center;
}
.demo-btn {
  font-family: 'Cinzel', serif;
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #0C0A1A;
  background: #C8960C;
  border: none;
  padding: .6rem 1.4rem;
  cursor: pointer;
  transition: all .2s;
}
.demo-btn:hover { background: #F0C040; }

/* ── Animaciones ── */
@keyframes particleFloat {
  0%   { transform: translateY(0) scale(1);   opacity: .7; }
  100% { transform: translateY(-60px) scale(0); opacity: 0; }
}
@keyframes popupSlideIn {
  0%   { transform: translate(0, 120%) scale(.92); opacity: 0; }
  60%  { transform: translate(0, -8px) scale(1.01); opacity: 1; }
  80%  { transform: translate(0, 4px)  scale(.995); }
  100% { transform: translate(0, 0)    scale(1);   opacity: 1; }
}
@keyframes popupSlideOut {
  0%   { transform: translate(0, 0)    scale(1); opacity: 1; }
  100% { transform: translate(0, 130%) scale(.9); opacity: 0; }
}
@keyframes shimmerBtn {
  0%   { left: -100%; }
  100% { left: 200%; }
}
@keyframes badgePulse {
  0%,100% { box-shadow: 0 0 0 0   rgba(200,150,12,.6); }
  50%      { box-shadow: 0 0 0 10px rgba(200,150,12,0); }
}
@keyframes sealSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes countTick {
  0%,100% { transform: scale(1); }
  50%      { transform: scale(1.15); }
}

/* ── Contenedor ── */
#aw-popup-wrap {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  width: 360px;
  pointer-events: none;
  opacity: 0;
}
#aw-popup-wrap.visible {
  pointer-events: all;
  animation: popupSlideIn .7s cubic-bezier(.34,1.56,.64,1) forwards;
}
#aw-popup-wrap.closing {
  animation: popupSlideOut .4s ease-in forwards;
  pointer-events: none;
}

/* ── Tarjeta ── */
.aw-popup {
  background: linear-gradient(145deg, #0C0A1A 0%, #120F2A 60%, #1A1530 100%);
  border: 1px solid rgba(200,150,12,.35);
  position: relative;
  overflow: hidden;
}
.aw-popup::before,
.aw-popup::after {
  content: '✦';
  position: absolute;
  color: rgba(200,150,12,.5);
  font-size: .75rem;
  line-height: 1;
}
.aw-popup::before { top: .5rem;    left: .7rem;  }
.aw-popup::after  { bottom: .5rem; right: .7rem; }

/* ── Topbar ── */
.aw-popup-topbar {
  background: linear-gradient(90deg, #6B4A05 0%, #C8960C 50%, #6B4A05 100%);
  padding: .45rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.aw-popup-topbar-text {
  font-family: 'Cinzel', serif;
  font-size: .55rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: #0C0A1A;
  font-weight: 600;
}
.aw-popup-close {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(7,5,16,.7);
  font-size: 1rem;
  line-height: 1;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  transition: color .2s;
}
.aw-popup-close:hover { color: #0C0A1A; }

/* ── Body ── */
.aw-popup-body {
  padding: 1.4rem 1.5rem 1.6rem;
  position: relative;
}
.aw-popup-badge {
  position: absolute;
  top: -1px; right: 1.5rem;
  background: linear-gradient(135deg, #8B6008 0%, #C8960C 50%, #8B6008 100%);
  padding: .6rem .9rem;
  text-align: center;
  animation: badgePulse 2.5s ease-in-out infinite;
}
.aw-popup-badge-pct {
  display: block;
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: #0C0A1A;
  line-height: 1;
}
.aw-popup-badge-label {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: .42rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(7,5,16,.8);
  margin-top: .1rem;
}
.aw-popup-eyebrow {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: .55rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: rgba(200,150,12,.6);
  margin-bottom: .6rem;
}
.aw-popup-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #F5E6A3;
  line-height: 1.2;
  margin-bottom: .25rem;
  padding-right: 4rem;
}
.aw-popup-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-style: italic;
  color: rgba(232,217,192,.65);
  line-height: 1.5;
  margin-bottom: 1rem;
  padding-right: 1rem;
}
.aw-popup-divider {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1rem;
}
.aw-popup-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(200,150,12,.3), transparent);
}
.aw-popup-divider-sym {
  font-size: .6rem;
  color: rgba(200,150,12,.4);
}
.aw-popup-pricing {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.1rem;
}
.aw-popup-price-before {
  font-family: 'Cinzel', serif;
  font-size: .9rem;
  color: rgba(160,144,112,.4);
  text-decoration: line-through;
}
.aw-popup-price-after {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.8rem;
  color: #F0C040;
  line-height: 1;
}
.aw-popup-price-label {
  font-family: 'Cinzel', serif;
  font-size: .5rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(160,144,112,.5);
  line-height: 1.4;
}
.aw-popup-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.aw-popup-list li {
  font-family: 'Cormorant Garamond', serif;
  font-size: .88rem;
  color: rgba(232,217,192,.75);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.aw-popup-list li::before {
  content: '◆';
  color: #C8960C;
  font-size: .38rem;
  flex-shrink: 0;
}
.aw-popup-cta {
  display: block;
  width: 100%;
  padding: .85rem;
  background: linear-gradient(135deg, #6B4A05 0%, #C8960C 50%, #8B6010 100%);
  color: #070510;
  font-family: 'Cinzel', serif;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: box-shadow .3s, transform .2s;
  margin-bottom: .7rem;
  box-sizing: border-box;
}
.aw-popup-cta::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent);
  animation: shimmerBtn 2.4s ease-in-out infinite;
}
.aw-popup-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(200,150,12,.45);
}
.aw-popup-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: 'Cinzel', serif;
  font-size: .5rem;
  letter-spacing: .15em;
  color: rgba(160,144,112,.4);
  text-transform: uppercase;
}
.aw-popup-note-dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: rgba(200,150,12,.4);
  flex-shrink: 0;
}

/* ── Countdown ── */
.aw-popup-countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  background: rgba(0,0,0,.3);
  border-top: 1px solid rgba(200,150,12,.12);
  padding: .65rem 1rem;
}
.aw-popup-countdown-label {
  font-family: 'Cinzel', serif;
  font-size: .5rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(160,144,112,.5);
}
.aw-countdown-slots {
  display: flex;
  align-items: center;
  gap: .3rem;
}
.aw-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .1rem;
}
.aw-slot-num {
  font-family: 'Cinzel', serif;
  font-size: .85rem;
  font-weight: 600;
  color: #F0C040;
  min-width: 2ch;
  text-align: center;
  animation: countTick 1s ease-in-out infinite;
}
.aw-slot-lbl {
  font-family: 'Cinzel', serif;
  font-size: .38rem;
  letter-spacing: .15em;
  color: rgba(160,144,112,.4);
  text-transform: uppercase;
}
.aw-sep {
  font-family: 'Cinzel', serif;
  font-size: .8rem;
  color: rgba(200,150,12,.3);
  margin-bottom: .8rem;
}

/* ── Sello y partículas ── */
.aw-seal {
  position: absolute;
  bottom: 3.5rem; left: 1rem;
  width: 44px; height: 44px;
  opacity: .12;
  pointer-events: none;
}
.aw-seal-inner {
  animation: sealSpin 20s linear infinite;
  transform-origin: center;
}
.aw-particle {
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: #F0C040;
  pointer-events: none;
  animation: particleFloat linear infinite;
}