/*** Header ***/
@media (max-width: 767px) {
    #header .container {
        padding-right: 5px !important;
    }
}

@media (min-width: 768px) {
    #header .header-top-wrapper>div.navigation-buttons {
        flex: 0 1 auto;
    }

    #header .header-top-wrapper>div.search {
        flex: 1 1 auto;
    }

    #header .navigation-buttons a {
        height: auto;
    }
}

/* Message bar */
.site-msg.information .container {
    display: flex;
    justify-content: center;
}

.site-msg {
    background-color: #1e1f1f;
    color: #fff;
}

.site-msg .close {
    display: none;
}

@media (max-width:768px) {
    .site-msg.information .text {
        line-height: 24px;
        text-align: center;
    }
}

/* Topbar */
span.topbar-emphasis {
    padding: 4px;
    background-color: #b13024;
    font-weight: 700;
}

.top-navigation-bar {
    background-color: #fff;
    border-bottom: 1px solid #f5f5f5;
}

.top-navigation-menu-trigger::before {
    content: "\ea5e";
    font-size: 12px;
    font-family: ikony;
    margin-right: 10px;
    display: inline-block;
    position: relative;
}

.top-navigation-menu-visible .top-navigation-bar-menu-helper {
    right: 0px;
}

.top-navigation-menu {
    flex: 1 1 15% !important;
}

.top-menu-trigger-visible .top-navigation-menu-trigger {
    float: right;
}

.mkn_contact a:after {
    content: '\e9b6';
    font-family: ikony;
    font-size: 8px;
    margin-left: 6px;
    display: inline-block;
    position: relative;
    top: -1px;
    rotate: 270deg;
}

.menu-helper>span::after {
    content: 'Ďalšia kategórie';
}


.top-navigation-menu-trigger::after {
    display: none;
}

.mkn_topbar-row {
    flex: 1 1 85% !important;
}

.mkn_jipos-red {
    color: #c91516;
}

.mkn_topbar-row {
    display: flex;
    align-items: center;
    column-gap: 20px;
    padding: 6px 0;
}

.mkn_langs {
    display: flex;
    column-gap: 12px;
    align-items: center;
}

a.mkn_lang:first-of-type:after {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 7px solid rgb(242 242 242);
    margin-left: 4px;
    transform: rotate(180deg);
    content: "";
    position: absolute;
    bottom: 0;
}

a.mkn_lang img {
    padding: 2px;
    border-radius: 25px;
    background-color: #f2f2f2;
}

.mkn_lang {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    font-size: 13px;
}

.mkn_lang img {
    width: 18px;
    height: 18px;
    display: block;
}

.mkn_lang span {
    color: #252729;
}

.mkn_hotlines {
    display: flex;
    column-gap: 20px;
    flex: 0 1 auto;
    flex-wrap: nowrap;
    font-size: 13px;
    color: #252729
}

.mkn_hotlines a {
    text-decoration: none;
    color: #252729;
}

.mkn_contact a {
    margin-left: auto;
    color: #252729;
    font-size: 13px;
}

.mkn_contact-link {
    text-decoration: none;
    font-weight: 600;
}

.top-navigation-menu-trigger {
    color: #252729;
}

.mkn_contact {
    min-width: fit-content;
    padding: 2px 5px;
    background-color: #f2f2f2;
    border-radius: 5px;
}

.top-navigation-menu-trigger {
    font-weight: 600;
    font-size: 13px;
}

@media (max-width: 1439px) {
    .mkn_hotlines {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 1199px) {
    .jipos-mobile-hide {
        display: none;
    }

    .mkn_contact:last-of-type {
        margin-right: 10px;
    }
}

@media (max-width: 992px) {
    .mkn_contact {
        display: none;
    }
}

/* Logo */
#header .site-name a img {
    width: 250px;
}

/* Vyhledávání */
.compact-form .form-control {
    border-color: #F2F2F2 !important;
    border-radius: 25px;
    background: #F2F2F2;
}

.search-form .btn::before {
    content: url(/user/documents/upload/static/ico/search.svg);
}

/* Telefon */
.header-phone {
    margin-right: 20px;
    padding-left: initial;
    height: auto;
}

/* Login */
@media (min-width: 768px) {
    #header .navigation-buttons a[data-target="login"] {
        display: flex !important;
    }
}

.navigation-buttons a[data-target="login"]::before {
    content: url(/user/documents/upload/static/ico/login-comp.svg);
    scale: 0.84;
}

/* Minicart */
@media (min-width: 768px) {
    .navigation-buttons a[data-target="cart"]::before {
        content: url(/user/documents/upload/static/ico/cartico.svg);
        scale: 0.84;
    }

    .navigation-buttons>a[data-target="cart"] i,
    .cart-count:not(.full) .cart-price::before {
        left: 57px;
        bottom: 6px;
        width: 20px;
        height: 20px;
        font-size: 13px;
        line-height: 20px;
    }
}

/* Menu důležité odkazy */
.top-navigation-bar-menu-helper li a,
.dropdown-menu li a {
    border-bottom: none;
}

li.top-navigation-menu-item-external-39.cropped,
li.top-navigation-menu-item-external-42 {
    text-align: center;
    background-color: #F2F2F2;
    font-weight: 600;
    text-transform: uppercase;
}

/* --- Helper menu: oddělovač --- */
.top-navigation-bar-menu-helper .helper-separator {
    list-style: none;
    height: 1px;
    margin: 20px 24px 0px 24px;
    background: #e6e6e6;
}

/* --- Wrapper li --- */
.top-navigation-bar-menu-helper .helper-auth {
    padding: 12px 0 4px;
}

/* --- Flex řádek se dvěma CTA --- */
.top-navigation-bar-menu-helper .helper-auth-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 8px 24px 16px;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
}

/* --- Obecné tlačítko --- */
.top-navigation-bar-menu-helper .helper-auth-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.2;
    color: #1a1a1a;
    white-space: nowrap;
}

/* --- Ikona u Přihlášení --- */
.top-navigation-bar-menu-helper .helper-auth-ico {
    width: 14px;
    height: auto;
    flex: 0 0 auto;
}

/* --- „šipka dolů“ za Přihlášení --- */
.top-navigation-bar-menu-helper .helper-login .caret {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 7px solid currentColor;
    /* trojúhelník */
    margin-left: 6px;
    transform: translateY(2px);
}

/* --- „+“ u Registrace --- */
.top-navigation-bar-menu-helper .helper-register .plus {
    display: inline-block;
    font-size: 1.15em;
    font-weight: 800;
    margin-left: 8px;
    line-height: 1;
}

/* --- Hover stavy (jemné) --- */
.top-navigation-bar-menu-helper .helper-auth-btn:hover {
    opacity: .85;
    text-decoration: none;
}

/* Na malých šířkách dovolíme zalomení pod sebe */
@media (max-width: 420px) {
    .top-navigation-bar-menu-helper .helper-auth-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

/* Hlavní menu */
@media (min-width: 768px) {
    .type-index #header {
        margin-bottom: 0px;
    }
}

@media (min-width: 768px) {
    .navigation-in>ul>li {
        border-color: rgba(0, 0, 0, 0);
        background: linear-gradient(270deg, rgba(202, 21, 23, 1) 0%, rgba(202, 21, 23, 1) 85%, rgba(180, 8, 10, 1) 100%);
    }
}

.navigation-in>ul>li>a {
    font-size: 18px !important;
    text-transform: none !important;
}

.navigation-in ul li a b {
    font-weight: 500;
}

li.menu-item-4332 a b {
    font-weight: 700 !important;
}

li.menu-item-4332 a b:after {
    content: " %";
}

/* Skryté kategorie */
.menu-helper>ul>li>a {
    text-transform: none;
    text-align: left;
}

@media screen and (max-width: 767px) {
    .mkn_topbar-row {
        display: none;
    }
}

/* Mobilní menu */
.mobile ul.menu-level-1:before {
    content: "Kategória tovaru";
    display: block;
    text-align: center;
    padding: 10px;
    background-color: #f2f2f2;
    font-weight: 700;
    text-transform: uppercase;
    color: #282a2c;
}

.mobile .top-navigation-menu:before {
    content: "Dôležité informácie";
    display: block;
    text-align: center;
    padding: 10px;
    background-color: #f2f2f2;
    font-weight: 700;
    text-transform: uppercase;
    color: #282a2c;
    margin: 0px 0px 20px 0px;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.mobile li.top-navigation-menu-item-external-39 {
    display: none !important;
}

.mobile li.top-navigation-menu-item-external-42 {
    display: block !important;
    text-align: center;
    padding: 10px;
    background-color: #f2f2f2;
    font-weight: 700;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.mobile li.top-navigation-menu-item-external-42 a {
    text-transform: uppercase;
    font-size: 18px !important;
}

.mobile .top-navigation-menu-trigger {
    display: none;
}

.mobile ul.top-navigation-bar-menu li a {
    padding: 12px !important;
    height: 38px;
    background-color: #f2f2f2;
    border-radius: 8px;
}

.mobile .navigation-in ul li {
    border-bottom: 0px!important;
}

/* --- Wrapper li --- */
.mobile .helper-auth {
    padding: 12px 0 4px;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

/* --- Flex řádek se dvěma CTA --- */
.mobile .helper-auth-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 8px 24px 16px;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
}

/* --- Obecné tlačítko --- */
.mobile .helper-auth-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.2;
    color: #1a1a1a;
    white-space: nowrap;
}

/* --- Ikona u Přihlášení --- */
.mobile .helper-auth-ico {
    width: 14px;
    height: auto;
    flex: 0 0 auto;
}

/* --- „šipka dolů“ za Přihlášení --- */
.mobile .helper-login .caret {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 7px solid currentColor;
    /* trojúhelník */
    margin-left: 6px;
    transform: translateY(2px);
}

/* --- „+“ u Registrace --- */
.mobile .helper-register .plus {
    display: inline-block;
    font-size: 1.15em;
    font-weight: 800;
    margin-left: 8px;
    line-height: 1;
}

/* --- Hover stavy (jemné) --- */
.mobile .helper-auth-btn:hover {
    opacity: .85;
    text-decoration: none;
}

.fix-detail-header {
    z-index: 9 !important;
}

/* User popup */
.login-widget .popup-widget-inner p {
    margin: 0;
    padding: 25px;
}

.login-widget .popup-widget-inner {
    border: 0;
    display: flex;
    flex-wrap: nowrap;
    background-color: #fff;
    flex-direction: row;
    gap: 25px;
    align-items: center;
    justify-content: center;
}

@media screen and (max-width: 767px) {
    .mobile #header .header-phone {
        display: flex!important;
        margin-right: -1px!important;
        scale: 0.75;
    }
}