/*
 Theme Name:  Divi Child Theme Antibiotic
 Description:  Child Theme for Divi
 Author:       DEMA
 Template:     Divi

Theme Name: Divi Child Template
Version: 1.0
Description: A customized version of Divi which adds a number of tiny features you need.
Template: Divi
*/
@font-face {
    font-family: 'Montserrat';
    src: url('/wp-content/themes/Divi-Child-Theme/fonts/Montserrat-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/wp-content/themes/Divi-Child-Theme/fonts/Montserrat-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/wp-content/themes/Divi-Child-Theme/fonts/Montserrat-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/wp-content/themes/Divi-Child-Theme/fonts/Montserrat-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('/wp-content/themes/Divi-Child-Theme/fonts/Inter_24pt-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}


:root {
    --color-red: #B30838;
    --color-blue-dark: #1D3557;;
    --color-blue-light: #A8DADC;
    --color-gray-light: #F5F5F5;
    --color-red-dark: #670823;
    --color-black: #060C18;
    --color-white: #FFF;
    --font-heading: "Open Sans", sans-serif;
    --font-body: "Manrope", sans-serif;

    --size-14-10: clamp(10px, 1vw, 14px);
    --size-16-12: clamp(12px, 1vw, 16px);
    --size-18-14: clamp(14px, 1.1vw, 18px);
    --size-20-16: clamp(16px, 1.3vw, 20px);
    --size-24-18: clamp(18px, 1.3vw, 24px);
    --size-25-18: clamp(18px, 1.3vw, 25px);
    --size-32-24: clamp(24px, 2vw, 32px);
    --size-36-24: clamp(24px, 2.2vw, 36px);
    --size-40-26: clamp(26px, 2.4vw, 40px);
    --size-48-32: clamp(32px, 3vw, 48px);
    --size-60-40: clamp(40px, 4vw, 60px);
    --size-80-48: clamp(48px, 5vw, 80px);
    --size-96-64: clamp(64px, 6vw, 96px);
    --size-120-80: clamp(80px, 8vw, 120px);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading) !important;
    font-language-override: "en";
    color: var(--color-blue-dark);
    font-weight: 700;
    line-height: normal;
}

h1, h2 {
    font-size: var(--size-48-32);
}

body, p {
    font-family: var(--font-body);
    font-size: var(--size-18-14);
    font-weight: 400;
    color: var(--color-blue-dark);
    line-height: normal;
}

/* Chrome, Edge, Safari Scroll bar*/
::-webkit-scrollbar {
    width: 15px;
}

::-webkit-scrollbar-track {
    background: var(--color-white);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--color-red);
    border-radius: 10px;
    border: 2px solid var(--color-white);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-red-dark); /* slightly darker */
}

.ab-section {
    padding: var(--size-80-48) 0;
}

.ab-section-40 {
    padding: 40px 0;
}

.ab-section-20 {
    padding: 20px 0;
}

.ab-row {
    width: 90%;
    margin: 0 auto;
    max-width: 1920px;
    position: relative;
}

.et-db #et-boc .et-l .et_pb_row {
    width: 90%;
    max-width: 1920px;
}

.max-width-800 {
    max-width: 800px;
}

.max-width-900 {
    max-width: 900px;
}

.margin-0-auto {
    margin: 0 auto;
}

.bg-blue-dark {
    background-color: var(--color-blue-dark);
}

.textalign-center {
    text-align: center;
}

.alignitems-center {
    align-items: center;
}

.mb-20 {
    margin-bottom: 20px;
}

/*
================
HEADER STYLES
================
*/

#page-container {
    margin-top: 0 !important;
    background-color: var(--color-blue-dark);
}

.dm-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--color-gray-light) !important;
    z-index: 999;
    padding: 0;
    box-shadow: none !important;
}

.dm-header-inner {
    width: 90%;
    max-width: 1920px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--size-24-18);
}

.dm-header-right {
    display: flex;
    gap: var(--size-24-18);
    justify-content: center;
    align-items: center;
}

#main-header .dm-logo {
    /*flex-shrink: 0;*/
}

#main-header .dm-logo img:hover {
    transform: scale(1.05);
}

#main-header.et-fixed-header {
    background: rgba(245, 245, 245, 0.58) !important;
}

/*#main-header.et-fixed-header .dm-logo img {*/
/*    height: 60px;*/
/*}*/

#et-top-navigation {
    order: 3;
    padding-top: 0 !important;
}

.et_header_style_left #et-top-navigation .mobile_menu_bar {
    padding-bottom: 0 !important;
}

#main-header.et-fixed-header #et-top-navigation {
    padding-top: 15px;
}

.dm-logo img {
    display: block;
    /*height: 20px;*/
    width: auto;
}

#top-menu-nav {
    display: none;
}

#top-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    /*gap: 10px;*/
    align-items: center;
}

#top-menu li {
    padding-right: 0;
}

#top-menu > li > a {
    color: var(--color-black);
    text-decoration: none !important;
    font-size: var(--size-16-12);
    font-family: var(--font-heading), serif;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 600;

    padding-right: clamp(8px, 0.8vw, 22px) !important;
    padding-left: clamp(8px, 0.8vw, 22px) !important;
    padding-bottom: 50px !important;
    padding-top: 50px;
    text-align: center;
    min-width: 120px;
}

#top-menu > li.menu-item-has-children > a {
    padding-right: 20px !important;
}

#top-menu li.current-menu-ancestor > a {
    color: var(--color-blue-dark);
}

#top-menu li a:hover, #top-menu li.current-menu-item > a {
    color: var(--color-red) !important;
    background: var(--color-white);
    opacity: 1 !important;
}

#top-menu li li a {
    width: unset !important;
}

#top-menu > li {
    position: relative;
}

#top-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--color-black);
    padding: 12px 0;
    margin: 0;
    list-style: none;
    width: unset !important;
    display: none;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    border-top: unset !important;
}


#top-menu li:hover > .sub-menu {
    display: flex;
    flex-direction: column;
}

/* Sub-menu items */
#top-menu .sub-menu li {
    padding: 0;
}

#top-menu .sub-menu a {
    display: block;
    padding: 6px 20px;
    color: var(--color-white) !important;
    text-decoration: none;
    font-size: 14px;
    white-space: nowrap;
}

#top-menu .menu-item-has-children > a:first-child:after {
    right: 4px;
}

/*#top-menu .sub-menu a:hover {*/
/*    background: var(--bg-dark);*/
/*}*/

#top-menu > li.menu-item-has-children > a::after {
    font-family: 'ETmodules', serif;
    content: "3";
    position: absolute;
}

#mobile_menu li {
    margin: 5px 0;
}

.et_mobile_menu {
    border-top: none;
    max-height: calc(-96px + 100vh);
    overflow: hidden auto;
    padding: 0;
    border-radius: 0;
}

.et_mobile_menu .menu-item-has-children > a {
    background-color: unset;
}

.et_mobile_menu li a:hover, .nav ul li a:hover {
    opacity: 1;
    background-color: var(--color-white);
    color: var(--color-red);
}

.current_page_item > a, .current-menu-ancestor > a {
    opacity: 1;
    background-color: var(--color-white);
    color: var(--color-red) !important;
}

.dm-header-cta {
    display: none;
    order: 2;
    margin-left: auto;
}

.mobile_menu_bar:before {
    font-size: 50px;
    color: var(--color-white);
}

.mobile_nav.opened .mobile_menu_bar:before {
    content: "M";
}

/*.et_header_style_left .et-fixed-header #et-top-navigation nav > ul > li > a {*/
/*    padding-bottom: 40px !important;*/
/*    padding-top: 40px !important;*/
/*}*/

#top-menu .menu-item-has-children > a:first-child:after {
    top: 50%;
    transform: translate(0, -50%);
}

/*LANGAUGE SWITCH*/
.dm-language-switcher ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    border-radius: 8px;
    background: #D9D9D9;
    text-transform: uppercase;
}

.dm-language-switcher li {
    margin: 0;
    padding: 0;
    border-radius: 6px;
    background: #D9D9D9;
}

.dm-language-switcher li:not(.current-lang):hover {
    /*background: var(--color-white);*/
    transform: scale(1.1);
}

.dm-language-switcher a {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    font-weight: 500;
    line-height: 1;
}

.dm-language-switcher li.current-lang {
    background: var(--color-white);
    box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.16);
}

@media (min-width: 540px) {
    .dm-header-cta {
        display: block;
    }

}

@media (min-width: 981px) {
    .dm-header-cta {
        order: unset;
        margin-left: unset;
    }
}

@media (max-width: 1200px) {
    #et_mobile_nav_menu {
        display: block;
    }
}

@media (min-width: 1201px) {
    /*.dm-logo img {*/
    /*    height: 48px;*/
    /*}*/
    #top-menu-nav {
         display: block;
     }
    #main-header #et-top-navigation {
        order: unset;
    }
}

/*
=================
HEADER STYLES END
=================
*/
/*
=================
FOOTER STYLES
=================
*/
#main-footer {
    background: var(--color-blue-dark);
    color: var(--color-white);
    border-top: none;
    padding: 0;
}

#footer-top {
    width: 90%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 60px 0;
    display: flex;
    align-items: flex-start;
    gap: 40px;
    flex-direction: column;
}

#footer-top-right {
    width: 100%;
}

.footer-social a .logo-container {
    color: var(--color-white);
    font-size: var(--size-18-14);
    padding: 5px;
}

.footer-social a:hover .logo-container {

    color: var(--color-red);
}

#footer-logo {
    display: block;
    flex-shrink: 0;
}

.bottom-nav li {
    padding-right: 0 !important;
}

#et-footer-nav {
    background-color: transparent;
}

#et-footer-nav .container {
    margin: 0;
    padding: 0;
}

#main-footer .bottom-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: unset !important;
    flex-wrap: wrap;
}

#main-footer .bottom-nav > li {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0;
}

#main-footer .bottom-nav > li > a {
    display: block;
    font-weight: 400;
    font-size: var(--size-16-12);
    color: var(--color-white);
    text-decoration: none;
    text-transform: uppercase;
    width: 100%;
    padding: 5px 10px;
}

#main-footer .bottom-nav > li > a:hover {
    color: var(--color-red);
}

#main-footer .bottom-nav .sub-menu {
    position: static;
    display: block;
    background: none;
    box-shadow: none;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

#main-footer .bottom-nav .sub-menu li {
    display: flex;
    justify-content: space-between;
    margin: 0;
    border-bottom: 1px solid var(--color-white);
    align-items: center;
    position: relative;
}

#main-footer .bottom-nav .sub-menu li:hover {
    transform: translateY(-2px);
    transition: all 0.3s ease;
}


#main-footer .bottom-nav .sub-menu li + li {
    margin-top: 8px;
}

#main-footer .bottom-nav .sub-menu a {
    color: var(--color-white);
    font-size: var(--size-16-12);
    text-decoration: none;
    font-weight: 400;
}

#main-footer .bottom-nav .sub-menu a:hover {
    color: var(--color-red);
}

#footer-bottom {
    background: var(--color-white);
    color: var(--color-blue-dark);
    font-size: 12px;
    padding: 12px 0;
    text-align: center;
}

#footer-bottom .container {
    text-align: center;
}

.bottom-nav a:hover {
    opacity: 1;
}

@media (min-width: 768px) {

    #main-footer .bottom-nav {
        flex-direction: row;
        gap: var(--size-32-24);
        justify-content: center;
    }

    #main-footer .bottom-nav .sub-menu {
        width: unset;
    }

    #main-footer .bottom-nav .sub-menu li {
        border-bottom: none;
    }

    #main-footer .bottom-nav .sub-menu li::after {
        display: none;
    }
}

@media (min-width: 981px) {
    #footer-top {
        flex-direction: row;
        align-items: center;
        gap: 80px;
    }
}

/*
===================
FOOTER STYLES END
===================
*/
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 45px !important;
    border-radius: 8px !important;
    text-decoration: none;
    font-weight: 500 !important;
    z-index: 0;
    font-size: var(--size-16-12) !important;
    text-transform: uppercase;
    cursor: pointer;
}

.red-btn {
    background: var(--color-red);
    color: var(--color-gray-light);
}

.white-btn {
    background: transparent;
    color: var(--color-gray-light);
    border: 1px solid var(--color-white);
}

.btn.red-btn:hover {
    background: var(--color-red-dark);
    transform: scale(1.02);
}

.btn.white-btn:hover {
    background: var(--color-white);
    color: var(--color-blue-dark);
    transform: scale(1.02);
}

/* =============== HOME HERO SWIPER =============== */
.hero-slider {
    position: relative;
    height: 724px;
}

.heroSwiper,
.heroSwiper .swiper-slide {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover !important;
    background-position: center !important;
    transform: scale(1.02);
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(85deg, #060C18 -13.64%, rgba(6, 12, 24, 0.00) 142.19%);
}

.slide-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 10% 5%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: flex-end;
}

.slide-label.preheading {
    font-size: var(--size-36-24);
    /*margin-bottom: 14px;*/
    font-family: var(--font-heading);
    line-height: normal;
}

.slide-label,.slide-content h1.slide-label {
    /*display: inline-block;*/

    color: var(--color-red);
    font-weight: 700;
}

.slide-content h1,
.slide-content h2 {
    margin: 0 0 18px;
    line-height: 1.1;
    color: var(--color-white);
}

.slide-content p {
    margin: 0 0 28px;
    font-size: var(--size-18-14);
    line-height: normal;
    color: var(--color-white);
}

.hero-nav {
    position: absolute;
    left: 5%;
    bottom: 10%;
    z-index: 10;
    display: flex;
    gap: 12px;
    width: 100px;
}

.swiper-button-prev,
.swiper-button-next {
    position: static;
    width: 42px !important;
    height: 42px !important;
    margin: 0;
    border-radius: 50%;
    background: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.25s ease;
}

.swiper-button-next svg, .swiper-button-prev svg {
    width: 18px !important;
    color: var(--color-blue-dark);
}

.swiper-button-next:hover svg, .swiper-button-prev:hover svg {
    color: var(--color-white);
}

.swiper-button-prev {
    left: 0 !important;
    right: auto !important;
}

.swiper-button-next {
    right: 0 !important;
    left: auto !important;
}

.swiper-button-prev::after,
.swiper-button-next::after {
    content: "" !important;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: var(--color-red);
    transform: scale(1.1);
}

.swiper-button-prev:hover::after,
.swiper-button-next:hover::after {
    color: var(--color-white);
}

.hero-pagination {
    position: absolute !important;
    right: 5% !important;
    left: auto !important;
    bottom: 10% !important;
    width: auto !important;
    display: flex;
    gap: 8px;
}

.swiper-pagination-bullet {
    width: 19px !important;
    height: 19px !important;
    background: #D9D9D9 !important;
    opacity: 1 !important;
    border-radius: 999px;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet:hover {
    transform: scale(1.1);
}

.swiper-pagination-bullet-active {
    width: 42px !important;
    margin: 0 5px;
    background: var(--color-white) !important;
    border-radius: 50px !important;
}

/* =============== HOME HERO SWIPER END =========== */
/* ================ "Антибиотик-Разград накратко" ============ */
.about-highlight-section {
    position: relative;
    width: 100%;
    background: radial-gradient(ellipse 71% 700% at 85% 90%, #CEE9F8 0%, #FEFEFE 48%, #CEE9F8 100%);
    padding: 10% 5%;
    overflow: hidden;
}

.about-highlight-wrap {
    max-width: 350px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.about-highlight-card {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    border-radius: 45% / 20%;
    overflow: hidden;
    box-shadow: 0 25px 45px rgba(38, 57, 77, 0.18);
    background: transparent;
    gap: 15px;
}

.about-highlight-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.16);
    opacity: 0.4;
    width: 22%;
    z-index: 2;
    border-radius: 5% / 50%;
    left: 6%;
    height: 55%;
    top: 50%;
    transform: translatey(-50%);
}

.about-highlight-image {
    order: 2;
    position: relative;
    height: 340px;
}

.about-highlight-content {
    order: 1;
}

.about-highlight-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 0% 0% 40% 0% / 0% 50% 50% 0%;
    pointer-events: none;
    width: 85%;
}

.about-highlight-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-highlight-image .image-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 28%),
    linear-gradient(90deg, rgba(32, 34, 45, 0.45), rgba(32, 34, 45, 0.15));
}

.about-highlight-content {
    background: var(--color-red);
    display: flex;
    align-items: center;
}

.content-inner {
    position: relative;
    z-index: 2;
    padding: 100px 40px 40px 40px;
}

.about-highlight-content h2 {
    font-size: var(--size-36-24);
    color: var(--color-white);
}

.about-highlight-content p {
    font-size: var(--size-18-14);
    color: var(--color-white);
}

.molecule-left,
.molecule-right {
    position: absolute;
    top: 0;
    height: 100%;
    max-height: 100%;
    width: auto;
    pointer-events: none;
    opacity: 0.6;
    z-index: 0;
    aspect-ratio: auto;
    object-fit: contain;
}

.molecule-left {
    left: 0;
}

.molecule-right {
    right: 0;
}

@media (min-width: 768px) {
    .about-highlight-wrap {
        max-width: 1030px;
    }

    .about-highlight-card {
        flex-direction: row;
        border-radius: 20% / 50%;
    }

    .about-highlight-image,
    .about-highlight-content {
        width: 50%;
        position: relative;
        min-height: 340px;
    }

    .about-highlight-image {
        order: 1;
        height: unset;
    }

    .about-highlight-content {
        order: 2;
    }

    .content-inner {
        padding: 42px 30px;
    }

    .about-highlight-card::before {
        height: 22%;
        top: 6%;
        width: 75%;
        left: 50%;
        transform: translateX(-50%);
    }

    .about-highlight-image::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.35);
        border-radius: 20% 0% 0% 40% / 50% 0% 0% 50%;
        pointer-events: none;
        height: 85%;
        width: unset;
    }

    .about-highlight-content::before {
        content: "";
        position: absolute;
        inset: 0;
        background: #9B0C34;
        pointer-events: none;
    }

    .about-highlight-content::after {
        content: "";
        position: absolute;
        inset: 0;
        background: var(--color-red);
        border-radius: 0% 20% 40% 0% / 0% 50% 50% 0%;
        pointer-events: none;
        height: 85%;
    }

    .about-highlight-content h2 {
        margin-bottom: 20px;
        margin-right: 40px;
    }

    .about-highlight-content p {
        margin-bottom: 30px;
    }
}

/* ================ "Антибиотик-Разград накратко" END ========= */
/* ============== НАШИТЕ ПРОДУКТИ ============== */
.products-section {
    padding: 80px 0;
}

.products-inner {
    width: 90%;
    max-width: 1920px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: var(--size-96-64);
    align-items: center;
    flex-direction: column;
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.product-card {
    display: flex;
    flex-direction: column;
    min-height: 420px;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    background: var(--color-blue-dark);
    position: relative;
}

.product-card__image-wrap {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}

.product-card__image-wrap img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.product-card__image-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(-100deg, #060C18 -6.59%, rgba(6, 12, 24, 0.00) 115.76%);
    pointer-events: none;
}

.product-card__footer {
    position: absolute;
    inset: 0;
    z-index: 2;

    background: var(--color-blue-dark);
    padding: 20px;

    transform: translateY(calc(100% - 100px));
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease,
    background 0.45s ease,
    padding 0.5s;

    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    will-change: transform;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card__footer h3 {
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: var(--size-24-18);
    font-weight: 500;
    line-height: normal;
    text-transform: uppercase;
    margin: 0 0 18px;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    letter-spacing 0.35s ease;
}

.product-card__footer p {
    color: var(--color-white);
    margin: 0 0 20px;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.3s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card__footer .btn {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.3s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease;
}

.product-card:hover .product-card__footer {
    transform: translateY(0);
    padding: 60px 20px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 20px 50px rgba(8, 20, 45, 0.22);
}

.product-card:hover .product-card__footer h3 {
    letter-spacing: 0.01em;
}

.product-card:hover .product-card__footer p,
.product-card:hover .product-card__footer .btn {
    opacity: 1;
    transform: translateY(0);
}

.product-card:hover .product-card__footer p {
    transition-delay: 0.12s;
}

.product-card:hover .product-card__footer .btn {
    transition-delay: 0.18s;
}

@media (min-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 981px) {
    .products-inner {
        flex-direction: row;
    }
}


/* ============== НАШИТЕ ПРОДУКТИ END ========== */
/* ============== Производство ================ */
.prod-section {
    padding: 70px 0;
    overflow: hidden;
}

.prod-section__inner {
    width: 90%;
    max-width: 1920px;
    margin: 0 auto 20px auto;
}

.prod-section__top {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.prod-section__intro {
    padding-top: 20px;
    position: relative;
    z-index: 3;
    text-align: center;
}

.prod-section__intro h2 {
    margin: 0 0 20px;
}

.prod-section__intro p {
    margin: 0;
}

.prod-section__image-wrap {
    top: 0;
    right: 0;
    overflow: hidden;
    z-index: 1;
}

.prod-section__image-wrap img {
    border-radius: 20px;
}

.prod-section__cards {
    background: var(--color-gray-light);
    display: grid;
    /*grid-template-columns: 1;*/
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.prod-item-separator {
    position: absolute;
    width: 60%;
    height: 1px;
    background-color: #365E97;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.prod-item {
    min-height: 145px;
    padding: 34px 28px;
    display: flex;
    align-items: center;
    gap: 18px;
    position: relative;
    justify-content: flex-start;
    flex-direction: column;
}


.prod-item__icon {
    flex: 0 0 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prod-item__icon img {
    object-fit: contain;
}

.prod-item__title {
    font-size: var(--size-24-18);
    font-weight: 700;
    color: var(--color-blue-dark);
    text-align: center;
}

@media (min-width: 425px) {
    /*.prod-section__inner {*/
    /*    padding: 0 5%;*/
    /*}*/
    .prod-item-separator {
        width: 1px;
        height: 60%;
        background-color: var(--color-blue-dark);
        position: absolute;
        right: 0;
        top: 50%;
        left: unset;
        bottom: unset;
        transform: translateY(-50%);
    }

    .prod-section__cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .prod-section__image-wrap video {
        border-radius: 20px;
    }

    .prod-item:nth-child(2) .prod-item-separator, .prod-item:nth-child(4) .prod-item-separator {
        display: none;
    }
}

@media (min-width: 768px) {
    .prod-section__cards {
        grid-template-columns: repeat(3, 1fr);
    }

    .prod-item:nth-child(3) .prod-item-separator {
        display: none;
    }

    .prod-item:nth-child(2) .prod-item-separator, .prod-item:nth-child(4) .prod-item-separator {
        display: unset;
    }
}

@media (min-width: 1200px) {
    .prod-section__image-wrap {
        position: absolute;
        width: 47%;
    }

    .prod-section__inner {
        min-height: 500px;
        margin: 0 auto;
    }

    .prod-section__top {
        display: unset;
        flex-direction: row;
    }

    .prod-section__intro {
        max-width: 50%;
        text-align: left;
    }

    .prod-section__cards {
        position: absolute;
        z-index: 4;
        top: 50%;
        left: 0;
        min-width: 55%;
        max-width: 70%;
        border-radius: 0 18px 18px 18px;
        grid-template-columns: repeat(3, 1fr);
        padding: 0 2% 0 5%;
    }

    .prod-item {
        flex-direction: row;
    }

    .grid-item-2-col {
        grid-column: span 2;
    }

}

/* ============== Производство END ============ */
/* ============== Контактна Форма ============ */
.contact-form-section {
    height: 950px;
    padding: 80px 0 0 0;
    background: var(--color-red);
}

.contact-form-section .molecule-left, .contact-form-section .molecule-right {
    display: none;
}

.contact-form-wrapper {
    width: 950px;
    max-width: 90%;
    margin: 0 auto;
    background: var(--color-white);
    padding: 40px var(--size-48-32);
    position: relative;
}

.contact-form-wrapper h2 {
    font-size: var(--size-36-24);
    margin-bottom: 40px;
}

.contact-form-wrapper .fluentform .ff-el-input--label.ff-el-is-required.asterisk-right label:after {
    content: "*";
    margin-left: 1px;
    /*color: var(--color-blue-dark);*/
}

.contact-form-wrapper .ff-default .ff-el-form-control {
    border: 0;
    border-radius: 0;
    background: var(--color-gray-light);
    padding: 20px 15px;
}

.contact-form-btn {
    border: 0;
    cursor: pointer;
}

.contact-form-wrapper .fluentform .ff-el-group {
    margin-bottom: 40px;
}

.contact-form-wrapper .ff-default .ff-el-form-control {
    transition: transform 0.25s ease;
}

.contact-form-wrapper .ff-default .ff-el-form-control:focus {
    background-color: var(--color-gray-light);
    border: 1px solid;
    border-color: var(--color-blue-dark);
    color: var(--color-blue-dark);
    outline: none;
    transform: scale(1.05);
}

.contact-boxes {
    display: flex;
    flex-direction: column;
    width: 950px;
    margin: -105px auto 0 auto;
    max-width: 90%;
    padding-bottom: 20px;
}

.contact-box {
    padding: 40px 45px;
    position: relative;
    box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.16);
    background: var(--color-white);
}

.contact-box:last-child {
    border-radius: 0 0 29px 29px;
}

.contact-box h3 {
    margin-bottom: 25px;
    font-size: var(--size-18-14);
    font-weight: 700;
    color: var(--color-blue-dark);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
}

.contact-item .icon {
    font-size: 18px;
    color: var(--color-red-dark);
    line-height: 1;
    margin-top: 3px;
    width: 25px;
}

.contact-item p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-blue-dark);
}

.contact-item a {
    font-size: 16px;
    color: var(--color-blue-dark);
    text-decoration: underline;
}

.contact-item a:hover {
    opacity: 0.7;
}

@media (min-width: 768px) {
    .contact-form-section {
        height: 950px;
        background: radial-gradient(ellipse 71% 700% at 85% 90%, #CEE9F8 0%, #FEFEFE 48%, #CEE9F8 100%);
        padding: 80px 0;
    }

    .contact-form-wrapper {
        padding: 40px 60px;
    }

    .contact-form-section .molecule-left, .contact-form-section .molecule-right {
        display: unset;
    }

    .contact-boxes {
        margin: -50px auto 0 auto;
        display: grid;
        gap: 24px;
        grid-template-columns: repeat(2, 1fr);
        padding-bottom: 50px;
    }

    .contact-box:last-child {
        border-radius: 0;
    }

}

/* ============== Контактна Форма END ======== */
/*!* ============== Карта 2 ========== *!*/
/*#ab-markets {*/
/*    background: var(--color-blue-dark);*/
/*    padding: 40px 0 40px 0;*/
/*    min-height: 650px;*/
/*    width: 90%;*/
/*    max-width: 1920px;*/
/*    margin: 0 auto;*/
/*}*/
/*#ab-markets .ab-markets__inner {*/
/*    max-width: 1920px;*/
/*    margin: 0 auto;*/
/*    display: flex;*/
/*    justify-content: center;*/
/*    gap: 20px;*/
/*}*/
/*#ab-markets .ab-markets__left {*/
/*    color: var(--color-white);*/
/*    width: 50%;*/
/*}*/
/*#ab-markets .ab-markets__right {*/
/*    width: 50%;*/
/*}*/
/*#ab-markets .ab-markets__right svg {*/
/*    width: 100%;*/
/*    height: auto;*/
/*    display: block;*/
/*}*/
/*#ab-markets .ab-country-item {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    gap: 10px;*/
/*    color: var(--color-white);*/
/*    padding: 10px 8px;*/
/*    cursor: pointer;*/
/*    border-radius: 12px;*/
/*    position: relative;*/
/*    transition:*/
/*            color 0.25s ease,*/
/*            transform 0.25s ease,*/
/*            background-color 0.25s ease,*/
/*            box-shadow 0.25s ease,*/
/*            opacity 0.25s ease;*/
/*}*/
/*#ab-markets .ab-country-item::before {*/
/*    content: "";*/
/*    position: absolute;*/
/*    left: -8px;*/
/*    top: 50%;*/
/*    width: 3px;*/
/*    height: 0;*/
/*    border-radius: 999px;*/
/*    background: var(--color-red);*/
/*    transform: translateY(-50%);*/
/*    transition: height 0.25s ease;*/
/*}*/
/*#ab-markets .ab-country-item:hover,*/
/*#ab-markets .ab-country-item.is-hover {*/
/*    color: var(--color-red);*/
/*    transform: translateX(6px);*/
/*    opacity: 1;*/
/*    background: var(--color-white);*/
/*}*/
/*#ab-markets .ab-country-item:hover::before,*/
/*#ab-markets .ab-country-item.is-hover::before {*/
/*    height: 70%;*/
/*}*/
/*#ab-markets .ab-country-pin {*/
/*    width: 24px;*/
/*    height: 24px;*/
/*    object-fit: contain;*/
/*    flex: 0 0 24px;*/
/*    transition: transform 0.25s ease;*/
/*}*/
/*#ab-markets .ab-country-item:hover .ab-country-pin,*/
/*#ab-markets .ab-country-item.is-hover .ab-country-pin {*/
/*    transform: scale(1.08);*/
/*}*/
/*#ab-markets .ab-markets__right svg path.country {*/
/*    pointer-events: none;*/
/*    fill: #365E97;*/
/*    transform-box: fill-box;*/
/*    transform-origin: center;*/
/*    transition:*/
/*            fill 0.25s ease,*/
/*            stroke 0.25s ease,*/
/*            stroke-width 0.25s ease,*/
/*            opacity 0.25s ease,*/
/*            filter 0.25s ease;*/
/*}*/
/*#ab-markets .ab-markets__right svg path.country.is-market {*/
/*    fill: #A3A6A9;*/
/*    stroke: var(--color-blue-dark);*/
/*    stroke-width: 0.7;*/
/*    opacity: 0.9;*/
/*}*/
/*#ab-markets .ab-markets__right svg path.country.is-selected {*/
/*    fill: var(--color-white);*/
/*    pointer-events: auto;*/
/*    cursor: pointer;*/
/*    stroke: var(--color-blue-dark);*/
/*    stroke-width: 0.7;*/
/*    opacity: 1;*/
/*}*/
/*#ab-markets .ab-markets__right svg path.country.is-selected:hover,*/
/*#ab-markets .ab-markets__right svg path.country.is-highlight {*/
/*    fill: var(--color-red);*/
/*    stroke: var(--color-white);*/
/*    stroke-width: 1.2;*/
/*    filter: drop-shadow(0 0 6px rgba(209, 10, 75, 0.28));*/
/*}*/
/*#ab-markets .ab-markets__map {*/
/*    width: 100%;*/
/*    height: auto;*/
/*}*/
/*#ab-markets .ab-markets__title {*/
/*    margin: 0 0 16px;*/
/*    color: var(--color-white);*/
/*}*/
/*#ab-markets .ab-markets__text {*/
/*    margin: 0 0 34px;*/
/*    max-width: 540px;*/
/*    color: var(--color-white);*/
/*}*/
/*#ab-markets .ab-markets__content {*/
/*    display: flex;*/
/*    align-items: flex-start;*/
/*    gap: 42px;*/
/*}*/
/*#ab-markets .ab-markets__tabs {*/
/*    width: 195px;*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    gap: 12px;*/
/*}*/
/*#ab-markets .ab-region-btn {*/
/*    border: 0;*/
/*    background: transparent;*/
/*    color: var(--color-white);*/
/*    border-radius: 8px;*/
/*    padding: 10px 20px;*/
/*    text-align: left;*/
/*    font-size: var(--size-16-12);*/
/*    font-weight: 700;*/
/*    cursor: pointer;*/
/*    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;*/
/*    font-family: var(--font-heading);*/
/*}*/
/*#ab-markets .ab-region-btn:hover {*/
/*    background: rgba(255, 255, 255, 0.08);*/
/*}*/
/*#ab-markets .ab-region-btn.is-active {*/
/*    background: var(--color-red);*/
/*    color: var(--color-white);*/
/*}*/
/*#ab-markets .ab-markets__list {*/
/*    display: grid;*/
/*    grid-template-columns: repeat(2, minmax(180px, 1fr));*/
/*    gap: 14px 34px;*/
/*    flex-shrink: 0;*/
/*}*/
/*#ab-markets .ab-country-item {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    gap: 10px;*/
/*    color: var(--color-white);*/
/*    font-family: var(--font-heading);*/
/*    font-size: var(--size-16-12);*/
/*    line-height: 1.35;*/
/*    font-weight: 700;*/
/*    min-height: 22px;*/
/*}*/
/*#ab-markets .ab-country-item img {*/
/*    width: 15px;*/
/*}*/
/*#ab-markets .ab-country-flag {*/
/*    width: 18px;*/
/*    flex: 0 0 18px;*/
/*    text-align: center;*/
/*    font-size: 15px;*/
/*    line-height: 1;*/
/*}*/
/*@media (max-width: 1200px) {*/
/*    #ab-markets .ab-markets__inner {*/
/*        gap: 32px;*/
/*    }*/
/*    #ab-markets .ab-markets__title {*/
/*        font-size: 48px;*/
/*    }*/
/*    #ab-markets .ab-markets__content {*/
/*        gap: 28px;*/
/*    }*/
/*    #ab-markets .ab-markets__list {*/
/*        gap: 12px 22px;*/
/*    }*/
/*}*/
/*@media (max-width: 980px) {*/
/*    #ab-markets {*/
/*        padding: 32px 20px;*/
/*    }*/
/*    #ab-markets .ab-markets__inner {*/
/*        flex-direction: column;*/
/*        gap: 30px;*/
/*    }*/
/*    #ab-markets .ab-markets__left,*/
/*    #ab-markets .ab-markets__right {*/
/*        width: 100%;*/
/*    }*/
/*    #ab-markets .ab-markets__right {*/
/*        justify-content: center;*/
/*    }*/
/*    #ab-markets .ab-markets__map {*/
/*        max-width: 100%;*/
/*    }*/
/*    #ab-markets .ab-markets__title {*/
/*        font-size: 40px;*/
/*    }*/
/*    #ab-markets .ab-markets__content {*/
/*        flex-direction: column;*/
/*        gap: 22px;*/
/*    }*/
/*    #ab-markets .ab-markets__tabs {*/
/*        width: 100%;*/
/*        min-width: 100%;*/
/*        gap: 10px;*/
/*    }*/
/*}*/
/*@media (max-width: 400px) {*/
/*    #ab-markets .ab-markets__list {*/
/*        width: 100%;*/
/*        grid-template-columns: 1fr;*/
/*        gap: 10px;*/
/*    }*/
/*}*/
/*!* ============== Карта END ========== *!*/
/* ============== Карта 3 ========== */
#ab-markets {
    background: var(--color-blue-dark);
    padding: 40px 0 40px 0;
    min-height: 80vh;
    width: 90%;
    max-width: 1920px;
    margin: 0 auto;
}

#ab-markets button.ab-country-item {
    width: 100%;
    border: 0;
    background: transparent;
    text-align: left;
    font: inherit;
}

#ab-markets .ab-markets__inner {
    max-width: 1920px;
    min-height: 80vh;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 20px;
}

#ab-markets .ab-markets__left {
    color: var(--color-white);
    width: 50%;
}

#ab-markets .ab-markets__right {
    width: 50%;
}


#ab-markets .ab-markets__right svg {
    width: 100%;
    height: 100%;
    display: block;
}


#ab-markets .ab-country-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-white);
    padding: 10px 8px;
    cursor: pointer;
    border-radius: 12px;
    position: relative;
    transition: color 0.25s ease,
    transform 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease,
    opacity 0.25s ease;
}

#ab-markets .ab-country-item::before {
    content: "";
    position: absolute;
    left: -8px;
    top: 50%;
    width: 3px;
    height: 0;
    border-radius: 999px;
    background: var(--color-red);
    transform: translateY(-50%);
    transition: height 0.25s ease;
}

#ab-markets .ab-country-item:hover,
#ab-markets .ab-country-item.is-hover,
#ab-markets .ab-country-item.is-active-country {
    color: var(--color-red);
    transform: translateX(6px);
    opacity: 1;
    background: var(--color-white);
}

#ab-markets .ab-country-item:hover::before,
#ab-markets .ab-country-item.is-hover::before,
#ab-markets .ab-country-item.is-active-country::before {
    height: 70%;
}

#ab-markets .ab-country-pin {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex: 0 0 24px;
    transition: transform 0.25s ease;
}

#ab-markets .ab-country-item:hover .ab-country-pin,
#ab-markets .ab-country-item.is-hover .ab-country-pin {
    transform: scale(1.08);
}

#ab-markets .ab-markets__right svg path.country {
    pointer-events: none;
    fill: #365E97;
    transform-box: fill-box;
    transform-origin: center;
    transition: fill 0.25s ease,
    stroke 0.25s ease,
    stroke-width 0.25s ease,
    opacity 0.25s ease,
    filter 0.25s ease;
}

#ab-markets .ab-markets__right svg path.country.is-market {
    fill: #A3A6A9;
    stroke: var(--color-blue-dark);
    stroke-width: 0.7;
    opacity: 0.9;
}

#ab-markets .ab-markets__right svg path.country.is-selected {
    fill: var(--color-white);
    pointer-events: auto;
    cursor: pointer;
    stroke: var(--color-blue-dark);
    stroke-width: 0.7;
    opacity: 1;
}

#ab-markets .ab-markets__right svg path.country.is-selected:hover,
#ab-markets .ab-markets__right svg path.country.is-highlight {
    fill: var(--color-red);
    stroke: var(--color-white);
    stroke-width: 1.2;
    filter: drop-shadow(0 0 6px rgba(209, 10, 75, 0.28));
}

#ab-markets .ab-markets__map {
    width: 100%;
    height: auto;
}

#ab-markets .ab-markets__title {
    margin: 0 0 16px;
    color: var(--color-white);
}

#ab-markets .ab-markets__text {
    margin: 0 0 34px;
    max-width: 540px;
    color: var(--color-white);

}

#ab-markets .ab-markets__content {
    display: flex;
    align-items: flex-start;
    gap: 42px;
}

#ab-markets .ab-markets__tabs {
    width: 195px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#ab-markets .ab-region-btn {
    border: 0;
    background: transparent;
    color: var(--color-white);
    border-radius: 8px;
    padding: 10px 20px;
    text-align: left;
    font-size: var(--size-16-12);
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    font-family: var(--font-heading);
}

#ab-markets .ab-region-btn:hover {
    background: rgba(255, 255, 255, 0.08);
}

#ab-markets .ab-region-btn.is-active {
    background: var(--color-red);
    color: var(--color-white);
}

#ab-markets .ab-markets__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    gap: 14px 34px;
    flex-shrink: 0;
}

#ab-markets .ab-country-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: var(--size-16-12);
    line-height: 1.35;
    font-weight: 700;
    min-height: 22px;
}

#ab-markets .ab-country-item img {
    width: 15px;
}

#ab-markets .ab-country-flag {
    width: 18px;
    flex: 0 0 18px;
    text-align: center;
    font-size: 15px;
    line-height: 1;
}

/* ==========================
   MAP COUNTRY BASE
   ========================== */
#ab-markets .ab-markets__right {
    overflow: hidden;
}

#ab-markets .ab-markets__right svg {
    width: 100%;
    height: 100%;
    display: block;
    overflow: hidden;
}

#ab-markets .ab-markets__right svg path.country {
    pointer-events: none;

    fill: #365E97;

    stroke: rgba(255, 255, 255, 0.32);
    stroke-width: 0.7;

    /*
     * VERY IMPORTANT when using SVG viewBox zoom:
     * borders remain visually consistent instead of
     * becoming massively thick when zoomed in.
     */
    vector-effect: non-scaling-stroke;

    transition: fill 0.25s ease,
    stroke 0.25s ease,
    stroke-width 0.25s ease,
    opacity 0.25s ease,
    filter 0.25s ease;
}


/* All countries where Antibiotic has a market */
#ab-markets .ab-markets__right svg path.country.is-market {
    fill: #A3A6A9;
    stroke: var(--color-blue-dark);
    stroke-width: 0.7;
    opacity: 0.9;
}


/* Markets belonging to currently selected continent */
#ab-markets .ab-markets__right svg path.country.is-selected {
    fill: var(--color-white);

    pointer-events: auto;
    cursor: pointer;

    stroke: var(--color-blue-dark);
    stroke-width: 0.7;

    opacity: 1;
}


/* Temporary hover */
#ab-markets .ab-markets__right svg path.country.is-selected:hover,
#ab-markets .ab-markets__right svg path.country.is-highlight {
    fill: var(--color-red);
    stroke: var(--color-white);
    stroke-width: 1.2;

    filter: drop-shadow(
            0 0 6px rgba(209, 10, 75, 0.28)
    );
}


/* Country that was actually clicked */
#ab-markets .ab-markets__right svg path.country.is-active-country {
    fill: var(--color-red);
    stroke: var(--color-white);
    stroke-width: 1.3;

    filter: drop-shadow(
            0 0 7px rgba(209, 10, 75, 0.35)
    );
}

#ab-markets .ab-markets__right svg path.country.is-active-country {
    fill: var(--color-red);
    stroke: var(--color-white);
    stroke-width: 1.2;
    filter: drop-shadow(0 0 6px rgba(209, 10, 75, 0.28));
}

#ab-markets .ab-country-item.is-active-country {
    color: var(--color-red);
    transform: translateX(6px);
    background: var(--color-white);
}

#ab-markets .ab-country-item.is-active-country::before {
    height: 70%;
}

#ab-markets .ab-markets__right svg {
    cursor: grab;
    user-select: none;
}

#ab-markets .ab-markets__right svg.is-panning {
    cursor: grabbing;
}

#ab-markets .ab-markets__right {
    overscroll-behavior: contain;
}

@media (max-width: 1200px) {
    #ab-markets .ab-markets__inner {
        gap: 32px;
    }

    #ab-markets .ab-markets__title {
        font-size: 48px;
    }

    #ab-markets .ab-markets__content {
        gap: 28px;
    }

    #ab-markets .ab-markets__list {
        gap: 12px 22px;
    }
}

@media (max-width: 980px) {
    #ab-markets {
        padding: 32px 20px;
    }

    #ab-markets .ab-markets__inner {
        flex-direction: column;
        gap: 30px;
    }

    #ab-markets .ab-markets__left,
    #ab-markets .ab-markets__right {
        width: 100%;
    }

    #ab-markets .ab-markets__right {
        justify-content: center;
    }

    #ab-markets .ab-markets__map {
        max-width: 100%;
    }

    #ab-markets .ab-markets__title {
        font-size: 40px;
    }

    #ab-markets .ab-markets__content {
        flex-direction: column;
        gap: 22px;
    }

    #ab-markets .ab-markets__tabs {
        width: 100%;
        min-width: 100%;
        gap: 10px;
    }


}

@media (max-width: 400px) {
    #ab-markets .ab-markets__list {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

/* ============== Карта END ========== */
.ab-section.quality-hero {
    /*background-image: linear-gradient(102deg, #060C18 -11.43%, rgba(6, 12, 24, 0.00) 265.58%),*/
    /*url(/wp-content/uploads/quality-hero-new.webp);*/
    background-size: cover !important;
    background-position: center !important;
    min-height: 500px;
}
.quality-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}
.ab-section.quality-hero .preheading {
    text-align: center;
}

.ab-section.quality-hero h1,
.ab-section.quality-hero p {
    color: var(--color-white);
    text-align: center;
    margin-bottom: 20px;
}

.ab-section.quality-hero h1 {
    max-width: 940px;
}

.ab-section.quality-hero p {
    max-width: 700px;
}

.ab-section.quality-hero .ab-row {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.quality-50-50 img {
    width: 100%;
    border-radius: 20px;
}

/* ============  ABOUT HERO =============== */
.about-hero {
    background-image: url(/wp-content/uploads/about-hero-bg.webp);
    background-size: cover !important;
    background-position: center !important;
    padding: 80px 0;
}

.about-hero h1,
.about-hero p {
    color: var(--color-white);
    margin-bottom: 20px;
}

.about-hero-content {
    position: relative;
}

/* ============  ABOUT HERO END =========== */
/* ============  MISSION AND VALUES =============== */
.mission-values {
    padding: 80px 5%;
}

.mission-values__inner {
    max-width: 800px;
    margin: 0 auto;
}

.mission-values__title {
    text-align: center;
    margin: 0 0 32px;
}

.value-card {
    position: relative;
    display: flex;
    gap: 18px;
    align-items: center;
    flex-direction: column;
    margin-bottom: 60px;
}

.value-card__line {
    position: absolute;
    height: 2px;
    background: #000;
    display: none;
}

.value-card__frame {
    position: relative;
    padding: 10px 14px;
    flex-shrink: 0;
}

.value-card__media {
    overflow: hidden;
}

.value-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.value-card__content {
    text-align: center;
}

.value-card__content h3 {
    margin: 0 0 10px;
    font-size: var(--size-24-18);
    font-weight: 700;
}

.value-card__content p {
    margin: 0;
    font-size: var(--size-18-14);
    color: var(--color-black);
}

.value-card__frame {
    order: 2;
}

.value-card__content {
    order: 1;
}

.value-card__frame::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    border: 0;
}

.value-card--left .value-card__frame::before {
    left: 0;
    border-right: 0;
    border-radius: 999px 0 0 999px;
}

.value-card--right .value-card__frame::before {
    right: 0;
    border-left: 0;
    border-radius: 0 999px 999px 0;
}

.value-card--left .value-card__media {
    border-radius: 20px;
}

.value-card--right .value-card__media {
    border-radius: 20px;
}

.value-card:nth-child(1) .value-card__line {
    top: 0;
    left: 210px;
    right: 100px;
}

.value-card:nth-child(2) .value-card__frame {
    top: -2px;
}

.value-card:nth-child(2) .value-card__line {
    top: -1px;
    left: 210px;
    right: 210px;
    transform: translateY(-50%);
}

.value-card:nth-child(3) .value-card__frame {
    top: -4px;
}

.value-card:nth-child(3) .value-card__line {
    top: -3px;
    left: 210px;
    right: 210px;
    transform: translateY(-50%);
}

.value-card:nth-child(4) .value-card__frame {
    top: -6px;
}

.value-card:nth-child(4) .value-card__line:first-child {
    top: -5px;
    left: 210px;
    right: 210px;
    transform: translateY(-50%);
}

.value-card:nth-child(4) .value-card__line:last-child {
    bottom: 6px;
    left: 100px;
    right: 210px;
}

@media (min-width: 768px) {
    .value-card {
        flex-direction: row;
        margin-bottom: 0;
    }

    .value-card__content {
        max-width: 430px;
        text-align: unset;
        order: unset;
    }

    /*.value-card__line {*/
    /*    display: unset;*/
    /*}*/
    .value-card__frame {
        width: 50%;
        order: unset;
    }

    .value-card--right .value-card__frame {
        order: 2;
    }

    .value-card--right .value-card__content {
        order: 1;
    }

    .value-card__frame::before {
        border: 2px solid #000;
    }

    .value-card--right .value-card__media {
        border-radius: 0 999px 999px 0;
    }

    .value-card--left .value-card__media {
        border-radius: 999px 0 0 999px;
    }

    .value-card.value-card--left .value-card__content {
        padding-right: 10%;
    }

    .value-card.value-card--right .value-card__content {
        padding-left: 10%;
    }
}

/* ============  MISSION AND VALUES END =========== */
/* =========== СЕКЦИЯ ЕКИП =========== */
.team-section-custom {
    position: relative;
    width: 100%;
    background: var(--color-blue-dark);
    overflow: hidden;
    padding: 80px 5%;
}

.team-section-custom__inner {
    max-width: 1450px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.team-section-custom__title {
    margin: 0 0 48px;
    text-align: center;
    color: var(--color-white);
    font-size: var(--size-48-32);
    line-height: 1.1;
    font-weight: 700;
}


.team-section-custom__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.team-member-card {
    min-height: 90px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.team-member-card:not(:last-child) {
    border-bottom: 1px solid var(--color-white);
}

.team-member-card div {
    width: 60%;
}

.team-member-card h3 {
    margin: 0 0 10px;
    color: var(--color-white);
    font-size: var(--size-20-16);
    font-weight: 700;
}

.team-member-card p {
    margin: 0;
    color: var(--color-white);
    font-size: var(--size-16-12);
    font-weight: 400;
}

.team-section-custom__pattern {
    position: absolute;
    top: 0;
    width: 150px;
    height: 150px;
    z-index: 1;
    pointer-events: none;
    opacity: 0.95;
}

.team-section-custom .molecule-left {
    height: 250px;
    top: -100px;
    opacity: 1;
}

.team-section-custom .molecule-right {
    height: 250px;
    top: -100px;
    opacity: 1;
}

@media (min-width: 768px) {
    .team-section-custom__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 60px 40px;
    }

    .team-member-card {
        padding: 0 0 0 40px;
    }

    .team-member-card:not(:nth-child(2n+1)) {
        border-left: 1px solid var(--color-white);
    }

    .team-member-card:not(:last-child) {
        border-bottom: unset;
    }
}

@media (min-width: 981px) {

    .team-section-custom__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .team-member-card:not(:nth-child(4n+1)) {
        border-left: 1px solid var(--color-white);
    }

    .team-member-card {
        align-items: unset;
    }

    .team-member-card div {
        width: unset;
    }
}

/* =========== СЕКЦИЯ ЕКИП END ======= */
/* =========== СЕКЦИЯ СЕРТИФИКАТИ ========= */
.ab-section.certificates {
    background-color: var(--color-gray-light);
}

.ab-section.certificates .ab-row {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ab-section.certificates h2 {
    text-align: center;
    margin-bottom: 20px;
}

.ab-section.certificates p {
    text-align: center;
    max-width: 740px;
    margin-bottom: 40px;
}

.ab-section.certificates .certificates-logos {
    display: flex;
    gap: 32px;
    flex-direction: column;
    justify-content: center;
}

@media (min-width: 768px) {

    .ab-section.certificates .certificates-logos {
        flex-direction: row;
    }
}

.policies.ab-section {
    background-color: var(--color-gray-light);
}

.policies .ab-row h2 {
    margin: 0 0 38px;
    color: var(--color-blue-dark);
    text-align: center;
}

.policies-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    width: 100%;
}

.policies-grid a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    min-height: 140px;
    padding: 20px 22px;

    border: 1px solid #A7A9AC;
    background-color: transparent;

    color: var(--color-black);
    font-size: var(--size-18-14);
    line-height: 1.25;
    text-decoration: none;

    transition: background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}

/*.policies-grid a > span:first-child {*/
/*    max-width: 190px;*/
/*}*/
.policies-grid a:hover {
    border-color: var(--color-red);
    background-color: #E9E9E9;
}

.policy-icon {
    position: relative;
    width: 26px;
    height: 32px;
    flex: 0 0 26px;

    border: 2px solid var(--color-blue-dark);
    border-radius: 4px;

    transition: border-color 0.25s ease;
}

.certificates .policy-icon {
    border: 2px solid var(--color-red);
}

.policy-icon::before {
    content: "";
    position: absolute;
    top: -2px;
    right: -2px;

    width: 9px;
    height: 9px;

    background: linear-gradient(
            45deg,
            transparent 48%,
            var(--color-blue-dark) 49%,
            var(--color-blue-dark) 56%,
            transparent 57%
    );
}

.certificates .policy-icon::before {
    background: linear-gradient(
            45deg,
            transparent 48%,
            var(--color-red) 49%,
            var(--color-red-dark) 56%,
            transparent 57%
    );
}

.policy-icon::after {
    content: "↓";
    position: absolute;
    left: 50%;
    bottom: 2px;
    transform: translateX(-50%);

    color: var(--color-blue-dark);
    font-size: 20px;
    line-height: 1;

    transition: color 0.25s ease;
}

.certificates .policy-icon::after {
    color: var(--color-red);
}

.policies-grid a:hover .policy-icon {
    border-color: var(--color-red);
}

.certificates .policies-grid a:hover .policy-icon {
    border-color: var(--color-blue-dark);
}

.policies-grid a:hover .policy-icon::before {
    background: linear-gradient(
            45deg,
            transparent 48%,
            var(--color-red) 49%,
            var(--color-red-dark) 56%,
            transparent 57%
    );
}

.certificates .policies-grid a:hover .policy-icon::before {
    background: linear-gradient(
            45deg,
            transparent 48%,
            var(--color-blue-dark) 49%,
            var(--color-blue-dark) 56%,
            transparent 57%
    );
}

.policies-grid a:hover .policy-icon::after {
    color: var(--color-red-dark);
}

.certificates .policies-grid a:hover .policy-icon::after {
    color: var(--color-blue-dark);
}

@media (min-width: 768px) {
    .policies-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 981px) {
    .policies-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* =========== СЕКЦИЯ СЕРТИФИКАТИ END ===== */
/* =========== НОВИНИ ============= */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 48px;
    align-items: stretch;
}

.news-card {
    background: var(--color-white);
    border-radius: 24px;
    padding: 30px 20px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card__image-link {
    display: block;
    margin-bottom: 20px;
}

.news-card__image {
    display: block;
    width: 100%;
    height: 240px;
    object-fit: contain;
    border-radius: 20px;
}

.news-card__content {
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: flex-end;
}

.news-card__meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 18px;
}

.news-card__title {
    margin: 0;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 700;
}

.news-card__title a {
    color: var(--color-blue-dark);
    text-decoration: none;
}

.news-card__date {
    font-size: 14px;
    color: var(--color-blue-dark);
    white-space: nowrap;
    margin-top: 4px;
}

.news-card__excerpt {
    color: var(--color-blue-dark);
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 24px;
}

.news-pagination {
    margin-top: 40px;
    text-align: center;
}

.news-pagination .page-numbers {
    display: inline-block;
    margin: 0 6px;
    padding: 8px 12px;
    text-decoration: none;
}

@media (max-width: 980px) {
    .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px;
    }
}

@media (max-width: 767px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .news-card__image {
        height: 220px;
    }

    .news-card__meta {
        flex-direction: column;
        gap: 8px;
    }
}

/* =========== НОВИНИ END ========= */
/* =========== ПРОДУКТИ =========== */
.products-hero {
    background-image: url(/wp-content/uploads/products-hero-bg.webp);
    background-size: cover !important;
    background-position: center !important;
    padding: 80px 5%;
}

.products-hero .slide-overlay {
    background: rgba(0, 0, 0, 0.65);
}

.products-hero-content {
    position: relative;
    text-align: center;
}

.products-hero-content h1 {
    color: var(--color-white);
    margin-bottom: 20px;
}


.product-categories-menu .et_pb_row {
    max-width: unset;
}

.product-categories-menu .et_pb_menu__wrap {
    justify-content: center !important;
}

.et-db #et-boc .et-l ul#menu-product-categories, .et-db #et-boc .et-l ul#menu-product-categories-en {
    padding: 3px 0 !important;
    justify-content: center;
}

.et-db #et-boc .et-l ul#menu-product-categories li.menu-item,
.et-db #et-boc .et-l ul#menu-product-categories-en li.menu-item {
    margin-top: 0;
}


ul#menu-product-categories li.menu-item a,
ul#menu-product-categories-en li.menu-item a {
    color: var(--color-blue-dark);
    text-decoration: none !important;
    font-size: var(--size-16-12);
    font-family: var(--font-heading), serif;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 400;
    padding-right: clamp(8px, 1vw, 22px) !important;
    padding-left: clamp(8px, 1vw, 22px) !important;
    padding-bottom: 20px !important;
    padding-top: 20px;
    text-align: center;
}

ul#menu-product-categories li.menu-item a:hover, ul#menu-product-categories li.current-menu-item a,
ul#menu-product-categories-en li.menu-item a:hover, ul#menu-product-categories-en li.current-menu-item a {
    color: var(--color-gray-light) !important;
    background: var(--color-red);
    transform: scale(1.1);
    opacity: 1 !important;
    transition: all 0.4s ease-in-out;
}

@media (max-width: 980px) {

    /* hide desktop menu, show Divi mobile menu */
    .et-db #et-boc .et-l .product-categories-menu .et_pb_menu__menu {
        display: none !important;
    }

    .et-db #et-boc .et-l .product-categories-menu .et_mobile_nav_menu {
        display: block !important;
        width: 100%;
        margin: 0;
    }

    .product-categories-menu .mobile_nav {
        position: relative;
    }

    /* the trigger */
    .product-categories-menu .mobile_menu_bar {
        width: 100%;
        height: auto;
        padding: 18px 22px;
        border: 1px solid #d9d9d9;
        border-radius: 18px;
        background: #fff;
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: relative;
    }

    .et-db #et-boc .et-l .product-categories-menu .mobile_menu_bar:before {
        content: attr(data-menu-label) !important;
        position: static !important;
        font-family: var(--font-heading), serif !important;
        font-size: 18px !important;
        font-weight: 400 !important;
        color: var(--color-blue-dark) !important;
        text-shadow: none !important;
    }

    /* custom arrow */
    .product-categories-menu .mobile_menu_bar:after {
        content: "";
        width: 10px;
        height: 10px;
        border-right: 2px solid var(--color-blue-dark);
        border-bottom: 2px solid var(--color-blue-dark);
        transition: transform 0.25s ease;
        display: block;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%) rotate(45deg);

    }

    .product-categories-menu .mobile_nav.opened .mobile_menu_bar:after {
        transform: rotate(-135deg);
    }

    /* dropdown panel */
    .product-categories-menu ul.et_mobile_menu {
        border: 1px solid #d9d9d9 !important;
        border-top: none !important;
        border-radius: 0 0 18px 18px;
        margin-top: 8px;
        padding: 0 !important;
        background: #fff;
        box-shadow: none;
    }

    .product-categories-menu ul.et_mobile_menu li {
        padding: 0 !important;
    }

    .product-categories-menu ul.et_mobile_menu li a {
        padding: 16px 22px !important;
        border-bottom: 1px solid #ececec;
        font-family: var(--font-heading), serif;
        font-size: 16px;
        color: var(--color-blue-dark) !important;
        text-transform: none;
    }

    .product-categories-menu ul.et_mobile_menu li:last-child a {
        border-bottom: none;
    }

    .product-categories-menu ul.et_mobile_menu li a:hover,
    .product-categories-menu ul.et_mobile_menu li.current-menu-item a {
        background: var(--color-white) !important;
        color: var(--color-blue-dark) !important;
    }
}


.rx-warning-popup {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    justify-content: center;
    align-items: center;
}

.rx-warning-popup.is-visible {
    display: flex;
}

.rx-warning-popup__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.73);
}

.rx-warning-popup__dialog {
    position: relative;
    width: calc(100% - 32px);
    max-width: 820px;
    background: var(--color-white);
    padding: 40px;
    text-align: center;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.22);
    z-index: 2;
    margin-top: 70px;
}

.rx-warning-popup__close {
    position: absolute;
    top: 18px;
    right: 18px;
    border: 0;
    background: transparent;
    color: var(--color-blue-dark);
    cursor: pointer;
}

.rx-warning-popup__icon-wrap {
    margin-bottom: 14px;
}

.rx-warning-popup__icon {
    display: flex;
    justify-content: center;
}

.rx-warning-popup__title {
    margin: 0 0 14px;
    color: var(--color-blue-dark);
    font-size: var(--size-24-18);
}

.rx-warning-popup__text {
    max-width: 620px;
    margin: 0 auto 24px;
    color: var(--color-blue-dark);
}

.rx-warning-popup__text p {
    margin: 0 0 10px;
}

body.rx-popup-lock {
    overflow: hidden;
}


.dema-contract-products__header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
    margin-bottom: 24px;
    flex-direction: column;
}

.dema-contract-products__title {
    margin: 0;
    font-size: 36px;
    line-height: 1.2;
    color: var(--color-blue-dark);
}

.dema-contract-products__search-wrap {
    max-width: 340px;
    width: 100%;
}

.dema-contract-products__search {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border: 0;
    border-bottom: 1px solid #d9d9d9;
    background: transparent;
    font-size: 14px;
}

.dema-contract-products__table-wrap {
    overflow-x: auto;
}

.dema-contract-products__table {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-white);
}

.dema-contract-products__table th,
.dema-contract-products__table td {
    text-align: left;
    padding: 18px 18px;
    vertical-align: top;
}

.dema-contract-products__table th {
    font-size: var(--size-16-12);
    font-weight: 700;
    color: var(--color-blue-dark);
    background: var(--color-white);
}

.dema-contract-products__table tbody tr:nth-child(odd) {
    background: #F1F1F1;
}

.dema-contract-products__table td {
    font-size: var(--size-16-12);
    color: var(--color-black);
}


.dema-product-search-form {
    position: relative;
    max-width: 420px;
    margin: 0 auto;
}

.dema-product-search-input {
    width: 100%;
    height: 46px;
    padding: 0 16px 0 44px;
    border: 0;
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
    color: #333;
    outline: none;
}

.dema-product-search-input::placeholder {
    color: #666;
}

.dema-product-search-button {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    padding: 0;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    color: #1f325b;
}

@media (min-width: 768px) {
    .dema-contract-products__header {
        flex-direction: row;
    }
}

/* =========== ПРОДУКТИ END ======= */
/* =========== Лекарствена безопасност =========== */
.med-safety.ab-section {
    background-color: var(--color-blue-dark);
}


.med-safety h1 {
    font-size: var(--size-32-24);
    margin-bottom: 20px;
}

.med-safety p {
    font-size: var(--size-16-12);
    font-family: var(--font-heading);
}

.med-safety p:first-of-type {
    font-size: var(--size-24-18);
}

.med-safety h1, .med-safety p {
    color: var(--color-white);
    text-align: center;
}

.meds-safety-form.ab-section {
    background: radial-gradient(ellipse 71% 700% at 85% 90%, #CEE9F8 0%, #FEFEFE 48%, #CEE9F8 100%);
    position: relative;
}

.meds-safety-form .molecule-left, .meds-safety-form .molecule-right {
    height: 33%;
}

.meds-safety-form .molecule-left:nth-child(3),
.meds-safety-form .molecule-right:nth-child(4) {
    top: 33%;
}

.meds-safety-form .molecule-left:nth-child(5),
.meds-safety-form .molecule-right:nth-child(6) {
    top: 66%;
}

.meds-safety-form.ab-section .ab-row {
    background-color: var(--color-white);
    padding: 40px;
    width: 80%;
    max-width: 1080px;
}

.meds-safety-form .contact-form-wrapper h2 {
    font-size: var(--size-20-16);
    margin-bottom: 0;
}

.contact-form-wrapper .ff-el-form-check-radio {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--color-gray-light);
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
}

.contact-form-wrapper .ff-el-form-check-radio::before {
    content: "";

    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-blue-dark);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.2s ease;
}

.contact-form-wrapper .ff-el-form-check-radio:checked::before, .contact-form-wrapper .ff-el-form-check-checkbox:checked::before {
    transform: translate(-50%, -50%) scale(1);
}

.contact-form-wrapper .ff-el-form-check-radio:hover, .contact-form-wrapper .ff-el-form-check-checkbox:hover {
    transform: scale(1.1);
}

.contact-form-wrapper .ff-el-form-check-radio:focus, .contact-form-wrapper .ff-el-form-check-checkbox:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(24, 174, 232, 0.1);
}


/* CHECKBOX */
.contact-form-wrapper .ff-el-form-check-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 4px;
    background: var(--color-gray-light);
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
}

.contact-form-wrapper .ff-el-form-check-checkbox::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    border-radius: 2px;
    background: var(--color-blue-dark);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.2s ease;
}

.meds-safety-form .contact-form-wrapper .fluentform .ff-el-group {
    margin-bottom: 10px;
}

.meds-safety-form .vert-cent-txt-box {
    margin-top: -35px;
}

.meds-safety-form .contact-form-wrapper {
    width: unset;
    max-width: unset;
    margin: 0 auto;
    padding: 0;
}

@media (min-width: 768px) {

    .ff-el-input--content {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
    }

    .meds-safety-form .vert-cent-txt-box {
        height: 100%;
        margin-bottom: 0 !important;
        display: flex;
        align-items: center;
        margin-top: 0;
    }

    .meds-safety-form .contact-form-wrapper .fluentform .ff-el-group {
        margin-bottom: 40px;
    }

}

/* =========== Лекарствена безопасност END ======= */
.ab-section.manufacturing-hero {
    background-image: linear-gradient(
            87deg,
            #060c18 53.51%,
            rgba(6, 12, 24, 0) 103.04%
    ),
    url("/wp-content/uploads/manufacturing-hero.webp");

    background-size: 100% 100%,
    auto 100%;

    background-position: center,
    right center;

    background-repeat: no-repeat;
    background-color: #060c18;

    min-height: 520px;
}


.manufacturing-feature {
    padding: var(--size-80-48) 0;
}

.manufacturing-feature:nth-of-type(even) {
    background-color: var(--color-gray-light);
}

.manufacturing-feature ul {
    list-style-type: square;
}

.manufacturing-feature ul li {
    font-size: var(--size-18-14);
    margin-bottom: 10px;
}

.manufacturing-feature .ab-row, .about-mission .ab-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
    align-items: center;
}

.about-mission p {
    font-size: var(--size-24-18);
    font-style: italic;
    margin-bottom: 40px;
}

.about-mission ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-mission ul li {
    position: relative;
    padding-left: 50px;
    margin-bottom: 22px;
    font-size: var(--size-18-14);
}

.about-mission ul li:last-child {
    margin-bottom: 0;
}

.about-mission ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;

    width: 24px;
    height: 24px;

    background-image: url("/wp-content/uploads/check-circle.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.manufacturing-feature img, .about-mission img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1.45 / 1;
    object-fit: cover;
    border-radius: 12px;
}

.manufacturing-feature h2 {
    margin: 0 0 20px;
    color: var(--color-blue-dark);
}

.manufacturing-feature p {
    margin: 0;
}

.manufacturing-feature.reverse-m .manufacturing-feature__image, .about-mission.reverse-m .about-mission__image {
    order: 2;
}

.manufacturing-feature.reverse-m .manufacturing-feature__content, .about-mission.reverse-m .about-mission__content {
    order: 1;
}

@media (min-width: 768px) {
    .manufacturing-feature .ab-row, .about-mission .ab-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 70px;
    }

    .manufacturing-feature.reverse-m .manufacturing-feature__image, .about-mission.reverse-m .about-mission__image {
        order: 1;
    }

    .manufacturing-feature.reverse-m .manufacturing-feature__content, .about-mission.reverse-m .about-mission__content {
        order: 2;
    }
}

@media (min-width: 1200px) {
    .manufacturing-feature .ab-row {
        gap: 120px;
    }
}

.manufacturing-benefits {
    position: relative;
    overflow: hidden;
    background: url("/wp-content/uploads/rnd-bg.webp)") left center / cover no-repeat;
}

.manufacturing-benefits__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.manufacturing-benefit {
    min-height: 140px;
    padding: 28px 24px;

    background-color: #fff;
    border-radius: 12px;

    box-shadow: 0 5px 18px rgba(6, 12, 24, 0.12);

    color: var(--color-blue-dark);
}

.manufacturing-benefit__number {
    position: relative;

    display: inline-block;
    margin-bottom: 24px;

    color: var(--color-red);
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}

.manufacturing-benefit__number::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -9px;

    width: 24px;
    height: 1px;

    background-color: var(--color-red);
}

.manufacturing-benefit p {
    margin: 0;
    max-width: 260px;

    color: var(--color-blue-dark);
    font-size: var(--size-18-14);
    line-height: 1.25;
}

@media (min-width: 768px) {
    .manufacturing-benefits__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 32px;
    }
}

@media (min-width: 981px) {
    .manufacturing-benefits__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 22px 40px;
    }

    .manufacturing-benefit {
        min-height: 140px;
        padding: 48px 24px;
    }
}

.manufacturing-markets {
    background-color: #203d63;
    color: #fff;
}

.manufacturing-markets__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.manufacturing-markets__content {
}

.manufacturing-markets__content h2 {
    margin: 0 0 20px;
    color: var(--color-white);
}

.manufacturing-markets__content p {
    margin: 0;
    color: var(--color-white);
}

.manufacturing-markets__map {
    width: 100%;
    position: relative;
}

.manufacturing-markets__map svg {
    display: block;
    width: 100%;
    height: auto;
}

#manufacturing-markets-svg .country {
    color: #416b9f;
    transition: color 0.2s ease;
}

#manufacturing-markets-svg .country.is-market {
    color: var(--color-white);
    cursor: pointer;
    stroke: #0e0e0e;
}

#manufacturing-markets-svg .country.is-market:hover,
#manufacturing-markets-svg .country.is-hovered {
    color: var(--color-red);
}

.market-map {
    position: relative;
    width: 100%;
}

.market-map > svg {
    display: block;
    width: 100%;
    height: auto;
}

.market-map__pins {
    position: absolute;
    inset: 0;
    z-index: 2;

    display: block;
    width: 100%;
    height: 100%;

    object-fit: fill;
    pointer-events: none;
}

@media (min-width: 768px) {
    .manufacturing-markets__inner {
        grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.5fr);
        gap: 60px;
    }
}

@media (min-width: 1200px) {
    .manufacturing-markets__inner {
        gap: 90px;
    }
}

/* =========== R&D и производство ============ */
.rnd-hero {
    background-image: url(/wp-content/uploads/RD-Development.webp);
    background-size: cover !important;
    background-position: center !important;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.rnd-hero-content {
    position: relative;
}

.rnd-hero-content h1,
.rnd-hero-content h2,
.rnd-hero-content p {
    color: var(--color-white);
}
.rnd-hero-content p, .hero-slider p, .quality-hero p, .about-hero p {
    font-size: var(--size-20-16) !important;
}
.rnd-stats {
    display: grid;
    grid-template-columns: 1fr;
}

.rnd-stat {
    padding: 24px 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.45);
    text-align: center;
}

.rnd-stat:last-child {
    border-bottom: none;
}

.rnd-stat p {
    color: var(--color-white);
    margin: 0;
    line-height: 1.25;
}

.rnd-stat p.stat-num {
    font-size: var(--size-24-18);
    padding-bottom: 4px;
    font-weight: 700;
    font-family: var(--font-heading);
}


.rnd-process-title {
    margin: 0 0 60px;
    color: var(--color-blue-dark);
    font-weight: 700;
    text-align: center;
}

.rnd-process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px 16px;
}

.rnd-process-card {
    position: relative;
    background: var(--color-white);
    border-radius: 20px;
    padding: 80px 20px 40px;
    min-height: 280px;
    text-align: center;
}

.rnd-process-icon {
    position: absolute;
    top: -32px;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #BFDAFF;
    border: 6px solid #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.rnd-process-icon svg {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.rnd-process-number {
    display: inline-block;
    color: var(--color-red);
    font-weight: 700;
    font-size: var(--size-24-18);
    font-family: var(--font-heading);
    margin-bottom: 16px;
    border-bottom: 2px solid var(--color-red);
}

.rnd-process-card h3 {
    margin: 0 0 20px;
    color: var(--color-blue-dark);
    font-weight: 700;
    font-size: var(--size-24-18);
}

.rnd-process-card p {
    margin: 0;
    color: var(--color-blue-dark);
    line-height: 1.25;
}


.rnd-directions-title {
    text-align: center;
    margin-bottom: var(--size-48-32);
}

.rnd-directions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.rnd-direction-card {
    background: var(--color-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.16);

    padding: var(--size-16-12);
}

.rnd-direction-image img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    border-radius: 14px;
}

.rnd-direction-content {
    padding: 24px;
}

.rnd-direction-content h3 {
    margin-bottom: 16px;
}

.rnd-direction-content p {
    margin-bottom: 24px;
}

.rnd-last, .ab-section.pilot {
    background-image: url(/wp-content/uploads/rnd-last.webp);
    background-size: cover !important;
    background-position: center !important;
}

.ab-section.pilot {
    min-height: 550px;
    display: flex;
    align-items: center;
}

.ab-section.history {
    background-image: linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.64) -24.06%,
            rgba(0, 0, 0, 0.96) 51.52%,
            #000 99.72%
    ),
    url("/wp-content/uploads/history.webp");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.ab-section.history h2,
.ab-section.history p {
    color: var(--color-white);
}

.ab-section.research {
    background-image: url(/wp-content/uploads/rnd-bg.webp);
    background-size: cover !important;
}

.ab-section.research img {
    border-radius: 20px;
    width: 100%;
}

.cols-60-40 {
    display: flex;
    gap: var(--size-48-32);
    flex-direction: column;
}

.ab-section.research .cols-60-40, .ab-section.research .cols-50-50 {
    align-items: center;
}

.cols-50-50 {
    display: flex;
    gap: var(--size-48-32);
    flex-direction: column;
}

.reverse-m .ab-col-left {
    order: 2;
}

.reverse-m .ab-col-right {
    order: 1;
}

@media (min-width: 981px) {
    .reverse-m .ab-col-left {
        order: 1;
    }

    .reverse-m .ab-col-right {
        order: 2;
    }
}

.ab-section-40.map {
    background-color: var(--color-blue-dark);

}

.ab-section-40.map h2, .ab-section-40.map p {
    color: var(--color-white);
}

.ab-section-40.map .ab-row.cols-50-50 {
    align-items: center;
}

.rnd-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.rnd-info-card {
    border-radius: 16px;
    padding: var(--size-48-32);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.rnd-card-dark {
    background: var(--color-blue-dark);
    color: var(--color-white);
}

.rnd-card-light {
    background: var(--color-gray-light);
    color: var(--color-blue-dark);
    /*border: 2px solid var(--color-blue-dark);*/
}

.rnd-info-card h3 {
    margin: 0 0 28px;
    color: inherit;
}

.rnd-info-card h4 {
    margin: 24px 0 18px;
    color: inherit;
}

.rnd-info-card p {
    margin: 0 0 18px;
    color: inherit;
    line-height: 1.35;
}

.rnd-info-card img {
    width: 100%;
    display: block;
    border-radius: 12px;
    margin-top: 28px;
    object-fit: cover;
    height: 400px;
}

.rnd-check-list {
    list-style: none;
    list-style-type: none !important;
    padding: 0 !important;
    margin: 0;
}

.rnd-check-list li {
    position: relative;
    padding: 30px 0 30px 50px;
    line-height: 1.35;
}

.rnd-check-list li:last-child {
    border-bottom: none;
}

.rnd-check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--color-white);
    color: var(--color-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 17px;
}

.rnd-card-dark li {
    border-bottom: 1px solid var(--color-white);
}

.rnd-card-light li {
    border-bottom: 1px solid var(--color-blue-dark);
}

.rnd-check-list-dark li::before {
    background: var(--color-blue-dark);
    color: var(--color-white);
}

.rnd-quality-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.rnd-quality-card {
    background: var(--color-white);
    border-radius: 20px;
    padding: 32px 24px;
    box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.16);
}

.rnd-quality-card li {
    text-transform: capitalize;
}

.rnd-quality-card h3 {
    margin: 0 0 24px;
    color: var(--color-blue-dark);
}

.rnd-quality-card p {
    margin: 0 0 56px;
    color: var(--color-blue-dark);
    line-height: 1.35;
}

.rnd-quality-card h4 {
    margin: 0 0 20px;
    color: var(--color-blue-dark);
}

.rnd-quality-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rnd-quality-card li {
    position: relative;
    padding: 16px 0 16px 48px;
    border-bottom: 1px solid rgba(31, 59, 93, 0.25);
    color: var(--color-blue-dark);
    line-height: 1.3;
}

.rnd-quality-card li:last-child {
    border-bottom: none;
}

.rnd-quality-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 12px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-blue-dark);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}


@media (min-width: 768px) {
    .rnd-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .rnd-stat {
        border-bottom: 1px solid rgba(255, 255, 255, 0.45);
    }

    .rnd-stat:nth-child(odd) {
        border-right: 1px solid rgba(255, 255, 255, 0.45);
    }

    .rnd-stat:nth-last-child(-n+2) {
        border-bottom: none;
    }

    .rnd-direction-card {
        display: grid;
        grid-template-columns: 180px 1fr;
        align-items: center;
    }

    .rnd-direction-image img {
        height: 100%;
        min-height: 260px;
    }

    .rnd-direction-content {
        padding: 32px;
    }

    .rnd-process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rnd-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rnd-info-card {
        padding: 40px;
    }

    .rnd-quality-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 981px) {
    .rnd-stats {
        grid-template-columns: repeat(4, 1fr);
    }

    .rnd-stat {
        padding: 0 48px;
        border-bottom: none;
        border-right: 1px solid rgba(255, 255, 255, 0.45);
        text-align: unset;
    }

    .rnd-stat:last-child {
        border-right: none;
    }

    .rnd-directions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .rnd-direction-card {
        grid-template-columns: 34% 66%;
        min-height: 320px;
    }

    .rnd-direction-content {
        padding: 40px;
    }

    .rnd-process {
        padding: 80px 60px;
    }

    .rnd-process-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }

    .rnd-process-card {
        min-height: 298px;
        padding: 76px 22px 34px;
    }

    .cols-60-40 {
        flex-direction: row;
    }

    .cols-50-50 {
        flex-direction: row;
    }

    .cols-60-40 .ab-col-left {
        width: 60%;
    }

    .cols-60-40 .ab-col-right {
        width: 40%;
    }

    .cols-50-50 .ab-col-left, .cols-50-50 .ab-col-right {
        width: 50%;
    }

    .rnd-quality-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .rnd-quality-card {
        padding: 42px 32px;
    }
}

/* =========== R&D и производство END ======== */