header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;

    z-index: 105;

    -webkit-transition: all .2s;
    transition: all .2s;

    box-shadow: 0 7px 10px 0 rgba(162, 162, 162, 0.12),
    0 0 1px 0 rgba(144, 144, 144, 0.25);
}

header.fixed .logo img {
    height: 30px;
}

header.fixed .mega-menu {
    top: 58px;
}

header .inner {
    padding: 10px 0;
    background-color: #fff;
}

/* header logo */
header .logo {
    display: inline-block;
}

header .logo img {
    height: 32px;

    -webkit-transition: all .2s;
    transition: all .2s;
}

/* general nav */
nav {
    padding: 7px 0;
    background-color: #002664;
}

.general-nav {
    margin: 0;
    padding: 0;
}

.general-nav li {
    display: inline-block;
    margin: 0 5px;
}

.general-nav li a {
    color: #fff;
    font-weight: bold;
    display: block;
    padding: 10px 20px 8px 20px;
    text-transform: uppercase;
    border-radius: 24px;
}

.general-nav li a:hover, .general-nav li a:focus {
    background-color: #193b73;
}

.general-nav li a.link-promotions {
    color: #fff;
    background-color: #AA0C5B;
    border-radius: 24px;
}

.general-nav li a.link-promotions:hover {
    background-color: #ce0f69;
}

/* header categories */
.menu-all {
    position: relative;
    background-color: #fff;
    border-radius: 24px;
}

.menu-all.open {
    border-radius: 24px 24px 0 0;
}

.menu-all .link-all {
    color: #002664;
    font-weight: bold;
    display: block;
    padding: 10px 20px 8px 20px;
    text-transform: uppercase;
}

.menu-all .link-all img {
    height: 30px;
    margin: -10px 5px -10px 0;
    position: relative;
    top: -2px;
}

.categories {
    display: none;

    padding: 20px 0 20px 0;
    position: absolute;
    background-color: #fff;
    border-radius: 0 0 24px 24px;

    box-shadow: 0 4px 16px -4px rgba(0, 38, 100, 0.08);
}

.menu-all.open .categories {
    display: block;
}

.main-categories {
    margin: 0;
    padding: 0;
}

.main-categories > li {
    display: block;
}

.main-categories > li:hover .sub-menu {
    display: block;
    overflow: hidden;
    box-shadow: 0px 4px 16px -4px rgba(0, 38, 100, 0.08);
}

.main-categories > li > a {
    position: relative;
    color: #002664;
    padding: 10px 50px 10px 20px;
    display: block;
}

.main-categories > li > a:after {
    content: "";
    position: absolute;
    top: 50%;
    right: 20px;
    width: 14px;
    height: 15px;
    background: url(/build/images/link-arrow.60d04f5c.svg) center no-repeat;
    background-size: 14px;
    -webkit-transform: translate(0, -50%);
        -ms-transform: translate(0, -50%);
            transform: translate(0, -50%);
}

.main-categories > li > a:hover {
    background-color: #f8f9fa;
    /*font-weight: bold; - by design */
}

.main-categories .sub-menu {
    display: none;
    left: 90%;
    width: 1187px;
    position: absolute;
    top: 7px;
    padding: 23px 10px 0 40px;
    background-color: #F8F9FA;
    height: -webkit-calc(100% - 7px);
    height: calc(100% - 7px);
    border-radius: 0 0 24px 0;
    z-index: -5;
}

.menu-holder {
    padding: 0 0 20px 0;
    position: relative;
    overflow-y: scroll;
    overflow-x: hidden;
    height: -webkit-calc(100% - 70px);
    height: calc(100% - 70px);
}

/* subcategories */
.menu-list {
    margin: 0 0 15px 0;
    box-sizing: border-box;
    -webkit-column-break-inside: avoid;
       -moz-column-break-inside: avoid;
            break-inside: avoid;
}

.menu-list .menu-heading {
    color: #002664;
    font-weight: bold;
    margin: 0 0 15px 0;
}

.menu-list ul {
    padding: 0;
    margin: 0;
}

.menu-list ul li {
    display: block;
}

.menu-list ul li a {
    color: #4A4A49;
    display: block;
}

.menu-list ul li a:hover {
    color: #002664;
}

/* menu partners */
.menu-partners {
    background-color: #fff;
    position: -webkit-sticky;
    position: sticky;
    left: 0;
    bottom: 0;
}

.menu-partners .link {
    font-size: 12px;
    margin: 0 0 0 auto;
    display: table;
}

.menu-partners:before,
.menu-partners:after {
    content: "";
    width: 50px;
    height: 100%;
    position: absolute;
    top: 0;
    background-color: #fff;
}

.menu-partners:before {
    left: -50px;
}

.menu-partners:after {
    right: -50px;
}

/* categories layout */
.grid-container {
    -webkit-column-gap: 10px;
       -moz-column-gap: 10px;
            column-gap: 10px; /* Разстояние между колоните */
}

.grid-container.grid-col-4 {
    -webkit-column-count: 4;
       -moz-column-count: 4;
            column-count: 4; /* Брой колони */
}


/* SUP TOP */
.sup-top {
    text-align: center;
    background-color: #468513;
    padding: 5px 0;
    min-height: 31px;
}

.sup-top .sup-item {
    color: #ffffff;
    font-weight: bold;
    display: inline-block;
    position: relative;
    margin: 0 30px;
}

.sup-top .sup-item img {
    height: 20px;
    margin-right: 3px;
    position: relative;
    top: -1px;
    width: initial !important;
    display: inline-block !important;
}

.sup-top .sup-item:after {
    content: "";
    height: 15px;
    width: 2px;
    background-color: #fff;
    display: block;
    position: absolute;
    top: 4px;
    right: -33px;
}

.owl-sup-top.owl-carousel .owl-item {
    float: none;
    display: inline-block;
}

.owl-sup-top.owl-carousel .owl-item:last-of-type .sup-item:after {
    display: none;
}


/* SUB TOP */
.sub-top {
    padding: 5px 0;
    background-color: #EEF2F7;
}

.sub-top .sub-item:first-child {
    margin-left: 0;
}

.sub-top .sub-item:last-child {
    margin-right: 0;
}

.sub-top .sub-item {
    color: #002664;
    font-size: 12px;
    display: inline-block;
    margin: 0 10px;
    position: relative;
}

.pharm-badge {
    font-size: 8px;
    line-height: 12px;
    background-color: #AA0C5B;
    color: #fff;
    padding: 3px 8px;
    border-radius: 22px;
    text-transform: uppercase;
    position: absolute;
    top: -20px;
    left: 28px;
    border: 3px solid #EEF2F7;
}

.sub-top .sub-item img {
    height: 20px;
    margin-right: 3px;
    position: relative;
    top: -1px;
}

.sub-top .sub-item a {
    color: #002664;
}

.sub-top .sub-item a:hover {
    opacity: .8;
    text-decoration: none;
}

.sub-top-nav {
    display: block;
    width: 100%;
    text-align: right;
}

.sub-top-nav ul {
    margin: 0;
    padding: 0;
}

.sub-top-nav ul li {
    display: inline-block;
    margin: 0 10px;
}

.sub-top-nav ul li a {
    display: block;
}


/* SOCIALS */
.social ul {
    margin: 0;
    padding: 0;
}

.social ul li {
    display: inline-block;
    margin: 0 5px;
}

.social ul li a {
    color: #002664;
}

.social ul li a:hover {
    opacity: .8;
}


/* PHONE */
.phone a {
    color: #002664;
}

.phone a:hover {
    text-decoration: underline;
}


/* DELIVERY HINT */
.delivery-hint {
    background-color: #e30613;
    padding: 8px 0;
    text-align: center;
    color: white;
}

.delivery-hint span {
    margin: 0 10px;
}


/* SEARCH */
.search {
    position: relative;
}

.search.open {
    display: block;
}

.search-overlay {
    background-color: #000000;
    opacity: 0;
    z-index: -1;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: none;
}

.search-show .search {
    z-index: 111;
}

.search-show .search-overlay {
    opacity: .3;
    z-index: 110;
    display: block;
}

.search-show .search input[type=text] {
    border-top-color: transparent;
    border-right-color: transparent;
    border-left-color: transparent;
    border-bottom-color: #ddd;
    border-radius: 24px;
    background-color: white !important;
}

.search-show .search input[type=text]:focus-visible {
    outline-offset: -1px;
}

.search input[type=text] {
    padding: 10px 50px 10px 15px;
    width: 100%;
    border: 1px solid #002664;
    border-radius: 32px;
}

.search input[type=text]::-webkit-input-placeholder {
    color: #002664;
}

.search input[type=text]::-moz-placeholder {
    color: #002664;
}

.search input[type=text]:-ms-input-placeholder {
    color: #002664;
}

.search input[type=text]::-ms-input-placeholder {
    color: #002664;
}

.search input[type=text]::placeholder {
    color: #002664;
}

.search button {
    background-color: transparent;
    border: 0;

    position: absolute;
    right: 20px;
    top: 10px;
}

.search button img {
    height: 24px;
}

.search .search-categories {
    margin: 0 0 30px 0;
}

.search .search-categories:last-of-type {
    margin: 0;
}

.search .search-categories h3 {
    color: #002664;
    font-weight: bold;
    margin: 0 0 15px 0;
}

.search .search-categories ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.search .search-categories ul li {
    margin: 10px 0;
}

.search .search-categories ul li a {
    color: #002664;
    display: block;
}

.search .search-results {
    position: relative;
    overflow-y: scroll;
    max-height: 400px;
    height: 100%;
}

.search .search-container {
    position: absolute;
    top: 0;
    padding: 60px 20px 50px 20px;
    border-radius: 24px;
    background-color: #fff;
    width: 100%;
    max-height: 550px;
    z-index: -1;
    overflow: hidden;
}

.search .search-container .btn {
    margin: 20px auto 0 auto;
    display: table;
}

.search .search-results .result-row {
    color: #002664;
    border-top: 0;
    text-align: left;
    overflow: hidden;
    margin: 0 0 15px 0;
}

.search .search-results .result-row:last-of-type {
    border-bottom: 0;
    margin: 0;
}

.search .search-results .result-row .product-title {
    color: #002664;
    margin: 0 0 3px 0;
    display: block;
}

.search .search-results .result-row .out-stock {
    font-size: 12px;
    color: #B3261E;
    position: relative;
    left: -4px;
    margin: 0 0 3px 0;
}

.search .search-results .result-row .out-stock img {
    height: 16px;
    position: relative;
    top: -1px;
}

.search .search-results .result-row .product-prices .price,
.search .search-results .result-row .product-prices .new-price,
.search .search-results .result-row .product-prices .old-price {
    display: inline-block;
}

.search .search-results .result-row .product-prices .price,
.search .search-results .result-row .product-prices .new-price {
    font-weight: bold;
}

.search .search-results .result-row .product-prices .new-price {
    color: #AA0C5B;
}

.search .search-results .result-row .product-prices .new-price.price-edlp {
    color: #FF7900;
}

.search .search-results .result-row .product-prices .price {
    color: #002664;
}

.search .search-results .result-row .product-prices .new-price .val-currency ,
.search .search-results .result-row .product-prices .price .val-currency {
    font-size: 12px;
}

.search .search-results .result-row .product-prices .old-price {
    color: #767676;
    font-weight: lighter;
    margin: 0 15px 0 0;
    position: relative;
}

.search .search-results .result-row .product-prices .old-price .val-currency {
    font-size: 12px;
}

.search .search-results .result-row .product-prices .old-price:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    -webkit-transform: translate(0, -50%);
        -ms-transform: translate(0, -50%);
            transform: translate(0, -50%);
    width: 100%;
    height: 0.1px;
    background-color: #808080;
}

.search .search-results .result-row .product-title:hover {
    color: #002664;
}

.search .no-results {
    height: 100%;
    display: -webkit-box;
    display: flex;
    align-content: center;
    -webkit-box-pack: center;
            justify-content: center;
    -webkit-box-align: center;
            align-items: center;
    flex-wrap: wrap;
}

.search .no-results span {
    color: #002664;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    display: block;
    width: 100%;
}

.search .no-results .no-results-img {
    height: 100px;
    display: block;
}

.spinner-border {
    color: #002664;
}


/* MOBILE MENU */
.m-nav {
    position: fixed;
    top: 0;
    left: -100%; /* Initially hidden */
    width: 100%;
    height: 100%;
    color: #fff;
    overflow: hidden;
    overflow-y: auto; /* Enable scrolling for content */
    -webkit-transition: left 0.3s ease-in-out;
    transition: left 0.3s ease-in-out;
    z-index: 999;
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
            flex-direction: column;
    background-color: #fff;
}

body.m-menu-open {
    overflow: hidden;
}

body.m-menu-open .m-nav {
    left: 0; /* Slide in */
}

.m-nav .menu-partners {
    position: initial;
    bottom: initial;
}

.m-nav .menu-partners .slider {
    width: 1500px
}

.m-logo img {
    height: 30px;
}

.m-nav-foot {
    padding: 15px 15px;
    border-top: 2px solid #002664;
    background-color: #fff;
    position: -webkit-sticky;
    position: sticky;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 5;
}

.m-nav-head {
    padding: 15px 15px;
    border-bottom: 2px solid #002664;
    background-color: #fff;
    position: -webkit-sticky;
    position: sticky;
    top: -5px;
    left: 0;
    width: 100%;
    z-index: 5;
}

.m-nav-head .btn-m-menu {
    margin: 0 0 0 auto;
    display: table;
}

.m-general-nav {
    padding: 0 15px;
}

.m-general-nav > ul {
    margin: 0;
    padding: 0;
}

.m-general-nav > ul > li {
    margin: 10px 0;
}

.m-general-nav > ul > li > a {
    color: #002664;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    background-color: #EEF2F7;
    padding: 20px;
    display: block;
    border-radius: 12px;
    text-transform: uppercase;
}

.m-general-nav > ul > li.m-promotions > a {
    color: #AA0C5B;
}

.m-general-nav > ul > li > a img {
    margin-right: 10px;
    position: relative;
    top: -2px;
}

.m-categories,
.m-general-items {
    -webkit-box-flex: 1;
            flex-grow: 1; /* Optional: Flex to fill remaining space */
}

.m-general-items li {
    position: relative;
}

.m-general-items li .pharm-badge {
    position: inherit;
    top: inherit;
    left: inherit;
}

.m-categories .headings .heading {
    padding: 0 15px;
}

.m-categories .headings .heading:last-child {
    margin: 20px 0 10px 0;
    text-align: left;
}

.m-categories > ul {
    margin: 0;
    padding: 0;
}

.m-categories > ul > li {
    display: block;
}

.m-categories ul li a {
    color: #002664;
}

.m-categories > ul > li > a {
    display: block;
    padding: 20px;
    border-bottom: 1px solid #DADADA;
}

.m-general-items {
    background-color: #eef2f7;
    padding: 20px 15px 0;
}

.m-general-items ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.m-general-items li a {
    padding: 5px 0;
    display: block;
    text-decoration: underline;
}

.m-general-items li a img {
    margin-right: 5px;
}

.m-socials {
    background-color: #eef2f7;
    padding: 10px 15px 20px;
}

.m-socials ul {
    margin: 0;
    padding: 0;
}

.m-socials li {
    display: inline-block;
    margin-right: 15px;
}

.m-socials li a {
    color: #002664;
    font-size: 18px;
}

.nav-children {
    position: fixed;
    top: 57px;
    left: 100%;
    width: 100%;
    height: -webkit-calc(100% - 125px);
    height: calc(100% - 125px);
    color: #fff;
    background-color: #fff;
    margin: 0;
    padding: 0;

    overflow-y: auto;
    z-index: 999;
    -webkit-transition: left 0.3s ease-in-out;
    transition: left 0.3s ease-in-out;
}

.nav-children li {
    display: block;
}

.nav-children li > a {
    display: block;
    padding: 20px;
    border-bottom: 1px solid #DADADA;
}

a.category-link {
    position: relative;
}

a.category-link:after {
    content: "";
    background: url(/build/images/arrow_forward_ios.d6cf06a2.svg) center no-repeat;
    width: 30px;
    height: 100%;
    display: block;
    position: absolute;
    top: 50%;
    right: 0;
    -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
}

.show-all,
.parent-category {
    color: #002664;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
}

.nav-children li.parent-category {
    position: relative;
}

.nav-children li > a.parent-category {
    padding: 20px 20px 20px 45px;
    position: relative;
}

.parent-category img {
    height: 18px;
    position: absolute;
    top: 50%;
    left: 15px;
    -webkit-transform: translate(0, -50%);
        -ms-transform: translate(0, -50%);
            transform: translate(0, -50%);
}

.user-widgets .widget-item a {
    display: block;
}

.user-widgets .widget-item a:hover, .user-widgets .widget-item a:focus {
    opacity: .8;
}

.btn-m-menu {
    outline: none;
    border: 0;
    background-color: transparent;
    position: relative;
    top: 3px;
}

/* mobile search */
.m-search {
    padding: 10px 15px;
    background-color: #002664;
}

.add-product-alert {
    display: none;
}

.added-to-cart .add-product-alert {
    display: block;
}

.add-product-alert {
    color: #fff;
    background-color: #58A618;
    padding: 18px 15px;
    opacity: .9;
    position: absolute;
    width: 100%;
}

.copy-to-clipboard-alert {
    display: none;
}

.copied-to-clipboard .copy-to-clipboard-alert {
    display: block;
}

.copy-to-clipboard-alert {
    color: #fff;
    background-color: #58A618;
    padding: 18px 15px;
    opacity: .9;
    position: absolute;
    width: 100%;
}

.add-product-alert button {
    background-color: transparent;
    border: 0;
    outline: none;
}


/* MOBILE */
@media only screen and (min-width: 1200px) and (max-width: 3000px) {
    .owl-sup-top .owl-item {
        width: auto !important;
    }
}

@media only screen and (min-width: 1400px) and (max-width: 1919px) {
    .search .search-results .result-row .product-prices .new-price .val-currency ,
    .search .search-results .result-row .product-prices .price .val-currency {
        font-size: 10px;
    }

    .search .search-results .result-row .product-prices .old-price .val-currency {
        font-size: 10px;
    }
}

@media only screen and (min-width: 1200px) and (max-width: 1400px) {
    .search .search-results .result-row .product-prices .new-price .val-currency ,
    .search .search-results .result-row .product-prices .price .val-currency {
        font-size: 12px;
    }

    .search .search-results .result-row .product-prices .old-price .val-currency {
        font-size: 12px;
    }
}

@media only screen and (min-width: 1200px) and (max-width: 1600px) {

    .menu-partners .link {
        font-size: 10px;
    }

    .main-categories > li > a {
        padding: 5px 50px 5px 20px;
    }

    .menu-list .menu-heading {
        margin: 0 0 5px 0;
    }

    .general-nav li a {
        padding: 10px 15px 8px;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1200px) {
    .general-nav li {
        margin: 0;
    }

    .general-nav li a {
        font-size: 12px;
        padding: 10px 10px 8px 10px;
    }

    .sup-top .sup-item:after {
        display: none;
    }

}

@media only screen and (min-width: 767px) and (max-width: 991px) {
    .search .search-results .result-row .product-prices .old-price .val-currency {
        font-size: 12px;
    }

    .grid-container.grid-col-4 {
        -webkit-column-count: 3;
        -moz-column-count: 3;
        column-count: 3;
    }

    .sup-top .sup-item:after {
        display: none;
    }

    header {
        padding: 0;
    }

    header nav {
        display: none;
    }

    header.fixed {
        padding: 5px 0 5px 0;
    }

    header .logo img {
        height: 32px;
    }

    .user-widgets .widget-item .icn {
        height: 34px;
    }

    .user-widget .user-nav .icn {
        height: 20px;
    }


    .cart-holder {
        width: 50%;
    }

    .search .search-container .btn {
        margin: 20px auto 0 auto;
        position: -webkit-sticky;
        position: sticky;
        bottom: 0;
    }

    .search .search-results .result-row {
        margin: 10px 0;
    }

    .search .search-results .result-row img {
        height: 50px;
    }

    .search .search-container {
        padding: 50px 10px 15px 10px;
        max-height: 100vh;
    }

    .search .search-results .result-row .product-prices {
        margin-top: 0;
    }

    .search .search-results .result-row .product-prices .out-stock {
        margin-right: 10px;
    }

    .search .search-results .result-row .product-prices .old-price {
        margin-right: 10px;
    }

    .search .search-results .result-row .product-prices .out-stock,
    .search .search-results .result-row .product-prices .price,
    .search .search-results .result-row .product-prices .new-price,
    .search .search-results .result-row .product-prices .old-price {
        display: inline-block;
    }
}

@media only screen and (min-width: 0px) and (max-width: 767px) {
    .search .search-results .result-row .product-prices .new-price .val-currency ,
    .search .search-results .result-row .product-prices .price .val-currency {
        font-size: 12px;
    }

    .search .search-results .result-row .product-prices .old-price .val-currency {
        font-size: 12px;
    }

    .search .search-categories h3 {
        margin: 0 0 5px 0;
    }

    .search .no-results {
        padding: 30px 0;
    }

    .search .search-results {
        position: relative;
        overflow-y: scroll;
        height: 100%;
    }

    .search .search-results .result-row {
        padding: 5px 0;
    }

    .search .search-results .result-row a {
        display: block;
    }

    .search .search-results .result-row img {
        /*height: 50px;*/
    }

    .search .search-results .result-row {
        margin: 5px 0;
    }

    .search .search-container .btn {
        margin: 20px auto 0 auto;
        position: -webkit-sticky;
        position: sticky;
        bottom: 0;
    }


    .grid-container.grid-col-4 {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
    }


    .m-nav .slider-wrapper {
        padding: 0;
    }

    .m-nav .slider .slide {
        padding: 0 10px !important;
    }


    header .inner {
        padding: 10px 0;
    }

    header nav {
        display: none;
    }


    .sup-top .sup-item {
        margin: 0;
        font-size: 10px;
        font-weight: normal;
    }

    .search .search-container {
        padding: 50px 10px 15px 10px;
        max-height: 100vh;
    }

    .sup-top .sup-item:after {
        display: none;
    }


    .user-widget .user-nav {
        top: 36px;
        right: 0;
    }

    .user-widgets .widget-item .cart-sum {
        display: none;
    }

    .user-widgets .widget-item .icn {
        height: 34px;
    }

    .user-widget .user-nav .icn {
        height: 20px;
    }

    .user-widgets {
        text-align: right;
    }

    .cart-widget:after {
        bottom: -16px;
        z-index: 15;
    }

    .cart-widget:hover:after {
        display: none;
    }

    .cart-widget:hover .cart-container {
        display: none;
    }

    .cart-container:before {
        display: none
    }

    .cart-container {
        top: 37px;
    }

    .delivery-hint span {
        display: block;
        font-size: 12px;
        line-height: 16px;
        margin: 0;
    }

    .delivery-hint .sep {
        display: none;
    }

    .delivery-hint {
        padding: 4px 0;
    }

    .cart-holder {
        width: 100%;
        overflow: scroll;
    }

    .search .search-results .result-row .product-prices .out-stock,
    .search .search-results .result-row .product-prices .price,
    .search .search-results .result-row .product-prices .new-price,
    .search .search-results .result-row .product-prices .old-price {
        display: inline-block;
    }
}

@media only screen and (min-width: 0px) and (max-width: 320px) {
    .sup-top {
        display: none;
    }

    header .logo img {
        height: 20px;
    }

    .user-widgets .widget-item .icn {
        height: 28px;
    }

    .user-widget .user-nav .icn {
        height: 20px;
    }
}

@media screen and (max-width: 1008px) and (orientation: landscape) {
    .search .search-results {
        max-height: 220px;
    }
}

