/*----------------------------------------------------------------*/
/*  Topbar
/*----------------------------------------------------------------*/
.k-topbar {
    text-align: center;
    font-weight: normal;
    background-color: black;
    border-bottom: 2px solid rgb(243, 179, 6);
    font-size: 14px;
    color: white;
}

.k-topbar__content {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 48px;
}

.k-topbar__text {
    font-weight: 600;
}

a.k-topbar__link {
    color: white;
    text-decoration: underline;
    margin-left: 24px;
}

.kl-selector, .kl-selector:hover, .kl-selector:focus {
    background-color: #3d3d3d;
    color: #dbdbdb;
    border: 0;
    text-transform: none;
    font-size: 12px;
    font-weight: 500;
    padding: 3px 16px;
}

.kl-edit-btn {
    text-transform: none;
    font-size: 12px;
    font-weight: 500;
    padding: 3px 16px;
    margin: 8px;
}

.k-topbar__button,
.k-topbar .dropdown-toggle {
    color: #dbdbdb;
    border: 0;
    text-transform: none;
    font-size: 12px;
    font-weight: 500;
    padding: 3px 16px;
    background-color: transparent;
    padding: 0;
    margin-right: 24px;
    height: 100%;
}

.k-language-panel {
    margin-left: auto;
}


/*----------------------------------------------------------------*/
/*  Desktop Header
/*----------------------------------------------------------------*/
.kh-header {
    background-color: black;
    color: white;
}


/*----------------------------------------------------------------*/
/*  Desktop Header - Help and contact info
/*----------------------------------------------------------------*/
.kh-info {
    background: black;
    color: white;
    display: flex;
    gap: 24px;
    justify-content: space-between;
    padding: 20px 40px 30px 40px;
    font-size: 12px;
    max-width: 1440px;
    margin: 0 auto;
}

.kh-info__help > span:not(:first-child) {
    margin-left: 8px;
}

.kh-info__help a {
    color: white;
    font-size: 12px;
}

.kh-info__help svg {
    margin-right: 2px;
    margin-left: 1px;
}

.kh-info__links {
    display: flex;
    align-items: center;
}

.kh-info__links > a {
    color: white;
    font-size: 12px;
}

.kh-info__links > a:not(:last-child)::after {
    content: "|";
    margin: auto 16px;
}


/*----------------------------------------------------------------*/
/*  Desktop Header - Main content - Logo, search, account, cart
/*----------------------------------------------------------------*/
.kh-main {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    height: 100px;
    align-items: center;
    height: 100px;
    flex-direction: row;
    padding: 20px 40px 30px 40px;
}

.kh-logo {
    flex: 0 1 300px;
    margin-right: 16px;
}

.kh-main__content {
    display: flex;
    flex-direction: row;
    flex: 1;
    align-items: center;
}

.kh-search {
    height: 48px;
    position: relative;
    flex: 1;
    max-width: 553px;
    margin: 0 24px;

}

.kh-search__input {
    font-size: 14px;
    font-weight: 500;
    height: 100%;
    width: 100%;
    color: #292929;
    background-color: white;
    border: none;
    padding: 0 48px 0 16px;
}

.kh-search__input:focus {
    outline-color: var(--k-primary);
}

.kh-search__input::placeholder {
    font-size: 14px;
    font-weight: 500;
    color: #757575;
}

.kh-search__btn {
    position: absolute;
    top: 6px;
    right: 10px;
    cursor: pointer;
    width: 35px;
    background: transparent;
    border: none;
}

.kh-search__btn:disabled {
    cursor: default;
}

.kh-account {
    flex: 0 1 25%;
    display: flex;
    align-items: flex-start;
    position: relative;
    margin-right: 24px;
}

.kh-account svg {
    cursor: pointer;
}

.kh-account__info {
    display: flex;
    flex-direction: column;
    margin-left: 8px;
    max-width: 200px;
    word-wrap: break-word;
    cursor: pointer;
    overflow: hidden;
    white-space: nowrap;
}

.kh-account__name {
    font-weight: 800;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.kh-account__link {
    color: white;
    font-size: 14px;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
}

.kh-account__panel {
    background: #fff8d7;
    box-shadow: 1px 1px 12px 3px rgb(100 100 100 / 30%);
    padding: 20px 20px 24px 20px;
    line-height: 1.5;
    width: 340px;
    left: -158px;
    top: 60px;
    position: absolute;
    z-index: 10;
    color: #4d4d4d;
    font-size: 14px;
    display: none;
}

.kh-account__panel--opened {
    display: block;
}

.kh-account__error {
    color: #CA4200;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 16px;
    display: none;
    white-space: normal;
}

.kh-account__submit {
    margin-bottom: 16px;
}

.kh-account__register {
    display: block;
    margin-bottom: 32px;
}

.kh-account__panel .form-check {
    margin-bottom: 32px;
}

.kh-account__panel .form-control {
    border-color: #979797;
}

.kh-account__panel .k-link--regular {
    display: block;
    width: fit-content;
    margin: 0 auto;
}

.kh-account__panel-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 32px;
}

.kh-account__panel-title {
    text-transform: uppercase;
    font-weight: 600;
    font-family: var(--k-h1-font-family);
    color: #4d4d4d;
    font-size: 13px;
}

.kh-account__panel-close {
    font-size: 32px;
    line-height: 24px;
    color: #4d4d4d;
    cursor: pointer;
}

.kh-account__panel-close:focus {
    outline: none;
}

.kh-account__panel::before {
    content: "";
    width: 0;
    height: 0;
    margin-left: -0.5em;
    top: 0;
    left: 60%;
    box-shadow: -3px 3px 5px 0 rgb(100 100 100 / 20%);
    border: 1em solid rgba(100,100,100,.3);
    border-color: transparent transparent #fff8d7 #fff8d7;
    transform-origin: 0 0;
    transform: rotate(135deg);
    position: absolute;
}

.kh-cart {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.kh-cart__link {
    display: block;
    position: relative;
    height: auto;
    width: auto;
    margin: 0;
    padding: 0;
    border: none;
    overflow: visible;
}

.kh-cart__badge {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ffcc33;
    color: black;
    border-radius: 50%;
    font-size: 9px;
    top: -3px;
    right: 0;
    position: absolute;
    height: 20px;
    width: 20px;
    padding: 6px;
    font-weight: 700;
}

.kh-cart__info {
    margin-left: 8px;
    display: flex;
    flex-direction: column;
}

.kh-cart__name {
    color: white;
    font-weight: 800;
    font-size: 14px;
}

.kh-cart__total {
    color: white;
    font-size: 14px;
    font-weight: 500;
}


/*----------------------------------------------------------------*/
/*  Desktop Header - Navigation
/*----------------------------------------------------------------*/
.kh-nav {
    background-color: #f3b306;
    position: relative;
}

.kh-nav__content {
    position: relative;
    display: flex;
    flex-direction: row;
    max-width: 1440px;
    margin: 0 auto;
}

.kh-nav__shop {
    display: flex;
    /*flex: 0 1 25%;*/
    max-width: 300px;
    margin-top: -14px;
    align-items: center;
    background-color: #ffcc33;
    position: relative;
}

.kh-nav__shop::after {
    content: "";
    display: inline-block;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid #a57c02;
    position: absolute;
    transform: rotate(-45deg);
    transform-origin: 0 0;
    right: -3px;
    top: 7px;
}

.kh-nav__shop-arrow {
    pointer-events: none;
}

.kh-nav__shop-link {
    width: 100%;
    height: 100%;
    padding-left: 40px;
    padding-right: 40px;
    font-size: 14px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 12px;
}

.kh-nav__shop-link:hover {
    color: var(--k-text-color);
}

.kh-navbar {
    display: flex;
    justify-content: space-between;
}

.kh-navbar > span > a {
    display: block;
    padding: 13.5px 24px;
    position: relative;
    text-transform: uppercase;
    font-weight: 800;
    color: #292929;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.kh-navbar > span:not(:last-child) > a:after {
    content: "|";
    position: absolute;
    right: 0;
}


/*----------------------------------------------------------------*/
/*  Desktop Header - Quick order
/*----------------------------------------------------------------*/
.kh-quickorder__toggle {
    display: flex;
    align-items: center;
    cursor: pointer;
    justify-content: center;
    background-color: #ffcc33;
    flex: 0 1 300px;
    position: relative;
    margin-left: auto;
    cursor: pointer;
}

.kh-quickorder__label {
    text-transform: uppercase;
    font-weight: 800;
    color: #292929;
    margin-right: 24px;
    font-size: 14px;
}

.kh-quickorder__panel {
    position: absolute;
    right: 0;
    top: 48px;
    max-width: 435px;
    padding: 30px 0 20px;
    background: white;
    box-shadow: 1px 1px 12px 3px rgb(100 100 100 / 30%);
    z-index: 10;
    display: block;
}

.kh-quickorder__panel-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 5;
    display: block;
}

.kh-quickorder__header {
    display: flex;
    align-items: center;
    padding-left: 17.56px;
    margin: 0 0 5px;
    font-size: 12px;
}

.kh-quickorder__part {
    margin-right: 15px;
}

.kh-quickorder__part, .kh-quickorder__qty {
    width: 140px;
    color: var(--k-text-color);
    font-weight: 600;
}

.kh-quickorder__input {
    width: 140px !important;
}

.kh-quickorder__content {
    padding: 0 50px 15px 30px;
    border-bottom: 2px solid gray;
}

.kh-quickorder__error {
    display: none;
    margin-bottom: 20px;
}

.kh-quickorder__error ul {
    padding-left: 20px;
}

.kh-quickorder__error ul li {
    font-size: 12px;
}

.kh-quickorder__footer {
    padding: 20px 50px 20px 30px;
    display: flex;
    flex-direction: column;
}

.kh-quickorder__footer a.k-link--regular {
    margin: 0 0 20px auto;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--k-text-color);
}

.kh-quickorder__list {
    counter-reset: numbers;
}

.kh-quickorder__list > li {
    display: flex;
    align-items: center;
    margin: 8px 0 16px;
}

.kh-quickorder__list > li:before {
    counter-increment: numbers;
    content: "" counter(numbers) ".";
    font-size: var(--k-text-font-size);
    color: var(--k-text-color);
    display: flex; flex: none; align-items: center; justify-content: flex-end;
    padding-right: 8px;
    min-width: 20px;
    font-size: 14px;
}

.kh-quickorder__input {
    height: 36px;
    border: 1px solid gray !important;
    border-radius: 4px;
    color: black !important;
}

/* @media (max-width: 1300px) {
    .k-header__info-help {
        display: none;
    }

    .k-header__info-links {
        margin-left: auto;
        margin-right: auto;;
    }
} */

@media (max-width: 1240px) {
    .kh-quickorder__toggle {
        display: none;
    }
}

@media (max-width: 1100px) {
    .kh-logo {
        flex: 0 1 160px;
        margin-right: 16px;
    }

    .kh-logo svg {
        width: 100%;
    }

    .kh-search {
        max-width: 100%;
    }

    .kh-account {
        flex: none;
        margin-right: 24px;
    }

    .kh-account__link,
    .kh-account__name,
    .kh-cart__info {
        display: none;
    }

    .kh-nav__shop-link > a {
        padding-right: 0;
    }

    .kh-nav__shop-link svg {
        display: none;
    }

    .kh-account__panel {
        left: -210px;
    }

    .kh-account__panel::before {
        left: 75.5%;
    }
}



/*----------------------------------------------------------------*/
/* Mobile header
/*----------------------------------------------------------------*/
.kmh-header {
    display: none;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 16px;
    height: 66px;
    background: black
}

.kmh-header svg {
    vertical-align: middle;
}

.kmh-logo {
    height: 100%;
}

.kmh-logo img {
    height: 36px;
}

.kmh-toggle {
    display: block;
    width: 30px;
}

.kmh-toggle > svg {
    width: 100%;
}

.kmh-search {
    height: 100%;
    position: relative;
    flex: 1;
}

.kmh-search__input {
    font-size: 14px;
    font-weight: 500;
    height: 100%;
    width: 100%;
    color: #292929;
    background-color: white;
    border: none;
    padding: 0 32px 0 8px;
}

.kmh-search__input::placeholder {
    font-size: 14px;
    font-weight: 500;
    color: #757575;
}

.kmh-search__input:focus {
    outline-color: var(--k-primary);
}

.kmh-search__btn {
    position: absolute;
    top: 0;
    right: 10px;
    cursor: pointer;
    width: 24px;
    background-color: transparent;
    border: none;
    padding: 0;
    right: 6px;
}

.kmh-search__btn > svg {
    width: 24px;
}

.kmh-cart {
    display: block;
    position: relative;
    height: auto;
    width: auto;
    margin: 0;
    padding: 0;
    border: none;
    overflow: visible;
}

.kmh-cart__badge {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ffcc33;
    color: black;
    border-radius: 50%;
    font-size: 9px;
    top: -3px;
    right: 0;
    position: absolute;
    height: 20px;
    width: 20px;
    padding: 6px;
    font-weight: 700;
}

.kmh-menu {
    display: none;
    flex-direction: column;
    position: fixed;
    z-index: 1000;
    right: 0;
    top: 0;
    left: 0;
    bottom: 0;
    background: black;
    height: 100%;
    color: rgba(255, 255, 255, .87);
}

.kmh-menu--opened {
    display: flex;
}

.kmh-menu__header {
    display: flex;
    flex-direction: row;
    gap: 24px;
    padding: 16px;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, .87);
}

.kmh-menu__header > svg {
    height: 25px;
}

.kmh-menu__content {
    flex: 1;
    overflow: auto;
    padding: 8px 0;
}

.kmh-menu__content ul {
    padding: 0 24px;
    list-style: none;
}

.kmh-menu__content a {
    color: rgba(255, 255, 255, .87);
    padding: 4px 0;
    display: block;
}

@media (max-width: 960px) {
    .kh-header {
        display: none;
    }

    .kmh-header {
        display: flex;
    }
}

@media (max-width: 600px) {
    .k-topbar__content {
        padding: 10px 0 10px;
        flex-wrap: wrap;
        height: auto;
    }

    .k-topbar__button {
        display: none;
    }
}