:root {
  /* Brand Theme Colors */
  --as-navy-950: #071426;
  --as-navy-900: #0A1B2E;
  --as-navy-800: #0E2F63;
  --as-blue-700: #004ED8;
  --as-blue-600: #0066FF;
  --as-blue-500: #1E7BFF;
  --as-blue-100: #E8F1FF;

  /* Neutral tones */
  --as-silver-500: #B8C3D6;
  --as-silver-300: #D7DEE9;
  --as-silver-100: #F1F5F9;
  --as-white: #FFFFFF;
  --as-gray-50: #F8FAFC;
  --as-gray-100: #F1F5F9;
  --as-gray-200: #E5E7EB;
  --as-gray-300: #CBD5E1;
  --as-gray-400: #94A3B8;
  --as-gray-500: #64748B;
  --as-gray-600: #475569;
  --as-gray-700: #334155;
  --as-gray-900: #0F172A;

  /* Functional alert colors */
  --as-success: #12B76A;
  --as-success-dark: #079455;
  --as-whatsapp: #25D366;
  --as-whatsapp-dark: #128C7E;
  --as-warning: #F79009;
  --as-danger: #E11D48;
  --as-info: #0EA5E9;

  /* Core surfaces */
  --as-page-bg: #F7F9FC;
  --as-card-bg: #FFFFFF;
  --as-dark-surface: #071426;

  /* Borders and shadows */
  --as-border-light: #E6EBF2;
  --as-border-medium: #D8E0EC;
  --as-shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.06);
  --as-shadow-md: 0 12px 32px rgba(15, 23, 42, 0.10);
  --as-shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.16);

  /* Border radius tokens */
  --as-radius-xs: 6px;
  --as-radius-sm: 10px;
  --as-radius-md: 14px;
  --as-radius-lg: 20px;
  --as-radius-xl: 28px;
  --as-radius-pill: 999px;

  /* Typographic sizes */
  --fs-xs: 12px;
  --fs-sm: 13px;
  --fs-base: 15px;
  --fs-md: 16px;
  --fs-lg: 18px;
  --fs-xl: 22px;
  --fs-2xl: 28px;
  --fs-3xl: 46px;
  --fs-4xl: 64px;

  /* Line heights */
  --lh-tight: 1.1;
  --lh-heading: 1.18;
  --lh-body: 1.6;

  /* Font configurations */
  --as-font-primary: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --as-font-heading: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Spacing system */
  --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;
  --space-20: 80px;
}

/* Global Resetting */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--as-page-bg);
  color: var(--as-gray-700);
  font-family: var(--as-font-primary);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--as-font-heading);
  color: var(--as-gray-900);
  line-height: var(--lh-heading);
  font-weight: 700;
  margin-top: 0;
  margin-bottom: var(--space-3);
}

a {
  color: var(--as-blue-600);
  text-decoration: none;
  transition: color 150ms ease;
}

a:hover {
  color: var(--as-blue-700);
}

/* Container Widths */
.as-container {
  width: min(100% - 32px, 1320px);
  margin-inline: auto;
}

.as-container-wide {
  width: min(100% - 32px, 1480px);
  margin-inline: auto;
}

.as-container-narrow {
  width: min(100% - 32px, 980px);
  margin-inline: auto;
}

/* Grid Layout definitions */
.as-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-6);
}

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

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

/* Utility focus state */
:focus-visible {
  outline: 3px solid rgba(0, 102, 255, 0.35);
  outline-offset: 3px;
}
