/* ============================================
   THỔ MOBI — Design System Variables
   Luxury Dark Gold — Bán & Sửa chữa iPhone, Android
   ============================================ */

:root {
  /* Gold Palette */
  --color-primary: #C9A84C;
  --color-primary-dark: #8B6914;
  --color-primary-light: rgba(201, 168, 76, 0.15);
  --color-primary-hover: #F0D080;
  --color-primary-bg: rgba(201, 168, 76, 0.08);
  --gold-gradient: linear-gradient(135deg, #C9A84C 0%, #F0D080 50%, #C9A84C 100%);

  /* Backgrounds — Dark */
  --color-bg: #0A0A0A;
  --color-bg-white: #111111;
  --color-bg-elevated: #1A1A1A;

  /* Text */
  --color-text: #FFFFFF;
  --color-text-primary: #FFFFFF;
  --color-text-secondary: #AAAAAA;
  --color-text-muted: #666666;

  /* Borders */
  --color-border: rgba(201, 168, 76, 0.3);
  --color-border-light: rgba(255, 255, 255, 0.08);
  --color-divider: rgba(255, 255, 255, 0.06);

  /* Accent — CTA */
  --color-danger: #C9A84C;
  --color-danger-hover: #F0D080;

  /* Semantic Colors */
  --color-success: #4ADE80;
  --color-error: #EF4444;
  --color-warning: #F5A623;
  --color-info: #60A5FA;
  --color-discount: #EF4444;
  --color-rating: #F0D080;

  /* Typography */
  --font-brand: 'Cinzel', 'Trajan Pro', serif;
  --font-primary: 'Raleway', 'Montserrat', sans-serif;
  --font-heading: 'Raleway', 'Montserrat', sans-serif;
  --font-body: 'Inter', 'Nunito Sans', sans-serif;
  --font-price: 'Oswald', 'Raleway', sans-serif;

  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 2rem;
  --font-size-4xl: 3rem;

  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  --line-height-tight: 1.15;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;

  /* Layout */
  --container-max: 1200px;
  --container-mobile: 100%;
  --header-height: 72px;
  --bottom-nav-height: 64px;

  /* Border Radius — max 8px for luxury DNA */
  --border-radius-sm: 2px;
  --border-radius-md: 4px;
  --border-radius-lg: 6px;
  --border-radius-xl: 8px;
  --border-radius-pill: 9999px;

  /* Shadows — dark theme with gold tint */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.6);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.7);
  --shadow-header: 0 2px 12px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 4px 20px rgba(201, 168, 76, 0.15);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow: 350ms ease;

  /* Z-index */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-header: 1200;
  --z-modal: 1300;
  --z-fab: 1100;
}

/* ---- Dark mode is now the DEFAULT — no separate body.dark needed ---- */
/* Light mode override (if user toggles) */
body.light {
  --color-bg: #F5F5F0;
  --color-bg-white: #FFFFFF;
  --color-bg-elevated: #FAFAF5;
  --color-text: #1A1208;
  --color-text-primary: #1A1208;
  --color-text-secondary: #5A5040;
  --color-text-muted: #8A8070;
  --color-border: rgba(201, 168, 76, 0.25);
  --color-border-light: rgba(26, 18, 8, 0.08);
  --color-primary-bg: rgba(201, 168, 76, 0.1);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.12);
}

/* Cookie consent dark */
.cookie-consent {
  background: #111111;
  color: #AAAAAA;
}
.cookie-consent a { color: var(--color-primary); }
