/* ==========================================================================
   BISDEL GHANA TELECOM & RESELLER SAAS PLATFORM - PREMIUM DESIGN SYSTEM
   Ultra-modern, High-end Fintech Interface (Desktop, Tablet & Mobile Responsive)
   ========================================================================== */

:root {
  /* Brand Fintech Colors */
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #eff6ff;
  --primary-glow: rgba(37, 99, 235, 0.15);
  
  --accent: #10b981;
  --accent-hover: #059669;
  --accent-light: #ecfdf5;
  
  --warning: #f59e0b;
  --warning-light: #fffbeb;
  --danger: #ef4444;
  --danger-light: #fef2f2;
  --info: #06b6d4;
  --info-light: #ecfeff;

  /* Surfaces & Dark Tones */
  --dark-base: #090e1a;
  --dark: #0f172a;
  --dark-surface: #1e293b;
  --dark-card: #151f32;
  --dark-border: #334155;
  --dark-muted: #94a3b8;
  
  --light-bg: #f8fafc;
  --surface: #ffffff;
  --bg-card: #ffffff;
  --surface-hover: #f1f5f9;
  --border: #e2e8f0;
  --border-color: #e2e8f0;
  --border-focus: #93c5fd;

  /* Typography */
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-dim: #64748b;
  --muted: #64748b;
  --text-light: #f8fafc;
  
  /* Carrier Brand Standards */
  --mtn-yellow: #ffcc00;
  --mtn-dark: #1e1e1e;
  --telecel-red: #e11d48;
  --airteltigo-blue: #0284c7;

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Elevations */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 6px 16px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.09);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 25px rgba(37, 99, 235, 0.25);

  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --admin-sidebar-width: 270px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  overflow-x: hidden !important;
  max-width: 100vw;
  width: 100%;
}

body {
  font-family: var(--font-family);
  background-color: var(--light-bg);
  color: var(--text-main);
  line-height: 1.55;
  font-size: 15px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-bottom: 75px; /* for mobile bottom app bar */
}

@media (min-width: 992px) {
  body {
    padding-bottom: 0;
  }
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--primary-hover);
}

/* ==========================================================================
   PUBLIC HEADER & NAVIGATION (Rule: Clean straight line, no crowding)
   ========================================================================== */
.site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-xs);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 900;
  font-size: 1.35rem;
  color: var(--dark-base);
  letter-spacing: -0.5px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-badge {
  background: linear-gradient(135deg, #2563eb, #10b981);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.25rem;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

/* Clean, straight-line public navigation */
.nav-links {
  display: none;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  font-weight: 600;
  color: #475569;
  font-size: 0.94rem;
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  white-space: nowrap;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.wallet-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #f1f5f9;
  border: 1px solid var(--border);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--dark);
}

.wallet-badge-pill strong {
  color: var(--accent-hover);
}

/* Announcement Ticker */
.announcement-bar {
  background: linear-gradient(90deg, #1e293b, #0f172a);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #f8fafc;
  font-size: 0.84rem;
  padding: 0.45rem 1rem;
  text-align: center;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* Impersonation Banner */
.impersonation-bar {
  background: linear-gradient(90deg, #f59e0b, #d97706);
  color: #000;
  padding: 0.6rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: 0.9rem;
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  text-decoration: none;
  line-height: 1.2;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}
.btn-primary:hover {
  background: var(--primary-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
}

.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}
.btn-accent:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
}

.btn-dark {
  background: var(--dark);
  color: #fff;
}
.btn-dark:hover {
  background: var(--dark-base);
  color: #fff;
}

.btn-outline {
  border-color: var(--border);
  background: #fff;
  color: var(--text-main);
}
.btn-outline:hover {
  background: var(--surface-hover);
  border-color: #cbd5e1;
  color: var(--dark);
}

.btn-danger {
  background: var(--danger);
  color: #fff;
}
.btn-danger:hover {
  background: #dc2626;
  color: #fff;
}

.btn-sm {
  padding: 0.4rem 0.85rem;
  font-size: 0.82rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 0.85rem 1.75rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-block {
  width: 100%;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-primary { background: var(--primary-light); color: var(--primary); }
.badge-success { background: var(--accent-light); color: var(--accent-hover); }
.badge-warning { background: var(--warning-light); color: #b45309; }
.badge-danger { background: var(--danger-light); color: #dc2626; }
.badge-info { background: var(--info-light); color: #0891b2; }
.badge-dark { background: #e2e8f0; color: #1e293b; }
.badge-outline { background: transparent; border: 1px solid var(--border); color: var(--text-muted); }

/* ==========================================================================
   CARDS & CONTAINERS
   ========================================================================== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem;
  width: 100%;
}

.container-sm {
  max-width: 680px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem;
}

.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
  overflow: hidden;
}

.card-hover:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.card-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.25rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; }

/* Stat Cards */
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s;
}
.stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.stat-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.stat-value {
  font-size: 1.65rem;
  font-weight: 900;
  color: var(--dark-base);
  line-height: 1.1;
  margin-bottom: 0.2rem;
}

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

/* Forms */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  color: #334155;
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--text-main);
  transition: all 0.2s ease;
  font-family: inherit;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

select[style*="color: #fff"] option,
select[style*="color:#fff"] option,
select[style*="color: #ffffff"] option,
select[style*="color:#ffffff"] option {
  background: #0f172a;
  color: #ffffff;
}

/* Tables */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.92rem;
}

.table th {
  background: #f8fafc;
  padding: 0.85rem 1rem;
  font-weight: 700;
  color: #475569;
  text-align: left;
  border-bottom: 2px solid var(--border);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.table td {
  padding: 0.95rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.table tr:last-child td {
  border-bottom: none;
}

.table tbody tr:hover td {
  background-color: #f8fafc;
}

/* Alerts */
.alert {
  padding: 0.9rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.alert-success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.alert-danger { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }
.alert-warning { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }
.alert-info { background: #e0f2fe; color: #075985; border: 1px solid #bae6fd; }

/* ==========================================================================
   ADMIN LAYOUT SYSTEM (Rule: Persistent Sidebar + Header, Never Disappear)
   ========================================================================== */
.admin-layout {
  display: flex;
  min-height: 100vh;
  background: #f1f5f9;
}

.admin-sidebar {
  width: var(--admin-sidebar-width);
  background: var(--dark-base);
  color: #f8fafc;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  z-index: 1050;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.admin-sidebar-header {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #fff;
  font-weight: 900;
  font-size: 1.2rem;
}

.admin-sidebar-brand .badge-tag {
  background: #ef4444;
  color: #fff;
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 800;
  margin-left: 4px;
}

.admin-nav-group {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 0.75rem;
}

.admin-nav-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: #64748b;
  font-weight: 800;
  letter-spacing: 0.75px;
  padding: 0.75rem 0.75rem 0.35rem;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  color: #94a3b8;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.15s ease;
  margin-bottom: 2px;
}

.admin-nav-item:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.admin-nav-item.active {
  color: #ffffff;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.9), rgba(37, 99, 235, 0.4));
  border-left: 4px solid #38bdf8;
  font-weight: 700;
}

.admin-nav-item .nav-icon {
  font-size: 1.15rem;
  width: 22px;
  display: inline-flex;
  justify-content: center;
}

.admin-nav-item .badge-count {
  margin-left: auto;
  background: rgba(255, 255, 255, 0.15);
  padding: 1px 6px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 800;
}

.admin-main-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.admin-topbar {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.admin-topbar-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.admin-menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.6rem;
  font-size: 1.25rem;
  cursor: pointer;
}

.admin-topbar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.admin-subnav-strip {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  padding: 0.6rem 1.75rem;
  overflow-x: auto;
  white-space: nowrap;
  position: sticky;
  top: 57px;
  z-index: 95;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.admin-subnav-scroll {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  max-width: 1440px;
  margin: 0 auto;
}

.admin-subnav-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  font-weight: 600;
  color: #64748b;
  text-decoration: none;
  background: #f8fafc;
  border: 1px solid var(--border);
  transition: all 0.15s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.admin-subnav-tab:hover {
  color: var(--primary);
  background: var(--primary-light);
  border-color: #93c5fd;
}

.admin-subnav-tab.active {
  color: #ffffff;
  background: var(--primary);
  border-color: var(--primary);
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
}

.admin-subnav-tab .badge-count {
  font-size: 0.7rem;
  padding: 1px 6px;
  border-radius: 9999px;
  font-weight: 800;
}

.admin-content {
  padding: 2rem 1.75rem;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
}

/* Mobile Sidebar Drawer */
@media (max-width: 1024px) {
  .admin-sidebar {
    position: fixed;
    transform: translateX(-100%);
  }
  .admin-sidebar.show {
    transform: translateX(0);
  }
  .admin-menu-toggle {
    display: inline-flex;
  }
  .admin-sidebar-backdrop {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1040;
  }
  .admin-sidebar-backdrop.show {
    display: block;
  }
}

/* ==========================================================================
   USER PORTAL NAVIGATION BAR (Rule: Persistent across all subpages)
   ========================================================================== */
.portal-header-bar {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.75rem;
  box-shadow: var(--shadow-sm);
}

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

.portal-user-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.portal-avatar {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.portal-wallet-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #f8fafc;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.portal-nav-pills {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  overflow-x: auto;
  padding-top: 1rem;
  -webkit-overflow-scrolling: touch;
}

.portal-nav-pill {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.88rem;
  color: #475569;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.15s ease;
  background: #f8fafc;
  border: 1px solid transparent;
}

.portal-nav-pill:hover {
  color: var(--primary);
  background: var(--primary-light);
}

.portal-nav-pill.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
}

/* ==========================================================================
   STOREFRONT CUSTOMIZATION & PRODUCT CARDS
   ========================================================================== */
.storefront-hero {
  border-radius: var(--radius-xl);
  padding: 3.5rem 2rem;
  text-align: center;
  color: #ffffff;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.store-bundle-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.store-bundle-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.store-bundle-size {
  font-size: 2rem;
  font-weight: 900;
  color: var(--dark-base);
  margin-bottom: 0.25rem;
}

.store-bundle-price {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--accent-hover);
  margin-bottom: 1rem;
}

.whatsapp-float-btn {
  position: fixed;
  bottom: 85px;
  right: 20px;
  background: #25d366;
  color: #fff;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 990;
  text-decoration: none;
  transition: all 0.2s ease;
}

.whatsapp-float-btn:hover {
  transform: scale(1.08);
  color: #fff;
}

@media(min-width: 992px) {
  .whatsapp-float-btn {
    bottom: 30px;
    right: 30px;
  }
}

/* ==========================================================================
   MOBILE BOTTOM APP BAR & NAVIGATION (Hidden on Desktop >= 992px)
   ========================================================================== */
.mobile-app-bar,
.mobile-bottom-nav {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 62px;
  background: #0b1120;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  justify-content: space-around;
  align-items: center;
  padding: 0.35rem 0.25rem;
  z-index: 2000;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.45);
}

@media (min-width: 992px) {
  .mobile-app-bar,
  .mobile-bottom-nav {
    display: none !important;
  }
}

.mobile-app-link,
.mob-nav-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 1 !important;
  color: #94a3b8 !important;
  text-decoration: none !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  padding: 4px 2px !important;
  transition: all 0.15s ease !important;
}

.mobile-app-link .icon,
.mob-nav-item .icon,
.mobile-app-icon {
  font-size: 1.25rem !important;
  line-height: 1 !important;
  margin-bottom: 2px !important;
}

.mobile-app-link:hover,
.mobile-app-link.active,
.mob-nav-item:hover,
.mob-nav-item.active {
  color: #38bdf8 !important;
}

.mobile-app-link:hover .icon,
.mob-nav-item:hover .icon {
  transform: translateY(-2px);
}

/* ==========================================================================
   BLUSDATA THEME & SPECIFIC LAYOUT COMPONENTS (Images 1, 77, 88)
   ========================================================================== */

/* Dark Header Navbar */
.site-header-dark {
  background: #0b1120;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  width: 100%;
}

.announcement-bar + .site-header-dark {
  top: 32px;
}

.site-header-dark .header-inner {
  max-width: 1440px !important;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.dark-brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: #ffffff;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.dark-brand-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
  flex-shrink: 0;
}

/* Strictly Single-Line Desktop Navigation (No stacking or wrapping) */
.dark-nav-menu {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap !important;
  flex-wrap: nowrap !important;
}

.dark-nav-item {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: all 0.15s ease;
  position: relative;
  padding: 0.35rem 0.6rem;
  white-space: nowrap !important;
  display: inline-block;
  border-radius: 6px;
}

.dark-nav-item:hover, .dark-nav-item.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.dark-nav-item.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0.6rem;
  right: 0.6rem;
  height: 2px;
  background: #38bdf8;
  border-radius: 2px;
}

.dark-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.theme-toggle-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e2e8f0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.2s;
  flex-shrink: 0;
}

.theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.dark-btn-login {
  color: #f1f5f9;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  transition: color 0.15s;
  white-space: nowrap;
}

.dark-btn-login:hover {
  color: #38bdf8;
}

.dark-btn-register {
  background: #ffffff;
  color: #0b1120 !important;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.45rem 1.25rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
}

.dark-btn-register:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

/* Mobile Drawer Hamburger Button */
.mobile-drawer-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 40px;
  height: 40px;
  padding: 8px 7px;
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.mobile-drawer-toggle:hover {
  background: #334155;
  border-color: rgba(255, 255, 255, 0.4);
}

.mobile-drawer-toggle span {
  display: block;
  height: 2.5px;
  width: 100%;
  background: #ffffff;
  border-radius: 2px;
}

/* Mobile Breakpoint (< 992px) */
@media (max-width: 991px) {
  .site-header-dark {
    padding: 0.5rem 0.75rem !important;
  }
  .site-header-dark .header-inner {
    gap: 0.45rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
  }
  .dark-brand-logo {
    gap: 0.4rem !important;
    font-size: 1rem !important;
    max-width: calc(100% - 130px) !important;
    overflow: hidden !important;
  }
  .dark-brand-logo span {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
  }
  .dark-nav-menu {
    display: none !important;
  }
  .desk-only {
    display: none !important;
  }
  .dark-nav-actions {
    display: flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    flex-shrink: 0 !important;
    margin-left: auto !important;
  }
  .mobile-drawer-toggle {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 1050 !important;
  }
}

/* Mobile Breakpoint (< 768px): Sleek Top Nav & Compact 220px Hero */
@media (max-width: 768px) {
  .announcement-bar {
    height: 28px !important;
    padding: 0.22rem 0 !important;
    font-size: 0.72rem !important;
    line-height: 18px !important;
  }
  .ticker-track {
    gap: 2rem !important;
  }
  .site-header-dark {
    top: 28px !important;
    padding: 0.35rem 0.65rem !important;
    min-height: 44px !important;
  }
  body:has(.announcement-bar),
  body.has-announcement-bar {
    padding-top: 28px !important;
  }
  .site-header-dark .header-inner {
    padding: 0 !important;
    gap: 0.35rem !important;
  }
  .dark-brand-logo {
    font-size: 0.92rem !important;
    gap: 0.35rem !important;
    max-width: calc(100% - 120px) !important;
  }
  .dark-brand-icon, .store-brand-icon-custom {
    width: 28px !important;
    height: 28px !important;
    font-size: 0.82rem !important;
    border-radius: 6px !important;
    flex-shrink: 0 !important;
  }
  .dark-brand-logo img {
    height: 26px !important;
    max-width: 100px !important;
  }
  .theme-toggle-btn {
    width: 28px !important;
    height: 28px !important;
    font-size: 0.75rem !important;
    border-radius: 6px !important;
  }
  .wallet-badge-pill {
    padding: 0.18rem 0.4rem !important;
    font-size: 0.68rem !important;
    border-radius: 6px !important;
  }
  .mobile-drawer-toggle {
    width: 32px !important;
    height: 32px !important;
    padding: 6px !important;
  }
  .hero-blus:not(.hero-slider-container) {
    padding: 1.5rem 0.75rem !important;
    min-height: auto !important;
  }
  .hero-slider-container,
  .hero-blus.hero-slider-container {
    min-height: 220px !important;
    height: 220px !important;
    max-height: 225px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    overflow: hidden !important;
  }
  .hero-slider-container .hero-blus-title,
  .hero-slider-container h1.hero-blus-title,
  .hero-slider-container h2.hero-blus-title {
    font-size: 1.05rem !important;
    line-height: 1.2 !important;
    margin-bottom: 0.2rem !important;
  }
  .hero-slider-container .hero-blus-subtitle {
    font-size: 0.7rem !important;
    line-height: 1.2 !important;
    margin-bottom: 0.35rem !important;
    max-width: 92% !important;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .hero-slider-container .hero-blus-actions {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    gap: 0.5rem !important;
    justify-content: center !important;
    align-items: center !important;
    margin-top: 0.5rem !important;
  }
  .hero-slider-container .hero-blus-actions .btn-blus-white,
  .hero-slider-container .hero-blus-actions .btn-blus-translucent {
    width: auto !important;
    flex: 0 1 auto !important;
    min-width: 85px !important;
    font-size: 0.82rem !important;
    padding: 0.45rem 0.85rem !important;
    border-radius: 8px !important;
    white-space: nowrap !important;
    text-align: center !important;
  }
}

@media (max-width: 480px) {
  .theme-toggle-btn {
    width: 28px !important;
    height: 28px !important;
    font-size: 0.75rem !important;
  }
  .wallet-badge-pill {
    padding: 0.18rem 0.4rem !important;
    font-size: 0.68rem !important;
  }
  .hero-blus:not(.hero-slider-container) {
    padding: 1.5rem 0.75rem !important;
    min-height: auto !important;
  }
  .hero-slider-container,
  .hero-blus.hero-slider-container {
    min-height: 260px !important;
    height: auto !important;
    max-height: none !important;
    padding: 1rem 0.5rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    overflow: visible !important;
  }
  .hero-slider-container .hero-blus-title,
  .hero-slider-container h1.hero-blus-title,
  .hero-slider-container h2.hero-blus-title {
    font-size: 1.15rem !important;
    line-height: 1.3 !important;
    margin-bottom: 0.35rem !important;
  }
  .hero-slider-container .hero-blus-subtitle {
    font-size: 0.8rem !important;
    line-height: 1.3 !important;
    margin-bottom: 0.5rem !important;
    max-width: 95% !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .hero-slider-container .hero-blus-actions {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    gap: 0.5rem !important;
    justify-content: center !important;
    align-items: center !important;
    margin-top: 0.5rem !important;
  }
  .hero-slider-container .hero-blus-actions .btn-blus-white,
  .hero-slider-container .hero-blus-actions .btn-blus-translucent {
    width: auto !important;
    flex: 0 1 auto !important;
    min-width: 85px !important;
    font-size: 0.82rem !important;
    padding: 0.45rem 0.85rem !important;
    border-radius: 8px !important;
    white-space: nowrap !important;
    text-align: center !important;
  }
}

/* Mobile Slide-out Drawer & Overlay System */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 17, 32, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 85%;
  max-width: 340px;
  height: 100%;
  background: #0f172a;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.6);
  z-index: 2999;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

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

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.drawer-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.drawer-close-btn:hover {
  background: rgba(239, 68, 68, 0.25);
  color: #ef4444;
  border-color: #ef4444;
}

.drawer-user-card {
  margin: 1rem 1.25rem 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1rem;
}

.drawer-user-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.drawer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0284c7, #2563eb);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
}

.drawer-balances {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.drawer-bal-box {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 8px;
  padding: 0.45rem 0.6rem;
  text-align: center;
}

.drawer-bal-box span {
  display: block;
  font-size: 0.72rem;
  color: #94a3b8;
}

.drawer-bal-box strong {
  display: block;
  font-size: 0.88rem;
  color: #38bdf8;
}

.drawer-guest-actions {
  margin: 1rem 1.25rem 0.5rem;
  display: flex;
  gap: 0.6rem;
}

.drawer-links {
  list-style: none;
  padding: 0.75rem 1rem;
  margin: 0;
  flex: 1;
}

.drawer-link-item {
  margin-bottom: 0.35rem;
}

.drawer-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.7rem 0.95rem;
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.2s;
}

.drawer-link:hover, .drawer-link.active {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
}

.drawer-link .icon {
  font-size: 1.15rem;
  width: 24px;
  text-align: center;
}

.drawer-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  color: #64748b;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Hero Section (Image 1) */
.hero-blus {
  position: relative;
  background: linear-gradient(rgba(11, 17, 32, 0.75), rgba(11, 17, 32, 0.88)), url('../img/hero-bg.jpg') center center / cover no-repeat;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4.5rem 1.5rem;
  color: #ffffff;
}

.hero-blus-trusted {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #f8fafc;
  padding: 0.4rem 1.3rem;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-blus-title {
  font-size: clamp(2.2rem, 5.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.18;
  max-width: 850px;
  margin: 0 auto 1.25rem;
  color: #ffffff;
}

.hero-blus-title .highlight-yellow {
  color: #facc15;
}

.hero-blus-subtitle {
  color: #cbd5e1;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  max-width: 700px;
  margin: 0 auto 2.25rem;
  line-height: 1.6;
}

.hero-blus-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.btn-blus-white {
  background: #ffffff;
  color: #0b1120 !important;
  font-weight: 700;
  padding: 0.85rem 1.8rem;
  border-radius: 9999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}

.btn-blus-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(255, 255, 255, 0.25);
}

.btn-blus-translucent {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff !important;
  font-weight: 600;
  padding: 0.85rem 1.8rem;
  border-radius: 9999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

.btn-blus-translucent:hover {
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.btn-blus-watch {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #e2e8f0 !important;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.65rem 1.6rem;
  border-radius: 9999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-blus-watch:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff !important;
}

.hero-blus-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 1.75rem;
}

.hero-blus-dot {
  width: 22px;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.25);
  transition: all 0.2s;
}

.hero-blus-dot.active {
  background: #ffffff;
  width: 28px;
}

/* Our Products Section (Image 1) */
.our-products-section {
  padding: 4rem 1.5rem 3rem;
  max-width: 1240px;
  margin: 0 auto;
}

.our-products-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.our-products-header h2 {
  font-size: 1.85rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.35rem;
}

.our-products-header p {
  color: #64748b;
  font-size: 0.95rem;
  margin: 0;
}

.products-carousel-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
}

@media(max-width: 1200px) {
  .products-carousel-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 1.1rem;
  }
}

@media(max-width: 992px) {
  .products-carousel-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

@media(max-width: 768px) {
  .products-carousel-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.5rem !important;
  }

  .product-circle-card {
    padding: 0.85rem 0.35rem !important;
    border-radius: 12px !important;
  }

  .product-circle-badge {
    width: 46px !important;
    height: 46px !important;
    font-size: 0.88rem !important;
    margin-bottom: 0.5rem !important;
  }

  .product-circle-badge img {
    max-width: 30px !important;
    max-height: 30px !important;
  }

  .product-circle-title {
    font-size: 0.78rem !important;
    line-height: 1.2 !important;
    margin-bottom: 0.2rem !important;
    word-break: break-word;
  }

  .product-circle-subtitle {
    font-size: 0.65rem !important;
    line-height: 1.2 !important;
  }
}

@media(max-width: 380px) {
  .products-carousel-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.35rem !important;
  }

  .product-circle-card {
    padding: 0.65rem 0.25rem !important;
    border-radius: 10px !important;
  }

  .product-circle-badge {
    width: 38px !important;
    height: 38px !important;
    font-size: 0.78rem !important;
    margin-bottom: 0.35rem !important;
  }

  .product-circle-badge img {
    max-width: 24px !important;
    max-height: 24px !important;
  }

  .product-circle-title {
    font-size: 0.72rem !important;
    line-height: 1.15 !important;
    margin-bottom: 0.15rem !important;
  }

  .product-circle-subtitle {
    font-size: 0.6rem !important;
    line-height: 1.15 !important;
  }
}

/* Digital Shop Mobile 2x2 Grid - Uniform across main platform, child panels and all stores */
@media (max-width: 768px) {
  .grid-3.shop-grid,
  .shop-product-grid,
  .catalog-grid,
  .store-shop-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.65rem !important;
  }

  .shop-product-card,
  .shop-item-card {
    border-radius: 12px !important;
    border-color: rgba(255,255,255,0.1) !important;
    min-width: 0 !important;
  }

  .shop-product-card .thumbnail-box,
  .shop-item-card .thumbnail-box,
  .shop-thumb-box {
    height: 90px !important;
    min-height: 90px !important;
  }

  .shop-product-card .thumbnail-box img,
  .shop-item-card .thumbnail-box img,
  .shop-thumb-box img {
    height: 90px !important;
    object-fit: cover !important;
  }

  .shop-product-card .product-body,
  .shop-item-card .product-body,
  .shop-card-content {
    padding: 0.65rem 0.5rem !important;
  }

  .shop-product-card .product-title,
  .shop-item-card .product-title,
  .shop-card-title {
    font-size: 0.82rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0.25rem !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    height: 2.1rem !important;
  }

  .shop-card-category {
    font-size: 0.62rem !important;
    margin-bottom: 2px !important;
  }

  .shop-product-card .product-desc,
  .shop-item-card .product-desc,
  .shop-card-desc {
    display: none !important;
  }

  .shop-card-footer {
    padding-top: 0.45rem !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.4rem !important;
  }

  .shop-card-price-label {
    display: none !important;
  }

  .shop-card-price {
    font-size: 0.98rem !important;
    line-height: 1.1 !important;
  }

  .shop-card-btn,
  .btn-shop-order {
    width: 100% !important;
    padding: 0.4rem 0.4rem !important;
    font-size: 0.75rem !important;
    font-weight: 800 !important;
    text-align: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  .delivery-badge,
  .shop-delivery-badge {
    font-size: 0.58rem !important;
    padding: 2px 5px !important;
    top: 4px !important;
    right: 4px !important;
  }
}

.product-circle-card {
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 16px;
  padding: 1.75rem 1rem;
  text-align: center;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.product-circle-card:hover {
  transform: translateY(-5px);
  border-color: #e2e8f0;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.product-circle-badge {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.badge-mtn-circle {
  background: #ffcc00;
  color: #000;
  font-weight: 900;
  font-size: 1.15rem;
}

.badge-telecel-circle {
  background: #e11d48;
  color: #fff;
  font-weight: 900;
  font-size: 1.2rem;
}

.badge-at-circle {
  background: linear-gradient(135deg, #e11d48 50%, #0284c7 50%);
  color: #fff;
  font-weight: 900;
  font-size: 0.95rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

.badge-waec-circle {
  background: #047857;
  color: #ffcc00;
  font-weight: 900;
  font-size: 0.9rem;
}

.badge-afa-circle {
  background: #d97706;
  color: #fff;
  font-weight: 900;
  font-size: 0.95rem;
}

.product-circle-title {
  color: #0f172a;
  font-weight: 800;
  font-size: 0.95rem;
  margin: 0 0 0.35rem;
  line-height: 1.3;
}

.product-circle-subtitle {
  color: #64748b;
  font-size: 0.78rem;
  margin: 0;
  line-height: 1.4;
}

/* ==========================================================================
   DATA BUNDLES HUB (Image 77)
   ========================================================================== */
.data-bundles-container {
  max-width: 900px;
  margin: 2.5rem auto 4rem;
  padding: 0 1.25rem;
}

.back-link-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #64748b;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  margin-bottom: 2rem;
  transition: color 0.15s;
}

.back-link-nav:hover {
  color: #2563eb;
}

.data-bundles-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.data-bundles-header h1 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.35rem;
}

.data-bundles-header p {
  color: #64748b;
  font-size: 0.95rem;
  margin: 0;
}

.data-networks-grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media(max-width: 640px) {
  .data-networks-grid-2x2 {
    grid-template-columns: 1fr;
  }
}

.network-hub-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
}

.network-hub-card:hover {
  transform: translateY(-3px);
  border-color: #3b82f6;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.08);
}

.network-hub-card-info h3 {
  color: #0f172a;
  font-weight: 800;
  font-size: 1.15rem;
  margin: 0 0 0.25rem;
}

.network-hub-card-info p {
  color: #64748b;
  font-size: 0.85rem;
  margin: 0;
}

/* ==========================================================================
   NETWORK PURCHASE FORM FLOW (Image 88)
   ========================================================================== */
.purchase-flow-container {
  max-width: 620px;
  margin: 2rem auto 4rem;
  padding: 0 1.25rem;
}

.purchase-header-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.purchase-header-top {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 0.85rem;
}

.purchase-header-text .network-tag {
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
}

.purchase-header-text h2 {
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0.1rem 0;
}

.purchase-header-text p {
  color: #64748b;
  font-size: 0.85rem;
  margin: 0;
}

.purchase-header-subtext {
  border-top: 1px solid #f1f5f9;
  padding-top: 0.85rem;
  color: #64748b;
  font-size: 0.85rem;
}

.purchase-form-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.85rem 1.75rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

/* Segmented Order Type Toggle */
.order-type-toggle-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  background: #f1f5f9;
  padding: 0.35rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.order-type-tab-btn {
  border: none;
  background: transparent;
  color: #64748b;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.65rem 1rem;
  border-radius: 9px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: all 0.15s ease;
}

.order-type-tab-btn.active {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* Amber Warning Box */
.amber-alert-notice {
  background: #78350f;
  color: #fef3c7;
  border-radius: 10px;
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 1.25rem 0;
  line-height: 1.4;
}

/* Payment Method Selection Cards - Strictly 2 in a Row Everywhere Including Mobile */
.payment-methods-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 0.65rem !important;
  margin-bottom: 1.25rem !important;
}

.payment-method-tile {
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.85rem 0.65rem;
  cursor: pointer;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all 0.2s ease;
  position: relative;
  box-sizing: border-box;
}

.payment-method-tile.selected {
  border-color: #2563eb;
  background: #eff6ff;
}

.payment-method-tile .method-icon {
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
  line-height: 1;
}

.payment-method-tile .method-title {
  font-weight: 800;
  font-size: 0.85rem;
  color: #0f172a;
  margin-bottom: 0.2rem;
  line-height: 1.2;
}

.payment-method-tile .method-badges {
  display: flex;
  gap: 3px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0.15rem;
}

.payment-badge-tag {
  font-size: 0.6rem;
  font-weight: 800;
  padding: 0.1rem 0.3rem;
  border-radius: 4px;
  background: #e2e8f0;
  color: #334155;
  line-height: 1.1;
}

.payment-method-tile.selected .payment-badge-tag {
  background: #dbeafe;
  color: #1e40af;
}

@media(max-width: 768px) {
  .payment-methods-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.5rem !important;
    margin-bottom: 1rem !important;
  }

  .payment-method-tile {
    padding: 0.55rem 0.4rem !important;
    border-radius: 10px !important;
    border-width: 1.5px !important;
    min-height: 78px !important;
  }

  .payment-method-tile .method-icon,
  .payment-method-tile > div:first-child:not(.method-title) {
    font-size: 1.15rem !important;
    margin-bottom: 0.15rem !important;
  }

  .payment-method-tile .method-title,
  .payment-method-tile > div:nth-child(2) {
    font-size: 0.78rem !important;
    line-height: 1.15 !important;
    margin-bottom: 0.15rem !important;
  }

  .payment-method-tile .method-badges {
    gap: 2px !important;
  }

  .payment-badge-tag {
    font-size: 0.55rem !important;
    padding: 1px 3px !important;
  }

  .payment-method-tile small,
  .payment-method-tile .method-subtitle,
  .payment-method-tile > div:last-child {
    font-size: 0.68rem !important;
    line-height: 1.15 !important;
  }
}

@media(max-width: 380px) {
  .payment-methods-grid {
    gap: 0.35rem !important;
  }

  .payment-method-tile {
    padding: 0.45rem 0.25rem !important;
    min-height: 72px !important;
  }

  .payment-method-tile .method-icon,
  .payment-method-tile > div:first-child:not(.method-title) {
    font-size: 1rem !important;
  }

  .payment-method-tile .method-title,
  .payment-method-tile > div:nth-child(2) {
    font-size: 0.72rem !important;
  }

  .payment-badge-tag {
    font-size: 0.5rem !important;
    padding: 1px 2px !important;
  }
}

/* Submit Action Button */
.btn-purchase-submit {
  width: 100%;
  padding: 0.95rem;
  font-size: 1.05rem;
  font-weight: 800;
  border-radius: 10px;
  border: none;
  background: #2563eb;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-purchase-submit:hover:not(:disabled) {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

.btn-purchase-submit:disabled {
  background: #94a3b8;
  cursor: not-allowed;
  box-shadow: none;
  opacity: 0.7;
}

/* Delivery & Unsupported SIM Info Cards */
.delivery-time-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin: 1.5rem 0 1rem;
}

.delivery-time-box .clock-icon {
  font-size: 1.5rem;
  color: #0f172a;
}

.delivery-time-box .title {
  font-weight: 800;
  font-size: 0.88rem;
  color: #0f172a;
  margin-bottom: 0.2rem;
}

.delivery-time-box .subtitle {
  color: #64748b;
  font-size: 0.8rem;
  margin: 0;
}

.unsupported-sims-card {
  background: #fff;
  border: 1px solid #fee2e2;
  border-radius: 12px;
  padding: 1.25rem;
  margin-top: 1rem;
}

.unsupported-sims-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 0.88rem;
  color: #b91c1c;
  margin-bottom: 0.75rem;
}

.unsupported-sims-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 1rem;
  list-style: none;
  padding: 0;
  margin: 0 0 0.85rem;
  font-size: 0.8rem;
  color: #475569;
}

.unsupported-sims-list li::before {
  content: "• ";
  color: #ef4444;
  font-weight: bold;
}

.unsupported-sims-warning {
  color: #dc2626;
  font-size: 0.76rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.4;
}

/* Modal Popup for Video / Watch Guide */
.blus-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.blus-modal-overlay.active {
  display: flex;
}

.blus-modal-content {
  background: #ffffff;
  border-radius: 16px;
  max-width: 580px;
  width: 100%;
  padding: 2rem;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.blus-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #f1f5f9;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
}

.blus-modal-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* ==========================================================================
   DARK MODE OVERRIDES (Toggled by Moon/Sun in Header)
   ========================================================================== */
body.dark-mode {
  background-color: #090e1a !important;
  color: #f1f5f9 !important;
}

body.dark-mode .our-products-section {
  background-color: #090e1a;
}

body.dark-mode .our-products-header h2,
body.dark-mode .data-bundles-header h1,
body.dark-mode .purchase-header-text h2,
body.dark-mode .network-hub-card-info h3,
body.dark-mode .product-circle-title {
  color: #f8fafc !important;
}

body.dark-mode .card,
body.dark-mode .product-circle-card,
body.dark-mode .network-hub-card,
body.dark-mode .purchase-header-card,
body.dark-mode .purchase-form-card,
body.dark-mode .blus-modal-content {
  background: #0f172a !important;
  border-color: #1e293b !important;
  color: #f1f5f9 !important;
}

body.dark-mode .delivery-time-box {
  background: #1e293b !important;
  border-color: #334155 !important;
}

body.dark-mode .delivery-time-box .title,
body.dark-mode .delivery-time-box .clock-icon {
  color: #f8fafc !important;
}

body.dark-mode .order-type-toggle-bar {
  background: #1e293b !important;
}

body.dark-mode .order-type-tab-btn.active {
  background: #0f172a !important;
  color: #ffffff !important;
}

body.dark-mode .payment-method-tile {
  background: #0f172a !important;
  border-color: #334155 !important;
}

body.dark-mode .payment-method-tile .method-title {
  color: #f8fafc !important;
}

body.dark-mode .payment-method-tile.selected {
  border-color: #38bdf8 !important;
  background: rgba(56, 189, 248, 0.1) !important;
}

body.dark-mode .form-control {
  background: #1e293b !important;
  border-color: #334155 !important;
  color: #f8fafc !important;
}

body.dark-mode .back-link-nav {
  color: #94a3b8 !important;
}

body.dark-mode .back-link-nav:hover {
  color: #38bdf8 !important;
}

/* ==========================================================================
   ANNOUNCEMENT MARQUEE / SLIDER TICKER
   ========================================================================== */
.announcement-bar {
  background: linear-gradient(90deg, #070d19 0%, #0f172a 50%, #070d19 100%);
  border-bottom: 1px solid rgba(56, 189, 248, 0.25);
  color: #38bdf8;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.45rem 0;
  overflow: hidden;
  white-space: nowrap;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1005 !important;
  width: 100% !important;
  height: 32px !important;
  line-height: 20px !important;
  display: block !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

body:has(.announcement-bar),
body.has-announcement-bar {
  padding-top: 32px !important;
}

.ticker-track {
  display: inline-flex;
  white-space: nowrap;
  animation: tickerSlide 30s linear infinite;
  gap: 3.5rem;
  padding-left: 100%;
}

.ticker-track:hover {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #f1f5f9;
}

.ticker-item .highlight {
  color: #facc15;
  font-weight: 800;
}

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

/* ==========================================================================
   PUBLIC SITE FOOTER (Full-width, Modern Dark Grid)
   ========================================================================== */
.site-footer {
  background: #0b1120 !important;
  color: #94a3b8 !important;
  padding: 4rem 1.5rem 2rem !important;
  margin-top: auto !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  width: 100% !important;
  clear: both !important;
  display: block !important;
}

.footer-grid {
  max-width: 1240px;
  margin: 0 auto 2.5rem;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 2.5rem;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

.footer-col h4 {
  color: #ffffff !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  margin-bottom: 1.15rem !important;
  letter-spacing: -0.01em;
}

.footer-col p {
  color: #94a3b8 !important;
  font-size: 0.88rem !important;
  line-height: 1.6 !important;
}

.footer-col ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.footer-col ul li {
  margin-bottom: 0.65rem !important;
  list-style: none !important;
}

.footer-col ul li a {
  color: #94a3b8 !important;
  text-decoration: none !important;
  font-size: 0.88rem !important;
  transition: all 0.15s ease !important;
  display: inline-block !important;
}

.footer-col ul li a:hover {
  color: #38bdf8 !important;
  transform: translateX(3px) !important;
}

.footer-bottom {
  max-width: 1240px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem 1rem 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #64748b;
  font-size: 0.85rem;
}

.footer-bottom a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.15s;
}

.footer-bottom a:hover {
  color: #38bdf8;
}

/* ==========================================================================
   MOBILE RESPONSIVENESS & TOUCH ACCESSIBILITY SUITE
   - Fixes Wallet grid layouts (Paystack, Moolre, Send & Claim, etc.)
   - Fixes Result checker price input touch target & clickability
   - Fixes Storefronts manager cards & header wrapping
   - Fixes Digital Shop product detail page & order form on mobile
   ========================================================================== */

/* 1. Wallet & Claim Responsive Layouts */
@media (max-width: 860px) {
  .wallet-grid-layout,
  div[style*="grid-template-columns: 1fr 1.35fr"],
  div[style*="grid-template-columns: 1.15fr 1.35fr"],
  .claim-grid-layout {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  .wallet-channels-grid,
  div[style*="grid-template-columns: repeat(4, 1fr)"],
  div[style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
  }
}

@media (max-width: 480px) {
  .wallet-channels-grid,
  div[style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: 1fr !important;
    gap: 0.65rem !important;
  }

  .portal-card {
    padding: 1.1rem !important;
  }
}

/* 2. Result Checker Price Input Boxes - 100% Clickable & Touch Friendly */
input[name^="prices["],
input[name^="rates["],
.checker-price-input {
  pointer-events: auto !important;
  cursor: text !important;
  -webkit-user-select: text !important;
  user-select: text !important;
  touch-action: manipulation !important;
  min-height: 38px !important;
}

/* 3. User Storefronts Manager & Navigation on Mobile */
@media (max-width: 768px) {
  div[style*="minmax(360px, 1fr)"] {
    grid-template-columns: 1fr !important;
  }

  /* Product circle cards on mobile storefronts */
  .product-circle-card {
    padding: 1.1rem 0.65rem !important;
  }
  .product-circle-badge {
    width: 52px !important;
    height: 52px !important;
    margin-bottom: 0.65rem !important;
  }
  .product-circle-title {
    font-size: 0.85rem !important;
    margin-bottom: 0.2rem !important;
  }
  .product-circle-subtitle {
    font-size: 0.72rem !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }
}

/* 4. Digital Store Product Detail Page on Mobile */
.shop-product-detail-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
  align-items: start;
}

@media (max-width: 860px) {
  .shop-product-detail-layout,
  div[style*="minmax(340px, 1fr)"] {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  /* Prevent sticky order card overlapping or awkwardly sticking on mobile */
  .shop-product-detail-layout > div:last-child {
    position: static !important;
  }

  /* Specs and highlights 2-col to 1-col on small screens */
  .shop-product-detail-layout div[style*="grid-template-columns: 1fr 1fr"],
  div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 0.65rem !important;
  }
}
