/* ================= DESIGN SYSTEM ================= */
:root {
  --dark-green: #1B3C2D;
  --mid-green: #2d5a3d;
  --light-green: #4a7c5a;
  --cream: #E8D5B7;
  --terracotta: #A0522D;
  --gold: #c8a84b;
  --gold-light: #e8c86b;
  --white: #ffffff;
}

*, *::before, *::after { 
  box-sizing: border-box; 
  margin: 0; 
  padding: 0; 
}

html {
  width: 100%; 
  height: 100%;
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  overflow-x: hidden;
}

body {
  font-family: 'Lora', serif;
  background: var(--dark-green);
  color: var(--cream);
  width: 100%;
  min-height: 100%;
}

/* ─── HEADER ─── */
.site-header {
  width: 100%;
  z-index: 1000;
  background: var(--dark-green);
  border-bottom: 2px solid var(--gold);
  position: fixed; 
  top: 0;
}

.header-inner {
  max-width: 100%;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.brand-main {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 0.1em;
  line-height: 1;
}

.brand-sub {
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  color: var(--white);
  letter-spacing: 0.3em;
  margin-top: 2px;
}

.mobile-menu-btn,
.mobile-close-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gold);
}

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-cart-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--cream);
  color: var(--dark-green);
  padding: 8px 18px;
  border-radius: 50px;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  border: 2px solid var(--gold);
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-cart-btn svg {
  margin-top: -2px;
}

.nav-cart-btn:hover {
  background: var(--gold);
  color: var(--dark-green);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(200,168,75,0.3);
}

.nav-about-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--cream);
  padding: 8px 18px;
  border-radius: 50px;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  border: 2px solid var(--gold);
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-about-btn:hover {
  background: var(--gold);
  color: var(--dark-green);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(200,168,75,0.3);
}

/* ─── MAIN CONTENT WRAPPER ─── */
.main-wrapper {
  position: relative;
  width: 100%;
}

/* ─── HERO SECTION ─── */
.hero-section {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 100px; 
  scroll-snap-align: start;
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
  will-change: opacity, transform;
  z-index: 5;
}

.bg-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  object-fit: cover;
  transform: none !important; 
}

.deco-leaf {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.leaf-1-tl { top: 0; left: 0; width: clamp(200px, 22vw, 380px); transform: translate(-10%, -10%) rotate(5deg); opacity: 0.9; }
.leaf-1-tr { top: 0; right: 10%; width: clamp(180px, 18vw, 320px); transform: translate(10%, -10) scaleX(-1) rotate(10deg); opacity: 0.8; }
.leaf-2-tr { top: 10%; right: 0; width: clamp(150px, 15vw, 280px); transform: translate(15%, 0) rotate(-30deg); opacity: 0.7; }
.leaf-2-br { bottom: 0; right: 0; width: clamp(150px, 15vw, 280px); transform: translate(10%, 15%) rotate(-45deg); opacity: 0.7; }
.leaf-3-bl { bottom: 0; left: 0; width: clamp(180px, 20vw, 320px); transform: translate(-10%, 15%) scaleX(-1) rotate(-45deg); opacity: 0.8; }
.leaf-1-ml { top: 40%; left: -2%; width: clamp(200px, 22vw, 350px); transform: translate(-10%, -50%) rotate(-50deg); opacity: 0.4; }

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px;
}

.hero {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.title-yuge {
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 6vw, 5rem);
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
}

.title-vasundhara {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.5rem, 8vw, 6.5rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
}

.coming-soon {
  font-family: 'Lora', serif;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.quote {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: clamp(0.8rem, 1.8vw, 1.05rem);
  color: var(--cream);
  opacity: 0.88;
  max-width: 500px;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 20px;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--cream);
  color: var(--dark-green);
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: clamp(0.8rem, 1.5vw, 1rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 8px;
  border: 2px solid var(--gold);
  box-shadow: 0 4px 18px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  margin-top: 10px;
}

.btn-whatsapp:hover {
  background: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(200,168,75,0.4);
}

.whatsapp-icon {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* ─── HERO CAROUSEL ─── */
.hero-carousel {
  margin-top: 70px;
  width: 100%;
  max-width: 440px;
  padding: 24px 32px 20px;
  border-radius: 20px;
  background: rgba(27, 60, 45, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(200, 168, 75, 0.3);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  text-align: center;
  position: relative;
  animation: carouselFloat 6s ease-in-out infinite;
  cursor: default;
}

@keyframes carouselFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* Track — stacks slides */
.carousel-track {
  position: relative;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Slides — absolute, fade in/out */
.carousel-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}

.carousel-slide.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Text */
.slide-text {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: clamp(0.8rem, 1.6vw, 0.95rem);
  color: var(--cream);
  opacity: 0.92;
  line-height: 1.5;
  margin: 0;
}

/* Accent icon */
.slide-accent {
  font-size: 1.2rem;
  margin-bottom: 6px;
  display: block;
  opacity: 0.85;
}

/* Star rating */
.slide-stars {
  font-size: 0.85rem;
  color: var(--gold-light);
  letter-spacing: 3px;
  margin-bottom: 6px;
}

/* Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  background: rgba(232, 213, 183, 0.3);
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  background: var(--gold);
  transform: scale(1.3);
  box-shadow: 0 0 8px rgba(200, 168, 75, 0.4);
}

.carousel-dot:hover {
  background: rgba(232, 213, 183, 0.6);
}

/* ─── SOCIAL MEDIA HOLDER ─── */
.social-holder {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
  width: 100%;
  max-width: 700px; /* Big screen, fits all 4 in a row */
}

.social-pill-btn {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--dark-green); /* Base text color changed to green */
  text-decoration: none;
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  flex: 0 1 auto;
}

.social-pill-btn:hover {
  background: var(--dark-green);
  color: var(--white);
  border-color: var(--dark-green);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(27, 60, 45, 0.4);
}

.social-icon {
  width: 20px;
  height: 20px;
}

/* ─── SCROLL DOWN INDICATOR ─── */
.scroll-down-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 40px;
  color: var(--gold);
  background: rgba(27, 60, 45, 0.8);
  border: 1px solid var(--gold);
  padding: 16px 40px 10px;
  border-radius: 24px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  animation: floatArrow 2.5s infinite ease-in-out;
  cursor: pointer;
}

.scroll-text {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

.scroll-arrow {
  width: 28px;
  height: 28px;
  color: var(--gold);
}

@keyframes floatArrow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ─── PRODUCT SECTION (GLASS UI) ─── */
.product-section {
  width: 100%;
  padding: 120px 20px;
  background: var(--dark-green);
  position: relative;
  opacity: 0;
  transform: translateY(80px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: opacity, transform;
  scroll-snap-align: start;
  min-height: 100vh;
}

.product-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.glass-container {
  position: relative;
  z-index: 1;
  max-width: 1500px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.95); /* More opaque to prevent green bleed */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 24px;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 40px;
}

.product-card {
  background: var(--white);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.product-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 16px;
}

.product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 15px;
}

.product-info strong {
  margin: 0;
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  color: var(--dark-green);
  line-height: 1.2;
}

.name-price-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: 100%;
}

.price-tag {
  font-weight: 700;
  color: var(--terracotta);
  font-size: 1.1rem;
}

.buy-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: auto;
  width: 100%;
}

.action-container {
  width: 100%;
}

.buy-bar button, .qty-selector {
  width: 100%;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-selector {
  background: var(--white);
  border: 1px solid #eee;
  border-radius: 50px; /* Full pill shape */
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  padding: 0 15px;
  gap: 20px;
}

.qty-btn {
  background: none;
  border: none;
  color: var(--mid-green);
  font-size: 1.4rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0 5px;
  transition: transform 0.2s;
  line-height: 1;
}

.qty-btn:hover {
  transform: scale(1.2);
  color: var(--dark-green);
}

.qty-val {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--dark-green);
  min-width: 20px;
  text-align: center;
}

.buy-bar button:hover {
  background: var(--mid-green);
}

/* ─── ANIMATIONS ─── */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards;
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE ARCHITECTURE
   ═══════════════════════════════════════════════ */

/* ─── ULTRA-WIDE DESKTOP (≥ 1440px) ─── */
@media (min-width: 1440px) {
  .bg-scene {
    object-position: center 20%;
  }
  .glass-container {
    max-width: 1400px;
    padding: 60px;
  }
}

/* ─── TABLET (≤ 1024px) ─── */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .glass-container { padding: 30px; }
  .hero-carousel { max-width: 400px; }
}

/* ─── LARGE MOBILE / SMALL TABLET (≤ 768px) ─── */
@media (max-width: 768px) {
  /* ── Mobile Leaf Decorations ── */
  .deco-leaf {
    z-index: 0;
    pointer-events: none;
    filter: blur(0.5px);
  }

  /* Top-left corner accent */
  .leaf-1-tl {
    top: 0;
    left: 0;
    width: clamp(90px, 22vw, 160px);
    transform: translate(-18%, -15%) rotate(5deg) scale(0.7);
    opacity: 0.22;
  }

  /* Top-right corner accent */
  .leaf-1-tr {
    top: 0;
    right: 5%;
    width: clamp(80px, 18vw, 140px);
    transform: translate(15%, -18%) scaleX(-1) rotate(10deg) scale(0.65);
    opacity: 0.2;
  }

  /* Hide leaves that would crowd mid/center areas */
  .leaf-2-tr,
  .leaf-1-ml {
    display: none;
  }

  /* Bottom-right corner accent (near wave graphics) */
  .leaf-2-br {
    bottom: 0;
    right: 0;
    width: clamp(80px, 18vw, 140px);
    transform: translate(12%, 18%) rotate(-45deg) scale(0.65);
    opacity: 0.25;
  }

  /* Bottom-left corner accent (near wave graphics) */
  .leaf-3-bl {
    bottom: 0;
    left: 0;
    width: clamp(90px, 20vw, 150px);
    transform: translate(-15%, 18%) scaleX(-1) rotate(-45deg) scale(0.7);
    opacity: 0.28;
  }

  .glass-container { padding: 20px; border-radius: 16px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  
  .hero-section { 
    padding-top: 80px; 
    padding-bottom: 60px;
    justify-content: center;
    min-height: 100svh;
    height: auto;
  }
  .bg-scene {
    height: 115vh;
    top: 0;
    object-position: center bottom;
  }
  .hero { gap: 8px; }
  .quote { margin-bottom: 16px; }
  
  .hero-carousel {
    max-width: 340px;
    padding: 20px 24px 16px;
    margin-top: 24px;
  }
  .carousel-track { min-height: 55px; }

  .social-holder {
    max-width: 360px;
  }
  .social-pill-btn {
    width: calc(50% - 6px); /* 2 in a row */
    padding: 8px 12px;
    font-size: 0.85rem;
  }
  
  /* Mobile refinements (Side Menu) */
  .mobile-menu-btn {
    display: block;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background: rgba(27, 60, 45, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 80px 20px 20px;
    gap: 20px;
    transition: right 0.3s ease;
    box-shadow: -5px 0 20px rgba(0,0,0,0.5);
    z-index: 10000;
  }
  .nav-links.open {
    right: 0;
  }
  .mobile-close-btn {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
  }
  .nav-about-btn, .nav-cart-btn {
    font-size: 0.9rem;
    padding: 12px 20px;
    border-width: 2px;
    width: 100%;
    justify-content: center;
  }
  .cart-btn-text {
    display: inline;
  }
  .nav-cart-btn svg {
    margin-right: 4px;
  }
  .brand-main {
    font-size: 1.1rem;
  }
  .brand-sub {
    font-size: 0.5rem;
  }
  .scroll-text {
    font-size: 0.8rem;
  }
  .scroll-down-indicator {
    padding: 10px 24px 6px;
    border-radius: 18px;
    margin-top: 20px;
  }
  .scroll-arrow {
    width: 20px;
    height: 20px;
  }
}

/* ─── STANDARD MOBILE (≤ 480px) ─── */
@media (max-width: 480px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .glass-container { padding: 12px; }
  .product-card { padding: 8px; border-radius: 10px; }
  .product-card img { border-radius: 8px; margin-bottom: 8px; }
  .product-info { gap: 6px; }
  .product-info strong { font-size: 0.78rem; }
  .price-tag { font-size: 0.9rem; }
  .buy-bar button, .qty-selector { height: 34px; font-size: 0.75rem; }
  .qty-selector { padding: 0 8px; gap: 10px; }
  .qty-btn { font-size: 1.1rem; }
  
  /* Scale leaves down further on standard mobile */
  .leaf-1-tl {
    width: clamp(70px, 18vw, 110px);
    transform: translate(-20%, -18%) rotate(5deg) scale(0.6);
    opacity: 0.18;
  }
  .leaf-1-tr {
    width: clamp(60px, 15vw, 100px);
    transform: translate(18%, -20%) scaleX(-1) rotate(10deg) scale(0.55);
    opacity: 0.18;
  }
  .leaf-2-br {
    width: clamp(60px, 15vw, 100px);
    transform: translate(15%, 20%) rotate(-45deg) scale(0.55);
    opacity: 0.2;
  }
  .leaf-3-bl {
    width: clamp(70px, 18vw, 110px);
    transform: translate(-18%, 20%) scaleX(-1) rotate(-45deg) scale(0.6);
    opacity: 0.22;
  }

  .title-yuge { font-size: clamp(2rem, 10vw, 2.5rem); }
  .title-vasundhara { font-size: clamp(2.4rem, 11vw, 2.8rem); }
  .coming-soon { font-size: 0.85rem; letter-spacing: 0.15em; }
  .quote { font-size: 0.8rem; margin-bottom: 12px; }
  
  .hero-carousel {
    max-width: 300px;
    padding: 16px 20px 14px;
    border-radius: 16px;
    margin-top: 20px;
  }
  .slide-text { font-size: 0.78rem; }
  .carousel-track { min-height: 50px; }

  .social-holder { 
    max-width: 300px;
    margin-top: 16px; 
    gap: 8px;
  }
  .social-pill-btn { 
    width: calc(50% - 4px); /* exactly 2 in a row */
    padding: 8px 6px; 
    font-size: 0.75rem;
  }
  .social-icon { 
    width: 16px; 
    height: 16px; 
  }
}

/* ─── SMALL MOBILE (≤ 360px) ─── */
@media (max-width: 360px) {
  /* Minimal leaf presence on smallest screens */
  .leaf-1-tl {
    width: 60px;
    transform: translate(-22%, -20%) rotate(5deg) scale(0.5);
    opacity: 0.15;
  }
  .leaf-1-tr {
    width: 50px;
    transform: translate(20%, -22%) scaleX(-1) rotate(10deg) scale(0.45);
    opacity: 0.15;
  }
  .leaf-2-br {
    width: 50px;
    transform: translate(18%, 22%) rotate(-45deg) scale(0.45);
    opacity: 0.18;
  }
  .leaf-3-bl {
    width: 60px;
    transform: translate(-20%, 22%) scaleX(-1) rotate(-45deg) scale(0.5);
    opacity: 0.18;
  }

  .title-yuge { font-size: 1.8rem; }
  .title-vasundhara { font-size: 2.1rem; }
  .btn-whatsapp { padding: 12px 24px; font-size: 0.75rem; }
  .hero-carousel { max-width: 270px; }
}

/* ─── SHORT HEIGHT DISPLAYS (≤ 700px) ─── */
@media (max-height: 700px) {
  .hero-section {
    padding-top: 60px;
    padding-bottom: 20px;
  }
  .title-yuge { font-size: clamp(2rem, 5vw, 3rem); }
  .title-vasundhara { font-size: clamp(2.5rem, 6vw, 4rem); }
  .quote { margin-bottom: 10px; }
  .hero-carousel { margin-top: 10px; }
}

/* ═══════════════════════════════════════════════
   ENTRY POPUP
   ═══════════════════════════════════════════════ */

/* Lock body scroll while popup is open */
body.popup-open {
  overflow: hidden;
}

/* ─── OVERLAY ─── */
.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: popupOverlayIn 0.4s ease-out;
}

@keyframes popupOverlayIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.popup-overlay.popup-overlay-closing {
  animation: popupOverlayOut 0.35s ease-in forwards;
}

@keyframes popupOverlayOut {
  from { opacity: 1; }
  to   { opacity: 0; }
}

/* ─── CARD ─── */
.popup-card {
  position: relative;
  width: 92%;
  max-width: 420px;
  padding: 40px 36px 36px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(200, 168, 75, 0.25);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.2) inset;
  animation: popupCardIn 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

@keyframes popupCardIn {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(16px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.popup-card.popup-closing {
  animation: popupCardOut 0.3s ease-in forwards;
}

@keyframes popupCardOut {
  from {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
  to {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }
}

/* ─── BRAND ─── */
.popup-brand {
  margin-bottom: 20px;
}

.popup-brand-main {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 0.12em;
  line-height: 1;
}

.popup-brand-sub {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 0.55rem;
  color: var(--dark-green);
  letter-spacing: 0.35em;
  margin-top: 3px;
  opacity: 0.6;
}

/* ─── TEXT ─── */
.popup-title {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark-green);
  margin: 0 0 10px;
  line-height: 1.3;
}

.popup-subtitle {
  font-family: 'Lora', serif;
  font-size: 0.85rem;
  color: #555;
  line-height: 1.6;
  margin: 0 0 28px;
}

/* ─── BUTTONS ─── */
.popup-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.popup-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 20px;
  border-radius: 50px;
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

/* Continue to Website */
.popup-btn-website {
  background: var(--dark-green);
  color: var(--white);
  border: 2px solid var(--dark-green);
}

.popup-btn-website:hover {
  background: var(--mid-green);
  border-color: var(--mid-green);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27, 60, 45, 0.3);
}

/* Connect on WhatsApp — matching the provided reference design */
.popup-btn-whatsapp {
  background: var(--cream);
  color: var(--dark-green);
  border: 2px solid var(--gold);
  box-shadow: 0 2px 10px rgba(200, 168, 75, 0.15);
}

.popup-btn-whatsapp:hover {
  background: var(--gold);
  color: var(--dark-green);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 168, 75, 0.35);
}

.popup-wa-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}

/* ─── POPUP RESPONSIVE ─── */
@media (max-width: 480px) {
  .popup-card {
    padding: 32px 24px 28px;
    border-radius: 18px;
    max-width: 340px;
  }

  .popup-brand-main {
    font-size: 1.15rem;
  }

  .popup-title {
    font-size: 0.95rem;
  }

  .popup-subtitle {
    font-size: 0.8rem;
    margin-bottom: 22px;
  }

  .popup-btn {
    font-size: 0.7rem;
    padding: 12px 16px;
  }
}
