/* ========================================
   GLOBAL STYLES - MACAPÁ SHOPPING
   Sistema de design padronizado
   ======================================== */

/* ========================================
   CSS VARIABLES (ROOT)
   ======================================== */
:root {
  /* Cores principais */
  --brand: #2f3fb1;
  --brand-light: #4c5192;
  --brand-dark: #1e2a8a;
  --bs-primary-rgb: 31, 42, 140;
  --bs-btn-color: 31, 42, 140;
  --bs-btn-bg: 31, 42, 140;


  /* Cores de texto */
  --ink: #2b2b2b;
  --ink-light: #6d7387;
  --ink-muted: #848aa0;

  /* Cores de fundo */
  --bg: #f6f8fc;
  --bg-light: #fafbff;
  --bg-dark: #0f172a;

  /* Cores de linha/borda */
  --line: #eceff4;
  --line-dark: #cbd5e1;

  /* Cores de estado */
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --info: #3b82f6;

  /* Tamanhos de fonte base */
  --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-size-4xl: 2.25rem;
  /* 36px */
  --font-size-5xl: 3rem;
  /* 48px */

  /* Espaçamentos */
  --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 */

  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* Sombras */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);

  /* Transições */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ========================================
   RESET E BASE
   ======================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--ink);
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   TIPOGRAFIA PADRONIZADA
   ======================================== */

/* Títulos */
h1,
.h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: var(--font-size-5xl);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: var(--spacing-lg);
}

h2,
.h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: var(--font-size-4xl);
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: var(--spacing-md);
}

h3,
.h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: var(--font-size-3xl);
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: var(--spacing-md);
}

h4,
.h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: var(--font-size-2xl);
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: var(--spacing-sm);
}

h5,
.h5 {
  font-family: 'Montserrat', sans-serif;
  font-size: var(--font-size-xl);
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: var(--spacing-sm);
}

h6,
.h6 {
  font-family: 'Montserrat', sans-serif;
  font-size: var(--font-size-lg);
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: var(--spacing-sm);
}

/* Parágrafos */
p,
.p {
  font-size: var(--font-size-base);
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: var(--spacing-md);
}

p.small,
.p-small {
  font-size: var(--font-size-sm);
  line-height: 1.6;
}

p.large,
.p-large {
  font-size: var(--font-size-lg);
  line-height: 1.7;
}

/* Texto destacado */
.text-muted {
  color: var(--ink-muted);
}

.text-brand {
  color: var(--brand);
}

.text-light {
  color: var(--ink-light);
}

/* ========================================
   ELEMENTOS BASE
   ======================================== */
a {
  color: var(--brand);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--brand-dark);
}

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ========================================
   UTILITÁRIOS
   ======================================== */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.font-bold {
  font-weight: 700;
}

.font-semibold {
  font-weight: 600;
}

.font-medium {
  font-weight: 500;
}

.font-normal {
  font-weight: 400;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-1 {
  margin-bottom: var(--spacing-xs);
}

.mb-2 {
  margin-bottom: var(--spacing-sm);
}

.mb-3 {
  margin-bottom: var(--spacing-md);
}

.mb-4 {
  margin-bottom: var(--spacing-lg);
}

.mb-5 {
  margin-bottom: var(--spacing-xl);
}

.mt-0 {
  margin-top: 0;
}

.mt-1 {
  margin-top: var(--spacing-xs);
}

.mt-2 {
  margin-top: var(--spacing-sm);
}

.mt-3 {
  margin-top: var(--spacing-md);
}

.mt-4 {
  margin-top: var(--spacing-lg);
}

.mt-5 {
  margin-top: var(--spacing-xl);
}

/* ========================================
   RESPONSIVIDADE
   ======================================== */
@media (max-width: 768px) {

  h1,
  .h1 {
    font-size: var(--font-size-4xl);
  }

  h2,
  .h2 {
    font-size: var(--font-size-3xl);
  }

  h3,
  .h3 {
    font-size: var(--font-size-2xl);
  }

  h4,
  .h4 {
    font-size: var(--font-size-xl);
  }

  h5,
  .h5 {
    font-size: var(--font-size-lg);
  }

  h6,
  .h6 {
    font-size: var(--font-size-base);
  }
}

@media (max-width: 480px) {

  h1,
  .h1 {
    font-size: var(--font-size-3xl);
  }

  h2,
  .h2 {
    font-size: var(--font-size-2xl);
  }

  h3,
  .h3 {
    font-size: var(--font-size-xl);
  }
}


/* ========================================
   FORMS
   ======================================== */

.searchbox .form-control,
.list-group-flush {
  font-size: .8rem;
}

div#catList {
  border: 1px solid #1010101a;
  border-radius: 16px;
}