@import url('https://fonts.googleapis.com/css2?family=Geologica:wght@100..900&display=swap');

/* Тут добавляем шрифты, если от гугла, то импортом */
*,
*::before,
*::after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    /*font-family: Шрифт; font-size: Размер шрифта; font-weight: Жирность шрифта; line-height: Межстрочный интервал; color: Цвет шрифта*/
    font-family: Geologica;
}

body.lock {
    overflow: hidden;
    /*Это для того, чтобы не допускать скрол когда открыт попап*/
}

/*Классы для заголовков*/
h6,
h5,
h4,
h3,
h2,
h1 {
    margin: 0;
    margin-block: 0;
    /* Далее стили для общих заголовков (если есть) */
}

h1 {
    color: #000;
    font-size: 44px;
    font-weight: 500;
    line-height: 115%;
}

h2 {
    color: #000;
    font-size: 30px;
    font-weight: 500;
    line-height: 125%;
}

h3 {
    color: #000;
    font-size: 25px;
    font-weight: 500;
    line-height: 125%;
}

h4 {
    color: #000;
    font-size: 22px;
    font-weight: 600;
    line-height: 146%;
}

h5 {
    color: #000;
    font-size: 20px;
    font-weight: 600;
    line-height: 125%;
}

h6 {}

.h1 {
    color: #000;
    font-size: 44px;
    font-weight: 500;
    line-height: 115%;
}

.h2 {
    color: #000;
    font-size: 30px;
    font-weight: 500;
    line-height: 125%;
}

.h3 {
    color: #000;
    font-size: 25px;
    font-weight: 500;
    line-height: 125%;
}

.h4 {
    color: #000;
    font-size: 22px;
    font-weight: 600;
    line-height: 146%;
}

.h5 {
    color: #000;
    font-size: 20px;
    font-weight: 600;
    line-height: 125%;
}

h6 {}

p {
    margin: 0;
    font-weight: 300;
    color: rgba(0, 0, 0, 0.8);
    font-size: 16px;
    font-weight: 300;
    line-height: 140%;
    margin-bottom: 9px;
}

.about-text-block p:last-child {
    margin-bottom: 0;
}

p b,
p strong {
    font-weight: 700;
}

p br {
    margin-block: 15px;
}

ol,
ul {
    padding: 0;
    margin: 0;
}

li {
    list-style-type: none;
}

a {
    color: inherit;
    text-decoration: none;
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
}

button {
    border: none;
    cursor: pointer;
    outline: none;
    font-family: Geologica;
}

input,
textarea {
    border: none;
    outline: none;
    font-family: inherit;
    margin: 0;
}

textarea {
    resize: none;
}

/* Класс основной кнопки */
.btn {}

/* Дальше можно добавлять стили для других кнопок, например .btn-blue, btn-lg, btn-sm и т.д. */

/* Класс для инпутов */
.input {}



/* Класс для label*/
.fg {}


.main {
    display: flex;
    flex-direction: column;
    min-height: calc(100 * var(--vh));
    /* Минимильная высота - высота экрана (100 * var(--vh) нужно для моб. версий, 100vh не работает, так-как мешает адресная строка)  */
}

/* Шапка */
.header {}

/* Тут блоки в шапке */


/* Блок между шапкой и подвалом */
.page {
    flex-grow: 1;
    /* Это делается для того, чтобы блок между шапкой и подвалом растягивался и .main был на всю высоту экрана, иначе при маленьком контенте под футером останется пространство */
}

/* Подвал */
.footer {}

/* Тут блоки в подвале */

/* Далее стили страницы и похожих блоков */


.container {
    max-width: 1310px;
    margin: 0 auto;
    width: 100%;
    padding: 0 15px;
}

.page-title-wrapper {
    padding-top: 30px;
}



.breadcrumbs {
    color: rgba(54, 54, 54, 0.6);
    font-size: 13px;
    font-weight: 300;
    line-height: 140%;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.breadcrumbs-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.breadcrumbs a {
    color: #000;
    font-size: 13px;
    font-weight: 300;
    line-height: 140%;

    transition: all .3s;
}

.breadcrumbs a:hover {
    color: #E63737;
}


.page-title {
    color: #000;
    font-size: 44px;
    font-weight: 500;
    line-height: 115%;
}


.arrow-btn {
    width: 100%;
    padding: 11px 14px;
    border-radius: 10px;
    border: 1.3px solid rgba(230, 55, 55, 0.14);
    display: flex;
    align-items: center;
    gap: 4px;
    justify-content: center;
    transition: all .3s;
    background: #fff;
}

.arrow-btn-text {
    color: #E63737;
    font-size: 14px;
    font-weight: 500;
    line-height: 140%;
    transition: all .3s;
}

.arrow-btn-icon {
    line-height: 0;
}

.arrow-btn-icon svg {
    min-width: 12px;
    width: 12px;
    height: 12px;
}

.arrow-btn path {
    transition: all .3s;
}

.arrow-btn:hover {
    background: #E63737;
}

.arrow-btn:hover .arrow-btn-text {
    color: #fff;
}

.arrow-btn:hover path {
    stroke: #fff;
}


.red-btn {
    display: flex;
    width: 100%;
    padding: 4px 4px 4px 20px;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: #E63737;
    box-shadow: 0px 13px 15px 0px rgba(0, 0, 0, 0.05);
    gap: 15px;
    transition: all .3s;
}

.red-btn-text {
    color: #FFF;
    font-size: 14px;
    font-weight: 600;
    line-height: 140%;
    white-space: nowrap;
    flex: 1;
    text-align: center;
}

.red-btn-icon {
    line-height: 0;
    margin-left: auto;
}

.red-btn:hover {
    background: #000;
}

.mb20 {
    margin-bottom: 18px;
}

.accent-link {
    color: #E63737;
    text-decoration-line: underline;
}

.accent-link:hover {
    color: #000;
}

.cart-btn {
    display: flex;
    padding: 4px 4px 4px 25px;
    justify-content: center;
    align-items: center;
    gap: 15px;
    border-radius: 15px;
    background: #000;
    box-shadow: 0 13px 15px 0 rgba(0, 0, 0, 0.05);
    transition: all .3s;
}

.cart-btn:hover {
    background: #E63737;
}

.cart-btn__text {
    flex: 1;
    color: #FFF;
    font-size: 14px;
    font-weight: 600;
    line-height: 140%;
    text-align: center;
    white-space: nowrap;
}

.cart-btn__icon {
    line-height: 0;
}

.cart-btn__icon svg {
    width: 53px;
    height: 53px;
    min-width: 53px;
}


.ymaps-2-1-79-balloon {
    position: absolute;
    z-index: 1;
    padding: 1px;
    box-shadow: none !important;
    border-radius: 10px;
}

.ymaps-2-1-79-balloon__layout {
    border-radius: 10px;
}

.ymaps-2-1-79-balloon__tail {
    box-shadow: none !important;
    background: #fff !important;
}

.aside-contact-btn {
    display: flex;
    padding: 8px 17px 8px 8px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 900px;
    background: #1C8ADB;
    position: fixed;
    right: 30px;
    top: 662px;
    transition: all .5s;
    z-index: 22;
}

.aside-contact-btn:hover {
    transform: scale(1.04);
}

.aside-contact-btn__icon {
    line-height: 0;
}

.aside-contact-btn__icon svg {
    width: 32px;
    height: 32px;
}

.aside-contact-btn__text {
    color: #FFF;
    font-size: 14px;
    font-weight: 700;
    line-height: 140%;
}


@media (max-width: 1024px) {
    .aside-contact-btn__text {
        display: none;
    }

    .aside-contact-btn {
        padding: 0;
        top: 70vh;
        right: 10px;
    }

    .aside-contact-btn rect {
        fill: #1C8ADB;
    }

    .aside-contact-btn path {
        fill: #fff;
    }
}


@media (max-width: 768px) {

    h1 {
        font-size: 28px;
    }

    p {
        font-size: 14px;
        margin-bottom: 14px;

    }

    h2 {
        font-size: 22px;
    }

    h3 {
        font-size: 20px;
    }

    h4 {
        font-size: 18px;
    }

    h5 {
        font-size: 15px;
    }

    .h1 {
        font-size: 28px;
    }

    .h2 {
        font-size: 22px;
    }

    .h3 {
        font-size: 20px;
    }

    .h4 {
        font-size: 18px;
    }

    .h5 {
        font-size: 15px;
    }

    .red-btn-text {
        flex: 1;
        text-align: center;
    }

    .breadcrumbs a {
        white-space: nowrap;
    }

    .breadcrumbs {
        white-space: nowrap;
        overflow-x: auto;
    }
}




/* Базовый класс для всех флагов */
.country-flag {
    /* Ваша базовая стилизация остаётся */
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
    margin-top: -2px;
    border-radius: 3px;
    flex-shrink: 0;
    background-size: cover !important;
}

/* Размеры флагов по размеру текста */

/* Для заголовков H1 и страниц товаров */
.h1 .country-flag,
.product-info__title .country-flag {
    width: 1em !important;
    height: 0.7em;
}

/* Для названий товаров в каталоге и карточках */
.catalog-product__title .country-flag,
.product-horizontal__title .country-flag,
.viewed-product__title .country-flag,
.wishlist-item__title .country-flag {
    width: 1.2em !important;
    height: 0.9em;
}

/* Для корзины и чекаута */
.cart-item__title .country-flag,
.order-item__title .country-flag,
.checkout-item__title .country-flag {
    width: 1.1em !important;
    height: 0.825em;
}

/* Для фильтров и мелких элементов */
.active-filter__value .country-flag,
.search-result__title .country-flag {
    width: 1em !important;
    height: 0.75em;
}

.fi:before {
    display: none;
}

.fi {
    aspect-ratio: 4 / 3;
    width: 1em !important;
}

/* Адаптивные размеры */
@media (max-width: 768px) {

    /* На мобильных устройствах немного уменьшаем */
    .catalog-product__title .country-flag,
    .product-horizontal__title .country-flag {
        width: 1.1em !important;
        height: 0.825em;
    }

    h1 .country-flag,
    .product-info__title .country-flag {
        width: 1.3em !important;
        height: 0.975em;
    }
}

/* 
path.half-star {
    fill: url(#halfStarGradient)
} */