/* ==========================================================================
   PREMIUM PROMOTIONAL OFFERS POPUP STYLES
   ========================================================================== */

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(26, 10, 14, 0.65); /* Dark luxury tint */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.popup-overlay.show {
  opacity: 1;
  pointer-events: all;
}

.popup-card {
  background-color: #4A101D; /* Luxury Deep Burgundy */
  border: 1px solid #C5A880;  /* Gold Accent */
  border-radius: 8px;
  width: 92%;
  max-width: 460px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 40px rgba(197, 168, 128, 0.15);
  color: #FAF9F6;
  position: relative;
  transform: scale(0.88);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.2);
}

.popup-overlay.show .popup-card {
  transform: scale(1);
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 15px;
  color: #C5A880;
  font-size: 1.8rem;
  font-weight: 300;
  cursor: pointer;
  transition: all 0.3s ease;
  line-height: 1;
  z-index: 10;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.popup-close:hover {
  color: #FFFFFF;
  transform: rotate(90deg);
}

.popup-img-container {
  width: 100%;
  height: 220px;
  background-color: #310811;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(197, 168, 128, 0.2);
}

.popup-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}

.popup-card:hover .popup-img {
  transform: scale(1.03);
}

.popup-content {
  padding: 24px 28px;
}

.popup-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  color: #C5A880;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}

.popup-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: #FAF9F6;
  line-height: 1.3;
  margin: 0 0 12px 0;
  letter-spacing: 0.02em;
}

.popup-desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 300;
  color: #D9D2C9;
  line-height: 1.6;
  margin: 0 0 22px 0;
}

.popup-wa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background-color: #C5A880;
  color: #4A101D;
  text-decoration: none;
  padding: 13px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-radius: 4px;
  border: 1px solid #C5A880;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(197, 168, 128, 0.25);
}

.popup-wa-btn:hover {
  background-color: transparent;
  color: #C5A880;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.popup-wa-btn i {
  font-size: 1.15rem;
}

.popup-progress-container {
  width: 100%;
  height: 4px;
  background-color: rgba(197, 168, 128, 0.15);
  position: relative;
  display: none;
}

.popup-progress-bar {
  width: 100%;
  height: 100%;
  background-color: #C5A880;
  transform-origin: left;
}

@keyframes countdown-bar {
  from { transform: scaleX(1); }
  to { transform: scaleX(0); }
}

/* RESPONSIVE POPUP STYLES */
@media (max-width: 480px) {
  .popup-card {
    width: 90%;
  }
  .popup-img-container {
    height: 180px;
  }
  .popup-content {
    padding: 20px;
  }
  .popup-title {
    font-size: 1.5rem;
  }
  .popup-desc {
    font-size: 0.8rem;
  }
}
