@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --bg: #070913;
  --bg-soft: #0c0f20;
  --panel: rgba(18, 23, 46, 0.75);
  --panel-2: rgba(24, 30, 60, 0.82);
  --panel-3: rgba(30, 38, 76, 0.88);
  --text: #f8faff;
  --muted: #9aa5be;
  --line: rgba(139, 108, 255, 0.16);
  --line-strong: rgba(139, 108, 255, 0.32);

  /* Customizable Theme Colors (Admin Controlled) */
  --accent-primary: #8b6cff;
  --accent-glow: rgba(139, 108, 255, 0.5);
  --accent-secondary: #00d4ff;
  --accent-secondary-glow: rgba(0, 212, 255, 0.4);
  --accent-gradient: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);

  --purple: var(--accent-primary);
  --purple-glow: var(--accent-glow);
  --cyan: var(--accent-secondary);
  --cyan-glow: var(--accent-secondary-glow);
  --pink: #ff3377;
  --green: #10b981;
  --gold: #f5bf4a;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
  --radius: 20px;
  --font: 'Inter', -apple-system, sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 14.5px;
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.25s, color 0.25s;
  position: relative;
}

/* Rich, Vibrant Cyber-Indigo Holographic Background with Dynamic Lighting Cones */
body::before {
  content: "" !important;
  position: fixed !important;
  inset: 0 !important;
  pointer-events: none !important;
  z-index: 0 !important;
  background-color: #070913 !important;
  background-image: 
    radial-gradient(circle at 12% 16%, rgba(139, 92, 246, 0.26) 0%, transparent 45%),
    radial-gradient(circle at 88% 18%, rgba(6, 182, 212, 0.24) 0%, transparent 42%),
    radial-gradient(circle at 50% 50%, rgba(236, 72, 153, 0.14) 0%, transparent 50%),
    radial-gradient(circle at 75% 85%, rgba(59, 130, 246, 0.22) 0%, transparent 45%),
    linear-gradient(rgba(139, 108, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 182, 212, 0.06) 1px, transparent 1px) !important;
  background-size: auto, auto, auto, auto, 50px 50px, 50px 50px !important;
}

html.light-mode,
body.light-mode {
  --bg: #f4f6fb !important;
  --bg-soft: #edf0f8 !important;
  --panel: #ffffff !important;
  --panel-2: #f8f9fd !important;
  --panel-3: #eaeef8 !important;
  --surface: #ffffff !important;
  --surface2: #f8f9fd !important;
  --text: #171a28 !important;
  --muted: #64748b !important;
  --line: rgba(21, 27, 47, 0.12) !important;
  --line-strong: rgba(21, 27, 47, 0.22) !important;
  --shadow: 0 20px 60px rgba(15, 23, 42, 0.08) !important;
  background-color: #f4f6fb !important;
  color: #171a28 !important;
}

body.light-mode::before {
  background-color: #f4f6fb !important;
  background-image: 
    radial-gradient(circle at 12% 16%, rgba(139, 92, 246, 0.09) 0%, transparent 45%),
    radial-gradient(circle at 88% 18%, rgba(6, 182, 212, 0.09) 0%, transparent 42%),
    radial-gradient(circle at 50% 50%, rgba(236, 72, 153, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 75% 85%, rgba(59, 130, 246, 0.06) 0%, transparent 45%),
    linear-gradient(rgba(139, 108, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 182, 212, 0.04) 1px, transparent 1px) !important;
}

body.light-mode .ambient {
  opacity: 0.06 !important;
}

/* Light Mode: Header & Topbar */
body.light-mode .topbar {
  background: rgba(255, 255, 255, 0.94) !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.95) !important;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05) !important;
}

body.light-mode .topbar .brand-text strong,
body.light-mode .topbar #brandName {
  color: #0f172a !important;
}

body.light-mode .topbar .brand-text small {
  color: #64748b !important;
}

body.light-mode .topbar-balance-pill {
  background: #f1f5f9 !important;
  border-color: rgba(203, 213, 225, 0.9) !important;
  color: #0f172a !important;
}

body.light-mode .nav-link {
  color: #475569 !important;
}

body.light-mode .nav-link:hover,
body.light-mode .nav-link.active {
  color: #0f172a !important;
  background: rgba(139, 108, 255, 0.1) !important;
}

body.light-mode .header-actions .icon-btn,
body.light-mode .icon-btn,
body.light-mode .view-switch {
  background: #ffffff !important;
  border-color: rgba(203, 213, 225, 0.9) !important;
  color: #334155 !important;
}

body.light-mode .header-actions .icon-btn:hover,
body.light-mode .icon-btn:hover {
  background: #f1f5f9 !important;
  color: #0f172a !important;
}

/* Light Mode: Mobile Drawer Navigation */
body.light-mode .mobile-drawer-nav {
  background: #ffffff !important;
  border-left-color: rgba(226, 232, 240, 0.9) !important;
  box-shadow: -8px 0 30px rgba(15, 23, 42, 0.12) !important;
}

body.light-mode .mobile-drawer-nav .drawer-header {
  border-bottom-color: rgba(226, 232, 240, 0.9) !important;
}

body.light-mode .mobile-drawer-nav .drawer-header strong {
  color: #0f172a !important;
}

body.light-mode .mobile-drawer-nav .drawer-header small {
  color: #64748b !important;
}

body.light-mode .mobile-drawer-nav .nav a {
  color: #1e293b !important;
  background: #f8fafc !important;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
}

body.light-mode .mobile-drawer-nav .nav a i {
  color: #6366f1 !important;
}

body.light-mode .mobile-drawer-nav .nav a:hover,
body.light-mode .mobile-drawer-nav .nav a.active {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(6, 182, 212, 0.12)) !important;
  border-color: rgba(139, 92, 246, 0.45) !important;
  color: #0f172a !important;
}

body.light-mode .drawer-footer-tools {
  border-top-color: rgba(226, 232, 240, 0.9) !important;
}

body.light-mode .drawer-tool-btn {
  background: #f8fafc !important;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
  color: #1e293b !important;
}

body.light-mode .drawer-tool-btn:hover {
  background: #f1f5f9 !important;
  color: #0f172a !important;
}

/* Light Mode: Hero Section & Typography */
body.light-mode .hero-copy .hero-title,
body.light-mode .section-heading h2,
body.light-mode h1, body.light-mode h2, body.light-mode h3, body.light-mode h4 {
  color: #0f172a !important;
}

body.light-mode .hero-description,
body.light-mode .section-heading p,
body.light-mode p,
body.light-mode .muted {
  color: #475569 !important;
}

body.light-mode .eyebrow {
  background: rgba(139, 108, 255, 0.12) !important;
  border-color: rgba(139, 108, 255, 0.3) !important;
  color: #6366f1 !important;
}

body.light-mode .hero-art,
body.light-mode .hero-core {
  background: #ffffff !important;
  border-color: rgba(226, 232, 240, 0.9) !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08) !important;
  color: #0f172a !important;
}

body.light-mode .float-card {
  background: rgba(255, 255, 255, 0.96) !important;
  border-color: rgba(226, 232, 240, 0.9) !important;
  color: #0f172a !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08) !important;
}

body.light-mode .hero-proof strong {
  color: #0f172a !important;
}

body.light-mode .hero-proof small {
  color: #64748b !important;
}

body.light-mode .proof-divider {
  background: rgba(226, 232, 240, 0.9) !important;
}

/* Light Mode: Cards, Products & Dashboard */
body.light-mode .card,
body.light-mode .product-card,
body.light-mode .d-stat-card,
body.light-mode .stat-card,
body.light-mode .modal-card,
body.light-mode .modal-dialog,
body.light-mode .modal-content,
body.light-mode .home-banner-card,
body.light-mode .category-card,
body.light-mode .showcase-card,
body.light-mode .feature-card,
body.light-mode .review-card,
body.light-mode .faq-item {
  background: #ffffff !important;
  border-color: rgba(226, 232, 240, 0.9) !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06) !important;
  color: #1e293b !important;
}

body.light-mode .product-card:hover {
  border-color: rgba(139, 108, 255, 0.5) !important;
  box-shadow: 0 16px 36px rgba(139, 108, 255, 0.12) !important;
}

body.light-mode .product-art {
  background: radial-gradient(circle at 50% 45%, rgba(139, 108, 255, 0.12), transparent 65%), linear-gradient(135deg, #f8fafc, #edf2f7) !important;
}

body.light-mode .product-info h3 {
  color: #0f172a !important;
}

body.light-mode .product-desc,
body.light-mode .product-meta,
body.light-mode .d-stat-label,
body.light-mode .cat-prod-count {
  color: #64748b !important;
}

body.light-mode .d-stat-num {
  color: #0f172a !important;
}

body.light-mode .cat-filter-chip,
body.light-mode .cat-chip,
body.light-mode .filter-pill,
body.light-mode .category-tab-btn {
  background: #f1f5f9 !important;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
  color: #334155 !important;
}

body.light-mode .cat-filter-chip:hover,
body.light-mode .cat-filter-chip.active,
body.light-mode .category-tab-btn.active {
  background: var(--accent-primary) !important;
  border-color: var(--accent-primary) !important;
  color: #ffffff !important;
}

/* Light Mode: Forms, Inputs, Buttons */
body.light-mode input,
body.light-mode textarea,
body.light-mode select {
  background: #f8fafc !important;
  color: #0f172a !important;
  border-color: rgba(203, 213, 225, 0.9) !important;
}

body.light-mode input:focus,
body.light-mode textarea:focus,
body.light-mode select:focus {
  background: #ffffff !important;
  border-color: var(--accent-primary) !important;
  box-shadow: 0 0 0 3px rgba(139, 108, 255, 0.15) !important;
}

body.light-mode .btn-ghost {
  background: #ffffff !important;
  border-color: rgba(203, 213, 225, 0.9) !important;
  color: #1e293b !important;
}

body.light-mode .btn-ghost:hover {
  background: #f1f5f9 !important;
  color: #0f172a !important;
}

body.light-mode .search-panel {
  background: rgba(255, 255, 255, 0.98) !important;
  border-color: rgba(226, 232, 240, 0.95) !important;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.14) !important;
}

body.light-mode .search-panel input {
  background: #f8fafc !important;
  color: #0f172a !important;
}

/* Light Mode: Deposit, Orders, Downloads */
body.light-mode .deposit-card,
body.light-mode .deposit-methods-wrap,
body.light-mode .deposit-qr-wrap,
body.light-mode .deposit-info-box,
body.light-mode .order-card,
body.light-mode .order-detail-card,
body.light-mode .download-item-card,
body.light-mode .table-responsive,
body.light-mode table {
  background: #ffffff !important;
  border-color: rgba(226, 232, 240, 0.9) !important;
  color: #1e293b !important;
}

body.light-mode th {
  background: #f8fafc !important;
  color: #0f172a !important;
  border-bottom-color: rgba(226, 232, 240, 0.9) !important;
}

body.light-mode td {
  border-bottom-color: rgba(241, 245, 249, 0.9) !important;
  color: #334155 !important;
}

/* Light Mode: Footer */
body.light-mode .footer {
  background: #f1f5f9 !important;
  border-top-color: rgba(226, 232, 240, 0.9) !important;
  color: #475569 !important;
}

body.light-mode .footer strong,
body.light-mode .footer h4,
body.light-mode .footer #footerBrandName {
  color: #0f172a !important;
}

body.light-mode .footer p,
body.light-mode .footer a {
  color: #475569 !important;
}

body.light-mode .footer a:hover {
  color: #0f172a !important;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

/* Ambient glowing orbs in background - vivid cyberpunk neon glow */
.ambient {
  position: fixed !important;
  z-index: 0 !important;
  pointer-events: none !important;
  filter: blur(105px) !important;
  border-radius: 50% !important;
}

.ambient-one {
  width: 780px !important;
  height: 780px !important;
  top: -80px !important;
  left: -120px !important;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.44), rgba(99, 102, 241, 0.22), transparent 70%) !important;
  opacity: 0.95 !important;
}

.ambient-two {
  width: 820px !important;
  height: 820px !important;
  top: 180px !important;
  right: -140px !important;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.4), rgba(59, 130, 246, 0.22), transparent 70%) !important;
  opacity: 0.9 !important;
}

.ambient-three {
  width: 720px !important;
  height: 720px !important;
  bottom: 40px !important;
  left: 20% !important;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.3), rgba(139, 92, 246, 0.16), transparent 70%) !important;
  opacity: 0.85 !important;
}

/* EXPANDED FULL-SCREEN DESKTOP CONTAINER (.section-wrap) */
.section-wrap {
  width: min(1660px, calc(100% - 48px)) !important;
  max-width: 1660px !important;
  margin-inline: auto !important;
}

@media (min-width: 1440px) {
  .section-wrap {
    width: min(1720px, calc(100% - 64px)) !important;
    max-width: 1720px !important;
  }
}

@media (min-width: 1800px) {
  .section-wrap {
    width: min(1820px, calc(100% - 80px)) !important;
    max-width: 1820px !important;
  }
}

/* ================================================================
   NTT DIGITAL TOPBAR (FLUID & BALANCED)
================================================================ */
.topbar {
  height: 76px !important;
  padding: 0 max(32px, calc((100vw - 1720px) / 2)) !important;
  width: 100% !important;
  max-width: 100vw !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
  border-bottom: 1px solid rgba(139, 108, 255, 0.2) !important;
  background: rgba(9, 11, 22, 0.88) !important;
  backdrop-filter: blur(28px) !important;
  -webkit-backdrop-filter: blur(28px) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 25px rgba(139, 108, 255, 0.08) !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 100 !important;
}

.topbar .brand {
  width: auto !important;
  max-width: none !important;
  flex: 0 0 auto !important;
  min-width: max-content !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 13px !important;
  overflow: visible !important;
  text-decoration: none !important;
  cursor: pointer !important;
}

.site-brand-logo-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: inherit !important;
}

.brand-mark, .brand-mark-mini {
  overflow: hidden !important;
  position: relative !important;
}

.topbar .brand-mark {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  border-radius: 13px !important;
  background: linear-gradient(135deg, #7c3aed, #4f46e5 50%, #06b6d4) !important;
  box-shadow: 0 0 22px rgba(124, 58, 237, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.4) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  display: grid !important;
  place-items: center !important;
  color: #ffffff !important;
  font-size: 20px !important;
  flex-shrink: 0 !important;
  overflow: hidden !important;
  position: relative !important;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease !important;
}

.topbar .brand:hover .brand-mark {
  transform: rotate(8deg) scale(1.08) !important;
  box-shadow: 0 0 30px rgba(6, 182, 212, 0.75), inset 0 1px 2px rgba(255, 255, 255, 0.6) !important;
}

.topbar .brand-text {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  line-height: 1.15 !important;
}

.topbar .brand-text strong,
.topbar #brandName {
  font-family: 'Space Grotesk', 'Inter', sans-serif !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  letter-spacing: 0.8px !important;
  background: linear-gradient(135deg, #ffffff 20%, #c4b5fd 60%, #38bdf8 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  text-transform: uppercase !important;
  display: inline-block !important;
  margin: 0 !important;
  padding: 0 !important;
}

.topbar .brand-text small {
  font-size: 9px !important;
  font-weight: 700 !important;
  letter-spacing: 2px !important;
  color: #38bdf8 !important;
  text-transform: uppercase !important;
  margin-top: 3px !important;
  opacity: 0.85 !important;
}

.desktop-nav {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 auto !important;
}

.nav-link {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #94a3b8 !important;
  padding: 8px 16px !important;
  border-radius: 12px !important;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  background: rgba(255, 255, 255, 0.02) !important;
  text-decoration: none !important;
  position: relative !important;
}

.nav-link:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
  transform: translateY(-1px) !important;
}

.nav-link.active {
  color: #ffffff !important;
  background: var(--accent-gradient, linear-gradient(135deg, #7c3aed 0%, #06b6d4 100%)) !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  border-radius: 12px !important;
  box-shadow: 0 0 24px var(--accent-glow, rgba(124, 58, 237, 0.7)), 0 0 10px var(--accent-secondary-glow, rgba(6, 182, 212, 0.6)), inset 0 1px 1px rgba(255, 255, 255, 0.5) !important;
  font-weight: 800 !important;
  letter-spacing: 0.2px !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
  transform: translateY(-1px) !important;
}

.nav-link.active i {
  color: #ffffff !important;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.9)) !important;
}

.header-actions {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-shrink: 0 !important;
}

.topbar-balance-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: rgba(245, 191, 74, 0.08) !important;
  border: 1px solid rgba(245, 191, 74, 0.28) !important;
  padding: 6px 14px !important;
  border-radius: 12px !important;
  color: #fbbf24 !important;
  font-weight: 800 !important;
  font-size: 13px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 0 12px rgba(245, 191, 74, 0.12) !important;
}

.topbar-balance-pill:hover {
  background: rgba(245, 191, 74, 0.16) !important;
  border-color: rgba(245, 191, 74, 0.5) !important;
  box-shadow: 0 0 20px rgba(245, 191, 74, 0.25) !important;
  transform: translateY(-1px) !important;
}

/* ================================================================
   NTT DIGITAL - MOBILE SLIDE-OUT DRAWER & NAVIGATION
================================================================ */
.mobile-menu-btn {
  display: none !important;
}

.mobile-left-edge-pull {
  display: none !important;
}

.mobile-drawer-backdrop {
  display: none !important;
}

.mobile-drawer-nav {
  display: none !important;
}

.mobile-menu {
  display: none !important;
}

@media (max-width: 992px) {
  .topbar {
    padding: 0 16px !important;
    gap: 10px !important;
  }
  .desktop-nav {
    display: none !important;
  }

  /* Right-side Hamburger Button (in .header-actions) */
  .mobile-menu-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    border-radius: 11px !important;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.28), rgba(6, 182, 212, 0.18)) !important;
    border: 1px solid rgba(139, 92, 246, 0.5) !important;
    color: #ffffff !important;
    font-size: 18px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), 0 0 16px rgba(139, 92, 246, 0.25) !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }
  .mobile-menu-btn:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.45), rgba(6, 182, 212, 0.3)) !important;
    border-color: rgba(6, 182, 212, 0.75) !important;
    box-shadow: 0 0 22px rgba(6, 182, 212, 0.5) !important;
    color: #00d4ff !important;
  }
  .mobile-menu-btn:active {
    transform: scale(0.92) !important;
  }

  /* Backdrop */
  .mobile-drawer-backdrop {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(3, 5, 14, 0.75) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    z-index: 99998 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    display: block !important;
    transition: opacity 0.32s ease, visibility 0.32s ease !important;
  }
  .mobile-drawer-backdrop.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  /* Slide-out Drawer */
  .mobile-drawer-nav {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 310px !important;
    max-width: 86vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: linear-gradient(180deg, #0e1224 0%, #070914 100%) !important;
    border-right: 1px solid rgba(139, 92, 246, 0.35) !important;
    box-shadow: 16px 0 60px rgba(0, 0, 0, 0.85), 0 0 40px rgba(139, 92, 246, 0.2) !important;
    z-index: 99999 !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 16px 14px 24px !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    transform: translateX(-105%) !important;
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-sizing: border-box !important;
  }
  .mobile-drawer-nav.open {
    transform: translateX(0) !important;
  }

  .drawer-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-bottom: 12px !important;
    margin-bottom: 12px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    flex-shrink: 0 !important;
  }
  .drawer-brand {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
  }
  .drawer-brand .brand-mark-mini {
    width: 32px !important;
    height: 32px !important;
    border-radius: 9px !important;
    background: linear-gradient(135deg, #7c3aed, #06b6d4) !important;
    display: grid !important;
    place-items: center !important;
    color: #fff !important;
    font-size: 14px !important;
    box-shadow: 0 0 14px rgba(124, 58, 237, 0.5) !important;
  }
  .drawer-brand .drawer-title {
    font-size: 16px !important;
    font-weight: 800 !important;
    letter-spacing: 0.8px !important;
    background: linear-gradient(135deg, #ffffff, #c4b5fd 60%, #38bdf8) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    text-transform: uppercase !important;
  }
  .drawer-close-btn {
    width: 34px !important;
    height: 34px !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #94a3b8 !important;
    display: grid !important;
    place-items: center !important;
    font-size: 15px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
  }
  .drawer-close-btn:hover {
    color: #fff !important;
    background: rgba(239, 68, 68, 0.2) !important;
    border-color: rgba(239, 68, 68, 0.4) !important;
  }

  /* User Profile Card in Drawer (Protected from shrinking or being clipped) */
  .mobile-drawer-nav .drawer-profile-card,
  .mobile-drawer-nav #sidebar-profile {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 10px 14px !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    margin-bottom: 12px !important;
    flex: 0 0 auto !important;
    flex-shrink: 0 !important;
    min-height: 60px !important;
    height: auto !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .mobile-drawer-nav #sidebar-avatar-img {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    max-width: 42px !important;
    max-height: 42px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #7c3aed, #06b6d4) !important;
    display: grid !important;
    place-items: center !important;
    color: #fff !important;
    font-weight: 800 !important;
    font-size: 15px !important;
    flex-shrink: 0 !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
    overflow: hidden !important;
  }
  .mobile-drawer-nav .brand-info {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
  }
  .mobile-drawer-nav #sidebar-username {
    font-weight: 700 !important;
    font-size: 14.5px !important;
    color: #ffffff !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .mobile-drawer-nav #sidebar-user-tag {
    font-size: 11px !important;
    color: #38bdf8 !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    margin-top: 2px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  /* Balance Card in Drawer */
  .mobile-drawer-nav .balance-card {
    flex: 0 0 auto !important;
    flex-shrink: 0 !important;
    margin-bottom: 14px !important;
    padding: 12px 14px !important;
    background: linear-gradient(135deg, rgba(245, 191, 74, 0.14), rgba(245, 191, 74, 0.04)) !important;
    border: 1px solid rgba(245, 191, 74, 0.3) !important;
    border-radius: 12px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }

  .drawer-nav-section-title {
    font-size: 10.5px !important;
    font-weight: 800 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    color: #94a3b8 !important;
    margin: 12px 0 8px 4px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-shrink: 0 !important;
  }

  .mobile-drawer-nav .nav {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    flex-shrink: 0 !important;
  }
  .mobile-drawer-nav .nav a {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 10px 14px !important;
    border-radius: 12px !important;
    color: #cbd5e1 !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid transparent !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }
  .mobile-drawer-nav .nav a i {
    width: 20px !important;
    text-align: center !important;
    font-size: 15px !important;
  }
  .mobile-drawer-nav .nav a:hover,
  .mobile-drawer-nav .nav a.active {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.22), rgba(6, 182, 212, 0.12)) !important;
    border-color: rgba(139, 92, 246, 0.45) !important;
    color: #ffffff !important;
    transform: translateX(4px) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25) !important;
  }

  /* Drawer Footer Tools */
  .drawer-footer-tools {
    margin-top: auto !important;
    padding-top: 14px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    flex-shrink: 0 !important;
  }
  .drawer-tool-btn {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 9px 12px !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #cbd5e1 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
  }
  .drawer-tool-btn:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #fff !important;
  }
}

/* Specific Mobile Screen Adjustments (<= 480px, including iPhone 16) */
@media (max-width: 480px) {
  .topbar {
    padding: 0 10px !important;
    gap: 8px !important;
    height: 64px !important;
  }
  .topbar .brand {
    gap: 8px !important;
    flex-shrink: 1 !important;
    min-width: 0 !important;
  }
  .topbar .brand-mark {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    font-size: 16px !important;
    border-radius: 10px !important;
  }
  .topbar .brand-text strong,
  .topbar #brandName {
    font-size: 15px !important;
  }
  .topbar .brand-text small {
    display: none !important;
  }
  .header-actions {
    gap: 6px !important;
    flex-shrink: 0 !important;
  }
  .header-actions .icon-btn {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    font-size: 14px !important;
  }
  .header-actions .theme-toggle {
    display: inline-flex !important;
  }
  .topbar-balance-pill {
    padding: 5px 8px !important;
    font-size: 11.5px !important;
    gap: 5px !important;
  }
}

/* ================================================================
   VIP ANNOUNCEMENT & NOTICE SUITE
================================================================ */
.home-notices-container {
  margin-top: 20px !important;
  margin-bottom: 16px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
}

/* ================================================================
   NTTSHOP HOME BANNER IMAGES
================================================================ */
.home-banner-images-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 18px !important;
  width: 100% !important;
  margin-bottom: 20px !important;
}

@media (max-width: 860px) {
  .home-banner-images-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
}

.home-banner-card {
  width: 100% !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  border: 1px solid rgba(139, 108, 255, 0.35) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45) !important;
  background: var(--panel) !important;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease !important;
}

.home-banner-card:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(139, 108, 255, 0.75) !important;
  box-shadow: 0 18px 45px rgba(139, 108, 255, 0.28) !important;
}

.home-banner-card.banner-policy {
  border-color: rgba(245, 158, 11, 0.4) !important;
}

.home-banner-card.banner-policy:hover {
  border-color: rgba(245, 158, 11, 0.85) !important;
  box-shadow: 0 18px 45px rgba(245, 158, 11, 0.28) !important;
}

.home-banner-link {
  display: block !important;
  width: 100% !important;
  line-height: 0 !important;
  text-decoration: none !important;
}

.home-banner-img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  border-radius: 17px !important;
  object-fit: cover !important;
  aspect-ratio: 16 / 9 !important;
}

/* Glowing Neon Marquee Bar */
.dashboard-marquee-bar {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  background: linear-gradient(90deg, rgba(139, 92, 246, 0.14), rgba(6, 182, 212, 0.1), rgba(15, 23, 42, 0.85)) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(139, 92, 246, 0.35) !important;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4), 0 0 25px rgba(139, 92, 246, 0.14) !important;
  border-radius: 14px !important;
  padding: 10px 18px !important;
  overflow: hidden !important;
  white-space: nowrap !important;
}

.marquee-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: linear-gradient(135deg, #ec4899, #8b5cf6 60%, #06b6d4) !important;
  box-shadow: 0 0 18px rgba(236, 72, 153, 0.45) !important;
  color: #ffffff !important;
  font-size: 11.5px !important;
  font-weight: 800 !important;
  padding: 5px 12px !important;
  border-radius: 8px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.8px !important;
  flex-shrink: 0 !important;
}

.marquee-scroll-container {
  overflow: hidden !important;
  flex: 1 !important;
  position: relative !important;
}

.marquee-scroll-text {
  display: inline-block !important;
  white-space: nowrap !important;
  animation: marqueeScroll 25s linear infinite !important;
  font-size: 13.5px !important;
  color: #f1f5f9 !important;
  font-weight: 600 !important;
  letter-spacing: 0.3px !important;
}

/* Glassmorphism VIP Welcome & Policy Card */
.dashboard-welcome-card {
  background: linear-gradient(135deg, rgba(20, 24, 38, 0.88), rgba(13, 17, 28, 0.94)) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border: 1px solid rgba(139, 92, 246, 0.32) !important;
  border-radius: 18px !important;
  padding: 20px 24px !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 35px rgba(139, 92, 246, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
  position: relative !important;
  overflow: hidden !important;
  display: flex;
  align-items: flex-start !important;
  gap: 20px !important;
  transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
}

.dashboard-welcome-card[style*="none"],
.dashboard-welcome-card.is-hidden,
#dashboard-welcome-card[style*="none"] {
  display: none !important;
}

.dashboard-welcome-card::after {
  content: '' !important;
  position: absolute !important;
  top: -60px !important;
  right: -60px !important;
  width: 180px !important;
  height: 180px !important;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.22), transparent 70%) !important;
  pointer-events: none !important;
  border-radius: 50% !important;
}

.welcome-avatar-box {
  width: 58px !important;
  height: 58px !important;
  min-width: 58px !important;
  min-height: 58px !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.35), rgba(6, 182, 212, 0.25)) !important;
  border: 2px solid rgba(139, 92, 246, 0.5) !important;
  box-shadow: 0 0 24px rgba(139, 92, 246, 0.4), inset 0 0 14px rgba(6, 182, 212, 0.25) !important;
  display: grid !important;
  place-items: center !important;
  position: relative !important;
  flex-shrink: 0 !important;
  overflow: visible !important;
}

.welcome-avatar-box img {
  width: 100% !important;
  height: 100% !important;
  border-radius: 14px !important;
  object-fit: cover !important;
  display: block !important;
}

.avatar-verified-badge {
  position: absolute !important;
  bottom: -4px !important;
  right: -4px !important;
  width: 20px !important;
  height: 20px !important;
  border-radius: 50% !important;
  background: #38bdf8 !important;
  color: #0b1120 !important;
  display: grid !important;
  place-items: center !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  box-shadow: 0 2px 8px rgba(56, 189, 248, 0.7) !important;
  border: 2px solid #0f172a !important;
}

.welcome-content {
  flex: 1 !important;
  min-width: 0 !important;
}

.welcome-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  margin-bottom: 12px !important;
  padding-bottom: 12px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.welcome-title-wrap {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.welcome-store-title {
  font-family: 'Space Grotesk', 'Inter', sans-serif !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  letter-spacing: 0.6px !important;
  background: linear-gradient(135deg, #ffffff 20%, #c4b5fd 60%, #38bdf8 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  text-transform: uppercase !important;
}

.welcome-verified-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  background: rgba(56, 189, 248, 0.12) !important;
  color: #38bdf8 !important;
  border: 1px solid rgba(56, 189, 248, 0.3) !important;
  border-radius: 6px !important;
  padding: 3px 8px !important;
  font-size: 10.5px !important;
  font-weight: 800 !important;
  letter-spacing: 0.5px !important;
}

.welcome-meta-pills {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.welcome-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 11.5px !important;
  padding: 4px 10px !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
}

.pill-date {
  background: rgba(255, 255, 255, 0.05) !important;
  color: #94a3b8 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.pill-status {
  background: rgba(16, 185, 129, 0.12) !important;
  color: #34d399 !important;
  border: 1px solid rgba(16, 185, 129, 0.3) !important;
}

.pulse-dot-green {
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background: #10b981 !important;
  box-shadow: 0 0 10px #10b981 !important;
  animation: pulseDot 2s infinite !important;
}

.welcome-bullets {
  list-style: none !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  padding: 0 !important;
  margin: 0 !important;
}

.welcome-bullet-item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  padding: 9px 14px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-radius: 10px !important;
  transition: all 0.2s ease !important;
}

.welcome-bullet-item:hover {
  background: rgba(139, 92, 246, 0.08) !important;
  border-color: rgba(139, 92, 246, 0.25) !important;
  transform: translateX(4px) !important;
}

.bullet-icon {
  font-size: 15px !important;
  flex-shrink: 0 !important;
  margin-top: 1px !important;
}

.bullet-text {
  font-size: 13.5px !important;
  color: #cbd5e1 !important;
  line-height: 1.55 !important;
}

.hl-text {
  color: #38bdf8 !important;
  font-weight: 700 !important;
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.4) !important;
}

.icon-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  color: var(--text);
  position: relative;
  transition: transform 0.2s, border-color 0.2s;
}

.icon-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(139, 108, 255, 0.5);
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--purple);
  color: white;
  min-width: 18px;
  height: 18px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 800;
  display: grid;
  place-items: center;
  border: 2px solid var(--bg);
  box-shadow: 0 2px 8px rgba(139, 108, 255, 0.5);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 12.5px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  background: none;
  color: var(--text);
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(115deg, #7756ff, #9d68ff);
  color: #fff !important;
  box-shadow: 0 8px 24px rgba(120, 86, 255, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 12px 32px rgba(120, 86, 255, 0.55);
}

.btn-ghost {
  border-color: var(--line);
  background: var(--panel);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: rgba(139, 108, 255, 0.5);
}

.btn-gold {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #000 !important;
  font-weight: 800;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.3);
}

.topbar-balance-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 12px;
  background: rgba(245, 191, 74, 0.12);
  border: 1px solid rgba(245, 191, 74, 0.3);
  color: var(--gold);
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}

.topbar-balance-pill:hover {
  transform: translateY(-2px);
  background: rgba(245, 191, 74, 0.2);
}

.user-profile-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 6px;
  border-radius: 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--text);
  font-weight: 700;
  font-size: 12.5px;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s;
}

.user-profile-btn:hover {
  border-color: rgba(139, 108, 255, 0.5);
}

.user-avatar-mini {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 11px;
}

.mobile-menu {
  display: none;
}

/* Global Search Floating Panel */
.search-panel {
  position: fixed;
  z-index: 45;
  top: 90px;
  left: 50%;
  transform: translate(-50%, -12px);
  width: min(640px, calc(100% - 32px));
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: var(--panel);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: 0.2s;
}

.search-panel.open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.search-panel input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  outline: 0;
  font-size: 14px;
}

.search-panel kbd {
  font-size: 10px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 3px 6px;
}

/* ================================================================
   HERO SECTION
================================================================ */
.hero {
  min-height: 580px;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: 40px;
  padding-top: 50px;
  padding-bottom: 40px;
  position: relative;
}

.hero-copy {
  padding-bottom: 20px;
}

.eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 14px var(--green);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

h1, h2, h3, p {
  margin-top: 0;
}

.hero h1,
.hero .hero-title {
  font-size: clamp(40px, 5.4vw, 72px) !important;
  line-height: 1.06 !important;
  letter-spacing: -2px !important;
  margin: 18px 0 !important;
  font-weight: 900 !important;
  font-family: var(--font-display) !important;
  color: #ffffff !important;
}

.hero h1 span,
.hero .hero-gradient-text {
  background: linear-gradient(105deg, #c084fc 0%, #38bdf8 52%, #f472b6 100%) !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  filter: drop-shadow(0 0 28px rgba(192, 132, 252, 0.45)) !important;
}

.hero-description {
  max-width: 490px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
}

.avatar-stack {
  display: flex;
  padding-left: 3px;
}

.avatar-stack span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  margin-left: -5px;
  border: 2px solid var(--bg);
  border-radius: 50%;
  background: linear-gradient(135deg, #8b6cff, #00bde8);
  font-size: 9px;
  font-weight: 800;
  color: white;
}

.avatar-stack span:nth-child(2) {
  background: linear-gradient(135deg, #f973a5, #8b6cff);
}

.avatar-stack span:nth-child(3) {
  background: linear-gradient(135deg, #00bfa5, #1686e9);
}

.hero-proof strong, .hero-proof small {
  display: block;
}

.hero-proof strong {
  font-size: 11px;
}

.hero-proof small {
  font-size: 9.5px;
  color: var(--muted);
  margin-top: 2px;
}

.proof-divider {
  height: 28px;
  width: 1px;
  background: var(--line);
  margin: 0 6px;
}

.hero-proof i {
  color: var(--cyan);
}

/* 3D Geometric Cube & Orbit Art */
.hero-art {
  min-height: 440px;
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.hero-art:before {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(114, 84, 255, 0.22), transparent 70%);
  filter: blur(16px);
}

.orbit {
  position: absolute;
  border: 1px solid rgba(139, 108, 255, 0.25);
  border-radius: 50%;
  transform: rotate(-25deg);
}

.orbit-a {
  width: 380px;
  height: 200px;
  animation: orbitRotate 18s linear infinite;
}

.orbit-b {
  width: 290px;
  height: 400px;
  transform: rotate(48deg);
  border-color: rgba(0, 212, 255, 0.22);
  animation: orbitRotateRev 22s linear infinite;
}

@keyframes orbitRotate {
  from { transform: rotate(-25deg); }
  to { transform: rotate(335deg); }
}

@keyframes orbitRotateRev {
  from { transform: rotate(48deg); }
  to { transform: rotate(-312deg); }
}

.hero-core {
  width: 200px !important;
  height: 200px !important;
  border: 1.5px solid rgba(192, 132, 252, 0.6) !important;
  border-radius: 46px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  background: linear-gradient(145deg, rgba(38, 22, 77, 0.95), rgba(10, 20, 36, 0.95)) !important;
  box-shadow: inset 0 0 50px rgba(168, 85, 247, 0.35), 0 0 80px rgba(124, 58, 237, 0.4), 0 0 35px rgba(6, 182, 212, 0.35) !important;
  transform: rotate(-8deg) !important;
  position: relative !important;
  overflow: hidden !important;
  animation: coreFloat 6s ease-in-out infinite alternate !important;
}

@keyframes coreFloat {
  0% { transform: rotate(-8deg) translateY(0); }
  100% { transform: rotate(-5deg) translateY(-8px); }
}

.core-grid {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: linear-gradient(rgba(192, 132, 252, 0.25) 1px, transparent 1px), linear-gradient(90deg, rgba(192, 132, 252, 0.25) 1px, transparent 1px);
  background-size: 18px 18px;
  mask-image: linear-gradient(135deg, #000, transparent 80%);
}

.hero-core i {
  font-size: 58px !important;
  color: #ffffff !important;
  filter: drop-shadow(0 0 25px #a855f7) drop-shadow(0 0 12px #38bdf8) !important;
  z-index: 1;
}

.hero-core > span {
  font-family: var(--font-display) !important;
  font-weight: 800 !important;
  font-size: 24px !important;
  letter-spacing: 5px !important;
  background: linear-gradient(135deg, #ffffff 40%, #c084fc 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  z-index: 1;
}

.core-dot {
  color: #00f0ff !important;
  text-shadow: 0 0 12px #00f0ff !important;
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: color-mix(in srgb, var(--panel) 88%, transparent);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  animation: floatCard 5s ease-in-out infinite;
  z-index: 2;
}

.float-card-top {
  top: 70px;
  right: -10px;
}

.float-card-bottom {
  bottom: 65px;
  left: -15px;
  animation-delay: -2.5s;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.float-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
}

.float-icon.purple {
  background: rgba(139, 108, 255, 0.16);
  color: #b6a3ff;
}

.float-icon.cyan {
  background: rgba(0, 212, 255, 0.15);
  color: var(--cyan);
}

.float-card b, .float-card small {
  display: block;
}

.float-card b {
  font-size: 12px;
}

.float-card small {
  font-size: 9.5px;
  color: var(--muted);
}

.float-arrow {
  font-size: 11px;
  color: var(--muted);
  margin-left: 6px;
}

.live-pill {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--green);
  padding: 4px 6px;
  border-radius: 5px;
  background: rgba(110, 231, 183, 0.15);
}

.art-label {
  position: absolute;
  font-size: 8px;
  letter-spacing: 2px;
  color: var(--muted);
  writing-mode: vertical-rl;
}

.art-label span {
  color: var(--cyan);
}

.label-left {
  left: 6px;
  top: 140px;
}

.label-right {
  right: 4px;
  bottom: 120px;
}

.hero-bottom-line {
  padding: 16px 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.6px;
  margin-top: 20px;
}

.hero-bottom-line i {
  color: var(--cyan);
  margin-left: 6px;
}

/* ================================================================
   CATEGORY SHOWCASE SECTION
================================================================ */
.category-section {
  padding-top: 70px;
  padding-bottom: 70px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.section-heading h2, .service-copy h2 {
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.2;
  letter-spacing: -1.2px;
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
}

.text-link {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  padding-bottom: 4px;
}

.text-link i {
  color: var(--cyan);
  margin-left: 6px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.category-card {
  min-height: 145px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg, var(--panel), color-mix(in srgb, var(--panel) 70%, transparent));
  transition: transform 0.25s, border-color 0.25s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.category-card:after {
  content: "";
  position: absolute;
  width: 100px;
  height: 100px;
  right: -50px;
  bottom: -60px;
  border-radius: 50%;
  background: var(--cat-color, #8b6cff);
  filter: blur(45px);
  opacity: 0.18;
}

.category-card:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--cat-color, #8b6cff) 60%, transparent);
}

.category-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: color-mix(in srgb, var(--cat-color, #8b6cff) 14%, transparent);
  color: var(--cat-color, #8b6cff);
  font-size: 18px;
  margin-bottom: 16px;
}

.category-card h3 {
  font-size: 13.5px;
  margin: 0 0 5px;
  font-weight: 700;
}

.category-card p {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}

.category-card .cat-arrow {
  position: absolute;
  top: 20px;
  right: 18px;
  font-size: 11px;
  color: var(--muted);
}

/* ================================================================
   THE MARKETPLACE / PRODUCT SECTION
================================================================ */
.product-section {
  padding-top: 30px;
  padding-bottom: 90px;
}

.accent-dot {
  color: var(--cyan);
}

.section-subtitle {
  color: var(--muted);
  font-size: 13px;
  margin: 6px 0 0;
}

.view-switch {
  display: flex;
  gap: 5px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--panel);
}

.view-btn {
  width: 32px;
  height: 30px;
  border: 0;
  border-radius: 7px;
  color: var(--muted);
  background: transparent;
}

.view-btn.active {
  background: var(--panel-2);
  color: var(--text);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
}

.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 28px 0 24px;
  flex-wrap: wrap;
}

/* Enhanced Category Filter Chips (Kéo trượt mượt mà & Không co dẹp chữ) */
.filter-chips,
.filter-buttons,
#filter-buttons {
  display: flex !important;
  flex-direction: row !important;
  gap: 8px !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  align-items: center !important;
  padding: 6px 2px 10px 2px !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  -webkit-overflow-scrolling: touch !important;
  scroll-behavior: smooth !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(139, 92, 246, 0.45) rgba(255, 255, 255, 0.04) !important;
  touch-action: pan-x !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  cursor: grab !important;
}

.filter-chips.grabbing,
#filter-buttons.grabbing {
  cursor: grabbing !important;
}

.filter-chips::-webkit-scrollbar,
#filter-buttons::-webkit-scrollbar {
  height: 4px !important;
  display: block !important;
}

.filter-chips::-webkit-scrollbar-track,
#filter-buttons::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04) !important;
  border-radius: 4px !important;
}

.filter-chips::-webkit-scrollbar-thumb,
#filter-buttons::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #7c3aed, #06b6d4) !important;
  border-radius: 4px !important;
}

.filter-btn,
.filter-chips .filter-btn,
#filter-buttons .filter-btn,
.chip,
.filter-chip {
  background: rgba(17, 24, 39, 0.78) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #94a3b8 !important;
  padding: 9px 18px !important;
  border-radius: 12px !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.3px !important;
  cursor: pointer !important;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
  flex: 0 0 auto !important;
  flex-shrink: 0 !important;
  min-width: max-content !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
  text-decoration: none !important;
  font-family: inherit !important;
}

.filter-btn:hover,
.chip:hover {
  color: #ffffff !important;
  background: rgba(124, 58, 237, 0.16) !important;
  border-color: rgba(124, 58, 237, 0.45) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.25) !important;
}

#filter-buttons .filter-btn.active,
.filter-chips .chip.active,
.filter-btn.active,
.chip.active {
  background: var(--accent-gradient, linear-gradient(135deg, #7c3aed 0%, #06b6d4 100%)) !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  color: #ffffff !important;
  box-shadow: 0 0 24px var(--accent-glow, rgba(124, 58, 237, 0.7)), 0 0 10px var(--accent-secondary-glow, rgba(6, 182, 212, 0.55)), inset 0 1px 1px rgba(255, 255, 255, 0.5) !important;
  font-weight: 800 !important;
  border-radius: 12px !important;
  transform: translateY(-2px) scale(1.03) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4) !important;
}

/* Enhanced View Switch */
.view-btn.active {
  background: var(--accent-gradient, linear-gradient(135deg, #7c3aed, #06b6d4)) !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  box-shadow: 0 0 14px var(--accent-glow, rgba(124, 58, 237, 0.55)) !important;
}

/* Enhanced Buy Buttons & Product Cards */
.btn-card-buy {
  background: var(--accent-gradient, linear-gradient(135deg, #7c3aed 0%, #06b6d4 100%)) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
  border-radius: 10px !important;
  font-weight: 800 !important;
  font-size: 13px !important;
  box-shadow: 0 4px 16px var(--accent-glow, rgba(124, 58, 237, 0.45)) !important;
  transition: all 0.2s ease !important;
}

.btn-card-buy:hover {
  box-shadow: 0 6px 24px var(--accent-secondary-glow, rgba(6, 182, 212, 0.65)) !important;
  transform: translateY(-2px) scale(1.04) !important;
}

.sort-control {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}

.sort-control select {
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 9px;
  font-size: 11.5px;
  outline: none;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.product-grid.list-view {
  grid-template-columns: 1fr;
}

.product-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--panel);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(139, 108, 255, 0.5);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.product-art {
  height: 170px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: radial-gradient(circle at 50% 45%, var(--art-glow, rgba(139, 108, 255, 0.25)), transparent 65%), linear-gradient(135deg, var(--art-a, #19162c), var(--art-b, #101822));
}

.product-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-art:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, #000, transparent);
  pointer-events: none;
}

.product-art .art-symbol {
  font-size: 50px;
  color: var(--art-color, #b9a7ff);
  filter: drop-shadow(0 0 24px var(--art-glow, rgba(139, 108, 255, 0.4)));
  z-index: 1;
  transition: transform 0.3s;
}

.product-card:hover .art-symbol {
  transform: scale(1.1) rotate(-5deg);
}

.art-wordmark {
  position: absolute;
  bottom: 12px;
  left: 14px;
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.65);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 5px 8px;
  border-radius: 6px;
  background: var(--purple);
  color: #fff;
}

.product-badge.new {
  background: #00a9b7;
}

.product-badge.sale, .product-badge.hot {
  background: #ff477e;
}

.product-badge.bestseller {
  background: #f59e0b;
  color: #000;
}

.favorite-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: rgba(8, 9, 13, 0.65);
  color: #fff;
  backdrop-filter: blur(8px);
}

.favorite-btn.favorited {
  color: #ff638a;
}

.product-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-category {
  font-size: 10px;
  color: var(--cyan);
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.product-info h3 {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  margin: 6px 0 6px;
  min-height: 40px;
}

.product-description {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
  min-height: 36px;
  margin-bottom: 12px;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 12px;
}

.product-meta .rating {
  color: #ffc96b;
}

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
}

.product-price {
  font-size: 18px;
  font-weight: 900;
  color: #fff;
}

.old-price {
  font-size: 11px;
  color: var(--muted);
  text-decoration: line-through;
}

.discount {
  font-size: 9px;
  font-weight: 800;
  color: #ff7399;
  background: rgba(255, 71, 126, 0.15);
  padding: 3px 6px;
  border-radius: 4px;
}

.product-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.product-actions .btn {
  padding: 10px 12px;
  font-size: 11px;
}

.product-actions .add-btn {
  flex: 1;
}

.product-actions .detail-btn {
  width: 42px;
  padding: 0;
}

/* List View */
.product-grid.list-view .product-card {
  display: grid;
  grid-template-columns: 220px 1fr;
}

.product-grid.list-view .product-art {
  height: 100%;
  min-height: 180px;
}

.product-grid.list-view .product-info {
  padding: 20px;
}

.product-grid.list-view .product-info h3,
.product-grid.list-view .product-description {
  min-height: 0;
}

.catalog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 30px;
  color: var(--muted);
  font-size: 11px;
}

/* ================================================================
   SERVICES SECTION
================================================================ */
.service-section {
  background: linear-gradient(115deg, color-mix(in srgb, var(--purple) 8%, var(--bg-soft)), var(--bg-soft) 50%, color-mix(in srgb, #00d4ff 5%, var(--bg-soft)));
  border-block: 1px solid var(--line);
  padding: 80px 0;
}

.service-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.service-copy h2 {
  font-size: clamp(32px, 3.6vw, 48px);
  margin: 15px 0;
}

.service-copy p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.8;
  max-width: 360px;
  margin-bottom: 26px;
}

.service-list article {
  display: grid;
  grid-template-columns: 26px 44px 1fr 20px;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: transform 0.2s;
}

.service-list article:first-child {
  border-top: 1px solid var(--line);
}

.service-list article:hover {
  transform: translateX(6px);
}

.service-number {
  font-size: 10px;
  color: var(--muted);
  font-weight: 700;
}

.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: #b6a3ff;
  font-size: 18px;
}

.service-list h3 {
  font-size: 14px;
  margin: 0 0 4px;
}

.service-list p {
  font-size: 11.5px;
  color: var(--muted);
  margin: 0;
}

.service-arrow {
  font-size: 11px;
  color: var(--muted);
}

/* Benefits Section */
.benefits-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  padding-top: 70px;
  padding-bottom: 75px;
}

.benefit {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.benefit > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 12px;
  color: var(--cyan);
  background: rgba(0, 212, 255, 0.12);
  border: 1px solid rgba(0, 212, 255, 0.2);
  font-size: 18px;
}

.benefit h3 {
  font-size: 13.5px;
  margin: 2px 0 6px;
}

.benefit p {
  font-size: 11.5px;
  color: var(--muted);
  margin: 0;
  line-height: 1.7;
}

/* ================================================================
   DEPOSIT & ORDERS SECTION (REAL STORE INTEGRATION)
================================================================ */
.store-subpage-section {
  padding-top: 40px;
  padding-bottom: 90px;
}

.subpage-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.deposit-tab-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.dep-tab-btn {
  padding: 11px 20px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--panel-2);
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.dep-tab-btn.active {
  background: var(--purple);
  color: #fff;
  border-color: var(--purple);
  box-shadow: 0 4px 16px rgba(139, 108, 255, 0.4);
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  position: relative;
  z-index: 10;
  width: 100% !important;
  clear: both;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.9fr 1.2fr;
  gap: 36px;
  padding-top: 36px;
  padding-bottom: 28px;
}

.footer-brand p, .footer-newsletter p {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 290px;
  margin-top: 12px;
}

.footer-main h4 {
  font-size: 13px;
  font-weight: 800;
  margin: 4px 0 14px;
  color: #ffffff;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.footer-main > div:not(.footer-brand):not(.footer-newsletter) a {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin: 9px 0;
  transition: color 0.2s, transform 0.2s;
}

.footer-main a:hover {
  color: var(--text);
  transform: translateX(3px);
}

.footer-newsletter form {
  display: flex;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 12px;
  padding: 5px;
}

.footer-newsletter input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  padding: 10px;
  font-size: 12px;
}

.footer-newsletter button {
  width: 38px;
  flex-shrink: 0;
  border: 0;
  border-radius: 8px;
  color: white;
  background: var(--accent-gradient, var(--purple));
  box-shadow: 0 0 10px var(--accent-glow, rgba(139, 108, 255, 0.4));
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
}

.footer-bottom i {
  color: #ff477e;
}

/* Slide-out Cart Drawer */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 3, 10, 0.75);
  backdrop-filter: blur(6px);
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transition: 0.25s;
}

.overlay.open {
  opacity: 1;
  visibility: visible;
}

.drawer {
  position: fixed;
  z-index: 55;
  right: 0;
  top: 0;
  height: 100dvh;
  width: min(440px, 100%);
  background: var(--bg-soft);
  border-left: 1px solid var(--line);
  transform: translateX(102%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}

.drawer.open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px;
  border-bottom: 1px solid var(--line);
}

.drawer-header h2 {
  font-size: 22px;
  margin: 5px 0 0;
}

.drawer-header h2 span {
  font-size: 12px;
  color: var(--muted);
}

.drawer-content {
  padding: 15px 25px;
  overflow-y: auto;
  flex: 1;
}

.cart-item {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}

.cart-thumb {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #31274e, #102936);
  color: #c8b8ff;
  font-size: 22px;
}

.cart-item h4 {
  font-size: 12.5px;
  margin: 0 0 4px;
}

.cart-item p {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}

.cart-item .remove-item {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  transition: color 0.2s;
}

.cart-item .remove-item:hover {
  color: var(--pink);
}

.drawer-footer {
  padding: 22px 25px;
  border-top: 1px solid var(--line);
}

.total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  margin-bottom: 10px;
}

.total-row strong {
  font-size: 22px;
  color: #fff;
}

.drawer-footer p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
  margin: 6px 0 16px;
}

.full-width {
  width: 100%;
}

/* Modals */
.modal-wrap {
  position: fixed;
  z-index: 60;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: 0.2s;
  background: rgba(2, 3, 10, 0.75);
  backdrop-filter: blur(8px);
}

.modal-wrap.open {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  width: min(580px, 100%);
  max-height: min(88dvh, 840px);
  overflow-y: auto;
  position: relative;
  padding: 30px;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: var(--bg-soft);
  box-shadow: var(--shadow);
  transform: translateY(12px) scale(0.98);
  transition: 0.2s;
}

.modal-wrap.open .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 2;
}

.modal-title {
  font-size: 24px;
  letter-spacing: -0.6px;
  margin: 6px 36px 8px 0;
  font-family: var(--font-display);
}

.modal-description {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

.detail-price {
  font-size: 24px;
  font-weight: 900;
  margin: 12px 0;
  color: #fff;
}

.detail-block {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.detail-block h4 {
  font-size: 12px;
  margin: 0 0 6px;
}

.detail-block p, .detail-block li {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
}

.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  padding: 11px 13px;
  color: var(--text);
  outline: 0;
  font-size: 12px;
}

.form-field textarea {
  min-height: 90px;
  resize: vertical;
}

.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  border-color: rgba(139, 108, 255, 0.6);
}

.toast-stack {
  position: fixed;
  z-index: 90;
  right: 20px;
  bottom: 20px;
  display: grid;
  gap: 10px;
  width: min(340px, calc(100% - 40px));
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  box-shadow: var(--shadow);
  animation: toastIn 0.25s ease;
}

.toast i {
  color: var(--green);
  margin-top: 3px;
}

.toast.error i {
  color: var(--pink);
}

.toast strong {
  display: block;
  font-size: 12px;
}

.toast p {
  font-size: 11px;
  color: var(--muted);
  margin: 2px 0 0;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.back-top {
  position: fixed !important;
  bottom: 84px !important;
  right: 20px !important;
  left: auto !important;
  width: 40px !important;
  height: 40px !important;
  border: 1px solid rgba(139, 108, 255, 0.4) !important;
  border-radius: 12px !important;
  background: rgba(18, 23, 46, 0.92) !important;
  backdrop-filter: blur(12px) !important;
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), 0 0 15px rgba(139, 108, 255, 0.2) !important;
  z-index: 99 !important;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.back-top.visible {
  opacity: 1 !important;
  visibility: visible !important;
}

.back-top:hover {
  transform: translateY(-3px) !important;
  border-color: var(--cyan) !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), 0 0 20px rgba(6, 182, 212, 0.35) !important;
}

/* Responsive */
@media (max-width: 1050px) {
  .desktop-nav { gap: 16px; }
  .hero { grid-template-columns: 1fr 0.8fr; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .service-inner { gap: 40px; }
  .footer-main { gap: 30px; }
}

@media (max-width: 768px) {
  .topbar { height: 68px; padding: 0 16px; }
  .desktop-nav { display: none; }
  .mobile-menu { display: grid; }
  .hero { grid-template-columns: 1fr; padding-top: 40px; gap: 20px; }
  .hero h1 { font-size: clamp(40px, 11vw, 60px); }
  .hero-art { min-height: 350px; }
  .hero-core { width: 160px; height: 160px; border-radius: 38px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product-art { height: 140px; }
  .service-inner { grid-template-columns: 1fr; gap: 30px; }
  .benefits-section { grid-template-columns: 1fr; gap: 20px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .footer-brand, .footer-newsletter { grid-column: 1 / -1; }
  .product-grid.list-view .product-card { grid-template-columns: 120px 1fr; }
}

/* ================================================================
   NTT DIGITAL FULL-WIDTH LAYOUT OVERRIDES (STOREFRONT)
================================================================ */
.app {
  display: block !important;
  width: 100% !important;
  min-height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden !important;
}

.main {
  margin-left: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: auto !important;
  padding: 0 !important;
}

.side {
  display: none !important;
}

.admin-app .side {
  display: flex !important;
}

.admin-app .main {
  margin-left: 260px !important;
  width: calc(100% - 260px) !important;
}

.content {
  padding: 0 0 20px 0 !important;
  width: 100% !important;
  min-height: auto !important;
}

body.on-products-page #home-view-wrapper {
  display: block !important;
}

.admin-section {
  width: min(1660px, calc(100% - 48px)) !important;
  max-width: 1660px !important;
  margin-inline: auto !important;
}

@media (min-width: 1440px) {
  .admin-section {
    width: min(1720px, calc(100% - 64px)) !important;
    max-width: 1720px !important;
  }
}

/* Category Grid & Product Listing Grid */
.category-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.grid#product-list {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)) !important;
  gap: 24px !important;
  width: 100% !important;
}

@media (min-width: 1480px) {
  .grid#product-list {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}

@media (min-width: 1720px) {
  .grid#product-list {
    grid-template-columns: repeat(5, 1fr) !important;
  }
}

.grid#product-list.list-view {
  grid-template-columns: 1fr !important;
}

.grid#product-list.list-view .product-card {
  display: grid !important;
  grid-template-columns: 240px 1fr !important;
}

.grid#product-list.list-view .product-img {
  height: 100% !important;
  min-height: 190px !important;
}

/* ================================================================
   NTT DIGITAL - LUXURY MOBILE LEFT SIDEBAR DRAWER & PULL CONTROLS
   (Ngăn kéo danh mục trượt từ cạnh trái màn hình + Nút góc trái + Nút kéo mép trái)
================================================================ */

.topbar-left-cluster {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-shrink: 0 !important;
  min-width: 0 !important;
}

.topbar-mobile-menu-btn {
  display: none !important;
}

.mobile-left-edge-pull {
  display: none !important;
}

.mobile-drawer-backdrop {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(4, 7, 16, 0.78) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  z-index: 9999 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease !important;
}

.mobile-drawer-backdrop.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* Left Sidebar Slide-out Drawer */
.mobile-drawer-nav {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  bottom: 0 !important;
  width: 310px !important;
  max-width: 86vw !important;
  height: 100vh !important;
  background: linear-gradient(180deg, #0e1326 0%, #070a14 100%) !important;
  border-right: 1px solid rgba(139, 92, 246, 0.32) !important;
  box-shadow: 20px 0 60px rgba(0, 0, 0, 0.85), 0 0 35px rgba(139, 92, 246, 0.16) !important;
  padding: 18px 18px 24px 18px !important;
  z-index: 10000 !important;
  transform: translateX(-105%) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0.25s ease !important;
  display: flex !important;
  flex-direction: column !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  box-sizing: border-box !important;
}

.mobile-drawer-nav.open {
  transform: translateX(0) !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Drawer Header */
.drawer-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding-bottom: 12px !important;
  margin-bottom: 12px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.drawer-brand {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.brand-mark-mini {
  width: 32px !important;
  height: 32px !important;
  border-radius: 9px !important;
  background: linear-gradient(135deg, #8b5cf6, #06b6d4) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #fff !important;
  font-size: 15px !important;
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.4) !important;
}

.drawer-title {
  font-family: 'Space Grotesk', 'Inter', sans-serif !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  letter-spacing: 0.8px !important;
  background: linear-gradient(135deg, #ffffff 20%, #c4b5fd 60%, #38bdf8 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  text-transform: uppercase !important;
}

.drawer-close-btn {
  width: 32px !important;
  height: 32px !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #cbd5e1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  font-size: 14px !important;
  transition: all 0.2s ease !important;
}

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

.drawer-nav-section-title {
  font-size: 10.5px !important;
  font-weight: 800 !important;
  color: #94a3b8 !important;
  letter-spacing: 1.2px !important;
  text-transform: uppercase !important;
  margin-top: 2px !important;
  margin-bottom: 8px !important;
  padding-left: 6px !important;
}

/* Nav Links inside Drawer */
.mobile-drawer-nav .nav {
  display: flex !important;
  flex-direction: column !important;
  gap: 5px !important;
  margin-bottom: 16px !important;
}

.mobile-drawer-nav .nav a {
  display: flex !important;
  align-items: center !important;
  gap: 13px !important;
  padding: 11px 14px !important;
  border-radius: 12px !important;
  color: #cbd5e1 !important;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  text-decoration: none !important;
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.04) !important;
  transition: all 0.2s ease !important;
}

.mobile-drawer-nav .nav a i {
  font-size: 15px !important;
  width: 20px !important;
  text-align: center !important;
  flex-shrink: 0 !important;
}

.mobile-drawer-nav .nav a:hover,
.mobile-drawer-nav .nav a.active {
  background: linear-gradient(90deg, rgba(139, 92, 246, 0.22), rgba(6, 182, 212, 0.12)) !important;
  border-color: rgba(139, 92, 246, 0.45) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3) !important;
  transform: translateX(4px) !important;
}

/* Drawer Footer Tools */
.drawer-footer-tools {
  margin-top: auto !important;
  padding-top: 14px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 7px !important;
}

.drawer-tool-btn {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 10px 14px !important;
  border-radius: 10px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #94a3b8 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.drawer-tool-btn:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #fff !important;
}

/* Responsiveness for Mobile Drawer & Buttons (<= 992px) */
@media (max-width: 992px) {
  .topbar-mobile-menu-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    border-radius: 11px !important;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.22), rgba(6, 182, 212, 0.16)) !important;
    border: 1px solid rgba(139, 92, 246, 0.45) !important;
    box-shadow: 0 0 14px rgba(139, 92, 246, 0.3) !important;
    color: #ffffff !important;
    font-size: 15px !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    transition: transform 0.2s, box-shadow 0.2s !important;
  }

  .topbar-mobile-menu-btn:active {
    transform: scale(0.92) !important;
  }

  /* Floating Left-Edge Pull Handle */
  .mobile-left-edge-pull {
    position: fixed !important;
    left: 0 !important;
    top: 48% !important;
    transform: translateY(-50%) !important;
    z-index: 998 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    padding: 11px 6px 11px 4px !important;
    border-radius: 0 12px 12px 0 !important;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.95), rgba(6, 182, 212, 0.9)) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-left: none !important;
    box-shadow: 0 4px 18px rgba(139, 92, 246, 0.45), 2px 0 10px rgba(0, 0, 0, 0.3) !important;
    color: #ffffff !important;
    cursor: pointer !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    user-select: none !important;
    -webkit-user-select: none !important;
  }

  .mobile-left-edge-pull i {
    font-size: 12px !important;
  }

  .mobile-left-edge-pull span {
    writing-mode: vertical-rl !important;
    text-orientation: upright !important;
    font-size: 8px !important;
    font-weight: 800 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
  }

  .mobile-left-edge-pull:active {
    transform: translateY(-50%) scale(0.94) !important;
  }

  body.drawer-opened {
    overflow: hidden !important;
  }
}

/* ================================================================
   ADMIN THEME CUSTOMIZER PALETTE & LIVE PREVIEW STYLES
================================================================ */
.theme-preset-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.theme-preset-btn:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}

.theme-preset-btn.active {
  background: rgba(255, 255, 255, 0.14) !important;
  border-color: var(--accent-primary, #8b6cff) !important;
  box-shadow: 0 0 14px var(--accent-glow, rgba(139, 108, 255, 0.45)) !important;
}

.theme-preset-btn .color-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px currentColor;
  flex-shrink: 0;
}

/* ================================================================
   NTT DIGITAL ULTRA-WIDE DESKTOP & STANDOUT VIBRANT VISUALS
   Tối ưu màn hình máy tính Full Screen rộng rãi, màu sắc rực rỡ, sắc nét
================================================================ */

/* Elevated Glass Cards with Specular Neon Glow */
.dashboard-welcome-card {
  background: linear-gradient(135deg, rgba(20, 26, 52, 0.88), rgba(12, 16, 34, 0.94)) !important;
  border: 1px solid rgba(139, 108, 255, 0.35) !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 45px rgba(139, 108, 255, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.14) !important;
}

.dashboard-stats-row {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 20px !important;
  margin-top: 18px !important;
  margin-bottom: 24px !important;
}

.d-stat-card {
  background: linear-gradient(135deg, rgba(20, 26, 52, 0.82), rgba(13, 17, 36, 0.9)) !important;
  border: 1px solid rgba(139, 108, 255, 0.28) !important;
  border-radius: 16px !important;
  padding: 18px 22px !important;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.5), 0 0 25px rgba(139, 108, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.d-stat-card:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(6, 182, 212, 0.6) !important;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.7), 0 0 35px rgba(6, 182, 212, 0.3) !important;
}

.d-stat-icon {
  width: 38px !important;
  height: 38px !important;
  border-radius: 10px !important;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.35), rgba(6, 182, 212, 0.25)) !important;
  border: 1px solid rgba(139, 92, 246, 0.45) !important;
  color: #fff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 17px !important;
}

.d-stat-value {
  font-size: 22px !important;
  font-weight: 900 !important;
  letter-spacing: -0.5px !important;
  color: #ffffff !important;
}

/* Enhanced Product Cards with Vibrant Neon Lighting */
.product-card {
  background: linear-gradient(145deg, rgba(20, 26, 52, 0.85), rgba(12, 16, 36, 0.94)) !important;
  border: 1px solid rgba(139, 108, 255, 0.25) !important;
  border-radius: 18px !important;
  padding: 18px !important;
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.7), 0 0 25px rgba(139, 108, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative !important;
}

.product-card:hover {
  transform: translateY(-6px) scale(1.01) !important;
  border-color: rgba(6, 182, 212, 0.65) !important;
  box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.85), 0 0 40px rgba(6, 182, 212, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

.product-img {
  border-radius: 14px !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5) !important;
}

.product-title {
  font-size: 16px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  letter-spacing: -0.2px !important;
}

.product-price {
  font-size: 20px !important;
  font-weight: 900 !important;
  color: var(--gold, #fbbf24) !important;
  text-shadow: 0 0 16px rgba(245, 191, 74, 0.35) !important;
}

/* Wide Screen Hero Section */
@media (min-width: 1200px) {
  .hero {
    min-height: 560px !important;
    grid-template-columns: 1.15fr 0.85fr !important;
    gap: 48px !important;
    padding-top: 50px !important;
    padding-bottom: 50px !important;
  }
  .hero h1, .hero .hero-title {
    font-size: clamp(44px, 4.4vw, 68px) !important;
  }
  .hero-description {
    max-width: 640px !important;
    font-size: 16px !important;
  }
  .hero-core {
    width: 220px !important;
    height: 220px !important;
  }
}

/* Wide Screen Services Section */
@media (min-width: 1100px) {
  .service-inner {
    display: grid !important;
    grid-template-columns: 1fr 1.35fr !important;
    gap: 56px !important;
    align-items: center !important;
  }
  .service-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
  }
  .service-list article {
    background: linear-gradient(135deg, rgba(20, 26, 52, 0.82), rgba(13, 17, 36, 0.92)) !important;
    border: 1px solid rgba(139, 108, 255, 0.24) !important;
    border-radius: 16px !important;
    padding: 20px 24px !important;
    transition: all 0.25s ease !important;
  }
  .service-list article:hover {
    border-color: rgba(6, 182, 212, 0.6) !important;
    transform: translateX(6px) !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(6, 182, 212, 0.25) !important;
  }
}

/* Wide Screen Benefits Section */
.benefits-section {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
  padding-top: 50px !important;
  padding-bottom: 60px !important;
}

.benefit {
  background: linear-gradient(135deg, rgba(20, 26, 52, 0.8), rgba(13, 17, 36, 0.9)) !important;
  border: 1px solid rgba(139, 108, 255, 0.24) !important;
  border-radius: 16px !important;
  padding: 24px 22px !important;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.45) !important;
  transition: all 0.25s ease !important;
}

.benefit:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(139, 108, 255, 0.5) !important;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.65), 0 0 30px rgba(139, 108, 255, 0.25) !important;
}

/* Wide Screen Footer */
.footer-main {
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr !important;
  gap: 48px !important;
}

/* ================================================================
   NTT DIGITAL - MOBILE RESPONSIVE ENHANCEMENTS (CLEAR & UNOBSTRUCTED)
   Tối ưu hiển thị điện thoại sắc nét, thoáng đãng, các mục rõ ràng không bị che khuất
================================================================ */

/* Media Query: Tablets & Small Desktops (<= 992px) */
@media (max-width: 992px) {
  .topbar {
    height: 66px !important;
    padding: 0 16px !important;
  }
  .desktop-nav {
    display: none !important;
  }
  .mobile-menu {
    display: grid !important;
  }
  .hero {
    grid-template-columns: 1fr !important;
    padding-top: 32px !important;
    gap: 28px !important;
  }
}

/* Media Query: Mobile Screens (<= 768px, iPhone, Android) */
@media (max-width: 768px) {
  /* Prevent horizontal scroll */
  html, body {
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }

  /* Safe container width */
  .section-wrap {
    width: min(100% - 24px, 1660px) !important;
    margin-inline: auto !important;
  }

  /* Sticky Topbar on Mobile - Clean, Balanced, No Overlapping */
  .topbar {
    height: 60px !important;
    padding: 0 10px !important;
    gap: 6px !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  /* Brand Mark Icon on Mobile: Elegant, Compact, Never Collides */
  .brand {
    gap: 0 !important;
    flex-shrink: 0 !important;
    min-width: 38px !important;
    width: 38px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    padding: 0 !important;
    border-radius: 11px !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }

  .brand-mark {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    border-radius: 11px !important;
    font-size: 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, var(--accent-primary, #8b5cf6), var(--accent-secondary, #06b6d4)) !important;
    box-shadow: 0 0 14px var(--accent-glow, rgba(139, 92, 246, 0.45)), inset 0 1px 1px rgba(255, 255, 255, 0.4) !important;
    overflow: hidden !important;
    position: relative !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
  }

  /* Ẩn hoàn toàn chữ NTTSHOP & DIGITAL MARKETPLACE trên thanh Topbar điện thoại để không bao giờ bị đè lấn */
  .brand-text {
    display: none !important;
  }

  .header-actions {
    gap: 4px !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    margin-left: auto !important;
  }

  .header-actions .icon-btn {
    width: 33px !important;
    height: 33px !important;
    min-width: 33px !important;
    border-radius: 9px !important;
    font-size: 12.5px !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
  }

  /* Theme toggle button visible in mobile topbar */
  .header-actions .theme-toggle {
    display: inline-flex !important;
  }

  .topbar-balance-pill {
    padding: 3px 6px !important;
    gap: 4px !important;
    font-size: 11px !important;
    border-radius: 9px !important;
    max-width: 80px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }

  .topbar-balance-pill #topbar-user-balance,
  .topbar-balance-pill span {
    max-width: 52px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    display: inline-block !important;
    vertical-align: middle !important;
  }

  .topbar-balance-pill i {
    font-size: 10px !important;
  }

  .header-user-area {
    display: inline-flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
  }

  .header-user-area .btn {
    min-height: 32px !important;
    height: 32px !important;
    padding: 0 8px !important;
    font-size: 11px !important;
    border-radius: 9px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }

  .topbar-user-pill {
    padding: 2px 4px !important;
    gap: 3px !important;
    max-width: 65px !important;
    border-radius: 8px !important;
    flex-shrink: 0 !important;
  }

  .topbar-user-avatar {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    font-size: 11px !important;
    border-radius: 7px !important;
    flex-shrink: 0 !important;
  }

  .topbar-logout-btn {
    width: 24px !important;
    height: 24px !important;
    font-size: 10.5px !important;
    flex-shrink: 0 !important;
  }

  .topbar-username {
    display: none !important;
  }

  .mobile-menu-btn,
  .mobile-menu {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 33px !important;
    height: 33px !important;
    min-width: 33px !important;
    border-radius: 9px !important;
    font-size: 13px !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
  }

  /* Marquee Announcement Bar */
  .home-notices-container {
    margin-top: 10px !important;
    margin-bottom: 12px !important;
    gap: 10px !important;
  }

  .dashboard-marquee-bar {
    padding: 7px 10px !important;
    border-radius: 11px !important;
    font-size: 11.5px !important;
    gap: 8px !important;
  }

  .marquee-badge {
    padding: 3px 7px !important;
    font-size: 9.5px !important;
    border-radius: 6px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }

  .marquee-scroll-container {
    overflow: hidden !important;
    white-space: nowrap !important;
  }

  .marquee-scroll-text {
    font-size: 11.5px !important;
  }

  /* Welcome & Policy Card */
  .dashboard-welcome-card {
    padding: 12px 14px !important;
    border-radius: 14px !important;
    gap: 10px !important;
  }

  .welcome-avatar-box {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    border-radius: 12px !important;
  }

  .welcome-header {
    gap: 6px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .welcome-title-wrap {
    gap: 6px !important;
    flex-wrap: wrap !important;
  }

  .welcome-store-title {
    font-size: 14px !important;
  }

  .welcome-verified-badge {
    font-size: 9px !important;
    padding: 2px 6px !important;
  }

  .welcome-meta-pills {
    gap: 6px !important;
    flex-wrap: wrap !important;
  }

  .welcome-pill {
    font-size: 10px !important;
    padding: 3px 8px !important;
    border-radius: 6px !important;
  }

  .welcome-bullets {
    margin-top: 8px !important;
    gap: 6px !important;
  }

  .welcome-bullet-item {
    padding: 6px 10px !important;
    font-size: 11px !important;
    line-height: 1.45 !important;
    border-radius: 8px !important;
  }

  /* Hero Section on Mobile */
  .hero {
    min-height: auto !important;
    padding-top: 16px !important;
    padding-bottom: 16px !important;
    gap: 16px !important;
  }

  .hero-copy {
    padding-bottom: 0 !important;
  }

  .eyebrow {
    font-size: 9.5px !important;
    letter-spacing: 1px !important;
  }

  .hero h1, .hero .hero-title {
    font-size: clamp(26px, 8vw, 34px) !important;
    line-height: 1.15 !important;
    letter-spacing: -1px !important;
    margin: 8px 0 10px !important;
  }

  .hero-description {
    font-size: 12.5px !important;
    line-height: 1.55 !important;
    margin-bottom: 12px !important;
  }

  .hero-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    margin-top: 12px !important;
  }

  .hero-actions .btn {
    padding: 9px 8px !important;
    font-size: 11.5px !important;
    text-align: center !important;
    justify-content: center !important;
  }

  .hero-proof {
    flex-wrap: wrap !important;
    gap: 8px 14px !important;
    margin-top: 14px !important;
  }

  /* Hero Art (3D Cube & Orbit) */
  .hero-art {
    min-height: 220px !important;
    max-height: 240px !important;
    margin: 4px 0 !important;
    overflow: hidden !important;
    transform: scale(0.88) !important;
  }

  .hero-core {
    width: 130px !important;
    height: 130px !important;
    border-radius: 28px !important;
  }

  .hero-core i {
    font-size: 34px !important;
  }

  .hero-core > span {
    font-size: 16px !important;
    letter-spacing: 3px !important;
  }

  .orbit-a {
    width: 250px !important;
    height: 130px !important;
  }

  .orbit-b {
    width: 190px !important;
    height: 260px !important;
  }

  .float-card {
    padding: 6px 10px !important;
    border-radius: 10px !important;
  }

  .float-card-top {
    top: 6px !important;
    right: 0 !important;
  }

  .float-card-bottom {
    bottom: 6px !important;
    left: 0 !important;
  }

  .art-label {
    display: none !important; /* Hide side labels on mobile to prevent overflow */
  }

  .hero-bottom-line {
    position: static !important;
    padding: 10px 0 0 !important;
    font-size: 8px !important;
    letter-spacing: 0.8px !important;
    margin-top: 6px !important;
  }

  /* Quick Stats Row (Fix cramped vertical text like Quản/Trị/Viên) */
  .dashboard-stats-row {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
    margin-top: 10px !important;
    margin-bottom: 16px !important;
  }

  .d-stat-card {
    padding: 11px 4px !important;
    border-radius: 12px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    min-width: 0 !important;
  }

  .d-stat-icon {
    width: 30px !important;
    height: 30px !important;
    font-size: 13px !important;
    margin-bottom: 5px !important;
    border-radius: 8px !important;
  }

  .d-stat-value {
    font-size: 13px !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
    letter-spacing: -0.2px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
  }

  .d-stat-label {
    font-size: 9px !important;
    line-height: 1.25 !important;
    margin-top: 3px !important;
    color: var(--muted) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
  }

  /* Marketplace Heading (Fix overlap between title and count) */
  .section-heading.product-heading {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
    margin-bottom: 12px !important;
  }

  .section-heading h2, #category-view-title {
    font-size: 20px !important;
    line-height: 1.2 !important;
    margin: 0 !important;
  }

  #category-view-count {
    display: inline-block !important;
    font-size: 12px !important;
    margin-left: 6px !important;
    color: var(--muted) !important;
    vertical-align: middle !important;
  }

  .section-subtitle {
    font-size: 11.5px !important;
    line-height: 1.45 !important;
    margin-top: 3px !important;
  }

  .view-switch {
    display: none !important; /* Hide view switch on mobile */
  }

  /* Category Filter Chips Bar */
  .catalog-toolbar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    margin-bottom: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .filter-chips,
  #filter-buttons {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 4px 2px 10px 2px !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    touch-action: pan-x !important;
    scrollbar-width: thin !important;
    scrollbar-color: rgba(139, 92, 246, 0.45) rgba(255, 255, 255, 0.04) !important;
  }

  .filter-chips::-webkit-scrollbar,
  #filter-buttons::-webkit-scrollbar {
    height: 4px !important;
    display: block !important;
  }

  .filter-chips::-webkit-scrollbar-track,
  #filter-buttons::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04) !important;
    border-radius: 4px !important;
  }

  .filter-chips::-webkit-scrollbar-thumb,
  #filter-buttons::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #7c3aed, #06b6d4) !important;
    border-radius: 4px !important;
  }

  .filter-btn,
  .filter-chips .filter-btn,
  #filter-buttons .filter-btn,
  .chip,
  .filter-chip {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    flex: 0 0 auto !important;
    min-width: max-content !important;
    padding: 8px 15px !important;
    font-size: 12px !important;
    border-radius: 10px !important;
  }

  .sort-control {
    width: 100% !important;
    justify-content: space-between !important;
  }

  .sort-control select {
    flex: 1 !important;
    max-width: 100% !important;
    font-size: 11px !important;
    padding: 8px 10px !important;
  }

  /* ========================================================
     MOBILE PRODUCT LIST: 1 PRODUCT PER ROW (FULL WIDTH)
     Mỗi sản phẩm 1 ô to rõ, ảnh sắc nét, không bị mờ hẹp
  ======================================================== */
  .grid#product-list {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .product-card {
    display: flex !important;
    flex-direction: column !important;
    padding: 16px !important;
    border-radius: 18px !important;
    min-width: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    background: linear-gradient(145deg, rgba(20, 26, 52, 0.9), rgba(12, 16, 36, 0.96)) !important;
    border: 1px solid rgba(139, 108, 255, 0.28) !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(139, 108, 255, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    transition: transform 0.2s ease, border-color 0.2s ease !important;
  }

  .product-img {
    height: 195px !important;
    min-height: 195px !important;
    max-height: 230px !important;
    width: 100% !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    position: relative !important;
    background: rgba(10, 14, 26, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5) !important;
  }

  .product-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 12px !important;
  }

  .product-info {
    padding: 12px 2px 2px 2px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    min-width: 0 !important;
  }

  .product-cat-pill {
    display: inline-flex !important;
    align-items: center !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    color: var(--cyan, #00d4ff) !important;
    letter-spacing: 0.6px !important;
    text-transform: uppercase !important;
  }

  .product-title {
    font-size: 16px !important;
    line-height: 1.35 !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin: 2px 0 4px !important;
    min-height: auto !important;
    display: block !important;
    -webkit-line-clamp: unset !important;
    white-space: normal !important;
  }

  .product-desc-snippet {
    font-size: 12.5px !important;
    line-height: 1.6 !important;
    color: #cbd5e1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    margin: 2px 0 6px !important;
  }

  .product-desc-snippet div {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
  }

  .product-meta-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    font-size: 12px !important;
    color: #94a3b8 !important;
    padding: 8px 0 !important;
    border-top: 1px dashed rgba(255, 255, 255, 0.1) !important;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1) !important;
    margin-top: 2px !important;
  }

  .product-meta-row span {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
  }

  .product-footer-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    margin-top: 6px !important;
  }

  .product-price-box {
    display: flex !important;
    flex-direction: column !important;
  }

  .product-price-box .lbl-price {
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: 0.8px !important;
    color: #94a3b8 !important;
    text-transform: uppercase !important;
  }

  .product-price-box .val-price {
    font-size: 20px !important;
    font-weight: 900 !important;
    color: var(--gold, #fbbf24) !important;
    text-shadow: 0 0 16px rgba(251, 191, 36, 0.35) !important;
    letter-spacing: -0.3px !important;
  }

  .btn-buy-card {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 10px 22px !important;
    font-size: 13.5px !important;
    font-weight: 800 !important;
    border-radius: 11px !important;
    background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%) !important;
    color: #ffffff !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: 0 4px 18px rgba(6, 182, 212, 0.35) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    flex-shrink: 0 !important;
  }

  .badge-stock-tag {
    font-size: 9px !important;
    padding: 3px 8px !important;
    border-radius: 6px !important;
  }

  .badge-sale-tag {
    font-size: 9px !important;
    padding: 3px 8px !important;
    border-radius: 6px !important;
  }

  /* Services Section on Mobile */
  .service-inner {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }

  .service-copy h2 {
    font-size: 21px !important;
  }

  .service-list article {
    padding: 14px 14px !important;
    border-radius: 12px !important;
  }

  /* Benefits Section on Mobile */
  .benefits-section {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    padding-top: 20px !important;
    padding-bottom: 24px !important;
  }

  .benefit {
    padding: 14px 14px !important;
    border-radius: 12px !important;
  }

  /* Footer on Mobile */
  .footer-main {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    padding-top: 24px !important;
    padding-bottom: 20px !important;
  }

  .footer-bottom {
    flex-direction: column !important;
    gap: 10px !important;
    text-align: center !important;
  }

  /* Bottom Content Padding to prevent collision with floating widgets */
  .content, .main {
    padding-bottom: 96px !important;
  }

  /* Floating Widgets Positioning (Stacking safely on the right) */
  #ps-fab-widget {
    bottom: 16px !important;
    right: 16px !important;
  }

  .ps-fab-main {
    width: 46px !important;
    height: 46px !important;
  }

  .ps-fab-main svg {
    width: 20px !important;
    height: 20px !important;
  }

  .back-top {
    bottom: 72px !important;
    right: 18px !important;
    left: auto !important;
    width: 38px !important;
    height: 38px !important;
    font-size: 12px !important;
  }
}

/* Extra-Small Mobile Screens (<= 385px: iPhone SE, compact) */
@media (max-width: 385px) {
  .topbar {
    padding: 0 6px !important;
    gap: 4px !important;
  }

  .topbar .brand {
    min-width: 34px !important;
    width: 34px !important;
  }

  .topbar .brand-mark {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
  }

  .header-actions {
    gap: 3px !important;
  }

  .topbar-balance-pill {
    max-width: 72px !important;
    font-size: 10px !important;
    padding: 2px 4px !important;
  }

  .topbar-balance-pill #topbar-user-balance,
  .topbar-balance-pill span {
    max-width: 44px !important;
  }

  .header-actions .icon-btn {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
  }

  .mobile-menu-btn,
  .mobile-menu {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
  }

  .d-stat-value {
    font-size: 11.5px !important;
  }

  .d-stat-label {
    font-size: 8px !important;
  }
}

/* ================================================================
   NTT DIGITAL - MOBILE SCROLL & FULL-WIDTH CARDS OPTIMIZATION
   (Tối ưu trải nghiệm cuộn điện thoại: 1 cột trải ngang, không bóp hẹp)
================================================================ */

/* Base profile grid on desktop */
.profile-layout-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 22px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.profile-tier-banner {
  margin-bottom: 22px !important;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.95)) !important;
  border: 1px solid rgba(255, 215, 0, 0.25) !important;
  border-radius: 14px !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35) !important;
}

.profile-banner-top-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
}

.profile-tier-identity {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
}

.profile-banner-stats {
  display: flex !important;
  gap: 24px !important;
  align-items: center !important;
  flex-wrap: wrap !important;
}

.profile-stat-divider {
  height: 32px !important;
  width: 1px !important;
  background: rgba(255, 255, 255, 0.1) !important;
}

.profile-tier-perks-grid {
  margin-top: 18px !important;
  padding-top: 16px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 10px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.modal-buy-qty-pay-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 12px !important;
}

.chat-support-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 20px !important;
}

/* Tablets & Mobile Screens (<= 860px) */
@media (max-width: 860px) {
  /* Profile: 1 column full-width stack - Trải rộng ngang 100%, cuộn dọc mượt mà */
  .profile-layout-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .profile-layout-grid > div {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .chat-support-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
}

/* Mobile Screens (<= 768px: iPhone, Android) */
@media (max-width: 768px) {
  /* Admin section container takes comfortable full width on mobile */
  .admin-section {
    width: min(100% - 24px, 1660px) !important;
    margin-inline: auto !important;
    margin-top: 18px !important;
  }

  /* Compact roomy card padding */
  .card.pad {
    padding: 16px !important;
    border-radius: 14px !important;
  }

  /* 4 tier perks grid: 2x2 grid so cards are wide, bold and readable */
  .profile-tier-perks-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    margin-top: 14px !important;
    padding-top: 14px !important;
  }

  .tier-perk-item {
    padding: 12px 10px !important;
    border-radius: 10px !important;
  }

  /* Form inputs & buttons: full width, roomy, no wrapping buttons */
  #section-profile form input,
  #section-profile input[type="text"],
  #section-profile input[type="email"],
  #section-profile input[type="password"] {
    width: 100% !important;
    box-sizing: border-box !important;
    height: 42px !important;
    padding: 0 12px !important;
    font-size: 13.5px !important;
    border-radius: 8px !important;
  }

  #section-profile .btn,
  #section-profile button[type="submit"] {
    width: 100% !important;
    min-height: 44px !important;
    font-size: 13.5px !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    border-radius: 10px !important;
  }

  /* Download Filter Row: swipeable horizontal chips */
  .download-filter-row {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    padding-bottom: 6px !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    gap: 8px !important;
  }

  .download-filter-btn {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    padding: 8px 14px !important;
    font-size: 12px !important;
  }

  /* Order Card full width thumbnail */
  .order-card-img-box {
    width: 100% !important;
    max-width: 100% !important;
    height: 160px !important;
  }

  .order-card-meta-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    padding: 10px 12px !important;
  }

  /* Admin tabs with inline 2 columns stack to 1 column on mobile */
  .admin-tab-content > div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

/* Small Mobile Screens (<= 540px) */
@media (max-width: 540px) {
  .profile-banner-top-row {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 14px !important;
  }

  .profile-banner-stats {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    padding: 10px 14px !important;
    box-sizing: border-box !important;
  }

  .profile-stat-divider {
    display: none !important;
  }

  .profile-stat-item {
    text-align: center !important;
  }

  .modal-buy-qty-pay-row {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
}

/* Extra Small Screens (<= 400px) */
@media (max-width: 400px) {
  .card.pad {
    padding: 14px 12px !important;
  }

  .profile-tier-perks-grid {
    gap: 8px !important;
  }

  .tier-perk-item {
    padding: 10px 6px !important;
  }
}





