/* ==========================================================
   RADHIKA JEWELLERS • LUXURY STYLING & DESIGN SYSTEM
   Rourkela, Odisha
   ========================================================== */

:root {
  /* Royal Gold & Jewel Palette */
  --gold-primary: #d4af37;
  --gold-light: #f5d77f;
  --gold-dark: #aa7c11;
  --gold-accent: #e6ca65;
  --gold-gradient: linear-gradient(135deg, #d4af37 0%, #f5d77f 50%, #aa7c11 100%);
  --gold-gradient-soft: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(245, 215, 127, 0.08) 100%);
  
  --emerald-accent: #10b981;
  --ruby-accent: #ef4444;
  --sapphire-accent: #3b82f6;

  /* Dark Theme (Default Luxury) */
  --bg-main: #080c16;
  --bg-surface: #0f172a;
  --bg-card: #131d33;
  --bg-card-hover: #192644;
  --bg-glass: rgba(15, 23, 42, 0.85);
  --bg-glass-card: rgba(19, 29, 51, 0.7);
  
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #8492a6;
  --text-gold: #f5d77f;
  
  --border-color: rgba(212, 175, 55, 0.22);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: #d4af37;

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.45);
  --shadow-gold: 0 8px 28px rgba(212, 175, 55, 0.22);

  --font-serif: 'Cinzel', 'Playfair Display', Georgia, serif;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light Theme Support */
[data-theme="light"] {
  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.92);
  --bg-glass-card: rgba(255, 255, 255, 0.88);
  
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-gold: #996515;
  
  --border-color: rgba(170, 124, 17, 0.3);
  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-focus: #aa7c11;

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.14);
  --shadow-gold: 0 8px 24px rgba(170, 124, 17, 0.18);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 80px 0;
}

.hidden {
  display: none !important;
}

.gold-gradient-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* ==========================================================
   TOP RATE & ANNOUNCEMENT BAR
   ========================================================== */
.top-rate-bar {
  background: linear-gradient(90deg, #0b1120 0%, #151f38 50%, #0b1120 100%);
  border-bottom: 1px solid var(--border-color);
  font-size: 0.82rem;
  padding: 8px 0;
  position: relative;
  z-index: 50;
}

.rate-bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.rate-ticker {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}

.rate-badge {
  background: var(--gold-gradient);
  color: #000;
  font-weight: 700;
  font-size: 0.72rem;
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.rate-source-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(52, 211, 153, 0.4);
  color: #34d399;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 20px;
  letter-spacing: 0.02em;
  font-family: inherit;
  flex-shrink: 0;
}

.rate-source-sync-btn {
  cursor: pointer;
  outline: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.rate-source-sync-btn:hover {
  background: rgba(16, 185, 129, 0.28);
  border-color: #34d399;
  color: #6ee7b7;
  transform: translateY(-1px);
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.35);
}

.rate-source-sync-btn:active {
  transform: scale(0.96);
}

.rate-source-sync-btn:disabled {
  opacity: 0.7;
  cursor: wait;
}

.rate-source-badge i {
  font-size: 0.65rem;
}

/* Continuous Slow Scrolling Marquee Container - Expanded Width */
.rate-marquee-container {
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  mask-image: linear-gradient(to right, transparent 0%, black 1.5%, black 98.5%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 1.5%, black 98.5%, transparent 100%);
  cursor: pointer;
}

.rate-marquee-track {
  display: inline-flex;
  align-items: center;
  width: max-content;
  will-change: transform;
  animation: slowRateTickerMarquee 32s linear infinite;
}

/* Pause scrolling slowly on hover for easy inspection */
.rate-marquee-container:hover .rate-marquee-track,
.rate-ticker:hover .rate-marquee-track {
  animation-play-state: paused;
}

@keyframes slowRateTickerMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.rate-items-wrap {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-right: 12px;
  white-space: nowrap;
}

.rate-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.76rem;
  color: var(--text-secondary);
}

.rate-item strong {
  color: var(--gold-light);
  font-weight: 700;
}

.rate-item i {
  font-size: 0.72rem;
}

.rate-icon-gold {
  color: #fbbf24;
}

.rate-icon-dia {
  color: #60a5fa;
}

.rate-icon-sil {
  color: #cbd5e1;
}

.rate-icon-hub {
  color: #34d399;
}

.rate-separator {
  color: var(--border-color);
  opacity: 0.6;
}

.top-contacts {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.top-link {
  color: var(--gold-light);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-link:hover {
  color: #ffffff;
}

.top-divider {
  color: var(--border-subtle);
}

/* ==========================================================
   MAIN LUXURY NAVIGATION HEADER
   ========================================================== */
.main-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 20px;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-emblem {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.15);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  flex-shrink: 0;
}

.brand-logo:hover .logo-emblem {
  transform: scale(1.06);
  border-color: var(--gold-light);
  box-shadow: 0 0 24px rgba(212, 175, 55, 0.38);
}

.brand-emblem-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
  transition: transform 0.3s ease;
}

.brand-logo:hover .brand-emblem-img {
  transform: scale(1.04);
}

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

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold-light);
  line-height: 1.1;
}

.brand-subtitle {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--text-primary);
  opacity: 0.9;
}

.brand-location {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 24px;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 0;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--gold-light);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Header Action Buttons */
.header-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-customer-portal {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(212, 175, 55, 0.2) 100%);
  border: 1px solid var(--border-color);
  color: var(--gold-light);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-customer-portal:hover {
  background: var(--gold-gradient);
  color: #0f172a;
  box-shadow: var(--shadow-gold);
  border-color: transparent;
  transform: translateY(-1px);
}

.theme-toggle-btn, .mobile-menu-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: var(--transition);
}

.theme-toggle-btn:hover, .mobile-menu-btn:hover {
  border-color: var(--gold-primary);
  background: var(--bg-card-hover);
}

.mobile-menu-btn {
  display: none;
}

/* ==========================================================
   HERO SECTION (LUXURY MAKEOVER & 4 BUTTONS)
   ========================================================== */
.hero-section {
  position: relative;
  padding: 70px 0 90px;
  background: radial-gradient(circle at 85% 20%, rgba(212, 175, 55, 0.12) 0%, transparent 60%),
              radial-gradient(circle at 15% 80%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
              var(--bg-main);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 2;
}

.hero-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-gradient-soft);
  border: 1px solid var(--border-color);
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 2.85rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 14px;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

.hero-description {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 32px;
}

/* The 4 Main Action Buttons */
.hero-actions-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 36px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  position: relative;
  white-space: nowrap;
}

.btn-hero {
  padding: 13px 24px;
  font-size: 0.95rem;
}

/* Featured: Live Calculator Button */
.btn-calc {
  background: linear-gradient(135deg, #d4af37 0%, #f5d77f 50%, #aa7c11 100%);
  color: #0b0f19;
  font-weight: 700;
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.45);
  border: 1px solid rgba(255, 235, 170, 0.6);
}

.btn-calc:hover {
  background: linear-gradient(135deg, #ffd700 0%, #ffeaa7 50%, #b8860b 100%);
  color: #000;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 32px rgba(212, 175, 55, 0.65);
}

/* 1. Contact Us Button */
.btn-contact {
  background: var(--gold-gradient);
  color: #0f172a;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
}

.btn-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(212, 175, 55, 0.5);
  color: #000;
}

/* 2. Visit Us Button */
.btn-visit {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  backdrop-filter: blur(8px);
}

.btn-visit:hover {
  background: var(--bg-card-hover);
  border-color: var(--gold-light);
  color: var(--gold-light);
  transform: translateY(-2px);
}

/* 3. Customer Details Button */
.btn-customer {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.35);
  border: 1px solid rgba(147, 197, 253, 0.3);
}

.btn-customer:hover {
  background: linear-gradient(135deg, #2563eb 0%, #60a5fa 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(59, 130, 246, 0.5);
}

/* 4. Shop Online Button */
.btn-shop {
  background: linear-gradient(135deg, #065f46 0%, #10b981 100%);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
  border: 1px solid rgba(110, 231, 183, 0.3);
}

.btn-shop:hover {
  background: linear-gradient(135deg, #047857 0%, #34d399 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(16, 185, 129, 0.5);
}

.btn-sparkle-badge {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 6px;
  border-radius: 6px;
  font-weight: 700;
}

.btn-sparkle-badge.new {
  background: #f59e0b;
  color: #000;
}

/* Hero Trust Bar */
.hero-trust-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.trust-item i {
  color: var(--gold-light);
  font-size: 0.95rem;
}

/* Hero Visual Showcase */
.hero-visual {
  position: relative;
}

.hero-visual-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
}

.card-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.25) 0%, transparent 70%);
  filter: blur(25px);
  z-index: 0;
  pointer-events: none;
}

.hero-img {
  width: 100%;
  height: 490px;
  object-fit: cover;
  object-position: center 25%;
  position: relative;
  z-index: 1;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-visual-card:hover .hero-img {
  transform: scale(1.03);
}

.floating-badge {
  position: absolute;
  z-index: 5;
  background: var(--bg-glass);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-color);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-md);
  color: var(--text-primary);
}

.floating-badge.top-right {
  top: 18px;
  right: 18px;
}

.floating-badge.bottom-left {
  bottom: 18px;
  left: 18px;
}

.floating-badge i {
  color: var(--gold-light);
  font-size: 1.2rem;
}

.badge-title {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
}

.badge-sub {
  display: block;
  font-size: 0.72rem;
  color: var(--gold-light);
}

/* ==========================================================
   LIVE GOLD & SILVER RATES SECTION
   ========================================================== */
.live-rates-section {
  padding: 24px 0 60px;
}

.rates-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-md);
}

.rates-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.rates-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rates-title i {
  color: var(--gold-light);
  font-size: 1.3rem;
}

.rates-title h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.rates-time {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.rates-header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-sync-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.12) 0%, rgba(184, 134, 11, 0.22) 100%);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  font-size: 0.76rem;
  font-weight: 600;
  font-family: inherit;
  padding: 4px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 6px rgba(212, 175, 55, 0.15);
  outline: none;
}

.btn-sync-live:hover {
  background: var(--gold-gradient);
  color: #0b0d17;
  box-shadow: var(--shadow-gold);
  transform: translateY(-1px);
}

.btn-sync-live:active {
  transform: scale(0.97);
}

.btn-sync-live:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.btn-sync-live i {
  font-size: 0.85rem;
}

.rate-card-synced {
  animation: rateCardSyncFlash 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes rateCardSyncFlash {
  0% {
    box-shadow: 0 0 0 rgba(212, 175, 55, 0);
  }
  35% {
    border-color: var(--gold-light);
    box-shadow: 0 0 22px rgba(212, 175, 55, 0.45);
    transform: translateY(-3px) scale(1.015);
  }
  100% {
    box-shadow: 0 0 0 rgba(212, 175, 55, 0);
    transform: translateY(0) scale(1);
  }
}

.rates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.rate-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  position: relative;
  transition: var(--transition);
}

.rate-card:hover {
  border-color: var(--gold-primary);
  transform: translateY(-2px);
}

.rate-card.featured {
  border-color: var(--gold-primary);
  background: linear-gradient(145deg, var(--bg-surface) 0%, rgba(212, 175, 55, 0.1) 100%);
  box-shadow: var(--shadow-gold);
}

.rate-ribbon {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--gold-gradient);
  color: #000;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.rate-purity {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.rate-price {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 6px;
}

.rate-price small {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 400;
}

.rate-change {
  font-size: 0.78rem;
  color: var(--emerald-accent);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ==========================================================
   ADVANCED JEWELLERY PRICE & RATE CALCULATOR STYLES
   Distinct, Prominent Luxury Gold Color Palette & Depth
   ========================================================== */
.rate-calc-box.advanced-jewellery-calc {
  background: radial-gradient(circle at 10% 15%, rgba(212, 175, 55, 0.22) 0%, transparent 45%),
              radial-gradient(circle at 90% 85%, rgba(245, 215, 127, 0.15) 0%, transparent 40%),
              linear-gradient(145deg, #0f1a36 0%, #080d1c 45%, #181126 100%);
  border: 1.5px solid rgba(212, 175, 55, 0.65);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 45px rgba(212, 175, 55, 0.22), inset 0 1px 2px rgba(255, 235, 170, 0.35);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.rate-calc-box.advanced-jewellery-calc::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, #d4af37 30%, #f5d77f 50%, #d4af37 70%, transparent 100%);
  pointer-events: none;
}

[data-theme="light"] .rate-calc-box.advanced-jewellery-calc {
  background: radial-gradient(circle at 10% 15%, rgba(212, 175, 55, 0.25) 0%, transparent 45%),
              linear-gradient(145deg, #fffcf5 0%, #fdf5e0 50%, #f7eccb 100%);
  border: 1.5px solid rgba(184, 134, 11, 0.6);
  box-shadow: 0 20px 50px rgba(170, 124, 17, 0.18), 0 0 35px rgba(212, 175, 55, 0.2), inset 0 1px 2px #ffffff;
}

/* Calculator Focus & Scroll Target Highlight Pulse */
.calc-focus-pulse {
  animation: calcHighlightPulse 1.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes calcHighlightPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.85), 0 20px 60px rgba(0, 0, 0, 0.7);
    border-color: #ffd700;
    transform: scale(1.015);
  }
  35% {
    box-shadow: 0 0 55px 18px rgba(212, 175, 55, 0.6), 0 20px 60px rgba(0, 0, 0, 0.7);
    border-color: #ffd700;
    transform: scale(1.015);
  }
  100% {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 45px rgba(212, 175, 55, 0.22), inset 0 1px 2px rgba(255, 235, 170, 0.35);
    border-color: rgba(212, 175, 55, 0.65);
    transform: scale(1);
  }
}

.calc-top-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  padding-bottom: 16px;
}

.calc-label {
  display: flex;
  align-items: center;
  gap: 14px;
}

.calc-label .gold-icon {
  font-size: 1.45rem;
  color: #ffd700;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 10px;
  border-radius: 12px;
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.25);
}

.calc-label h4 {
  font-family: var(--font-heading);
  font-size: 1.22rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 0%, #f5d77f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 5px;
  letter-spacing: 0.01em;
}

[data-theme="light"] .calc-label h4 {
  background: linear-gradient(135deg, #0f172a 0%, #854d0e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.calc-formula-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.16) 0%, rgba(245, 215, 127, 0.08) 100%);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 14px;
  padding: 3px 12px;
  font-size: 0.78rem;
  color: #f5d77f;
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.15);
}

[data-theme="light"] .calc-formula-pill {
  background: rgba(184, 134, 11, 0.1);
  border-color: rgba(184, 134, 11, 0.35);
  color: #854d0e;
}

.calc-formula-pill .calc-op {
  color: #ffd700;
  font-weight: 800;
  font-size: 0.74rem;
}

.calc-formula-pill strong {
  color: #ffffff;
  font-weight: 800;
}

[data-theme="light"] .calc-formula-pill strong {
  color: #0f172a;
}

.calc-source-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: #34d399;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 5px 13px;
  border-radius: 20px;
  letter-spacing: 0.03em;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
}

.calc-grid-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.label-with-hint {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.label-with-hint label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 7px;
}

.calc-hint {
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffd700;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 2px 8px;
  border-radius: 10px;
  font-family: monospace;
}

.input-unit-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-unit-suffix {
  position: absolute;
  right: 14px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-light);
  pointer-events: none;
}

.calc-control {
  width: 100%;
  padding: 11px 16px;
  font-size: 0.95rem;
  background: rgba(5, 9, 20, 0.75);
  border: 1.5px solid rgba(212, 175, 55, 0.35);
  border-radius: 12px;
  color: #fff;
  transition: var(--transition);
}

[data-theme="light"] .calc-control {
  background: #ffffff;
  border-color: rgba(184, 134, 11, 0.35);
  color: #0f172a;
}

.calc-control:focus {
  border-color: var(--gold-light);
  outline: none;
  background: rgba(5, 9, 20, 0.95);
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.4), inset 0 0 8px rgba(212, 175, 55, 0.1);
}

[data-theme="light"] .calc-control:focus {
  background: #ffffff;
  box-shadow: 0 0 14px rgba(184, 134, 11, 0.3);
}

/* Quick Chips */
.calc-quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.calc-chip-btn, .calc-making-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.25);
  color: var(--text-secondary);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 16px;
  cursor: pointer;
  transition: var(--transition);
}

[data-theme="light"] .calc-chip-btn, [data-theme="light"] .calc-making-chip {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(184, 134, 11, 0.25);
  color: #334155;
}

.calc-chip-btn:hover, .calc-making-chip:hover {
  background: rgba(212, 175, 55, 0.16);
  border-color: var(--gold-light);
  color: #fff;
  transform: translateY(-1px);
}

[data-theme="light"] .calc-chip-btn:hover, [data-theme="light"] .calc-making-chip:hover {
  color: #0f172a;
}

.calc-chip-btn.active, .calc-making-chip.active {
  background: linear-gradient(135deg, #ffd700 0%, #f5d77f 50%, #b8860b 100%);
  color: #000;
  border-color: transparent;
  font-weight: 800;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.5);
  transform: translateY(-1px);
}

/* Making Mode Switch */
.making-mode-switch {
  display: flex;
  gap: 4px;
  background: rgba(0, 0, 0, 0.45);
  padding: 3px;
  border-radius: 20px;
  border: 1px solid rgba(212, 175, 55, 0.35);
}

[data-theme="light"] .making-mode-switch {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(184, 134, 11, 0.3);
}

.making-pill-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 14px;
  cursor: pointer;
  transition: var(--transition);
}

.making-pill-btn.active {
  background: linear-gradient(135deg, #ffd700 0%, #f5d77f 100%);
  color: #000;
  font-weight: 800;
  box-shadow: 0 2px 10px rgba(212, 175, 55, 0.4);
}

/* GST Summary Badge */
.gst-summary-badge {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(16, 185, 129, 0.1);
  border: 1.5px solid rgba(16, 185, 129, 0.4);
  border-radius: 12px;
  padding: 11px 16px;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.12);
}

.gst-badge-left {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.gst-badge-left strong {
  color: #34d399;
}

.gst-calc-amount {
  font-size: 1rem;
  font-weight: 800;
  color: #34d399;
  font-family: monospace;
}

/* Itemized Price Bill */
.calc-itemized-bill {
  background: linear-gradient(145deg, rgba(8, 12, 24, 0.95) 0%, rgba(4, 7, 16, 0.98) 100%);
  border: 1.5px solid rgba(212, 175, 55, 0.45);
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.5), 0 10px 30px rgba(0, 0, 0, 0.4);
}

[data-theme="light"] .calc-itemized-bill {
  background: #ffffff;
  border-color: rgba(184, 134, 11, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.bill-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.bill-line span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.bill-line strong {
  color: #fff;
  font-family: monospace;
  font-size: 0.98rem;
}

[data-theme="light"] .bill-line strong {
  color: #0f172a;
}

.bill-line.subtotal {
  border-top: 1px dashed rgba(212, 175, 55, 0.3);
  border-bottom: 1px dashed rgba(212, 175, 55, 0.3);
  padding: 9px 0;
  margin: 3px 0;
}

.bill-line.subtotal span {
  font-weight: 700;
  color: var(--text-primary);
}

.bill-line.subtotal strong {
  color: #ffd700;
  font-size: 1.08rem;
}

/* Final Total Banner */
.bill-total-banner {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.32) 0%, rgba(184, 134, 11, 0.18) 50%, rgba(245, 215, 127, 0.3) 100%);
  border: 2px solid #d4af37;
  border-radius: 14px;
  padding: 14px 20px;
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3), inset 0 0 18px rgba(212, 175, 55, 0.15);
}

[data-theme="light"] .bill-total-banner {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.25) 0%, rgba(245, 215, 127, 0.15) 100%);
  border-color: #aa7c11;
}

.total-left .total-label {
  display: block;
  font-size: 0.96rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.02em;
}

[data-theme="light"] .total-left .total-label {
  color: #0f172a;
}

.total-left small {
  display: block;
  font-size: 0.74rem;
  color: var(--gold-light);
  font-weight: 600;
}

[data-theme="light"] .total-left small {
  color: #854d0e;
}

.final-price-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: #ffd700;
  font-family: monospace;
  letter-spacing: 0.5px;
  text-shadow: 0 0 22px rgba(255, 215, 0, 0.7), 0 2px 4px rgba(0, 0, 0, 0.8);
}

[data-theme="light"] .final-price-num {
  color: #854d0e;
  text-shadow: none;
}

/* 3-Purity Comparison Section */
.calc-compare-section {
  margin-top: 12px;
  border-top: 1px dashed rgba(212, 175, 55, 0.3);
  padding-top: 12px;
}

.calc-compare-toggle-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 12px;
  padding: 10px 16px;
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.calc-compare-toggle-btn:hover,
.calc-compare-toggle-btn.active {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(245, 215, 127, 0.1) 100%);
  border-color: #ffd700;
  color: #fff;
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.25);
}

.compare-toggle-left {
  display: flex;
  align-items: center;
  gap: 9px;
}

.calc-compare-toggle-btn .toggle-arrow {
  font-size: 0.8rem;
  color: #ffd700;
  transition: transform 0.3s ease;
}

.calc-compare-toggle-btn.active .toggle-arrow {
  transform: rotate(180deg);
}

.calc-compare-tray {
  margin-top: 14px;
  animation: fadeIn 0.3s ease;
}

.compare-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.compare-card {
  background: rgba(12, 18, 35, 0.9);
  border-radius: 12px;
  padding: 14px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 5px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.compare-card.compare-card-22k {
  border: 1.5px solid #d4af37;
  background: linear-gradient(145deg, rgba(212, 175, 55, 0.18) 0%, rgba(15, 23, 42, 0.92) 100%);
}

.compare-card.compare-card-18k {
  border: 1.5px solid #60a5fa;
  background: linear-gradient(145deg, rgba(59, 130, 246, 0.16) 0%, rgba(15, 23, 42, 0.92) 100%);
}

.compare-card.compare-card-14k {
  border: 1.5px solid #f472b6;
  background: linear-gradient(145deg, rgba(244, 114, 182, 0.16) 0%, rgba(15, 23, 42, 0.92) 100%);
}

[data-theme="light"] .compare-card {
  background: #ffffff;
}

.compare-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.compare-card-purity {
  font-size: 0.82rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.02em;
}

[data-theme="light"] .compare-card-purity {
  color: #0f172a;
}

.compare-card-rate {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.compare-card-price {
  font-size: 1.12rem;
  font-weight: 800;
  color: #ffd700;
  font-family: monospace;
  margin-top: 3px;
}

[data-theme="light"] .compare-card-price {
  color: #854d0e;
}

@media (max-width: 576px) {
  .compare-cards-grid {
    grid-template-columns: 1fr;
    gap: 9px;
  }
  .compare-card {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    text-align: left;
  }
}

.calc-action-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 768px) {
  .calc-grid-form {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .calc-action-row {
    grid-template-columns: 1fr;
  }

  .rate-calc-box.advanced-jewellery-calc {
    padding: 16px 14px;
  }

  .final-price-num {
    font-size: 1.35rem;
  }
}

/* ==========================================================
   SECTION HEADERS
   ========================================================== */
.section-header {
  margin-bottom: 48px;
}

.text-center {
  text-align: center;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gold-gradient-soft);
  border: 1px solid var(--border-color);
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.section-heading {
  font-family: var(--font-serif);
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.section-subtext {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
}

/* ==========================================================
   SHOP ONLINE & PRODUCTS CATALOG
   ========================================================== */
.shop-online-section {
  background: var(--bg-surface);
}

.catalog-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-pill {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.filter-pill:hover, .filter-pill.active {
  background: var(--gold-gradient);
  color: #0f172a;
  border-color: transparent;
  box-shadow: var(--shadow-gold);
}

.catalog-search-wrap {
  position: relative;
  min-width: 280px;
}

.catalog-search-wrap i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.catalog-search-wrap .form-control {
  padding-left: 38px;
}

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

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-md);
}

.product-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #000;
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-img-wrap img {
  transform: scale(1.08);
}

.product-purity-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gold-gradient);
  color: #0f172a;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.product-category-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--bg-glass);
  color: var(--text-primary);
  font-size: 0.72rem;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(8px);
}

.product-info {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.product-meta strong {
  color: var(--gold-light);
}

.product-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
  flex-grow: 1;
}

.product-actions {
  display: flex;
  gap: 8px;
}

.btn-whatsapp-inquire {
  flex-grow: 1;
  background: #25d366;
  color: #ffffff;
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 600;
}

.btn-whatsapp-inquire:hover {
  background: #1eb956;
}

.btn-quick-view {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 0.82rem;
}

.btn-quick-view:hover {
  background: var(--bg-card-hover);
  border-color: var(--gold-light);
}

/* ==========================================================
   PORTFOLIO & SHOWCASE GALLERY
   ========================================================== */
.portfolio-section {
  background: var(--bg-main);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.portfolio-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  background: var(--bg-card);
}

.portfolio-img-wrap {
  position: relative;
  height: 380px;
  overflow: hidden;
}

.portfolio-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-item:hover .portfolio-img-wrap img {
  transform: scale(1.06);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(8, 12, 22, 0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  transition: var(--transition);
}

.p-category {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.portfolio-overlay h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: #ffffff;
  margin-bottom: 8px;
}

.portfolio-overlay p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
}

.btn-gold {
  background: var(--gold-gradient);
  color: #0f172a;
  font-weight: 700;
  border-radius: var(--radius-full);
}

.btn-gold:hover {
  box-shadow: var(--shadow-gold);
  color: #000;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.82rem;
}

/* ==========================================================
   ABOUT RADHIKA JEWELLERS
   ========================================================== */
.about-section {
  background: var(--bg-surface);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 50px;
}

.lead-text {
  font-size: 1.15rem;
  color: var(--gold-light);
  line-height: 1.6;
  margin-bottom: 16px;
}

.body-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 30px;
}

.about-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.feature-box {
  display: flex;
  gap: 14px;
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--gold-gradient-soft);
  border: 1px solid var(--border-color);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.feature-box h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.feature-box p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.about-visual {
  position: relative;
}

.about-img-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
}

.about-img-frame img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.stat-overlay-card {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-light);
}

.stat-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/* ==========================================================
   VISIT US SECTION (ROURKELA, ODISHA)
   ========================================================== */
.visit-section {
  background: var(--bg-main);
}

.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.visit-info-cards {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.visit-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  gap: 18px;
  transition: var(--transition);
}

.visit-card:hover {
  border-color: var(--gold-primary);
  transform: translateY(-2px);
}

.visit-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gold-gradient-soft);
  border: 1px solid var(--border-color);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.visit-details h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.visit-details p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.visit-action-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 10px;
}

.visit-action-link:hover {
  text-decoration: underline;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  padding: 4px 0;
}

.hours-row strong {
  color: var(--gold-light);
}

.open-status {
  font-size: 0.8rem;
  color: var(--emerald-accent);
  margin-top: 8px;
  font-weight: 500;
}

.quick-contact-btns {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}

.btn-outline:hover {
  background: var(--bg-card-hover);
  border-color: var(--gold-light);
  color: var(--gold-light);
}

.visit-map-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.map-placeholder-box {
  position: relative;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  height: 320px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.map-visual-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(212, 175, 55, 0.15) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.6;
}

.map-overlay-content {
  position: relative;
  z-index: 2;
  padding: 24px;
}

.map-pin-pulse {
  font-size: 2.4rem;
  color: var(--ruby-accent);
  margin-bottom: 12px;
  animation: mapPulse 2s infinite;
}

@keyframes mapPulse {
  0% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(239, 68, 68, 0.7)); }
  50% { transform: scale(1.15); filter: drop-shadow(0 0 16px rgba(239, 68, 68, 0.9)); }
  100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(239, 68, 68, 0)); }
}

.map-overlay-content h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 4px;
}

.map-overlay-content p {
  color: var(--gold-light);
  font-size: 0.88rem;
  margin-bottom: 18px;
}

.store-features-bar {
  display: flex;
  justify-content: space-around;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.s-feat {
  display: flex;
  align-items: center;
  gap: 6px;
}

.s-feat i {
  color: var(--gold-light);
}

/* ==========================================================
   CONTACT US SECTION
   ========================================================== */
.contact-section {
  background: var(--bg-surface);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
}

.contact-info-card, .contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.contact-info-card h3, .contact-form-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.contact-info-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.contact-method:last-child {
  border-bottom: none;
}

.c-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--gold-gradient-soft);
  border: 1px solid var(--border-color);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.c-icon.whatsapp {
  background: rgba(37, 211, 102, 0.15);
  border-color: rgba(37, 211, 102, 0.3);
  color: #25d366;
}

.c-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.c-val {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* Forms */
.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.req {
  color: var(--ruby-accent);
}

.form-control {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.input-wrap {
  position: relative;
}

.input-wrap .form-control {
  padding-left: 38px;
}

.input-wrap i {
  position: absolute;
  left: 14px;
  top: 14px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

textarea.form-control {
  resize: vertical;
}

.btn-block {
  width: 100%;
}

.inquiry-feedback {
  margin-top: 16px;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  text-align: center;
}

.inquiry-feedback.success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--emerald-accent);
  color: #34d399;
}

/* ==========================================================
   LUXURY FOOTER
   ========================================================== */
.main-footer {
  background: #050810;
  border-top: 1px solid var(--border-color);
  padding: 60px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.footer-emblem-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.35));
}

.brand-col p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.footer-socials a:hover {
  background: var(--gold-gradient);
  color: #0f172a;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.footer-col ul li a:hover {
  color: var(--gold-light);
  padding-left: 4px;
}

.footer-col p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.gold-icon {
  color: var(--gold-primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.btn-outline-gold {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--gold-light);
}

.btn-outline-gold:hover {
  background: var(--gold-gradient);
  color: #000;
}

.btn-xs {
  padding: 6px 12px;
  font-size: 0.78rem;
  border-radius: var(--radius-sm);
}

.mt-2 {
  margin-top: 8px;
}

/* ==========================================================
   CUSTOMER INFORMATION & VAULT FULLSCREEN MODAL / PORTAL
   ========================================================== */
.portal-modal-wrap {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
  animation: fadeInModal 0.25s ease-out;
}

@keyframes fadeInModal {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

.portal-modal-card {
  width: 100%;
  max-width: 1240px;
  max-height: 94vh;
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.portal-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-subtle);
}

.portal-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.p-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gold-gradient);
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.portal-brand h2 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
}

.portal-brand p {
  font-size: 0.8rem;
  color: var(--gold-light);
}

.role-nav-switch {
  display: flex;
  background: var(--bg-card);
  padding: 4px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
}

.role-pill-btn {
  border: none;
  background: transparent;
  color: var(--text-muted);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.role-pill-btn.active.staff-pill {
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

.role-pill-btn.active.admin-pill {
  background: #db2777;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(219, 39, 119, 0.4);
}

.portal-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.supabase-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-full);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
  animation: pulseGreen 1.8s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(52, 211, 153, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.btn-close-portal {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--gold-light);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-close-portal:hover {
  background: var(--gold-gradient);
  color: #0f172a;
}

/* Staff View Layout */
.staff-view-wrap {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 24px;
}

.staff-kiosk-card, .staff-session-panel, .card-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
}

.section-title-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.privacy-badge {
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #60a5fa;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.btn-staff-submit {
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  color: #ffffff;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn-staff-submit:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
}

.staff-session-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.session-stat-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.session-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.session-stat-number {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-heading);
}

.recent-submission-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.recent-submission-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

/* Admin Portal Layout */
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.stat-icon.total { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }
.stat-icon.excel { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.stat-icon.groups { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.stat-icon.admin { background: rgba(236, 72, 153, 0.15); color: #f472b6; }

.stat-content h3 {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.stat-value {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-heading);
}

.action-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}

.search-filter-group, .export-import-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.search-box {
  position: relative;
  min-width: 260px;
}

.search-box i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.search-box .form-control {
  padding-left: 34px;
}

.view-toggle {
  display: flex;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 2px;
}

.toggle-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.toggle-btn.active {
  background: var(--gold-gradient);
  color: #000;
}

.btn-success {
  background: #10b981;
  color: #ffffff;
  border-radius: var(--radius-sm);
}

.btn-success:hover {
  background: #059669;
}

.btn-primary {
  background: #2563eb;
  color: #ffffff;
  border-radius: var(--radius-sm);
}

.btn-primary:hover {
  background: #1d4ed8;
}

.btn-danger {
  background: #ef4444;
  color: #ffffff;
  border-radius: var(--radius-sm);
}

.btn-danger-outline {
  background: transparent;
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
  border-radius: var(--radius-sm);
}

.btn-danger-outline:hover {
  background: #ef4444;
  color: #ffffff;
}

/* Contacts Table */
.table-responsive {
  overflow-x: auto;
}

.contacts-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.contacts-table th, .contacts-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

.contacts-table th {
  background: var(--bg-surface);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contacts-table tbody tr:hover {
  background: var(--bg-surface);
}

.category-tag {
  display: inline-block;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--gold-gradient-soft);
  color: var(--gold-light);
  border: 1px solid var(--border-color);
}

.table-actions {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
}

.btn-icon-action {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.btn-icon-action:hover {
  border-color: var(--gold-primary);
  color: var(--gold-light);
}

.btn-icon-action.delete:hover {
  border-color: var(--ruby-accent);
  color: var(--ruby-accent);
}

/* Cards View */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.contact-card-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 16px;
  transition: var(--transition);
}

.contact-card-item:hover {
  border-color: var(--gold-primary);
}

.contact-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.contact-card-name {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.contact-card-body {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.contact-card-body p {
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Selection Bar */
.selection-bar {
  background: var(--gold-gradient-soft);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 50px 20px;
  color: var(--text-muted);
}

.empty-icon {
  font-size: 3rem;
  color: var(--border-color);
  margin-bottom: 12px;
}

/* ==========================================================
   MODAL WINDOWS & PIN VERIFICATION
   ========================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.modal-card {
  width: 100%;
  max-width: 480px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  margin: auto;
}

.modal-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
}

.modal-header .btn-close {
  position: absolute;
  top: -10px;
  right: -10px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-icon-shield {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-full);
  background: rgba(219, 39, 119, 0.15);
  color: #ec4899;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.pin-field {
  width: 100%;
  text-align: center;
  font-size: 2rem;
  letter-spacing: 0.5em;
  padding: 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
}

.pin-error {
  color: var(--ruby-accent);
  font-size: 0.85rem;
  margin-top: 8px;
  text-align: center;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
}

.product-modal-card {
  max-width: 680px;
}

/* Toast Alerts */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--bg-glass);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  animation: slideInToast 0.3s ease-out;
}

@keyframes slideInToast {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.toast.success { border-color: var(--emerald-accent); }
.toast.error { border-color: var(--ruby-accent); }

/* ==========================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

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

  .visit-grid, .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .staff-view-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-main);
    border-bottom: 1px solid var(--border-color);
    padding: 20px;
  }

  .nav-menu.active {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    gap: 14px;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .btn-customer-portal span {
    display: none;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .hero-actions-group {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-hero {
    width: 100%;
  }

  .about-features-grid, .form-row {
    grid-template-columns: 1fr;
  }

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

/* ==========================================================
   15. SWARNA BACHAT (KITTY SCHEME) LUXURY STYLES
   ========================================================== */

/* Storefront Scheme Section */
.swarna-bachat-section {
  background: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.08) 0%, var(--bg-main) 70%);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

/* 3 Scheme Model Selector Tabs */
.scheme-models-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 30px;
}

.scheme-tab {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.scheme-tab:hover {
  border-color: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

.scheme-tab.active {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.18) 0%, rgba(19, 29, 51, 0.95) 100%);
  border-color: var(--gold-primary);
  box-shadow: 0 0 24px rgba(212, 175, 55, 0.28);
}

.scheme-tab.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-gradient);
}

.scheme-tab-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.scheme-tab.active .scheme-tab-icon {
  background: var(--gold-gradient);
  color: #080c16;
}

.scheme-tab-info {
  display: flex;
  flex-direction: column;
}

.scheme-tab-tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-light);
  font-weight: 700;
  margin-bottom: 2px;
}

.scheme-tab strong {
  font-size: 1.05rem;
  color: var(--text-primary);
  font-family: var(--font-heading);
}

.scheme-tab small {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Calculator Wrapper */
.scheme-calc-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.scheme-calc-wrapper::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.scheme-calc-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 32px;
}

.scheme-calc-controls-card {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.model-badge-pill {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-light);
  border: 1px solid var(--border-color);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}

.calc-card-header h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.calc-card-header p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Slider & Quick Chips */
.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.calc-label-row label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.calc-amount-display {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold-light);
  text-shadow: 0 0 12px rgba(212, 175, 55, 0.3);
}

.scheme-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
  outline: none;
  -webkit-appearance: none;
  accent-color: var(--gold-primary);
  margin-bottom: 16px;
  cursor: pointer;
}

.scheme-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold-gradient);
  cursor: pointer;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.6);
  border: 2px solid #080c16;
}

.calc-quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.chip-btn, .amt-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.chip-btn:hover, .amt-chip:hover {
  border-color: var(--gold-primary);
  color: var(--gold-light);
}

.chip-btn.active, .amt-chip.active {
  background: var(--gold-gradient);
  color: #080c16;
  border-color: var(--gold-primary);
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.custom-amount-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.25);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--border-color);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.custom-amount-input-wrap input {
  max-width: 180px;
}

.scheme-perks-list {
  background: rgba(212, 175, 55, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.perk-item {
  font-size: 0.84rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.4;
}

.perk-item i {
  color: var(--gold-light);
  margin-top: 2px;
}

/* Projection Result Card */
.scheme-calc-result-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.3);
}

.result-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 14px;
  margin-bottom: 18px;
}

.result-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.result-rate-tag {
  font-size: 0.78rem;
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.12);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.result-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 22px;
}

.metric-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px;
  display: flex;
  flex-direction: column;
}

.metric-box.highlight {
  background: rgba(212, 175, 55, 0.08);
  border-color: rgba(212, 175, 55, 0.3);
}

.metric-box.total-box {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(16, 185, 129, 0.08) 100%);
  border: 1px solid var(--gold-primary);
}

.metric-box.weight-box {
  grid-column: span 2;
  background: rgba(245, 215, 127, 0.05);
  border: 1px dashed var(--border-color);
}

.m-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.m-value {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
}

.total-val {
  font-size: 1.7rem;
  color: var(--gold-light);
}

.gold-weight-val {
  font-size: 1.35rem;
  color: #34d399;
}

.m-sub {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.m-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.74rem;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-top: 4px;
}

.scheme-action-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}

.scheme-legal-disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.4;
}

/* ==========================================================
   16. NOTIFICATIONS BELL & DROPDOWN
   ========================================================== */
.notification-bell-wrap {
  position: relative;
}

.notification-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  color: var(--gold-light);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  position: relative;
  transition: var(--transition);
}

.notification-btn:hover {
  background: rgba(212, 175, 55, 0.2);
  transform: scale(1.05);
}

.notification-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #ef4444;
  color: white;
  font-size: 0.7rem;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-main);
  animation: pulse 2s infinite;
}

.notification-dropdown {
  position: absolute;
  top: 50px;
  right: 0;
  width: 360px;
  max-width: calc(100vw - 32px);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  z-index: 1000;
  overflow: hidden;
  animation: fadeIn 0.2s ease-out;
}

.notif-header {
  padding: 14px 18px;
  background: rgba(212, 175, 55, 0.1);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.notif-header h4 {
  font-size: 0.92rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.notif-mark-read {
  background: none;
  border: none;
  color: var(--gold-light);
  font-size: 0.78rem;
  cursor: pointer;
  font-weight: 600;
}

.notif-list {
  max-height: 340px;
  overflow-y: auto;
}

.notif-item {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  gap: 12px;
  align-items: flex-start;
  transition: var(--transition);
  cursor: pointer;
}

.notif-item:hover {
  background: rgba(255, 255, 255, 0.04);
}

.notif-item.overdue {
  border-left: 3px solid #ef4444;
}

.notif-item.maturing {
  border-left: 3px solid var(--gold-primary);
}

.notif-item.payment {
  border-left: 3px solid #10b981;
}

.notif-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.notif-item.overdue .notif-icon {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.notif-item.maturing .notif-icon {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-light);
}

.notif-item.payment .notif-icon {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

.notif-content {
  flex: 1;
}

.notif-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.notif-desc {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.3;
}

.notif-time {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ==========================================================
   17. PORTAL SUB-NAV & DASHBOARD DUES PROGRESS BAR
   ========================================================== */
.portal-subnav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid var(--border-subtle);
}

.subnav-pills {
  display: flex;
  gap: 10px;
}

.subnav-pill {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.subnav-pill:hover {
  border-color: var(--gold-primary);
  color: var(--text-primary);
}

.subnav-pill.active {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold-primary);
  color: var(--gold-light);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.2);
}

.subnav-badge, .admin-auth-pill {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.admin-auth-pill {
  color: #ec4899;
  font-weight: 600;
}

/* Admin Bullion Rates Control Bar */
.admin-bullion-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, rgba(23, 34, 59, 0.95) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 12px;
  padding: 12px 20px;
  margin: 18px 24px;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.bullion-bar-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.bullion-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--gold-light);
  font-size: 0.88rem;
}

.bullion-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.bullion-rates-mini-grid {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.b-mini-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 6px 12px;
  text-align: center;
}

.b-mini-item.highlight {
  border-color: rgba(212, 175, 55, 0.5);
  background: rgba(212, 175, 55, 0.08);
}

.b-mini-item small {
  display: block;
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.b-mini-item strong {
  font-size: 0.94rem;
  color: #fff;
  font-family: monospace;
}

.b-mini-item.highlight strong {
  color: var(--gold-light);
}

.bullion-bar-actions button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.staff-subview-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  padding: 24px;
}

/* Dues Progress Card */
.dues-progress-card {
  background: linear-gradient(135deg, rgba(19, 29, 51, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 1px solid var(--border-color);
  padding: 24px;
  border-radius: var(--radius-md);
}

.dues-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.dues-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.dues-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.dues-title-wrap h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--text-primary);
}

.dues-title-wrap p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.dues-actions {
  display: flex;
  gap: 8px;
}

.btn-danger-pill {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid #ef4444;
  color: #f87171;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.btn-danger-pill:hover {
  background: #ef4444;
  color: white;
}

.dues-metrics-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.d-metric-box {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px;
  display: flex;
  flex-direction: column;
}

.d-metric-box.collected {
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.05);
}

.d-metric-box.overdue {
  border-color: rgba(239, 68, 68, 0.3);
  background: rgba(239, 68, 68, 0.05);
}

.d-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.d-val {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
}

.text-emerald {
  color: #34d399 !important;
}

.text-ruby {
  color: #f87171 !important;
}

.d-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Dual Progress Bar Track */
.dues-progress-bar-container {
  background: rgba(0, 0, 0, 0.3);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.progress-bar-legend {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.dues-progress-track {
  height: 12px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
  display: flex;
}

.progress-fill {
  height: 100%;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.collected-fill {
  background: linear-gradient(90deg, #10b981 0%, #34d399 100%);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.overdue-fill {
  background: linear-gradient(90deg, #ef4444 0%, #f87171 100%);
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
}

/* Kitty Table Filters */
.filter-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.k-filter-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.k-filter-pill:hover {
  border-color: var(--gold-primary);
  color: var(--gold-light);
}

.k-filter-pill.active {
  background: rgba(212, 175, 55, 0.18);
  border-color: var(--gold-primary);
  color: var(--gold-light);
  font-weight: 700;
}

.text-ruby-pill.active {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
  color: #f87171;
}

/* Quick Pay Details Card */
.scheme-quick-search-box {
  margin-bottom: 16px;
}

.scheme-quick-search-box label {
  font-size: 0.84rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
  display: block;
}

.search-input-btn-wrap {
  display: flex;
  gap: 8px;
}

.quick-pay-account-card {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px;
}

.quick-pay-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 12px;
  margin-bottom: 14px;
}

.quick-pay-header h3 {
  font-size: 1.1rem;
  color: var(--text-primary);
}

.qp-acc-id {
  font-family: monospace;
  font-size: 0.85rem;
  color: var(--gold-light);
}

.qp-model-badge {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-light);
  border: 1px solid var(--border-color);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.qp-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.qp-stat {
  background: rgba(255, 255, 255, 0.03);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
}

.qp-stat span {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.qp-stat strong {
  font-size: 0.95rem;
  color: var(--text-primary);
}

.custom-pill {
  font-size: 0.68rem;
  background: rgba(212, 175, 55, 0.2);
  color: var(--gold-light);
  padding: 2px 6px;
  border-radius: var(--radius-full);
  margin-left: 6px;
  font-weight: 600;
}

/* Status Badges */
.badge-active {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.badge-overdue {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  animation: pulse 2s infinite;
}

.badge-matured {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-light);
  border: 1px solid var(--gold-primary);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.badge-redeemed {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

/* Passbook & Table Action Buttons */
.btn-table-action {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.85rem;
}

.btn-table-action.passbook {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-light);
}

.btn-table-action.passbook:hover {
  background: var(--gold-gradient);
  color: #080c16;
}

.btn-table-action.whatsapp-reminder {
  background: rgba(37, 211, 102, 0.15);
  color: #25d366;
}

.btn-table-action.whatsapp-reminder:hover {
  background: #25d366;
  color: white;
}

.btn-table-action.email-reminder {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
}

.btn-table-action.email-reminder:hover {
  background: #3b82f6;
  color: white;
}

/* ==========================================================
   18. DIGITAL PASSBOOK MODAL STYLES
   ========================================================== */
.passbook-modal-card {
  max-width: 900px;
  width: 95%;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(212, 175, 55, 0.2);
}

.passbook-header {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(15, 23, 42, 0.95) 100%);
  border-bottom: 1px solid var(--border-color);
  padding: 20px 24px;
}

.passbook-header-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.passbook-header-brand h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--gold-light);
}

.passbook-header-brand p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.passbook-modal-body {
  padding: 24px;
  max-height: 78vh;
  overflow-y: auto;
}

.passbook-hero-card {
  background: linear-gradient(135deg, #162038 0%, #0d1527 100%);
  border: 1px solid var(--gold-primary);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  box-shadow: inset 0 0 20px rgba(212, 175, 55, 0.1);
}

.pb-hero-field span {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--gold-light);
  letter-spacing: 0.05em;
  display: block;
}

.pb-hero-field strong {
  font-size: 1.05rem;
  color: var(--text-primary);
}

/* 11 Month Passbook Matrix */
.passbook-matrix-header {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.passbook-grid-matrix {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
  margin-bottom: 24px;
}

.pb-month-cell {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: var(--transition);
}

.pb-month-cell.paid {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.4);
}

.pb-month-cell.due {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.4);
}

.pb-month-cell.overdue {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.4);
}

.pb-month-cell.bonus-month {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(245, 215, 127, 0.08) 100%);
  border-color: var(--gold-primary);
  grid-column: span 1;
}

.pb-m-num {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-primary);
}

.pb-m-amt {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold-light);
}

.pb-m-status {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-top: 2px;
}

.pb-month-cell.paid .pb-m-status {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
}

.pb-month-cell.due .pb-m-status {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
}

.pb-month-cell.overdue .pb-m-status {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
}

.pb-month-cell.bonus-month .pb-m-status {
  background: var(--gold-gradient);
  color: #080c16;
}

/* Passbook Summary Total Box */
.passbook-summary-bar {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.pb-summary-stat span {
  font-size: 0.74rem;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
}

.pb-summary-stat strong {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--gold-light);
}

.passbook-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

/* ==========================================================
   19. DIGITAL RECEIPT MODAL STYLES
   ========================================================== */
.receipt-modal-card {
  max-width: 580px;
  width: 95%;
  background: var(--bg-surface);
}

.receipt-paper {
  background: #ffffff;
  color: #0f172a;
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  position: relative;
  font-family: var(--font-body);
}

.receipt-paper-header {
  text-align: center;
  border-bottom: 2px dashed #cbd5e1;
  padding-bottom: 14px;
  margin-bottom: 14px;
}

.receipt-paper-header h2 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: #aa7c11;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.receipt-paper-header p {
  font-size: 0.78rem;
  color: #64748b;
}

.receipt-num-date-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #475569;
  margin-bottom: 14px;
}

.receipt-items-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
  font-size: 0.85rem;
}

.receipt-items-table th {
  text-align: left;
  background: #f1f5f9;
  padding: 8px 10px;
  color: #334155;
  font-weight: 700;
}

.receipt-items-table td {
  padding: 10px;
  border-bottom: 1px solid #e2e8f0;
  color: #1e293b;
}

.receipt-total-highlight {
  background: #fef9c3;
  border: 1px solid #fde047;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.receipt-total-highlight span {
  font-size: 0.85rem;
  font-weight: 700;
  color: #854d0e;
}

.receipt-total-highlight strong {
  font-size: 1.3rem;
  color: #713f12;
  font-family: var(--font-heading);
}

.receipt-actions-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

/* ==========================================================
   20. RESPONSIVE ADJUSTMENTS
   ========================================================== */
@media (max-width: 900px) {
  .scheme-calc-grid {
    grid-template-columns: 1fr;
  }
  
  .staff-subview-grid {
    grid-template-columns: 1fr;
  }
  
  .passbook-grid-matrix {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==========================================================
   21. CUSTOMER SELF-SERVICE PASSBOOK PORTAL STYLES
   ========================================================== */

.customer-passbook-section {
  background: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.12) 0%, rgba(15, 23, 42, 0.96) 65%, var(--bg-main) 100%);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.customer-passbook-section::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -100px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* Passbook Search & Lookup Card */
.passbook-lookup-card {
  max-width: 860px;
  margin: 0 auto 35px auto;
  background: linear-gradient(145deg, rgba(23, 34, 59, 0.85) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-lg);
  padding: 30px 36px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 25px rgba(212, 175, 55, 0.12);
  backdrop-filter: blur(12px);
  position: relative;
}

.lookup-label {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 12px;
}

.lookup-input-btn-group {
  display: flex;
  gap: 12px;
  align-items: stretch;
}

.lookup-input-wrapper {
  position: relative;
  flex: 1;
}

.lookup-field-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold-light);
  font-size: 1.1rem;
  pointer-events: none;
}

.lookup-input {
  width: 100%;
  height: 52px;
  padding: 0 46px 0 50px;
  font-size: 1.05rem;
  background: rgba(10, 15, 30, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 12px;
  color: #fff;
  transition: var(--transition);
}

.lookup-input:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.35);
  outline: none;
}

.lookup-clear-btn {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  transition: var(--transition);
}

.lookup-clear-btn:hover {
  color: #fff;
}

.lookup-btn {
  height: 52px;
  padding: 0 28px;
  font-size: 1rem;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

/* Demo Chips */
.lookup-demo-chips {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.chips-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.demo-account-chip {
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 20px;
  padding: 6px 14px;
  color: var(--text-normal);
  font-size: 0.82rem;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.demo-account-chip:hover {
  background: rgba(212, 175, 55, 0.2);
  border-color: var(--gold-light);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

.demo-account-chip strong {
  color: var(--gold-light);
}

.demo-account-chip small {
  color: var(--text-muted);
}

/* Multi-Account Selection Grid */
.multi-account-wrap {
  max-width: 860px;
  margin: 0 auto 30px auto;
  background: rgba(23, 34, 59, 0.8);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.multi-acc-title {
  font-size: 1.05rem;
  margin-bottom: 16px;
  color: var(--text-heading);
  display: flex;
  align-items: center;
  gap: 10px;
}

.multi-acc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
}

.multi-acc-card {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 16px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.multi-acc-card:hover,
.multi-acc-card.active {
  border-color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(212, 175, 55, 0.2);
}

.multi-acc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.multi-acc-no {
  font-family: monospace;
  font-weight: 700;
  color: var(--gold-light);
  font-size: 0.95rem;
}

.multi-acc-badge {
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-light);
}

/* Privacy Security Gate Card */
.cp-verify-card {
  max-width: 600px;
  margin: 0 auto 30px auto;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: flex;
  gap: 20px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.verify-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.verify-content h4 {
  font-size: 1.15rem;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.verify-content p {
  font-size: 0.9rem;
  color: var(--text-normal);
  margin-bottom: 16px;
  line-height: 1.5;
}

.verify-input-row {
  display: flex;
  gap: 12px;
  align-items: center;
}

.verify-pin-input {
  width: 140px;
  height: 46px;
  text-align: center;
  font-size: 1.3rem;
  letter-spacing: 6px;
  font-weight: 700;
  background: rgba(10, 15, 30, 0.9);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 10px;
  color: #fff;
}

.verify-help-text {
  display: block;
  margin-top: 12px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Empty State Initial Banner */
.cp-empty-state {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 20px;
}

.empty-icon-shield {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px auto;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.cp-empty-state h3 {
  font-size: 1.5rem;
  color: var(--text-heading);
  margin-bottom: 10px;
}

.cp-empty-state p {
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 30px auto;
  font-size: 0.95rem;
}

.empty-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  text-align: left;
}

.empty-feature-item {
  background: rgba(23, 34, 59, 0.5);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: var(--transition);
}

.empty-feature-item:hover {
  border-color: rgba(212, 175, 55, 0.3);
  transform: translateY(-2px);
}

.empty-feature-item strong {
  color: var(--text-heading);
  font-size: 1rem;
}

.empty-feature-item span {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ==========================================================
   21B. VIP GOLD DIGITAL PASSBOOK CARD
   ========================================================== */

.cp-passbook-container {
  max-width: 980px;
  margin: 0 auto;
  animation: fadeIn 0.4s ease;
}

.vip-gold-passbook-card {
  background: linear-gradient(135deg, #1e1910 0%, #2e2414 45%, #18140c 100%);
  border: 1px solid rgba(212, 175, 55, 0.6);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 
              0 0 35px rgba(212, 175, 55, 0.22),
              inset 0 1px 0 rgba(255, 235, 150, 0.35);
  margin-bottom: 28px;
}

/* Card Background Holographic Crown Watermark */
.vip-gold-passbook-card::after {
  content: '\f521';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  right: -30px;
  bottom: -40px;
  font-size: 180px;
  color: rgba(212, 175, 55, 0.04);
  pointer-events: none;
  line-height: 1;
}

.vip-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  padding-bottom: 20px;
  margin-bottom: 22px;
}

.vip-brand-block {
  display: flex;
  align-items: center;
  gap: 16px;
}

.vip-crown-emblem {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.25) 0%, rgba(212, 175, 55, 0.05) 100%);
  border: 1px solid rgba(212, 175, 55, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gold-light);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.vip-brand-titles h3 {
  font-size: 1.25rem;
  letter-spacing: 2px;
  color: var(--gold-light);
  margin: 0;
  font-family: var(--font-heading);
}

.vip-brand-titles p {
  font-size: 0.78rem;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.7);
  margin: 2px 0 0 0;
  text-transform: uppercase;
}

.vip-card-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.vip-card-status-badge.active {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.vip-card-status-badge.overdue {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.vip-card-status-badge.matured {
  background: rgba(212, 175, 55, 0.25);
  color: var(--gold-light);
  border: 1px solid var(--gold-primary);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.35);
}

/* Card Chip Graphic */
.vip-chip-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.gold-microchip {
  width: 48px;
  height: 36px;
  border-radius: 6px;
  background: linear-gradient(135deg, #d4af37 0%, #aa8018 50%, #f3e5ab 100%);
  position: relative;
  box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.3);
}

.gold-microchip::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(0, 0, 0, 0.35);
}

.gold-microchip::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(0, 0, 0, 0.35);
}

.vip-plan-chip-tag {
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 4px 12px;
  border-radius: 14px;
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 600;
}

/* Card Fields Grid */
.vip-fields-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px 24px;
}

.vip-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vip-field-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.55);
}

.vip-field-value {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
}

.vip-field-value.acc-no {
  font-family: monospace;
  font-size: 1.25rem;
  color: var(--gold-light);
  letter-spacing: 1px;
}

/* Financial & Gold Weight Live Meters */
.cp-meters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.cp-meter-card {
  background: linear-gradient(145deg, rgba(23, 34, 59, 0.85) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.cp-meter-card:hover {
  border-color: rgba(212, 175, 55, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.cp-meter-card.highlight {
  border-color: rgba(212, 175, 55, 0.5);
  background: linear-gradient(145deg, rgba(35, 45, 75, 0.9) 0%, rgba(20, 28, 50, 0.95) 100%);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.15);
}

.cp-meter-card.gold-weight {
  border-color: rgba(16, 185, 129, 0.5);
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.08) 0%, rgba(15, 23, 42, 0.95) 100%);
}

.cp-meter-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.cp-meter-val {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  font-family: var(--font-heading);
}

.cp-meter-val.gold {
  color: var(--gold-light);
}

.cp-meter-val.emerald {
  color: #34d399;
}

.cp-meter-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================
   21C. 11-MONTH VISUAL STAMP MATRIX
   ========================================================== */

.cp-matrix-section {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-md);
}

.cp-matrix-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.cp-matrix-title {
  font-size: 1.15rem;
  color: var(--text-heading);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.cp-rate-indicator {
  font-size: 0.82rem;
  padding: 4px 12px;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.25);
  color: var(--gold-light);
}

.cp-stamp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.stamp-cell {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  transition: var(--transition);
}

.stamp-cell:hover {
  transform: translateY(-2px);
}

/* Month Number & Amount */
.stamp-month-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stamp-amount {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  font-family: var(--font-heading);
}

.stamp-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  width: fit-content;
  margin-top: 4px;
  text-transform: uppercase;
}

/* PAID STAMP */
.stamp-cell.paid {
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.12) 0%, rgba(15, 23, 42, 0.9) 100%);
  border-color: rgba(16, 185, 129, 0.4);
}

.stamp-cell.paid .stamp-status-pill {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
}

.stamp-paid-date {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.stamp-gold-earned {
  font-size: 0.72rem;
  color: #34d399;
  font-weight: 600;
}

/* DUE NOW STAMP */
.stamp-cell.due-now {
  background: linear-gradient(145deg, rgba(245, 158, 11, 0.16) 0%, rgba(15, 23, 42, 0.95) 100%);
  border-color: #f59e0b;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.25);
  animation: pulseAmber 2.5s infinite;
}

@keyframes pulseAmber {
  0% { box-shadow: 0 0 10px rgba(245, 158, 11, 0.2); }
  50% { box-shadow: 0 0 22px rgba(245, 158, 11, 0.4); }
  100% { box-shadow: 0 0 10px rgba(245, 158, 11, 0.2); }
}

.stamp-cell.due-now .stamp-status-pill {
  background: rgba(245, 158, 11, 0.25);
  color: #fbbf24;
}

.stamp-pay-mini-btn {
  margin-top: 8px;
  background: var(--gold-gradient);
  color: #000;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: var(--transition);
}

.stamp-pay-mini-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.4);
}

/* OVERDUE STAMP */
.stamp-cell.overdue {
  background: linear-gradient(145deg, rgba(239, 68, 68, 0.16) 0%, rgba(15, 23, 42, 0.95) 100%);
  border-color: #ef4444;
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.25);
}

.stamp-cell.overdue .stamp-status-pill {
  background: rgba(239, 68, 68, 0.25);
  color: #f87171;
}

/* UPCOMING STAMP */
.stamp-cell.upcoming {
  opacity: 0.65;
}

.stamp-cell.upcoming .stamp-status-pill {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

/* MONTH 12 BONUS CELL */
.stamp-cell.bonus-cell {
  background: linear-gradient(145deg, rgba(212, 175, 55, 0.18) 0%, rgba(20, 25, 45, 0.95) 100%);
  border: 1px solid var(--gold-primary);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.22);
}

.stamp-cell.bonus-cell .stamp-status-pill {
  background: rgba(212, 175, 55, 0.25);
  color: var(--gold-light);
  border: 1px solid rgba(212, 175, 55, 0.4);
}

.stamp-bonus-gift-tag {
  font-size: 0.72rem;
  color: var(--gold-light);
  font-weight: 600;
  margin-top: 4px;
}

/* ==========================================================
   21D. CUSTOMER ACTION TOOLBAR
   ========================================================== */

.cp-actions-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 24px;
}

.cp-actions-toolbar .btn {
  padding: 12px 24px;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 10px;
}

.btn-upi-pay {
  background: var(--gold-gradient);
  color: #000;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.35);
}

.btn-upi-pay:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.5);
}

/* ==========================================================
   22. CUSTOMER ONLINE UPI PAYMENT MODAL
   ========================================================== */

.customer-upi-modal-card {
  max-width: 520px;
  background: linear-gradient(145deg, #17223b 0%, #0f172a 100%);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(212, 175, 55, 0.2);
}

.customer-upi-modal-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
}

.upi-bill-summary {
  background: rgba(10, 15, 30, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 12px;
  padding: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  text-align: left;
}

.upi-bill-item span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.upi-bill-item strong {
  font-size: 1.05rem;
  color: #fff;
}

.upi-bill-item.full-span {
  grid-column: span 2;
  border-top: 1px solid var(--border-color);
  padding-top: 8px;
  margin-top: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.upi-bill-item.full-span strong {
  font-size: 1.35rem;
  color: var(--gold-light);
}

/* QR Code Box */
.upi-qr-box {
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  display: inline-block;
  margin: 0 auto;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  position: relative;
}

.upi-qr-image {
  width: 200px;
  height: 200px;
  display: block;
}

.upi-qr-caption {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* UPI VPA Copy Bar */
.upi-vpa-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px dashed rgba(212, 175, 55, 0.4);
  border-radius: 10px;
  padding: 10px 16px;
}

.upi-vpa-bar code {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold-light);
  font-family: monospace;
}

.btn-copy-vpa {
  background: transparent;
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: #fff;
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-copy-vpa:hover {
  background: rgba(212, 175, 55, 0.2);
  border-color: var(--gold-light);
}

/* Direct App Intent Links (Mobile Users) */
.upi-mobile-apps-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.upi-apps-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.upi-direct-app-btn {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  font-weight: 700;
  padding: 12px 18px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
  transition: var(--transition);
}

.upi-direct-app-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
  color: #fff;
}

.upi-confirm-btn {
  background: rgba(37, 211, 102, 0.15);
  border: 1px solid #25d366;
  color: #25d366;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.upi-confirm-btn:hover {
  background: #25d366;
  color: #000;
}

/* ==========================================================
   22B. GENERAL ONLINE UPI PAYMENT MODAL (BHARATPE MERCHANT)
   ========================================================== */

.general-payment-modal-card {
  max-width: 680px;
  background: linear-gradient(145deg, #17223b 0%, #0f172a 100%);
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), 0 0 35px rgba(212, 175, 55, 0.25);
}

.general-payment-modal-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gen-merchant-badge-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(10, 15, 30, 0.9);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 12px;
  padding: 12px 18px;
  flex-wrap: wrap;
  gap: 12px;
}

.m-badge-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.m-badge-left strong {
  display: block;
  font-size: 1rem;
  color: var(--gold-light);
  letter-spacing: 1px;
}

.m-badge-left small {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.m-badge-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.m-badge-right span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.m-badge-right code {
  font-family: monospace;
  font-size: 0.85rem;
  color: #34d399;
  background: rgba(16, 185, 129, 0.12);
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.gen-payment-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  align-items: center;
}

.input-prefix-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-currency-prefix {
  position: absolute;
  left: 14px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold-light);
  pointer-events: none;
}

.gen-amount-input {
  padding-left: 36px !important;
  font-size: 1.3rem !important;
  font-weight: 700 !important;
  color: #fff !important;
}

.gen-quick-amounts {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.gen-chip-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  color: var(--text-normal);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.gen-chip-btn:hover,
.gen-chip-btn.active {
  background: var(--gold-gradient);
  color: #000;
  border-color: transparent;
  font-weight: 700;
}

/* Right QR Col */
.gen-qr-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 16px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(212, 175, 55, 0.6);
}

.gen-qr-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px dashed #d1d5db;
  padding-bottom: 8px;
  margin-bottom: 10px;
}

.qr-brand-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 800;
  color: #000;
  letter-spacing: 0.5px;
}

.qr-bp-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: #0891b2;
}

.gen-qr-image-wrapper {
  background: #fff;
  padding: 8px;
  border-radius: 12px;
  display: flex;
  justify-content: center;
}

.gen-qr-img {
  width: 100%;
  max-width: 220px;
  height: auto;
  aspect-ratio: 1 / 1;
  display: block;
  object-fit: contain;
}

.gen-qr-instructions {
  font-size: 0.74rem;
  color: #4b5563;
  margin-top: 8px;
  line-height: 1.3;
}

.gen-pay-actions-toolbar {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gen-pay-aux-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.gen-security-footer {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
}

/* Hero Pay App Button (High-Visibility Mobile CTA) */
.gen-hero-pay-app-box {
  width: 100%;
  margin: 4px 0 10px 0;
}

.btn-pay-app-hero {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #10b981 0%, #047857 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(110, 231, 183, 0.5) !important;
  border-radius: 14px !important;
  padding: 14px 18px !important;
  text-decoration: none !important;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4), 0 0 15px rgba(16, 185, 129, 0.2) !important;
  transition: var(--transition);
  cursor: pointer;
  width: 100%;
}

.btn-pay-app-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(16, 185, 129, 0.55);
}

.pay-hero-content {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.bolt-pulse {
  font-size: 1.4rem;
  color: #fef08a;
  animation: pulseDot 1.5s infinite;
}

.pay-hero-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pay-hero-title {
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #ffffff;
}

.pay-hero-title strong {
  color: #fef08a;
  font-size: 1.15rem;
  font-family: monospace;
}

.pay-hero-sub {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.9);
}

.pay-hero-arrow {
  font-size: 1.1rem;
  color: #fef08a;
}

@media (max-width: 768px) {
  .gen-payment-grid {
    grid-template-columns: 1fr;
  }
  .gen-pay-aux-buttons {
    grid-template-columns: 1fr;
  }
  .gen-merchant-badge-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Ensure modal card scrolls cleanly on mobile phones */
  .modal-overlay {
    padding: 8px 6px !important;
    align-items: flex-start !important;
  }

  .modal-card,
  .general-payment-modal-card,
  .customer-upi-modal-card {
    max-height: calc(100vh - 16px) !important;
    padding: 18px 12px !important;
    margin: 8px auto !important;
    border-radius: 16px !important;
  }

  .general-payment-modal-body,
  .customer-upi-modal-body {
    padding: 10px 4px !important;
    gap: 14px !important;
  }

  .btn-pay-app-hero {
    padding: 14px 14px !important;
  }

  .pay-hero-title {
    font-size: 0.88rem !important;
  }

  .pay-hero-title strong {
    font-size: 1.05rem !important;
  }

  .gen-qr-card {
    padding: 12px 10px !important;
  }

  .gen-qr-img {
    max-width: 180px !important;
  }

  .upi-qr-image {
    max-width: 180px !important;
    height: auto !important;
  }
}

/* ==========================================================
   23. PRINTABLE FORMAL STATEMENT STYLES
   ========================================================== */

@media print {
  /* Hide standard website components */
  body * {
    visibility: hidden;
  }
  
  #printablePassbookStatement,
  #printablePassbookStatement * {
    visibility: visible;
  }
  
  #printablePassbookStatement {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    background: #fff !important;
    color: #000 !important;
    padding: 20px;
    font-family: 'Inter', sans-serif !important;
  }

  .print-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
  }

  .print-table th,
  .print-table td {
    border: 1px solid #ddd;
    padding: 8px 12px;
    text-align: left;
    font-size: 11pt;
  }

  .print-table th {
    background: #f3f4f6 !important;
    color: #000 !important;
    font-weight: bold;
  }
}

/* Mobile Responsiveness for Passbook */
@media (max-width: 768px) {
  .passbook-lookup-card {
    padding: 20px 18px;
  }
  
  .lookup-input-btn-group {
    flex-direction: column;
  }
  
  .lookup-btn {
    width: 100%;
    justify-content: center;
  }
  
  .cp-stamp-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .vip-gold-passbook-card {
    padding: 20px 18px;
  }
  
  .vip-card-header {
    flex-direction: column;
    gap: 12px;
  }
  
  .cp-verify-card {
    flex-direction: column;
    padding: 20px;
  }
  
  .verify-input-row {
    flex-direction: column;
    width: 100%;
  }
  
  .verify-pin-input {
    width: 100%;
  }
  
  .cp-actions-toolbar {
    flex-direction: column;
  }
  
  .cp-actions-toolbar .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================
   24. INBOUND REFERRAL WELCOME BANNER
   ========================================================== */

.inbound-referral-banner {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.22) 0%, rgba(16, 185, 129, 0.25) 100%);
  border-bottom: 1px solid rgba(212, 175, 55, 0.4);
  padding: 12px 0;
  backdrop-filter: blur(10px);
  animation: slideDownBanner 0.4s ease;
  position: relative;
  z-index: 950;
}

@keyframes slideDownBanner {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.in-ref-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.in-ref-content {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
}

.in-ref-icon-badge {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.35);
  flex-shrink: 0;
}

.in-ref-text strong {
  display: block;
  font-size: 0.98rem;
  color: var(--gold-light);
}

.in-ref-text span {
  font-size: 0.82rem;
  color: var(--text-normal);
}

.in-ref-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.in-ref-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 2px 8px;
  transition: var(--transition);
}

.in-ref-close:hover {
  color: #fff;
}

/* ==========================================================
   25. MOBILE STICKY APP DOCK & DESKTOP FLOATING PILLS
   ========================================================== */

/* Mobile Sticky Bottom Dock (Screens < 768px) */
.mobile-sticky-dock {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 66px;
  background: rgba(13, 20, 36, 0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid rgba(212, 175, 55, 0.45);
  box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.5), 0 -1px 12px rgba(212, 175, 55, 0.15);
  padding: 6px 12px max(6px, env(safe-area-inset-bottom)) 12px;
  align-items: center;
  justify-content: space-around;
}

.dock-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
  padding: 4px 6px;
  min-width: 48px;
}

.dock-tab i {
  font-size: 1.15rem;
}

.dock-tab:hover,
.dock-tab.active {
  color: var(--gold-light);
}

/* Sticky Action Button 1: SHOP ONLINE */
.dock-btn-shop {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  background: var(--gold-gradient);
  color: #000 !important;
  font-weight: 700;
  font-size: 0.68rem;
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 20px;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.45);
  transition: var(--transition);
}

.dock-shop-icon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dock-shop-icon-wrap i {
  font-size: 1.05rem;
}

.dock-badge-pulse {
  position: absolute;
  top: -2px;
  right: -6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 6px #ef4444;
  animation: pulseDot 1.5s infinite;
}

/* Sticky Action Button 2: REFER & EARN VOUCHER */
.dock-btn-referral {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.25) 0%, rgba(16, 185, 129, 0.25) 100%);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  font-weight: 700;
  font-size: 0.68rem;
  padding: 5px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.dock-btn-referral:hover {
  background: rgba(212, 175, 55, 0.35);
  transform: translateY(-2px);
}

.dock-refer-icon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dock-refer-icon-wrap i {
  font-size: 1.05rem;
  color: var(--gold-light);
}

.dock-sparkle-pill {
  position: absolute;
  top: -8px;
  right: -14px;
  background: #ef4444;
  color: #fff;
  font-size: 0.58rem;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: 8px;
  line-height: 1.1;
  animation: bounceMini 2s infinite;
}

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

/* Desktop Floating Action Bar (Screens >= 768px) */
.desktop-floating-actions {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 990;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
  pointer-events: auto;
}

.floating-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  transition: var(--transition);
}

.floating-pill-btn.calc-pill {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border: 1.5px solid #d4af37;
  color: #ffd700;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), 0 0 15px rgba(212, 175, 55, 0.25);
  position: relative;
}

.floating-pill-btn.calc-pill:hover {
  transform: translateY(-3px) scale(1.03);
  background: var(--gold-gradient);
  color: #000;
  border-color: transparent;
  box-shadow: 0 10px 28px rgba(212, 175, 55, 0.5);
}

.floating-pill-btn.shop-pill {
  background: var(--gold-gradient);
  color: #000;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.floating-pill-btn.shop-pill:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 28px rgba(212, 175, 55, 0.55);
}

.floating-pill-btn.referral-pill {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), 0 0 15px rgba(212, 175, 55, 0.2);
  position: relative;
}

.floating-pill-btn.referral-pill:hover {
  transform: translateY(-3px) scale(1.03);
  border-color: #fff;
  box-shadow: 0 10px 28px rgba(212, 175, 55, 0.35);
  color: #fff;
}

.pill-sparkle-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulseDot 1.5s infinite;
}

/* ==========================================================
   26. REFERRAL & GIFT VOUCHER MODAL & CARD STYLES
   ========================================================== */

.referral-modal-card {
  max-width: 660px;
  background: linear-gradient(145deg, #17223b 0%, #0f172a 100%);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(212, 175, 55, 0.2);
}

/* Referral Subnav Tabs */
.referral-nav-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-color);
  background: rgba(10, 15, 30, 0.5);
}

.ref-tab-btn {
  flex: 1;
  padding: 14px 18px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-bottom: 3px solid transparent;
}

.ref-tab-btn:hover {
  color: #fff;
}

.ref-tab-btn.active {
  color: var(--gold-light);
  border-bottom-color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.08);
}

.referral-modal-body {
  padding: 24px;
}

.ref-reward-banner {
  display: flex;
  gap: 16px;
  align-items: center;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(16, 185, 129, 0.15) 100%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 20px;
}

.reward-sparkle-box {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.reward-text h4 {
  font-size: 1.05rem;
  color: var(--gold-light);
  margin-bottom: 4px;
}

.reward-text p {
  font-size: 0.85rem;
  color: var(--text-normal);
  margin: 0;
  line-height: 1.4;
}

/* Personal Link Copy Box */
.generated-link-box {
  background: rgba(10, 15, 30, 0.8);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 10px;
  padding: 14px;
  margin-top: 14px;
}

.generated-link-box label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.ref-copy-group {
  display: flex;
  gap: 10px;
}

.ref-copy-group input {
  font-family: monospace;
  font-size: 0.9rem;
  color: var(--gold-light);
}

.ref-actions-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
}

/* Rewards Tier Cards */
.ref-tiers-container h5 {
  font-size: 0.92rem;
  color: var(--text-heading);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ref-tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.ref-tier-card {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 14px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ref-tier-card.highlight {
  border-color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.08);
}

.ref-tier-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 8px;
  margin-bottom: 4px;
}

.ref-tier-badge.bronze { background: rgba(205, 127, 50, 0.2); color: #cd7f32; }
.ref-tier-badge.silver { background: rgba(192, 192, 192, 0.2); color: #e2e8f0; }
.ref-tier-badge.gold { background: rgba(212, 175, 55, 0.2); color: var(--gold-light); }

.ref-tier-card strong {
  font-size: 0.92rem;
  color: #fff;
}

.ref-tier-card small {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.3;
}

/* ==========================================================
   26B. LUXURY DIGITAL GIFT VOUCHER CARD
   ========================================================== */

.voucher-preview-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.luxury-gift-voucher-card {
  width: 100%;
  max-width: 500px;
  background: linear-gradient(135deg, #1a150c 0%, #2c2311 50%, #151108 100%);
  border: 2px solid rgba(212, 175, 55, 0.75);
  border-radius: 16px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(212, 175, 55, 0.25), inset 0 1px 0 rgba(255, 235, 150, 0.3);
  position: relative;
  overflow: hidden;
}

.voucher-top-decor {
  height: 6px;
  background: var(--gold-gradient);
}

.voucher-card-inner {
  padding: 24px 28px;
}

.voucher-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px dashed rgba(212, 175, 55, 0.3);
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.voucher-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.v-crown {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(212, 175, 55, 0.2);
  border: 1px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--gold-light);
}

.voucher-brand h4 {
  margin: 0;
  font-size: 1.15rem;
  letter-spacing: 1.5px;
  color: var(--gold-light);
  font-family: var(--font-heading);
}

.voucher-brand p {
  margin: 2px 0 0 0;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
}

.voucher-value-pill {
  text-align: right;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--gold-primary);
  padding: 6px 14px;
  border-radius: 12px;
}

.voucher-value-pill span {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 1px;
  color: var(--gold-light);
  text-transform: uppercase;
}

.voucher-value-pill strong {
  font-size: 1.45rem;
  color: #fff;
  font-family: var(--font-heading);
}

.voucher-serial-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(10, 15, 30, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 8px;
  padding: 8px 14px;
  margin-bottom: 12px;
}

.v-serial-tag {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.v-serial-code {
  font-family: monospace;
  font-size: 1.1rem;
  letter-spacing: 2px;
  color: var(--gold-light);
}

.voucher-for-row {
  margin-bottom: 12px;
}

.voucher-for-row span {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.voucher-for-row strong {
  font-size: 1.15rem;
  color: #fff;
}

.voucher-terms-short {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
  margin-bottom: 16px;
}

.voucher-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-top: 1px dashed rgba(212, 175, 55, 0.3);
  padding-top: 12px;
}

.v-footer-lbl {
  display: block;
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.voucher-footer strong {
  font-size: 0.82rem;
  color: var(--gold-light);
}

.voucher-seal {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #10b981;
}

.voucher-actions-toolbar {
  display: flex;
  gap: 12px;
  width: 100%;
  max-width: 500px;
}

.voucher-actions-toolbar .btn {
  flex: 1;
  padding: 12px 14px;
  font-size: 0.88rem;
  justify-content: center;
}

.voucher-instructions {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 460px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================
   27. MOBILE VIEWPORT DE-CLUTTERING & CHAOS FIXES
   ========================================================== */

@media (max-width: 768px) {
  /* 1. Prevent Content Blocking from Sticky Bottom Dock */
  body {
    padding-bottom: 74px !important;
  }

  /* 2. Show Mobile Sticky Dock */
  .mobile-sticky-dock {
    display: flex !important;
  }

  /* 3. Hide Desktop Floating Actions */
  .desktop-floating-actions {
    display: none !important;
  }

  /* 4. Fix Hero 4-Button Stacking into Ergonomic 2x2 Grid */
  .hero-actions-group {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .btn-hero {
    width: 100% !important;
    padding: 12px 10px !important;
    font-size: 0.88rem !important;
    justify-content: center !important;
  }

  /* 5. Dedicated Full-Width Mobile Scrolling Live Rate Bar */
  .top-rate-bar {
    padding: 6px 0 !important;
    overflow: hidden !important;
    background: linear-gradient(90deg, #090d16 0%, #111827 50%, #090d16 100%) !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.25) !important;
    width: 100% !important;
  }

  .top-rate-bar::-webkit-scrollbar {
    display: none !important;
  }

  .rate-bar-container {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 0 8px !important;
    margin: 0 !important;
    max-width: 100% !important;
    gap: 6px !important;
    overflow: hidden !important;
  }

  /* Hide redundant contacts in top bar on mobile to give 100% space to the live rate ticker */
  .top-contacts {
    display: none !important;
  }

  .rate-ticker {
    display: flex !important;
    align-items: center !important;
    flex: 1 1 auto !important;
    width: 100% !important;
    min-width: 0 !important;
    gap: 6px !important;
    overflow: hidden !important;
    white-space: nowrap !important;
  }

  .rate-badge {
    font-size: 0.65rem !important;
    padding: 2px 5px !important;
    flex-shrink: 0 !important;
    border-radius: 3px !important;
  }

  .rate-source-badge {
    font-size: 0.62rem !important;
    padding: 2px 5px !important;
    flex-shrink: 0 !important;
    border-radius: 12px !important;
  }

  .rate-source-badge i {
    font-size: 0.6rem !important;
  }

  /* Full-width smooth continuous marquee on mobile */
  .rate-marquee-container {
    display: flex !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: 100% !important;
    overflow: hidden !important;
    mask-image: linear-gradient(to right, transparent 0%, black 2%, black 98%, transparent 100%) !important;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 2%, black 98%, transparent 100%) !important;
  }

  .rate-marquee-track {
    display: inline-flex !important;
    align-items: center !important;
    width: max-content !important;
    will-change: transform !important;
    animation: slowRateTickerMarquee 26s linear infinite !important;
  }

  .rate-items-wrap {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding-right: 10px !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
  }

  .rate-item {
    font-size: 0.72rem !important;
    gap: 4px !important;
  }

  .rate-item strong {
    color: var(--gold-light) !important;
    font-weight: 700 !important;
  }

  .rate-separator {
    opacity: 0.5 !important;
    margin: 0 1px !important;
  }

  /* Section 4 Rates Grid on Mobile (Ergonomic 2x2 Grid) */
  .rates-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    margin-bottom: 16px !important;
  }

  .rates-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
  }

  .rates-header-actions {
    width: 100% !important;
    justify-content: space-between !important;
    gap: 8px !important;
  }

  .rates-wrapper {
    padding: 16px 12px !important;
  }

  .rate-card {
    padding: 14px 10px !important;
  }

  .rate-price {
    font-size: 1.15rem !important;
  }

  .rate-purity {
    font-size: 0.76rem !important;
  }

  /* 6. Smooth Touch-Swipeable Catalog Filter Pills */
  .catalog-filter-bar {
    flex-direction: column !important;
    gap: 14px !important;
  }

  .filter-pills {
    display: flex !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    scrollbar-width: none !important;
    padding-bottom: 6px !important;
    -webkit-overflow-scrolling: touch;
    width: 100% !important;
    gap: 8px !important;
  }

  .filter-pills::-webkit-scrollbar {
    display: none;
  }

  .filter-pill {
    flex-shrink: 0 !important;
  }

  /* 7. Passbook 11-Month Matrix Compact Micro-Grid */
  .cp-stamp-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
  }

  .stamp-cell {
    padding: 10px 8px !important;
  }

  .stamp-amount {
    font-size: 0.95rem !important;
  }

  /* 8. Referral Modal Responsive Tweaks */
  .ref-actions-group {
    grid-template-columns: 1fr !important;
  }

  .ref-tiers-grid {
    grid-template-columns: 1fr !important;
  }

  .voucher-actions-toolbar {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .cp-stamp-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .hero-title {
    font-size: 1.85rem !important;
  }
}

/* ==========================================================
   28. PRINTABLE GIFT VOUCHER STYLES
   ========================================================== */

@media print {
  #digitalGiftVoucherCard,
  #digitalGiftVoucherCard * {
    visibility: visible !important;
  }

  .luxury-gift-voucher-card {
    position: absolute;
    left: 20px;
    top: 20px;
    width: 90% !important;
    max-width: 600px !important;
    background: #fff !important;
    color: #000 !important;
    border: 2px solid #999 !important;
    box-shadow: none !important;
  }

  .voucher-brand h4,
  .voucher-value-pill strong,
  .v-serial-code,
  .voucher-for-row strong {
    color: #000 !important;
  }

  .v-crown {
    background: #f3f4f6 !important;
    color: #000 !important;
    border-color: #000 !important;
  }

  .voucher-value-pill {
    background: #f9fafb !important;
    border-color: #000 !important;
  }

  .voucher-serial-row {
    background: #f3f4f6 !important;
  }
}

/* ==========================================================
   29. RADHIKA STOREFRONT (shop.html) LUXURY STYLES
   ========================================================== */

.shop-body {
  background: var(--bg-main);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.shop-main-content {
  flex: 1;
}

/* Header & Inquiry Bag Button */
.shop-header {
  position: sticky;
  top: 0;
  z-index: 900;
  backdrop-filter: blur(14px);
}

.btn-inquiry-bag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.25) 0%, rgba(16, 185, 129, 0.18) 100%);
  border: 1.5px solid var(--gold-primary);
  color: #fff;
  padding: 8px 16px;
  border-radius: 24px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-inquiry-bag:hover {
  background: var(--gold-gradient);
  color: #000;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.45);
}

.inquiry-icon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.inquiry-bag-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  background: #ef4444;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.8);
}

/* Storefront Entrance Hero */
.shop-hero-banner {
  padding: 40px 0 20px;
  background: radial-gradient(circle at 50% 10%, rgba(212, 175, 55, 0.15) 0%, transparent 60%);
  text-align: center;
}

.shop-hero-text {
  max-width: 840px;
  margin: 0 auto 36px;
}

.shop-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 5px 16px;
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 14px;
}

.shop-hero-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.shop-hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* 4 Entrance Mode Cards Grid */
.shop-entrance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.entrance-mode-card {
  position: relative;
  height: 280px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  border: 1.5px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: left;
}

.entrance-mode-card .mode-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.entrance-mode-card:hover .mode-card-bg,
.entrance-mode-card.active .mode-card-bg {
  transform: scale(1.08);
}

.entrance-mode-card .mode-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(8, 12, 22, 0.2) 0%, rgba(8, 12, 22, 0.75) 50%, rgba(8, 12, 22, 0.95) 100%);
  transition: background 0.3s ease;
}

.entrance-mode-card.active {
  border-color: #ffd700;
  box-shadow: 0 16px 45px rgba(212, 175, 55, 0.4), 0 0 25px rgba(212, 175, 55, 0.3);
  transform: translateY(-4px);
}

.entrance-mode-card .mode-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 22px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mode-tag-badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(212, 175, 55, 0.25);
  border: 1px solid rgba(212, 175, 55, 0.5);
  color: #ffd700;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  backdrop-filter: blur(6px);
}

.mode-card-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin: 2px 0;
}

.mode-card-desc {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.mode-card-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 700;
  transition: transform 0.2s ease;
}

.entrance-mode-card:hover .mode-card-action i {
  transform: translateX(4px);
}

/* Sections & Product Grids */
.shop-section {
  padding: 48px 0;
}

.shop-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  padding-bottom: 18px;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.section-kicker.kicker-silver {
  color: #93c5fd;
}

.section-main-heading {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: #fff;
}

.section-subtext {
  font-size: 0.92rem;
  color: var(--text-muted);
  max-width: 650px;
  margin-top: 4px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

/* Product Card */
.product-card {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.9) 0%, rgba(9, 14, 28, 0.95) 100%);
  border: 1.5px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-primary);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(212, 175, 55, 0.22);
}

.product-card-silver {
  border-color: rgba(147, 197, 253, 0.3);
}

.product-card-silver:hover {
  border-color: #93c5fd;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(147, 197, 253, 0.22);
}

.product-media-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #040711;
  cursor: pointer;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-img {
  transform: scale(1.06);
}

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  backdrop-filter: blur(6px);
}

.product-badge.badge-gold {
  background: rgba(212, 175, 55, 0.25);
  border: 1px solid rgba(212, 175, 55, 0.6);
  color: #ffd700;
}

.product-badge.badge-silver {
  background: rgba(59, 130, 246, 0.25);
  border: 1px solid rgba(147, 197, 253, 0.6);
  color: #93c5fd;
}

.btn-quick-view-hover {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.product-media-wrap:hover .btn-quick-view-hover {
  bottom: 12px;
}

.product-content {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
}

.product-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.76rem;
  color: var(--text-muted);
}

.product-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  cursor: pointer;
  transition: color 0.2s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}

.product-title:hover {
  color: var(--gold-light);
}

.product-price-row {
  margin-top: 4px;
  background: rgba(0, 0, 0, 0.3);
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.price-val {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffd700;
  font-family: monospace;
}

.price-note {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.product-actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
}

.btn-card-whatsapp {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: var(--transition);
}

.btn-card-whatsapp:hover {
  background: linear-gradient(135deg, #047857 0%, #34d399 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
}

.btn-card-bag {
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: var(--transition);
}

.btn-card-bag:hover {
  background: var(--gold-gradient);
  color: #000;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.4);
}

/* Full Catalogue Filter Controls */
.catalog-control-panel {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.85) 0%, rgba(9, 14, 28, 0.95) 100%);
  border: 1.5px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.catalog-search-row {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.catalog-search-wrap {
  position: relative;
  flex: 1;
  min-width: 280px;
}

.catalog-search-wrap .search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold-light);
}

.catalog-search-field {
  width: 100%;
  background: rgba(4, 7, 15, 0.7);
  border: 1.5px solid rgba(212, 175, 55, 0.35);
  border-radius: 12px;
  padding: 12px 14px 12px 42px;
  color: #fff;
  font-size: 0.94rem;
  transition: var(--transition);
}

.catalog-search-field:focus {
  border-color: var(--gold-light);
  outline: none;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.catalog-clear-search {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
}

.catalog-sorter-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
}

.catalog-sort-select, .metal-filter-select {
  background: rgba(4, 7, 15, 0.7);
  border: 1.5px solid rgba(212, 175, 55, 0.35);
  border-radius: 10px;
  padding: 10px 14px;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}

.catalog-filter-pills-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 14px;
}

.filter-pills-group {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.filter-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.25);
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition);
}

.filter-chip:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold-light);
  color: #fff;
  transform: translateY(-1px);
}

.filter-chip.active {
  background: linear-gradient(135deg, #ffd700 0%, #f5d77f 50%, #b8860b 100%);
  color: #000;
  font-weight: 800;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.4);
}

.catalogue-count-badge {
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 14px;
}

/* Slide-out Inquiry Bag Drawer */
.inquiry-bag-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  z-index: 1000;
  transition: opacity 0.3s ease;
}

.inquiry-bag-drawer {
  position: fixed;
  top: 0;
  right: -480px;
  width: 460px;
  max-width: 92vw;
  height: 100vh;
  background: linear-gradient(180deg, #0f172a 0%, #080c16 100%);
  border-left: 1.5px solid rgba(212, 175, 55, 0.45);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  box-shadow: -15px 0 50px rgba(0, 0, 0, 0.7);
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.inquiry-bag-drawer.active {
  right: 0;
}

.drawer-header {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drawer-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.drawer-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
}

.drawer-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.drawer-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s ease;
}

.drawer-close-btn:hover {
  color: #ef4444;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
}

.drawer-items-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.drawer-item-row {
  display: flex;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 12px;
  padding: 10px 14px;
  align-items: center;
  position: relative;
}

.drawer-item-thumb {
  width: 55px;
  height: 55px;
  border-radius: 8px;
  object-fit: cover;
  background: #000;
}

.drawer-item-info {
  flex: 1;
}

.drawer-item-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.drawer-item-meta {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.drawer-item-price {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffd700;
  font-family: monospace;
}

.drawer-item-remove {
  background: transparent;
  border: none;
  color: #ef4444;
  font-size: 1.3rem;
  cursor: pointer;
  padding: 4px;
}

.drawer-empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.empty-bag-icon {
  font-size: 3.5rem;
  color: rgba(212, 175, 55, 0.3);
  margin-bottom: 16px;
}

.drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid rgba(212, 175, 55, 0.25);
  background: rgba(4, 7, 15, 0.8);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.drawer-summary-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.summary-line.total-line {
  border-top: 1px dashed rgba(212, 175, 55, 0.3);
  padding-top: 6px;
  margin-top: 4px;
  font-size: 0.92rem;
  font-weight: 800;
  color: #fff;
}

.total-gold-price {
  color: #ffd700;
  font-size: 1.2rem;
  font-family: monospace;
}

.drawer-customer-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.drawer-field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.drawer-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 8px;
  padding: 8px 10px;
  color: #fff;
  font-size: 0.85rem;
}

.btn-whatsapp-order {
  width: 100%;
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 14px 20px;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.btn-whatsapp-order:hover {
  background: linear-gradient(135deg, #047857 0%, #34d399 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(16, 185, 129, 0.6);
}

.drawer-disclaimer {
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Quick View Modal */
.product-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.product-modal-card {
  width: 100%;
  max-width: 820px;
  background: linear-gradient(145deg, #131c33 0%, #0b1122 100%);
  border: 1.5px solid var(--gold-primary);
  border-radius: var(--radius-lg);
  padding: 30px;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(212, 175, 55, 0.25);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close-icon {
  position: absolute;
  top: 16px;
  right: 18px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
}

.modal-close-icon:hover {
  color: #ef4444;
}

.quick-view-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.quick-view-img-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 320px;
  background: #000;
}

.qv-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qv-purity-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(212, 175, 55, 0.3);
  border: 1px solid var(--gold-primary);
  color: #ffd700;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 14px;
}

.qv-category-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.qv-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.qv-sku-line {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.qv-price-box {
  background: rgba(212, 175, 55, 0.15);
  border: 1.5px solid var(--gold-primary);
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 16px;
}

.qv-price-label {
  font-size: 0.75rem;
  color: var(--gold-light);
  font-weight: 600;
}

.qv-price-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffd700;
  font-family: monospace;
}

.qv-price-breakdown {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.qv-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.spec-cell {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 8px 10px;
}

.spec-label {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.spec-val {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
}

.qv-description {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 18px;
}

.qv-actions-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 10px;
}

.btn-whatsapp-direct {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-gold-bag {
  background: var(--gold-gradient);
  color: #000;
  border: none;
  border-radius: 10px;
  padding: 12px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* Discreet Staff Entry in Footer */
.staff-entry-wrap {
  margin-top: 14px;
}

.staff-admin-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px dashed rgba(212, 175, 55, 0.3);
  transition: var(--transition);
}

.staff-admin-link:hover {
  color: var(--gold-light);
  border-color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.1);
}

/* ==========================================================
   30. RADHIKA ADMIN CONTROL PANEL (admin.html) STYLES
   ========================================================== */

.admin-body {
  background: #060913;
  color: var(--text-primary);
  min-height: 100vh;
  margin: 0;
  font-family: var(--font-body);
}

/* Auth Overlay */
.admin-auth-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at 50% 30%, rgba(212, 175, 55, 0.18) 0%, #060913 80%);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.admin-auth-card {
  width: 100%;
  max-width: 440px;
  background: linear-gradient(145deg, #131c33 0%, #0c1222 100%);
  border: 1.5px solid var(--gold-primary);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(212, 175, 55, 0.25);
  text-align: center;
}

.auth-logo-img {
  width: 58px;
  height: 58px;
  margin-bottom: 10px;
}

.auth-brand-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.05em;
}

.auth-brand-subtitle {
  font-size: 0.8rem;
  color: var(--gold-light);
  margin-bottom: 20px;
}

.auth-tabs-row {
  display: flex;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 18px;
  gap: 4px;
}

.auth-tab {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
}

.auth-tab.active {
  background: var(--gold-gradient);
  color: #000;
}

.auth-form-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}

.auth-field-wrap label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.auth-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  border: 1.5px solid rgba(212, 175, 55, 0.35);
  border-radius: 10px;
  padding: 12px 14px;
  color: #fff;
  font-size: 0.95rem;
  transition: var(--transition);
}

.auth-input:focus {
  border-color: var(--gold-light);
  outline: none;
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.35);
}

.auth-hint {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.auth-submit-btn {
  margin-top: 8px;
  padding: 12px;
  font-size: 0.95rem;
}

.auth-footer-links {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.auth-footer-links a {
  color: var(--gold-light);
}

/* Admin Dashboard Shell */
.admin-app-layout {
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
}

.admin-top-bar {
  background: #0a0f1d;
  border-bottom: 1.5px solid rgba(212, 175, 55, 0.3);
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

.admin-brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-brand-icon {
  width: 36px;
  height: 36px;
}

.admin-app-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
  letter-spacing: 0.05em;
}

.admin-app-badge {
  font-size: 0.72rem;
  color: var(--gold-light);
  font-weight: 600;
}

.admin-top-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 14px;
}

.btn-logout-sm {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.btn-logout-sm:hover {
  background: #ef4444;
  color: #fff;
}

.admin-main-container {
  display: flex;
  flex: 1;
  overflow: hidden;
}

.admin-sidebar {
  width: 260px;
  background: #080d1a;
  border-right: 1.5px solid rgba(212, 175, 55, 0.25);
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sidebar-user-pill {
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
}

.admin-nav-menu {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.admin-nav-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
  transition: var(--transition);
}

.admin-nav-btn i {
  font-size: 1rem;
  width: 20px;
  color: var(--gold-light);
}

.admin-nav-btn:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.admin-nav-btn.active {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.22) 0%, rgba(245, 215, 127, 0.08) 100%);
  border-color: var(--gold-primary);
  color: #ffd700;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.nav-count-badge {
  margin-left: auto;
  background: #10b981;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 10px;
}

.sidebar-save-action {
  margin-top: auto;
}

.btn-save-deploy {
  padding: 12px;
  font-weight: 800;
}

/* Admin Tab Viewport */
.admin-tab-viewport {
  flex: 1;
  overflow-y: auto;
  padding: 28px 32px;
  background: #060913;
}

.admin-tab-panel {
  display: none;
  animation: fadeIn 0.25s ease;
}

.admin-tab-panel.active {
  display: block;
}

.tab-header-banner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  border-bottom: 1.5px solid rgba(212, 175, 55, 0.25);
  padding-bottom: 16px;
  margin-bottom: 24px;
}

.tab-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.tab-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Styling Studio Layout */
.styling-studio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.studio-card {
  background: linear-gradient(145deg, #11182c 0%, #0a0e1a 100%);
  border: 1.5px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.studio-card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 2px;
}

.studio-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.studio-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.studio-hint {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.admin-control {
  width: 100%;
  background: rgba(4, 7, 15, 0.75);
  border: 1.5px solid rgba(212, 175, 55, 0.35);
  border-radius: 10px;
  padding: 10px 12px;
  color: #fff;
  font-size: 0.88rem;
  transition: var(--transition);
}

.admin-control:focus {
  border-color: var(--gold-light);
  outline: none;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.3);
}

/* Live Font Preview Box */
.font-live-preview-box {
  background: rgba(0, 0, 0, 0.4);
  border: 1.5px solid rgba(212, 175, 55, 0.4);
  border-radius: 12px;
  padding: 18px;
  margin-top: 10px;
  position: relative;
}

.preview-tag {
  position: absolute;
  top: -10px;
  right: 14px;
  background: #ffd700;
  color: #000;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 10px;
  text-transform: uppercase;
}

.preview-heading {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}

.preview-body {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 14px;
}

.preview-btn-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.preview-price {
  font-size: 1.3rem;
  font-weight: 800;
}

/* Mode Pictures & Thumbnails */
.mode-picture-field {
  margin-bottom: 10px;
}

.mode-picture-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.input-with-preview {
  display: flex;
  gap: 10px;
  align-items: center;
}

.thumb-preview {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  border: 1.5px solid rgba(212, 175, 55, 0.4);
  background-color: #000;
  flex-shrink: 0;
}

.color-picker-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.color-input {
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--gold-primary);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  padding: 2px;
}

.color-hex-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
}

/* Admin Tables */
.admin-table-card {
  background: linear-gradient(145deg, #10162a 0%, #090e1c 100%);
  border: 1.5px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.85rem;
}

.admin-table th {
  background: rgba(4, 7, 15, 0.8);
  padding: 14px 16px;
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1.5px solid rgba(212, 175, 55, 0.3);
}

.admin-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
}

.admin-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.table-prod-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.table-prod-thumb {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  object-fit: cover;
  background: #000;
}

.badge-pill {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 700;
}

.badge-pill.badge-green {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.badge-pill.badge-amber {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.table-actions-row {
  display: flex;
  gap: 6px;
}

.btn-action-edit, .btn-action-delete {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  width: 32px;
  height: 32px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.btn-action-edit:hover {
  background: var(--gold-gradient);
  color: #000;
}

.btn-action-delete:hover {
  background: #ef4444;
  color: #fff;
  border-color: transparent;
}

.admin-inventory-toolbar {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.admin-search-wrap {
  position: relative;
  flex: 1;
  min-width: 240px;
}

.admin-search-wrap i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold-light);
}

.admin-search-wrap input {
  padding-left: 36px;
}

.admin-filter-selects {
  display: flex;
  gap: 10px;
}

/* Rates Controls Grid */
.rates-control-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.rate-edit-card {
  background: linear-gradient(145deg, #11182c 0%, #0a0e1a 100%);
  border: 1.5px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rate-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rate-card-head i {
  font-size: 1.6rem;
  color: #ffd700;
}

.rate-card-head h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
}

.rate-card-head small {
  color: var(--text-muted);
  font-size: 0.72rem;
}

.rate-input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.currency-prefix {
  position: absolute;
  left: 12px;
  color: var(--gold-light);
  font-weight: 800;
  font-size: 1rem;
}

.rate-num-input {
  padding-left: 28px !important;
  padding-right: 60px !important;
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  font-family: monospace;
  color: #ffd700 !important;
}

.unit-suffix {
  position: absolute;
  right: 12px;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Stats Cards Grid */
.stats-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stat-card {
  background: linear-gradient(145deg, #11182c 0%, #0a0e1a 100%);
  border: 1.5px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

.stat-icon {
  font-size: 1.8rem;
  margin-bottom: 4px;
}

.stat-icon.gold { color: #d4af37; }
.stat-icon.yellow { color: #ffd700; }
.stat-icon.silver { color: #93c5fd; }
.stat-icon.green { color: #10b981; }

.stat-val {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  font-family: monospace;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

.backup-tools-card {
  background: linear-gradient(145deg, #11182c 0%, #0a0e1a 100%);
  border: 1.5px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.backup-tools-card h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 4px;
}

.backup-tools-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.backup-btn-row {
  display: flex;
  gap: 12px;
}

/* Admin Product Modal */
.admin-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.admin-modal-card {
  width: 100%;
  max-width: 680px;
  background: linear-gradient(145deg, #131c33 0%, #0b1122 100%);
  border: 1.5px solid var(--gold-primary);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-card-header {
  padding: 20px 24px;
  border-bottom: 1.5px solid rgba(212, 175, 55, 0.3);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-card-header h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
}

.modal-form-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}

.form-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 5px;
}

.form-flags-row {
  display: flex;
  gap: 20px;
  background: rgba(0, 0, 0, 0.3);
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
}

.modal-footer-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Toast Component */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.3s ease;
  pointer-events: auto;
}

.toast-pill.show {
  opacity: 1;
  transform: translateY(0);
}

.toast-success {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  border: 1px solid #34d399;
}

.toast-warning {
  background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
  border: 1px solid #fbbf24;
}

.toast-error {
  background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
  border: 1px solid #f87171;
}

.toast-info {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
}

/* ==========================================================
   31. RESPONSIVE BREAKPOINTS (STOREFRONT & ADMIN)
   ========================================================== */
@media (max-width: 1024px) {
  .shop-entrance-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .styling-studio-grid,
  .rates-control-grid {
    grid-template-columns: 1fr;
  }

  .stats-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .quick-view-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .shop-hero-title {
    font-size: 2.2rem;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .admin-app-layout {
    height: auto;
    overflow: visible;
  }

  .admin-main-container {
    flex-direction: column;
  }

  .admin-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1.5px solid rgba(212, 175, 55, 0.25);
  }

  .admin-tab-viewport {
    padding: 20px 16px;
  }

  .inquiry-bag-drawer {
    width: 100%;
  }

  .form-row-2, .form-row-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .shop-entrance-grid {
    grid-template-columns: 1fr;
  }

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

  .stats-cards-grid {
    grid-template-columns: 1fr;
  }
}

