/* Geometria official TTF font kit
   Font files location on server:
   /bitrix/templates/aspro-priority2/css/fonts/geometria/
*/

@font-face {
  font-family: 'Geometria';
  src: url('fonts/geometria/GeometriaThin.ttf') format('truetype');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Geometria';
  src: url('fonts/geometria/GeometriaThinItalic.ttf') format('truetype');
  font-weight: 100;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Geometria';
  src: url('fonts/geometria/GeometriaExtraLight.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Geometria';
  src: url('fonts/geometria/GeometriaExtraLightItalic.ttf') format('truetype');
  font-weight: 200;
  font-style: italic;
  font-display: swap;
}

/* В комплекте нет GeometriaLight.ttf, поэтому 300 normal берем из ExtraLight */
@font-face {
  font-family: 'Geometria';
  src: url('fonts/geometria/GeometriaExtraLight.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Geometria';
  src: url('fonts/geometria/GeometriaLightItalic.ttf') format('truetype');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Geometria';
  src: url('fonts/geometria/GeometriaRegular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Geometria';
  src: url('fonts/geometria/GeometriaItalic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Geometria';
  src: url('fonts/geometria/GeometriaMedium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Geometria';
  src: url('fonts/geometria/GeometriaMedium.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Geometria';
  src: url('fonts/geometria/GeometriaBold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Geometria';
  src: url('fonts/geometria/GeometriaExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Geometria';
  src: url('fonts/geometria/GeometriaExtraBold.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

html {
  --theme-font-family: 'Geometria' !important;
  --theme-font-title-family: 'Geometria' !important;
}

body,
button,
input,
optgroup,
select,
textarea {
  font-family: 'Geometria' !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.switcher-title,
.title-text,
.font-title,
.font_13,
.font_14,
.font_15,
.font_16,
.font_17,
.font_18,
.font_20,
.font_24,
.font_28,
.font_32,
.font_40,
.font_48,
.font_56 {
  font-family: 'Geometria' !important;
}


/* FT2026 strict font lock: text uses only Geometria, without fallback stacks. */
html,
body,
body :where(*:not(.fa):not(.far):not(.fas):not(.fab):not(.fa-solid):not(.fa-regular):not(.fa-brands):not([class^='fa-']):not([class*=' fa-']):not(.svg):not(.swiper-button-next):not(.swiper-button-prev)) {
  font-family: 'Geometria' !important;
}

/* Не трогаем иконочные шрифты */
.fa,
.far,
.fas,
.fab,
.fa-solid,
.fa-regular,
.fa-brands,
[class^='fa-'],
[class*=' fa-'],
.icon,
.svg,
.swiper-button-next,
.swiper-button-prev {
  font-family: inherit;
}
