:root {
  --bg-cream: #FAF4EE;
  --bg-surface: #FFFFFF;
  --bg-card: rgba(255, 255, 255, 0.96);
  --burgundy: #3D0914;
  --burgundy-dark: #26050C;
  --rose: #E03567;
  --rose-light: #FFEBF1;
  --coral: #FF6B8B;
  --gold: #F59E0B;
  --text-dark: #2A0D15;
  --text-muted: #6E535C;
  --border-warm: rgba(224, 53, 103, 0.16);
  --border-hover: rgba(224, 53, 103, 0.4);
  --shadow-soft: 0 14px 34px -10px rgba(61, 9, 20, 0.08);
  --shadow-hover: 0 20px 40px -8px rgba(224, 53, 103, 0.18);
  --radius-lg: 22px;
  --radius-pill: 999px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

/* Prevent horizontal overflow & layout shifts */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
  position: relative;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-cream);
  background-image: 
    radial-gradient(#E8D8CE 0.85px, transparent 0.85px),
    radial-gradient(#E8D8CE 0.85px, var(--bg-cream) 0.85px);
  background-size: 28px 28px;
  background-position: 0 0, 14px 14px;
  color: var(--text-dark);
  font-family: 'Plus Jakarta Sans', sans-serif;
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  padding-bottom: env(safe-area-inset-bottom, 20px);
}

/* ============================================================
   BACKGROUND: ANIMATIONS & FLOATING PARTICLES
   ============================================================ */
.animated-sky-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden !important;
  background: radial-gradient(circle at 50% 18%, rgba(255, 244, 232, 0.7) 0%, rgba(255, 233, 240, 0.75) 45%, rgba(255, 248, 244, 0.8) 100%);
}

.glowing-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(55px);
  opacity: 0.45;
  animation: driftOrb 16s infinite alternate ease-in-out;
}
.orb-1 { width: 300px; height: 300px; background: #FFD1DC; top: -50px; left: -50px; }
.orb-2 { width: 320px; height: 320px; background: #FFE4B5; top: 10%; right: -60px; animation-delay: -6s; }
.orb-3 { width: 340px; height: 340px; background: #FFCCD5; bottom: 8%; left: 10%; animation-delay: -10s; }

@keyframes driftOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, 15px) scale(1.05); }
  100% { transform: translate(-20px, -15px) scale(0.96); }
}

.floating-heart {
  position: absolute;
  font-size: 20px;
  opacity: 0.65;
  user-select: none;
  animation: floatUpward 14s infinite linear;
}
.heart-1 { left: 8%; animation-duration: 16s; animation-delay: 0s; font-size: 22px; }
.heart-2 { left: 24%; animation-duration: 19s; animation-delay: 4s; font-size: 16px; opacity: 0.45; }
.heart-3 { left: 72%; animation-duration: 17s; animation-delay: 2s; font-size: 24px; }
.heart-4 { left: 88%; animation-duration: 21s; animation-delay: 7s; font-size: 18px; opacity: 0.5; }
.heart-5 { left: 52%; animation-duration: 15s; animation-delay: 5s; font-size: 20px; }

@keyframes floatUpward {
  0% { transform: translateY(105vh) rotate(0deg) scale(0.8); opacity: 0; }
  15% { opacity: 0.7; }
  85% { opacity: 0.6; }
  100% { transform: translateY(-15vh) rotate(22deg) scale(1.15); opacity: 0; }
}

.paper-airplane-wrapper {
  position: absolute;
  top: 13%;
  left: -100px;
  animation: airplaneFlight 22s infinite linear;
  display: flex;
  align-items: center;
}
.paper-airplane-svg {
  width: 54px;
  height: 42px;
  transform: rotate(14deg);
  filter: drop-shadow(0 6px 12px rgba(224, 53, 103, 0.22));
}
.airplane-trail {
  width: 90px;
  height: 2px;
  border-top: 2px dashed rgba(224, 53, 103, 0.45);
  margin-left: -8px;
  transform: rotate(-4deg);
}
@keyframes airplaneFlight {
  0% { transform: translate(-30px, 0) scale(0.9); }
  32% { transform: translate(35vw, 30px) scale(1.02); }
  68% { transform: translate(70vw, -20px) scale(0.96); }
  100% { transform: translate(calc(100vw + 120px), 25px) scale(0.9); }
}

.running-horizon {
  position: fixed;
  bottom: 8px;
  left: -120px;
  display: flex;
  align-items: center;
  opacity: 0.85;
  animation: peopleRunning 25s infinite linear;
  z-index: 0;
}
.running-couple-svg {
  width: 88px;
  height: 70px;
  filter: drop-shadow(0 4px 10px rgba(61, 9, 20, 0.12));
  animation: runBobbing 0.5s infinite alternate ease-in-out;
}
@keyframes peopleRunning {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(100vw + 240px)); }
}
@keyframes runBobbing {
  0% { transform: translateY(0); }
  100% { transform: translateY(-6px); }
}

/* ============================================================
   TOP BANNER & NAVIGATION BAR
   ============================================================ */
.top-banner {
  background: linear-gradient(90deg, #E03567 0%, #3D0914 100%);
  color: #FFFDF9;
  text-align: center;
  padding: 7px 12px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  position: relative;
  z-index: 55;
  width: 100%;
}
.top-banner span {
  background: rgba(255, 255, 255, 0.22);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  margin-left: 4px;
  font-size: 0.7rem;
}

.nav-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 244, 238, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-warm);
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.brand-logo {
  font-family: 'Fredoka', cursive, sans-serif;
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--burgundy);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
}
.brand-logo span.script {
  font-family: 'Caveat', cursive;
  font-size: 2.1rem;
  color: var(--rose);
  margin-left: -1px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav-link {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}
.nav-link:hover { color: var(--rose); }

/* ============================================================
   USER PROFILE DROPDOWN (NAVBAR)
   ============================================================ */
.user-menu-wrapper {
  position: relative;
  display: inline-block;
}

.user-login-pill {
  background: #FFFFFF;
  border: 1.5px solid var(--rose);
  color: var(--burgundy);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(224, 53, 103, 0.15);
  transition: all 0.2s ease;
}
.user-login-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(224, 53, 103, 0.28);
  background: #FFF5F8;
}

.user-avatar-badge {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #E03567 0%, #FF6B8B 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
}
.online-indicator {
  width: 7px;
  height: 7px;
  background: #10B981;
  border-radius: 50%;
  display: none;
}
.dropdown-chevron {
  font-size: 9px;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

/* Floating Dropdown */
.user-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 230px;
  background: #FFFFFF;
  border: 1.5px solid var(--border-warm);
  border-radius: 18px;
  box-shadow: 0 18px 45px -6px rgba(61, 9, 20, 0.22);
  padding: 8px;
  display: none;
  flex-direction: column;
  z-index: 99999 !important;
  animation: authCardEnter 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.user-dropdown-menu.active {
  display: flex !important;
}

.dropdown-user-header {
  padding: 8px 10px 10px;
  border-bottom: 1px solid var(--border-warm);
  margin-bottom: 6px;
}
.dropdown-user-role {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--rose);
}
.dropdown-user-name {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--burgundy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dropdown-item-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  background: transparent;
  border: none;
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  text-align: left;
  transition: background 0.15s ease, color 0.15s ease;
}
.dropdown-item-btn:hover {
  background: var(--rose-light);
  color: var(--rose);
}
.dropdown-item-btn.signout {
  color: #AA324E;
  border-top: 1px dashed var(--border-warm);
  margin-top: 4px;
  border-radius: 0 0 10px 10px;
}
.dropdown-item-btn.signout:hover {
  background: #FFEBEF;
}

.btn-create-nav {
  background: linear-gradient(135deg, #E03567 0%, #C42354 100%);
  color: #fff;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(224, 53, 103, 0.28);
  white-space: nowrap;
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-bar { padding: 10px 14px; }
  .brand-logo { font-size: 1.45rem; }
  .brand-logo span.script { font-size: 1.85rem; }
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 840px;
  margin: 32px auto 20px;
  text-align: center;
  padding: 0 16px;
}
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  border: 1.5px solid rgba(224, 53, 103, 0.25);
  color: var(--rose);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 5px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
  box-shadow: 0 4px 12px rgba(224, 53, 103, 0.08);
}
.hero-title {
  font-family: 'Fredoka', cursive, sans-serif;
  font-size: clamp(2.1rem, 6.4vw, 3.8rem);
  font-weight: 700;
  color: var(--burgundy);
  line-height: 1.15;
  letter-spacing: -0.3px;
  margin-bottom: 8px;
  text-shadow: 0 2px 14px rgba(255, 107, 139, 0.18);
}
.hero-title .gradient-word {
  background: linear-gradient(135deg, #E03567 0%, #FF6B8B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.hero-handwritten-sub {
  font-family: 'Caveat', cursive;
  font-size: clamp(1.5rem, 4.8vw, 2.3rem);
  color: var(--rose);
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.hero-subtitle {
  font-size: clamp(0.9rem, 3.2vw, 1.05rem);
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 20px;
  font-weight: 500;
  line-height: 1.55;
}

/* Category Filter Chips */
.filter-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto 24px;
  padding: 0 14px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  justify-content: flex-start;
  padding-bottom: 4px;
}
.filter-wrapper::-webkit-scrollbar { display: none; }
@media (min-width: 769px) {
  .filter-wrapper { justify-content: center; }
}
.filter-chip {
  background: #FFFFFF;
  border: 1.5px solid var(--border-warm);
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.filter-chip.active {
  background: linear-gradient(135deg, #E03567 0%, #C42354 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(224, 53, 103, 0.28);
}

/* ============================================================
   CATALOG GRID
   ============================================================ */
.grid-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto 50px;
  padding: 0 14px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.template-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border-warm);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.22s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.template-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-hover);
}
.card-preview-media {
  width: 100%;
  height: 175px;
  position: relative;
  background: #F3EBE0;
  overflow: hidden;
}
.card-preview-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.badge-discount {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--rose);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}
.card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-tag {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 4px;
}
.card-title {
  font-family: 'Fredoka', cursive, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--burgundy);
  line-height: 1.25;
  margin-bottom: 6px;
}
.card-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 12px;
  flex-grow: 1;
}
.card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 14px;
}
.feature-tag {
  background: #FFF1F4;
  border: 1px solid rgba(224, 53, 103, 0.12);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-warm);
  padding-top: 12px;
}
.price-wrap {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.price-current {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--burgundy);
}
.price-strike {
  font-size: 0.82rem;
  color: #9C858D;
  text-decoration: line-through;
}
.card-actions {
  display: flex;
  gap: 6px;
}
.btn-preview {
  background: transparent;
  color: var(--burgundy);
  border: 1.5px solid var(--border-warm);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}
.btn-customize {
  background: linear-gradient(135deg, #E03567 0%, #C42354 100%);
  color: #fff;
  border: none;
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(224, 53, 103, 0.25);
}

/* ============================================================
   USER DASHBOARD SECTION (BUYS, REMINDERS, PERKS)
   ============================================================ */
.user-dashboard-wrapper {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid var(--border-warm);
  border-radius: 26px;
  padding: 26px 22px;
  box-shadow: 0 18px 45px -10px rgba(61, 9, 20, 0.08);
  margin-bottom: 38px;
  animation: authCardEnter 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.dashboard-user-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  border-bottom: 1.5px dashed var(--border-warm);
  padding-bottom: 18px;
  margin-bottom: 22px;
}

.user-profile-summary {
  display: flex;
  align-items: center;
  gap: 14px;
}

.user-large-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #E03567 0%, #FF6B8B 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 8px 18px rgba(224, 53, 103, 0.25);
}

.dashboard-tab-pills {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  overflow-x: auto;
  scrollbar-width: none;
}
.dashboard-tab-pills::-webkit-scrollbar { display: none; }

.dash-tab-btn {
  background: #FCF8F5;
  border: 1.5px solid var(--border-warm);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.dash-tab-btn.active {
  background: var(--burgundy);
  color: #FFFFFF;
  border-color: var(--burgundy);
}

.dash-tab-pane {
  display: none;
}
.dash-tab-pane.active {
  display: block;
}

/* Purchased Surprise Cards Grid */
.purchases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}

.purchase-item-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border-warm);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.purchase-title {
  font-family: 'Fredoka', cursive, sans-serif;
  font-size: 1.15rem;
  color: var(--burgundy);
  margin-bottom: 4px;
}

.purchase-details {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
}

.btn-open-gift {
  background: linear-gradient(135deg, #E03567 0%, #C42354 100%);
  color: #FFFFFF;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(224, 53, 103, 0.25);
}

.btn-copy-link {
  background: #FCF8F5;
  border: 1.5px solid var(--border-warm);
  color: var(--burgundy);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
}

/* ============================================================
   HOW IT WORKS & REMINDERS
   ============================================================ */
.how-section {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1000px;
  margin: 20px auto 60px;
  padding: 0 16px;
  text-align: center;
}
.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 6px;
}
.section-title {
  font-family: 'Fredoka', cursive, sans-serif;
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  font-weight: 700;
  color: var(--burgundy);
  margin-bottom: 24px;
}
.how-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.how-step-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-warm);
  border-radius: 18px;
  padding: 24px 18px;
  box-shadow: var(--shadow-soft);
  text-align: left;
}
.step-number {
  font-family: 'Caveat', cursive;
  font-size: 2.2rem;
  color: var(--rose);
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1;
}
.step-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--burgundy);
  margin-bottom: 6px;
}
.step-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.reminder-section {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 900px;
  margin: 20px auto 60px;
  padding: 0 14px;
}
.reminder-card-container {
  background: var(--bg-card);
  border: 1.5px solid var(--border-warm);
  border-radius: 22px;
  padding: 24px 18px;
  box-shadow: var(--shadow-soft);
}
.reminder-header {
  text-align: center;
  margin-bottom: 20px;
}
.reminder-header h2 {
  font-family: 'Fredoka', cursive, sans-serif;
  font-size: clamp(1.7rem, 4.5vw, 2.2rem);
  font-weight: 700;
  color: var(--burgundy);
  margin-bottom: 6px;
}
.reminder-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
}

.permission-prompt-bar {
  background: var(--rose-light);
  border: 1.5px dashed rgba(224, 53, 103, 0.4);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}
@media (min-width: 600px) {
  .permission-prompt-bar {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
.permission-text {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--burgundy);
}
.btn-enable-notif {
  background: var(--rose);
  color: #fff;
  border: none;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}
.reminder-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 16px;
}
@media (min-width: 600px) {
  .reminder-form-grid { grid-template-columns: repeat(3, 1fr); }
}
.btn-add-reminder {
  background: var(--burgundy);
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
}
.saved-reminders-title {
  font-family: 'Fredoka', cursive, sans-serif;
  font-size: 1.25rem;
  color: var(--burgundy);
  margin: 24px 0 12px;
  border-top: 1px solid var(--border-warm);
  padding-top: 18px;
}
.reminders-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.reminder-item {
  background: #FDF9F5;
  border: 1px solid var(--border-warm);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.rem-title-text {
  font-weight: 700;
  color: var(--burgundy);
  font-size: 0.92rem;
}
.rem-date-tag {
  font-size: 0.76rem;
  color: var(--text-muted);
}
.countdown-badge {
  background: var(--rose-light);
  color: var(--rose);
  font-size: 0.76rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
}
.btn-cal-download {
  background: transparent;
  border: 1px solid var(--border-warm);
  color: var(--burgundy);
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
}

/* ============================================================
   REVIEWS SECTION
   ============================================================ */
.reviews-section {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 950px;
  margin: 20px auto 60px;
  padding: 0 14px;
}
.reviews-header {
  text-align: center;
  margin-bottom: 24px;
}
.reviews-header h2 {
  font-family: 'Fredoka', cursive, sans-serif;
  font-size: clamp(1.8rem, 5vw, 2.3rem);
  font-weight: 700;
  color: var(--burgundy);
}
.rating-summary-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1.5px solid var(--border-warm);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  margin-top: 6px;
  color: var(--burgundy);
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.review-card {
  background: #fff;
  border: 1.5px solid var(--border-warm);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow-soft);
}
.review-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.review-author {
  font-weight: 700;
  color: var(--burgundy);
  font-size: 0.88rem;
}
.badge-verified-buyer {
  background: #ecfdf5;
  color: #059669;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
}
.review-text {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}
.review-template-tag {
  margin-top: 10px;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--rose);
  text-transform: uppercase;
}
.write-review-box {
  background: #fff;
  border: 1.5px solid var(--border-warm);
  border-radius: 20px;
  padding: 20px 16px;
  text-align: left;
}
.write-review-box h3 {
  font-family: 'Fredoka', cursive, sans-serif;
  font-size: 1.4rem;
  color: var(--burgundy);
  margin-bottom: 4px;
}
.write-review-box p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

/* ============================================================
   PREMIUM AUTH MODAL (VISIBLE & HIGH PRIORITY)
   ============================================================ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(35, 11, 18, 0.68);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 9999999 !important;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-overlay.active {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.auth-card {
  background: #FFFFFF;
  width: 100%;
  max-width: 410px;
  border-radius: 28px;
  border: 1px solid rgba(224, 53, 103, 0.18);
  padding: 34px 26px 26px;
  box-shadow: 0 28px 70px -12px rgba(61, 9, 20, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  position: relative;
  overflow: hidden;
  text-align: center;
  z-index: 10000000 !important;
  animation: authCardEnter 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes authCardEnter {
  0% { opacity: 0; transform: scale(0.94) translateY(14px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.auth-glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(38px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}
.blob-top { width: 180px; height: 180px; background: #ffd1dc; top: -60px; right: -50px; }
.blob-bottom { width: 190px; height: 190px; background: #ffe3b3; bottom: -60px; left: -50px; }

.auth-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(110, 83, 92, 0.08);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--burgundy);
  transition: all 0.2s ease;
  z-index: 2;
}
.auth-close-btn:hover {
  background: rgba(224, 53, 103, 0.15);
  color: var(--rose);
  transform: rotate(90deg);
}

.auth-icon-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 12px;
  z-index: 1;
}
.auth-envelope-ring {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFF1F4 0%, #FFE4EB 100%);
  border: 1.5px solid rgba(224, 53, 103, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(224, 53, 103, 0.18);
  animation: envelopeBob 2.4s infinite ease-in-out;
}
.auth-envelope-icon { font-size: 26px; transform: translateY(-1px); }
.auth-sparkle {
  position: absolute;
  top: -4px;
  right: -6px;
  font-size: 14px;
  animation: sparkleTwinkle 1.8s infinite alternate ease-in-out;
}
@keyframes envelopeBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@keyframes sparkleTwinkle {
  0% { transform: scale(0.8) rotate(0deg); opacity: 0.5; }
  100% { transform: scale(1.2) rotate(20deg); opacity: 1; }
}

.auth-header-wrap { position: relative; z-index: 1; margin-bottom: 22px; }
.auth-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 4px;
}
.auth-title {
  font-family: 'Newsreader', serif;
  font-size: 1.85rem;
  font-weight: 600;
  font-style: italic;
  color: var(--burgundy);
  letter-spacing: -0.3px;
  line-height: 1.15;
  margin-bottom: 6px;
}
.auth-subtitle {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.45;
  max-width: 290px;
  margin: 0 auto;
}

.auth-step-container { position: relative; z-index: 1; }
.auth-input-group { text-align: left; margin-bottom: 16px; }
.auth-label {
  display: block;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--burgundy);
  margin-bottom: 6px;
}
.auth-input-wrapper { position: relative; display: flex; align-items: center; }
.auth-input-icon {
  position: absolute;
  left: 14px;
  font-size: 15px;
  pointer-events: none;
  opacity: 0.6;
}
.auth-input {
  width: 100%;
  background: #FCF9F6;
  border: 1.5px solid rgba(110, 83, 92, 0.18);
  border-radius: 14px;
  padding: 12px 14px 12px 40px;
  font-size: 0.94rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-dark);
  font-weight: 600;
  outline: none;
  transition: all 0.2s ease;
}
.auth-input:focus {
  background: #FFFFFF;
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(224, 53, 103, 0.14);
}

.otp-boxes-wrapper { display: flex; justify-content: center; }
.otp-digits-field {
  padding: 12px 14px !important;
  text-align: center;
  font-size: 1.45rem !important;
  letter-spacing: 8px;
  font-weight: 800;
  color: var(--burgundy);
  background: #FFFBFD;
  border: 1.8px solid var(--rose);
}

.auth-submit-btn {
  width: 100%;
  background: linear-gradient(135deg, #E03567 0%, #C42354 100%);
  color: #FFFFFF;
  border: none;
  padding: 13px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 800;
  font-family: 'Plus Jakarta Sans', sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(224, 53, 103, 0.28);
  transition: all 0.22s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}
.auth-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(224, 53, 103, 0.38);
}
.btn-arrow { transition: transform 0.2s ease; }
.auth-submit-btn:hover .btn-arrow { transform: translateX(3px); }

.auth-footer-actions { margin-top: 14px; }
.auth-link-btn {
  background: transparent;
  border: none;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
}
.auth-link-btn:hover { color: var(--rose); text-decoration: underline; }

.auth-feedback-notice {
  margin-top: 14px;
  font-size: 0.84rem;
  font-weight: 700;
  min-height: 18px;
}

/* ============================================================
   DYNAMIC CUSTOMIZER & CHECKOUT MODAL
   ============================================================ */
.customizer-card {
  background: #FFFFFF;
  width: 100%;
  max-width: 460px;
  border-radius: 26px;
  padding: 28px 22px;
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.35);
  position: relative;
  max-height: 90dvh;
  overflow-y: auto;
  z-index: 10000000 !important;
  animation: authCardEnter 0.22s cubic-bezier(0.18, 0.89, 0.32, 1.28) forwards;
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #F3ECE6;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--burgundy);
}
.modal-title {
  font-family: 'Fredoka', cursive, sans-serif;
  font-size: 1.65rem;
  color: var(--burgundy);
  margin-bottom: 4px;
}
.modal-sub {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.form-group {
  margin-bottom: 14px;
  text-align: left;
}
.form-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--rose);
  margin-bottom: 5px;
}
.form-input, .form-textarea, .form-select {
  width: 100%;
  background: #FAF5F0;
  border: 1.5px solid var(--border-warm);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 0.92rem;
  font-family: inherit;
  color: var(--text-dark);
  outline: none;
}

/* PayPal & Card Container */
.checkout-box {
  margin-top: 18px;
  border-top: 1.5px dashed var(--border-warm);
  padding-top: 16px;
}
.checkout-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 0.88rem;
  color: var(--burgundy);
  font-weight: 700;
}
.checkout-total-amount {
  font-size: 1.3rem;
  color: var(--rose);
  font-weight: 800;
}
#paypal-button-container {
  margin-top: 12px;
  min-height: 100px;
}

footer {
  border-top: 1px solid var(--border-warm);
  padding: 28px 16px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  position: relative;
  z-index: 2;
}
/* ============================================================
   POST-PAYMENT SUCCESS MODAL ("GIFT UNLOCKED")
   ============================================================ */
.success-modal-card {
  background: #FFFFFF;
  width: 100%;
  max-width: 440px;
  border-radius: 28px;
  padding: 30px 22px;
  text-align: center;
  box-shadow: 0 25px 65px rgba(61, 9, 20, 0.28);
  position: relative;
  z-index: 10000000 !important;
  animation: authCardEnter 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  max-height: 92dvh;
  overflow-y: auto;
}

.success-badge-icon {
  width: 60px;
  height: 60px;
  background: #DCFCE7;
  color: #16A34A;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 12px;
}

.success-title {
  font-family: 'Fredoka', cursive, sans-serif;
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--burgundy);
  margin-bottom: 4px;
}

.success-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.thank-you-box {
  background: linear-gradient(135deg, #FFF5F7 0%, #FFFDF0 100%);
  border: 1.5px solid rgba(224, 53, 103, 0.15);
  border-radius: 20px;
  padding: 18px 14px;
  margin-bottom: 16px;
}

.thank-you-box .heart-emoji {
  font-size: 26px;
  margin-bottom: 4px;
}

.thank-you-box h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--burgundy);
  margin-bottom: 6px;
}

.thank-you-box p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.order-pill {
  display: inline-block;
  background: #F3ECE6;
  color: var(--burgundy);
  font-size: 0.76rem;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}

.link-box-wrapper {
  background: #FAF5F0;
  border: 1.5px solid var(--border-warm);
  border-radius: 14px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.link-input-field {
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.82rem;
  color: var(--text-dark);
  font-family: inherit;
  font-weight: 600;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-copy-mini {
  background: #FFFFFF;
  border: 1px solid var(--border-warm);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  color: var(--burgundy);
  white-space: nowrap;
}

.btn-open-gift-primary {
  width: 100%;
  background: linear-gradient(135deg, #7C3AED 0%, #6D28D9 100%);
  color: #FFFFFF;
  border: none;
  padding: 13px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(109, 40, 217, 0.25);
  margin-bottom: 16px;
  text-decoration: none;
}

.share-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.btn-share-social {
  background: #FFFFFF;
  border: 1.5px solid var(--border-warm);
  border-radius: 12px;
  padding: 10px;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--text-dark);
  text-decoration: none;
}
.btn-share-social.whatsapp { color: #16A34A; }
.btn-share-social.full { grid-column: span 2; }