/* ===============================================
   Awesome Mall - Enhanced CSS Variables
   Bootstrap 5 Compatible Design System
   =============================================== */

:root {
  /* ========== Brand Colors (Vibrant Premium Theme) ========== */
  --am-primary: #ff5e14;
  /* Primary Vibrant Orange */
  --am-primary-hover: #e04a08;
  /* Darker Orange on Hover */
  --am-primary-light: #fff5f0;
  /* Light Orange Background */
  --am-primary-dark: #cc4200;
  /* Very Dark Orange */

  /* Accent & Semantic Colors */
  --am-secondary: #f43f5e;
  /* Premium Red/Pink for discounts/alerts */
  --am-success: #10b981;
  /* Success Green */
  --am-warning: #f59e0b;
  /* Warning Amber */
  --am-danger: #ef4444;
  /* Danger Red */
  --am-info: #3b82f6;
  /* Info Blue */

  /* Neutral Colors */
  --am-text-dark: #0f172a;
  /* Premium Dark Text Color */
  --am-text-muted: #64748b;
  /* Muted/Secondary Text */
  --am-text-light: #94a3b8;
  /* Light Text */
  --am-border: #e2e8f0;
  /* Border Color */
  --am-border-light: #f1f5f9;
  /* Lighter Border */
  --am-bg: #f8fafc;
  /* Modern Page Background */
  --am-bg-light: #ffffff;
  /* Light Background */
  --am-white: #ffffff;
  /* Pure White */
  --am-black: #020617;
  /* Pure Black */

  /* ========== Typography ========== */
  --font-primary: 'Inter', 'Roboto', sans-serif;
  --font-display: 'Outfit', sans-serif;

  --font-size-xs: 0.75rem;
  /* 12px */
  --font-size-sm: 0.875rem;
  /* 14px */
  --font-size-base: 1rem;
  /* 16px */
  --font-size-lg: 1.125rem;
  /* 18px */
  --font-size-xl: 1.25rem;
  /* 20px */
  --font-size-2xl: 1.5rem;
  /* 24px */
  --font-size-3xl: 1.875rem;
  /* 30px */

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

  /* ========== Spacing ========== */
  --spacing-xs: 0.25rem;
  /* 4px */
  --spacing-sm: 0.5rem;
  /* 8px */
  --spacing-md: 1rem;
  /* 16px */
  --spacing-lg: 1.5rem;
  /* 24px */
  --spacing-xl: 2rem;
  /* 32px */
  --spacing-2xl: 3rem;
  /* 48px */
  --spacing-3xl: 4rem;
  /* 64px */

  /* ========== Border Radius ========== */
  --radius-none: 0;
  --radius-sm: 0.25rem;
  /* 4px */
  --radius-md: 0.375rem;
  /* 6px */
  --radius-lg: 0.5rem;
  /* 8px */
  --radius-xl: 0.75rem;
  /* 12px */
  --radius-2xl: 1rem;
  /* 16px */
  --radius-full: 9999px;
  /* Fully rounded */

  /* Component-Specific Radius */
  --card-radius: 4px;
  --button-radius: 4px;
  --input-radius: 4px;

  /* ========== Shadows ========== */
  --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --shadow-inner: inset 0 2px 4px 0 rgb(0 0 0 / 0.05);

  /* ========== Form Elements ========== */
  --input-height: 42px;
  --input-border: #ddd;
  --input-border-focus: var(--am-primary);
  --input-bg: var(--am-white);
  --input-bg-disabled: #f5f5f5;
  --input-text: var(--am-text-dark);
  --input-placeholder: #a0a0a0;
  --input-padding-x: 0.75rem;
  --input-padding-y: 0.5rem;

  /* Form Validation States */
  --input-valid-border: var(--am-success);
  --input-valid-bg: #f0fdf4;
  --input-invalid-border: var(--am-danger);
  --input-invalid-bg: #fef2f2;

  /* ========== Transitions ========== */
  --transition-fast: 150ms ease;
  --transition-normal: 300ms ease;
  --transition-slow: 500ms ease;

  /* ========== Z-Index Layers ========== */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;

  /* ========== Layout ========== */
  --header-height: 80px;
  --container-width: 1400px;
  --sidebar-width: 220px;

  /* ========== Breakpoints (for reference in comments) ========== */
  /* xs: 0px */
  /* sm: 576px */
  /* md: 768px */
  /* lg: 992px */
  /* xl: 1200px */
  /* xxl: 1400px */

  /* ========== Component-Specific Variables ========== */

  /* Buttons */
  --btn-padding-x: 1.25rem;
  --btn-padding-y: 0.5rem;
  --btn-font-size: var(--font-size-base);
  --btn-font-weight: var(--font-weight-medium);

  /* Cards */
  --card-padding: 1rem;
  --card-bg: var(--am-white);
  --card-border: 1px solid var(--am-border);
  --card-shadow: var(--shadow-sm);

  /* Tables */
  --table-cell-padding: 0.75rem;
  --table-border: 1px solid var(--am-border);
  --table-stripe-bg: #f9fafb;
  --table-hover-bg: var(--am-bg-light);

  /* Badges */
  --badge-padding-x: 0.5rem;
  --badge-padding-y: 0.25rem;
  --badge-font-size: var(--font-size-xs);
  --badge-border-radius: var(--radius-sm);

  /* Alerts */
  --alert-padding: 1rem;
  --alert-border-radius: var(--radius-md);
  --alert-border-width: 1px;
}

/* ========== Dark Mode Support (Optional) ========== */
@media (prefers-color-scheme: dark) {
  /* You can add dark mode variables here if needed */
}