/* ============================================================
   BASE TIPOGRÁFICA — réplica del tema Astra del sitio original.
   Se carga DESPUÉS de tw.css a propósito: el preflight de Tailwind
   aplana los títulos con `h1,h2,h3,h4,h5,h6{font-weight:inherit}`,
   y eso hacía que todo se viera más fino que en el WordPress.
   ============================================================ */

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Montserrat', 'Outfit', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Los controles de formulario NO fuerzan Montserrat: en el original el
   preflight de Tailwind (`button,input,optgroup,select,textarea{
   font-family:inherit}`) se carga DESPUÉS de Astra y gana. Por eso los
   tabs del EventBuilder (que están dentro de `#blossom-hero-module`, en
   Outfit) salen en Outfit y no en Montserrat. Forzar Montserrat aquí los
   pintaba distintos al original. */
button,
input,
select,
textarea {
  font-family: inherit;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Pesos y tamaños de los títulos.
   Peso 800 (extrabold) como en el diseño de marca: es el valor que usan el
   navbar, los títulos de producto y los precios en el CSS del cliente.
   Los títulos que el cliente define con `font-weight: X !important`
   (.bce-lb-heading 400, .blossom-title 500, .br-inspo-title 400…) NO se ven
   afectados: el !important del cliente siempre gana sobre esta regla. */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Outfit', sans-serif;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 0.6em;
}

h1 { font-size: 36px; font-size: 2.25rem; font-weight: 800; }
h2 { font-size: 30px; font-size: 1.875rem; font-weight: 800; }
h3 { font-size: 24px; font-size: 1.5rem; font-weight: 800; }
h4 { font-size: 20px; font-size: 1.25rem; font-weight: 800; }
h5 { font-size: 18px; font-size: 1.125rem; font-weight: 800; }
h6 { font-size: 16px; font-size: 1rem; font-weight: 800; }

/* Los elementos con tipografía propia de la marca NO se ven afectados:
   las clases del cliente (.blossom-*, .br-*, .bce-*) y de la ficha
   (.blossom-sp-*) tienen mayor especificidad y siguen ganando. */
.blossom-hero-title,
.blossom-hero h1,
.blossom-section-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
}

/* Tailwind pone font-feature-settings en los controles de formulario;
   el original no lo hacía y cambiaba el grosor aparente del texto. */
button, input, select, textarea {
  font-feature-settings: normal;
  font-variation-settings: normal;
  letter-spacing: inherit;
}

/* Los controles de formulario del cliente conservan su propio peso */
.blossom-form input,
.blossom-form textarea,
.blossom-form select,
.blossom-wc-field select,
.blossom-wc-field input {
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
}
