/* ═══════════════════════════════════════════════════════════════════════════════
   ROYALNEX STORE — ULTRA-MODERN LUXURY FOOTER (REFINED OBSIDIAN & 24K GOLD)
   - Deep pure obsidian black canvas (#000000)
   - Radiant 24K champagne bullion gold column headers
   - Clear, elegant alabaster links with glowing gold hover transitions
   - Right brand showcase column (Glowing emblem badge, 24K gold title, social icons)
   - Luminous gold hairline divider & centered copyright line
   - Elegant, tasteful debossed luxury watermark ("RoyalNex") with zero glare
   - Obsidian glassmorphic floating action buttons (Back to top & Live Concierge)
   ═══════════════════════════════════════════════════════════════════════════════ */

/* Kill body ambient bottom drift glow bleed over footer */
body.ultra:not(.white)::after {
  display: none !important;
}

/* Master Footer Container */
html body #ftr,
body #ftr {
  position: relative !important;
  width: 100% !important;
  background: #000000 !important;
  background-color: #000000 !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  z-index: 20 !important;
  isolation: isolate !important;
  overflow: hidden !important;
}

html body #ftr .uf,
body footer.uf,
body .uf {
  position: relative !important;
  background: #000000 !important;
  background-color: #000000 !important;
  border-top: 1px solid rgba(245, 203, 66, 0.22) !important;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(245, 203, 66, 0.05) !important;
  padding: 56px 0 20px !important;
  margin: 40px 0 0 !important;
  overflow: hidden !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Outer containment wrapper */
.modern-footer-wrap {
  max-width: 1240px !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
  box-sizing: border-box !important;
  position: relative !important;
  z-index: 5 !important;
}

/* 6-Column Responsive Architecture (5 Link Columns + 1 Brand Column) */
.modern-footer-grid {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(105px, 1fr)) 1.6fr !important;
  gap: 32px 18px !important;
  align-items: start !important;
}

/* ── Column Headings: RADIANT 24K BULLION GOLD ───────────────────────── */
.footer-col-title {
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 800 !important;
  background: linear-gradient(135deg, #FFFFFF 0%, #FFF3C4 30%, #F5CB42 70%, #E5A922 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: #F5CB42 !important;
  margin: 0 0 16px !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  filter: drop-shadow(0 0 10px rgba(245, 203, 66, 0.35)) !important;
}

/* Link Lists */
.footer-col-links {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

.footer-link-item {
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  color: rgba(235, 230, 220, 0.72) !important;
  text-decoration: none !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: inline-block !important;
  line-height: 1.4 !important;
}

.footer-link-item:hover {
  color: #FFDF73 !important;
  transform: translateX(4px) !important;
  text-shadow: 0 0 12px rgba(245, 203, 66, 0.6) !important;
}

/* ── Right Column: Brand Showcase & Socials ────────────────────────────────── */
.footer-brand-col {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 14px !important;
  padding-left: 12px !important;
}

.footer-brand-header {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  text-decoration: none !important;
}

.footer-brand-badge {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
  border-radius: 12px !important;
  background: rgba(244, 217, 160, 0.10) !important;
  border: 1.5px solid rgba(245, 203, 66, 0.65) !important;
  box-shadow: 0 0 20px rgba(245, 203, 66, 0.35), inset 0 0 10px rgba(245, 203, 66, 0.2) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}

.footer-brand-badge img {
  width: 32px !important;
  height: 32px !important;
  object-fit: contain !important;
  filter: drop-shadow(0 0 6px rgba(245, 203, 66, 0.45)) !important;
}

.footer-brand-name {
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
  font-size: 21px !important;
  font-weight: 900 !important;
  background: linear-gradient(135deg, #FFFFFF 0%, #FFF3C4 25%, #F5CB42 60%, #E5A922 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: #F5CB42 !important;
  letter-spacing: -0.02em !important;
  filter: drop-shadow(0 0 14px rgba(245, 203, 66, 0.45)) !important;
}

.footer-brand-desc {
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
  color: rgba(235, 230, 220, 0.68) !important;
  margin: 0 !important;
  max-width: 300px !important;
}

/* Social Media Icon Pills */
.footer-socials {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-top: 4px !important;
}

.footer-social-btn {
  width: 36px !important;
  height: 36px !important;
  border-radius: 10px !important;
  background: rgba(244, 217, 160, 0.08) !important;
  border: 1px solid rgba(245, 203, 66, 0.35) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #F5CB42 !important;
  text-decoration: none !important;
  font-size: 14px !important;
  box-shadow: 0 0 12px rgba(245, 203, 66, 0.15) !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.footer-social-btn:hover {
  background: linear-gradient(135deg, #FFF3C4 0%, #F5CB42 60%, #D4AF37 100%) !important;
  border-color: #FFFFFF !important;
  color: #0C0806 !important;
  transform: translateY(-3px) scale(1.05) !important;
  box-shadow: 0 6px 20px rgba(245, 203, 66, 0.5) !important;
}

.footer-social-btn svg {
  width: 16px !important;
  height: 16px !important;
  fill: currentColor !important;
}

/* ── Luminous Gold Hairline Divider ────────────────────────────────────────── */
.footer-divider {
  width: 100% !important;
  height: 1px !important;
  background: linear-gradient(90deg, transparent, rgba(245, 203, 66, 0.25) 25%, rgba(255, 243, 196, 0.5) 50%, rgba(245, 203, 66, 0.25) 75%, transparent) !important;
  border: none !important;
  margin: 38px 0 16px !important;
  box-shadow: 0 0 10px rgba(245, 203, 66, 0.2) !important;
}

/* ── Centered Champagne Copyright Line ─────────────────────────────────────── */
.footer-copyright {
  text-align: center !important;
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
  font-size: 12.5px !important;
  color: rgba(244, 217, 160, 0.65) !important;
  margin: 0 0 6px !important;
  letter-spacing: 0.02em !important;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   ELEGANT DEBOSSED LUXURY WATERMARK ("RoyalNex")
   Tastefully sized, zero neon glare, clean architectural balance
   ═══════════════════════════════════════════════════════════════════════════════ */
.footer-debossed-wrap {
  position: relative !important;
  width: 100% !important;
  overflow: hidden !important;
  text-align: center !important;
  margin-top: 6px !important;
  padding-bottom: 6px !important;
  user-select: none !important;
  pointer-events: none !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

.footer-giant-wordmark {
  display: block !important;
  width: 100% !important;
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
  font-weight: 900 !important;
  font-size: clamp(38px, 8vw, 84px) !important;
  line-height: 1 !important;
  letter-spacing: -0.035em !important;
  text-align: center !important;
  margin: 0 auto !important;
  padding: 0 16px !important;
  position: relative !important;
  z-index: 2 !important;
  
  /* Refined, elegant metallic gold gradient with restrained debossed depth */
  background: linear-gradient(
    180deg,
    rgba(244, 217, 160, 0.42) 0%,
    rgba(200, 121, 44, 0.20) 60%,
    rgba(28, 20, 16, 0.05) 100%
  ) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  
  /* Crisp, tasteful metallic deboss without blinding glow */
  filter: drop-shadow(0 1px 1px rgba(255, 255, 255, 0.12))
          drop-shadow(0 2px 8px rgba(0, 0, 0, 0.85)) !important;
  transform: translateY(2px) !important;
  opacity: 0.55 !important;
}

/* ── Floating Action Buttons (Obsidian Glassmorphic Stack) ─────────────────── */
#backToTop {
  position: fixed !important;
  bottom: 80px !important;
  right: 22px !important;
  z-index: 9999 !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  background: rgba(18, 14, 12, 0.88) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1.5px solid rgba(244, 217, 160, 0.35) !important;
  color: #F4D9A0 !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.75), 0 0 14px rgba(244, 217, 160, 0.15) !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(14px) !important;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
}

#backToTop.show {
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}

#backToTop:hover {
  background: rgba(28, 22, 18, 0.96) !important;
  border-color: rgba(244, 217, 160, 0.75) !important;
  color: #FFFFFF !important;
  transform: translateY(-3px) scale(1.06) !important;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.85), 0 0 22px rgba(244, 217, 160, 0.35) !important;
}

.chat-bubble-btn {
  position: fixed !important;
  bottom: 22px !important;
  right: 22px !important;
  z-index: 9998 !important;
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  background: rgba(18, 14, 12, 0.90) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1.5px solid rgba(244, 217, 160, 0.45) !important;
  color: #F4D9A0 !important;
  font-size: 22px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 18px rgba(244, 217, 160, 0.2) !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.2s ease !important;
}

.chat-bubble-btn:hover {
  background: rgba(28, 22, 18, 0.96) !important;
  border-color: rgba(244, 217, 160, 0.85) !important;
  color: #FFFFFF !important;
  transform: scale(1.06) translateY(-2px) !important;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.9), 0 0 25px rgba(244, 217, 160, 0.4) !important;
}

/* ── Responsive Tablet & Mobile Media Queries ──────────────────────────────── */
@media (max-width: 1120px) {
  .modern-footer-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 28px 18px !important;
  }

  .footer-brand-col {
    grid-column: 1 / -1 !important;
    padding-left: 0 !important;
    margin-bottom: 8px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    padding-bottom: 20px !important;
  }
}

@media (max-width: 768px) {
  html body #ftr .uf,
  body footer.uf,
  body .uf {
    padding: 40px 0 16px !important;
    margin-top: 24px !important;
  }

  .modern-footer-wrap {
    padding: 0 16px !important;
  }

  .modern-footer-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px 14px !important;
  }

  .footer-col-title {
    font-size: 13px !important;
    margin-bottom: 12px !important;
  }

  .footer-link-item {
    font-size: 12.5px !important;
  }

  .footer-brand-desc {
    font-size: 12px !important;
  }

  .footer-giant-wordmark {
    font-size: clamp(30px, 9vw, 52px) !important;
    transform: translateY(2px) !important;
  }

  .chat-bubble-btn {
    bottom: 74px !important;
    right: 16px !important;
    width: 44px !important;
    height: 44px !important;
    font-size: 20px !important;
  }

  #backToTop {
    bottom: 126px !important;
    right: 16px !important;
    width: 40px !important;
    height: 40px !important;
    font-size: 16px !important;
  }
}
