/* ==============================================================================
   Project Khoj Ghor — Design System & Master Stylesheet
   Clean, human-centered, world-class marketplace aesthetic
   Designed for clarity, trust, and effortless usability (Light / Crisp White)
============================================================================== */

:root {
  /* Color Palette - Clean, Trustworthy Fintech Light Theme */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.96);
  
  --border-subtle: #e2e8f0;
  --border-medium: #cbd5e1;
  --border-focus: #059669;
  
  /* Brand Accents - Dynamic Site Accent (Defaults to Brand Orange #ff7024) */
  --site-bg: #faf8f5;
  --site-accent: #ff7024;
  --site-accent-dark: #e05810;
  --site-accent-light: #fff5ee;
  --site-accent-border: #fed7aa;
  
  --accent-emerald: #059669;
  --accent-emerald-dark: #047857;
  --accent-emerald-light: #ecfdf5;
  --accent-emerald-border: #a7f3d0;
  
  --accent-blue: #0284c7;
  --accent-amber: #d97706;
  --accent-amber-light: #fffbeb;
  --accent-rose: #e11d48;
  --accent-rose-light: #fff1f2;
  
  /* Platform Colors (Subtle, Muted Tones) */
  --platform-youtube: #dc2626;
  --platform-facebook: #1d4ed8;
  --platform-instagram: #db2777;
  --platform-tiktok: #0f172a;
  --platform-telegram: #0284c7;
  --platform-freefire: #ea580c;
  --platform-pubg: #b45309;
  --platform-website: #059669;
  
  /* Typography */
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #55657e;
  --text-accent: #059669;
  
  /* Geometry & Shadows — Classic 2015 Professional Era (Clean, Crisp, Restrained) */
  --radius-sm: 3px;
  --radius-md: 4px;
  --radius-lg: 6px;
  --radius-xl: 6px;
  --radius-full: 4px;
  
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 1px 3px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 3px 6px -1px rgba(0, 0, 0, 0.08);
  --shadow-dropdown: 0 4px 12px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.06);
  
  --transition-fast: 0.12s ease;
  --transition-normal: 0.18s ease;
  
  --font-family: 'Plus Jakarta Sans', 'Inter', 'Hind Siliguri', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: #ffffff;
  overflow-x: clip;
  max-width: 100%;
  width: 100%;
}

/* Ensure any element scrolled to via anchor hash has perfect clearance below the sticky header */
[id] {
  scroll-margin-top: 5rem;
}

body {
  font-family: var(--font-family);
  background-color: #ffffff;
  color: var(--text-primary);
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: clip;
  max-width: 100%;
  width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

/* Accessibility: High-contrast focus state */
:focus-visible {
  outline: 2px solid var(--accent-emerald, #059669);
  outline-offset: 2px;
}

/* Accessibility: Respect user motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
}

/* Phase 6: Merchant One-Click Price & Stock Controls */
.mp-pc-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
  flex-wrap: wrap;
}

/* Phase 7: Horizontal Escrow Stepper */
.escrow-horizontal-stepper {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  margin: 1.5rem 0 1.25rem;
  padding: 0 0.5rem;
}

.escrow-horizontal-stepper::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 35px;
  right: 35px;
  height: 3px;
  background: #e2e8f0;
  z-index: 1;
}

.stepper-progress-bar {
  position: absolute;
  top: 18px;
  left: 35px;
  height: 3px;
  background: #059669;
  z-index: 2;
  transition: width 0.3s ease;
}

.stepper-step-col {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  max-width: 140px;
}

.stepper-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  border: 2.5px solid #cbd5e1;
  color: #64748b;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  transition: all 0.2s ease;
}

.stepper-step-col.completed .stepper-circle {
  background: #059669;
  border-color: #059669;
  color: #ffffff;
}

.stepper-step-col.active .stepper-circle {
  background: #ffffff;
  border-color: #059669;
  color: #059669;
  box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.15);
  animation: pulse-ring 1.8s infinite;
}

.stepper-step-col.disputed .stepper-circle {
  background: #ef4444;
  border-color: #ef4444;
  color: #ffffff;
}

.stepper-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #334155;
  line-height: 1.25;
}

.stepper-step-col.completed .stepper-label {
  color: #059669;
}

.stepper-sub {
  font-size: 0.68rem;
  color: #64748b;
  margin-top: 3px;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.4); }
  70% { box-shadow: 0 0 0 8px rgba(5, 150, 105, 0); }
  100% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0); }
}

@media (max-width: 640px) {
  .escrow-horizontal-stepper {
    margin: 1rem 0;
  }
  .stepper-circle {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }
  .escrow-horizontal-stepper::before,
  .stepper-progress-bar {
    top: 14px;
    left: 20px;
    right: 20px;
  }
  .stepper-label {
    font-size: 0.7rem;
  }
}

.mp-quick-stock-btn {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: all 0.15s ease;
}

.mp-quick-stock-btn.in {
  color: #b91c1c;
  border-color: #fecaca;
  background: #fef2f2;
}

.mp-quick-stock-btn.in:hover {
  background: #fee2e2;
}

.mp-quick-stock-btn.out {
  color: #047857;
  border-color: #a7f3d0;
  background: #ecfdf5;
}

.mp-quick-stock-btn.out:hover {
  background: #d1fae5;
}

.mp-pc-price-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.mp-inline-edit-btn {
  background: transparent;
  border: 1px solid transparent;
  color: #55657e;
  border-radius: 4px;
  padding: 2px 5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.mp-inline-edit-btn:hover {
  color: #059669;
  background: #ecfdf5;
  border-color: #a7f3d0;
}

.mp-inline-price-editor {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.mp-inline-input {
  width: 95px;
  padding: 0.25rem 0.4rem;
  font-size: 0.88rem;
  font-weight: 800;
  color: #0f172a;
  border: 1.5px solid #059669;
  border-radius: 4px;
  outline: none;
}

.mp-inline-save-btn {
  background: #059669;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 0.25rem 0.5rem;
  font-weight: 800;
  font-size: 0.82rem;
  cursor: pointer;
  transition: background 0.15s ease;
}

.mp-inline-save-btn:hover {
  background: #047857;
}

.mp-inline-cancel-btn {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 0.25rem 0.5rem;
  font-weight: 800;
  font-size: 0.82rem;
  cursor: pointer;
}

.mp-inline-cancel-btn:hover {
  background: #e2e8f0;
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
}


/* ==============================================================================
   Top Announcement Bar (Clean, Subtle, Human)
============================================================================== */
.top-notice-banner {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  height: 34px;
  min-height: 34px;
  max-height: 34px;
  box-sizing: border-box;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  font-size: 0.82rem;
  color: #334155;
}
.top-notice-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  height: 100%;
  white-space: nowrap;
}
.notice-icon {
  display: flex;
  align-items: center;
  color: #059669;
}
.notice-text {
  font-weight: 500;
}
.notice-link {
  color: #059669;
  font-weight: 600;
  margin-left: 0.35rem;
}
.notice-link:hover {
  text-decoration: underline;
}

/* Announcement Bar Infinite Marquee (Moving to Right) */
.top-notice-banner.marquee-active {
  overflow: hidden !important;
  white-space: nowrap !important;
  padding: 0 !important;
  height: 34px !important;
  min-height: 34px !important;
  max-height: 34px !important;
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
}

.top-notice-banner.marquee-active .marquee-track {
  display: inline-flex !important;
  align-items: center !important;
  width: max-content !important;
  will-change: transform !important;
  animation-name: kg-marquee-move-right !important;
  animation-duration: 25s !important;
  animation-timing-function: linear !important;
  animation-iteration-count: infinite !important;
}

.top-notice-banner.marquee-active .marquee-block {
  display: inline-flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
}

.top-notice-banner.marquee-active .marquee-item {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.65rem !important;
  padding: 0 1.5rem !important;
  flex-shrink: 0 !important;
}

.top-notice-banner.marquee-active .marquee-separator {
  opacity: 0.45;
  margin-left: 0.5rem;
  font-size: 0.75rem;
  user-select: none;
}

@keyframes kg-marquee-move-right {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0%);
  }
}

/* ==============================================================================
   Navigation Header (Clean, High-End & Uncluttered - Pinned / Sticky)
============================================================================== */
.navbar {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  z-index: 20000 !important;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
  will-change: transform;
  padding-top: env(safe-area-inset-top, 0px);
}
.navbar.scrolled {
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom-color: #cbd5e1;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.75rem;
  gap: 1.5rem;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #0f172a;
  user-select: none;
}
.brand-logo-img {
  height: 36px;
  width: 36px;
  aspect-ratio: 1 / 1;
  max-width: 44px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}
.brand-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.brand-name {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: #0f172a;
  line-height: 1;
}
.brand-badge {
  font-size: 0.65rem;
  font-weight: 700;
  color: #047857;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 0.12rem 0.45rem;
  border-radius: 3px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

/* Nav Links - Guaranteed No Wrapping with Semantic Icons */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
}
.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: #475569;
  padding: 0.45rem 0.8rem;
  border-radius: 8px;
  white-space: nowrap !important;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  transition: all var(--transition-fast);
}
.nav-link-icon {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
  opacity: 0.82;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.nav-link:hover .nav-link-icon,
.nav-link.active .nav-link-icon {
  opacity: 1;
}
.nav-link:hover {
  color: #0f172a;
  background: #f1f5f9;
}
.nav-link.active {
  color: #0369a1; /* Refined oceanic blue */
  font-weight: 600;
  background: #f0f9ff; /* Soft active pill */
}

/* Right Navigation Action Cluster */
.nav-actions-cluster {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.55rem 1.1rem;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap !important;
}
.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}
.btn-primary:hover {
  background: #1e293b;
  border-color: #1e293b;
}

.btn-emerald {
  background: #059669;
  color: #ffffff;
  border-color: #059669;
  box-shadow: 0 1px 2px rgba(5, 150, 105, 0.1);
}
.btn-emerald:hover {
  background: #047857;
  border-color: #047857;
}

.btn-outline {
  background: #ffffff;
  border-color: var(--border-medium);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}
.btn-outline:hover {
  background: var(--bg-secondary);
  border-color: #94a3b8;
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
}
.btn-ghost:hover {
  color: var(--text-primary);
  background: var(--bg-tertiary);
}

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

/* Classic Segmented Language Switcher */
.lang-segmented-btn {
  display: inline-flex;
  align-items: center;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 3px;
  padding: 0.15rem 0.2rem;
  cursor: pointer;
  gap: 0.15rem;
  transition: border-color var(--transition-fast);
}
.lang-segmented-btn:hover {
  border-color: #94a3b8;
}
.lang-seg-item {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.15rem 0.45rem;
  border-radius: 2px;
  color: #64748b;
  transition: all var(--transition-fast);
}
.lang-seg-item.active {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  font-weight: 700;
}

/* User Account Menu in Navbar */
.user-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.6rem;
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: 4px;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  transition: border-color var(--transition-fast);
}
.user-pill:hover {
  background: var(--bg-secondary);
  border-color: #94a3b8;
}
.user-avatar-circle {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: transparent !important;
  color: var(--text-primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  overflow: hidden;
}
.user-avatar-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.user-name-text {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-primary);
  max-width: 115px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap !important;
}
.user-wallet-tag {
  background: #ecfdf5;
  color: #047857;
  font-weight: 700;
  font-size: 0.72rem;
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
  border: 1px solid #d1fae5;
}
.user-pill .chevron-icon {
  color: var(--text-muted);
}

/* ==============================================================================
   Hero Section (Split Layout: Left Content, Right Image & Stats)
============================================================================== */
.hero-section {
  padding: 2.25rem 0 1.5rem;
  position: relative;
  z-index: 9999 !important;
}
.hero-section .container {
  position: relative;
  z-index: 10000 !important;
}
.hero-trust-tag {
  display: none !important;
}

/* Two-column hero split grid */
.hero-split-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-left-content {
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.hero-title {
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.22;
  margin-bottom: 0.85rem;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  color: #0f172a;
  text-align: left;
}
.hero-title-highlight {
  color: var(--site-accent, var(--accent-emerald, #047857));
  font-weight: 800;
  display: inline;
}

.hero-subtitle {
  font-size: 0.98rem;
  color: #475569;
  line-height: 1.6;
  margin: 0 0 1.5rem 0;
  text-align: left;
  max-width: 580px;
}

/* Phase 8 & 9: Off-Platform Contact Warning Modal */
.chat-risk-modal-overlay {
  position: fixed;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99999;
  max-width: 520px;
  width: 92%;
  background: #ffffff;
  border: 1.5px solid #f59e0b;
  border-radius: 10px;
  box-shadow: 0 16px 36px -4px rgba(15, 23, 42, 0.2), 0 4px 12px -2px rgba(15, 23, 42, 0.1);
  padding: 1rem 1.25rem;
  animation: slideDownFade 0.3s ease-out;
}

@keyframes slideDownFade {
  from { opacity: 0; transform: translate(-50%, -20px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.chat-risk-progress-bar {
  height: 3px;
  background: #f59e0b;
  border-radius: 2px;
  width: 100%;
  margin-top: 0.75rem;
}

/* Right Side: Hero Graphic + Stats Down To The Image */
.hero-right-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  width: 100%;
}

.hero-image-wrap {
  width: 100%;
  max-width: 440px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.15rem;
  aspect-ratio: 1 / 1;
}

.hero-image-wrap picture {
  display: block;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1 / 1;
}

.hero-showcase-img {
  width: 100%;
  max-width: 420px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  filter: drop-shadow(0 14px 28px rgba(15, 23, 42, 0.08));
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.hero-showcase-img:hover {
  transform: translateY(-3px) scale(1.015);
  filter: drop-shadow(0 18px 36px rgba(15, 23, 42, 0.12));
}

/* ==============================================================================
   Platform Trust & Statistics Strip (Aesthetic Match to User Reference Image)
============================================================================== */
.hero-platform-stats-wrapper {
  max-width: 1140px;
  width: 100%;
  margin: 2.25rem auto 0.75rem auto;
  padding: 0;
  position: relative;
  z-index: 5;
}

.hero-platform-stats-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 4px 18px -2px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(0, 0, 0, 0.02);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: stretch;
  width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.platform-stat-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 1.15rem 1.25rem;
  border-right: 1px solid #e2e8f0;
  background: #ffffff;
  transition: background-color 0.2s ease;
  min-width: 0;
}

.platform-stat-item:last-child {
  border-right: none;
}

.platform-stat-item:hover {
  background: #f8fafc;
}

/* Crisp Brand Blue Icon Wrapper */
.stat-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1d4ed8; /* Exact trustworthy royal blue from reference */
  flex-shrink: 0;
  width: 38px;
  height: 38px;
}

.stat-icon-wrap svg {
  display: block;
  width: 28px;
  height: 28px;
}

/* Stacked Texts (Number on Top, Label on Bottom) */
.stat-text-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
}

.stat-number {
  font-size: 1.22rem;
  font-weight: 800;
  color: #0f172a; /* Exact bold dark navy/slate from reference */
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  white-space: nowrap;
}

.stat-label {
  font-size: 0.82rem;
  font-weight: 500;
  color: #475569; /* Trustworthy slate-600 passing WCAG AA */
  line-height: 1.2;
  margin-top: 3px;
  white-space: nowrap;
}

@media (max-width: 960px) {
  .hero-split-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
  .hero-left-content {
    text-align: left;
  }
  .hero-title {
    font-size: clamp(1.85rem, 5.5vw, 2.25rem);
    text-align: left;
  }
  .hero-subtitle {
    text-align: left;
    max-width: 100%;
  }
  .hero-right-content {
    width: 100%;
    max-width: 500px;
  }
  .hero-image-wrap {
    width: 100%;
    max-width: 460px;
  }
  .hero-showcase-img {
    width: 100%;
    max-width: 440px;
  }
  .hero-platform-stats-wrapper {
    width: 100%;
    max-width: 100%;
    margin-top: 1.75rem;
  }
  .platform-stat-item {
    padding: 1rem 0.75rem;
    gap: 10px;
  }
  .stat-number {
    font-size: 1.12rem;
  }
  .stat-label {
    font-size: 0.78rem;
  }
}

@media (max-width: 768px) {
  .hero-platform-stats-card {
    grid-template-columns: repeat(2, 1fr);
  }
  .platform-stat-item:nth-child(1),
  .platform-stat-item:nth-child(2) {
    border-bottom: 1px solid #e2e8f0;
  }
  .platform-stat-item:nth-child(2) {
    border-right: none;
  }
  .platform-stat-item:nth-child(3) {
    border-right: 1px solid #e2e8f0;
  }
  .platform-stat-item:nth-child(4) {
    border-right: none;
  }
}

@media (max-width: 640px) {
  .hero-section {
    padding: 1.5rem 0 1.25rem;
  }
  .hero-split-grid {
    gap: 1.75rem;
  }
  .hero-title {
    font-size: 1.6rem;
    line-height: 1.25;
  }
  .hero-subtitle {
    font-size: 0.88rem;
    margin-bottom: 1.25rem;
  }
  .hero-right-content {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
  }
  .hero-image-wrap {
    width: 100%;
    max-width: 380px;
    margin: 0 auto 0.85rem auto;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1 / 1;
  }
  .hero-image-wrap picture {
    display: block;
    width: 100%;
    max-width: 380px;
    aspect-ratio: 1 / 1;
  }
  .hero-showcase-img {
    width: 100%;
    max-width: 380px;
    height: auto;
    aspect-ratio: 1 / 1;
    display: block;
    object-fit: contain;
  }
  .hero-platform-stats-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 1.25rem 0 0.5rem 0;
    padding: 0;
  }
  .hero-platform-stats-card {
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 14px -2px rgba(15, 23, 42, 0.05);
    height: auto;
  }
  .platform-stat-item {
    padding: 0.85rem 0.65rem;
    gap: 10px;
    justify-content: flex-start;
    padding-left: 1.15rem;
  }
  .stat-icon-wrap {
    width: 32px;
    height: 32px;
  }
  .stat-icon-wrap svg {
    width: 24px;
    height: 24px;
  }
  .stat-number {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
  }
  .stat-label {
    font-size: 0.74rem;
    margin-top: 2px;
    font-weight: 500;
    color: #64748b;
  }
}

/* Unified Clean Search Component */
.hero-search-wrapper {
  max-width: 100%;
  width: 100%;
  margin: 0 0 0.85rem 0;
  position: relative;
  z-index: 10001 !important;
}

/* Instant Predictive Autocomplete Dropdown */
.search-autocomplete-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  box-shadow: 0 20px 40px -4px rgba(15, 23, 42, 0.22), 0 8px 16px -2px rgba(15, 23, 42, 0.12);
  z-index: 999999 !important;
  max-height: 400px;
  overflow-y: auto;
  text-align: left;
}

.search-autocomplete-header {
  padding: 0.5rem 0.85rem;
  font-size: 0.74rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.search-suggest-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid #f1f5f9;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.15s ease;
}

.search-suggest-item:last-child {
  border-bottom: none;
}

.search-suggest-item:hover,
.search-suggest-item.selected {
  background-color: #f0fdf4;
}

.search-suggest-thumb {
  width: 46px;
  height: 46px;
  border-radius: 6px;
  object-fit: cover;
  background: #e2e8f0;
  flex-shrink: 0;
  border: 1px solid #e2e8f0;
}

.search-suggest-content {
  flex: 1;
  min-width: 0;
}

.search-suggest-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.2rem;
}

.search-suggest-title mark {
  background: #fef08a;
  color: #854d0e;
  padding: 0 2px;
  border-radius: 2px;
  font-weight: 700;
}

.search-suggest-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.76rem;
  color: #64748b;
}

.search-suggest-badge {
  background: #e0f2fe;
  color: #0369a1;
  font-weight: 700;
  font-size: 0.7rem;
  padding: 0.1rem 0.45rem;
  border-radius: 4px;
}

.search-suggest-price-col {
  text-align: right;
  flex-shrink: 0;
}

.search-suggest-price {
  font-size: 0.92rem;
  font-weight: 800;
  color: #059669;
}

.search-suggest-stock {
  font-size: 0.68rem;
  font-weight: 700;
  margin-top: 2px;
}

.search-suggest-stock.in-stock {
  color: #10b981;
}

.search-suggest-stock.out-stock {
  color: #ef4444;
}

.search-suggest-loading,
.search-suggest-empty {
  padding: 1.5rem 1rem;
  text-align: center;
  color: #64748b;
  font-size: 0.86rem;
  background: #ffffff;
}

.search-suggest-spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid #cbd5e1;
  border-top-color: #059669;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  vertical-align: middle;
  margin-right: 0.5rem;
}
.hero-search-box {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 0.25rem 0.35rem 0.25rem 0.75rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: border-color var(--transition-fast);
  width: 100%;
}
.hero-search-box:focus-within {
  border-color: #059669;
  box-shadow: 0 0 0 2px rgba(5, 150, 105, 0.15);
}
.search-category-select-wrap {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.search-category-select {
  border: none;
  background: transparent;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  outline: none;
  cursor: pointer;
  padding-right: 0.35rem;
}
.search-divider {
  width: 1px;
  height: 22px;
  background: #e2e8f0;
  margin: 0 0.65rem;
  flex-shrink: 0;
}
.hero-search-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  margin-right: 0.5rem;
  flex-shrink: 0;
  line-height: 1;
}
.hero-search-input {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-size: 0.92rem;
  color: var(--text-primary);
  padding: 0.4rem 0;
  margin: 0;
}
.hero-search-input::placeholder {
  color: #55657e;
}

.btn-search {
  flex-shrink: 0;
  padding: 0.48rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 4px;
  background: var(--site-accent, var(--accent-emerald, #059669));
  border-color: var(--site-accent, var(--accent-emerald, #059669));
  color: #ffffff;
  margin-left: 0.5rem;
}
.btn-search:hover {
  background: var(--site-accent-dark, var(--accent-emerald-dark, #047857));
  border-color: var(--site-accent-dark, var(--accent-emerald-dark, #047857));
}

/* Popular Search Tags */
.popular-tags-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.35rem;
  font-size: 0.8rem;
}
.popular-label {
  color: #64748b;
  font-weight: 500;
}
.popular-tag {
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 3px;
  padding: 0.18rem 0.55rem;
  font-size: 0.76rem;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.popular-tag:hover {
  background: #e5e7eb;
  color: #111827;
  border-color: #cbd5e1;
}

/* Core Platform Security & Guarantees Strip */
.fintech-stats-strip {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  padding: 1rem 1.5rem;
  max-width: 960px;
  margin: 0 auto;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}
.stat-col {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #047857;
  margin-bottom: 0.25rem;
}
.stat-number {
  font-size: 0.95rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.25;
}
.stat-caption {
  font-size: 0.78rem;
  font-weight: 500;
  color: #4b5563;
  margin-top: 0.15rem;
}
.stat-divider {
  width: 1px;
  height: 32px;
  background: #e5e7eb;
}

/* Phase 6: Merchant One-Click Price & Stock Controls */
.mp-pc-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
  flex-wrap: wrap;
}

/* Phase 7: Horizontal Escrow Stepper */
.escrow-horizontal-stepper {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  margin: 1.5rem 0 1.25rem;
  padding: 0 0.5rem;
}

.escrow-horizontal-stepper::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 35px;
  right: 35px;
  height: 3px;
  background: #e2e8f0;
  z-index: 1;
}

.stepper-progress-bar {
  position: absolute;
  top: 18px;
  left: 35px;
  height: 3px;
  background: #059669;
  z-index: 2;
  transition: width 0.3s ease;
}

.stepper-step-col {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  max-width: 140px;
}

.stepper-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  border: 2.5px solid #cbd5e1;
  color: #64748b;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  transition: all 0.2s ease;
}

.stepper-step-col.completed .stepper-circle {
  background: #059669;
  border-color: #059669;
  color: #ffffff;
}

.stepper-step-col.active .stepper-circle {
  background: #ffffff;
  border-color: #059669;
  color: #059669;
  box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.15);
  animation: pulse-ring 1.8s infinite;
}

.stepper-step-col.disputed .stepper-circle {
  background: #ef4444;
  border-color: #ef4444;
  color: #ffffff;
}

.stepper-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #334155;
  line-height: 1.25;
}

.stepper-step-col.completed .stepper-label {
  color: #059669;
}

.stepper-sub {
  font-size: 0.68rem;
  color: #64748b;
  margin-top: 3px;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.4); }
  70% { box-shadow: 0 0 0 8px rgba(5, 150, 105, 0); }
  100% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0); }
}

@media (max-width: 640px) {
  .escrow-horizontal-stepper {
    margin: 1rem 0;
  }
  .stepper-circle {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }
  .escrow-horizontal-stepper::before,
  .stepper-progress-bar {
    top: 14px;
    left: 20px;
    right: 20px;
  }
  .stepper-label {
    font-size: 0.7rem;
  }
}

.mp-quick-stock-btn {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: all 0.15s ease;
}

.mp-quick-stock-btn.in {
  color: #b91c1c;
  border-color: #fecaca;
  background: #fef2f2;
}

.mp-quick-stock-btn.in:hover {
  background: #fee2e2;
}

.mp-quick-stock-btn.out {
  color: #047857;
  border-color: #a7f3d0;
  background: #ecfdf5;
}

.mp-quick-stock-btn.out:hover {
  background: #d1fae5;
}

.mp-pc-price-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.mp-inline-edit-btn {
  background: transparent;
  border: 1px solid transparent;
  color: #55657e;
  border-radius: 4px;
  padding: 2px 5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.mp-inline-edit-btn:hover {
  color: #059669;
  background: #ecfdf5;
  border-color: #a7f3d0;
}

.mp-inline-price-editor {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.mp-inline-input {
  width: 95px;
  padding: 0.25rem 0.4rem;
  font-size: 0.88rem;
  font-weight: 800;
  color: #0f172a;
  border: 1.5px solid #059669;
  border-radius: 4px;
  outline: none;
}

.mp-inline-save-btn {
  background: #059669;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 0.25rem 0.5rem;
  font-weight: 800;
  font-size: 0.82rem;
  cursor: pointer;
  transition: background 0.15s ease;
}

.mp-inline-save-btn:hover {
  background: #047857;
}

.mp-inline-cancel-btn {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 0.25rem 0.5rem;
  font-weight: 800;
  font-size: 0.82rem;
  cursor: pointer;
}

.mp-inline-cancel-btn:hover {
  background: #e2e8f0;
}

@media (max-width: 768px) {
  .fintech-stats-strip {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem 1rem;
    padding: 1rem;
  }
  .stat-divider {
    display: none;
  }
}
.trust-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ==============================================================================
   Footer
============================================================================== */
.footer {
  background: #f8fafc;
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 2rem;
  margin-top: 5rem;
  position: relative;
  z-index: 10;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-col h4,
.footer-col h3.footer-col-title {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.footer-link {
  font-size: 0.86rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}
.footer-link:hover {
  color: var(--accent-emerald);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--text-muted);
}
.payment-badges-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.payment-badge {
  background: #ffffff;
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-sm);
  font-size: 0.74rem;
  font-weight: 600;
  color: #334155;
  border: 1px solid var(--border-subtle);
}

/* Responsive Rules for Mobile, Tablets & iPads */
@media (max-width: 1024px) {
  .hero-title { font-size: clamp(2rem, 3.8vw, 2.4rem); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

/* Phase 6: Merchant One-Click Price & Stock Controls */
.mp-pc-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
  flex-wrap: wrap;
}

/* Phase 7: Horizontal Escrow Stepper */
.escrow-horizontal-stepper {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  margin: 1.5rem 0 1.25rem;
  padding: 0 0.5rem;
}

.escrow-horizontal-stepper::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 35px;
  right: 35px;
  height: 3px;
  background: #e2e8f0;
  z-index: 1;
}

.stepper-progress-bar {
  position: absolute;
  top: 18px;
  left: 35px;
  height: 3px;
  background: #059669;
  z-index: 2;
  transition: width 0.3s ease;
}

.stepper-step-col {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  max-width: 140px;
}

.stepper-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  border: 2.5px solid #cbd5e1;
  color: #64748b;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  transition: all 0.2s ease;
}

.stepper-step-col.completed .stepper-circle {
  background: #059669;
  border-color: #059669;
  color: #ffffff;
}

.stepper-step-col.active .stepper-circle {
  background: #ffffff;
  border-color: #059669;
  color: #059669;
  box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.15);
  animation: pulse-ring 1.8s infinite;
}

.stepper-step-col.disputed .stepper-circle {
  background: #ef4444;
  border-color: #ef4444;
  color: #ffffff;
}

.stepper-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #334155;
  line-height: 1.25;
}

.stepper-step-col.completed .stepper-label {
  color: #059669;
}

.stepper-sub {
  font-size: 0.68rem;
  color: #64748b;
  margin-top: 3px;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.4); }
  70% { box-shadow: 0 0 0 8px rgba(5, 150, 105, 0); }
  100% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0); }
}

@media (max-width: 640px) {
  .escrow-horizontal-stepper {
    margin: 1rem 0;
  }
  .stepper-circle {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }
  .escrow-horizontal-stepper::before,
  .stepper-progress-bar {
    top: 14px;
    left: 20px;
    right: 20px;
  }
  .stepper-label {
    font-size: 0.7rem;
  }
}

.mp-quick-stock-btn {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: all 0.15s ease;
}

.mp-quick-stock-btn.in {
  color: #b91c1c;
  border-color: #fecaca;
  background: #fef2f2;
}

.mp-quick-stock-btn.in:hover {
  background: #fee2e2;
}

.mp-quick-stock-btn.out {
  color: #047857;
  border-color: #a7f3d0;
  background: #ecfdf5;
}

.mp-quick-stock-btn.out:hover {
  background: #d1fae5;
}

.mp-pc-price-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.mp-inline-edit-btn {
  background: transparent;
  border: 1px solid transparent;
  color: #55657e;
  border-radius: 4px;
  padding: 2px 5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.mp-inline-edit-btn:hover {
  color: #059669;
  background: #ecfdf5;
  border-color: #a7f3d0;
}

.mp-inline-price-editor {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.mp-inline-input {
  width: 95px;
  padding: 0.25rem 0.4rem;
  font-size: 0.88rem;
  font-weight: 800;
  color: #0f172a;
  border: 1.5px solid #059669;
  border-radius: 4px;
  outline: none;
}

.mp-inline-save-btn {
  background: #059669;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 0.25rem 0.5rem;
  font-weight: 800;
  font-size: 0.82rem;
  cursor: pointer;
  transition: background 0.15s ease;
}

.mp-inline-save-btn:hover {
  background: #047857;
}

.mp-inline-cancel-btn {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 0.25rem 0.5rem;
  font-weight: 800;
  font-size: 0.82rem;
  cursor: pointer;
}

.mp-inline-cancel-btn:hover {
  background: #e2e8f0;
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero-section { padding: 2.5rem 0 1.5rem; }
  .hero-title { font-size: clamp(1.6rem, 5.5vw, 2rem); }
  .hero-subtitle { font-size: 0.92rem; margin-bottom: 1.75rem; }
  .trust-strip { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

@media (max-width: 640px) {
  .top-notice-banner {
    height: 32px;
    min-height: 32px;
    max-height: 32px;
    padding: 0 0.5rem;
    font-size: 0.74rem;
    line-height: 1;
    overflow: hidden;
  }
  .top-notice-banner.marquee-active {
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    padding: 0 !important;
  }
  .top-notice-banner .top-notice-inner {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 100%;
  }
  .navbar .nav-container {
    height: 3.5rem;
    gap: 0.35rem;
    padding: 0 0.75rem;
  }
  .brand-logo {
    gap: 0.45rem;
  }
  .brand-logo-img {
    height: 32px;
    width: 32px;
    aspect-ratio: 1 / 1;
    max-width: 36px;
  }
  .brand-name {
    font-size: 1.1rem;
  }
  .brand-badge {
    display: none;
  }
  .nav-actions-cluster {
    gap: 0.35rem;
  }
  .nav-actions {
    gap: 0.35rem;
  }
  .user-name-text {
    display: none !important;
  }
  .user-pill {
    padding: 0.15rem 0.45rem 0.15rem 0.15rem;
    gap: 0.25rem;
  }
  .user-pill .chevron-icon {
    display: none !important;
  }
  .user-wallet-tag {
    font-size: 0.7rem;
    padding: 0.08rem 0.35rem;
  }
  .nav-actions .btn-primary,
  .nav-actions > .btn-primary,
  .nav-actions > button.btn-primary {
    display: none !important;
  }
  .mobile-nav-toggle {
    display: inline-flex !important;
    width: 2.15rem;
    height: 2.15rem;
  }

  /* Fintech Stats Mobile refinement */
  .fintech-stats-strip {
    grid-template-columns: 1fr 1fr;
    padding: 1rem 0.75rem;
    gap: 1.25rem 0.75rem;
  }
  .stat-number {
    font-size: 1.25rem;
  }
  .stat-caption {
    font-size: 0.74rem;
  }

  
  /* Mobile Single-Row Layout for Search Box */
  .hero-search-box {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    padding: 0.4rem 0.5rem 0.4rem 0.75rem !important;
    border-radius: 10px !important;
  }
  .hero-search-icon {
    margin-right: 0 !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
  }
  .hero-search-input {
    flex: 1 !important;
    width: 100% !important;
    min-width: 0 !important;
    font-size: 0.88rem !important;
    padding: 0.35rem 0 !important;
  }
  .btn-search {
    flex-shrink: 0 !important;
    margin-left: 0 !important;
    padding: 0.45rem 1rem !important;
    font-size: 0.84rem !important;
  }

  
  /* Mobile Horizontal Scroll for Popular Tags */
  .popular-tags-row {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.35rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .popular-tags-row::-webkit-scrollbar {
    display: none;
  }
  .popular-tag {
    flex-shrink: 0;
  }

  /* Mobile Footer Clearance for Fixed Bottom Bar */
  .footer {
    padding-bottom: 5.5rem !important;
  }

  /* Mobile Language Switcher Fit */
  .lang-segmented-btn {
    padding: 0.15rem 0.2rem;
  }
  .lang-seg-item {
    font-size: 0.72rem;
    padding: 0.18rem 0.45rem;
  }
}

/* ==============================================================================
   In-App Notifications Styling (Clean, Professional, Non-intrusive)
   ============================================================================== */
.nav-notif-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-icon-btn,
.nav-chat-quick-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: transparent !important;
  border: none !important;
  color: var(--text-primary);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
  padding: 0;
}

.nav-icon-btn:hover,
.nav-chat-quick-btn:hover {
  background: rgba(15, 23, 42, 0.05) !important;
  color: var(--site-accent, #059669);
}

.nav-icon-btn:focus,
.nav-chat-quick-btn:focus {
  outline: none;
  border: none !important;
}

.notif-badge {
  position: absolute;
  top: 1px;
  right: 1px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  background: #0f172a;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 999px;
  border: 1.5px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.notif-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 340px;
  max-width: calc(100vw - 20px);
  background: #ffffff !important;
  background-color: #ffffff !important;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 32px -4px rgba(15, 23, 42, 0.18), 0 4px 12px -2px rgba(15, 23, 42, 0.08);
  z-index: 20050 !important;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: all var(--transition-fast);
  overflow: hidden;
  isolation: isolate;
}

.notif-dropdown-menu.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.notif-dropdown-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0.95rem;
  background: #f8fafc;
  border-bottom: 1px solid var(--border-subtle);
}

.notif-header-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
}

.notif-mark-all-btn {
  background: none;
  border: none;
  font-size: 0.75rem;
  font-weight: 600;
  color: #059669;
  cursor: pointer;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  transition: background 0.15s ease;
}

.notif-mark-all-btn:hover {
  background: #ecfdf5;
}

.notif-items-list {
  max-height: 380px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #ffffff !important;
  background-color: #ffffff !important;
}

.notif-item:hover {
  background: #f1f5f9 !important;
}

@media (max-width: 640px) {
  .notif-dropdown-menu {
    right: -45px;
    width: 310px;
  }
}

/* ==============================================================================
   Phase 4: Full-Screen Zoom & Watermarked Product Lightbox
   ============================================================================== */
.product-lightbox-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 15, 26, 0.96);
  backdrop-filter: blur(10px);
  z-index: 100000;
  display: flex;
  flex-direction: column;
  user-select: none;
}

.product-lightbox-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  background: rgba(15, 23, 42, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  z-index: 10;
}

.product-lightbox-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.product-lightbox-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #f8fafc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 320px;
}

.product-lightbox-counter {
  font-size: 0.76rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.15);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  color: #cbd5e1;
}

.product-lightbox-tools {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.lightbox-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  border-radius: 6px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  font-size: 1.1rem;
}

.lightbox-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.3);
}

.lightbox-btn-close {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  font-size: 1.4rem;
  margin-left: 0.35rem;
}

.lightbox-btn-close:hover {
  background: #ef4444;
  color: #fff;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 56px;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.15s ease;
  border-radius: 6px;
}

.lightbox-nav-btn:hover {
  background: #059669;
  border-color: #059669;
}

.lightbox-prev {
  left: 1.25rem;
}

.lightbox-next {
  right: 1.25rem;
}

.product-lightbox-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  cursor: grab;
}

.product-lightbox-stage:active {
  cursor: grabbing;
}

.product-lightbox-canvas-wrap {
  position: relative;
  display: inline-block;
  max-width: 90vw;
  max-height: 85vh;
  transition: transform 0.15s ease-out;
  transform-origin: center center;
}

.product-lightbox-img {
  max-width: 90vw;
  max-height: 82vh;
  object-fit: contain;
  display: block;
  border-radius: 6px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

.product-lightbox-watermark {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  padding: 1.5rem;
}

.watermark-line {
  display: flex;
  justify-content: space-around;
  width: 140%;
  margin-left: -20%;
  transform: rotate(-18deg);
  opacity: 0.32;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8), 0 0 10px rgba(5, 150, 105, 0.5);
  user-select: none;
  white-space: nowrap;
}

.gallery-expand-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: rgba(15, 23, 42, 0.75);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  padding: 0.35rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  transition: all 0.15s ease;
  backdrop-filter: blur(4px);
  z-index: 5;
}

.gallery-expand-btn:hover {
  background: #059669;
  border-color: #059669;
}

/* Phase 6: Merchant One-Click Price & Stock Controls */
.mp-pc-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
  flex-wrap: wrap;
}

/* Phase 7: Horizontal Escrow Stepper */
.escrow-horizontal-stepper {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  margin: 1.5rem 0 1.25rem;
  padding: 0 0.5rem;
}

.escrow-horizontal-stepper::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 35px;
  right: 35px;
  height: 3px;
  background: #e2e8f0;
  z-index: 1;
}

.stepper-progress-bar {
  position: absolute;
  top: 18px;
  left: 35px;
  height: 3px;
  background: #059669;
  z-index: 2;
  transition: width 0.3s ease;
}

.stepper-step-col {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  max-width: 140px;
}

.stepper-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  border: 2.5px solid #cbd5e1;
  color: #64748b;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  transition: all 0.2s ease;
}

.stepper-step-col.completed .stepper-circle {
  background: #059669;
  border-color: #059669;
  color: #ffffff;
}

.stepper-step-col.active .stepper-circle {
  background: #ffffff;
  border-color: #059669;
  color: #059669;
  box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.15);
  animation: pulse-ring 1.8s infinite;
}

.stepper-step-col.disputed .stepper-circle {
  background: #ef4444;
  border-color: #ef4444;
  color: #ffffff;
}

.stepper-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #334155;
  line-height: 1.25;
}

.stepper-step-col.completed .stepper-label {
  color: #059669;
}

.stepper-sub {
  font-size: 0.68rem;
  color: #64748b;
  margin-top: 3px;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.4); }
  70% { box-shadow: 0 0 0 8px rgba(5, 150, 105, 0); }
  100% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0); }
}

@media (max-width: 640px) {
  .escrow-horizontal-stepper {
    margin: 1rem 0;
  }
  .stepper-circle {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }
  .escrow-horizontal-stepper::before,
  .stepper-progress-bar {
    top: 14px;
    left: 20px;
    right: 20px;
  }
  .stepper-label {
    font-size: 0.7rem;
  }
}

.mp-quick-stock-btn {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: all 0.15s ease;
}

.mp-quick-stock-btn.in {
  color: #b91c1c;
  border-color: #fecaca;
  background: #fef2f2;
}

.mp-quick-stock-btn.in:hover {
  background: #fee2e2;
}

.mp-quick-stock-btn.out {
  color: #047857;
  border-color: #a7f3d0;
  background: #ecfdf5;
}

.mp-quick-stock-btn.out:hover {
  background: #d1fae5;
}

.mp-pc-price-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.mp-inline-edit-btn {
  background: transparent;
  border: 1px solid transparent;
  color: #55657e;
  border-radius: 4px;
  padding: 2px 5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.mp-inline-edit-btn:hover {
  color: #059669;
  background: #ecfdf5;
  border-color: #a7f3d0;
}

.mp-inline-price-editor {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.mp-inline-input {
  width: 95px;
  padding: 0.25rem 0.4rem;
  font-size: 0.88rem;
  font-weight: 800;
  color: #0f172a;
  border: 1.5px solid #059669;
  border-radius: 4px;
  outline: none;
}

.mp-inline-save-btn {
  background: #059669;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 0.25rem 0.5rem;
  font-weight: 800;
  font-size: 0.82rem;
  cursor: pointer;
  transition: background 0.15s ease;
}

.mp-inline-save-btn:hover {
  background: #047857;
}

.mp-inline-cancel-btn {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 0.25rem 0.5rem;
  font-weight: 800;
  font-size: 0.82rem;
  cursor: pointer;
}

.mp-inline-cancel-btn:hover {
  background: #e2e8f0;
}

@media (max-width: 768px) {
  .lightbox-nav-btn {
    width: 38px;
    height: 46px;
    font-size: 1.4rem;
  }
  .lightbox-prev { left: 0.5rem; }
  .lightbox-next { right: 0.5rem; }
  .watermark-line { font-size: 0.85rem; }
}





/* ==========================================================================
   Browse by Category - 6 Platform Brand Cards (Matches User Image)
   ========================================================================== */
.browse-category-section {
  margin: 1.5rem 0 1.25rem !important;
}
.marketplace-search-section {
  margin: 0 0 1.35rem 0;
  position: relative;
  z-index: 10001;
}
.browse-category-grid {
  display: grid !important;
  grid-template-columns: repeat(7, 1fr) !important;
  gap: 10px !important;
  width: 100% !important;
}
.category-brand-card.category-card,
.category-brand-card {
  position: relative !important;
  overflow: hidden !important;
  border-radius: 16px !important;
  height: 136px !important;
  min-height: 136px !important;
  padding: 14px 12px 12px 14px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  text-align: left !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08) !important;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease, border-color 0.2s ease !important;
  user-select: none !important;
  border: 2px solid transparent !important;
}
.category-brand-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 10px 24px -2px rgba(0, 0, 0, 0.18) !important;
}
.category-brand-card.active {
  border-color: #ffffff !important;
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25), 0 0 0 3px rgba(255, 255, 255, 0.7) !important;
}
.brand-card-watermark {
  position: absolute !important;
  top: -8px !important;
  right: -8px !important;
  width: 80px !important;
  height: 80px !important;
  opacity: 0.16 !important;
  pointer-events: none !important;
}
.brand-card-watermark svg {
  width: 100% !important;
  height: 100% !important;
  fill: #ffffff !important;
}
.brand-card-top {
  position: relative !important;
  z-index: 2 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: 100% !important;
}
.brand-card-icon-pill {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15) !important;
  flex-shrink: 0 !important;
}
.brand-card-bottom {
  position: relative !important;
  z-index: 2 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-end !important;
  text-align: left !important;
  width: 100% !important;
  padding-right: 32px !important;
  box-sizing: border-box !important;
}
.brand-card-title {
  color: #ffffff !important;
  font-size: 1.02rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.2px !important;
  line-height: 1.2 !important;
  margin-bottom: 2px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  text-align: left !important;
  width: 100% !important;
}
.brand-card-subtitle {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 0.68rem !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  white-space: normal !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-align: left !important;
  word-break: break-word !important;
  width: 100% !important;
}
.brand-card-arrow-btn {
  position: absolute !important;
  right: 10px !important;
  bottom: 10px !important;
  width: 26px !important;
  height: 26px !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  color: #0f172a !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12) !important;
  transition: transform 0.18s ease, background 0.18s ease !important;
  z-index: 3 !important;
}
.category-brand-card:hover .brand-card-arrow-btn {
  transform: translateX(2px) !important;
  background: #f8fafc !important;
}

@media (max-width: 1200px) {
  .browse-category-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 10px !important;
  }
}
@media (max-width: 900px) {
  .browse-category-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 10px !important;
  }
}
@media (max-width: 640px) {
  .browse-category-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }
  .category-brand-card:last-child:nth-child(odd) {
    grid-column: span 2 !important;
  }
  .category-brand-card.category-card,
  .category-brand-card {
    height: 124px !important;
    min-height: 124px !important;
    padding: 10px 8px 8px 10px !important;
    border-radius: 14px !important;
  }
  .brand-card-icon-pill {
    width: 30px !important;
    height: 30px !important;
  }
  .brand-card-icon-pill svg {
    width: 16px !important;
    height: 16px !important;
  }
  .brand-card-title {
    font-size: 0.92rem !important;
  }
  .brand-card-subtitle {
    font-size: 0.64rem !important;
  }
  .brand-card-arrow-btn {
    width: 22px !important;
    height: 22px !important;
    right: 8px !important;
    bottom: 8px !important;
  }
}

/* Platform Tag Classes */
.tag-youtube { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
.tag-facebook { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.tag-freefire { background: #fff7ed; color: #ea580c; border: 1px solid #fed7aa; }
.tag-pubg { background: #fefce8; color: #ca8a04; border: 1px solid #fef08a; }
.tag-tiktok { background: #f8fafc; color: #0f172a; border: 1px solid #e2e8f0; }
.tag-instagram { background: #fdf2f8; color: #db2777; border: 1px solid #fbcfe8; }
.tag-whatsapp { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; }
.tag-telegram { background: #f0f9ff; color: #0284c7; border: 1px solid #bae6fd; }
.tag-website { background: #f0fdf4; color: #059669; border: 1px solid #bbf7d0; }
.tag-others { background: #f1f5f9; color: #475569; border: 1px solid #cbd5e1; }

/* ==============================================================================
   Mobile App-Style Bottom Navigation Bar (Guarantees zero CLS on asynchronous CSS load)
============================================================================== */
.mobile-app-bottom-bar {
  display: none;
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  min-height: 3.85rem !important;
  height: auto !important;
  background: #ffffff !important;
  border-top: 1px solid #e2e8f0 !important;
  z-index: 999999 !important;
  align-items: center !important;
  justify-content: space-around !important;
  padding: 0.35rem 0.5rem max(0.45rem, env(safe-area-inset-bottom, 0px)) !important;
  box-sizing: border-box !important;
  box-shadow: 0 -3px 14px rgba(0, 0, 0, 0.1) !important;
  transform: translateZ(0) !important;
  -webkit-transform: translateZ(0) !important;
  backface-visibility: hidden !important;
  -webkit-backface-visibility: hidden !important;
  pointer-events: auto !important;
  touch-action: manipulation;
}

@media (max-width: 768px) {
  .mobile-app-bottom-bar {
    display: flex !important;
  }
  body.has-bottom-bar {
    padding-bottom: calc(5rem + env(safe-area-inset-bottom, 0px)) !important;
  }
}

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

.bottom-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.25rem 0.5rem;
  border-radius: 8px;
  transition: all 0.15s ease;
  min-width: 52px;
}
.bottom-bar-item svg {
  stroke-width: 2.2;
}
.bottom-bar-item.active,
.bottom-bar-item:hover {
  color: var(--site-accent, #ff7024);
}
.bottom-bar-sell-btn {
  background: var(--site-accent, #ff7024);
  color: #ffffff !important;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  border: 1px solid #e05810;
}
.bottom-bar-sell-btn svg {
  color: #ffffff;
}


