* {
    margin: 0;
    padding: 0;
    outline: transparent;
    -webkit-tap-highlight-color: transparent;
    -webkit-appearance: none;
    -webkit-font-smoothing: antialiased;
    color: #212121;
}

*:focus, * input {
    outline: none;
    border: none;
}

body {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}

img {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -ms-interpolation-mode: bicubic;
}

div, p, header, input, a, ul, li, span {
    position: relative;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border: none;
    min-height: 100vh;
}

html {
    font-weight: normal;
    color: #fff;
    font-size: 10px;
}


a {
    text-decoration: none;
    color: #212121;
}

ul, li {
    list-style: none;
}


*:focus {
    outline: none;
}

html {
    scroll-behavior: smooth;
}


body.products-template-page-product-picosen {
    background-color: #fff;
    width: 100%;
    overflow-x: hidden;
}

body.products-template-page-product-picosen .header,
body.products-template-page-product-picosen .header a,
body.products-template-page-product-picosen .header li,
body.products-template-page-product-picosen .header p,
body.products-template-page-product-picosen .header span {
    font-family: 'Source Sans Pro', sans-serif;
}

body.products-template-page-product-picosen .header {
    z-index: 10;
    background: #fff;
}


.products-template-page-product-picosen .header {
    position: fixed;
    background-color: transparent;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2;
    box-shadow: none;
    -webkit-box-shadow: none;
    font-family: 'Source Sans Pro', sans-serif;
}

.products-template-page-product-picosen main {
    padding-top: 0;
}

.products-template-page-product-picosen .header {
    background-color: #fff;
    box-shadow: 0 0.2rem 1rem rgba(0, 0, 0, 0.1);
    transition: all .3s linear;
}

.products-template-page-product-picosen .header .header-mob-btn::after, .products-template-page-product-picosen .header .header-mob-btn::before {
    background-color: #fff;
}


.products-template-page-product-picosen .header .header-mob-btn::after,
.products-template-page-product-picosen .header .header-mob-btn::before {
    background-color: #000;
}


.products-template-page-product-picosen .header .header-mob-btn::after {
    width: 3rem;
    transform: translateY(0.5rem) translateX(-42%);
}

.products-template-page-product-picosen .header .header-mob-btn span {
    width: 3.5rem;
    height: 0.2rem;
    background-color: #fff;
    position: absolute;
    top: 0;
    right: -5px;
}

.logo__white {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
    opacity: 1;
    transition: all .2s linear;
}

.logo__dark {
    
    transition: all .2s linear;
}

.header.header__bg .logo__white {
    
}

.header.header__bg .logo__dark {
    opacity: 1;
}


:root {
    --swiper-theme-color: #007aff;
}

:root {
    --swiper-navigation-size: 44px;
}

html {
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
}

header {
    display: block;
    position: relative;
}

a {
    background-color: transparent;
    -webkit-text-decoration-skip: objects;
}

sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

img {
    border-style: none;
}

svg:not(:root) {
    overflow: hidden;
}


input {
    font-family: sans-serif;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}


input {
    overflow: visible;
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}

menu {
    display: block;
}

.header-menu li .sub-menu::after, .header-mob-btn::before, .header-mob-btn::after {
    content: "";
    display: block;
    position: absolute;
}

.header-search, .header-mob-btn {
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.header-logo img, .header-search label img {
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
    object-fit: contain;
    -o-object-position: center;
    object-position: center;
}


.products {
    overflow: hidden;
}


.contacts {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 3rem;
}

.txt-18 {
    font-size: 1.8rem;
}

.txt-16 {
    font-size: 1.6rem;
}

.txt-14 {
    font-size: 1.4rem;
}

p {
    color: #212121;
    font-size: 1.6rem;
    line-height: 1.5;
}

p a {
    color: #fbac34;
}

/* Ширина контейнера сайту — ОДНЕ місце (було 128rem). Лендінги мають свій .container 1155px. */
:root {
    --container-max: 144rem;
}

/* Місце під смугу прокрутки завжди зарезервоване: попапи (Magnific «Де купити?» тощо) ставлять html overflow:hidden →
   смуга зникала і вся сторінка розширювалась на ~15px (контент «стрибав»). margin-right від Magnific тоді не потрібен. */
html {
    scrollbar-gutter: stable;
    margin-right: 0 !important;
}

/* Власні попапи сайту (.pop: «Зв'язатися», «Стати партнером», вакансії, фармаконагляд, мапа продажів, вибір мови…) відкриваються
   jQuery fadeIn → inline display:block. Поки такий попап видно — фонова сторінка не прокручується; довгий вміст прокручується
   всередині самого попапа (overscroll-behavior не передає прокрутку сторінці). Попапи Magnific («Де купити?») блокують прокрутку самі. */
html:has(.pop[style*="display: block"]) {
    overflow: hidden;
}
.pop {
    overflow-y: auto;
    overscroll-behavior: contain;
}

.header .container {
    width: 100%;
    max-width: var(--container-max, 144rem);
    margin: 0 auto;
    padding: 0 2rem;
}

.headline-2 {
    font-size: 2.3rem;
    font-weight: normal;
}

.link {
    font-size: 1.6rem;
    line-height: 1.5;
}


.select-options, .header-menu li .sub-menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 999;
    margin: 0;
    padding: 0;
    list-style: none;
    background-color: #f2f2f2;
    -webkit-box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
    max-height: 30rem;
    overflow: auto;
    overflow-x: hidden;
}


.select-options::-webkit-scrollbar, .header-menu li .sub-menu::-webkit-scrollbar {
    background-color: rgba(0, 0, 0, 0.1);
    width: .4rem;
    overflow: visible;
}

.select-options::-webkit-scrollbar-thumb, .header-menu li .sub-menu::-webkit-scrollbar-thumb {
    background-color: #f7941e;
}

.select-options li, .header-menu li .sub-menu li {
    cursor: pointer;
    margin: 0;
    padding: 1.2rem 0 1.2rem 1.5rem;
    cursor: pointer;
    border-top: 0.1rem solid #e6e6e6;
    -webkit-transition: .15s ease-in;
    -o-transition: .15s ease-in;
    transition: .15s ease-in;
}

.select-options li:hover, .header-menu li .sub-menu li:hover {
    color: white;
    background: #f7941e;
}

.header {
    background-color: white;
    font-size: 1.6rem;
    position: fixed;
    top: 0;
    width: 100%;
    background-color: white;
    z-index: 10;
    -webkit-transition: -webkit-box-shadow .3s linear;
    transition: -webkit-box-shadow .3s linear;
    -o-transition: box-shadow .3s linear;
    transition: box-shadow .3s linear;
    transition: box-shadow .3s linear, -webkit-box-shadow .3s linear;
    max-width: 100vw;
}

.header-cont {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 1rem 0;
}

.header-logo {
    width: 13rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    height: 100%;
}


.header-logo a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.header-logo a img {
    vertical-align: middle;
    max-height: none;
    height: auto;
}

/* Відблиск на логотипі при наведенні (vishpha_header_logo_img() у functions.php).
   Світла смуга рухається фоном псевдоелемента, а маска з тим самим файлом логотипа лишає її видимою
   ЛИШЕ на самому логотипі — на кольоровому фоні (лендінги) навколо лого нічого не з'являється. */
.logo-shine {
    position: relative;
    display: inline-block;
    line-height: 0;
    /* ширина — з налаштування «розмір логотипа» (може бути > 100%, напр. 160%), не стискати у flex-шапці */
    -ms-flex-negative: 0;
        flex-shrink: 0;
}
.logo-shine img {
    display: block;
    width: 100%;
    height: auto;
}
.logo-shine::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    pointer-events: none;
    /* м'який відблиск (було .75 і вузька смуга 40–60% — надто різко) */
    background: linear-gradient(100deg, rgba(255,255,255,0) 35%, rgba(255,255,255,.4) 50%, rgba(255,255,255,0) 65%) no-repeat;
    background-size: 300% 100%;
    background-position: 100% 0;
    -webkit-mask: var(--logo-mask) center / 100% 100% no-repeat;
            mask: var(--logo-mask) center / 100% 100% no-repeat;
}
/* Лого ширше за .header-logo (розмір 160%) → права частина заходила під .header-full-menu і не ловила курсор.
   Піднімаємо блок лого над меню (лише десктоп: на мобільному меню відкривається поверх шапки). */
@media only screen and (min-width: 969px) {
    .header-logo {
        position: relative;
        z-index: 2;
    }
}
.header-logo a:hover .logo-shine::after {
    -webkit-animation: header-logo-shimmer 1.1s ease-in-out;
            animation: header-logo-shimmer 1.1s ease-in-out;
}
@-webkit-keyframes header-logo-shimmer {
    from { background-position: 100% 0; }
    to { background-position: 0 0; }
}
@keyframes header-logo-shimmer {
    from { background-position: 100% 0; }
    to { background-position: 0 0; }
}

.header-center {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin: 0 3.5rem 0 15rem;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}

.header-menu ul, .header-lang ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.header-menu ul li a, .header-menu ul li span, .header-lang ul li a, .header-lang ul li span {
    -webkit-transition: .2s linear;
    -o-transition: .2s linear;
    transition: .2s linear;
}

.header-menu ul li a:hover, .header-menu ul li span:hover, .header-lang ul li a:hover, .header-lang ul li span:hover {
    color: #f7941e;
}

.header-menu li:not(:last-child) {
    margin-right: 4rem;
}

.header-menu li a {
    padding: 2rem 0;
    display: block;
}

.header-menu li .sub-menu {
    display: block;
    
    
    -webkit-transition: .3s linear;
    -o-transition: .3s linear;
    transition: .3s linear;
    position: absolute;
    min-width: 30rem;
    top: 100% !important;
    margin-top: 10.5px !important;
    padding: 0 0 5px 0;
    margin-bottom: -10px;
    left: 0;
    background-color: white;
    -webkit-box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
    z-index: 100;
}


.header-menu li .sub-menu::after {
}

.header-menu li .sub-menu li {
    padding: 0;
    border-bottom: 1px solid rgba(247, 148, 30, 0.2);
}

.header-menu li .sub-menu li:last-child {
    border-bottom: none;
}

.header-menu li .sub-menu li::after {
}


.header-menu li .sub-menu li:hover {
    background-color: #fbac34;
}

.header-menu li .sub-menu li a {
    padding: 1.2rem 0 1.2rem 1.5rem;
    display: block;
}


.header-menu li .sub-menu li a:hover {
    color: black;
}


.header-search {
    background-color: white;
    right: 0;
}


.header-search input {
    margin-left: 2rem;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}

.header-search label {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 1.6rem;
    height: 1.6rem;
    font-family: 'Source Sans Pro', sans-serif;
    overflow: visible;
}


.header-search label img {
    cursor: pointer;
    width: 1.6rem;
    height: 1.6rem;
}

.header-lang ul li:not(:last-child) {
    margin-right: 1rem;
}


.header-lang ul li a {
}


/* Language Switcher Button - exact copy from pagination-btn */
.lang-current {
    position: relative;
}

.lang-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 45px !important;
    height: 45px !important;
    width: 45px !important;
    padding: 0 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    border-radius: 50% !important;
    background-color: transparent !important;
    border: 2px solid #f7941e !important;
    color: #f7941e !important;
    transition: all 0.3s ease !important;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    vertical-align: middle;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    font-family: inherit;
    text-align: center;
}

.lang-toggle::-moz-focus-inner {
    border: 0;
}

.lang-toggle span {
    display: block;
    line-height: 1;
    transform: translateY(1px);
    color: inherit;
}

.lang-toggle:hover {
    background-color: #f7941e !important;
    color: #fff !important;
}

.lang-dropdown {
    display: none !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border: 2px solid #f7941e;
    border-radius: 2.2rem;
    padding: 0.5rem 0.3rem 0.7rem;
    margin-top: 0.8rem;
    list-style: none;
    width: 45px;
    min-width: 45px;
    z-index: 1000;
    box-shadow: 0 8px 16px rgba(0,0,0,0.12);
    overflow: hidden;
}

.lang-current.active .lang-dropdown {
    display: block !important;
}

.lang-dropdown li {
    margin: 0;
    width: 100%;
}

.lang-dropdown li:not(:last-child) {
    margin-bottom: 0.5rem !important;
}

.lang-dropdown a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 0;
    text-decoration: none;
    text-transform: uppercase;
    color: #f7941e !important;
    font-weight: bold;
    transition: all 0.3s linear;
    text-align: center;
    line-height: 1;
    width: 100%;
    min-width: 100%;
    border-radius: 999px;
}

.lang-dropdown a:hover {
    color: #fff !important;
    background: #f7941e;
}

/* Поле пошуку в шапці: довгий плейсхолдер «Введіть назву препарату…» — трохи менший шрифт, «…» якщо не вміщається */
.header-search input {
    min-width: 0;
    text-overflow: ellipsis;
}
.header-search input::placeholder {
    font-size: 1.3rem;
    color: #8a8a8a;
    opacity: 1;
}

/* Результати пошуку в шапці (static/js/site-search.js) */
.header-search .select-options {
    max-height: 60vh;
    overflow-y: auto;
    background-color: #fff;
    border-radius: 0 0 .8rem .8rem;
    -webkit-box-shadow: 0 1rem 2.4rem rgba(0, 0, 0, 0.12);
            box-shadow: 0 1rem 2.4rem rgba(0, 0, 0, 0.12);
}
.header-search .select-options li {
    padding: 0;
}
.header-search .select-options li:hover {
    background-color: #f6fbf8;
}
.header-search .select-options li a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: baseline;
        -ms-flex-align: baseline;
            align-items: baseline;
    gap: 1.2rem;
    padding: 1.2rem 1.5rem;
    color: #343434;
    line-height: 1.35;
}
.header-search .select-options li a:hover {
    color: #f7941e;
}
.header-search .search-type {
    -ms-flex-negative: 0;
        flex-shrink: 0;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: #9a9a9a;
}
.header-search .search-empty {
    padding: 1.2rem 1.5rem;
    color: #8a8a8a;
}
