/* ==========================================================================
   AI Store PK — Luxury High-Performance Storefront & Bot Platform
   Pixel-perfect adaptation of bot.uniquedigitalhub.com
   ========================================================================== */

:root {
  --bg-canvas: #080C14;
  --bg-card: #111827;
  --bg-card-elevated: #161F33;
  --bg-card-hover: #1C2640;
  --bg-input: #0B101D;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.14);
  --border-strong: rgba(255, 255, 255, 0.24);
  --border-orange: #FF6B00;
  --border-green: #1E9E4A;
  --border-red: #D92D20;
  
  --brand-orange: #FF6B00;
  --brand-orange-hover: #FF8326;
  --brand-orange-glow: rgba(255, 107, 0, 0.28);
  --brand-emerald: #10B981;
  --brand-cyan: #06B6D4;
  --brand-purple: #8B5CF6;
  
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-tertiary: #64748B;
  
  --font-display: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  
  --transition-fast: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  font-family: var(--font-sans);
}

body {
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  line-height: 1.5;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background-image: 
    radial-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* ==========================================================================
   Header: Sticky Luxury Topbar with Glowing Orange Bottom Border
   ========================================================================== */
header.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 68px;
  background: rgba(9, 13, 20, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 2.4px solid var(--brand-orange);
  box-shadow: 0 4px 22px rgba(255, 107, 0, 0.22);
  transition: var(--transition-fast);
}

.topbar-in {
  max-width: 1080px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.brand-glyph {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #FF6B00 0%, #FFA043 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  color: #fff;
  box-shadow: 0 0 16px var(--brand-orange-glow);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: #fff;
}

.brand-name span {
  color: var(--brand-orange);
}

.verified-icon {
  color: var(--brand-cyan);
  font-size: 14px;
}

/* Topbar Account & Action Controls */
.acct {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chip-btn {
  background: rgba(27, 39, 64, 0.85);
  border: 1px solid var(--border-medium);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  user-select: none;
}

.chip-btn:hover {
  background: rgba(40, 56, 92, 0.95);
  border-color: var(--brand-orange);
  transform: translateY(-1px);
}

.bell-btn .bdg {
  background: #EF4444;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  border-radius: 10px;
  padding: 1px 6px;
  margin-left: 2px;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.5);
}

/* User Avatar Pill & Dropdown */
.acct-wrap {
  position: relative;
}

.ava-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
}

.tb-ava-wrap {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--brand-orange);
  box-shadow: 0 0 12px var(--brand-orange-glow);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1E293B;
  position: relative;
}

.tb-ava.tb-fallback {
  color: #fff;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
}

.tb-ava.tb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.acct-menu {
  position: absolute;
  top: 48px;
  right: 0;
  width: 200px;
  background: #0E1526;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 1001;
  animation: scaleDropdown 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes scaleDropdown {
  from { opacity: 0; transform: translateY(-8px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.acct-menu button {
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 13.5px;
  font-weight: 600;
  padding: 10px 14px;
  text-align: left;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
}

.acct-menu button:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

/* ==========================================================================
   Main SPA Chat & Bot Frame Container
   ========================================================================== */
.chat-col {
  max-width: 1080px;
  margin: 0 auto;
  padding: 20px 16px 80px;
}

/* Cards (Obsidian / Navy with subtle borders) */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 14px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
  position: relative;
  overflow: hidden;
}

/* User Profile Header Card (when logged in) */
.card.user-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.user-card-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.user-card-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--brand-orange);
  background: #1E293B;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 0 16px var(--brand-orange-glow);
}

.user-card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-card-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.user-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.user-card-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}

.user-id-badge {
  background: rgba(139, 92, 246, 0.2);
  border: 1px solid rgba(139, 92, 246, 0.4);
  color: #C4B5FD;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
}

.user-card-stats {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12.5px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.user-card-stats span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.user-card-right {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.user-balance-amount {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 800;
  color: #fff;
}

.user-balance-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

/* Action Button Stacks & Grids */
.btn-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.btn-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* General Button Styles matching UniqueDigital */
.btn {
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 700;
  border-radius: var(--radius-md);
  padding: 13px 18px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  color: #fff;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition-fast);
  user-select: none;
}

.btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-medium);
  transform: translateY(-1px);
}

/* Primary Action Button (e.g. Shop Products) */
.btn.btn-primary-action {
  background: linear-gradient(135deg, #1C2640 0%, #111827 100%);
  border: 1px solid rgba(255, 107, 0, 0.4);
  font-size: 16px;
  padding: 15px 20px;
  box-shadow: 0 4px 16px rgba(255, 107, 0, 0.15);
}

.btn.btn-primary-action:hover {
  border-color: var(--brand-orange);
  box-shadow: 0 6px 24px rgba(255, 107, 0, 0.3);
}

/* Stock Alerts Banner Prompt */
.card.alert-prompt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  flex-wrap: wrap;
}

.alert-prompt-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.alert-prompt-icon {
  font-size: 22px;
}

.alert-prompt-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.alert-prompt-desc {
  font-size: 12px;
  color: var(--text-secondary);
}

.alert-prompt-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.alert-prompt-btn {
  padding: 6px 14px;
  font-size: 12.5px;
  font-weight: 700;
  border-radius: 20px;
  border: 1px solid var(--border-medium);
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: var(--transition-fast);
}

.alert-prompt-btn.primary {
  background: #fff;
  color: #000;
  border-color: #fff;
}

/* Trust Metric & Steps Cards */
.card-section-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.card-section-subtitle {
  font-size: 12.5px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.steps-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.step-number {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand-orange);
  color: #fff;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.step-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
}

.step-desc {
  font-size: 12px;
  color: var(--text-secondary);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.why-box {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px;
  text-align: center;
}

.why-icon {
  font-size: 20px;
  margin-bottom: 4px;
}

.why-title {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}

.why-desc {
  font-size: 10.5px;
  color: var(--text-tertiary);
}

/* ==========================================================================
   Shop Catalog View: Header, Search, Category Chips & 4-Column Grid
   ========================================================================== */
.shop-greeting-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  margin-bottom: 12px;
}

.shop-greeting-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.stock-counter-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-emerald);
  margin-top: 4px;
}

.shop-greeting-copy {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* Search Bar */
.search-shell {
  position: relative;
  margin-bottom: 10px;
}

.search-shell input.input {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 14px;
  transition: var(--transition-fast);
}

.search-shell input.input:focus {
  outline: none;
  border-color: var(--brand-orange);
  box-shadow: 0 0 16px var(--brand-orange-glow);
}

/* Category Filter Chips */
.cat-chips {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 12px;
  scrollbar-width: none;
}

.cat-chips::-webkit-scrollbar {
  display: none;
}

.cat-chip {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 20px;
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition-fast);
}

.cat-chip:hover {
  background: var(--bg-card-hover);
  color: #fff;
}

.cat-chip.on {
  background: var(--brand-orange);
  border-color: var(--brand-orange);
  color: #fff;
  box-shadow: 0 2px 10px var(--brand-orange-glow);
}

/* 4-Column Product Grid (Responsive to 1-Col Mobile) */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

/* Individual Product Card Button (.btn.p-btn) */
.btn.p-btn {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  gap: 12px;
  cursor: pointer;
  transition: var(--transition-fast);
  position: relative;
  min-height: 64px;
  border-width: 0.8px;
  border-style: solid;
}

.btn.p-btn.btn-green {
  border-color: var(--border-green);
  box-shadow: 0 2px 8px rgba(30, 158, 74, 0.12);
}

.btn.p-btn.btn-red {
  border-color: var(--border-red);
  opacity: 0.75;
}

.btn.p-btn:hover {
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}

.btn-thumb {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.p-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
  width: 100%;
}

.p-title {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.p-meta {
  font-family: var(--font-sans);
  font-size: 11.5px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}

.p-meta .p-price {
  color: #fff;
  font-weight: 700;
  font-family: var(--font-mono);
}

/* ==========================================================================
   Variant Selection Screen (In-Place SPA Transition)
   ========================================================================== */
.variant-headline-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  margin-bottom: 10px;
}

.variant-headline-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.variant-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  margin-bottom: 12px;
}

.variant-info-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.variant-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.variant-bullets li {
  font-size: 13px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.variant-bullets li::before {
  content: '•';
  color: var(--brand-orange);
  font-size: 16px;
}

/* ==========================================================================
   Confirm Purchase / Checkout Screen
   ========================================================================== */
.checkout-confirm-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 22px;
  margin-bottom: 14px;
}

.checkout-confirm-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.checkout-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.checkout-summary-row strong {
  color: #fff;
  font-family: var(--font-mono);
}

.checkout-summary-row.total-row {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
  font-size: 16px;
  color: #fff;
}

.checkout-summary-row.total-row strong {
  color: var(--brand-orange);
  font-size: 18px;
}

.checkout-input-group {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checkout-input-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.checkout-input-field input {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 14px;
  transition: var(--transition-fast);
}

.checkout-input-field input:focus {
  outline: none;
  border-color: var(--brand-orange);
  box-shadow: 0 0 14px var(--brand-orange-glow);
}

/* Active Payment Account Selection Buttons */
.payment-methods-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 16px 0;
}

.pay-method-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: var(--transition-fast);
}

.pay-method-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-medium);
}

.pay-method-btn.selected {
  border-color: var(--brand-orange);
  background: rgba(255, 107, 0, 0.08);
  box-shadow: 0 0 16px var(--brand-orange-glow);
}

.pay-method-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pay-method-icon {
  font-size: 20px;
}

.pay-method-name {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.pay-method-account {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-secondary);
}

.pay-details-box {
  background: var(--bg-input);
  border: 1px dashed var(--border-medium);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pay-detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}

.copy-badge-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: #fff;
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 11px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.copy-badge-btn:hover {
  background: var(--brand-orange);
}

/* ==========================================================================
   Toast Notification & Utilities
   ========================================================================== */
.bot-toast-luxury {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(14, 19, 31, 0.96);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-medium);
  color: #fff;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
  z-index: 99999;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.bot-toast-luxury.show {
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   Responsive Adaptations (Mobile < 768px and Tablet < 992px)
   ========================================================================== */
@media (max-width: 991px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  header.topbar {
    height: 56px;
    border-bottom: 2px solid var(--brand-orange);
    box-shadow: 0 2px 14px rgba(255, 107, 0, 0.35);
  }
  .topbar-in {
    padding: 0 10px;
    gap: 6px;
    max-width: 100vw;
  }
  .brand {
    gap: 6px;
    flex-shrink: 0;
  }
  .brand-glyph {
    width: 28px;
    height: 28px;
    font-size: 14px;
    border-radius: 6px;
    box-shadow: 0 0 10px var(--brand-orange-glow);
  }
  .brand-name {
    font-size: 14px;
    white-space: nowrap;
    letter-spacing: -0.2px;
  }
  .verified-icon {
    font-size: 11px;
    margin-left: 2px;
  }
  .acct {
    gap: 5px;
    flex-shrink: 0;
  }
  .chip-btn {
    height: 28px;
    padding: 0 8px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 14px;
    gap: 3px;
  }
  .bell-btn {
    padding: 0 7px;
    font-size: 11.5px;
  }
  .bell-btn .bdg {
    font-size: 9px;
    padding: 1px 4px;
    margin-left: 1px;
  }
  .tb-ava-wrap {
    width: 30px;
    height: 30px;
    border-width: 1.5px;
  }
  .tb-ava.tb-fallback {
    font-size: 11px;
  }
  #btn-topbar-signin {
    height: 28px;
    padding: 0 8px;
    font-size: 11px;
    border-radius: 14px;
    gap: 4px;
  }
  .acct-menu {
    top: 40px;
    right: 0;
    width: 170px;
    padding: 6px;
  }
  .acct-menu button {
    padding: 8px 10px;
    font-size: 12.5px;
  }
  .chat-col {
    padding: 12px 12px 60px;
  }
  .card {
    padding: 16px;
    margin-bottom: 10px;
  }
  .card.user-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .user-card-avatar {
    width: 46px;
    height: 46px;
    font-size: 16px;
  }
  .user-card-name {
    font-size: 16px;
  }
  .user-card-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    font-size: 11.5px;
  }
  .user-card-right {
    text-align: left;
    align-items: flex-start;
    margin-top: 4px;
    padding-top: 10px;
    border-top: 1px solid var(--border-subtle);
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
  }
  .user-balance-amount {
    font-size: 20px;
  }
  .btn {
    padding: 12px 14px;
    font-size: 14px;
  }
  .btn.btn-primary-action {
    padding: 14px 16px;
    font-size: 15px;
  }
  .btn-grid-2 {
    grid-template-columns: 1fr;
  }
  .products-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .btn.p-btn {
    padding: 10px 12px;
    min-height: 56px;
    gap: 10px;
  }
  .btn-thumb {
    width: 32px;
    height: 32px;
    font-size: 15px;
  }
  .p-title {
    font-size: 13px;
  }
  .p-meta {
    font-size: 11px;
    gap: 4px;
  }
  .why-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}


/* ==========================================================================
   AI Store PK — Elevated Visual Hierarchy & Focus Styles
   ========================================================================== */

.store-hero {
  text-align: center;
  padding: 32px 16px 20px;
  background: radial-gradient(50% 60% at 50% 0%, rgba(255, 107, 0, 0.16) 0%, rgba(8, 12, 20, 0) 100%);
  border-radius: var(--radius-xl);
  margin-bottom: 20px;
  position: relative;
  border: 1px solid rgba(255, 107, 0, 0.14);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 107, 0, 0.12);
  border: 1px solid rgba(255, 107, 0, 0.35);
  color: #FFA043;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin-bottom: 14px;
  box-shadow: 0 0 16px rgba(255, 107, 0, 0.15);
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
  animation: pulse-green 1.8s infinite;
}

@keyframes pulse-green {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}

.hero-title span {
  background: linear-gradient(135deg, #FF6B00 0%, #FFA043 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 14.5px;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 18px;
  line-height: 1.55;
}

.hero-stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.hero-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
}

.hero-stat-pill strong {
  color: #fff;
}

/* Prominent Search Bar */
.search-shell-prominent {
  margin-bottom: 20px;
}

.search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.search-icon-left {
  position: absolute;
  left: 16px;
  color: var(--brand-orange);
  font-size: 16px;
  pointer-events: none;
}

.search-hero-input {
  width: 100%;
  height: 52px;
  background: rgba(17, 24, 39, 0.95);
  border: 1.5px solid rgba(255, 107, 0, 0.35);
  border-radius: var(--radius-lg);
  padding: 0 44px 0 46px;
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 500;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  transition: var(--transition-fast);
}

.search-hero-input:focus {
  border-color: var(--brand-orange);
  box-shadow: 0 0 24px rgba(255, 107, 0, 0.32);
  outline: none;
}

.search-clear-btn {
  position: absolute;
  right: 14px;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 20px;
  cursor: pointer;
  padding: 4px;
}

.quick-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
  padding: 0 4px;
}

.quick-tags-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-right: 4px;
}

.quick-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #E2E8F0;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.quick-tag:hover {
  background: rgba(255, 107, 0, 0.2);
  border-color: var(--brand-orange);
  color: #fff;
}

/* Featured / Trending Spotlight Row */
.trending-section {
  margin-bottom: 24px;
}

.trending-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.trending-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 8px;
}

.trending-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.trending-card {
  background: linear-gradient(145deg, rgba(22, 31, 51, 0.95) 0%, rgba(17, 24, 39, 0.95) 100%);
  border: 1.5px solid rgba(255, 107, 0, 0.4);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  transition: var(--transition-fast);
}

.trending-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-orange);
  box-shadow: 0 12px 30px rgba(255, 107, 0, 0.25);
}

.trending-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(135deg, #FF6B00 0%, #FFA043 100%);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  letter-spacing: 0.3px;
}

.trending-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.trending-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.trending-subtitle {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.trending-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.trending-price {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 800;
  color: #10B981;
}

.trending-action {
  font-size: 12px;
  font-weight: 700;
  color: #FFA043;
}

/* Elevated Regular Cards */
.btn.p-btn {
  min-height: 72px;
  padding: 13px 15px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(17, 24, 39, 0.95);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: var(--transition-fast);
}

.btn.p-btn:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 107, 0, 0.6);
  box-shadow: 0 8px 24px rgba(255, 107, 0, 0.18);
  background: rgba(22, 31, 51, 1);
}

.p-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.2px;
}

.p-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}

.p-price {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 800;
  color: #10B981;
}

/* Category Filter Chips Enhancement */
.cat-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 16px;
  scrollbar-width: none;
}
.cat-chips::-webkit-scrollbar { display: none; }

.cat-chip {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
  white-space: nowrap;
  transition: var(--transition-fast);
  cursor: pointer;
}

.cat-chip.on {
  background: linear-gradient(135deg, #FF6B00 0%, #FFA043 100%);
  border-color: #FF6B00;
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 2px 14px rgba(255, 107, 0, 0.4);
}

.cat-section-header {
  grid-column: 1 / -1;
  margin: 30px 0 12px 0;
  padding-bottom: 10px;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 991px) {
  .trending-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 22px;
  }
  .trending-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Floating Luxury Bottom App Navigation Bar --- */
.bottom-app-bar {
  position: fixed;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 24px);
  max-width: 440px;
  background: rgba(13, 19, 33, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 8px 10px;
  z-index: 9999;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.7), 0 0 20px rgba(255, 107, 0, 0.15);
}

.bottom-nav-item {
  background: none;
  border: none;
  color: #94A3B8;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  padding: 5px 12px;
  border-radius: 16px;
  transition: all 0.2s ease;
}

.bottom-nav-item i {
  font-size: 17px;
  transition: transform 0.2s ease, color 0.2s ease;
}

.bottom-nav-item:hover,
.bottom-nav-item.active {
  color: #FF6B00;
}

.bottom-nav-item.active i {
  transform: scale(1.15);
  color: #FF6B00;
}

#app-viewport {
  padding-bottom: 95px !important;
}

/* --- Announcement Modal Styling --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 16px;
  animation: fadeInModal 0.2s ease-out;
}

.modal-dialog-luxury {
  background: #0F172A;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  max-width: 440px;
  width: 100%;
  padding: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 107, 0, 0.2);
  animation: scaleUpModal 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInModal { from { opacity: 0; } to { opacity: 1; } }
@keyframes scaleUpModal { from { transform: scale(0.95); opacity: 0; } to { transform: scale(1); opacity: 1; } }


/* ==========================================================================
   LUXURY WALLET STYLES (MATCHING aitoolspro.org / bot.uniquedigitalhub.com)
   ========================================================================== */
.wallet-hero-card {
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.09) 0%, rgba(16, 185, 129, 0.07) 100%), var(--bg-card);
  border: 1.5px solid rgba(255, 107, 0, 0.35);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.22);
  border-radius: var(--radius-lg);
  padding: 22px;
  margin-bottom: 14px;
}
.wallet-hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.wallet-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--brand-emerald);
}
.wallet-history-btn {
  background: var(--bg-card-elevated);
  border: 1px solid var(--border-medium);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}
.wallet-history-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--brand-orange);
  color: var(--brand-orange);
}
.wallet-hero-main {
  text-align: center;
  padding: 10px 0 16px;
}
.wallet-hero-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.wallet-hero-balance-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.wallet-hero-balance {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
  letter-spacing: -0.5px;
}
.wallet-hero-balance-alt {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 600;
  margin-top: 2px;
}
.wallet-hero-footer {
  display: flex;
  align-items: center;
  justify-content: space-around;
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 600;
  gap: 12px;
  flex-wrap: wrap;
}
.wallet-section-card {
  padding: 18px 20px;
  margin-bottom: 14px;
}
.wallet-step-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.wallet-step-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-orange) 0%, #FFA043 100%);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(255, 107, 0, 0.35);
}
.wallet-step-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-primary);
}
.wallet-step-subtitle {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 2px;
}
.wallet-presets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
@media (max-width: 480px) {
  .wallet-presets-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.wallet-preset-chip {
  width: 100%;
  justify-content: center;
  padding: 10px 8px;
  font-size: 13.5px;
  font-weight: 700;
}
.wallet-input-affix-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.wallet-input-affix {
  position: absolute;
  left: 14px;
  font-weight: 700;
  color: var(--text-secondary);
  font-size: 15px;
  pointer-events: none;
}
.wallet-input-affix-wrap input {
  padding-left: 44px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  width: 100%;
}
.wallet-calc-box {
  background: var(--bg-card-elevated);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-top: 14px;
}
.wallet-calc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.wallet-calc-row strong {
  font-size: 14px;
  color: var(--text-primary);
}
.wallet-calc-note {
  font-size: 11px;
  color: var(--text-tertiary);
  margin-top: 6px;
  border-top: 1px dashed var(--border-subtle);
  padding-top: 6px;
}
.wallet-methods-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.wallet-gw-tile {
  background: var(--bg-card);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition-fast);
}
.wallet-gw-tile:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-medium);
}
.wallet-gw-tile.selected {
  background: var(--bg-card-elevated);
  border: 2px solid var(--brand-orange) !important;
  box-shadow: 0 4px 18px rgba(255, 107, 0, 0.18);
}
.wallet-gw-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.wallet-gw-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.wallet-gw-title {
  font-weight: 700;
  font-size: 14px;
  color: var(--text-primary);
}
.wallet-gw-desc {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 2px;
}
.wallet-gw-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.wallet-check-ring {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: transparent;
  transition: var(--transition-fast);
}
.wallet-gw-tile.selected .wallet-check-ring {
  background: var(--brand-orange);
  border-color: var(--brand-orange);
  color: #FFFFFF;
}
.wallet-perks-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-top: 14px;
  margin-bottom: 24px;
}
.wallet-perk-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.wallet-perk-icon {
  font-size: 16px;
  margin-top: 1px;
}
.wallet-perk-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.wallet-perk-text strong {
  font-size: 12.5px;
  color: var(--text-primary);
  font-weight: 700;
}
.wallet-perk-text span {
  font-size: 11.5px;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ==========================================================================
   WHITE (LIGHT) MODE STYLES — HIGH CONTRAST & ZERO INVISIBILITY
   ========================================================================== */
html[data-theme="light"],
body[data-theme="light"] {
  color-scheme: light !important;
  --bg-canvas: #F8FAFC !important;
  --bg-card: #FFFFFF !important;
  --bg-card-elevated: #F1F5F9 !important;
  --bg-card-hover: #F8FAFC !important;
  --bg-input: #FFFFFF !important;
  
  --border-subtle: #E2E8F0 !important;
  --border-medium: #CBD5E1 !important;
  --border-strong: #94A3B8 !important;
  
  --text-primary: #0F172A !important;
  --text-secondary: #475569 !important;
  --text-tertiary: #64748B !important;
}

html[data-theme="light"] body {
  background-color: #F8FAFC !important;
  color: #0F172A !important;
}

/* 1. STICKY TOPBAR */
html[data-theme="light"] .topbar {
  background: rgba(255, 255, 255, 0.96) !important;
  border-bottom: 2px solid #FF6B00 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06) !important;
}
html[data-theme="light"] .brand-name {
  color: #0F172A !important;
}
html[data-theme="light"] .chip-btn {
  background: #F1F5F9 !important;
  border: 1.5px solid #CBD5E1 !important;
  color: #0F172A !important;
}
html[data-theme="light"] .chip-btn:hover {
  background: #E2E8F0 !important;
}
html[data-theme="light"] #curr-chip-label {
  color: #0F172A !important;
  font-weight: 700 !important;
}
html[data-theme="light"] #theme-toggle-icon {
  color: #D97706 !important;
}
html[data-theme="light"] .tb-ava.tb-fallback {
  background: #E2E8F0 !important;
  border: 1.5px solid #CBD5E1 !important;
  color: #0F172A !important;
}
html[data-theme="light"] .acct-menu {
  background: #FFFFFF !important;
  border: 1.5px solid #E2E8F0 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12) !important;
}
html[data-theme="light"] .acct-menu button {
  color: #0F172A !important;
}
html[data-theme="light"] .acct-menu button:hover {
  background: #F1F5F9 !important;
  color: #FF6B00 !important;
}

/* 2. FLOATING BOTTOM APP BAR */
html[data-theme="light"] .bottom-app-bar,
html[data-theme="light"] #app-bottom-bar {
  background: rgba(255, 255, 255, 0.98) !important;
  border: 1.5px solid #CBD5E1 !important;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}
html[data-theme="light"] .bottom-nav-item {
  color: #64748B !important;
}
html[data-theme="light"] .bottom-nav-item i,
html[data-theme="light"] .bottom-nav-item span {
  color: #64748B !important;
}
html[data-theme="light"] .bottom-nav-item:hover {
  color: #0F172A !important;
}
html[data-theme="light"] .bottom-nav-item:hover i,
html[data-theme="light"] .bottom-nav-item:hover span {
  color: #0F172A !important;
}
html[data-theme="light"] .bottom-nav-item.active {
  color: #FF6B00 !important;
}
html[data-theme="light"] .bottom-nav-item.active i,
html[data-theme="light"] .bottom-nav-item.active span {
  color: #FF6B00 !important;
}

/* 3. PROFILE DASHBOARD & USER CARD */
html[data-theme="light"] .user-card {
  background: #FFFFFF !important;
  border-color: #E2E8F0 !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05) !important;
}
html[data-theme="light"] .user-card-name {
  color: #0F172A !important;
}
html[data-theme="light"] .user-id-badge {
  background: #F1F5F9 !important;
  border-color: #CBD5E1 !important;
  color: #475569 !important;
}
html[data-theme="light"] .user-card-stats span {
  color: #64748B !important;
}
html[data-theme="light"] .user-card-stats span strong {
  color: #0F172A !important;
}
html[data-theme="light"] .user-balance-amount {
  color: #10B981 !important;
}
html[data-theme="light"] .user-balance-label {
  color: #64748B !important;
}

/* 4. BUTTONS & ACTIONS */
html[data-theme="light"] .btn:not(.btn-primary-action):not(#btn-direct-whatsapp-order):not(#btn-submit-topup) {
  background: #FFFFFF !important;
  border: 1.5px solid #CBD5E1 !important;
  color: #0F172A !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03) !important;
}
html[data-theme="light"] .btn:not(.btn-primary-action):not(#btn-direct-whatsapp-order):not(#btn-submit-topup):hover {
  background: #F8FAFC !important;
  border-color: #94A3B8 !important;
  color: #0F172A !important;
}
html[data-theme="light"] .btn-primary-action {
  background: linear-gradient(135deg, #FF6B00 0%, #FF8326 100%) !important;
  color: #FFFFFF !important;
  border: none !important;
  box-shadow: 0 4px 16px rgba(255, 107, 0, 0.28) !important;
}

/* 5. CARDS & HERO */
html[data-theme="light"] :is(.card, .store-hero, .trending-card, .variant-headline-card, .variant-info-card, .checkout-confirm-card) {
  background: #FFFFFF !important;
  border-color: #E2E8F0 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04) !important;
}
html[data-theme="light"] :is(
  .hero-title,
  .p-title,
  .trending-name,
  .card-section-title,
  .variant-headline-title,
  .checkout-confirm-title,
  .why-title,
  .step-title,
  .shop-greeting-title,
  .cat-section-header span
) {
  color: #0F172A !important;
}
html[data-theme="light"] :is(
  .hero-desc,
  .card-section-subtitle,
  .trending-subtitle,
  .variant-info-title,
  .checkout-input-field label,
  .p-desc-preview,
  .why-desc,
  .step-desc,
  .p-meta span:not(.p-price)
) {
  color: #475569 !important;
}
html[data-theme="light"] :is(.p-meta .p-price, .trending-price, .checkout-confirm-price) {
  color: #FF6B00 !important;
  font-weight: 700 !important;
}
html[data-theme="light"] .hero-stat-pill {
  background: #F1F5F9 !important;
  border-color: #CBD5E1 !important;
  color: #475569 !important;
}
html[data-theme="light"] .hero-stat-pill strong {
  color: #0F172A !important;
}

/* 6. FORM INPUTS & SEARCH */
html[data-theme="light"] :is(
  input[type="text"],
  input[type="number"],
  input[type="email"],
  input[type="tel"],
  input[type="search"],
  .search-hero-input,
  #topup-custom-input
) {
  background: #FFFFFF !important;
  border: 1.5px solid #CBD5E1 !important;
  color: #0F172A !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}
html[data-theme="light"] input::placeholder {
  color: #94A3B8 !important;
}
html[data-theme="light"] input:focus {
  border-color: #FF6B00 !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.15) !important;
}

/* 7. CHIPS & TAGS */
html[data-theme="light"] .cat-chip:not(.on),
html[data-theme="light"] [data-topup-amt]:not(.on) {
  background: #F8FAFC !important;
  border: 1.5px solid #CBD5E1 !important;
  color: #1E293B !important;
  font-weight: 600 !important;
}
html[data-theme="light"] .cat-chip.on,
html[data-theme="light"] [data-topup-amt].on {
  background: linear-gradient(135deg, #FF6B00 0%, #FFA043 100%) !important;
  color: #FFFFFF !important;
  border-color: #FF6B00 !important;
  box-shadow: 0 2px 8px rgba(255, 107, 0, 0.3) !important;
}
html[data-theme="light"] .quick-tag {
  background: #F1F5F9 !important;
  border-color: #E2E8F0 !important;
  color: #334155 !important;
}
html[data-theme="light"] .quick-tag:hover {
  background: #FFF7ED !important;
  border-color: #FF6B00 !important;
  color: #FF6B00 !important;
}

/* 8. ALERTS & STEPS */
html[data-theme="light"] .alert-prompt {
  background: #FFF7ED !important;
  border: 1.5px solid #FFEDD5 !important;
}
html[data-theme="light"] .alert-prompt-title {
  color: #9A3412 !important;
}
html[data-theme="light"] .alert-prompt-desc {
  color: #C2410C !important;
}
html[data-theme="light"] .step-item {
  background: #FFFFFF !important;
  border-color: #E2E8F0 !important;
}
html[data-theme="light"] .step-number {
  background: linear-gradient(135deg, #FF6B00, #FFA043) !important;
  color: #FFFFFF !important;
}
html[data-theme="light"] .why-box {
  background: #FFFFFF !important;
  border-color: #E2E8F0 !important;
}

/* 9. CHECKOUT & VARIANTS */
html[data-theme="light"] .variant-bullets li {
  color: #0F172A !important;
}
html[data-theme="light"] .checkout-summary-row {
  color: #475569 !important;
}
html[data-theme="light"] .checkout-summary-row strong {
  color: #0F172A !important;
}
html[data-theme="light"] .checkout-summary-row.total-row strong {
  color: #FF6B00 !important;
}

/* 10. LUXURY WALLET LIGHT MODE */
html[data-theme="light"] .wallet-hero-card {
  background: linear-gradient(135deg, #FFF7ED 0%, #ECFDF5 100%), #FFFFFF !important;
  border: 1.5px solid #FED7AA !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05) !important;
}
html[data-theme="light"] .wallet-hero-badge {
  background: #DCFCE7 !important;
  border-color: #86EFAC !important;
  color: #15803D !important;
}
html[data-theme="light"] .wallet-history-btn {
  background: #F1F5F9 !important;
  border-color: #CBD5E1 !important;
  color: #0F172A !important;
}
html[data-theme="light"] .wallet-history-btn:hover {
  background: #E2E8F0 !important;
  color: #FF6B00 !important;
}
html[data-theme="light"] .wallet-hero-label {
  color: #64748B !important;
}
html[data-theme="light"] .wallet-hero-balance {
  color: #0F172A !important;
}
html[data-theme="light"] .wallet-hero-balance-alt {
  color: #475569 !important;
}
html[data-theme="light"] .wallet-hero-footer {
  border-top-color: #E2E8F0 !important;
  color: #475569 !important;
}
html[data-theme="light"] .wallet-section-card {
  background: #FFFFFF !important;
  border-color: #E2E8F0 !important;
}
html[data-theme="light"] .wallet-step-title {
  color: #0F172A !important;
}
html[data-theme="light"] .wallet-step-subtitle {
  color: #475569 !important;
}
html[data-theme="light"] .wallet-calc-box {
  background: #F8FAFC !important;
  border-color: #E2E8F0 !important;
}
html[data-theme="light"] .wallet-calc-row {
  color: #475569 !important;
}
html[data-theme="light"] .wallet-calc-row strong {
  color: #0F172A !important;
}
html[data-theme="light"] .wallet-calc-note {
  color: #64748B !important;
  border-top-color: #CBD5E1 !important;
}
html[data-theme="light"] .wallet-gw-tile {
  background: #FFFFFF !important;
  border-color: #E2E8F0 !important;
}
html[data-theme="light"] .wallet-gw-tile:hover {
  background: #F8FAFC !important;
  border-color: #CBD5E1 !important;
}
html[data-theme="light"] .wallet-gw-tile.selected {
  background: #FFFDF9 !important;
  border-color: #FF6B00 !important;
  box-shadow: 0 4px 16px rgba(255, 107, 0, 0.12) !important;
}
html[data-theme="light"] .wallet-gw-title {
  color: #0F172A !important;
}
html[data-theme="light"] .wallet-gw-desc {
  color: #64748B !important;
}
html[data-theme="light"] .wallet-perks-card {
  background: #FFFFFF !important;
  border-color: #E2E8F0 !important;
}
html[data-theme="light"] .wallet-perk-text strong {
  color: #0F172A !important;
}
html[data-theme="light"] .wallet-perk-text span {
  color: #64748B !important;
}

/* 11. MODALS & POPUPS */
html[data-theme="light"] .modal-dialog-luxury {
  background: #FFFFFF !important;
  border-color: #E2E8F0 !important;
  color: #0F172A !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2) !important;
}
html[data-theme="light"] .modal-overlay {
  background: rgba(15, 23, 42, 0.6) !important;
  backdrop-filter: blur(4px) !important;
}
