/* ==========================================================================
   LUXURY FIRST-TIME VISITOR SUBSCRIBE / VIP POPUP
   ========================================================================== */

.newsletter-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 8, 8, 0.75);
  backdrop-filter: blur(5px);
  z-index: 6000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s ease;
}

.newsletter-popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.newsletter-popup-modal {
  position: relative;
  background: #ffffff;
  width: 100%;
  max-width: 780px;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(197, 168, 128, 0.3);
  transform: scale(0.92) translateY(20px);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: var(--font-secondary, 'Montserrat', sans-serif);
}

.newsletter-popup-overlay.active .newsletter-popup-modal {
  transform: scale(1) translateY(0);
}

/* Close Button */
.newsletter-popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  background: #f4eee7;
  border: 1px solid #e2d7ca;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  color: #333333;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.newsletter-popup-close:hover {
  background: #b01b4c;
  color: #ffffff;
  border-color: #b01b4c;
  transform: rotate(90deg);
}

/* Image Column */
.newsletter-popup-image-col {
  width: 42%;
  position: relative;
  overflow: hidden;
  background: #1a1617;
  flex-shrink: 0;
}

.newsletter-popup-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.newsletter-popup-overlay.active .newsletter-popup-img {
  transform: scale(1.05);
}

.newsletter-popup-image-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(176, 27, 76, 0.9);
  backdrop-filter: blur(4px);
  color: #ffffff;
  padding: 10px 14px;
  border-radius: 4px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Content Column */
.newsletter-popup-content-col {
  width: 58%;
  padding: 44px 38px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #ffffff;
  position: relative;
}

.newsletter-popup-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #b01b4c;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.newsletter-popup-title {
  font-family: var(--font-primary, 'Playfair Display', serif);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.newsletter-popup-title span {
  color: #b01b4c;
}

.newsletter-popup-subtitle {
  font-size: 12.5px;
  color: #666666;
  line-height: 1.6;
  margin-bottom: 22px;
}

/* Mobile Input Form */
.newsletter-popup-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.newsletter-phone-input-group {
  display: flex;
  border: 1.5px solid #dcd1c4;
  border-radius: 4px;
  overflow: hidden;
  background: #fdfbf9;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.newsletter-phone-input-group:focus-within {
  border-color: #b01b4c;
  box-shadow: 0 0 0 3px rgba(176, 27, 76, 0.12);
}

.newsletter-phone-prefix {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  background: #f4eee7;
  border-right: 1px solid #e2d7ca;
  font-size: 13px;
  font-weight: 700;
  color: #333333;
  user-select: none;
}

.newsletter-phone-input {
  flex: 1;
  padding: 13px 14px;
  border: none;
  background: transparent;
  font-family: var(--font-secondary, 'Montserrat', sans-serif);
  font-size: 14px;
  color: #1a1a1a;
  outline: none;
  letter-spacing: 1px;
}

.newsletter-phone-input::placeholder {
  color: #999999;
  font-size: 12.5px;
  letter-spacing: 0.5px;
}

.newsletter-popup-submit-btn {
  width: 100%;
  background: linear-gradient(135deg, #b01b4c 0%, #8b123a 100%);
  color: #ffffff;
  border: none;
  padding: 14px 20px;
  font-family: var(--font-secondary, 'Montserrat', sans-serif);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(176, 27, 76, 0.35);
  transition: all 0.25s ease;
}

.newsletter-popup-submit-btn:hover {
  background: linear-gradient(135deg, #d83a75 0%, #b01b4c 100%);
  box-shadow: 0 6px 22px rgba(176, 27, 76, 0.45);
  transform: translateY(-1px);
}

/* WhatsApp Opt-in Strip */
.newsletter-whatsapp-optin {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #555555;
  cursor: pointer;
  margin-top: -2px;
}

.newsletter-whatsapp-optin input {
  accent-color: #25d366;
  width: 15px;
  height: 15px;
  cursor: pointer;
}

.newsletter-whatsapp-icon {
  color: #25d366;
  font-weight: 700;
}

/* Success Discount Box (Shown after submission) */
.newsletter-popup-success {
  display: none;
  text-align: center;
  padding: 10px 0;
}

.newsletter-popup-success.show {
  display: block;
}

.newsletter-success-icon {
  width: 52px;
  height: 52px;
  background: #edf7ee;
  color: #2e7d32;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 14px;
  border: 2px solid #c8e6c9;
}

.newsletter-success-title {
  font-family: var(--font-primary, 'Playfair Display', serif);
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.newsletter-success-msg {
  font-size: 12.5px;
  color: #555555;
  margin-bottom: 16px;
}

.newsletter-coupon-box {
  background: #fdf6ec;
  border: 1.5px dashed #c5a880;
  padding: 12px 18px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.newsletter-coupon-code {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 3px;
  color: #b01b4c;
}

.newsletter-coupon-copy-btn {
  background: #1a1a1a;
  color: #ffffff;
  border: none;
  padding: 6px 14px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.newsletter-coupon-copy-btn:hover {
  background: #b01b4c;
}

/* Responsive */
@media (max-width: 768px) {
  .newsletter-popup-modal {
    flex-direction: column;
    max-width: 90%;
    max-height: 90vh;
    overflow-y: auto;
  }

  .newsletter-popup-image-col {
    width: 100%;
    height: 180px;
  }

  .newsletter-popup-content-col {
    width: 100%;
    padding: 28px 22px;
  }

  .newsletter-popup-title {
    font-size: 21px;
  }
}
