.kb-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #ececec;
}

.kb-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  padding: 0 32px;
}

.kb-header__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.kb-header__logo img {
  width: auto;
  height: 64px;
  display: block;
}

.kb-header__actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.kb-header__icon {
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.kb-header__icon img {
  width: 24px;
  height: 24px;
  display: block;
}

.kb-header__burger {
  margin-left: 8px;
}

.kb-header__cart {
  position: relative;
}

.kb-header__cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
  box-sizing: border-box;
}

.kb-menu-panel {
  position: fixed;
  inset: 0;
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, visibility .25s ease;
}

.kb-menu-panel.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.kb-menu-panel__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.38);
}

.kb-menu-panel__drawer {
  position: absolute;
  top: 0;
  right: 0;
  width: min(420px, 88vw);
  height: 100%;
  background: #fff;
  transform: translateX(100%);
  transition: transform .28s ease;
  overflow-y: auto;
}

.kb-menu-panel.is-open .kb-menu-panel__drawer {
  transform: translateX(0);
}

.kb-menu-panel__head {
  height: 74px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #eee;
  font-size: 22px;
  font-weight: 500;
}

.kb-menu-panel__close {
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #999;
  font-size: 38px;
  line-height: 1;
  cursor: pointer;
}

.kb-menu-panel__nav {
  padding: 22px 24px;
}

.kb-menu-panel__list,
.kb-menu-panel__list ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.kb-menu-panel__list li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.kb-menu-panel__list a {
  display: block;
  padding: 18px 0;
  border-bottom: 1px solid #eee;
  color: #111;
  text-decoration: none;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.kb-menu-panel__list .sub-menu {
  padding: 0 0 10px 14px;
}

.kb-menu-panel__list .sub-menu a {
  padding: 10px 0;
  font-size: 14px;
  color: #666;
}

body.kb-menu-opened {
  overflow: hidden;
}

@media (max-width: 767px) {
  .kb-header__inner {
    height: 72px;
    padding: 0 18px;
  }

  .kb-header__logo img {
    height: 48px;
  }

  .kb-header__actions {
    gap: 14px;
  }

  .kb-header__icon,
  .kb-header__icon img {
    width: 22px;
    height: 22px;
  }

  .kb-menu-panel__drawer {
    width: 88vw;
  }

  .kb-menu-panel__head {
    height: 68px;
    padding: 0 20px;
    font-size: 20px;
  }

  .kb-menu-panel__nav {
    padding: 18px 20px;
  }

  .kb-menu-panel__list a {
    padding: 17px 0;
    font-size: 17px;
  }
}

.kb-search{
    position:fixed;
    inset:0;
    z-index:99998;
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:.25s ease;
}

.kb-search.is-open{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
}

.kb-search__overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.38);
}

.kb-search__inner{
    position:absolute;
    top:0;
    left:0;
    right:0;
    background:#fff;
    padding:28px 32px 36px;
    transform:translateY(-100%);
    transition:transform .28s ease;
}

.kb-search.is-open .kb-search__inner{
    transform:translateY(0);
}

.kb-search__head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:24px;
    font-size:24px;
    font-weight:500;
}

.kb-search__close{
    width:40px;
    height:40px;
    border:0;
    background:transparent;
    color:#999;
    font-size:38px;
    line-height:1;
    cursor:pointer;
}

.kb-search__form{
    display:flex;
    gap:12px;
}

.kb-search__input{
    flex:1;
    height:56px;
    padding:0 18px;
    border:1px solid #ddd;
    font-size:16px;
}

.kb-search__submit{
    min-width:140px;
    height:56px;
    border:0;
    background:#111;
    color:#fff;
    font-size:13px;
    text-transform:uppercase;
    letter-spacing:.05em;
    cursor:pointer;
}

body.kb-search-opened{
    overflow:hidden;
}

.kb-search__input {
  outline: none;
  box-shadow: none;
}

.kb-search__input:focus {
  border-color: #111;
  outline: none;
  box-shadow: none;
}

@media (max-width:767px){

    .kb-search__inner{
        padding:22px 18px 28px;
    }

    .kb-search__head{
        margin-bottom:18px;
        font-size:22px;
    }

    .kb-search__form{
        flex-direction:column;
    }

    .kb-search__submit{
        width:100%;
    }

}

.kb-header__icon,
.kb-header__icon:hover,
.kb-header__icon:focus,
.kb-header__icon:active,
.kb-header__burger,
.kb-header__burger:hover,
.kb-header__burger:focus,
.kb-header__burger:active {
  color: #111;
  background: transparent;
  box-shadow: none;
  outline: none;
}

.kb-header__icon img,
.kb-header__icon:hover img,
.kb-header__burger img,
.kb-header__burger:hover img {
  filter: none;
}

.kb-search__submit:hover,
.kb-search__submit:focus {
  background: #e86f2a;
  color: #fff;
}