/**
 * GilGamez Sovereign Store Platform — Design System & Token Architecture
 * Strictly conforms to DEVELOPMENT_RULES.md (Rule #12 Enterprise Tokens) & ui-spec.md §2.
 */

:root {
  /* Surface Elevation & Depths */
  --store-surface-0: #0a0d14;         /* App canvas background */
  --store-surface-1: #111726;         /* Primary cards, headers, wizard deck */
  --store-surface-2: #192237;         /* Elevated modals, drawers, popovers */
  --store-surface-inset: #0e1422;     /* Inset panels, input backgrounds */
  --store-surface-hover: #1e293b;     /* Card/row hover state */

  /* Borders & Dividers */
  --store-border-subtle: rgba(255, 255, 255, 0.08);
  --store-border-medium: rgba(255, 255, 255, 0.14);
  --store-border-focus: #c5a059;      /* Gold focus ring */
  --store-border-active: #d4af37;     /* Bright gold active selection */

  /* Sovereign Gold Accents */
  --store-accent-primary: #c5a059;    /* Sovereign Gold */
  --store-accent-hover: #d4af37;      /* Bright Gold */
  --store-accent-glow: rgba(197, 160, 89, 0.25);
  --store-accent-subtle: rgba(197, 160, 89, 0.08);

  /* Typography Colors */
  --store-text-primary: #f0f2f5;      /* 95% White - Titles, product names */
  --store-text-secondary: #94a3b8;    /* 65% Slate - Subtitles, descriptions */
  --store-text-muted: #64748b;        /* 45% Slate - Hints, timestamps */
  --store-text-gold: #e5c07b;         /* Gold price highlights, balances */

  /* Semantic Status Colors */
  --store-status-success: #10b981;    /* Emerald - Completed, Verified, In Stock */
  --store-status-warning: #f59e0b;    /* Amber - Pending, Processing, Low Stock */
  --store-status-danger: #ef4444;     /* Rose - Failed, Out of Stock, Invalid */
  --store-status-info: #06b6d4;       /* Cyan - Fulfilling, Direct Recharge */
  --store-status-neutral: #64748b;    /* Slate - Canceled, Expired, Archived */

  /* Shadows & Elevation */
  --store-shadow-card: 0 4px 16px rgba(0, 0, 0, 0.3);
  --store-shadow-drawer: -4px 0 24px rgba(0, 0, 0, 0.5);
  --store-shadow-modal: 0 12px 36px rgba(0, 0, 0, 0.6);
  --store-shadow-focus: 0 0 0 2px var(--store-accent-glow);

  /* Sizing & Radius */
  --store-radius-sm: 6px;
  --store-radius-md: 10px;
  --store-radius-lg: 14px;
  --store-radius-full: 9999px;
  --store-control-height: 44px;
  --store-font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --store-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

/* Universal Mandatory 6px Gold Custom Scrollbars */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--store-accent-primary) transparent;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: var(--store-accent-primary);
  border-radius: 9999px;
  transition: background-color 0.2s ease;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--store-accent-hover);
}
::-webkit-scrollbar-corner {
  background: transparent;
}
