@font-face {
    font-family: Atyp Text Sm;
    font-display: swap;
    src: local("Atyp Text Sm"), url(https://www.aquaphor.ru/resources/site/fonts/AtypSemibold/AtypText-Semibold.woff2) format("woff2"), url(https://www.aquaphor.ru/resources/site/fonts/AtypSemibold/AtypText-Semibold.woff) format("woff");
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: Atyp Text Rg;
    font-display: swap;
    src: local("Atyp Text Rg"), url(https://www.aquaphor.ru/resources/site/fonts/AtypRegular/AtypText-Regular.woff2) format("woff2"), url(https://www.aquaphor.ru/resources/site/fonts/AtypRegular/AtypText-Regular.woff) format("woff"), url(https://www.aquaphor.ru/resources/site/fonts/AtypRegular/AtypText-Regular.ttf) format("truetype");
    font-weight: 400;
    font-style: normal;
}

:root {
    --font-family-sm: "Atyp Text Sm";
    --font-family-rg: "Atyp Text Rg";
}

select, input, textarea {
    font: 99% var(--font-family-rg), sans-serif;
}

.search-widget::after {
    font-family: var(--font-family-sm), serif;
}

.page-header__search-form {
    z-index: 1;
}

.page-header__search-form .form-container {
    height: 90px !important;
}

.mobile-menu__header .mobile-menu__search input::placeholder {
    text-transform: uppercase;
    font-family: var(--font-family-sm);
    line-height: 12px;
    letter-spacing: 0.5px;
    color: #2b1b3566 !important;
}

@media (min-width: 1270px) {
    .search-widget.opened {
        background: #F1F6FF;
        width: 40px;
        height: 40px;
        position: relative;
        z-index: 2;
        margin: 0;
        transform: translateX(80px);
    }

    .search-widget.opened:before {
        background: url(https://www.aquaphor.ru/resources/core/images/site/base/popup-close-icon.svg) center center no-repeat;
    }

    .search-widget.opened:after {
        content: '';
    }

    .search-widget.opened + .page-header__button {
        display: none;
    }

    .page-header__search-form.opened {
        left: 0;
        box-shadow: 0px 20px 50px rgba(43, 27, 53, 0.25);
    }
}
