/* Instrument Sans (licencia SIL OFL, ver fonts/OFL-instrument-sans.txt). Un archivo variable cubre los pesos 400 a 700. */
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/wp-content/plugins/la-perfumeria/modulos/lp-store-fuente/fonts/instrument-sans-latin.woff2") format("woff2");
}

/* El tema escribe estas variables en línea desde sus ajustes: sólo !important las pisa. */
html:root {
  --lp-fuente: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --loq-font: var(--lp-fuente) !important;
  --loq-font-alt: var(--lp-fuente) !important;
  --loq-font-family: var(--lp-fuente) !important;
  --gds-font-heading: var(--lp-fuente) !important;
  --gds-font-body: var(--lp-fuente) !important;
  --font-primary: var(--lp-fuente) !important;
}

/* Las reseñas de Google traen su propia fuente fija en otro plugin. */
html .loq-gr-widget {
  font-family: var(--lp-fuente);
}

/* Decisión del dueño: en esta fuente no van mayúsculas forzadas ni el espaciado que las acompañaba. Hay decenas de reglas
   repartidas entre módulos y tema, varias con !important: el :not(#_) sólo sube la especificidad para ganarles a todas. */
html body *:not(#_) {
  letter-spacing: normal !important;
  text-transform: none !important;
}

/* Sin mayúsculas los títulos de sección pierden presencia frente a los nombres de producto: se compensa con tamaño y peso. */
html body .gds-section-header__title:not(.hero-menu__title),
html body .loq-cards__title,
html body .lp-shorts__title,
html body .lq-filter-current-title,
html body .lq-related-products-title,
html body .lp-catalog-invite__title {
  font-size: clamp(20px, 1.9vw, 26px) !important;
  font-weight: 600 !important;
}

/* En esta fuente el punto de los miles queda pegado a algunos números ("3.487.100"): en los precios, sin ese ajuste. */
.amount,
.price,
.lp-pdp-memorias__op,
.lp-pdp-buy-bar__price,
.lq-price-main,
.lp-store-floating-cart__price {
  font-kerning: none;
}
