/**
 * DigiProKu - Cyber-Fintech Digital Marketplace Theme
 * Nuance inspired by the DigiProKu Logo (PK Monogram):
 * Primary: Electric Mint (#00f5a0) & Neon Emerald (#10b981)
 * Secondary: Cyber Cyan (#00d2ff) & Electric Blue (#0ea5e9)
 * Deep Base: Obsidian Midnight Navy (#040812, #080f1e, #0c1527)
 * High-end Glassmorphism, luminous neon accents, and smooth micro-interactions.
 */

:root, [data-theme="dark"] {
  --td-bg: #040812;
  --td-bg-secondary: #080f1e;
  --td-surface: #0c1527;
  --td-surface-hover: #132038;
  --td-card: #0c1527;
  --td-card-hover: #111d35;
  --td-border: rgba(0, 245, 160, 0.15);
  --td-border-light: rgba(255, 255, 255, 0.08);
  --td-border-subtle: rgba(255, 255, 255, 0.05);
  --td-primary: #00f5a0;
  --td-primary-hover: #00d26a;
  --td-primary-light: rgba(0, 245, 160, 0.15);
  --td-cyan: #00d2ff;
  --td-cyan-hover: #00b4d8;
  --td-cyan-light: rgba(0, 210, 255, 0.15);
  --td-cyan-glow: rgba(0, 210, 255, 0.35);
  --td-mint-glow: rgba(0, 245, 160, 0.35);
  --td-gradient-primary: linear-gradient(135deg, #00f5a0 0%, #00d2ff 100%);
  --td-gradient-card: linear-gradient(135deg, rgba(12, 21, 39, 0.9) 0%, rgba(8, 15, 30, 0.9) 100%);
  --td-gradient-hero: linear-gradient(135deg, rgba(0, 245, 160, 0.18) 0%, rgba(0, 210, 255, 0.12) 50%, rgba(8, 15, 30, 0.95) 100%);
  --td-brand: #00f5a0;
  --td-emerald: #00f5a0;
  --td-emerald-light: rgba(0, 245, 160, 0.15);
  --td-amber: #f59e0b;
  --td-amber-light: rgba(245, 158, 11, 0.15);
  --td-text: #f8fafc;
  --td-text-muted: #94a3b8;
  --td-text-dim: #64748b;
  --td-muted: #94a3b8;
  --td-surface-2: #0e182c;
  --td-input-bg: #060b16;
  --td-dropdown-bg: #0c1527;
  --td-nav-bg: rgba(4, 8, 18, 0.88);
  --td-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  --td-radius: 16px;
  --td-radius-sm: 10px;
}

select {
  color-scheme: dark;
}
select option {
  background-color: #0f172a !important;
  color: #f8fafc !important;
  padding: 8px 12px;
}

[data-theme="light"] {
  --td-bg: #f8fafc;
  --td-bg-secondary: #f1f5f9;
  --td-surface: #ffffff;
  --td-surface-hover: #f8fafc;
  --td-card: #ffffff;
  --td-card-hover: #fcfdfe;
  --td-border: rgba(15, 23, 42, 0.08);
  --td-border-light: rgba(15, 23, 42, 0.05);
  --td-border-subtle: rgba(15, 23, 42, 0.04);
  --td-primary: #059669;
  --td-primary-hover: #047857;
  --td-primary-light: rgba(5, 150, 105, 0.1);
  --td-cyan: #0284c7;
  --td-cyan-hover: #0369a1;
  --td-cyan-light: rgba(2, 132, 199, 0.1);
  --td-cyan-glow: rgba(2, 132, 199, 0.2);
  --td-mint-glow: rgba(5, 150, 105, 0.2);
  --td-gradient-primary: linear-gradient(135deg, #059669 0%, #0284c7 100%);
  --td-gradient-card: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  --td-gradient-hero: linear-gradient(135deg, rgba(5, 150, 105, 0.08) 0%, rgba(2, 132, 199, 0.06) 50%, #ffffff 100%);
  --td-brand: #059669;
  --td-emerald: #059669;
  --td-emerald-light: rgba(5, 150, 105, 0.1);
  --td-amber: #d97706;
  --td-amber-light: rgba(217, 119, 6, 0.12);
  --td-text: #0f172a;
  --td-text-muted: #64748b;
  --td-text-dim: #94a3b8;
  --td-muted: #64748b;
  --td-surface-2: #f1f5f9;
  --td-input-bg: #ffffff;
  --td-dropdown-bg: #ffffff;
  --td-nav-bg: rgba(255, 255, 255, 0.9);
  --td-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
  --td-radius: 16px;
  --td-radius-sm: 10px;
}

body {
  background-color: var(--td-bg) !important;
  background-image: 
    radial-gradient(circle at 10% 10%, rgba(0, 245, 160, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 85%, rgba(0, 210, 255, 0.05) 0%, transparent 40%) !important;
  background-attachment: fixed !important;
  color: var(--td-text) !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.25s ease, color 0.25s ease;
}

[data-theme="light"] body {
  background-image: 
    radial-gradient(circle at 10% 10%, rgba(5, 150, 105, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 90% 85%, rgba(2, 132, 199, 0.04) 0%, transparent 40%) !important;
}

a:visited {
  color: inherit;
}

/* Theme Switcher Button */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--td-border);
  color: var(--td-text);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}
.theme-toggle-btn:hover {
  background: rgba(0, 245, 160, 0.12);
  border-color: var(--td-primary);
  transform: translateY(-1px) scale(1.04);
  box-shadow: 0 4px 14px var(--td-mint-glow);
}
[data-theme="light"] .theme-toggle-btn {
  background: #f1f5f9;
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}
[data-theme="light"] .theme-toggle-btn:hover {
  background: #e2e8f0;
  border-color: var(--td-primary);
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.2);
}
.theme-icon-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  position: relative;
}
.theme-icon {
  position: absolute;
  font-size: 18px;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease;
}
[data-theme="dark"] .theme-icon.moon-icon,
:root:not([data-theme="light"]) .theme-icon.moon-icon {
  opacity: 0;
  transform: translateY(16px) rotate(45deg) scale(0.5);
  pointer-events: none;
}
[data-theme="dark"] .theme-icon.sun-icon,
:root:not([data-theme="light"]) .theme-icon.sun-icon {
  opacity: 1;
  transform: translateY(0) rotate(0deg) scale(1);
}
[data-theme="light"] .theme-icon.sun-icon {
  opacity: 0;
  transform: translateY(-16px) rotate(-45deg) scale(0.5);
  pointer-events: none;
}
[data-theme="light"] .theme-icon.moon-icon {
  opacity: 1;
  transform: translateY(0) rotate(0deg) scale(1);
}

/* Glassmorphic Top Navbar */
.top {
  background: var(--td-nav-bg) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border-bottom: 1px solid var(--td-border) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4) !important;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.brand-digiproku {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
  transition: transform 0.2s ease;
}
.brand-logo-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(0, 245, 160, 0.55));
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
}
.brand-digiproku:hover .brand-logo-img {
  transform: scale(1.1) rotate(5deg);
  filter: drop-shadow(0 0 24px rgba(0, 210, 255, 0.85));
}
.brand-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
}
.brand-text {
  letter-spacing: -0.5px;
  font-size: 20px;
}
.brand-text b {
  color: #00f5a0;
  text-shadow: 0 0 14px rgba(0, 245, 160, 0.4);
}
.brand-text span {
  color: #00d2ff;
  text-shadow: 0 0 14px rgba(0, 210, 255, 0.4);
}

.td-nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.td-nav-links a {
  padding: 8px 14px;
  border-radius: 10px;
  color: #94a3b8;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}
.td-nav-links a:hover {
  color: #00f5a0 !important;
  background: rgba(0, 245, 160, 0.08);
  border-color: rgba(0, 245, 160, 0.25);
  text-shadow: 0 0 10px rgba(0, 245, 160, 0.4);
}
.td-nav-links a.active {
  background: linear-gradient(135deg, rgba(0, 245, 160, 0.15), rgba(0, 210, 255, 0.15));
  border-color: rgba(0, 245, 160, 0.35);
  color: #00f5a0;
  box-shadow: 0 0 15px rgba(0, 245, 160, 0.15);
}
.td-nav-links a.active:hover {
  color: #00f5a0 !important;
  border-color: rgba(0, 245, 160, 0.6);
  box-shadow: 0 0 20px rgba(0, 245, 160, 0.25);
}

/* =========================================================
   TOP NAVBAR ACTIONS & CHIPS (Clean, No-Wrap, Unified 36px)
   ========================================================= */
.nav-cart,
.nav-cart-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  height: 36px !important;
  padding: 0 10px !important;
  border-radius: 10px !important;
  background: var(--td-surface-2, rgba(255, 255, 255, 0.04)) !important;
  border: 1px solid var(--td-border-light, rgba(255, 255, 255, 0.1)) !important;
  color: #cbd5e1 !important;
  text-decoration: none !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  box-sizing: border-box !important;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.nav-cart:hover,
.nav-cart-btn:hover {
  background: rgba(0, 245, 160, 0.08) !important;
  border-color: rgba(0, 245, 160, 0.35) !important;
  color: #00f5a0 !important;
  transform: translateY(-1px);
}
.nav-cart span,
.nav-cart-btn .cart-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 18px !important;
  height: 18px !important;
  padding: 0 5px !important;
  border-radius: 99px !important;
  background: rgba(0, 245, 160, 0.15) !important;
  color: #00f5a0 !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}
.nav-cart span.has-items,
.nav-cart-btn .cart-badge.has-items {
  background: #00f5a0 !important;
  color: #040812 !important;
}

/* Header Seller Action Pill */
.header-action-pill {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  height: 36px !important;
  padding: 0 14px !important;
  border-radius: 99px !important;
  font-size: 12.5px !important;
  font-weight: 800 !important;
  letter-spacing: -0.2px !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  box-sizing: border-box !important;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.header-action-pill.seller-onboard {
  background: rgba(0, 210, 255, 0.1) !important;
  border: 1px solid rgba(0, 210, 255, 0.35) !important;
  color: #00d2ff !important;
  box-shadow: 0 0 12px rgba(0, 210, 255, 0.08) !important;
}
.header-action-pill.seller-onboard:hover {
  background: rgba(0, 210, 255, 0.18) !important;
  border-color: rgba(0, 210, 255, 0.6) !important;
  box-shadow: 0 0 18px rgba(0, 210, 255, 0.2) !important;
  transform: translateY(-1px);
}
.header-action-pill.seller-active {
  background: rgba(0, 245, 160, 0.1) !important;
  border: 1px solid rgba(0, 245, 160, 0.35) !important;
  color: #00f5a0 !important;
  box-shadow: 0 0 12px rgba(0, 245, 160, 0.08) !important;
}
.header-action-pill.seller-active:hover {
  background: rgba(0, 245, 160, 0.18) !important;
  border-color: rgba(0, 245, 160, 0.6) !important;
  box-shadow: 0 0 18px rgba(0, 245, 160, 0.2) !important;
  transform: translateY(-1px);
}
.header-action-pill.seller-pending {
  background: rgba(245, 158, 11, 0.1) !important;
  border: 1px solid rgba(245, 158, 11, 0.35) !important;
  color: #fbbf24 !important;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.08) !important;
}
.header-action-pill.seller-pending:hover {
  background: rgba(245, 158, 11, 0.18) !important;
  border-color: rgba(245, 158, 11, 0.6) !important;
  transform: translateY(-1px);
}
.header-action-pill.seller-rejected {
  background: rgba(239, 68, 68, 0.1) !important;
  border: 1px solid rgba(239, 68, 68, 0.35) !important;
  color: #fca5a5 !important;
}
.header-action-pill.seller-rejected:hover {
  background: rgba(239, 68, 68, 0.18) !important;
  border-color: rgba(239, 68, 68, 0.6) !important;
  transform: translateY(-1px);
}

/* Saldo Header Chip */
.saldo-chip,
.header-saldo-chip {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  height: 36px !important;
  padding: 0 8px 0 12px !important;
  border-radius: 99px !important;
  background: rgba(0, 245, 160, 0.08) !important;
  border: 1px solid rgba(0, 245, 160, 0.28) !important;
  color: #00f5a0 !important;
  font-size: 12.5px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  box-shadow: 0 0 12px rgba(0, 245, 160, 0.08) !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  box-sizing: border-box !important;
  transition: all 0.18s ease !important;
}
.saldo-chip:hover,
.header-saldo-chip:hover {
  background: rgba(0, 245, 160, 0.15) !important;
  border-color: rgba(0, 245, 160, 0.5) !important;
  box-shadow: 0 0 18px rgba(0, 245, 160, 0.2) !important;
  transform: translateY(-1px);
}
.saldo-chip span,
.header-saldo-chip span {
  white-space: nowrap !important;
}
.saldo-chip .plus-btn,
.header-saldo-chip .plus-btn,
.header-saldo-chip .saldo-plus {
  display: inline-grid !important;
  place-items: center !important;
  width: 18px !important;
  height: 18px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #00f5a0, #00d2ff) !important;
  color: #040812 !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  margin-left: 2px !important;
}

/* Language selector */
.lang-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 700;
}

/* Hero Carousel / Promo Banners */
.hero-carousel-section {
  margin-bottom: 35px;
}
.carousel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.carousel-banner-card {
  position: relative;
  min-height: 230px;
  border-radius: 20px;
  overflow: hidden;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(0, 245, 160, 0.14) 0%, rgba(12, 21, 39, 0.95) 100%);
  border: 1px solid rgba(0, 245, 160, 0.3);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.carousel-banner-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 245, 160, 0.6);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 245, 160, 0.25);
}
.carousel-banner-card.banner-red, .carousel-banner-card.banner-cyan {
  background: linear-gradient(135deg, rgba(0, 210, 255, 0.14) 0%, rgba(12, 21, 39, 0.95) 100%);
  border-color: rgba(0, 210, 255, 0.3);
}
.carousel-banner-card.banner-red:hover, .carousel-banner-card.banner-cyan:hover {
  border-color: rgba(0, 210, 255, 0.6);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 210, 255, 0.25);
}
.banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 99px;
  background: rgba(0, 245, 160, 0.15);
  border: 1px solid rgba(0, 245, 160, 0.35);
  color: #00f5a0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.6px;
  width: max-content;
}
.banner-badge.cyan {
  background: rgba(0, 210, 255, 0.15);
  border-color: rgba(0, 210, 255, 0.35);
  color: #38bdf8;
}
.banner-title {
  font-size: 24px;
  font-weight: 900;
  color: #fff;
  margin: 14px 0 8px;
  line-height: 1.25;
  letter-spacing: -0.5px;
}
.banner-desc {
  color: #94a3b8;
  font-size: 14px;
  margin: 0 0 20px;
  max-width: 460px;
  line-height: 1.55;
}
.banner-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 12px;
  background: linear-gradient(135deg, #00f5a0 0%, #00d2ff 100%);
  color: #040812 !important;
  text-decoration: none;
  font-weight: 800;
  font-size: 13.5px;
  width: max-content;
  box-shadow: 0 0 20px rgba(0, 245, 160, 0.3);
  transition: all 0.25s ease;
}
.banner-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 210, 255, 0.6);
}

/* Category Quick Selector Pills */
.category-quick-pills {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 25px 0 35px;
  flex-wrap: wrap;
}
.cat-pill-title {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  margin-right: 6px;
}
.cat-pill-title span {
  color: #00f5a0;
}
.cat-pill-btn, .cat-pill-btn:visited {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 12px;
  background: rgba(12, 21, 39, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 245, 160, 0.15);
  color: #e2e8f0;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.2s ease;
}
.cat-pill-btn:hover, .cat-pill-btn.active {
  background: linear-gradient(135deg, rgba(0, 245, 160, 0.15), rgba(0, 210, 255, 0.15));
  border-color: rgba(0, 245, 160, 0.45);
  color: #00f5a0;
  box-shadow: 0 0 20px rgba(0, 245, 160, 0.2);
  transform: translateY(-2px);
}
.cat-pill-btn.auto-kirim, .cat-pill-btn.auto-kirim:visited {
  border: 1px solid rgba(0, 245, 160, 0.45) !important;
  background: rgba(0, 245, 160, 0.1) !important;
  color: #00f5a0 !important;
}
.cat-pill-btn.auto-kirim span,
.cat-pill-btn.auto-kirim .auto-kirim-text {
  color: #00f5a0 !important;
  font-weight: 800 !important;
  text-shadow: 0 0 10px rgba(0, 245, 160, 0.4);
}
.cat-pill-btn.auto-kirim:hover {
  background: rgba(0, 245, 160, 0.2) !important;
  border-color: #00f5a0 !important;
  box-shadow: 0 0 20px rgba(0, 245, 160, 0.35) !important;
  transform: translateY(-2px);
}
.cat-pill-btn.auto-kirim:hover span,
.cat-pill-btn.auto-kirim:hover .auto-kirim-text {
  color: #ffffff !important;
  text-shadow: 0 0 12px rgba(0, 245, 160, 0.8);
}
.cat-pill-dropdown {
  position: relative;
  display: inline-block;
}
.cat-pill-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 100;
  margin-top: 8px;
  min-width: 220px;
  background: #0c1527;
  border: 1px solid rgba(0, 245, 160, 0.2);
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 245, 160, 0.1);
}
.cat-pill-dropdown:hover .cat-pill-dropdown-menu,
.cat-pill-dropdown:focus-within .cat-pill-dropdown-menu {
  display: block;
}
.cat-pill-dropdown-menu a {
  display: block;
  padding: 9px 12px;
  color: #cbd5e1;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.15s;
}
.cat-pill-dropdown-menu a:hover {
  background: rgba(0, 245, 160, 0.12);
  color: #00f5a0;
}

/* Badges System */
.badge-trusted {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(0, 210, 255, 0.15);
  border: 1px solid rgba(0, 210, 255, 0.3);
  color: #38bdf8;
  font-size: 11px;
  font-weight: 800;
}
.badge-star {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(0, 245, 160, 0.15);
  border: 1px solid rgba(0, 245, 160, 0.3);
  color: #00f5a0;
  font-size: 11px;
  font-weight: 800;
}
.badge-new {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: #a78bfa;
  font-size: 11px;
  font-weight: 800;
}
.badge-baru {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 3px 8px;
  border-radius: 6px;
  background: linear-gradient(135deg, #00f5a0, #00d2ff);
  color: #040812;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.5px;
}
.rank-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 900;
  color: #fff;
}
.rank-badge.rank-1 {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}
.rank-badge.rank-2 {
  background: linear-gradient(135deg, #94a3b8, #64748b);
}
.rank-badge.rank-3 {
  background: linear-gradient(135deg, #b45309, #78350f);
}

/* Modern Product Card */
.product-card-modern {
  position: relative;
  background: #0c1527;
  border: 1px solid rgba(0, 245, 160, 0.12);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}
.product-card-modern:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 245, 160, 0.45);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 245, 160, 0.2);
}
.card-media-box {
  position: relative;
  height: 180px;
  background: linear-gradient(135deg, #101c33, #080f1e);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.card-media-icon {
  font-size: 60px;
  opacity: 0.9;
  filter: drop-shadow(0 4px 12px rgba(0, 245, 160, 0.2));
}
.card-content-box {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-product-title {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 10px;
  line-height: 1.4;
  height: 40px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.card-product-title a {
  color: #f8fafc;
  text-decoration: none;
  transition: color 0.15s;
}
.card-product-title a:hover {
  color: #00f5a0;
}
.card-price-text {
  font-size: 18px;
  font-weight: 900;
  color: #00f5a0;
  text-shadow: 0 0 12px rgba(0, 245, 160, 0.35);
  margin-bottom: 8px;
}
.card-seller-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 12px;
  color: var(--td-text-muted);
}
.card-seller-name {
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 600;
}
.card-seller-name:hover {
  color: #00d2ff;
}
.card-stats-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #94a3b8;
  margin-top: 6px;
}
.card-stats-row .rating-val {
  color: #fbbf24;
  font-weight: 700;
}

/* Live Transaction Ticker */
.live-ticker-container {
  background: #0f172a;
  border: 1px solid var(--td-border);
  border-radius: var(--td-radius);
  padding: 20px;
  margin: 40px 0;
}
.ticker-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.ticker-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--td-emerald);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  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); }
}
.ticker-title-group h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}
.ticker-list {
  display: grid;
  gap: 10px;
}
.ticker-item-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: 12px;
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 13px;
  transition: background 0.18s;
}
.ticker-item-card:hover {
  background: #273549;
}
.ticker-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ticker-avatar {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #334155;
  display: grid;
  place-items: center;
  font-size: 14px;
}
.ticker-item-left strong {
  color: #e2e8f0;
}
.ticker-item-left span {
  color: #94a3b8;
}
.ticker-item-right {
  text-align: right;
}
.ticker-price {
  font-weight: 800;
  color: #10b981;
}
.ticker-time {
  font-size: 11px;
  color: #64748b;
}

/* Value Propositions (Trust Cards) */
.value-props-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 40px 0;
}
.value-prop-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  border-radius: var(--td-radius);
  background: var(--td-surface);
  border: 1px solid var(--td-border);
}
.value-prop-icon {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  border-radius: 14px;
  background: rgba(99, 102, 241, 0.15);
  color: #818cf8;
  display: grid;
  place-items: center;
  font-size: 24px;
}
.value-prop-card b {
  display: block;
  font-size: 16px;
  color: var(--td-text);
  margin-bottom: 4px;
}
.value-prop-card p {
  margin: 0;
  font-size: 13px;
  color: var(--td-text-muted);
}

/* Product Detail Key Metrics Bar */
.metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 14px 18px;
  border-radius: 14px;
  background: #0f172a;
  border: 1px solid var(--td-border);
  margin: 18px 0;
  text-align: center;
}
.metric-col small {
  display: block;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.metric-col strong {
  display: block;
  color: #fff;
  font-size: 16px;
  margin-top: 3px;
}

/* Seller Info Box */
.seller-profile-box {
  padding: 18px;
  border-radius: 14px;
  background: #0f172a;
  border: 1px solid var(--td-border);
  margin: 18px 0;
}
.seller-profile-header {
  display: flex;
  align-items: center;
  gap: 14px;
}
.seller-avatar-large {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #334155;
  color: #c7d2fe;
  font-size: 20px;
  font-weight: 900;
  display: grid;
  place-items: center;
}
.seller-meta-line {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 4px;
}

/* Social Share Row */
.social-share-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 20px;
}
.social-share-strip {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 10px;
}
.social-share-strip .share-label {
  font-size: 13px;
  color: #94a3b8;
  font-weight: 700;
  margin-right: 4px;
}
.share-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #080f1e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  text-decoration: none;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
}
.share-social-btn svg {
  display: block;
  transition: transform 0.2s ease;
}
.share-social-btn:hover {
  transform: translateY(-2.5px);
}
.share-social-btn:hover svg {
  transform: scale(1.1);
}
.share-social-btn.wa:hover {
  background: rgba(37, 211, 102, 0.12);
  border-color: rgba(37, 211, 102, 0.5);
  color: #25D366;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.25);
}
.share-social-btn.tg:hover {
  background: rgba(34, 158, 217, 0.12);
  border-color: rgba(34, 158, 217, 0.5);
  color: #229ED9;
  box-shadow: 0 4px 18px rgba(34, 158, 217, 0.25);
}
.share-social-btn.x:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(255, 255, 255, 0.2);
}
.share-social-btn.copy:hover {
  background: rgba(0, 245, 160, 0.12);
  border-color: rgba(0, 245, 160, 0.5);
  color: #00f5a0;
  box-shadow: 0 4px 18px rgba(0, 245, 160, 0.25);
}
.share-social-btn.copied {
  background: rgba(0, 245, 160, 0.2) !important;
  border-color: #00f5a0 !important;
  color: #00f5a0 !important;
  box-shadow: 0 0 16px rgba(0, 245, 160, 0.35) !important;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #080f1e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s ease;
}
.share-btn:hover {
  background: rgba(0, 245, 160, 0.12);
  border-color: rgba(0, 245, 160, 0.4);
  color: #00f5a0;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 245, 160, 0.2);
}

/* Rekber Center View */
.rekber-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 25px 0 35px;
}
.rekber-step-card {
  padding: 20px;
  border-radius: 14px;
  background: #1e293b;
  border: 1px solid var(--td-border);
}
.step-number {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--td-primary);
  color: #040812 !important;
  font-weight: 900;
  font-size: 13px;
  margin-bottom: 12px;
}
.rekber-step-card h4 {
  margin: 0 0 6px;
  font-size: 15px;
  color: #fff;
}
.rekber-step-card p {
  margin: 0;
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.5;
}

/* Tasks / Bounty System */
.bounty-card {
  background: #1e293b;
  border: 1px solid var(--td-border);
  border-radius: var(--td-radius);
  padding: 22px;
  transition: transform 0.2s, border-color 0.2s;
}
.bounty-card:hover {
  transform: translateY(-3px);
  border-color: #6366f1;
}
.bounty-reward-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 99px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #6ee7b7;
  font-size: 14px;
  font-weight: 800;
}

/* Split Auth Page */
.auth-split-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  max-width: 960px;
  margin: 30px auto;
}
.auth-perks-list {
  display: grid;
  gap: 16px;
  margin-top: 25px;
}
.auth-perk-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid var(--td-border);
}
.auth-card-panel {
  background: #1e293b;
  border: 1px solid var(--td-border);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}
.contact-selector-pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}
.contact-pill-btn {
  padding: 10px;
  border: 1px solid var(--td-border);
  border-radius: 10px;
  background: #0f172a;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: 0.18s;
}
.contact-pill-btn.active {
  background: var(--td-primary) !important;
  border-color: var(--td-primary) !important;
  color: #040812 !important;
  font-weight: 850 !important;
}

/* Footer modern */
.footer-modern {
  background: #080d1a;
  border-top: 1px solid var(--td-border);
  padding: 50px 0 25px;
  margin-top: 60px;
}
.footer-cols-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 35px;
}
.footer-cols-grid h5 {
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
}
.footer-links-list a {
  display: block;
  padding: 6px 0;
  color: #94a3b8;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.18s;
}
.footer-links-list a:hover {
  color: #00f5a0;
  transform: translateX(4px);
}
.footer-bottom-bar {
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #64748b;
}

/* ==========================================================================
   DIGIPROKU FORUM STYLES
   ========================================================================== */
.forum-layout-grid {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 28px;
  align-items: flex-start;
  margin: 24px auto 60px;
}

.forum-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.forum-side-card {
  background: #111827;
  border: 1px solid var(--td-border);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.forum-side-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.forum-side-subtitle {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 18px;
}

.forum-search-box {
  position: relative;
  margin-bottom: 20px;
}
.forum-search-input {
  width: 100%;
  background: #0b1120;
  border: 1px solid #334155;
  border-radius: 10px;
  padding: 10px 14px 10px 38px;
  color: #f8fafc;
  font-size: 13px;
  box-sizing: border-box;
  transition: border-color 0.2s;
}
.forum-search-input:focus {
  outline: none;
  border-color: #6366f1;
}
.forum-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 14px;
  pointer-events: none;
}

.forum-cat-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #64748b;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.forum-cat-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.forum-cat-item,
.forum-cat-item:visited {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 10px;
  color: #cbd5e1;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.15s ease;
  border: 1px solid transparent;
}
.forum-cat-item:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}
.forum-cat-item.active,
.forum-cat-item.active:visited {
  background: linear-gradient(135deg, rgba(0, 245, 160, 0.15), rgba(0, 210, 255, 0.15));
  color: #00f5a0;
  border-color: rgba(0, 245, 160, 0.4);
  box-shadow: 0 0 15px rgba(0, 245, 160, 0.12);
}
.forum-cat-name {
  display: flex;
  align-items: center;
  gap: 10px;
}
.forum-cat-count {
  background: #080f1e;
  color: #00d2ff;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 99px;
  border: 1px solid rgba(0, 210, 255, 0.2);
}

.forum-warning-card {
  background: rgba(245, 158, 11, 0.05);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.05);
}
.forum-warning-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 800;
  color: #f59e0b;
  margin-bottom: 4px;
}
.forum-warning-sub {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #f59e0b;
  margin-bottom: 12px;
  opacity: 0.9;
}
.forum-warning-text {
  font-size: 12.5px;
  line-height: 1.6;
  color: #cbd5e1;
  margin: 0;
}
.forum-warning-text b {
  color: #fbbf24;
}

/* Forum Feed (Right) */
.forum-feed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}
.forum-title {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  margin: 0 0 6px;
}
.forum-topic-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #94a3b8;
}
.forum-dot-green {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00f5a0;
  box-shadow: 0 0 10px rgba(0, 245, 160, 0.8);
}

.btn-new-topic {
  background: linear-gradient(135deg, #00f5a0 0%, #00d2ff 100%);
  color: #040812 !important;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  padding: 10px 22px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 245, 160, 0.35);
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-new-topic:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 210, 255, 0.6);
}

.forum-sort-select {
  background: #0c1527;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #cbd5e1;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.forum-topic-card {
  background: #0c1527;
  border: 1px solid rgba(0, 245, 160, 0.12);
  border-radius: 18px;
  padding: 24px;
  margin-bottom: 18px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.forum-topic-card:hover {
  border-color: rgba(0, 245, 160, 0.45);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 245, 160, 0.15);
  transform: translateY(-2px);
}

.forum-card-author-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.forum-author-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.forum-author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 245, 160, 0.15), rgba(0, 210, 255, 0.15));
  border: 1px solid rgba(0, 245, 160, 0.3);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 13px;
  color: #00f5a0;
}
.forum-author-name {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}
.forum-author-handle {
  font-size: 13px;
  color: #64748b;
  margin-left: 4px;
}
.forum-time-ago {
  font-size: 12px;
  color: #64748b;
  margin-left: 6px;
}
.forum-seller-badge {
  background: rgba(0, 245, 160, 0.15);
  color: #00f5a0;
  border: 1px solid rgba(0, 245, 160, 0.35);
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
  margin-left: 8px;
}
.forum-cat-badge {
  background: rgba(0, 210, 255, 0.1);
  color: #38bdf8;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 6px;
  border: 1px solid rgba(0, 210, 255, 0.25);
}

.forum-topic-title {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
  line-height: 1.4;
  transition: color 0.15s;
}
.forum-topic-title:hover {
  color: #00f5a0;
}

.forum-topic-excerpt {
  font-size: 13.5px;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 14px;
  white-space: pre-line;
}

.forum-image-preview {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.forum-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.forum-tags-list {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.forum-tag-pill {
  background: rgba(0, 210, 255, 0.12);
  color: #38bdf8;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 8px;
  border: 1px solid rgba(0, 210, 255, 0.25);
}
.forum-card-stats {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: #64748b;
}
.forum-read-link {
  color: #00d2ff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.15s;
}
.forum-read-link:hover {
  color: #38bdf8;
  text-decoration: underline;
}

/* ==========================================================================
   DIGIPROKU DISKUSI STYLES
   ========================================================================== */
.diskusi-layout-grid {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 24px;
  height: calc(100vh - 120px);
  min-height: 640px;
  margin: 20px auto 30px;
}

.diskusi-sidebar {
  background: #0c1527;
  border: 1px solid rgba(0, 245, 160, 0.15);
  border-radius: 18px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.diskusi-sidebar-section {
  margin-bottom: 20px;
}

.diskusi-section-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #64748b;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.diskusi-global-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(0, 245, 160, 0.12);
  border: 1px solid rgba(0, 245, 160, 0.35);
  color: #00f5a0;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 0 15px rgba(0, 245, 160, 0.1);
}
.diskusi-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #00f5a0, #00d2ff);
  display: grid;
  place-items: center;
  font-size: 16px;
  color: #040812;
}

.diskusi-plus-btn {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: #080f1e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #00f5a0;
  display: grid;
  place-items: center;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
}
.diskusi-plus-btn:hover {
  background: rgba(0, 245, 160, 0.15);
  border-color: #00f5a0;
}

.diskusi-search-input {
  width: 100%;
  background: #080f1e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 8px 12px;
  color: #f8fafc;
  font-size: 13px;
  box-sizing: border-box;
  margin-bottom: 12px;
}
.diskusi-search-input:focus {
  outline: none;
  border-color: #00f5a0;
}

.diskusi-dm-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.diskusi-dm-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 10px;
  color: #cbd5e1;
  text-decoration: none;
  transition: background 0.15s;
}
.diskusi-dm-item:hover {
  background: rgba(0, 245, 160, 0.08);
}
.diskusi-dm-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00f5a0, #00d2ff);
  color: #040812;
  font-weight: 800;
  font-size: 13px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.diskusi-dm-info {
  flex: 1;
  min-width: 0;
}
.diskusi-dm-name {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.diskusi-dm-snippet {
  font-size: 12px;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.diskusi-dm-time {
  font-size: 11px;
  color: #64748b;
  flex-shrink: 0;
}

.diskusi-side-notice {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.diskusi-notice-head {
  font-size: 11px;
  font-weight: 800;
  color: #f59e0b;
  margin-bottom: 4px;
}
.diskusi-notice-body {
  font-size: 11px;
  color: #64748b;
  line-height: 1.4;
  margin: 0;
}

/* Diskusi Main Chat Window */
.diskusi-main {
  background: #0c1527;
  border: 1px solid rgba(0, 245, 160, 0.15);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.diskusi-main-head {
  padding: 16px 24px;
  border-bottom: 1px solid rgba(0, 245, 160, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(8, 15, 30, 0.7);
}
.diskusi-head-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.diskusi-head-title {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 2px;
}
.diskusi-head-subtitle {
  font-size: 12px;
  color: #64748b;
  margin: 0;
}
.diskusi-alert-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #fbbf24;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 99px;
}

.diskusi-stream {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.diskusi-msg-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.diskusi-user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 245, 160, 0.15), rgba(0, 210, 255, 0.15));
  border: 1px solid rgba(0, 245, 160, 0.3);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 14px;
  color: #00f5a0;
  flex-shrink: 0;
}
.diskusi-msg-content {
  flex: 1;
  max-width: 820px;
}
.diskusi-user-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}
.diskusi-username {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}
.diskusi-role-badge {
  background: rgba(0, 245, 160, 0.15);
  color: #00f5a0;
  border: 1px solid rgba(0, 245, 160, 0.35);
  font-size: 11px;
  font-weight: 800;
  padding: 1px 7px;
  border-radius: 4px;
}
.diskusi-uid-line {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-family: monospace;
  color: #64748b;
  margin-bottom: 6px;
}
.diskusi-copy-btn {
  background: transparent;
  border: none;
  color: #00d2ff;
  cursor: pointer;
  padding: 0;
  font-size: 12px;
  transition: color 0.15s;
}
.diskusi-copy-btn:hover {
  color: #00f5a0;
}

.diskusi-bubble {
  background: #080f1e;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 14px 18px;
  color: #e2e8f0;
  font-size: 13.5px;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}
.diskusi-bubble a {
  color: #00d2ff;
  text-decoration: underline;
}

.diskusi-time-stamp {
  font-size: 11px;
  color: #64748b;
  margin-top: 5px;
}

.diskusi-composer-box {
  padding: 16px 24px;
  border-top: 1px solid rgba(0, 245, 160, 0.12);
  background: rgba(8, 15, 30, 0.85);
}
.diskusi-input-row {
  display: flex;
  gap: 12px;
  align-items: flex-end;
}
.diskusi-textarea {
  flex: 1;
  background: #040812;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 12px 16px;
  color: #fff;
  font-size: 14px;
  resize: none;
  min-height: 44px;
  max-height: 120px;
  box-sizing: border-box;
  font-family: inherit;
  transition: border-color 0.2s;
}
.diskusi-textarea:focus {
  outline: none;
  border-color: #00f5a0;
}
.btn-diskusi-send {
  background: linear-gradient(135deg, #00f5a0 0%, #00d2ff 100%);
  color: #040812;
  border: none;
  border-radius: 10px;
  font-weight: 900;
  padding: 12px 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  box-shadow: 0 0 15px rgba(0, 245, 160, 0.35);
  transition: background 0.15s, transform 0.15s;
}
.btn-diskusi-send:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 25px rgba(0, 210, 255, 0.6);
}
.diskusi-composer-hint {
  font-size: 11px;
  color: #64748b;
  margin-top: 6px;
}

.diskusi-global-title {
  color: #00f5a0;
}
.diskusi-global-sub {
  color: #a5b4fc;
}
.diskusi-guest-alert {
  background: #0f172a;
  border: 1px solid #334155;
}
.diskusi-guest-text {
  color: #94a3b8;
}
.diskusi-modal-content {
  background: #111827;
  border: 1px solid var(--td-border);
}
.diskusi-modal-title {
  color: #ffffff;
}
.diskusi-modal-label {
  color: #cbd5e1;
}
.diskusi-modal-input {
  background: #0b1120;
  border: 1px solid #334155;
  color: #ffffff;
}
.diskusi-modal-btn-cancel {
  background: #1e293b;
  border: 1px solid #334155;
  color: #cbd5e1;
}

/* ==========================================================================
   DISKUSI & CHAT LIGHT MODE OVERRIDES
   ========================================================================== */
[data-theme="light"] .diskusi-sidebar {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.09) !important;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05) !important;
}

[data-theme="light"] .diskusi-global-item {
  background: rgba(5, 150, 105, 0.08) !important;
  border: 1px solid rgba(5, 150, 105, 0.25) !important;
  color: #059669 !important;
  box-shadow: none !important;
}

[data-theme="light"] .diskusi-global-title {
  color: #065f46 !important;
}

[data-theme="light"] .diskusi-global-sub {
  color: #059669 !important;
}

[data-theme="light"] .diskusi-icon-box {
  background: linear-gradient(135deg, #059669, #0284c7) !important;
  color: #ffffff !important;
}

[data-theme="light"] .diskusi-plus-btn {
  background: #f1f5f9 !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  color: #059669 !important;
}

[data-theme="light"] .diskusi-plus-btn:hover {
  background: rgba(5, 150, 105, 0.12) !important;
  border-color: #059669 !important;
}

[data-theme="light"] .diskusi-search-input {
  background: #f8fafc !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  color: #0f172a !important;
}

[data-theme="light"] .diskusi-search-input::placeholder {
  color: #94a3b8 !important;
}

[data-theme="light"] .diskusi-search-input:focus {
  border-color: #059669 !important;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.12) !important;
}

[data-theme="light"] .diskusi-dm-item {
  color: #334155 !important;
}

[data-theme="light"] .diskusi-dm-item:hover {
  background: #f1f5f9 !important;
}

[data-theme="light"] .diskusi-dm-name {
  color: #0f172a !important;
}

[data-theme="light"] .diskusi-side-notice {
  border-top: 1px solid rgba(15, 23, 42, 0.08) !important;
}

[data-theme="light"] .diskusi-notice-head {
  color: #d97706 !important;
}

[data-theme="light"] .diskusi-notice-body {
  color: #64748b !important;
}

[data-theme="light"] .diskusi-main {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.09) !important;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05) !important;
}

[data-theme="light"] .diskusi-main-head {
  background: #f8fafc !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
}

[data-theme="light"] .diskusi-head-title {
  color: #0f172a !important;
}

[data-theme="light"] .diskusi-head-subtitle {
  color: #64748b !important;
}

[data-theme="light"] .diskusi-alert-pill {
  background: rgba(217, 119, 6, 0.08) !important;
  border: 1px solid rgba(217, 119, 6, 0.25) !important;
  color: #b45309 !important;
}

[data-theme="light"] .diskusi-user-avatar {
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.12), rgba(2, 132, 199, 0.12)) !important;
  border: 1px solid rgba(5, 150, 105, 0.25) !important;
  color: #059669 !important;
}

[data-theme="light"] .diskusi-username {
  color: #0f172a !important;
}

[data-theme="light"] .diskusi-role-badge {
  background: rgba(5, 150, 105, 0.1) !important;
  color: #059669 !important;
  border: 1px solid rgba(5, 150, 105, 0.25) !important;
}

[data-theme="light"] .diskusi-copy-btn {
  color: #0284c7 !important;
}

[data-theme="light"] .diskusi-bubble {
  background: #f8fafc !important;
  border: 1px solid rgba(15, 23, 42, 0.09) !important;
  color: #1e293b !important;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04) !important;
}

[data-theme="light"] .diskusi-bubble a {
  color: #0284c7 !important;
}

[data-theme="light"] .diskusi-time-stamp {
  color: #64748b !important;
}

[data-theme="light"] .diskusi-composer-box {
  background: #ffffff !important;
  border-top: 1px solid rgba(15, 23, 42, 0.08) !important;
}

[data-theme="light"] .diskusi-textarea {
  background: #f8fafc !important;
  border: 1px solid rgba(15, 23, 42, 0.15) !important;
  color: #0f172a !important;
}

[data-theme="light"] .diskusi-textarea::placeholder {
  color: #94a3b8 !important;
}

[data-theme="light"] .diskusi-textarea:focus {
  border-color: #059669 !important;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.12) !important;
}

[data-theme="light"] .btn-diskusi-send {
  background: linear-gradient(135deg, #059669 0%, #0284c7 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(5, 150, 105, 0.25) !important;
}

[data-theme="light"] .diskusi-guest-alert {
  background: #f8fafc !important;
  border: 1px solid rgba(15, 23, 42, 0.1) !important;
}

[data-theme="light"] .diskusi-guest-text {
  color: #475569 !important;
}

[data-theme="light"] .diskusi-modal-content {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15) !important;
}

[data-theme="light"] .diskusi-modal-title {
  color: #0f172a !important;
}

[data-theme="light"] .diskusi-modal-label {
  color: #334155 !important;
}

[data-theme="light"] .diskusi-modal-input {
  background: #f8fafc !important;
  border: 1px solid rgba(15, 23, 42, 0.15) !important;
  color: #0f172a !important;
}

[data-theme="light"] .diskusi-modal-btn-cancel {
  background: #f1f5f9 !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  color: #475569 !important;
}

[data-theme="light"] .diskusi-stream::-webkit-scrollbar-thumb,
[data-theme="light"] .diskusi-dm-list::-webkit-scrollbar-thumb {
  background: rgba(15, 23, 42, 0.15) !important;
}

/* Chat Page (/chat) Light Mode Overrides */
[data-theme="light"] .chat-box {
  background: #f8fafc !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
}

[data-theme="light"] .chat-msg {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  border: 1px solid rgba(15, 23, 42, 0.06) !important;
}

[data-theme="light"] .chat-msg.mine {
  background: #059669 !important;
  color: #ffffff !important;
}

[data-theme="light"] .chat-thread {
  color: #0f172a !important;
}

[data-theme="light"] .chat-thread:hover,
[data-theme="light"] .chat-thread.active {
  background: #f1f5f9 !important;
  border-color: rgba(15, 23, 42, 0.1) !important;
}

[data-theme="light"] .chat-form input {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.15) !important;
  color: #0f172a !important;
}

/* Responsive Media Queries */
@media (max-width: 960px) {
  .carousel-grid { grid-template-columns: 1fr; }
  .value-props-grid { grid-template-columns: 1fr; }
  .rekber-steps-grid { grid-template-columns: 1fr 1fr; }
  .auth-split-grid { grid-template-columns: 1fr; }
  .footer-cols-grid { grid-template-columns: 1fr; }
  .forum-layout-grid { grid-template-columns: 1fr; }
  .diskusi-layout-grid { grid-template-columns: 1fr; height: auto; }
}
@media (max-width: 640px) {
  .metrics-strip { grid-template-columns: 1fr 1fr; }
  .rekber-steps-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   HIGH-CONTRAST BUTTON TYPOGRAPHY RULES (NO WASHED-OUT TEXT)
/* =========================================================
   DigiProKu Unified Button System (Brand Nuance & Contrast)
   Primary buttons: Electric Mint to Cyber Cyan gradient
   Text: Deep obsidian (#040812) with bold weight for 100% crisp readability
   Purple/Violet buttons: Crisp white font (#ffffff)
   ========================================================= */
.btn:not(.secondary):not(.danger):not(.ghost):not(.link):not(.warning):not(.pending):not(.btn-pending):not(.btn-warning),
.banner-action-btn,
button.btn:not(.secondary):not(.danger):not(.ghost):not(.link):not(.warning):not(.pending):not(.btn-pending):not(.btn-warning),
a.btn:not(.secondary):not(.danger):not(.ghost):not(.link):not(.warning):not(.pending):not(.btn-pending):not(.btn-warning),
.btn-primary,
button[type="submit"]:not(.secondary):not(.danger):not(.ghost):not(.link):not(.warning):not(.pending):not(.btn-pending):not(.btn-warning) {
  background: var(--td-gradient-primary, linear-gradient(135deg, #00f5a0 0%, #00d2ff 100%)) !important;
  color: #040812 !important;
  font-weight: 850 !important;
  text-shadow: none !important;
  border: none !important;
  box-shadow: 0 4px 16px rgba(0, 245, 160, 0.25) !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn:not(.secondary):not(.danger):not(.ghost):not(.link):not(.warning):not(.pending):not(.btn-pending):not(.btn-warning):hover,
.banner-action-btn:hover,
button.btn:not(.secondary):not(.danger):not(.ghost):not(.link):not(.warning):not(.pending):not(.btn-pending):not(.btn-warning):hover,
a.btn:not(.secondary):not(.danger):not(.ghost):not(.link):not(.warning):not(.pending):not(.btn-pending):not(.btn-warning):hover,
.btn-primary:hover,
button[type="submit"]:not(.secondary):not(.danger):not(.ghost):not(.link):not(.warning):not(.pending):not(.btn-pending):not(.btn-warning):hover {
  background: linear-gradient(135deg, #00d26a 0%, #00b4d8 100%) !important;
  color: #040812 !important;
  box-shadow: 0 6px 22px rgba(0, 245, 160, 0.45) !important;
  transform: translateY(-1px) !important;
}

/* Warning & Pending Status Buttons (Harmonious Dark Amber Glass) */
.btn.warning,
.btn.pending,
.btn-warning,
.btn-pending,
a.btn.warning,
a.btn.pending,
a.btn-pending {
  background: rgba(245, 158, 11, 0.12) !important;
  border: 1px solid rgba(245, 158, 11, 0.4) !important;
  color: #fbbf24 !important;
  font-weight: 800 !important;
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.08) !important;
}

.btn.warning:hover,
.btn.pending:hover,
.btn-warning:hover,
.btn-pending:hover,
a.btn.warning:hover,
a.btn.pending:hover,
a.btn-pending:hover {
  background: rgba(245, 158, 11, 0.2) !important;
  border-color: rgba(245, 158, 11, 0.6) !important;
  color: #fde68a !important;
}

/* Secondary Buttons retain high-contrast light text */
.btn.secondary,
button.btn.secondary,
a.btn.secondary,
button.secondary,
a.secondary {
  background: rgba(12, 21, 39, 0.92) !important;
  border: 1px solid rgba(0, 245, 160, 0.25) !important;
  color: #f1f5f9 !important;
  font-weight: 750 !important;
  box-shadow: none !important;
}

.btn.secondary:hover,
button.btn.secondary:hover,
a.btn.secondary:hover,
button.secondary:hover,
a.secondary:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  border-color: rgba(0, 210, 255, 0.5) !important;
}

/* Danger Buttons */
.btn.danger,
button.btn.danger {
  background: #dc2626 !important;
  color: #ffffff !important;
  border: none !important;
}

/* Ghost Buttons */
.btn.ghost,
button.btn.ghost {
  color: #cbd5e1 !important;
}

/* Explicit green & mint & gradient selectors (ONLY when background is solid, never translucent) */
button[style*="background: #00f5a0"]:not([style*="rgba"]):not([style*="transparent"]),
button[style*="background:#00f5a0"]:not([style*="rgba"]):not([style*="transparent"]),
button[style*="background: var(--td-primary)"]:not([style*="rgba"]):not([style*="transparent"]),
button[style*="background:var(--td-primary)"]:not([style*="rgba"]):not([style*="transparent"]),
button[style*="background: var(--td-gradient-primary)"],
button[style*="background:var(--td-gradient-primary)"],
a[class*="btn"][style*="background: #00f5a0"]:not([style*="rgba"]):not([style*="transparent"]),
a[class*="btn"][style*="background:#00f5a0"]:not([style*="rgba"]):not([style*="transparent"]),
a[class*="btn"][style*="background: var(--td-primary)"]:not([style*="rgba"]):not([style*="transparent"]),
a[class*="btn"][style*="background:var(--td-primary)"]:not([style*="rgba"]):not([style*="transparent"]),
a[class*="btn"][style*="background: var(--td-gradient-primary)"],
a[class*="btn"][style*="background:var(--td-gradient-primary)"],
.btn-primary {
  color: #040812 !important;
  font-weight: 900 !important;
  text-shadow: none !important;
}

/* Translucent, outlined, or explicit emerald text buttons MUST have crisp bright emerald font */
button[style*="color: #00f5a0"],
button[style*="color:#00f5a0"],
button[style*="color: rgb(0, 245, 160)"],
a[style*="color: #00f5a0"],
a[style*="color:#00f5a0"],
.btn[style*="color: #00f5a0"],
.btn[style*="color:#00f5a0"],
button[style*="rgba(0, 245, 160"]:not([style*="color: #040812"]):not([style*="color:#040812"]),
button[style*="rgba(0,245,160"]:not([style*="color: #040812"]):not([style*="color:#040812"]),
.btn[style*="rgba(0, 245, 160"]:not([style*="color: #040812"]):not([style*="color:#040812"]),
.btn[style*="rgba(0,245,160"]:not([style*="color: #040812"]):not([style*="color:#040812"]) {
  color: #00f5a0 !important;
  font-weight: 800 !important;
  text-shadow: 0 0 12px rgba(0, 245, 160, 0.4) !important;
}

/* ANY purple / violet buttons or elements MUST have crisp white text */
[style*="#7c5cff"],
[style*="#6366f1"],
[style*="#8b5cf6"],
[style*="purple"],
.btn-purple,
button[style*="7c5cff"],
a[style*="7c5cff"] {
  color: #ffffff !important;
}

/* ==========================================================================
   ELEVATED COMPACT USER & SELLER DROPDOWN MENU
   ========================================================================== */
.account-dropdown {
  width: 290px !important;
  max-width: calc(100vw - 20px) !important;
  padding: 0 !important;
  border-radius: 18px !important;
  background: #080f1e !important;
  border: 1px solid rgba(0, 245, 160, 0.25) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75), 0 0 25px rgba(0, 245, 160, 0.12) !important;
  backdrop-filter: blur(20px) !important;
  overflow: hidden !important;
}

.account-head {
  padding: 16px 18px 14px !important;
  background: linear-gradient(180deg, #0c1527 0%, #080f1e 100%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.account-head b {
  font-size: 15px !important;
  font-weight: 850 !important;
  color: #fff !important;
  letter-spacing: -0.3px;
}

.account-head small {
  font-size: 11.5px !important;
  color: #94a3b8 !important;
  display: block;
  margin-bottom: 10px;
}

.user-role-badge {
  font-size: 9.5px;
  font-weight: 850;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.user-role-badge.badge-seller {
  background: rgba(0, 245, 160, 0.15);
  color: #00f5a0;
  border-color: rgba(0, 245, 160, 0.35);
}

.account-saldo-box {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 8px 12px !important;
  border-radius: 10px !important;
  background: rgba(0, 245, 160, 0.08) !important;
  border: 1px solid rgba(0, 245, 160, 0.22) !important;
  color: #e2e8f0 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.account-saldo-box:hover {
  background: rgba(0, 245, 160, 0.14) !important;
  border-color: rgba(0, 245, 160, 0.45) !important;
  transform: translateY(-1px);
}

.account-saldo-box span {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 600;
}

.account-saldo-box b {
  font-size: 13.5px !important;
  color: #00f5a0 !important;
  font-weight: 900 !important;
}

/* Seller Center Quick Action Banner */
.menu-merchant-box {
  padding: 10px 12px 6px;
}

.menu-merchant-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 10px 14px !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, rgba(0, 245, 160, 0.18) 0%, rgba(0, 210, 255, 0.1) 100%) !important;
  border: 1px solid rgba(0, 245, 160, 0.35) !important;
  color: #fff !important;
  text-decoration: none !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25) !important;
  transition: all 0.2s ease !important;
}

.menu-merchant-btn:hover {
  background: linear-gradient(135deg, rgba(0, 245, 160, 0.28) 0%, rgba(0, 210, 255, 0.18) 100%) !important;
  border-color: rgba(0, 245, 160, 0.6) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(0, 245, 160, 0.2) !important;
}

.merchant-btn-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.merchant-icon {
  font-size: 18px;
}

.merchant-btn-content strong {
  display: block;
  font-size: 13px;
  color: #fff;
  font-weight: 850;
  line-height: 1.2;
}

.merchant-btn-content small {
  display: block;
  font-size: 10.5px;
  color: #a7f3d0;
  font-weight: 600;
}

.merchant-arrow {
  font-size: 11px;
  font-weight: 800;
  color: #00f5a0;
  background: rgba(0, 245, 160, 0.15);
  padding: 3px 8px;
  border-radius: 99px;
  border: 1px solid rgba(0, 245, 160, 0.3);
}

.menu-admin-btn {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 8px 12px !important;
  border-radius: 9px !important;
  background: rgba(56, 189, 248, 0.1) !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
  color: #38bdf8 !important;
  text-decoration: none !important;
  font-size: 12px !important;
  transition: all 0.2s ease !important;
}

.menu-admin-btn:hover {
  background: rgba(56, 189, 248, 0.2) !important;
  border-color: rgba(56, 189, 248, 0.5) !important;
}

/* Core Link Items */
.dropdown-links-group {
  padding: 6px 8px;
}

.dropdown-links-group a {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 9px 12px !important;
  border-radius: 10px !important;
  color: #cbd5e1 !important;
  text-decoration: none !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  transition: all 0.15s ease !important;
}

.dropdown-links-group a:hover {
  background: rgba(0, 245, 160, 0.08) !important;
  color: #00f5a0 !important;
  transform: translateX(4px);
}
.mobile-nav a:hover {
  color: #00f5a0 !important;
  background: rgba(0, 245, 160, 0.08);
  padding-left: 6px;
}

.dropdown-links-group a .menu-icon {
  font-size: 15px;
  width: 20px;
  text-align: center;
}

.dropdown-links-group a .menu-badge {
  margin-left: auto;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 99px;
  background: #ef4444;
  color: #fff;
}

/* Dropdown Footer */
.dropdown-footer-group {
  padding: 6px 8px 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(4, 8, 18, 0.6);
}

.dropdown-footer-group .logout-link {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 8px 12px !important;
  border-radius: 9px !important;
  color: #f87171 !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: all 0.15s ease !important;
}

.dropdown-footer-group .logout-link:hover {
  background: rgba(239, 68, 68, 0.12) !important;
  color: #fca5a5 !important;
}

/* ==========================================================================
   DIGIPROKU LIGHT MODE SUITE & ULTRA-PREMIUM UI/UX ENHANCEMENTS
   ========================================================================== */

/* Smooth Theme Transitions */
html {
  transition: color 0.25s ease, background-color 0.25s ease;
}

/* Custom Scrollbar for Dark and Light Modes */
::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}
::-webkit-scrollbar-track {
  background: var(--td-bg);
}
::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.25);
  border-radius: 99px;
  border: 2px solid var(--td-bg);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--td-primary);
}

/* --- LIGHT MODE RULES --- */
[data-theme="light"] {
  color-scheme: light;
}

[data-theme="light"] h1,
[data-theme="light"] h2,
[data-theme="light"] h3,
[data-theme="light"] h4,
[data-theme="light"] h5,
[data-theme="light"] h6 {
  color: var(--td-text) !important;
}

[data-theme="light"] .muted,
[data-theme="light"] p.muted,
[data-theme="light"] small.muted {
  color: var(--td-text-muted) !important;
}

[data-theme="light"] .brand-digiproku {
  color: #0f172a !important;
}
[data-theme="light"] .brand-text b {
  color: #059669 !important;
  text-shadow: none !important;
}
[data-theme="light"] .brand-text span {
  color: #0284c7 !important;
  text-shadow: none !important;
}

[data-theme="light"] .td-nav-links a {
  color: #475569 !important;
}
[data-theme="light"] .td-nav-links a:hover {
  color: #059669 !important;
  background: rgba(5, 150, 105, 0.08) !important;
  border-color: rgba(5, 150, 105, 0.25) !important;
  text-shadow: none !important;
}
[data-theme="light"] .td-nav-links a.active {
  background: rgba(5, 150, 105, 0.12) !important;
  border-color: rgba(5, 150, 105, 0.35) !important;
  color: #059669 !important;
  box-shadow: 0 2px 10px rgba(5, 150, 105, 0.1) !important;
}

[data-theme="light"] .saldo-chip {
  background: rgba(5, 150, 105, 0.08) !important;
  border-color: rgba(5, 150, 105, 0.25) !important;
  color: #059669 !important;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.1) !important;
}
[data-theme="light"] .saldo-chip:hover {
  background: rgba(5, 150, 105, 0.15) !important;
  border-color: #059669 !important;
}
[data-theme="light"] .saldo-chip .plus-btn {
  background: linear-gradient(135deg, #059669, #0284c7) !important;
  color: #ffffff !important;
}

[data-theme="light"] .nav-cart {
  background: #f1f5f9 !important;
  border-color: rgba(15, 23, 42, 0.1) !important;
  color: #0f172a !important;
}
[data-theme="light"] .nav-cart span {
  background: rgba(5, 150, 105, 0.15) !important;
  color: #059669 !important;
}
[data-theme="light"] .icon-btn {
  background: #f1f5f9 !important;
  border-color: rgba(15, 23, 42, 0.1) !important;
  color: #0f172a !important;
}
[data-theme="light"] .user-chip {
  background: #f1f5f9 !important;
  border-color: rgba(15, 23, 42, 0.1) !important;
  color: #0f172a !important;
}
[data-theme="light"] .user-chip em {
  color: #64748b !important;
}

/* Dropdowns & Popups in Light Mode */
[data-theme="light"] .header-dropdown,
[data-theme="light"] .account-dropdown,
[data-theme="light"] .notif-dropdown-menu {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(15, 23, 42, 0.04) !important;
}
[data-theme="light"] .dropdown-head {
  background: #f8fafc !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
}
[data-theme="light"] .dropdown-head b {
  color: #0f172a !important;
}
[data-theme="light"] .dropdown-foot {
  background: #f8fafc !important;
  border-top: 1px solid rgba(15, 23, 42, 0.08) !important;
}
.dropdown-notif-item {
  color: var(--td-text) !important;
}
.dropdown-notif-item:hover {
  background: var(--td-surface-hover) !important;
}
.dropdown-notif-item .d-notif-time,
.d-notif-time,
.notif-card-time {
  color: #94a3b8 !important;
  font-weight: 600;
}
[data-theme="light"] .dropdown-notif-item {
  color: #0f172a !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06) !important;
}
[data-theme="light"] .dropdown-notif-item:hover {
  background: #f1f5f9 !important;
}
[data-theme="light"] .dropdown-notif-item.is-unread {
  background: rgba(5, 150, 105, 0.04) !important;
}
[data-theme="light"] .d-notif-title {
  color: #0f172a !important;
}
[data-theme="light"] .d-notif-msg {
  color: #475569 !important;
}
[data-theme="light"] .dropdown-notif-item .d-notif-time,
[data-theme="light"] .d-notif-time,
[data-theme="light"] .notif-card-time {
  color: #64748b !important;
}
[data-theme="light"] .account-head {
  background: #f8fafc !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
}
[data-theme="light"] .account-head b {
  color: #0f172a !important;
}
[data-theme="light"] .account-head small {
  color: #64748b !important;
}
[data-theme="light"] .user-role-badge {
  background: #f1f5f9 !important;
  color: #475569 !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
}
[data-theme="light"] .user-role-badge.badge-seller {
  background: rgba(5, 150, 105, 0.12) !important;
  color: #059669 !important;
  border: 1px solid rgba(5, 150, 105, 0.25) !important;
}
[data-theme="light"] .account-saldo-box {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.1) !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
}
[data-theme="light"] .account-saldo-box span {
  color: #64748b !important;
}
[data-theme="light"] .account-saldo-box b {
  color: #059669 !important;
}
[data-theme="light"] .menu-merchant-box {
  padding: 10px 12px 6px !important;
}
[data-theme="light"] .menu-merchant-btn {
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdfa 100%) !important;
  border: 1px solid rgba(5, 150, 105, 0.25) !important;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.08) !important;
}
[data-theme="light"] .menu-merchant-btn:hover {
  background: linear-gradient(135deg, #d1fae5 0%, #ccfbf1 100%) !important;
  border-color: rgba(5, 150, 105, 0.45) !important;
}
[data-theme="light"] .merchant-btn-content strong {
  color: #064e3b !important;
}
[data-theme="light"] .merchant-btn-content small {
  color: #047857 !important;
}
[data-theme="light"] .merchant-arrow {
  color: #047857 !important;
  background: rgba(5, 150, 105, 0.12) !important;
  border: 1px solid rgba(5, 150, 105, 0.25) !important;
}
[data-theme="light"] .menu-admin-btn {
  background: #f0f9ff !important;
  border: 1px solid rgba(2, 132, 199, 0.25) !important;
  color: #0284c7 !important;
}
[data-theme="light"] .menu-admin-btn:hover {
  background: #e0f2fe !important;
  border-color: rgba(2, 132, 199, 0.45) !important;
  color: #0369a1 !important;
}
[data-theme="light"] .dropdown-links-group a {
  color: #334155 !important;
}
[data-theme="light"] .dropdown-links-group a:hover {
  background: rgba(5, 150, 105, 0.08) !important;
  color: #059669 !important;
}
[data-theme="light"] .dropdown-footer-group {
  background: #f8fafc !important;
  border-top: 1px solid rgba(15, 23, 42, 0.08) !important;
}
[data-theme="light"] .account-dropdown .logout {
  color: #e11d48 !important;
}
[data-theme="light"] .account-dropdown .logout:hover {
  background: #fff1f2 !important;
  color: #be123c !important;
}
[data-theme="light"] .cat-pill-dropdown-menu {
  background: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.12) !important;
}
[data-theme="light"] .cat-pill-dropdown-menu a {
  color: #334155 !important;
}
[data-theme="light"] .cat-pill-dropdown-menu a:hover {
  background: rgba(5, 150, 105, 0.08) !important;
  color: #059669 !important;
}

/* Cards, Panels & Grids in Light Mode */
[data-theme="light"] .product-card-modern,
[data-theme="light"] .card,
[data-theme="light"] .panel,
[data-theme="light"] aside.panel,
[data-theme="light"] .filter-panel,
[data-theme="light"] .market-toolbar,
[data-theme="light"] .cart-layout .panel,
[data-theme="light"] .order-card,
[data-theme="light"] .notification-card,
[data-theme="light"] .media-gallery,
[data-theme="light"] .product-copy,
[data-theme="light"] .summary-box {
  background: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(15, 23, 42, 0.03) !important;
}

[data-theme="light"] .product-card-modern:hover,
[data-theme="light"] .card:hover,
[data-theme="light"] .order-card:hover {
  border-color: rgba(5, 150, 105, 0.35) !important;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1), 0 0 20px rgba(5, 150, 105, 0.1) !important;
}

[data-theme="light"] .card-media-box {
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0) !important;
}
[data-theme="light"] .card-product-title a {
  color: #0f172a !important;
}
[data-theme="light"] .card-product-title a:hover {
  color: #059669 !important;
}
[data-theme="light"] .card-price-text {
  color: #059669 !important;
  text-shadow: none !important;
}
[data-theme="light"] .card-seller-bar {
  border-top-color: rgba(15, 23, 42, 0.06) !important;
  color: #64748b !important;
}
[data-theme="light"] .card-seller-name {
  color: #475569 !important;
}
[data-theme="light"] .card-seller-name:hover {
  color: #0284c7 !important;
}

/* Category Quick Pills in Light Mode */
[data-theme="light"] .cat-pill-title {
  color: #0f172a !important;
}
[data-theme="light"] .cat-pill-title span {
  color: #059669 !important;
}
[data-theme="light"] .cat-pill-btn {
  background: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.1) !important;
  color: #334155 !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
}
[data-theme="light"] .cat-pill-btn:hover,
[data-theme="light"] .cat-pill-btn.active {
  background: rgba(5, 150, 105, 0.08) !important;
  border-color: rgba(5, 150, 105, 0.4) !important;
  color: #059669 !important;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.15) !important;
}
[data-theme="light"] .cat-pill-btn.auto-kirim {
  border-color: rgba(5, 150, 105, 0.35) !important;
  background: rgba(5, 150, 105, 0.08) !important;
  color: #059669 !important;
}
[data-theme="light"] .cat-pill-btn.auto-kirim:hover {
  background: #059669 !important;
  color: #ffffff !important;
}
[data-theme="light"] .cat-pill-btn.auto-kirim:hover span,
[data-theme="light"] .cat-pill-btn.auto-kirim:hover .auto-kirim-text {
  color: #ffffff !important;
  text-shadow: none !important;
}

/* Live Ticker in Light Mode */
[data-theme="light"] .live-ticker-container {
  background: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06) !important;
}
[data-theme="light"] .ticker-title-group h3 {
  color: #0f172a !important;
}
[data-theme="light"] .ticker-item-card {
  background: #f8fafc !important;
  border-color: rgba(15, 23, 42, 0.06) !important;
  color: #334155 !important;
}
[data-theme="light"] .ticker-item-card:hover {
  background: #f1f5f9 !important;
}

/* Form Inputs, Selects & Tables in Light Mode */
[data-theme="light"] .field input,
[data-theme="light"] .field textarea,
[data-theme="light"] .field select,
[data-theme="light"] input:not([type="checkbox"]):not([type="radio"]):not(.cyber-search-input):not(.cart-qty-input):not(.no-border),
[data-theme="light"] textarea,
[data-theme="light"] select {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.15) !important;
  color: #0f172a !important;
}

/* Cyber Search Form & Input Styles (Flawless Light & Dark integration) */
.cyber-search-form {
  display: flex !important;
  align-items: center !important;
  gap: 0 !important;
  background: var(--td-surface) !important;
  border: 1.5px solid var(--td-border) !important;
  border-radius: 16px !important;
  padding: 4px 6px 4px 14px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18) !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.cyber-search-form:focus-within {
  border-color: var(--td-primary) !important;
  box-shadow: 0 0 0 3px rgba(0, 245, 160, 0.2), 0 8px 25px rgba(0, 0, 0, 0.25) !important;
}
[data-theme="light"] .cyber-search-form {
  background: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05) !important;
}
[data-theme="light"] .cyber-search-form:focus-within {
  border-color: #059669 !important;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.14), 0 8px 25px rgba(15, 23, 42, 0.08) !important;
}
.cyber-search-input,
input.cyber-search-input,
[data-theme="light"] .cyber-search-input,
[data-theme="light"] input.cyber-search-input {
  flex: 1 !important;
  background: transparent !important;
  border: none !important;
  border-width: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 11px 12px !important;
  font-size: 15px !important;
  color: var(--td-text) !important;
  border-radius: 0 !important;
}
[data-theme="light"] .cyber-search-input {
  color: #0f172a !important;
}
[data-theme="light"] .cyber-search-input::placeholder {
  color: #94a3b8 !important;
}

/* Value Proposition Cards in Light Mode */
[data-theme="light"] .value-prop-card {
  background: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05) !important;
}
[data-theme="light"] .value-prop-card b {
  color: #0f172a !important;
}
[data-theme="light"] .value-prop-card p {
  color: #475569 !important;
}
[data-theme="light"] input:focus,
[data-theme="light"] textarea:focus,
[data-theme="light"] select:focus {
  border-color: #059669 !important;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15) !important;
}
[data-theme="light"] .field label {
  color: #334155 !important;
}
[data-theme="light"] .table {
  color: #0f172a !important;
}
[data-theme="light"] .table th {
  color: #64748b !important;
  border-bottom-color: rgba(15, 23, 42, 0.08) !important;
}
[data-theme="light"] .table td {
  border-bottom-color: rgba(15, 23, 42, 0.06) !important;
  color: #334155 !important;
}
[data-theme="light"] .table-wrap {
  border-color: rgba(15, 23, 42, 0.08) !important;
  background: #ffffff !important;
}

/* Cart & Checkout in Light Mode */
[data-theme="light"] .cart-item {
  border-bottom-color: rgba(15, 23, 42, 0.08) !important;
}
[data-theme="light"] .cart-thumb {
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0) !important;
  color: #059669 !important;
}
[data-theme="light"] .cart-info h3 a {
  color: #0f172a !important;
}
[data-theme="light"] .qty-stepper {
  border-color: rgba(15, 23, 42, 0.15) !important;
  background: #ffffff !important;
}
[data-theme="light"] .qty-stepper button,
[data-theme="light"] .btn-qty-step {
  background: #f1f5f9 !important;
  color: #0f172a !important;
}
[data-theme="light"] .qty-stepper input,
[data-theme="light"] .cart-qty-input {
  background: #ffffff !important;
  color: #0f172a !important;
  border-color: rgba(15, 23, 42, 0.1) !important;
}
[data-theme="light"] .choice span {
  background: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
  color: #0f172a !important;
}
[data-theme="light"] .choice input:checked + span {
  background: rgba(5, 150, 105, 0.06) !important;
  border-color: #059669 !important;
  box-shadow: 0 0 0 2px rgba(5, 150, 105, 0.15) !important;
}
[data-theme="light"] .quote-box {
  background: #f8fafc !important;
  border-color: rgba(15, 23, 42, 0.08) !important;
}
[data-theme="light"] .row {
  border-bottom-color: rgba(15, 23, 42, 0.06) !important;
}
[data-theme="light"] .btn.secondary {
  background: #f1f5f9 !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
  color: #334155 !important;
}
[data-theme="light"] .btn.secondary:hover {
  background: #e2e8f0 !important;
  color: #0f172a !important;
}

/* Product Detail Specifics */
[data-theme="light"] .media-main {
  background: radial-gradient(circle at center, #f1f5f9 0%, #e2e8f0 100%) !important;
}
[data-theme="light"] .metrics-strip {
  background: #f8fafc !important;
  border-color: rgba(15, 23, 42, 0.08) !important;
}
[data-theme="light"] .metric-col strong {
  color: #0f172a !important;
}
[data-theme="light"] .metric-col small {
  color: #64748b !important;
}
[data-theme="light"] .seller-mini {
  background: #f8fafc !important;
  border-color: rgba(15, 23, 42, 0.08) !important;
}

/* Footer & Mobile Drawer in Light Mode */
[data-theme="light"] .footer-modern {
  background: #f1f5f9 !important;
  border-top: 1px solid rgba(15, 23, 42, 0.08) !important;
  color: #475569 !important;
}
[data-theme="light"] .footer-links-list a {
  color: #64748b !important;
}
[data-theme="light"] .footer-links-list a:hover {
  color: #059669 !important;
}
[data-theme="light"] .footer-modern h5 {
  color: #0f172a !important;
}
[data-theme="light"] .footer-bottom-bar {
  border-top-color: rgba(15, 23, 42, 0.08) !important;
  color: #64748b !important;
}
[data-theme="light"] .mobile-nav {
  background: #ffffff !important;
  border-top-color: rgba(15, 23, 42, 0.08) !important;
}
[data-theme="light"] .mobile-nav a {
  color: #334155 !important;
  border-bottom-color: rgba(15, 23, 42, 0.06) !important;
}
[data-theme="light"] .mobile-nav a:hover {
  background: rgba(5, 150, 105, 0.06) !important;
  color: #059669 !important;
}
[data-theme="light"] .mobile-menu-btn {
  border-color: rgba(15, 23, 42, 0.15) !important;
  color: #0f172a !important;
}
[data-theme="light"] .mobile-theme-row {
  border-bottom-color: rgba(15, 23, 42, 0.08) !important;
  color: #0f172a !important;
}

/* Universal Overrides for Hardcoded Dark Hexes in Views */
[data-theme="light"] [style*="background: #0c1527"],
[data-theme="light"] [style*="background:#0c1527"],
[data-theme="light"] [style*="background: #080f1e"],
[data-theme="light"] [style*="background:#080f1e"],
[data-theme="light"] [style*="background: #040812"],
[data-theme="light"] [style*="background:#040812"],
[data-theme="light"] [style*="background: #060b16"],
[data-theme="light"] [style*="background:#060b16"],
[data-theme="light"] [style*="background: #060c18"],
[data-theme="light"] [style*="background:#060c18"],
[data-theme="light"] [style*="background: #0f172a"],
[data-theme="light"] [style*="background:#0f172a"],
[data-theme="light"] [style*="background: #111a22"],
[data-theme="light"] [style*="background:#111a22"],
[data-theme="light"] [style*="background: #151e2d"],
[data-theme="light"] [style*="background:#151e2d"] {
  background: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.08) !important;
}

[data-theme="light"] [style*="background: #0a1018"],
[data-theme="light"] [style*="background:#0a1018"],
[data-theme="light"] [style*="background: #0b1119"],
[data-theme="light"] [style*="background:#0b1119"],
[data-theme="light"] [style*="background: #0e121a"],
[data-theme="light"] [style*="background:#0e121a"],
[data-theme="light"] [style*="background: #0c1017"],
[data-theme="light"] [style*="background:#0c1017"] {
  background: #f8fafc !important;
  border-color: rgba(15, 23, 42, 0.1) !important;
  color: #0f172a !important;
}

[data-theme="light"] [style*="color: #fff"],
[data-theme="light"] [style*="color:#fff"],
[data-theme="light"] [style*="color: #ffffff"],
[data-theme="light"] [style*="color:#ffffff"],
[data-theme="light"] [style*="color: #f8fafc"],
[data-theme="light"] [style*="color:#f8fafc"] {
  color: #0f172a !important;
}

/* Guard: Preserve contrasting text on badges and dark elements */
[data-theme="light"] .banner-btn-glow,
[data-theme="light"] .banner-btn-glow.cyan,
[data-theme="light"] .rank-badge,
[data-theme="light"] .badge-baru,
[data-theme="light"] .menu-badge,
[data-theme="light"] .notif-bell-btn i,
[data-theme="light"] .hero-banner-card .banner-headline,
[data-theme="light"] .hero-banner-card .banner-subtext,
[data-theme="light"] .btn.danger {
  color: #ffffff !important;
}

/* ALL primary, neon gradient, and action buttons in light mode: ALWAYS DARK CONTRASTING TEXT */
[data-theme="light"] .btn:not(.secondary):not(.danger):not(.ghost):not(.link),
[data-theme="light"] button.btn:not(.secondary):not(.danger):not(.ghost):not(.link),
[data-theme="light"] a.btn:not(.secondary):not(.danger):not(.ghost):not(.link),
[data-theme="light"] .btn-new-topic,
[data-theme="light"] #accordionBtn,
[data-theme="light"] .btn-gradient,
[data-theme="light"] .btn-buat,
[data-theme="light"] .banner-action-btn,
[data-theme="light"] .banner-btn-glow:not(.cyan),
[data-theme="light"] button[type="submit"]:not(.secondary):not(.danger):not(.btn-secondary):not(.btn-danger) {
  color: #040812 !important; /* Bold contrasting text on mint/cyan gradients */
}

/* Micro-Interactions & Spring Clicks */
.btn:active,
.theme-toggle-btn:active,
.cat-pill-btn:active,
.saldo-chip:active {
  transform: scale(0.96) !important;
}

/* Additional Comprehensive Light Mode Polishes */
[data-theme="light"] [style*="background: linear-gradient(135deg, #0c1527"],
[data-theme="light"] [style*="background:linear-gradient(135deg, #0c1527"],
[data-theme="light"] [style*="background: linear-gradient(145deg, #0c1527"],
[data-theme="light"] [style*="background:linear-gradient(145deg, #0c1527"],
[data-theme="light"] [style*="background: linear-gradient(135deg, #07101e"],
[data-theme="light"] [style*="background:linear-gradient(135deg, #07101e"],
[data-theme="light"] [style*="background: radial-gradient(circle at center, #10233e"],
[data-theme="light"] [style*="background:radial-gradient(circle at center, #10233e"] {
  background: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.08) !important;
  color: #0f172a !important;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06) !important;
}

[data-theme="light"] .media-main {
  background: radial-gradient(circle at center, #f1f5f9 0%, #e2e8f0 100%) !important;
}

[data-theme="light"] .seller-profile-box,
[data-theme="light"] .metrics-strip,
[data-theme="light"] .product-share-box {
  background: #f8fafc !important;
  border-color: rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04) !important;
}

[data-theme="light"] .product-share-box div {
  color: #0f172a !important;
}

[data-theme="light"] .pshare-x {
  background: #0f172a !important;
  color: #ffffff !important;
  border-color: #0f172a !important;
}

[data-theme="light"] .pshare-copy {
  background: rgba(5, 150, 105, 0.08) !important;
  border-color: rgba(5, 150, 105, 0.3) !important;
  color: #059669 !important;
}

[data-theme="light"] .mode-card,
[data-theme="light"] .pay-card {
  border-color: rgba(15, 23, 42, 0.12) !important;
  background: #f8fafc !important;
}

[data-theme="light"] .mode-card b,
[data-theme="light"] .pay-card b {
  color: #0f172a !important;
}

[data-theme="light"] .mode-radio:checked + .mode-card,
[data-theme="light"] .pay-radio:checked + .pay-card,
[data-theme="light"] .mode-card.is-active,
[data-theme="light"] .pay-card.is-active {
  border-color: #059669 !important;
  background: rgba(5, 150, 105, 0.08) !important;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.12) !important;
}

[data-theme="light"] .balance-card {
  background: linear-gradient(120deg, rgba(5, 150, 105, 0.08), rgba(2, 132, 199, 0.06)) !important;
  border-color: rgba(5, 150, 105, 0.25) !important;
}

[data-theme="light"] .balance-card strong {
  color: #059669 !important;
}

[data-theme="light"] .checkout-product,
[data-theme="light"] .checkout-summary,
[data-theme="light"] .summary-box,
[data-theme="light"] .qr-panel,
[data-theme="light"] .order-summary {
  background: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06) !important;
}

[data-theme="light"] .order-card {
  background: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.08) !important;
}

[data-theme="light"] .order-card:hover {
  border-color: #059669 !important;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08) !important;
}

[data-theme="light"] .chat-box {
  background: #f8fafc !important;
  border-color: rgba(15, 23, 42, 0.1) !important;
}

[data-theme="light"] .chat-msg {
  background: #e2e8f0 !important;
  color: #0f172a !important;
}

[data-theme="light"] .chat-msg.mine {
  background: linear-gradient(135deg, #059669, #0284c7) !important;
  color: #ffffff !important;
}

[data-theme="light"] .bounty-card,
[data-theme="light"] details {
  background: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.08) !important;
}

/* ==========================================================================
   FORUM & DISKUSI LIGHT MODE SUITE
   ========================================================================== */
[data-theme="light"] .forum-feed-header .forum-title,
[data-theme="light"] .forum-title {
  color: #0f172a !important;
}

[data-theme="light"] .forum-topic-meta {
  color: #64748b !important;
}

[data-theme="light"] .forum-sort-select {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.15) !important;
  color: #0f172a !important;
}

/* Sidebar Card & Search in Light Mode */
[data-theme="light"] .forum-side-card {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05) !important;
  color: #0f172a !important;
}

[data-theme="light"] .forum-side-title {
  color: #0f172a !important;
}

[data-theme="light"] .forum-side-subtitle {
  color: #64748b !important;
}

[data-theme="light"] .forum-search-box .forum-search-input {
  background: #f8fafc !important;
  border: 1px solid rgba(15, 23, 42, 0.14) !important;
  color: #0f172a !important;
}

[data-theme="light"] .forum-search-box .forum-search-input:focus {
  background: #ffffff !important;
  border-color: #059669 !important;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15) !important;
}

[data-theme="light"] .forum-search-icon {
  color: #64748b !important;
}

[data-theme="light"] .forum-cat-label {
  color: #64748b !important;
}

/* Category Items in Light Mode - High Contrast & No Dark Visited Blending */
[data-theme="light"] .forum-cat-item,
[data-theme="light"] .forum-cat-item:visited,
[data-theme="light"] .forum-cat-item:link {
  color: #334155 !important;
  border-color: transparent !important;
}

[data-theme="light"] .forum-cat-item:hover {
  background: rgba(5, 150, 105, 0.08) !important;
  color: #059669 !important;
}

[data-theme="light"] .forum-cat-item.active,
[data-theme="light"] .forum-cat-item.active:visited,
[data-theme="light"] .forum-cat-item.active:link {
  background: rgba(5, 150, 105, 0.1) !important;
  color: #059669 !important;
  border-color: rgba(5, 150, 105, 0.35) !important;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.12) !important;
}

[data-theme="light"] .forum-cat-item .forum-cat-name,
[data-theme="light"] .forum-cat-item .forum-cat-name span {
  color: inherit !important;
}

[data-theme="light"] .forum-cat-count {
  background: #f1f5f9 !important;
  color: #0284c7 !important;
  border: 1px solid rgba(2, 132, 199, 0.2) !important;
}

[data-theme="light"] .forum-cat-item.active .forum-cat-count {
  background: rgba(5, 150, 105, 0.15) !important;
  color: #059669 !important;
  border-color: rgba(5, 150, 105, 0.3) !important;
}

/* Rekber Safety Warning Box on Forum Sidebar */
[data-theme="light"] .forum-warning-card {
  background: #fffbeb !important;
  border: 1px solid rgba(245, 158, 11, 0.35) !important;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.06) !important;
}

[data-theme="light"] .forum-warning-head {
  color: #b45309 !important;
}

[data-theme="light"] .forum-warning-sub {
  color: #d97706 !important;
}

[data-theme="light"] .forum-warning-text {
  color: #78350f !important;
}

[data-theme="light"] .forum-warning-text b {
  color: #92400e !important;
}

/* Feed Topic Cards in Light Mode */
[data-theme="light"] .forum-topic-card {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04) !important;
}

[data-theme="light"] .forum-topic-card:hover {
  border-color: rgba(5, 150, 105, 0.35) !important;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.08) !important;
}

[data-theme="light"] .forum-author-avatar {
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.1), rgba(2, 132, 199, 0.1)) !important;
  border: 1px solid rgba(5, 150, 105, 0.25) !important;
  color: #059669 !important;
}

[data-theme="light"] .forum-author-name {
  color: #0f172a !important;
}

[data-theme="light"] .forum-author-handle {
  color: #64748b !important;
}

[data-theme="light"] .forum-time-ago {
  color: #94a3b8 !important;
}

[data-theme="light"] .forum-seller-badge {
  background: rgba(5, 150, 105, 0.12) !important;
  color: #059669 !important;
  border-color: rgba(5, 150, 105, 0.3) !important;
}

[data-theme="light"] .forum-cat-badge {
  background: rgba(2, 132, 199, 0.1) !important;
  color: #0284c7 !important;
  border-color: rgba(2, 132, 199, 0.25) !important;
}

[data-theme="light"] .forum-topic-title {
  color: #0f172a !important;
}

[data-theme="light"] .forum-topic-title:hover {
  color: #059669 !important;
}

[data-theme="light"] .forum-topic-excerpt {
  color: #475569 !important;
}

[data-theme="light"] .forum-card-footer {
  border-top: 1px solid rgba(15, 23, 42, 0.06) !important;
}

[data-theme="light"] .forum-tag-pill {
  background: #f1f5f9 !important;
  color: #0284c7 !important;
  border-color: rgba(2, 132, 199, 0.2) !important;
}

[data-theme="light"] .forum-card-stats {
  color: #64748b !important;
}

[data-theme="light"] .forum-read-link {
  color: #059669 !important;
}

/* Modal & Detail in Light Mode */
[data-theme="light"] .forum-modal-card {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.2) !important;
  color: #0f172a !important;
}

[data-theme="light"] .forum-modal-card h2 {
  color: #0f172a !important;
}

[data-theme="light"] .forum-modal-card label {
  color: #334155 !important;
}

[data-theme="light"] .forum-modal-card input,
[data-theme="light"] .forum-modal-card select,
[data-theme="light"] .forum-modal-card textarea {
  background: #f8fafc !important;
  border: 1px solid rgba(15, 23, 42, 0.15) !important;
  color: #0f172a !important;
}

[data-theme="light"] .forum-topic-card h1 {
  color: #0f172a !important;
}

[data-theme="light"] .forum-topic-body {
  color: #334155 !important;
}

/* ==========================================================================
   SELLER CENTER LIGHT MODE SUITE
   ========================================================================== */
[data-theme="light"] .seller-sidebar,
html[data-theme="light"] .seller-sidebar {
  background: #ffffff !important;
  border-right: 1px solid rgba(15, 23, 42, 0.08) !important;
  box-shadow: 4px 0 25px rgba(15, 23, 42, 0.04) !important;
}

[data-theme="light"] .seller-brand-box,
html[data-theme="light"] .seller-brand-box {
  border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
}

[data-theme="light"] .seller-brand-box div > div:first-child,
html[data-theme="light"] .seller-brand-box div > div:first-child {
  color: #0f172a !important;
}

[data-theme="light"] .seller-store-preview,
html[data-theme="light"] .seller-store-preview {
  background: #f8fafc !important;
  border-color: rgba(5, 150, 105, 0.25) !important;
}

[data-theme="light"] .seller-store-preview strong,
html[data-theme="light"] .seller-store-preview strong {
  color: #0f172a !important;
}

[data-theme="light"] .seller-nav-item,
html[data-theme="light"] .seller-nav-item {
  color: #475569 !important;
}

[data-theme="light"] .seller-nav-item:hover,
html[data-theme="light"] .seller-nav-item:hover {
  color: #059669 !important;
  background: rgba(5, 150, 105, 0.08) !important;
  border-left-color: #059669 !important;
}

[data-theme="light"] .seller-nav-item.active,
html[data-theme="light"] .seller-nav-item.active {
  color: #059669 !important;
  background: linear-gradient(90deg, rgba(5, 150, 105, 0.12), transparent) !important;
  border-left-color: #059669 !important;
}

[data-theme="light"] .seller-topbar,
html[data-theme="light"] .seller-topbar {
  background: rgba(255, 255, 255, 0.92) !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
}

[data-theme="light"] .seller-wallet-chip,
html[data-theme="light"] .seller-wallet-chip {
  background: #f1f5f9 !important;
  border-color: rgba(15, 23, 42, 0.1) !important;
}

/* ==========================================================================
   DigiProKu v2.0 - Ultra Modern Cyber-Fintech UI/UX Polish
   ========================================================================== */

/* Enhanced Card Lift & 3D Lighting */
.product-card-modern {
  position: relative;
  background: linear-gradient(180deg, #0e182c 0%, #080f1e 100%) !important;
  border: 1px solid rgba(0, 245, 160, 0.14) !important;
  border-radius: 18px !important;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s ease, box-shadow 0.3s ease !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35) !important;
  display: flex;
  flex-direction: column;
}

.product-card-modern:hover {
  transform: translateY(-8px) scale(1.01) !important;
  border-color: rgba(0, 245, 160, 0.5) !important;
  box-shadow: 0 24px 48px -10px rgba(0, 0, 0, 0.7), 0 0 30px -5px rgba(0, 245, 160, 0.25) !important;
}

.product-card-modern .card-media-box {
  position: relative;
  height: 180px;
  background: radial-gradient(circle at 50% 30%, rgba(0, 210, 255, 0.15), rgba(8, 15, 30, 0.95)) !important;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.product-card-modern .card-media-box img.card-media-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  z-index: 1;
}

.product-card-modern:hover .card-media-box img.card-media-img {
  transform: scale(1.08) !important;
}

.product-card-modern .card-media-box::after {

  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 120%, rgba(0, 245, 160, 0.2), transparent 70%);
  pointer-events: none;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.product-card-modern:hover .card-media-box::after {
  opacity: 1;
}

.product-card-modern .card-media-icon {
  font-size: 64px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: drop-shadow(0 8px 16px rgba(0, 245, 160, 0.3));
}

.product-card-modern:hover .card-media-icon {
  transform: scale(1.12) translateY(-2px);
  filter: drop-shadow(0 12px 24px rgba(0, 245, 160, 0.5));
}

.product-card-modern .card-price-text {
  font-size: 19px;
  font-weight: 900;
  color: #00f5a0;
  text-shadow: 0 0 14px rgba(0, 245, 160, 0.4);
  letter-spacing: -0.3px;
}

/* Light Mode Card Overrides */
[data-theme="light"] .product-card-modern {
  background: #ffffff !important;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06) !important;
}

[data-theme="light"] .product-card-modern:hover {
  transform: translateY(-8px) scale(1.01) !important;
  border-color: rgba(5, 150, 105, 0.4) !important;
  box-shadow: 0 20px 36px -10px rgba(15, 23, 42, 0.12), 0 0 20px rgba(5, 150, 105, 0.15) !important;
}

[data-theme="light"] .product-card-modern .card-media-box {
  background: radial-gradient(circle at 50% 30%, rgba(2, 132, 199, 0.08), #f8fafc) !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}

[data-theme="light"] .product-card-modern .card-price-text {
  color: #059669 !important;
  text-shadow: none !important;
}

/* Ultra Modern Shortcut Cards */
.account-shortcut-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: linear-gradient(135deg, rgba(12, 21, 39, 0.8) 0%, rgba(8, 15, 30, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.account-shortcut-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 245, 160, 0.4);
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.5), 0 0 20px -4px rgba(0, 245, 160, 0.2);
}

.account-shortcut-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 26px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.account-shortcut-card:hover .account-shortcut-icon {
  transform: scale(1.1);
}

[data-theme="light"] .account-shortcut-card {
  background: #ffffff !important;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05) !important;
}

[data-theme="light"] .account-shortcut-card:hover {
  border-color: rgba(5, 150, 105, 0.4) !important;
  box-shadow: 0 12px 28px -6px rgba(15, 23, 42, 0.1), 0 0 16px rgba(5, 150, 105, 0.1) !important;
}

[data-theme="light"] .account-shortcut-card div strong {
  color: #0f172a !important;
}

/* Modern Transaction Cards for Account & Orders */
.transaction-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: rgba(12, 21, 39, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  margin-bottom: 12px;
  text-decoration: none;
  transition: all 0.25s ease;
  gap: 16px;
  flex-wrap: wrap;
}

.transaction-card-row:hover {
  background: rgba(18, 30, 54, 0.8);
  border-color: rgba(0, 210, 255, 0.35);
  transform: translateX(4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .transaction-card-row {
  background: #ffffff !important;
  border: 1px solid rgba(226, 232, 240, 0.8) !important;
}

[data-theme="light"] .transaction-card-row:hover {
  background: #f8fafc !important;
  border-color: rgba(2, 132, 199, 0.4) !important;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06) !important;
}

/* Glassmorphism Stat Cards */
.account-stat-box {
  position: relative;
  background: linear-gradient(135deg, rgba(12, 21, 39, 0.85) 0%, rgba(8, 15, 30, 0.95) 100%);
  border: 1px solid rgba(0, 245, 160, 0.14);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.account-stat-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--td-gradient-primary);
  opacity: 0.8;
}

.account-stat-box:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 245, 160, 0.4);
  box-shadow: 0 16px 36px -6px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 245, 160, 0.15);
}

[data-theme="light"] .account-stat-box {
  background: #ffffff !important;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05) !important;
}

[data-theme="light"] .account-stat-box:hover {
  border-color: rgba(5, 150, 105, 0.35) !important;
  box-shadow: 0 12px 28px -6px rgba(15, 23, 42, 0.1), 0 0 16px rgba(5, 150, 105, 0.1) !important;
}

/* Floating Form Control Glow Focus */
input:focus, select:focus, textarea:focus {
  outline: none !important;
  border-color: rgba(0, 245, 160, 0.6) !important;
  box-shadow: 0 0 0 3px rgba(0, 245, 160, 0.18), 0 0 15px rgba(0, 245, 160, 0.2) !important;
}

[data-theme="light"] input:focus, 
[data-theme="light"] select:focus, 
[data-theme="light"] textarea:focus {
  border-color: rgba(5, 150, 105, 0.5) !important;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15) !important;
}

/* Micro-Pulse Status Dot */
.status-pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}
.status-pulse-dot.dot-green {
  background: #00f5a0;
  box-shadow: 0 0 8px #00f5a0;
}
.status-pulse-dot.dot-yellow {
  background: #fbbf24;
  box-shadow: 0 0 8px #fbbf24;
}
.status-pulse-dot.dot-blue {
  background: #00d2ff;
  box-shadow: 0 0 8px #00d2ff;
}

/* Flash Sale Light & Dark Theme Support */
[data-theme="light"] .flash-sale-box {
  background: radial-gradient(circle at 10% 20%, rgba(255, 75, 114, 0.08) 0%, #ffffff 60%), #ffffff !important;
  border: 1px solid rgba(255, 75, 114, 0.35) !important;
  box-shadow: 0 12px 35px rgba(255, 75, 114, 0.1), 0 4px 16px rgba(15, 23, 42, 0.05) !important;
}
[data-theme="light"] .flash-header {
  border-bottom: 1px solid rgba(226, 232, 240, 0.9) !important;
}
[data-theme="light"] .flash-title {
  color: #0f172a !important;
}
[data-theme="light"] .timer-label {
  color: #64748b !important;
}
[data-theme="light"] .time-block {
  background: #fff1f2 !important;
  border: 1px solid rgba(255, 75, 114, 0.45) !important;
  color: #e11d48 !important;
  box-shadow: 0 2px 8px rgba(255, 75, 114, 0.15) !important;
}
[data-theme="light"] .timer-colon {
  color: #e11d48 !important;
}
[data-theme="light"] .flash-card {
  background: #ffffff !important;
  border: 1px solid rgba(226, 232, 240, 0.95) !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05) !important;
}
[data-theme="light"] .flash-card:hover {
  border-color: rgba(255, 75, 114, 0.5) !important;
  box-shadow: 0 14px 28px -6px rgba(15, 23, 42, 0.12), 0 0 16px rgba(255, 75, 114, 0.2) !important;
}
[data-theme="light"] .flash-card-icon {
  background: linear-gradient(135deg, #fff1f2, #f8fafc) !important;
  border: 1px solid rgba(255, 75, 114, 0.12) !important;
}
[data-theme="light"] .flash-card-title {
  color: #0f172a !important;
}
[data-theme="light"] .flash-price-main {
  color: #e11d48 !important;
  text-shadow: none !important;
}
[data-theme="light"] .flash-price-slash {
  color: #94a3b8 !important;
}
[data-theme="light"] .flash-progress-bar {
  background: rgba(15, 23, 42, 0.08) !important;
}
[data-theme="light"] .flash-progress-label {
  color: #d97706 !important;
}
[data-theme="light"] .flash-buy-btn {
  color: #ffffff !important;
}

[data-theme="dark"] .flash-title,
html:not([data-theme="light"]) .flash-title {
  color: #ffffff !important;
}
[data-theme="dark"] .flash-card-title,
html:not([data-theme="light"]) .flash-card-title {
  color: #ffffff !important;
}
[data-theme="dark"] .flash-card,
html:not([data-theme="light"]) .flash-card {
  background: #080f1e !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}
[data-theme="dark"] .flash-sale-box,
html:not([data-theme="light"]) .flash-sale-box {
  background: radial-gradient(circle at 10% 20%, rgba(255, 75, 114, 0.12) 0%, rgba(12, 21, 39, 0.98) 60%), #070c18 !important;
}

/* ==========================================================================
   Storefront Banner, Profile Header, Tooltip, & Badge Modal
   ========================================================================== */
.storefront-header-card {
  background: var(--td-surface);
  border: 1px solid var(--td-border);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--td-shadow);
  margin-bottom: 30px;
}

.store-banner-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 4.6;
  min-height: 180px;
  max-height: 320px;
  overflow: hidden;
  background: #080f1e;
}

.store-banner-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.store-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 8, 18, 0.05) 0%, rgba(4, 8, 18, 0.4) 100%);
  pointer-events: none;
}

.store-profile-body {
  padding: 24px 28px 28px;
  position: relative;
}

.store-avatar-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: -65px;
  margin-bottom: 18px;
}

.store-avatar-box {
  width: 96px;
  height: 96px;
  border-radius: 20px;
  background: #080f1e;
  border: 4px solid var(--td-surface);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  overflow: hidden;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.store-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.store-avatar-fallback {
  width: 100%;
  height: 100%;
  background: var(--td-gradient-primary);
  color: #040812;
  font-size: 38px;
  font-weight: 900;
  display: grid;
  place-items: center;
}

.store-verified-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: #00d2ff;
  color: #040812;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 0 12px rgba(0, 210, 255, 0.6);
  flex-shrink: 0;
}

.badge-tooltip-container {
  position: relative;
  display: inline-flex;
  cursor: pointer;
}

.badge-tooltip-bubble {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #0c1527;
  border: 1px solid rgba(0, 210, 255, 0.45);
  color: #fff;
  border-radius: 12px;
  padding: 10px 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.7), 0 0 15px rgba(0, 210, 255, 0.15);
  z-index: 99;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.badge-tooltip-bubble::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: #0c1527 transparent transparent transparent;
}

.badge-tooltip-container:hover .badge-tooltip-bubble {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.btn-chat-seller {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%) !important;
  color: #ffffff !important;
  font-weight: 800;
  font-size: 14px;
  padding: 11px 24px;
  border-radius: 99px;
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-chat-seller:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.6);
  filter: brightness(1.1);
}

.store-copy-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: 8px;
  font-family: monospace;
  font-size: 12px;
  color: #cbd5e1;
  cursor: pointer;
  transition: all 0.2s ease;
}

.store-copy-pill:hover {
  background: rgba(0, 245, 160, 0.12);
  border-color: rgba(0, 245, 160, 0.35);
  color: #00f5a0;
}

.top-seller-highlight-bar {
  margin-top: 16px;
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.25);
  border-radius: 12px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 800;
  color: #fbbf24;
}

.store-hours-schedule-box {
  margin-top: 14px;
  background: rgba(0, 245, 160, 0.06);
  border: 1px solid rgba(0, 245, 160, 0.2);
  border-radius: 12px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Modal Dialog */
.seller-badge-modal-backdrop {
  display: none;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(4, 8, 18, 0.88) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  z-index: 9999999 !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 20px !important;
  box-sizing: border-box !important;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.seller-badge-modal-backdrop.is-open {
  display: flex !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.seller-badge-modal-card {
  background: #0c1527;
  border: 1px solid rgba(0, 210, 255, 0.35);
  border-radius: 24px;
  width: 100%;
  max-width: 540px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.8), 0 0 35px rgba(0, 210, 255, 0.18);
  padding: 30px;
  position: relative;
  transform: scale(0.95);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.seller-badge-modal-backdrop.is-open .seller-badge-modal-card {
  transform: scale(1);
}

/* Light theme overrides */
[data-theme="light"] .storefront-header-card {
  background: #ffffff;
  border-color: rgba(226, 232, 240, 0.9);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

[data-theme="light"] .store-avatar-box {
  border-color: #ffffff;
  background: #f8fafc;
}

[data-theme="light"] .badge-tooltip-bubble {
  background: #ffffff;
  border-color: rgba(0, 210, 255, 0.5);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.15);
}

[data-theme="light"] .badge-tooltip-bubble::after {
  border-color: #ffffff transparent transparent transparent;
}

[data-theme="light"] .store-copy-pill {
  background: #f1f5f9;
  border-color: #e2e8f0;
  color: #334155;
}

[data-theme="light"] .seller-badge-modal-card {
  background: #ffffff;
  border-color: rgba(0, 210, 255, 0.4);
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.2);
}

/* =========================================================
   DIGIPROKU MODERN MOBILE & PRODUCT GRID SYSTEM
   ========================================================= */

/* 1. Header & Top Bar Responsive */
@media (max-width: 900px) {
  .td-nav-links {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .desktop-auth-btn {
    display: none !important;
  }
  .header-action-pill {
    display: none !important;
  }
  .saldo-chip {
    padding: 6px 10px !important;
    font-size: 12px !important;
  }
  .saldo-chip .plus-btn {
    display: none !important;
  }
  .top .nav {
    min-height: 60px !important;
    gap: 10px !important;
  }
  .brand-text {
    font-size: 18px !important;
  }
  .brand-logo-img {
    width: 28px !important;
    height: 28px !important;
  }
}

/* Hamburger Toggle Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(0, 245, 160, 0.08) !important;
  border: 1px solid rgba(0, 245, 160, 0.25) !important;
  cursor: pointer;
  padding: 0 !important;
  transition: all 0.2s ease;
  margin-left: 4px;
}
.mobile-menu-btn:hover {
  background: rgba(0, 245, 160, 0.16) !important;
  border-color: rgba(0, 245, 160, 0.5) !important;
  box-shadow: 0 0 12px rgba(0, 245, 160, 0.3);
}
.mobile-menu-btn .hamburger-bar {
  display: block;
  width: 19px;
  height: 2px;
  background: #00f5a0;
  border-radius: 2px;
  transition: all 0.25s ease;
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex !important;
  }
}

/* 2. Slide-In Mobile Drawer (Offcanvas Sidebar) */
.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 8, 18, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
}
.mobile-drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(340px, 86vw);
  background: #080f1e;
  border-left: 1px solid rgba(0, 245, 160, 0.2);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.75);
  z-index: 10001;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.mobile-nav-drawer.active {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: #060b16;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}
.drawer-close-btn {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.drawer-close-btn:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  transform: scale(1.05);
}

.drawer-scroll-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 16px;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 245, 160, 0.3) transparent;
}
.drawer-scroll-body::-webkit-scrollbar {
  width: 4px;
}
.drawer-scroll-body::-webkit-scrollbar-thumb {
  background: rgba(0, 245, 160, 0.3);
  border-radius: 4px;
}

/* Drawer User Card */
.drawer-user-card {
  background: linear-gradient(135deg, rgba(0, 245, 160, 0.08), rgba(0, 210, 255, 0.05));
  border: 1px solid rgba(0, 245, 160, 0.2);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 16px;
}
.drawer-user-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.drawer-user-avatar {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #00f5a0, #00d2ff);
  color: #040812;
  font-size: 17px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(0, 245, 160, 0.4);
}
.drawer-user-name {
  font-size: 14px;
  font-weight: 800;
  color: #f8fafc;
  display: flex;
  align-items: center;
  gap: 6px;
}
.drawer-user-email {
  font-size: 11px;
  color: #94a3b8;
  margin-top: 1px;
  max-width: 170px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.drawer-wallet-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  background: rgba(8, 15, 30, 0.7);
  border: 1px solid rgba(0, 245, 160, 0.25);
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s;
}
.drawer-wallet-box:hover {
  border-color: #00f5a0;
  box-shadow: 0 0 12px rgba(0, 245, 160, 0.2);
}
.drawer-wallet-label {
  font-size: 10.5px;
  color: #94a3b8;
  font-weight: 600;
}
.drawer-wallet-val {
  font-size: 13.5px;
  font-weight: 900;
  color: #00f5a0;
}
.drawer-topup-btn {
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  background: linear-gradient(135deg, #00f5a0, #00d2ff);
  color: #040812;
}

/* Guest welcome card */
.drawer-guest-card {
  background: linear-gradient(135deg, rgba(0, 210, 255, 0.08), rgba(0, 245, 160, 0.05));
  border: 1px solid rgba(0, 210, 255, 0.2);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 16px;
}
.drawer-guest-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #f8fafc;
  margin-bottom: 4px;
}
.drawer-guest-sub {
  font-size: 11.5px;
  color: #94a3b8;
  line-height: 1.4;
  margin-bottom: 12px;
}
.drawer-guest-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.drawer-guest-actions .btn {
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 800;
  border-radius: 9px;
  text-align: center;
}

/* Theme switch row */
.drawer-theme-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 11px;
  margin-bottom: 18px;
}
.drawer-theme-box span {
  font-size: 12.5px;
  font-weight: 700;
  color: #cbd5e1;
}

/* Grouped Navigation links */
.drawer-group-title {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #64748b;
  text-transform: uppercase;
  margin: 16px 4px 8px;
}
.drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 12px;
  border-radius: 10px;
  color: #cbd5e1;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  transition: all 0.18s ease;
  margin-bottom: 3px;
  border-left: 3px solid transparent;
}
.drawer-link:hover,
.drawer-link.active {
  background: rgba(0, 245, 160, 0.09);
  color: #00f5a0;
  border-left-color: #00f5a0;
  padding-left: 14px;
}
.drawer-link-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.drawer-link-icon {
  font-size: 16px;
  line-height: 1;
}
.drawer-link-badge {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 99px;
}

/* Drawer Footer */
.drawer-footer {
  padding: 12px 16px;
  background: #060b16;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 11px;
  color: #64748b;
  text-align: center;
  flex-shrink: 0;
}

/* 3. Mobile Persistent Bottom Navigation Bar (Tokopedia / Shopee Style) */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: rgba(8, 15, 30, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(0, 245, 160, 0.15);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.45);
  z-index: 999;
  justify-content: space-around;
  align-items: center;
  padding: 0 4px;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
@media (max-width: 768px) {
  .mobile-bottom-bar {
    display: flex !important;
  }
  body {
    padding-bottom: 68px !important;
  }
}
.bottom-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #94a3b8;
  font-size: 10px;
  font-weight: 700;
  gap: 3px;
  flex: 1;
  height: 100%;
  transition: all 0.18s ease;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}
.bottom-bar-icon {
  font-size: 20px;
  line-height: 1;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.bottom-bar-label {
  letter-spacing: -0.2px;
}
.bottom-bar-item:hover,
.bottom-bar-item.active {
  color: #00f5a0;
}
.bottom-bar-item.active .bottom-bar-icon {
  transform: scale(1.1);
  filter: drop-shadow(0 0 8px rgba(0, 245, 160, 0.6));
}
.bottom-bar-item.active::after {
  content: '';
  position: absolute;
  top: 0;
  width: 24px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, #00f5a0, #00d2ff);
  box-shadow: 0 0 10px rgba(0, 245, 160, 0.8);
}
.bottom-cart-badge {
  position: absolute;
  top: -4px;
  right: -8px;
  background: #ff4b72;
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  min-width: 16px;
  height: 16px;
  border-radius: 99px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  box-shadow: 0 0 8px rgba(255, 75, 114, 0.6);
  border: 1px solid #080f1e;
}

/* 4. Responsive Product Grid System */
.digiproku-product-grid,
.product-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 16px !important;
  margin-bottom: 35px;
}

@media (max-width: 1024px) {
  .digiproku-product-grid,
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }
}

/* Mobile 2-Column E-Commerce Grid (Shopee / Tokopedia Style) */
@media (max-width: 768px) {
  .digiproku-product-grid,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 11px !important;
    margin-bottom: 25px !important;
  }

  .product-card-modern {
    border-radius: 14px !important;
  }
  .product-card-modern .card-media-box {
    height: 130px !important;
  }
  .product-card-modern .card-media-icon {
    font-size: 44px !important;
  }
  .product-card-modern .card-content-box {
    padding: 10px 11px !important;
  }
  .product-card-modern .card-product-title {
    font-size: 12.5px !important;
    height: 34px !important;
    line-height: 1.35 !important;
    margin-bottom: 5px !important;
  }
  .product-card-modern .card-price-text {
    font-size: 14.5px !important;
    margin-bottom: 5px !important;
  }
  .product-card-modern .card-seller-bar {
    padding-top: 6px !important;
    font-size: 10.5px !important;
  }
  .product-card-modern .card-seller-name {
    max-width: 75px !important;
  }
  .product-card-modern .card-stats-row {
    font-size: 10px !important;
    margin-top: 3px !important;
    gap: 4px !important;
  }
  .product-card-modern .badge-baru,
  .product-card-modern .badge-instant,
  .product-card-modern .rank-badge {
    font-size: 9px !important;
    padding: 2px 6px !important;
    top: 6px !important;
    border-radius: 5px !important;
  }
  .product-card-modern .badge-baru,
  .product-card-modern .rank-badge {
    left: 6px !important;
  }
  .product-card-modern .badge-instant {
    right: 6px !important;
  }
}

@media (max-width: 380px) {
  .digiproku-product-grid,
  .product-grid {
    gap: 8px !important;
  }
  .product-card-modern .card-media-box {
    height: 115px !important;
  }
  .product-card-modern .card-content-box {
    padding: 8px 9px !important;
  }
  .product-card-modern .card-product-title {
    font-size: 11.5px !important;
    height: 30px !important;
  }
  .product-card-modern .card-price-text {
    font-size: 13.5px !important;
  }
}

/* 5. Marketplace Mobile Filter Trigger & Responsive Aside */
.mobile-filter-trigger-btn {
  display: none;
  width: 100%;
  padding: 12px 16px;
  background: var(--td-surface, #0c1527);
  border: 1px solid var(--td-border, rgba(0, 245, 160, 0.25));
  border-radius: 12px;
  color: var(--td-text, #f8fafc);
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: all 0.2s ease;
}
.mobile-filter-trigger-btn:hover {
  border-color: #00f5a0;
  color: #00f5a0;
}
.filter-toggle-chevron {
  font-size: 16px;
  transition: transform 0.25s ease;
}
.filter-panel.mobile-open + .mobile-filter-trigger-btn .filter-toggle-chevron {
  transform: rotate(180deg);
}

@media (max-width: 900px) {
  .mobile-filter-trigger-btn {
    display: flex !important;
  }
  .filter-panel {
    display: none !important;
  }
  .filter-panel.mobile-open {
    display: block !important;
    margin-bottom: 20px !important;
  }
  .market-toolbar {
    margin-bottom: 14px !important;
  }
}

/* 6. Light Theme Overrides for New Mobile & Grid Components */
[data-theme="light"] .mobile-menu-btn {
  background: rgba(5, 150, 105, 0.08) !important;
  border-color: rgba(5, 150, 105, 0.25) !important;
}
[data-theme="light"] .mobile-menu-btn .hamburger-bar {
  background: #059669 !important;
}
[data-theme="light"] .mobile-drawer-backdrop {
  background: rgba(15, 23, 42, 0.6) !important;
}
[data-theme="light"] .mobile-nav-drawer {
  background: #ffffff !important;
  border-left-color: rgba(15, 23, 42, 0.1) !important;
  box-shadow: -10px 0 40px rgba(15, 23, 42, 0.15) !important;
}
[data-theme="light"] .drawer-header,
[data-theme="light"] .drawer-footer {
  background: #f8fafc !important;
  border-color: rgba(15, 23, 42, 0.08) !important;
}
[data-theme="light"] .drawer-close-btn {
  background: rgba(15, 23, 42, 0.05) !important;
  border-color: rgba(15, 23, 42, 0.1) !important;
  color: #475569 !important;
}
[data-theme="light"] .drawer-user-card {
  background: #f0fdf4 !important;
  border-color: rgba(5, 150, 105, 0.2) !important;
}
[data-theme="light"] .drawer-user-name {
  color: #0f172a !important;
}
[data-theme="light"] .drawer-wallet-box {
  background: #ffffff !important;
  border-color: rgba(5, 150, 105, 0.25) !important;
}
[data-theme="light"] .drawer-wallet-val {
  color: #059669 !important;
}
[data-theme="light"] .drawer-guest-card {
  background: #f0f9ff !important;
  border-color: rgba(14, 165, 233, 0.25) !important;
}
[data-theme="light"] .drawer-guest-title {
  color: #0f172a !important;
}
[data-theme="light"] .drawer-theme-box {
  background: #f8fafc !important;
  border-color: rgba(15, 23, 42, 0.08) !important;
}
[data-theme="light"] .drawer-theme-box span {
  color: #334155 !important;
}
[data-theme="light"] .drawer-link {
  color: #334155 !important;
}
[data-theme="light"] .drawer-link:hover,
[data-theme="light"] .drawer-link.active {
  background: rgba(5, 150, 105, 0.08) !important;
  color: #059669 !important;
  border-left-color: #059669 !important;
}
[data-theme="light"] .mobile-bottom-bar {
  background: rgba(255, 255, 255, 0.96) !important;
  border-top-color: rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.06) !important;
}
[data-theme="light"] .bottom-bar-item {
  color: #64748b !important;
}
[data-theme="light"] .bottom-bar-item.active,
[data-theme="light"] .bottom-bar-item:hover {
  color: #059669 !important;
}
[data-theme="light"] .bottom-bar-item.active .bottom-bar-icon {
  filter: drop-shadow(0 0 6px rgba(5, 150, 105, 0.4)) !important;
}
[data-theme="light"] .bottom-bar-item.active::after {
  background: #059669 !important;
  box-shadow: 0 0 8px rgba(5, 150, 105, 0.5) !important;
}
[data-theme="light"] .bottom-cart-badge {
  border-color: #ffffff !important;
}
[data-theme="light"] .mobile-filter-trigger-btn {
  background: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
  color: #0f172a !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04) !important;
}
[data-theme="light"] .mobile-filter-trigger-btn:hover {
  border-color: #059669 !important;
  color: #059669 !important;
}




