/* ==========================================================================
   ACCTBANK v2.5 MASTER UNIFIED DESIGN SYSTEM (SPRINT 4.5 PROTOTYPE LOCK)
   Crisp Fintech Light Mode + Calibrated WCAG Layered Obsidian Dark Mode
   Locked 36px Brand Logo · Anti-Clip Navbar · Artwork Cards · Zero CLS/Jank
   ========================================================================== */

:root,
html[data-theme="light"] {
  color-scheme: light;
  --ab-v2-canvas: #F8FAFC;
  --ab-v2-canvas-subtle: #F1F5F9;
  --ab-v2-inset: #F1F5F9;
  --ab-v2-card: #FFFFFF;
  --ab-v2-card-hover: #F8FAFC;
  --ab-v2-popover: #FFFFFF;
  --ab-v2-border: #E2E8F0;
  --ab-v2-border-strong: #CBD5E1;
  --ab-v2-navy: #0F172A;
  --ab-v2-navy-elevated: #1E293B;
  --ab-v2-text-primary: #0F172A;
  --ab-v2-text-secondary: #475569;
  --ab-v2-text-muted: #64748B;
  --ab-v2-emerald: #059669;
  --ab-v2-emerald-hover: #047857;
  --ab-v2-emerald-bright: #10B981;
  --ab-v2-emerald-soft: #ECFDF5;
  --ab-v2-emerald-border: #A7F3D0;
  --ab-v2-teal-authority: #0F766E;
  --ab-v2-amber: #D97706;
  --ab-v2-amber-soft: #FFFBEB;
  --ab-v2-rose: #E11D48;
  --ab-v2-rose-soft: #FFF1F2;
  --ab-v2-shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --ab-v2-shadow-sm: 0 4px 12px -2px rgba(15, 23, 42, 0.07), 0 1px 2px rgba(15, 23, 42, 0.04);
  --ab-v2-shadow-md: 0 12px 28px -6px rgba(15, 23, 42, 0.10), 0 2px 6px rgba(15, 23, 42, 0.04);
  --ab-v2-shadow-lg: 0 24px 48px -12px rgba(15, 23, 42, 0.18);
  --ab-v2-scrim: linear-gradient(135deg, #060B14 0%, #0D1526 58%, #0E293C 100%);
  --ab-v2-font-display: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --ab-v2-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --ab-v2-font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Legacy CMSNT / Storefront CSS Variable Bridge */
  --bg-body: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F8FAFC;
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --border-color: #E2E8F0;
  --ab-font-display: var(--ab-v2-font-display);
  --ab-font-sans: var(--ab-v2-font-sans);
  --ab-font-mono: var(--ab-v2-font-mono);
}

/* Calibrated WCAG-Compliant Layered Obsidian Dark Mode (Sprint 4.5 Lock) */
html[data-theme="dark"],
html.ab-dark-mode {
  color-scheme: dark;
  --ab-v2-canvas: #060B14;
  --ab-v2-canvas-subtle: #131E34;
  --ab-v2-inset: #131E34;
  --ab-v2-card: #0D1526;
  --ab-v2-card-hover: #18243D;
  --ab-v2-popover: #18243D;
  --ab-v2-border: rgba(148, 163, 184, 0.18);
  --ab-v2-border-strong: rgba(148, 163, 184, 0.30);
  --ab-v2-navy: #0D1526;
  --ab-v2-navy-elevated: #18243D;
  --ab-v2-text-primary: #F8FAFC;
  --ab-v2-text-secondary: #CBD5E1;
  --ab-v2-text-muted: #94A3B8;
  --ab-v2-emerald: #10B981;
  --ab-v2-emerald-hover: #059669;
  --ab-v2-emerald-bright: #34D399;
  --ab-v2-emerald-soft: rgba(16, 185, 129, 0.15);
  --ab-v2-emerald-border: rgba(16, 185, 129, 0.36);
  --ab-v2-teal-authority: #34D399;
  --ab-v2-amber: #F59E0B;
  --ab-v2-amber-soft: rgba(245, 158, 11, 0.16);
  --ab-v2-rose: #FB7185;
  --ab-v2-rose-soft: rgba(244, 63, 94, 0.16);
  --ab-v2-shadow-xs: 0 1px 2px rgba(2, 6, 23, 0.55);
  --ab-v2-shadow-sm: 0 4px 14px -2px rgba(2, 6, 23, 0.65);
  --ab-v2-shadow-md: 0 16px 36px -8px rgba(2, 6, 23, 0.72);
  --ab-v2-shadow-lg: 0 28px 60px -12px rgba(2, 6, 23, 0.84);

  --bg-body: #060B14;
  --bg-card: #0D1526;
  --bg-card-hover: #18243D;
  --text-primary: #F8FAFC;
  --text-secondary: #CBD5E1;
  --text-muted: #94A3B8;
  --border-color: rgba(148, 163, 184, 0.18);
}

/* ==========================================================================
   1. TYPOGRAPHY, HEADER LOGO LOCK, ANTI-CLIP NAVBAR & STAGING PILL
   ========================================================================== */
html {
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--ab-v2-canvas) !important;
  color: var(--ab-v2-text-primary) !important;
  font-family: var(--ab-v2-font-sans) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

h1, h2, h3, h4, .ab-display, .heading-font {
  font-family: var(--ab-v2-font-display) !important;
  letter-spacing: -0.02em;
}

/* Strict 36px Header Brand Logo Lock Across Laptop & Desktop Viewports */
header.header-part .header-logo,
.ab-shopify-header .header-logo,
.ab-seo-brand,
.as-logo,
.so-logo {
  display: inline-flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
  max-height: 40px !important;
}

header.header-part .header-logo img,
.ab-shopify-header .header-logo img,
.header-logo img,
.ab-seo-logo-img,
.ab-seo-brand img,
.oc-brand-logo,
.as-logo img,
.af-topbar img,
.so-logo img,
.ab-drawer-logo img {
  height: 36px !important;
  max-height: 38px !important;
  width: auto !important;
  max-width: 180px !important;
  object-fit: contain !important;
  flex-shrink: 0 !important;
  filter: none !important;
}

html:not([data-theme="dark"]) .header-logo .logo-dark { display: none !important; }
html:not([data-theme="dark"]) .header-logo .logo-light { display: inline-block !important; }
html[data-theme="dark"] .header-logo:has(.logo-dark) .logo-light { display: none !important; }
html[data-theme="dark"] .header-logo .logo-dark { display: inline-block !important; }
html[data-theme="dark"] .header-logo:not(:has(.logo-dark)) img,
html[data-theme="dark"] .ab-seo-brand img,
html[data-theme="dark"] .as-logo img,
html[data-theme="dark"] .af-topbar img,
html[data-theme="dark"] .so-logo img,
html[data-theme="dark"] .oc-brand img.oc-brand-logo {
  background: #FFFFFF !important;
  padding: 3px 8px !important;
  border-radius: 8px !important;
}

/* Anti-Clip Top Navbar Container (Zero Right-Edge Clipping on 1280px–1440px Laptops) */
header.header-part .header-content,
.ab-shopify-header .header-content,
.ab-seo-header-inner,
.as-topbar-inner,
.af-topbar-inner,
.so-topbar-inner {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  width: 100% !important;
  max-width: 1360px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
  overflow-x: clip !important;
}

header.header-part .ab-hdr-left {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-shrink: 0 !important;
  min-width: 0;
}

header.header-part .header-search-wrapper.ab-hdr-search,
.ab-seo-search {
  flex: 1 1 260px !important;
  min-width: 160px !important;
  max-width: 520px !important;
}

header.header-part .header-widget-group.ab-hdr-right,
.ab-seo-nav-actions {
  display: inline-flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 7px !important;
  flex-shrink: 0 !important;
}

/* Relocated Staging Preview Pill (Bottom-Right, Z-Index 9999, Zero Hero Overlap) */
#ab-staging-preview-badge {
  position: fixed !important;
  left: 50% !important;
  right: auto !important;
  top: 4px !important;
  bottom: auto !important;
  transform: translateX(-50%) !important;
  width: max-content !important;
  height: 22px !important;
  font-size: 10.5px !important;
  padding: 0 8px !important;
  opacity: 0.96 !important;
  z-index: 99999 !important;
}

/* Tabular Numerics Across Prices, Stock, Timers & Balances */
.ab-tabular,
.ab-unit-price,
.ab-price-total-val,
.ab-wallet-pill-bal,
.ab-vault-bal,
.ab-wallet-compare-bal,
.ab-cat-cnt,
.ab-qpill-cnt,
.ab-stock-pill,
.ab-seller-kpi-val,
.countdown-value,
.mono,
[id*="price" i],
[id*="Price"],
[id*="stock" i],
[id*="Stock"],
[id*="kpi-" i],
[id*="timer" i],
[class*="tabular"] {
  font-variant-numeric: tabular-nums !important;
}

.ab-offer-icon,
.ab-seller-mini-avatar,
.ab-pdp-icon-frame {
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
}

/* Strict Emerald-Teal Primary Conversion Hierarchy */
.ab-pbtn-buy,
.btn-order,
.ab-v2-btn-emerald,
.ab-seo-cta-btn,
.ab-wallet-pill-add,
.ab-vault-btn-pri {
  background: #059669 !important;
  border: 1px solid #059669 !important;
  color: #FFFFFF !important;
  border-radius: 9px !important;
  font-family: var(--ab-v2-font-sans) !important;
  font-weight: 700 !important;
  box-shadow: 0 1px 2px rgba(5, 150, 105, 0.24) !important;
  transition: transform 0.14s ease, opacity 0.14s ease !important;
}
html[data-theme="dark"] .ab-pbtn-buy,
html[data-theme="dark"] .btn-order,
html[data-theme="dark"] .ab-v2-btn-emerald,
html[data-theme="dark"] .ab-seo-cta-btn,
html[data-theme="dark"] .ab-wallet-pill-add {
  background: #10B981 !important;
  border-color: #10B981 !important;
  color: #04130D !important;
  font-weight: 800 !important;
}
.ab-pbtn-buy:hover,
.btn-order:hover,
.ab-v2-btn-emerald:hover,
.ab-seo-cta-btn:hover,
.ab-wallet-pill-add:hover {
  opacity: 0.94;
  transform: translateY(-1px) !important;
}
.ab-pbtn-info,
.ab-v2-btn-secondary {
  background: var(--ab-v2-card) !important;
  border: 1px solid var(--ab-v2-border-strong) !important;
  color: var(--ab-v2-text-primary) !important;
  border-radius: 9px !important;
  box-shadow: none !important;
  font-weight: 600 !important;
  transition: transform 0.14s ease, opacity 0.14s ease !important;
}
.ab-pbtn-info:hover,
.ab-v2-btn-secondary:hover {
  background: var(--ab-v2-inset) !important;
}

/* GPU-Composited Ambient Animations (Transform & Opacity Only) */
@keyframes abV2PulseOpacity {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.92); }
}
@keyframes abObsidianMeshDrift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.85; }
  50% { transform: translate3d(-1.5%, 1.5%, 0) scale(1.04); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.ab-online-dot,
.ab-dot-live,
.ab-v2-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #10B981 !important;
  display: inline-block;
  flex-shrink: 0;
  animation: abV2PulseOpacity 2.2s ease-in-out infinite;
}

/* ==========================================================================
   2. LIVE ESCROW PULSE STRIP + COMMAND SEARCH (⌘K / /) + THEME TOGGLE
   ========================================================================== */
.ab-v2-pulse-strip {
  background: #0B1324;
  color: #E2E8F0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.3;
  position: relative;
  z-index: 1035;
}
html[data-theme="dark"] .ab-v2-pulse-strip {
  background: #040810;
}
.ab-v2-pulse-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 6px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.ab-v2-pulse-items {
  display: flex;
  align-items: center;
  gap: 14px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}
.ab-v2-pulse-items::-webkit-scrollbar { display: none; }
.ab-v2-pulse-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #CBD5E1;
}
.ab-v2-pulse-chip strong { color: #FFFFFF; font-weight: 700; }
.ab-v2-pulse-chip .ab-escrow-ico { color: #10B981; }
.ab-v2-pulse-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.ab-v2-kbd-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.24);
  color: #F8FAFC;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}
.ab-v2-kbd-tag {
  font-family: var(--ab-v2-font-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(6, 11, 20, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.28);
  color: #CBD5E1;
}

.ab-v2-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 34px;
  padding: 0 11px;
  border-radius: 9px;
  border: 1px solid var(--ab-v2-border-strong);
  background: var(--ab-v2-card);
  color: var(--ab-v2-text-primary);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}
html:not([data-theme="dark"]) .ab-v2-theme-toggle .ab-ico-sun { display: none; }
html:not([data-theme="dark"]) .ab-v2-theme-toggle .ab-ico-moon { display: inline-flex; color: #0F172A; }
html[data-theme="dark"] .ab-v2-theme-toggle .ab-ico-moon { display: none; }
html[data-theme="dark"] .ab-v2-theme-toggle .ab-ico-sun { display: inline-flex; color: #FBBF24; }

.ab-hdr-search, .ab-seo-search { position: relative; }
.ab-search-kbd-hint {
  position: absolute;
  right: 92px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--ab-v2-font-mono);
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 5px;
  background: var(--ab-v2-inset);
  border: 1px solid var(--ab-v2-border);
  color: var(--ab-v2-text-muted);
  pointer-events: none;
}
@media (max-width: 991px) {
  .ab-search-kbd-hint { display: none; }
}

.ab-v2-cmd-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(6, 11, 20, 0.72);
  backdrop-filter: blur(4px);
  z-index: 100090;
  align-items: flex-start;
  justify-content: center;
  padding: 64px 16px 24px;
}
.ab-v2-cmd-backdrop.is-open { display: flex; }
.ab-v2-cmd-modal {
  width: 100%;
  max-width: 680px;
  background: var(--ab-v2-popover);
  border: 1px solid var(--ab-v2-border-strong);
  border-radius: 16px;
  box-shadow: var(--ab-v2-shadow-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: calc(100dvh - 96px);
}
.ab-v2-cmd-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--ab-v2-border);
  background: var(--ab-v2-card);
}
.ab-v2-cmd-input {
  flex: 1;
  border: none !important;
  outline: none !important;
  background: transparent !important;
  color: var(--ab-v2-text-primary) !important;
  font-size: 14.5px;
  font-weight: 600;
}
.ab-v2-cmd-body {
  overflow-y: auto;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ab-v2-cmd-group-title {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ab-v2-text-muted);
  margin-bottom: 6px;
  padding: 0 4px;
}
.ab-v2-cmd-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
  text-decoration: none !important;
  color: var(--ab-v2-text-primary) !important;
}
.ab-v2-cmd-row:hover {
  background: var(--ab-v2-inset);
  border-color: var(--ab-v2-border);
}

/* ==========================================================================
   3. 9-PILLAR STICKY RIBBON + SLIM UTILITY BAR + DEDICATED VERTICAL HERO
   ========================================================================== */
.ab-v2-pillar-bar-wrap {
  position: sticky;
  top: 62px;
  z-index: 1020;
  background: var(--ab-v2-card);
  border-bottom: 1px solid var(--ab-v2-border);
  box-shadow: var(--ab-v2-shadow-xs);
}
.ab-v2-pillar-bar {
  max-width: 1360px;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 7px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}
.ab-v2-pillar-bar::-webkit-scrollbar { display: none; }
.ab-v2-pillar-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 35px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid var(--ab-v2-border);
  background: var(--ab-v2-inset);
  color: var(--ab-v2-text-primary);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  text-decoration: none !important;
  transition: transform 0.14s ease, opacity 0.14s ease;
}
.ab-v2-pillar-pill:hover {
  border-color: var(--ab-v2-border-strong);
}
.ab-v2-pillar-pill.active {
  background: #0F172A !important;
  border-color: #0F172A !important;
  color: #FFFFFF !important;
}
html[data-theme="dark"] .ab-v2-pillar-pill.active {
  background: #10B981 !important;
  border-color: #10B981 !important;
  color: #04130D !important;
}
.ab-v2-pillar-cnt {
  font-family: var(--ab-v2-font-mono);
  font-size: 10.5px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.18);
  color: inherit;
}
.ab-v2-pillar-pill.active .ab-v2-pillar-cnt {
  background: rgba(255, 255, 255, 0.22);
  color: inherit;
}
.ab-v2-pillar-soon {
  font-size: 10px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--ab-v2-emerald-soft);
  color: var(--ab-v2-emerald);
  border: 1px solid var(--ab-v2-emerald-border);
}

/* Slim Utility Bar (Mobile & Desktop Quick Controls + Accurate Live Counter) */
.ab-v2-slim-utility-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  margin-bottom: 14px;
  background: var(--ab-v2-card);
  border: 1px solid var(--ab-v2-border);
  border-radius: 12px;
  box-shadow: var(--ab-v2-shadow-xs);
}
.ab-v2-slim-left {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: nowrap;
  min-width: 0;
}
.ab-v2-util-btn {
  height: 34px;
  padding: 0 12px;
  border-radius: 9px;
  border: 1px solid var(--ab-v2-border-strong);
  background: var(--ab-v2-inset);
  color: var(--ab-v2-text-primary);
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  white-space: nowrap;
}
.ab-v2-util-btn.is-active {
  background: var(--ab-v2-emerald-soft);
  border-color: var(--ab-v2-emerald-border);
  color: var(--ab-v2-emerald);
}

/* Dedicated Vertical Destination Hero (`/?vertical=<slug>`) */
.ab-v2-vert-dest {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ab-v2-vert-hero {
  position: relative;
  min-height: 196px;
  border-radius: 18px;
  padding: 22px 24px;
  background: linear-gradient(135deg, #060B14 0%, #0D1526 55%, var(--vert-accent-dark, #09352C) 100%);
  border: 1px solid rgba(148, 163, 184, 0.24);
  color: #F8FAFC !important;
  overflow: hidden;
  box-shadow: var(--ab-v2-shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}
.ab-v2-vert-hero::before {
  content: '';
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at 82% 24%, var(--vert-glow, rgba(16, 185, 129, 0.28)), transparent 48%),
              radial-gradient(circle at 18% 88%, rgba(56, 189, 248, 0.14), transparent 45%);
  pointer-events: none;
  animation: abObsidianMeshDrift 14s ease-in-out infinite;
}
.ab-v2-vert-crumb {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: #94A3B8;
}
.ab-v2-vert-crumb button,
.ab-v2-vert-crumb a {
  background: none;
  border: none;
  padding: 0;
  color: #34D399 !important;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  font-size: 11.5px;
}
.ab-v2-vert-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.ab-v2-frosted-stat {
  background: rgba(13, 21, 38, 0.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 10px 13px;
}
.ab-v2-frosted-stat-lbl {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #94A3B8;
}
.ab-v2-frosted-stat-val {
  font-family: var(--ab-v2-font-mono);
  font-size: 18px;
  font-weight: 800;
  color: #FFFFFF !important;
  margin-top: 3px;
  font-variant-numeric: tabular-nums;
}
.ab-v2-subvert-strip {
  display: flex;
  align-items: center;
  gap: 7px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  padding: 2px 0;
}
.ab-v2-subvert-strip::-webkit-scrollbar { display: none; }

/* Bento / Artwork Brand Spotlight Grid */
.ab-v2-bento-section { margin-bottom: 16px; }
.ab-v2-bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 10px;
}
.ab-v2-brand-card {
  position: relative;
  min-height: 116px;
  aspect-ratio: 16 / 9;
  border-radius: 13px;
  padding: 13px 14px;
  background: linear-gradient(140deg, #060B14 0%, #0D1526 55%, #16263F 100%);
  border: 1px solid rgba(148, 163, 184, 0.24);
  color: #F8FAFC !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  overflow: hidden;
  text-decoration: none !important;
  transition: transform 0.16s ease, opacity 0.16s ease;
}
.ab-v2-brand-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 88% 18%, rgba(16, 185, 129, 0.25), transparent 52%);
  pointer-events: none;
}
.ab-v2-brand-card:hover {
  transform: translateY(-2px);
  border-color: rgba(16, 185, 129, 0.6);
}
.ab-v2-brand-card.is-selected {
  border-color: #10B981 !important;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.4);
}
.ab-v2-brand-emblem {
  width: 34px;
  height: 34px;
  aspect-ratio: 1 / 1;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: #FFFFFF;
  flex-shrink: 0;
}

/* ==========================================================================
   4. PRODUCT CARD VISUAL ARTWORK BANNER UPGRADE (TASK 4 — 118PX ART HEADER)
   ========================================================================== */
.ab-offers-art-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(276px, 1fr)) !important;
  gap: 14px !important;
}

article.ab-pcard.has-art-banner {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  padding: 0 !important;
  border-radius: 14px !important;
  border: 1px solid var(--ab-v2-border) !important;
  background: var(--ab-v2-card) !important;
  overflow: hidden !important;
  box-shadow: var(--ab-v2-shadow-xs) !important;
  transition: transform 0.16s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.16s ease !important;
}
@media (hover: hover) {
  article.ab-pcard.has-art-banner:hover {
    transform: translateY(-2px) !important;
    border-color: var(--ab-v2-emerald-border) !important;
    box-shadow: var(--ab-v2-shadow-sm) !important;
  }
}

.ab-pcard-art-banner {
  position: relative;
  height: 116px;
  min-height: 116px;
  max-height: 116px;
  width: 100%;
  overflow: hidden;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(135deg, #060B14 0%, #0D1F33 60%, #0A362B 100%);
  color: #FFFFFF;
}
.ab-pcard-art-banner[data-art="facebook"]  { background: linear-gradient(135deg, #061024 0%, #0D295C 58%, #1D4ED8 100%); }
.ab-pcard-art-banner[data-art="instagram"] { background: linear-gradient(135deg, #170926 0%, #581C5C 55%, #9A3412 100%); }
.ab-pcard-art-banner[data-art="tiktok"]    { background: linear-gradient(135deg, #060B14 0%, #0F2B38 52%, #4C0D34 100%); }
.ab-pcard-art-banner[data-art="twitter"]   { background: linear-gradient(135deg, #05080F 0%, #111C2E 58%, #1E293B 100%); }
.ab-pcard-art-banner[data-art="google"]    { background: linear-gradient(135deg, #071921 0%, #0E3442 58%, #047857 100%); }
.ab-pcard-art-banner[data-art="warzone"]   { background: linear-gradient(135deg, #0A110C 0%, #1C2D19 58%, #365314 100%); }
.ab-pcard-art-banner[data-art="valorant"]  { background: linear-gradient(135deg, #160810 0%, #3F1020 58%, #881337 100%); }
.ab-pcard-art-banner[data-art="cs2"]       { background: linear-gradient(135deg, #0B1220 0%, #241F12 58%, #78350F 100%); }
.ab-pcard-art-banner[data-art="fortnite"]  { background: linear-gradient(135deg, #0D102B 0%, #261C63 58%, #4338CA 100%); }
.ab-pcard-art-banner[data-art="ai"]        { background: linear-gradient(135deg, #05161B 0%, #0F313D 58%, #0D9488 100%); }
.ab-pcard-art-banner[data-art="proxy"]     { background: linear-gradient(135deg, #051322 0%, #0C2F4D 58%, #0284C7 100%); }
.ab-pcard-art-banner[data-art="smm"]       { background: linear-gradient(135deg, #100D28 0%, #1E1B4B 55%, #065F46 100%); }

.ab-pcard-art-svg {
  position: absolute;
  right: -8px;
  bottom: -10px;
  width: 148px;
  height: 118px;
  opacity: 0.28;
  pointer-events: none;
}

.ab-pcard-glass-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(6, 11, 20, 0.56);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #F8FAFC !important;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.2;
  z-index: 2;
}
.ab-pcard-glass-pill.is-escrow {
  border-color: rgba(52, 211, 153, 0.42);
  color: #6EE7B7 !important;
}
.ab-pcard-glass-pill.is-fulfill {
  background: rgba(16, 185, 129, 0.22);
  border-color: rgba(52, 211, 153, 0.48);
  color: #ECFDF5 !important;
}
.ab-pcard-glass-pill.is-live-trade {
  background: rgba(245, 158, 11, 0.24);
  border-color: rgba(251, 191, 36, 0.48);
  color: #FEF3C7 !important;
}

.ab-pcard-body {
  padding: 13px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  justify-content: space-between;
}
.ab-pcard-title {
  font-family: var(--ab-v2-font-display) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  color: var(--ab-v2-text-primary) !important;
  text-decoration: none !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 37px;
}
.ab-pcard-title:hover { color: var(--ab-v2-emerald) !important; }

.ab-pcard-spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  background: var(--ab-v2-inset);
  border: 1px solid var(--ab-v2-border);
  border-radius: 9px;
  padding: 7px 8px;
}
.ab-pcard-spec-cell {
  font-size: 11px;
  font-weight: 600;
  color: var(--ab-v2-text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  gap: 4px;
}
.ab-pcard-spec-cell strong {
  color: var(--ab-v2-text-primary);
  font-weight: 700;
}

.ab-pcard-seller-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 11.5px;
  padding-top: 2px;
}
.ab-pcard-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 9px;
  border-top: 1px solid var(--ab-v2-border);
}

/* Hybrid 2-Column Catalog Shell */
.ab-v2-hybrid-shell {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.ab-v2-hybrid-shell.is-tree-collapsed { grid-template-columns: minmax(0, 1fr); }
.ab-v2-hybrid-shell.is-tree-collapsed .ab-v2-left-tree { display: none; }
.ab-v2-left-tree {
  position: sticky;
  top: 118px;
  background: var(--ab-v2-card);
  border: 1px solid var(--ab-v2-border);
  border-radius: 13px;
  padding: 12px;
  max-height: calc(100vh - 136px);
  overflow-y: auto;
}
.ab-v2-tree-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 9px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ab-v2-text-secondary);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}
.ab-v2-tree-btn:hover { background: var(--ab-v2-inset); color: var(--ab-v2-text-primary); }
.ab-v2-tree-btn.active {
  background: var(--ab-v2-emerald-soft);
  border-color: var(--ab-v2-emerald-border);
  color: var(--ab-v2-emerald);
  font-weight: 700;
}

/* Faceted Filter Pills & Fulfillment Badges */
.ab-v2-facet-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  background: var(--ab-v2-card);
  border: 1px solid var(--ab-v2-border);
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 12px;
}
.ab-v2-facet-pills {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}
.ab-v2-facet-pills::-webkit-scrollbar { display: none; }
.ab-v2-facet-pill {
  height: 32px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid var(--ab-v2-border);
  background: var(--ab-v2-inset);
  color: var(--ab-v2-text-secondary);
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  flex-shrink: 0;
}
.ab-v2-facet-pill.active {
  background: #0F172A;
  border-color: #0F172A;
  color: #FFFFFF;
  font-weight: 700;
}
html[data-theme="dark"] .ab-v2-facet-pill.active {
  background: #10B981;
  border-color: #10B981;
  color: #04130D;
}

.ab-v2-fulfill-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
}
.ab-v2-fulfill-badge.is-instant {
  background: var(--ab-v2-emerald-soft);
  border: 1px solid var(--ab-v2-emerald-border);
  color: var(--ab-v2-emerald);
}
.ab-v2-fulfill-badge.is-live {
  background: var(--ab-v2-amber-soft);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: var(--ab-v2-amber);
}
.ab-v2-tier-shield {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 10.5px;
  font-weight: 700;
  background: var(--ab-v2-inset);
  border: 1px solid var(--ab-v2-border);
  color: var(--ab-v2-text-primary);
}

/* Slide-Over Checkout & Escrow Drawers */
.ab-v2-drawer-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(6, 11, 20, 0.65);
  backdrop-filter: blur(3px);
  z-index: 100080;
  justify-content: flex-end;
  align-items: stretch;
}
.ab-v2-drawer-backdrop.is-open { display: flex; }
.ab-v2-drawer-panel {
  width: 100%;
  max-width: 490px;
  height: 100%;
  background: var(--ab-v2-popover);
  border-left: 1px solid var(--ab-v2-border-strong);
  box-shadow: var(--ab-v2-shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.ab-v2-escrow-3step {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  background: var(--ab-v2-emerald-soft);
  border: 1px solid var(--ab-v2-emerald-border);
  border-radius: 11px;
  padding: 9px 10px;
}
.ab-v2-escrow-step {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 10.5px;
  line-height: 1.3;
  color: var(--ab-v2-text-primary);
}
.ab-v2-escrow-step strong { color: var(--ab-v2-emerald); font-weight: 800; font-size: 11px; }

.ab-v2-stepper-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  padding: 8px 14px;
  background: var(--ab-v2-canvas);
  border-bottom: 1px solid var(--ab-v2-border);
}
.ab-v2-s4-node {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border-radius: 8px;
  border: 1px solid var(--ab-v2-border);
  background: var(--ab-v2-card);
  font-size: 11px;
  font-weight: 700;
  color: var(--ab-v2-text-muted);
}
.ab-v2-s4-node.is-done {
  border-color: var(--ab-v2-emerald-border);
  background: var(--ab-v2-emerald-soft);
  color: var(--ab-v2-emerald);
}
.ab-v2-s4-node.is-active {
  border-color: #10B981;
  background: #0D1526;
  color: #FFFFFF;
}

/* ==========================================================================
   5. COMPLETE WCAG OBSIDIAN DARK MODE OVERRIDES (ZERO HIDDEN TEXT OR CONTROLS)
   ========================================================================== */
html[data-theme="dark"] header.header-part,
html[data-theme="dark"] .ab-shopify-header,
html[data-theme="dark"] .ab-seo-header,
html[data-theme="dark"] .oc-topbar,
html[data-theme="dark"] .app-header {
  background: rgba(13, 21, 38, 0.96) !important;
  border-bottom-color: var(--ab-v2-border) !important;
  color: var(--ab-v2-text-primary) !important;
}

html[data-theme="dark"] .navbar-part,
html[data-theme="dark"] .ab-subnav-bar,
html[data-theme="dark"] .ab-seo-ribbon-shell,
html[data-theme="dark"] .ab-platform-strip-shell,
html[data-theme="dark"] .ab-cat-ribbon-wrap,
html[data-theme="dark"] .ab-v2-pillar-bar-wrap {
  background: #09101E !important;
  border-color: var(--ab-v2-border) !important;
}

html[data-theme="dark"] .ab-pcard,
html[data-theme="dark"] .ab-pdp-card,
html[data-theme="dark"] .ab-checkout-card,
html[data-theme="dark"] .ab-filter-toolbar,
html[data-theme="dark"] .ab-seller-banner-card,
html[data-theme="dark"] .ab-dir-hero,
html[data-theme="dark"] .ab-seo-card,
html[data-theme="dark"] .ab-offer-row,
html[data-theme="dark"] .ab-cat-dir-card,
html[data-theme="dark"] .ab-store-dir-card,
html[data-theme="dark"] .ab-shop-mini-card,
html[data-theme="dark"] .product-plan-card,
html[data-theme="dark"] .card,
html[data-theme="dark"] .card.custom-card,
html[data-theme="dark"] .bg-white,
html[data-theme="dark"] .ab-menu-item,
html[data-theme="dark"] .ab-plat-group {
  background-color: var(--ab-v2-card) !important;
  border-color: var(--ab-v2-border) !important;
  color: var(--ab-v2-text-primary) !important;
}

html[data-theme="dark"] .bg-slate-50,
html[data-theme="dark"] .bg-slate-100,
html[data-theme="dark"] .ab-seller-kpi-card,
html[data-theme="dark"] .ab-pdp-spec-item,
html[data-theme="dark"] .ab-seller-mini-card,
html[data-theme="dark"] .ab-price-summary-box,
html[data-theme="dark"] .ab-coupon-box,
html[data-theme="dark"] .ab-submenu-panel,
html[data-theme="dark"] .ab-plat-children,
html[data-theme="dark"] .ab-subcat-link {
  background-color: var(--ab-v2-inset) !important;
  border-color: var(--ab-v2-border) !important;
  color: var(--ab-v2-text-primary) !important;
}

html[data-theme="dark"] .ab-drawer-panel,
html[data-theme="dark"] .nav-sidebar,
html[data-theme="dark"] .category-sidebar,
html[data-theme="dark"] .cart-sidebar.recharge-sidebar,
html[data-theme="dark"] .ab-qcat-menu,
html[data-theme="dark"] .sknav-dropdown,
html[data-theme="dark"] .header-dropdown-menu,
html[data-theme="dark"] #ab-notif-dropdown {
  background-color: var(--ab-v2-popover) !important;
  border-color: var(--ab-v2-border-strong) !important;
  color: var(--ab-v2-text-primary) !important;
}

html[data-theme="dark"] .ab-drawer-top,
html[data-theme="dark"] .ab-drawer-scroll,
html[data-theme="dark"] #ab-drw-body,
html[data-theme="dark"] #ab-drw-footer,
html[data-theme="dark"] #ab-notif-list {
  background-color: var(--ab-v2-card) !important;
  border-color: var(--ab-v2-border) !important;
  color: var(--ab-v2-text-primary) !important;
}

/* Catch Legacy Inline Light Styles Inside Drawers, Cards & Notices */
html[data-theme="dark"] .ab-store [style*="background:#FFFFFF"],
html[data-theme="dark"] #ab-inspect-drawer [style*="background:#FFFFFF"],
html[data-theme="dark"] .recharge-sidebar [style*="background:#FFFFFF"],
html[data-theme="dark"] .ab-qcat-menu [style*="background:#FFFFFF"] {
  background-color: var(--ab-v2-inset) !important;
  border-color: var(--ab-v2-border) !important;
}
html[data-theme="dark"] .ab-store [style*="background:#F8FAFC"],
html[data-theme="dark"] #ab-inspect-drawer [style*="background:#F8FAFC"],
html[data-theme="dark"] .recharge-sidebar [style*="background:#F8FAFC"] {
  background-color: var(--ab-v2-canvas) !important;
  border-color: var(--ab-v2-border) !important;
}
html[data-theme="dark"] .ab-store [style*="color:#0F172A"],
html[data-theme="dark"] #ab-inspect-drawer [style*="color:#0F172A"],
html[data-theme="dark"] .recharge-sidebar [style*="color:#0F172A"],
html[data-theme="dark"] .nav-sidebar [style*="color:#0F172A"],
html[data-theme="dark"] .category-sidebar [style*="color:#0F172A"],
html[data-theme="dark"] .ab-qcat-menu [style*="color:#0F172A"] {
  color: #F8FAFC !important;
}
html[data-theme="dark"] .ab-store [style*="color:#334155"],
html[data-theme="dark"] .ab-store [style*="color:#475569"],
html[data-theme="dark"] #ab-inspect-drawer [style*="color:#334155"],
html[data-theme="dark"] #ab-inspect-drawer [style*="color:#64748B"] {
  color: #CBD5E1 !important;
}

html[data-theme="dark"] .text-slate-900,
html[data-theme="dark"] .text-slate-800,
html[data-theme="dark"] .ab-offer-title,
html[data-theme="dark"] .ab-unit-price,
html[data-theme="dark"] .ab-pdp-title,
html[data-theme="dark"] .ab-pdp-spec-v,
html[data-theme="dark"] .sknav-link,
html[data-theme="dark"] .ab-menu-row,
html[data-theme="dark"] .ab-plat-head,
html[data-theme="dark"] .ab-seller-chip-name,
html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3,
html[data-theme="dark"] h4 {
  color: #F8FAFC !important;
}

html[data-theme="dark"] .text-slate-700,
html[data-theme="dark"] .text-slate-600,
html[data-theme="dark"] .text-slate-500,
html[data-theme="dark"] .ab-offer-snippet,
html[data-theme="dark"] .ab-pdp-spec-k,
html[data-theme="dark"] .ab-unit-lbl,
html[data-theme="dark"] #productDescriptionText {
  color: #CBD5E1 !important;
}

/* Native Inputs, Selects, Options & Placeholders in Obsidian Mode */
html[data-theme="dark"] input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
html[data-theme="dark"] select,
html[data-theme="dark"] textarea,
html[data-theme="dark"] .header-form,
html[data-theme="dark"] .ab-select-wrap {
  background-color: #131E34 !important;
  border-color: var(--ab-v2-border-strong) !important;
  color: #F8FAFC !important;
}
html[data-theme="dark"] select option {
  background-color: #0D1526 !important;
  color: #F8FAFC !important;
}
html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder {
  color: #94A3B8 !important;
  opacity: 1 !important;
}

html[data-theme="dark"] .ab-hdr-link-pill,
html[data-theme="dark"] .ab-hdr-icon-btn,
html[data-theme="dark"] .ab-qcat-btn,
html[data-theme="dark"] .ab-cat-tab:not(.active),
html[data-theme="dark"] .ab-qpill:not(.active),
html[data-theme="dark"] .ab-chip-btn:not(.active),
html[data-theme="dark"] .ab-spec-tag,
html[data-theme="dark"] .ab-stock-pill,
html[data-theme="dark"] .ab-rating-pill,
html[data-theme="dark"] .ab-drawer-close {
  background-color: #131E34 !important;
  border-color: var(--ab-v2-border) !important;
  color: #E2E8F0 !important;
}

html[data-theme="dark"] .ab-verified-pill {
  background-color: rgba(16, 185, 129, 0.16) !important;
  border-color: rgba(52, 211, 153, 0.36) !important;
  color: #6EE7B7 !important;
}

/* ==========================================================================
   6. DECLUTTERED MOBILE DISCOVERY HEADER + SLIDE-UP FILTER SHEET (<= 768px)
   ========================================================================== */
.ab-v2-mobile-nav,
.ab-mobile-sheet-backdrop,
.ab-only-mobile-flex {
  display: none;
}

@media (max-width: 991px) {
  .ab-v2-hybrid-shell {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .ab-v2-left-tree {
    display: none !important;
  }
  .ab-v2-pillar-bar-wrap {
    top: 56px;
  }
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
  }
  body {
    padding-bottom: 72px !important;
  }
  .mobile-menu,
  .ab-v2-pulse-strip,
  .ab-subnav-bar,
  .navbar-part,
  header.header-part .header-search-wrapper.ab-hdr-search,
  .ab-cat-ribbon-wrap.ab-platform-strip-shell,
  .ab-v2-facet-strip {
    display: none !important;
  }

  /* Single Crisp Sticky Top Bar on Mobile */
  header.header-part.ab-shopify-header {
    padding: 8px 10px !important;
  }
  header.header-part .header-logo img,
  .ab-shopify-header .header-logo img {
    height: 30px !important;
    max-height: 32px !important;
    max-width: 136px !important;
  }
  header.header-part .header-src {
    display: inline-flex !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 9px !important;
    align-items: center !important;
    justify-content: center !important;
    background: var(--ab-v2-inset) !important;
    border: 1px solid var(--ab-v2-border) !important;
    color: var(--ab-v2-text-primary) !important;
  }
  .ab-wallet-pill-add span {
    display: none !important;
  }
  .ab-v2-pillar-bar-wrap {
    top: 50px !important;
  }
  .ab-only-mobile-flex {
    display: inline-flex !important;
  }

  /* Transform Bloated 6-Box Filter Block into Slide-Up Bottom Sheet on Mobile */
  .ab-filter-toolbar {
    display: none !important;
  }
  .ab-filter-toolbar.is-mobile-sheet-open {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 100085 !important;
    max-height: 82dvh !important;
    overflow-y: auto !important;
    margin: 0 !important;
    padding: 18px 16px 28px !important;
    border-radius: 20px 20px 0 0 !important;
    background: var(--ab-v2-popover) !important;
    border-top: 1px solid var(--ab-v2-border-strong) !important;
    box-shadow: 0 -20px 48px rgba(6, 11, 20, 0.45) !important;
  }
  .ab-mobile-sheet-backdrop.is-open {
    display: block !important;
    position: fixed;
    inset: 0;
    background: rgba(6, 11, 20, 0.6);
    backdrop-filter: blur(2px);
    z-index: 100084;
  }

  .ab-v2-vert-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }
  .ab-v2-frosted-stat {
    padding: 8px 9px;
  }
  .ab-v2-frosted-stat-val {
    font-size: 14.5px;
  }

  /* Sticky 5-Tab Mobile Bottom Navigation */
  .ab-v2-mobile-nav {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 62px;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: var(--ab-v2-card);
    border-top: 1px solid var(--ab-v2-border);
    box-shadow: 0 -8px 24px rgba(6, 11, 20, 0.12);
    z-index: 100040;
  }
  .ab-v2-mob-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    background: transparent;
    border: none;
    color: var(--ab-v2-text-muted);
    font-size: 10.5px;
    font-weight: 700;
    text-decoration: none !important;
    cursor: pointer;
    padding: 4px 2px;
  }
  .ab-v2-mob-item i { font-size: 15px; }
  .ab-v2-mob-item.active { color: var(--ab-v2-emerald) !important; }

  #ab-support-root {
    bottom: 74px !important;
    right: 12px !important;
  }
  #ab-staging-preview-badge {
  position: fixed !important;
  left: 50% !important;
  right: auto !important;
  top: 4px !important;
  bottom: auto !important;
  transform: translateX(-50%) !important;
  width: max-content !important;
  height: 22px !important;
  font-size: 10.5px !important;
  padding: 0 8px !important;
  opacity: 0.96 !important;
  z-index: 99999 !important;
}
  .ab-v2-drawer-backdrop { align-items: flex-end; }
  .ab-v2-drawer-panel {
    max-width: 100% !important;
    height: 92dvh !important;
    border-left: none !important;
    border-top: 1px solid var(--ab-v2-border-strong);
    border-radius: 18px 18px 0 0;
  }
  .ab-v2-bento-grid {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .ab-v2-bento-grid::-webkit-scrollbar { display: none; }
  .ab-v2-brand-card {
    min-width: 215px;
    flex-shrink: 0;
  }
  .ab-v2-stepper-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ==========================================================================
   SPRINT 4.6: SINGLE-ROW HEADER, HOME DISCOVERY & COLLISION-FREE UTILITY BAR
   ========================================================================== */

/* 1. Strict Single-Row Sticky Header (56px Mobile / 64px Desktop — ZERO WRAPPING) */
header.header-part.ab-shopify-header.ab-s46-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 1035 !important;
  padding: 0 !important;
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid var(--ab-v2-border) !important;
}
html[data-theme="dark"] header.header-part.ab-shopify-header.ab-s46-header {
  background: rgba(13, 21, 38, 0.96) !important;
  border-bottom-color: var(--ab-v2-border) !important;
}

header.ab-s46-header .ab-hdr-container {
  max-width: 1360px !important;
  margin: 0 auto !important;
  padding: 0 16px !important;
}

header.ab-s46-header .ab-hdr-main {
  height: 64px !important;
  min-height: 64px !important;
  max-height: 64px !important;
  padding: 0 !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  overflow: visible !important;
}

header.ab-s46-header .ab-hdr-left {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-shrink: 0 !important;
}

/* Hamburger hidden on Desktop >= 992px (desktop uses subnav), visible < 992px */
@media (min-width: 992px) {
  header.ab-s46-header .ab-s46-hamburger {
    display: none !important;
  }
}

/* Desktop Center Command Search (>= 992px ONLY — strictly hidden on mobile/tablet!) */
header.ab-s46-header .ab-s46-desktop-search {
  flex: 1 1 320px !important;
  min-width: 200px !important;
  max-width: 520px !important;
  position: relative !important;
}
@media (max-width: 991px) {
  header.ab-s46-header .ab-s46-desktop-search {
    display: none !important;
  }
}

.ab-s46-cmd-form {
  height: 38px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 0 6px 0 12px !important;
  border-radius: 10px !important;
  background: var(--ab-v2-inset) !important;
  border: 1px solid var(--ab-v2-border-strong) !important;
}
.ab-s46-cmd-form .ab-s46-search-ico {
  color: var(--ab-v2-text-muted);
  flex-shrink: 0;
}
.ab-s46-cmd-form input#searchInput {
  flex: 1 !important;
  min-width: 0 !important;
  height: 100% !important;
  border: none !important;
  outline: none !important;
  background: transparent !important;
  color: var(--ab-v2-text-primary) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  padding: 0 !important;
}
.ab-s46-kbd-btn {
  height: 26px !important;
  padding: 0 8px !important;
  border-radius: 6px !important;
  background: var(--ab-v2-card) !important;
  border: 1px solid var(--ab-v2-border-strong) !important;
  color: var(--ab-v2-text-secondary) !important;
  font-family: var(--ab-v2-font-mono) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Right Header Controls: Strictly Single-Line, Explicit SVG Icons, Zero Ghost Boxes */
header.ab-s46-header .ab-hdr-right {
  display: inline-flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 6px !important;
  flex-shrink: 0 !important;
}

.ab-s46-hdr-btn {
  width: 36px !important;
  height: 36px !important;
  border-radius: 9px !important;
  background: var(--ab-v2-inset) !important;
  border: 1px solid var(--ab-v2-border) !important;
  color: var(--ab-v2-text-primary) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  transition: background 0.14s ease, border-color 0.14s ease !important;
}
.ab-s46-hdr-btn:hover {
  border-color: var(--ab-v2-border-strong) !important;
  background: var(--ab-v2-card-hover) !important;
}

.ab-s46-wallet-pill {
  height: 36px !important;
  padding: 0 4px 0 10px !important;
  border-radius: 999px !important;
  background: var(--ab-v2-inset) !important;
  border: 1px solid var(--ab-v2-border-strong) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}
.ab-s46-wallet-pill .ab-wallet-pill-bal {
  font-family: var(--ab-v2-font-mono) !important;
  font-size: 12.5px !important;
  font-weight: 800 !important;
  color: var(--ab-v2-text-primary) !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}
.ab-s46-wallet-pill .ab-wallet-pill-add {
  width: 26px !important;
  height: 26px !important;
  min-width: 26px !important;
  padding: 0 !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
}

.ab-s46-profile {
  height: 36px !important;
  padding: 0 10px 0 4px !important;
  border-radius: 999px !important;
  background: var(--ab-v2-inset) !important;
  border: 1px solid var(--ab-v2-border) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  text-decoration: none !important;
  color: var(--ab-v2-text-primary) !important;
  flex-shrink: 0 !important;
}
.ab-s46-profile img {
  width: 28px !important;
  height: 28px !important;
  border-radius: 999px !important;
  object-fit: cover !important;
}
.ab-s46-signin {
  height: 36px !important;
  padding: 0 14px !important;
  border-radius: 9px !important;
  background: #059669 !important;
  border: 1px solid #059669 !important;
  color: #FFFFFF !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
html[data-theme="dark"] .ab-s46-signin {
  background: #10B981 !important;
  border-color: #10B981 !important;
  color: #04130D !important;
  font-weight: 800 !important;
}

/* 2. Restored Marketplace Home Discovery Section */
.ab-s46-home-discovery {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 16px;
}

.ab-s46-hero-search-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ab-s46-search-bar-wrap {
  position: relative;
}

.ab-s46-search-bar {
  height: 46px;
  border-radius: 12px;
  background: var(--ab-v2-card);
  border: 1px solid var(--ab-v2-border-strong);
  box-shadow: var(--ab-v2-shadow-xs);
  padding: 0 8px 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ab-s46-search-bar:focus-within {
  border-color: var(--ab-v2-emerald);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.14);
}
.ab-s46-search-lead {
  color: var(--ab-v2-emerald);
  flex-shrink: 0;
}
.ab-s46-search-bar input#ab-home-hero-search {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: none !important;
  outline: none !important;
  background: transparent !important;
  color: var(--ab-v2-text-primary) !important;
  font-size: 14px;
  font-weight: 500;
}
.ab-s46-kbd-chip {
  height: 28px;
  padding: 0 9px;
  border-radius: 7px;
  background: var(--ab-v2-inset);
  border: 1px solid var(--ab-v2-border);
  color: var(--ab-v2-text-secondary);
  font-family: var(--ab-v2-font-mono);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
}

.ab-s46-search-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 1030;
  background: var(--ab-v2-popover);
  border: 1px solid var(--ab-v2-border-strong);
  border-radius: 12px;
  box-shadow: var(--ab-v2-shadow-md);
  flex-direction: column;
  overflow: hidden;
}
.ab-s46-ac-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 13px;
  font-size: 12.5px;
  color: var(--ab-v2-text-primary) !important;
  text-decoration: none !important;
  border-bottom: 1px solid var(--ab-v2-border);
}
.ab-s46-ac-row:last-child { border-bottom: none; }
.ab-s46-ac-row:hover { background: var(--ab-v2-inset); }

.ab-s46-trust-strip {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ab-v2-text-secondary);
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0 2px;
}
.ab-s46-trust-strip::-webkit-scrollbar { display: none; }
.ab-s46-trust-strip strong {
  color: var(--ab-v2-text-primary);
  font-weight: 700;
}

/* 8 Interactive Vertical Gateway Tiles (4-Column Desktop / 2-Column Mobile) */
.ab-s46-sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 9px;
}
.ab-s46-sec-title {
  font-family: var(--ab-v2-font-display);
  font-size: 13.5px;
  font-weight: 800;
  color: var(--ab-v2-text-primary);
  letter-spacing: -0.01em;
}
.ab-s46-sec-cta {
  font-size: 12px;
  font-weight: 700;
  color: var(--ab-v2-emerald) !important;
  text-decoration: none !important;
  white-space: nowrap;
}

.ab-s46-verticals-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.ab-s46-vtile {
  background: var(--ab-v2-card);
  border: 1px solid var(--ab-v2-border);
  border-radius: 13px;
  padding: 12px 13px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  text-decoration: none !important;
  color: var(--ab-v2-text-primary) !important;
  box-shadow: var(--ab-v2-shadow-xs);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
@media (hover: hover) {
  .ab-s46-vtile:hover {
    transform: translateY(-2px);
    border-color: var(--ab-v2-emerald-border);
    box-shadow: var(--ab-v2-shadow-sm);
  }
}

.ab-s46-vtile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.ab-s46-vtile-ico {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ab-s46-vtile-ico[data-tone="blue"]    { background: rgba(59, 130, 246, 0.14); color: #2563EB; }
.ab-s46-vtile-ico[data-tone="indigo"]  { background: rgba(99, 102, 241, 0.14); color: #4F46E5; }
.ab-s46-vtile-ico[data-tone="amber"]   { background: rgba(245, 158, 11, 0.15); color: #D97706; }
.ab-s46-vtile-ico[data-tone="emerald"] { background: rgba(16, 185, 129, 0.15); color: #059669; }
.ab-s46-vtile-ico[data-tone="cyan"]    { background: rgba(14, 165, 233, 0.15); color: #0284C7; }
.ab-s46-vtile-ico[data-tone="teal"]    { background: rgba(20, 184, 166, 0.15); color: #0D9488; }
.ab-s46-vtile-ico[data-tone="rose"]    { background: rgba(244, 63, 94, 0.14);  color: #E11D48; }
.ab-s46-vtile-ico[data-tone="violet"]  { background: rgba(139, 92, 246, 0.15); color: #7C3AED; }

html[data-theme="dark"] .ab-s46-vtile-ico[data-tone="blue"]    { background: rgba(59, 130, 246, 0.2);  color: #60A5FA; }
html[data-theme="dark"] .ab-s46-vtile-ico[data-tone="indigo"]  { background: rgba(129, 140, 248, 0.2); color: #A5B4FC; }
html[data-theme="dark"] .ab-s46-vtile-ico[data-tone="amber"]   { background: rgba(251, 191, 36, 0.2);  color: #FCD34D; }
html[data-theme="dark"] .ab-s46-vtile-ico[data-tone="emerald"] { background: rgba(16, 185, 129, 0.22); color: #34D399; }
html[data-theme="dark"] .ab-s46-vtile-ico[data-tone="cyan"]    { background: rgba(56, 189, 248, 0.2);  color: #7DD3FC; }
html[data-theme="dark"] .ab-s46-vtile-ico[data-tone="teal"]    { background: rgba(45, 212, 191, 0.2);  color: #5EEAD4; }
html[data-theme="dark"] .ab-s46-vtile-ico[data-tone="rose"]    { background: rgba(251, 113, 133, 0.2); color: #FDA4AF; }
html[data-theme="dark"] .ab-s46-vtile-ico[data-tone="violet"]  { background: rgba(167, 139, 250, 0.2); color: #C4B5FD; }

.ab-s46-vtile-badge {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  white-space: nowrap;
}
.ab-s46-vtile-badge.is-live {
  background: var(--ab-v2-emerald-soft);
  border: 1px solid var(--ab-v2-emerald-border);
  color: var(--ab-v2-emerald);
}
.ab-s46-vtile-badge.is-launch {
  background: var(--ab-v2-inset);
  border: 1px solid var(--ab-v2-border);
  color: var(--ab-v2-text-secondary);
}

.ab-s46-vtile-title {
  font-family: var(--ab-v2-font-display);
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--ab-v2-text-primary);
}
.ab-s46-vtile-sub {
  font-size: 11px;
  color: var(--ab-v2-text-muted);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Rich Brand Artwork Gradients on Trending Brand Cards */
.ab-v2-brand-card[data-brand-art="facebook"]  { background: linear-gradient(135deg, #061024 0%, #0D295C 58%, #1D4ED8 100%); }
.ab-v2-brand-card[data-brand-art="instagram"] { background: linear-gradient(135deg, #170926 0%, #581C5C 55%, #9A3412 100%); }
.ab-v2-brand-card[data-brand-art="tiktok"]    { background: linear-gradient(135deg, #060B14 0%, #0F2B38 52%, #4C0D34 100%); }
.ab-v2-brand-card[data-brand-art="twitter"]   { background: linear-gradient(135deg, #05080F 0%, #111C2E 58%, #1E293B 100%); }
.ab-v2-brand-card[data-brand-art="warzone"]   { background: linear-gradient(135deg, #0A110C 0%, #1C2D19 58%, #365314 100%); }
.ab-v2-brand-card[data-brand-art="valorant"]  { background: linear-gradient(135deg, #160810 0%, #3F1020 58%, #881337 100%); }
.ab-v2-brand-card[data-brand-art="ai"]        { background: linear-gradient(135deg, #05161B 0%, #0F313D 58%, #0D9488 100%); }
.ab-v2-brand-card[data-brand-art="proxy"]     { background: linear-gradient(135deg, #051322 0%, #0C2F4D 58%, #0284C7 100%); }
.ab-v2-brand-card[data-brand-art="fortnite"]  { background: linear-gradient(135deg, #0D102B 0%, #261C63 58%, #4338CA 100%); }
.ab-v2-brand-card[data-brand-art="cs2"]       { background: linear-gradient(135deg, #0B1220 0%, #241F12 58%, #78350F 100%); }

.ab-v2-vert-mesh {
  position: absolute;
  right: -14px;
  bottom: -14px;
  width: 310px;
  height: 190px;
  pointer-events: none;
  z-index: 1;
}

/* 3. Collision-Free Single-Line Utility Bar + Dedicated Counter Sub-Line */
.ab-s46-utility-shell {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.ab-s46-utility-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  flex-wrap: nowrap !important;
  padding: 7px 9px !important;
  border-radius: 11px !important;
  background: var(--ab-v2-card) !important;
  border: 1px solid var(--ab-v2-border) !important;
  box-shadow: var(--ab-v2-shadow-xs) !important;
}

.ab-s46-util-left,
.ab-s46-util-right {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  flex-wrap: nowrap !important;
  flex-shrink: 0 !important;
}

.ab-s46-filter-btn,
.ab-s46-stock-pill {
  height: 34px;
  padding: 0 11px;
  border-radius: 8px;
  border: 1px solid var(--ab-v2-border-strong);
  background: var(--ab-v2-inset);
  color: var(--ab-v2-text-primary);
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}
.ab-s46-stock-pill.is-active {
  background: var(--ab-v2-emerald-soft);
  border-color: var(--ab-v2-emerald-border);
  color: var(--ab-v2-emerald);
}

.ab-s46-seg {
  display: inline-flex;
  align-items: center;
  padding: 2px;
  border-radius: 9px;
  background: var(--ab-v2-inset);
  border: 1px solid var(--ab-v2-border);
}
.ab-s46-seg-btn {
  height: 30px;
  padding: 0 9px;
  border-radius: 7px;
  border: none;
  background: transparent;
  color: var(--ab-v2-text-secondary);
  font-size: 11.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  white-space: nowrap;
}
.ab-s46-seg-btn.is-active {
  background: var(--ab-v2-card);
  color: var(--ab-v2-text-primary);
  box-shadow: var(--ab-v2-shadow-xs);
}

.ab-s46-counter-subline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ab-v2-text-secondary);
}
.ab-s46-counter-subline strong {
  color: var(--ab-v2-text-primary);
  font-weight: 800;
}

/* Unified Slide-Up / Modal Filter Sheet (Hidden Until Opened on Mobile & Desktop) */
.ab-filter-toolbar.ab-s46-filter-sheet {
  display: none !important;
}
.ab-filter-toolbar.ab-s46-filter-sheet.is-mobile-sheet-open {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  position: fixed !important;
  left: 50% !important;
  bottom: 0 !important;
  transform: translateX(-50%) !important;
  width: 100% !important;
  max-width: 760px !important;
  max-height: 84dvh !important;
  overflow-y: auto !important;
  margin: 0 !important;
  padding: 18px 18px 28px !important;
  border-radius: 20px 20px 0 0 !important;
  background: var(--ab-v2-popover) !important;
  border: 1px solid var(--ab-v2-border-strong) !important;
  box-shadow: 0 -20px 48px rgba(6, 11, 20, 0.45) !important;
  z-index: 100085 !important;
}
.ab-mobile-sheet-backdrop.is-open {
  display: block !important;
  position: fixed;
  inset: 0;
  background: rgba(6, 11, 20, 0.58);
  backdrop-filter: blur(2px);
  z-index: 100084;
}

/* 4. Mobile Breakpoint Precision (<= 768px — 360px–430px iPhone & Android) */
@media (max-width: 768px) {
  header.ab-s46-header .ab-hdr-container {
    padding: 0 10px !important;
  }
  header.ab-s46-header .ab-hdr-main {
    height: 56px !important;
    min-height: 56px !important;
    max-height: 56px !important;
    gap: 6px !important;
  }
  header.ab-s46-header .header-logo img {
    height: 30px !important;
    max-height: 30px !important;
    max-width: 118px !important;
  }
  .ab-s46-hdr-btn {
    width: 33px !important;
    height: 33px !important;
    border-radius: 8px !important;
  }
  .ab-s46-wallet-pill {
    height: 33px !important;
    padding: 0 3px 0 8px !important;
    gap: 5px !important;
  }
  .ab-s46-wallet-pill .ab-wallet-pill-bal {
    font-size: 11.5px !important;
  }
  .ab-s46-wallet-pill .ab-wallet-pill-add {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
  }
  .ab-s46-profile {
    height: 33px !important;
    width: 33px !important;
    padding: 0 !important;
    justify-content: center !important;
  }
  .ab-s46-profile img {
    width: 27px !important;
    height: 27px !important;
  }
  .ab-s46-profile .ab-hdr-profile-name {
    display: none !important;
  }
  .ab-s46-signin {
    height: 33px !important;
    padding: 0 11px !important;
    font-size: 12px !important;
  }

  /* 2-Column Verticals Bento Grid on Mobile */
  .ab-s46-verticals-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
  .ab-s46-vtile {
    padding: 10px 11px !important;
    gap: 8px !important;
  }
  .ab-s46-vtile-ico {
    width: 30px !important;
    height: 30px !important;
  }
  .ab-s46-vtile-title {
    font-size: 12.5px !important;
  }

  /* Horizontal Swipeable Trending Brands Strip on Mobile */
  .ab-v2-bento-grid.ab-s46-brands-track {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    gap: 9px !important;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .ab-v2-bento-grid.ab-s46-brands-track::-webkit-scrollbar { display: none; }
  .ab-v2-bento-grid.ab-s46-brands-track .ab-v2-brand-card {
    flex: 0 0 186px !important;
    min-height: 106px !important;
    aspect-ratio: auto !important;
    scroll-snap-align: start;
  }

  /* Collapse Desktop Left Index Tree on Mobile */
  .ab-v2-hybrid-shell {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .ab-v2-left-tree {
    display: none !important;
  }

  /* Compact Utility Buttons at 360px–430px */
  .ab-s46-filter-btn,
  .ab-s46-stock-pill {
    height: 32px;
    padding: 0 9px;
    font-size: 11.5px;
    gap: 5px;
  }
  .ab-s46-seg-btn {
    height: 28px;
    padding: 0 8px;
    font-size: 11px;
  }
}

/* ==========================================================================
   SPRINT 4.7: MOBILE-ONLY HERO SEARCH, STRICT FILTER SHEET & DESK POLISH
   ========================================================================== */

/* Desktop (>= 992px) uses Sticky Header ⌘K Search ONLY; Mobile (<= 991px) uses Hero Search ONLY */
@media (min-width: 992px) {
  .ab-s47-mobile-only-search {
    display: none !important;
  }
}

/* Filter & Sort Sheet Strictly Hidden Until Opened */
#ab-main-filter-toolbar.ab-s46-filter-sheet:not(.is-mobile-sheet-open) {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
#ab-main-filter-toolbar.ab-s46-filter-sheet.is-mobile-sheet-open {
  display: flex !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* Explicit Visible Sun/Moon SVG Icon on Standalone Desk .ab-v2-theme-toggle Buttons */
.ab-v2-theme-toggle {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}
.ab-v2-theme-toggle::before {
  content: '';
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z'/%3E%3C/svg%3E");
}
html[data-theme="dark"] .ab-v2-theme-toggle::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FBBF24' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2M12 20v2M4.93 4.93l1.41 1.41M17.66 17.66l1.41 1.41M2 12h2M20 12h2M6.34 17.66l-1.41 1.41M19.07 4.93l-1.41 1.41'/%3E%3C/svg%3E");
}

/* Sub-Nav Command Center High Contrast & Scrollable Container */
.ab-subnav-bar .sknav-link.sknav-link-admin {
  background: linear-gradient(135deg, #059669 0%, #0F766E 100%) !important;
  border: 1px solid #059669 !important;
  color: #FFFFFF !important;
  border-radius: 8px !important;
  padding: 5px 11px !important;
  font-weight: 800 !important;
}
.ab-subnav-bar .sknav-link.sknav-link-admin span { color: #FFFFFF !important; }
.ab-subnav-bar .sknav-link.sknav-link-admin i { color: #FDE047 !important; }

/* Standalone Desks (/seller-desk/, /marketplace-admin/, /support-desk/) Obsidian Contrast */
header img {
  max-height: 38px;
}
html[data-theme="dark"] .border-slate-200,
html[data-theme="dark"] .border-slate-300 {
  border-color: var(--ab-v2-border) !important;
}
html[data-theme="dark"] table thead th {
  color: #CBD5E1 !important;
}
html[data-theme="dark"] table tbody td {
  color: #F8FAFC !important;
  border-color: var(--ab-v2-border) !important;
}


/* ==========================================================================
   SPRINT 4.9 — MODULE 1 (PURE DISCOVERY HUB) & MODULE 2 (VERTICAL HERO SCRIM)
   ========================================================================== */
.ab-s49-discovery-hub {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 6px;
}
.ab-s49-sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.ab-s49-sec-title {
  font-family: var(--ab-v2-font-display, 'Plus Jakarta Sans', sans-serif);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--ab-v2-text-primary, #0F172A);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.ab-s49-discover-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
  text-decoration: none;
  background: var(--ab-v2-card, #FFFFFF);
  border: 1px solid var(--ab-v2-border, #E2E8F0);
  color: var(--ab-v2-emerald, #059669);
  transition: all 0.15s ease;
  white-space: nowrap;
}
.ab-s49-discover-link:hover {
  border-color: #10B981;
  background: rgba(16, 185, 129, 0.08);
}

/* 1. Hot Categories Leaderboards (3-Col Desktop / 1-Col Mobile Bento Grid) */
.ab-s49-leaderboards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 960px) {
  .ab-s49-leaderboards-grid {
    grid-template-columns: 1fr;
  }
}
.ab-s49-lb-card {
  background: var(--ab-v2-card, #FFFFFF);
  border: 1px solid var(--ab-v2-border, #E2E8F0);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
}
.ab-s49-lb-card[data-accent="emerald"] { border-top: 3px solid #10B981; }
.ab-s49-lb-card[data-accent="indigo"]  { border-top: 3px solid #6366F1; }
.ab-s49-lb-card[data-accent="cyan"]    { border-top: 3px solid #0EA5E9; }
.ab-s49-lb-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ab-v2-border, #E2E8F0);
}
.ab-s49-lb-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 11px;
  text-decoration: none;
  color: var(--ab-v2-text-primary, #0F172A);
  background: var(--ab-v2-inset, #F8FAFC);
  border: 1px solid transparent;
  transition: all 0.14s ease;
}
.ab-s49-lb-row:hover {
  border-color: rgba(16, 185, 129, 0.45);
  transform: translateX(2px);
}
.ab-s49-rank-num {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: rgba(15, 23, 42, 0.08);
  color: var(--ab-v2-text-secondary, #475569);
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}
.ab-s49-cnt-pill {
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.ab-s49-cnt-pill.live {
  background: rgba(16, 185, 129, 0.14);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.34);
}
.ab-s49-cnt-pill.slot {
  background: rgba(99, 102, 241, 0.12);
  color: #4F46E5;
  border: 1px solid rgba(99, 102, 241, 0.28);
}

/* 2. 4 Curated Trending Vertical Visual Shelves (2-Col Mobile / 4-Col Desktop) */
.ab-s49-shelf-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 768px) {
  .ab-s49-shelf-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }
}
.ab-s49-shelf-tile {
  position: relative;
  border-radius: 14px;
  padding: 14px;
  min-height: 106px;
  text-decoration: none;
  color: #F8FAFC !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: linear-gradient(135deg, #0B1324 0%, #13223D 65%, #064E3B 100%);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12);
  transition: transform 0.16s ease, border-color 0.16s ease;
}
.ab-s49-shelf-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(52, 211, 153, 0.65);
}
.ab-s49-shelf-tile[data-tone="topup"] { background: linear-gradient(135deg, #071326 0%, #0F294A 60%, #0E7490 100%); }
.ab-s49-shelf-tile[data-tone="ai"]    { background: linear-gradient(135deg, #0B1026 0%, #24154A 60%, #065F46 100%); }
.ab-s49-shelf-tile[data-tone="keys"]  { background: linear-gradient(135deg, #071220 0%, #102B3F 60%, #0F766E 100%); }
.ab-s49-shelf-tile[data-tone="proxy"] { background: linear-gradient(135deg, #050D1C 0%, #0C2540 60%, #0284C7 100%); }

/* 3. Verified Community Reviews + 20% USDT Affiliate Strip */
.ab-s49-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 860px) {
  .ab-s49-reviews-grid {
    grid-template-columns: 1fr;
  }
}
.ab-s49-rev-card {
  background: var(--ab-v2-card, #FFFFFF);
  border: 1px solid var(--ab-v2-border, #E2E8F0);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ab-s49-aff-banner {
  border-radius: 16px;
  padding: 18px 20px;
  background: linear-gradient(115deg, #061322 0%, #0F172A 52%, #064E3B 100%);
  border: 1px solid rgba(52, 211, 153, 0.42);
  color: #F8FAFC !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

/* Obsidian Dark Calibration for Module 1 */
html[data-theme="dark"] .ab-s49-lb-card,
html[data-theme="dark"] .ab-s49-rev-card,
html[data-theme="dark"] .ab-s49-discover-link {
  background: #0D1526 !important;
  border-color: rgba(148, 163, 184, 0.18) !important;
  color: #F8FAFC !important;
}
html[data-theme="dark"] .ab-s49-lb-row {
  background: #131E34 !important;
  color: #F8FAFC !important;
}
html[data-theme="dark"] .ab-s49-rank-num {
  background: rgba(255, 255, 255, 0.1);
  color: #CBD5E1;
}
html[data-theme="dark"] .ab-s49-cnt-pill.live {
  color: #6EE7B7 !important;
}
html[data-theme="dark"] .ab-s49-cnt-pill.slot {
  color: #A5B4FC !important;
}

/* MODULE 2 (SPRINT 4.10): Vivid 1200x600 WebP Vertical Hero + Directional Gradient Scrim */
.ab-v2-vert-hero.has-s49-keyart {
  position: relative !important;
  overflow: hidden !important;
  background-color: #060B16 !important;
  background-image:
    linear-gradient(100deg, rgba(6,11,22,0.93) 0%, rgba(6,11,22,0.80) 48%, rgba(6,11,22,0.22) 100%),
    var(--vert-hero-webp) !important;
  background-size: cover !important;
  background-position: center, right center !important;
  background-repeat: no-repeat !important;
  border: 1px solid rgba(52, 211, 153, 0.34) !important;
  box-shadow: 0 14px 36px rgba(6, 11, 20, 0.28), inset 0 0 60px rgba(16, 185, 129, 0.08) !important;
}
.ab-v2-vert-hero.has-s49-keyart .ab-s49-vert-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  z-index: 0;
  pointer-events: none;
}
.ab-v2-vert-hero.has-s49-keyart .ab-s49-vert-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(100deg, rgba(6,11,22,0.93) 0%, rgba(6,11,22,0.80) 48%, rgba(6,11,22,0.22) 100%) !important;
}
.ab-v2-vert-hero.has-s49-keyart .ab-v2-vert-crumb,
.ab-v2-vert-hero.has-s49-keyart .ab-v2-vert-stats {
  position: relative;
  z-index: 2;
}
@media (max-width: 768px) {
  .ab-v2-vert-hero.has-s49-keyart {
    background-image:
      linear-gradient(195deg, rgba(6,11,22,0.22) 0%, rgba(6,11,22,0.74) 44%, rgba(6,11,22,0.95) 85%),
      var(--vert-hero-webp) !important;
    background-size: cover !important;
    background-position: center, right top !important;
  }
  .ab-v2-vert-hero.has-s49-keyart .ab-s49-vert-art {
    object-position: right top !important;
  }
  .ab-v2-vert-hero.has-s49-keyart .ab-s49-vert-scrim {
    background: linear-gradient(195deg, rgba(6,11,22,0.22) 0%, rgba(6,11,22,0.74) 44%, rgba(6,11,22,0.95) 85%) !important;
  }
}
