/* Глобальное применение шрифта Montserrat ко всем страницам и подстраницам в теме medibazar */

/* Подключаем шрифт Montserrat */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');

/* Применяем Montserrat ко всем элементам на всех страницах */
body,
body *,
html,
html * {
    font-family: 'Montserrat', sans-serif !important;
}

/* Специфичные селекторы для переопределения других шрифтов */
.klb-page,
.klb-page *,
.page-content,
.page-content *,
.entry-content,
.entry-content *,
.post-content,
.post-content *,
.woocommerce,
.woocommerce *,
.single-product,
.single-product *,
.shop,
.shop *,
.archive,
.archive *,
.category,
.category *,
.tag,
.tag *,
.search,
.search *,
.home,
.home *,
.blog,
.blog *,
.front-page,
.front-page *,
.page,
.page *,
.post,
.post *,
.product,
.product *,
.container,
.container *,
.section,
.section *,
.row,
.row *,
.col-md-12,
.col-md-12 *,
.col-md-10,
.col-md-10 *,
.col-md-8,
.col-md-8 *,
.col-md-6,
.col-md-6 *,
.col-md-4,
.col-md-4 *,
.col-md-3,
.col-md-3 *,
header,
header *,
main,
main *,
footer,
footer *,
nav,
nav *,
article,
article *,
section,
section *,
aside,
aside *,
div,
div *,
span,
span *,
p,
p *,
h1,
h2,
h3,
h4,
h5,
h6,
a,
a *,
button,
button *,
input,
input *,
textarea,
textarea *,
select,
select *,
label,
label *,
ul,
ul *,
ol,
ol *,
li,
li *,
table,
table *,
td,
td *,
th,
th *,
tr,
tr * {
    font-family: 'Montserrat', sans-serif !important;
}

/* Исключения для иконок и специальных элементов */
.fa,
.fas,
.far,
.fab,
.fal,
[class*="icon"],
[class*="Icon"],
svg,
svg *,
i[class*="icon"],
i[class*="Icon"] {
    font-family: inherit !important;
}

/* Применяем к элементам темы medibazar */
.medibazar,
.medibazar *,
.klb-*,
[class*="klb-"],
[class*="medibazar-"] {
    font-family: 'Montserrat', sans-serif !important;
}

/* Применяем к WooCommerce элементам */
.woocommerce *,
.woocommerce-page *,
[class*="woocommerce"] * {
    font-family: 'Montserrat', sans-serif !important;
}

/* Применяем к элементам SPA страниц */
.spa-*,
[class*="spa-"],
.homepage-*,
[class*="homepage-"],
.offer-*,
[class*="offer-"] {
    font-family: 'Montserrat', sans-serif !important;
}

/* Делаем название товара жирным на странице single product - текст над ценой справа */
.single-product .spabest-single-right-title,
.single-product .spabest-single-right-col .product_title,
.single-product .spabest-single-right-col h1.product_title,
.single-product .spabest-single-right-col .spabest-single-right-title,
.single-product .spabest-single-right-col h1,
.single-product .spabest-single-right-col h2,
.single-product .spabest-single-right-col h3,
.single-product .spabest-single-right-col h4,
.single-product .spabest-single-right-col h5,
.single-product .spabest-single-right-col h6,
.single-product .summary .product_title,
.single-product .summary h1.product_title,
.single-product .woocommerce-product-details__short-description + .product_title,
.single-product .col-lg-6:last-child .product_title,
.single-product .col-lg-6:last-child h1,
.single-product .col-lg-6:last-child h2,
.single-product .col-lg-6:last-child h3,
.single-product .col-lg-6:last-child h4,
.single-product .col-lg-6:last-child h5,
.single-product .col-lg-6:last-child h6,
.spabest-single-right-title,
.spabest-single-right-col .product_title,
.spabest-single-right-col h1.product_title,
.spabest-single-right-col .spabest-single-right-title,
h1.product_title.spabest-single-right-title,
h1.spabest-single-right-title {
    font-weight: 700 !important;
    font-weight: bold !important;
}

/* Увеличение и жирность цены на странице товара - максимальная специфичность */
body.single-product .spabest-single-price-wrap .price,
body.single-product .spabest-single-price-wrap .price *,
body.single-product .spabest-single-price-wrap .price span,
body.single-product .spabest-single-price-wrap .price ins,
body.single-product .spabest-single-price-wrap .price del,
body.single-product .spabest-single-price-wrap .price .woocommerce-Price-amount,
body.single-product .spabest-single-price-wrap .price .woocommerce-Price-amount *,
body.single-product .spabest-single-price-wrap .price .woocommerce-Price-amount.amount,
body.single-product .spabest-single-price-wrap .price .woocommerce-Price-amount.amount *,
body.single-product .spabest-single-price-wrap .price .woocommerce-Price-amount.amount span,
body.single-product .spabest-single-price-wrap .price .woocommerce-Price-amount.amount bdi,
body.single-product .spabest-single-price-wrap .price .woocommerce-Price-amount.amount bdi *,
body.single-product .spabest-single-price-wrap .price .woocommerce-Price-currencySymbol,
body.single-product .spabest-single-price-wrap .price .ruble-symbol,
body.single-product .spabest-single-price-wrap .woocommerce-Price-amount,
body.single-product .spabest-single-price-wrap .woocommerce-Price-amount *,
body.single-product .spabest-single-price-wrap .woocommerce-Price-amount.amount,
body.single-product .spabest-single-price-wrap .woocommerce-Price-amount.amount *,
body.single-product .spabest-single-right-col .price,
body.single-product .spabest-single-right-col .price *,
body.single-product .spabest-single-right-col .price span,
body.single-product .spabest-single-right-col .price .woocommerce-Price-amount,
body.single-product .spabest-single-right-col .price .woocommerce-Price-amount *,
body.single-product .spabest-single-right-col .price .woocommerce-Price-amount.amount,
body.single-product .spabest-single-right-col .price .woocommerce-Price-amount.amount * {
    font-size: 36px !important;
    font-weight: 700 !important;
    font-family: 'Montserrat', sans-serif !important;
    color: #1a1a1a !important;
    line-height: 1.2 !important;
}

/* Переопределяем стили из style.css */
body.single-product .product-details-wrapper p.price,
body.single-product p.price,
body.single-product .price,
body.single-product .woocommerce-Price-amount,
body.single-product .woocommerce-Price-amount.amount,
body.single-product div.woocommerce-variation-price span.price {
    font-size: 36px !important;
    font-weight: 700 !important;
    font-family: 'Montserrat', sans-serif !important;
    color: #1a1a1a !important;
}

