/* ==========================================================================
   Illusions Premier Spa & Wellness Ecosystem - Main Subsystem Stylesheet
   Color System: 90/10 Rule (Charcoal, Soft Ivory, Champagne Gold, Rich Walnut, Coral)
   ========================================================================== */

:root {
  /* Common / Accent Values */
  --color-stone: #655f62;
  --color-sage: #8A9A86;
  
  /* Signature Accent - strictly reserved for CTAs, notifications & active states */
  --color-coral: #E05A47;
  --color-coral-hover: #C94938;

  /* Form Element Standard Heights (Rule 9) */
  --input-height: 46px;
  --input-radius: 10px;
  --input-border: 1px solid rgba(24, 23, 26, 0.12);

  /* Elevation & Shadows */
  --shadow-sm: 0 2px 8px rgba(24, 23, 26, 0.05);
  --shadow-md: 0 8px 24px rgba(24, 23, 26, 0.08);
  --shadow-lg: 0 16px 40px rgba(24, 23, 26, 0.12);
  --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.15);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);

  /* Default Nappily Palette: Theme 1 (Joyful Orchid & Sunshine) */
  --color-nappily-pink: #E34983;        /* Radiant Orchid Pink (Energy & Action) */
  --color-nappily-pink-hover: #C9336E;  /* Deeper Orchid */
  --color-nappily-plum: #16205B;        /* Midnight Sapphire Navy (Packaging Heading Typography) */
  --color-nappily-bg: #FFF7FA;          /* Blossom Cloud Canvas (Warm & Joyful) */
  --color-nappily-soft-pink: #FFE8F0;   /* Soft Rose Accent */
  --color-nappily-gold: #FFB800;        /* Sunshine Gold (Happiness Badges) */
  --color-nappily-border: rgba(227, 73, 131, 0.18);
  --color-nappily-glow: 0 10px 30px rgba(227, 73, 131, 0.2);
  --color-ivory: #FFF7FA;
  --color-charcoal: #16205B;
  --color-charcoal-light: #232D6E;
  --color-gold: #FFB800;
  --color-walnut: #16205B;
  --btn-bg: #E34983;
  --btn-bg-hover: #C9336E;
  --btn-shadow: 0 4px 14px rgba(227, 73, 131, 0.35);
  --header-bg: rgba(255, 247, 250, 0.94);
  --header-border: rgba(227, 73, 131, 0.15);
}

/* Nappily inner-page readability safeguards */
.about-header h1,
.contact-header h1,
.cart-header h1,
.products-header h1 {
  color: #FFFFFF;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.5);
}

.about-header p,
.contact-header p,
.cart-header p,
.products-header p {
  color: #F3B5C8;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}

footer [style*="color: var(--color-stone)"] {
  color: rgba(255, 255, 255, 0.76) !important;
}

/* ==========================================================================
   NAPPILY EVER AFTER THEME SYSTEM (ISOLATED TO NAPPILY WEB SUBSYSTEM)
   Theme 1 (Default): Joyful Orchid & Sunshine (Packaging Inspired)
   Theme 2: Classic Muted Rose & Stone (Heritage Subdued)
   ========================================================================== */

/* Theme 1: Joyful Orchid & Sunshine (Packaging Inspired - Default for Nappily) */
html,
html[data-theme="joyful"] {
  --color-nappily-pink: #E34983;        /* Radiant Orchid Pink (Energy & Action) */
  --color-nappily-pink-hover: #C9336E;  /* Deeper Orchid */
  --color-nappily-plum: #16205B;        /* Midnight Sapphire Navy (Packaging Heading Typography) */
  --color-nappily-bg: #FFF7FA;          /* Blossom Cloud Canvas (Warm & Joyful) */
  --color-nappily-soft-pink: #FFE8F0;   /* Soft Rose Accent */
  --color-nappily-gold: #FFB800;        /* Sunshine Amber Gold (Happiness Badges) */
  --color-nappily-mint: #00C48C;        /* Fresh Mint / Hygiene Vitality */
  --color-nappily-border: rgba(227, 73, 131, 0.22);
  --color-nappily-glow: 0 8px 24px rgba(227, 73, 131, 0.18);
  --color-ivory: #FFF7FA;
  --color-charcoal: #16205B;
  --color-charcoal-light: #232D6E;
  --color-gold: #FFB800;
  --color-walnut: #16205B;
  --btn-bg: #E34983;
  --btn-bg-hover: #C9336E;
  --btn-shadow: 0 4px 14px rgba(227, 73, 131, 0.25);
  --header-bg: #FFF7FA;
  --header-border: rgba(227, 73, 131, 0.18);
}

/* Theme 2: Classic Muted Rose & Stone (Heritage Subdued Theme) */
html[data-theme="classic"],
html[data-theme="luxury"] {
  --color-nappily-pink: #D48496;        /* Muted Rose */
  --color-nappily-pink-hover: #BC6E80;
  --color-nappily-plum: #4C183F;        /* Classic Plum */
  --color-nappily-bg: #FAF6F4;          /* Soft Stone Canvas */
  --color-nappily-soft-pink: #F8E2E9;
  --color-nappily-gold: #C89A5A;        /* Classic Heritage Gold */
  --color-nappily-mint: #8A9A86;
  --color-nappily-border: rgba(24, 23, 26, 0.08);
  --color-nappily-glow: 0 8px 24px rgba(212, 132, 150, 0.15);
  --color-ivory: #FAF6F4;
  --color-charcoal: #18171A;
  --color-charcoal-light: #232227;
  --color-gold: #C89A5A;
  --color-walnut: #4C183F;
  --btn-bg: #D48496;
  --btn-bg-hover: #BC6E80;
  --btn-shadow: 0 4px 14px rgba(212, 132, 150, 0.25);
  --header-bg: #FAF6F4;
  --header-border: rgba(200, 154, 90, 0.2);
}

/* Botanical Theme Override (If specifically selected) */
html[data-theme="botanical"] {
  --color-nappily-pink: #567F2E;
  --color-nappily-pink-hover: #466824;
  --color-nappily-plum: #324126;
  --color-nappily-bg: #F7FAF4;
  --color-nappily-soft-pink: #E8EFE0;
  --color-nappily-gold: #7BB942;
  --color-nappily-mint: #567F2E;
  --color-nappily-border: rgba(86, 127, 46, 0.2);
  --color-nappily-glow: 0 8px 24px rgba(86, 127, 46, 0.15);
  --color-ivory: #F7FAF4;
  --color-charcoal: #232D1B;
  --color-gold: #7BB942;
  --color-walnut: #3A4D28;
  --btn-bg: #567F2E;
  --btn-bg-hover: #466824;
  --btn-shadow: 0 4px 14px rgba(86, 127, 46, 0.25);
  --header-bg: #F7FAF4;
  --header-border: rgba(123, 185, 66, 0.2);
}

/* Reset & Typography */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--color-ivory);
  background-image: url('../assets/nappily-floral-pattern.svg');
  background-repeat: repeat;
  background-size: 320px 320px;
  background-attachment: fixed;
  color: var(--color-charcoal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  max-width: 100%;
  width: 100%;
  position: relative;
  transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}

/* Rule 29: Modal & Drawer Scroll-Locking */
html.modal-open,
html.body-scroll-lock,
html.concierge-open,
body.modal-open,
body.body-scroll-lock,
body.concierge-open {
  overflow: hidden !important;
  touch-action: none !important;
  overscroll-behavior: contain !important;
  max-width: 100% !important;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--color-charcoal);
}

/* Standard Unified Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header & Navigation (Clean Solid Background, Zero Blurs) */
.spa-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--header-bg, #FFF7FA);
  border-bottom: 1.5px solid var(--header-border, rgba(227, 73, 131, 0.18));
  transition: var(--transition-fast);
}

.spa-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  background: var(--color-charcoal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  border: 1px solid var(--color-gold);
}

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

.brand-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-charcoal);
}

.brand-sub {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold);
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: var(--color-charcoal);
  font-size: 0.92rem;
  font-weight: 600;
  transition: var(--transition-fast);
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-nappily-pink);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--color-nappily-pink);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.branch-select-wrapper {
  position: relative;
}

.branch-select {
  height: 42px;
  padding: 0 1rem;
  border-radius: var(--input-radius);
  border: var(--input-border);
  background: #FFFFFF;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-charcoal);
  cursor: pointer;
  outline: none;
  transition: var(--transition-fast);
}

.branch-select:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px var(--color-gold-glow);
}

/* Premium Buttons (Solid, Crisp, Zero Blurs) */
.btn-primary {
  height: var(--input-height);
  padding: 0 1.75rem;
  border-radius: var(--input-radius);
  background: var(--btn-bg);
  color: #FFFFFF;
  font-size: 0.9rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.btn-primary:hover {
  background: var(--btn-bg-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

/* Luxury Nav Basket Pill - Solid Packaging Colors (Zero Gradients, Zero Blurs) */
.nav-cart-btn {
  height: 42px;
  padding: 0 1.35rem;
  border-radius: 999px;
  background: var(--color-nappily-pink, #E34983);
  color: #FFFFFF !important;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: var(--transition-fast);
  position: relative;
  white-space: nowrap;
}

.nav-cart-btn:hover {
  background: var(--color-nappily-pink-hover, #C9336E);
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
}

.nav-cart-btn .cart-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--color-nappily-gold, #FFB800);
  color: #16205B;
  font-size: 0.72rem;
  font-weight: 800;
  min-width: 20px;
  height: 20px;
  padding: 0 4px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #FFFFFF;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.nav-call-btn {
  height: 42px;
  padding: 0 1.15rem;
  border-radius: 999px;
  background: var(--color-nappily-plum, #16205B);
  color: #FFFFFF !important;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  transition: var(--transition-fast);
  white-space: nowrap;
}

.nav-call-btn:hover {
  background: #0E1640;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-outline {
  height: var(--input-height);
  padding: 0 1.75rem;
  border-radius: var(--input-radius);
  background: transparent;
  color: var(--color-charcoal);
  border: 1.5px solid var(--color-charcoal);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
  text-decoration: none;
}

.btn-outline:hover {
  background: var(--color-charcoal);
  color: var(--color-ivory);
}

.btn-outline-light, 
.btn-outline-light:visited {
  height: var(--input-height);
  padding: 0 1.75rem;
  border-radius: var(--input-radius);
  background: transparent;
  color: #FFFFFF !important;
  border: 1.5px solid #FFFFFF;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
  text-decoration: none !important;
}

.btn-outline-light:hover {
  background: #FFFFFF;
  color: var(--color-charcoal) !important;
  border-color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(200, 154, 90, 0.3);
}

/* Edge-to-Edge Full-Width Slideshow Hero Section */
.hero-slider-section {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  height: 88vh;
  min-height: 600px;
  overflow: hidden;
  background: var(--color-charcoal);
}

.hero-slider-track {
  position: relative;
  width: 100%;
  height: 100%;
}

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

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 2s cubic-bezier(0.25, 1, 0.35, 1), visibility 2s step-end;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
  transition: opacity 2s cubic-bezier(0.25, 1, 0.35, 1), visibility 0s step-start;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.08); /* Start slightly zoomed in for slow zoom back-and-forth movement */
  transition: transform 6s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-slide.active .hero-slide-bg {
  transform: scale(1); /* Slow cinematic zoom-out back to native scale */
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  /* Darken slightly at the base to keep white text on the bottom bar ultra-legible */
  background: linear-gradient(
    180deg, 
    rgba(24, 23, 26, 0.4) 0%, 
    rgba(24, 23, 26, 0.25) 50%, 
    rgba(24, 23, 26, 0.75) 100%
  );
  z-index: 1;
}

.hero-slide-container {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  width: 100%;
}

/* Beautiful bottom horizontal container split bar across the screen width */
.hero-glass-card {
  width: 100%;
  max-width: 100% !important;
  background: rgba(24, 23, 26, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1.5rem 2rem;
  border-radius: 16px 16px 0 0;
  border: 1px solid rgba(200, 154, 90, 0.2);
  border-bottom: none;
  box-shadow: var(--shadow-glass);
  
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-sizing: border-box;
}

/* Slimmer layout typography details */
.hero-text-content-split {
  flex: 1;
  max-width: 45%;
  text-align: left;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.65rem;
  border-radius: 30px;
  background: rgba(200, 154, 90, 0.15);
  border: 1px solid rgba(200, 154, 90, 0.3);
  color: var(--color-gold-light);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.hero-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.hero-title span {
  color: var(--color-gold);
  font-style: italic;
}

.hero-description {
  font-size: 0.85rem;
  color: rgba(248, 245, 240, 0.8);
  margin-bottom: 0;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis; /* Keeps long desc clean on wide grids */
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Slider Controls merged inside the bottom container panel */
.hero-slider-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.4rem 0.8rem;
  border-radius: 30px;
}

.slider-arrow-btn {
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  transition: var(--transition-fast);
}

.slider-arrow-btn:hover {
  color: var(--color-gold);
  transform: scale(1.15);
}

.slider-dots-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: var(--transition-fast);
}

.slider-dot.active {
  background: var(--color-gold);
  width: 24px;
  border-radius: 10px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-gold);
}

.stat-label {
  font-size: 0.78rem;
  color: rgba(248, 245, 240, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Services Section */
.services-section {
  padding: 100px 0;
  background: var(--color-ivory);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-subtitle {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* Category Filter Bar */
.category-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-btn {
  height: 40px;
  padding: 0 1.25rem;
  border-radius: 20px;
  border: 1px solid rgba(24, 23, 26, 0.12);
  background: transparent;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-charcoal);
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--color-charcoal);
  color: var(--color-ivory);
  border-color: var(--color-charcoal);
}

/* Treatment Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2rem;
}

.treatment-card {
  background: #FFFFFF;
  border-radius: 14px;
  padding: 2rem;
  border: 1px solid rgba(24, 23, 26, 0.08);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
  position: relative;
}

.treatment-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
}

.treatment-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-charcoal);
  flex: 1 1 60%;
}

.treatment-tag {
  position: static; /* Normal flex flow prevents any overlapping */
  display: inline-block;
  background: var(--badge-bg);
  color: var(--badge-color);
  border: var(--badge-border);
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.treatment-desc {
  font-size: 0.9rem;
  color: rgba(24, 23, 26, 0.7);
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.treatment-pricing-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(24, 23, 26, 0.06);
}

.duration-price {
  display: flex;
  flex-direction: column;
}

.duration-text {
  font-size: 0.78rem;
  color: rgba(24, 23, 26, 0.5);
  text-transform: uppercase;
  font-weight: 600;
}

.price-text {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-charcoal);
}

.btn-book-sm {
  height: 38px;
  padding: 0 1.25rem;
  border-radius: 8px;
  background: var(--btn-bg);
  color: #FFFFFF;
  border: none;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: var(--transition-fast);
}

.btn-book-sm:hover {
  background: var(--btn-bg-hover);
  transform: translateY(-1px);
}

/* Highlights & Experience Grid */
.highlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Locations & Sanctuary Grid */
.locations-section {
  padding: 90px 0;
  background: var(--color-charcoal);
  color: var(--color-ivory);
}

.locations-section .section-title {
  color: var(--color-ivory);
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.location-card {
  background: var(--color-charcoal-light);
  border-radius: 14px;
  padding: 2rem;
  border: 1px solid rgba(200, 154, 90, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.location-name {
  color: var(--color-gold);
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.location-detail {
  font-size: 0.9rem;
  color: rgba(248, 245, 240, 0.8);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.location-detail svg {
  color: var(--color-gold);
  flex-shrink: 0;
  margin-top: 3px;
}

.location-hours {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  color: rgba(248, 245, 240, 0.6);
}

/* Booking Drawer & Modal */
.booking-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(24, 23, 26, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-fast);
}

.booking-drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.booking-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 520px;
  background: var(--color-ivory);
  z-index: 2001;
  transform: translateX(100%);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.2);
  box-sizing: border-box; /* Force sizing boundaries */
}

/* Perfect alignment overrides for tablet and mobile devices */
@media (max-width: 576px) {
  .booking-drawer {
    right: 0;
    left: 0; /* Center-align completely on mobile viewports */
    width: 100vw;
    max-width: 100vw;
    height: 100%; /* Use auto flow heights instead of locked 100vh layout */
    max-height: 100vh;
    border-radius: 0;
    display: flex;
    flex-direction: column;
  }

  .drawer-header {
    padding: 1.25rem 1.5rem;
  }

  .drawer-body {
    padding: 1.5rem 1.25rem;
    box-sizing: border-box;
    overflow-x: hidden; /* Strongly restrict side-to-side scrolling wiggle */
  }

  .drawer-footer {
    padding: 1.25rem 1.5rem;
    box-sizing: border-box;
  }

  /* Make sure flex inputs wrap neatly and stay inside boundaries */
  .form-row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
}

.booking-drawer.active {
  transform: translateX(0);
}

.drawer-header {
  padding: 1.75rem 2rem;
  border-bottom: 1px solid rgba(24, 23, 26, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFFFFF;
}

.drawer-title {
  font-size: 1.25rem;
  color: var(--color-charcoal);
}

.btn-close-drawer {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-charcoal);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.btn-close-drawer:hover {
  background: rgba(24, 23, 26, 0.05);
}

.drawer-body {
  padding: 2rem;
  overflow-y: auto;
  flex-grow: 1;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-charcoal);
  margin-bottom: 0.5rem;
}

/* Premium Standard Inputs (Rule 9) */
.form-input, .form-select, .form-textarea {
  width: 100%;
  height: var(--input-height);
  padding: 0 1rem;
  border-radius: var(--input-radius);
  border: var(--input-border);
  background: #FFFFFF;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--color-charcoal);
  outline: none;
  transition: var(--transition-fast);
}

.form-textarea {
  height: auto;
  padding: 0.75rem 1rem;
  resize: vertical;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px var(--color-gold-glow);
}

.drawer-footer {
  padding: 1.5rem 2rem;
  border-top: 1px solid rgba(24, 23, 26, 0.08);
  background: #FFFFFF;
}

/* Luxury Footer System */
.spa-footer {
  background: #111012;
  color: rgba(248, 245, 240, 0.7);
  padding: 60px 0 40px;
  border-top: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand-wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-col h4 {
  color: var(--color-ivory);
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
  position: relative;
  display: inline-block;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--color-nappily-pink);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.85rem;
}

.footer-links a {
  color: rgba(248, 245, 240, 0.65);
  text-decoration: none;
  font-size: 0.88rem;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a:hover {
  color: var(--color-nappily-pink);
  transform: translateX(3px);
}

.footer-newsletter-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(212, 132, 150, 0.15);
  border-radius: 12px;
  padding: 1.25rem;
  margin-top: 1rem;
}

.footer-newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.footer-newsletter-input {
  flex: 1;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 0 0.85rem;
  color: #FFF;
  font-size: 0.82rem;
  height: 38px;
}

.footer-newsletter-input:focus {
  outline: none;
  border-color: var(--color-nappily-pink);
}

.footer-newsletter-btn {
  background: var(--color-nappily-pink);
  color: #FFF;
  border: none;
  border-radius: 8px;
  padding: 0 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  height: 38px;
  transition: var(--transition-fast);
}

.footer-newsletter-btn:hover {
  background: var(--color-nappily-plum);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(248, 245, 240, 0.55);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.25rem;
}

.footer-bottom-links a {
  color: rgba(248, 245, 240, 0.55);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: var(--color-nappily-pink);
}

.credit-link {
  color: var(--color-gold);
  font-size: 0.68rem;
  opacity: 0.75;
  letter-spacing: 0.05em;
}

.credit-link a {
  color: var(--color-gold);
  text-decoration: none;
  font-weight: 700;
  border-bottom: 1px solid rgba(200, 154, 90, 0.3);
  padding-bottom: 1px;
  transition: var(--transition-fast);
}

.credit-link a:hover {
  color: var(--color-ivory);
  border-bottom-color: var(--color-ivory);
}

/* Mobile Menu Toggle Button styling */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 14px 11px;
  z-index: 1100;
  position: relative;
  outline: none;
}

.mobile-menu-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--color-charcoal);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast), background-color var(--transition-fast);
  transform-origin: center;
}

/* Hamburger toggle active/open animation */
.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background-color: var(--color-walnut);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background-color: var(--color-walnut);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  body.mobile-nav-open {
    overflow: hidden;
  }
  /* Ensure header container is aligned cleanly */
  .spa-nav {
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    height: 80px;
    width: 100%;
  }

  /* Keep mobile toggle button spaced cleanly */
  .mobile-menu-toggle {
    display: flex;
    order: 3;
    margin-left: 0.5rem;
    z-index: 1200; /* Ensure button sits on top of drawer when active */
  }

  /* Restructure actions horizontally to prevent overlapping or vertical layout breaks */
  .header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    order: 2;
    margin-left: auto;
  }

  /* Side Drawer Layout: Perfect Contrast & Solid Full Viewport Overlay */
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 300px;
    height: 100vh; /* Fill full vertical viewport */
    background-color: #F8F5F0 !important; /* Solid Soft Ivory background */
    border-left: 1px solid rgba(200, 154, 90, 0.25);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 120px 2rem 40px; /* Generous top padding to clear fixed header content */
    gap: 1.5rem;
    z-index: 1150; /* Sits above standard page elements and header background */
    transform: translateX(105%);
    visibility: hidden;
    pointer-events: none;
    transition: transform var(--transition-smooth), visibility var(--transition-smooth);
    box-shadow: -10px 0 40px rgba(24, 23, 26, 0.2);
    margin: 0;
    list-style: none;
  }

  .nav-links.active {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  /* Clean list element styling inside mobile drawer */
  .nav-links li {
    width: 100%;
    margin: 0;
  }

  .nav-link {
    font-size: 1.15rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: 0.03em;
    width: 100%;
    padding: 0.5rem 0 0.5rem 0;
    color: #18171A !important; /* Charcoal Black text for maximum readability contrast */
    border-bottom: 1px solid rgba(24, 23, 26, 0.08);
    display: block;
    transition: var(--transition-fast);
  }

  .nav-link:hover, .nav-link.active {
    color: var(--color-walnut) !important;
    padding-left: 0.5rem;
  }

  .nav-link.active::after {
    display: none; /* Hide desktop underline */
  }

  /* Branch Select & Button Sizing Adjustments - Compact & Clean spacing */
  .branch-select-wrapper {
    display: block; /* Always visible on tablets and mobile screens */
    width: 140px; /* Compact width to fit all items side-by-side */
  }

  .branch-select {
    height: 38px;
    width: 100%;
    padding: 0 1.25rem 0 0.5rem;
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: 8px;
    background-color: #FFFFFF;
    border: 1px solid rgba(24, 23, 26, 0.15);
    color: #18171A;
  }

  .spa-header .btn-primary {
    height: 38px;
    padding: 0 0.75rem;
    font-size: 0.78rem;
    border-radius: 8px;
    gap: 0.25rem;
  }

  .spa-header .btn-primary svg {
    width: 14px;
    height: 14px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  /* Stacks highlight sections into neat, spacious vertical full-width rows on mobile */
  .highlight-grid {
    grid-template-columns: 1fr !important;
    gap: 3rem !important;
  }
}

@media (max-width: 480px) {
  .container {
    width: calc(100% - 32px);
    max-width: calc(100% - 32px);
  }

  .packages-container {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .pkg-card,
  .contact-grid-layout > *,
  .cart-checkout-container > * {
    width: 100%;
    min-width: 0;
  }

  .contact-info-card,
  .contact-form-card,
  .cart-ledger-card,
  .checkout-billing-card {
    padding: 1.5rem !important;
  }

  .cart-item-row {
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
  }
}

/* Premium Mobile Hero Adjustments */
@media (max-width: 768px) {
  .hero-slider-section {
    height: 100vh; /* Restore full viewport background slideshow bounds */
    min-height: 560px;
    padding: 0;
    display: flex;
    align-items: flex-end; /* Align to the bottom of mobile viewport */
  }

  .hero-slide {
    align-items: flex-end !important; /* Move active slides to bottom of screen on mobile */
  }

  .hero-slide-container {
    padding: 0;
    position: relative;
    width: 100%;
  }

  .hero-glass-card {
    padding: 2rem 1.5rem;
    border-radius: 16px 16px 0 0;
    max-width: 100%;
    margin: 0;
    border: 1px solid rgba(200, 154, 90, 0.2);
    border-bottom: none;
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
    background: rgba(24, 23, 26, 0.85); /* Slightly darker on mobile for better text readability */
  }

  .hero-text-content-split {
    max-width: 100%;
    text-align: center;
  }

  .hero-badge {
    font-size: 0.72rem;
    padding: 0.35rem 0.8rem;
    margin-bottom: 0.75rem;
    letter-spacing: 0.05em;
  }

  .hero-title {
    font-size: 1.8rem;
    line-height: 1.25;
    margin-bottom: 0.5rem;
    text-align: center;
  }

  .hero-title span {
    font-style: italic;
  }

  .hero-description {
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
    text-align: center;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    width: 100%;
  }

  .hero-cta-group .btn-primary,
  .hero-cta-group .btn-outline-light {
    width: 100% !important;
    height: var(--input-height) !important; /* Unified 46px Height */
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 0.88rem;
    padding: 0;
  }

  /* Do away with slider controls on tablets/mobile to avoid clashing with buttons */
  .hero-slider-controls {
    display: none !important;
  }
}

@media (max-width: 576px) {
  .header-actions .btn-primary,
  .header-actions .nav-cart-btn {
    padding: 0 0.85rem !important;
    font-size: 0.82rem !important;
  }

  .header-actions .cart-label {
    display: inline;
  }
  /* Super fine-tuning for narrow mobile screen spacing */
  .hero-title {
    font-size: 1.7rem;
  }

  .hero-glass-card {
    padding: 1.75rem 1rem;
  }

  .spa-nav {
    padding: 0 0.75rem;
  }

  .brand-logo {
    gap: 0.5rem;
  }
  
  .brand-title {
    font-size: 0.95rem;
    letter-spacing: 0.08em;
  }

  .brand-sub {
    font-size: 0.58rem;
  }

  /* Shrink elements proportionally on narrow screens to fit the branch selector cleanly */
  .branch-select-wrapper {
    width: 110px;
  }

  .branch-select {
    padding: 0 0.75rem 0 0.35rem;
    font-size: 0.72rem;
  }

  .spa-header .btn-primary {
    padding: 0 0.5rem;
    font-size: 0.72rem;
  }

  .spa-header .btn-primary svg {
    display: none; /* Hide icon on tiny screens to save maximum inline space */
  }

  /* Stack copyright lines into separate, clean rows on small mobile viewports */
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
    padding-bottom: 1rem;
  }
}

/* ==========================================================================
   WhatsApp Concierge Luxury Floating Widget
   ========================================================================== */
.whatsapp-concierge-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: #25D366;
  color: #FFFFFF !important;
  padding: 0.8rem 1.4rem;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.35);
  text-decoration: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.whatsapp-concierge-float:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 40px rgba(37, 211, 102, 0.5);
  color: #FFFFFF !important;
}

.whatsapp-concierge-float svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .whatsapp-concierge-float {
    bottom: 1.25rem;
    right: 1.25rem;
    padding: 0.75rem 1rem;
    font-size: 0.8rem;
  }
  .whatsapp-concierge-float .concierge-text-full {
    display: none;
  }
}
/* ==========================================================================
   NAPPILY PACKAGING FLORAL & BLOSSOMS SYSTEM (NO BRANCHES)
   Joyful, authentic floating flowers and soft background ambient motifs
   ========================================================================== */

/* 1. Subtle Floating Animations */
@keyframes petalDrift {
  0% { transform: translateY(0) rotate(0deg); opacity: 0.85; }
  50% { transform: translateY(-12px) translateX(5px) rotate(12deg); opacity: 1; }
  100% { transform: translateY(0) rotate(0deg); opacity: 0.85; }
}

@keyframes flowerFloatSoft {
  0% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-6px, 8px) rotate(-3deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

/* 2. Hero Floating Blossom Backdrop Layer */
.nappily-hero,
.brand-promise,
.benefits-section,
.about-hero,
.education-hero {
  position: relative;
  overflow: hidden;
}

.hero-floral-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: url('../assets/nappily-floral-pattern.svg');
  background-position: center;
  background-size: 320px 320px;
  background-repeat: repeat;
  pointer-events: none;
  z-index: 0;
  opacity: 0.15;
}

/* 3. Subtle Ambient Background Watermark Canvas */
.floral-canvas-bg,
.brand-promise,
.testimonials-section,
.catalog-filters-bar,
.story-split-section,
.wellness-faq-section,
.contact-section,
.cart-section,
.education-section,
.variation-showcase-container {
  background-image: url('../assets/nappily-floral-pattern.svg') !important;
  background-repeat: repeat !important;
  background-size: 280px 280px !important;
}

/* 4. Luxury Architectural Solid Curved Wave Section Dividers (Ultra-Slim 32px) */
.floral-wave-transition {
  width: 100%;
  height: 32px;
  background-image: url('../assets/nappily-floral-border.svg');
  background-repeat: repeat-x;
  background-size: 1440px 32px;
  background-position: center bottom;
  margin-top: -31px;
  margin-bottom: 0;
  position: relative;
  z-index: 5;
  pointer-events: none;
}

.floral-wave-transition.dark-footer {
  background-image: url('../assets/nappily-wavy-dark.svg');
  height: 32px;
  margin-top: -31px;
}

.floral-wave-transition.to-white {
  background-image: url('../assets/nappily-wavy-white.svg');
}

.floral-wave-transition.inverted {
  transform: rotate(180deg);
}

.floral-section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin: 2.5rem 0;
}

.floral-section-divider::before,
.floral-section-divider::after {
  content: '';
  height: 1px;
  flex: 1;
  max-width: 140px;
  background: linear-gradient(90deg, transparent, rgba(227, 73, 131, 0.25), transparent);
}

/* 5. Joyful Feature Card Floral Watermark Accents */
.benefit-card,
.step-card,
.feature-box,
.builder-step-card,
.product-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.benefit-card::after,
.feature-box::after,
.builder-step-card::after {
  content: '';
  position: absolute;
  bottom: -15px;
  right: -15px;
  width: 75px;
  height: 75px;
  background: url('../assets/nappily-single-flower.svg') center/contain no-repeat;
  opacity: 0.08;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.benefit-card:hover::after,
.feature-box:hover::after,
.builder-step-card:hover::after {
  opacity: 0.22;
  transform: scale(1.18) rotate(20deg);
}

/* 6. Joyful Blossom Button Hover Glow */
.btn-primary,
.nappily-cta {
  position: relative;
}

.btn-primary:hover,
.nappily-cta:hover {
  box-shadow: 0 6px 20px rgba(227, 73, 131, 0.4), 0 0 15px rgba(255, 184, 0, 0.25);
}

/* 7. Joyful Flower Stamp on Kickers */
.section-kicker,
.nappily-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.section-kicker::before,
.nappily-kicker::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url('../assets/nappily-single-flower.svg') center/contain no-repeat;
  filter: drop-shadow(0 1px 3px rgba(227, 73, 131, 0.4));
  flex-shrink: 0;
}

/* ==========================================================================
   8. Executive Luxury Polish & Diffusion Elevations (Step 16 / Rule 1 / Rule 2)
   ========================================================================== */

/* Multi-layered Soft Diffusion Shadows */
.benefit-card,
.pillar-card,
.testimonial-card,
.feature-box,
.stat-bar,
.variation-showcase-container,
.builder-step-card,
.product-card {
  box-shadow: 0 4px 20px -2px rgba(227, 73, 131, 0.05), 0 12px 36px -4px rgba(24, 23, 26, 0.04);
  border: 1px solid rgba(227, 73, 131, 0.12) !important;
}

.benefit-card:hover,
.pillar-card:hover,
.testimonial-card:hover,
.builder-step-card:hover,
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px -2px rgba(227, 73, 131, 0.12), 0 20px 50px -4px rgba(24, 23, 26, 0.08);
  border-color: rgba(227, 73, 131, 0.28) !important;
}

/* Subtle Shimmer on Luxury Primary CTAs */
.btn-primary,
.nappily-cta {
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary::before,
.nappily-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), rgba(255, 215, 0, 0.25), transparent);
  transform: skewX(-25deg);
  transition: left 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.btn-primary:hover::before,
.nappily-cta:hover::before {
  left: 140%;
}

/* Subtle Luxury Floating Micro-Animation on Hero Backdrops */
@keyframes luxuryFloat {
  0%, 100% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-4px) scale(1.01); }
}

.hero-floral-backdrop {
  animation: luxuryFloat 14s ease-in-out infinite alternate;
}

/* Mobile Silk Wave Scalability */
@media (max-width: 768px) {
  .floral-wave-transition {
    background-size: 720px 24px;
    height: 24px;
    margin-top: -23px;
  }
  .floral-wave-transition.dark-footer {
    height: 24px;
    margin-top: -23px;
    background-size: 720px 24px;
  }
}

/* ==========================================================================
   THEMED USER ACCOUNT PILL & DROPDOWN (NAPPILY BOTANICAL/JOYFUL PALETTE)
   ========================================================================== */
.nappily-user-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  background: rgba(227, 73, 131, 0.08);
  border: 1px solid var(--color-nappily-border);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(227, 73, 131, 0.08);
}
.nappily-user-pill:hover {
  background: rgba(227, 73, 131, 0.14);
  border-color: var(--color-nappily-pink);
  transform: translateY(-1px);
}
.nappily-user-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-nappily-pink), var(--color-nappily-pink-hover));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 0 2px 6px rgba(227, 73, 131, 0.3);
}
.nappily-user-name {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--color-nappily-plum);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 130px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nappily-user-arrow {
  font-size: 0.55rem;
  color: var(--color-nappily-pink);
  transition: transform 0.2s ease;
}
.nappily-user-menu {
  position: absolute;
  right: 0;
  top: 42px;
  width: 250px;
  background: #FFFFFF;
  border: 1px solid var(--color-nappily-border);
  border-radius: 16px;
  box-shadow: 0 16px 36px rgba(22, 32, 91, 0.12), 0 4px 12px rgba(227, 73, 131, 0.08);
  z-index: 10000;
  overflow: hidden;
  padding: 1rem 0;
  text-align: left;
  animation: fadeInDown 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.nappily-user-menu-header {
  padding: 0 1.25rem 0.85rem 1.25rem;
  border-bottom: 1px solid rgba(22, 32, 91, 0.06);
}
.nappily-user-menu-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-nappily-plum);
  margin-bottom: 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nappily-user-menu-tier {
  font-size: 0.72rem;
  color: var(--color-nappily-pink);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nappily-user-balance-box {
  margin: 0.75rem 1.25rem;
  padding: 0.75rem 1rem;
  background: linear-gradient(135deg, rgba(227, 73, 131, 0.06), rgba(255, 184, 0, 0.08));
  border-radius: 10px;
  border: 1px solid var(--color-nappily-border);
  text-align: center;
}
.nappily-user-balance-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-stone);
  font-weight: 700;
}
.nappily-user-balance-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-nappily-pink);
  margin-top: 0.15rem;
}
.nappily-user-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.65rem 1.25rem;
  font-size: 0.82rem;
  color: var(--color-nappily-plum);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}
.nappily-user-menu-item:hover {
  background: rgba(227, 73, 131, 0.08);
  color: var(--color-nappily-pink);
  padding-left: 1.45rem;
}
.nappily-user-menu-logout {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.65rem 1.25rem;
  font-size: 0.82rem;
  color: #E05A47;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
}
.nappily-user-menu-logout:hover {
  background: rgba(224, 90, 71, 0.08);
  padding-left: 1.45rem;
}
.nappily-login-nav-btn {
  color: var(--color-nappily-plum);
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 0.85rem;
  border-radius: 50px;
  background: rgba(227, 73, 131, 0.06);
  border: 1px solid var(--color-nappily-border);
  transition: all 0.2s ease;
}
.nappily-login-nav-btn:hover {
  background: var(--color-nappily-pink);
  color: white;
  border-color: var(--color-nappily-pink);
}

