/* Storefront header, category navigation and product-card finishing layer. */
#header {
  height: 74px;
  border-bottom: 1px solid #e1e3e5;
  background: #fff;
}

#header .content {
  display: grid;
  grid-template-columns: 150px minmax(300px, 520px) minmax(260px, 1fr);
  grid-template-areas: "logo search icons";
  align-items: center;
  min-height: 73px;
  gap: 30px;
}

#header .help {
  display: none;
}

#header #srch-bar .links {
  display: none;
}

#header #srch-bar {
  grid-area: search;
  width: 100%;
  min-width: 0;
  max-width: 520px;
}

#header #logo_link,
#header.fixed #logo_link {
  grid-area: logo;
  justify-self: start;
  width: 150px;
  height: 54px;
  min-height: 54px;
  background-position: center;
}

#header .header-icons {
  grid-area: icons;
  display: flex;
  justify-self: end;
  justify-content: flex-end;
  align-items: center;
  min-width: 0;
  height: 44px;
}

img.product-image-fallback {
  box-sizing: border-box;
  object-fit: cover;
  background: #f7f7f5;
}

#header .header-icons > div {
  float: none;
}

#header .header-lang a,
#cart .icon,
#header .header-user a.icon,
#header div.header-currency form {
  box-sizing: border-box;
  min-width: 42px;
  height: 42px;
  padding: 7px 9px;
  justify-content: center;
}

#header .header-user,
#header .header-lang,
#header .cart-c {
  height: 44px;
}

#search-form fieldset {
  display: flex;
  width: 100%;
  overflow: visible;
}

#search-form fieldset > div:first-child {
  flex: 1 1 auto;
  min-width: 0;
}

#search-form #search-keywords {
  box-sizing: border-box;
  width: 100%;
  height: 38px;
  max-width: none;
  padding: 8px 10px;
  border: 1px solid #aeb3b8;
  border-radius: 4px 0 0 4px;
  background: #fff;
  font-size: 14px;
}

#search-form input.btn {
  box-sizing: border-box;
  height: 38px;
  margin-left: 0;
  padding: 0 18px;
  border-radius: 0 4px 4px 0;
  background: #17191b;
  border-color: #17191b;
}

#search-form input.btn:hover,
#search-form input.btn:focus {
  background: #f2c500;
  border-color: #f2c500;
  color: #17191b;
  opacity: 1;
}

#navigation {
  min-height: 45px;
  border-bottom: 1px solid #d8dade;
  background: #fff;
}

#navigation ul.level-1 {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 44px;
  padding: 0;
}

#navigation ul.level-1 li,
#navigation ul.level-1 li.level-1 {
  float: none;
  height: auto;
  flex: 0 0 auto;
  overflow: visible;
}

#navigation ul.level-1 > li > a {
  padding: 14px 0 12px;
  line-height: 18px;
  white-space: nowrap;
}

#navigation ul.level-1 a {
  font-size: 13px;
}

.prodBoxC.prodContainer {
  align-items: stretch;
  row-gap: 12px;
}

.prodBoxC.prodContainer .item {
  min-height: 340px;
  height: auto;
}

.prodBoxC.prodContainer .purchase-context {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 5px 8px 4px;
}

.prodBoxC.prodContainer .item .cart {
  flex: 0 0 auto;
  padding-top: 6px;
}

@media all and (max-width: 800px) {
  #header {
    position: fixed;
    top: 0;
    z-index: 9999;
    height: 106px;
    min-height: 106px;
    overflow: visible;
    box-shadow: 0 2px 8px rgba(20, 24, 28, .12);
  }

  body::before {
    content: '';
    display: block;
    min-height: 107px;
  }

  #header .content {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-rows: 50px 46px;
    grid-template-areas:
      "logo . icons"
      "search search search";
    width: calc(100% - 20px);
    min-width: 0;
    min-height: 106px;
    gap: 0 10px;
    padding: 5px 0;
  }

  #header .help {
    display: none;
  }

  #header #logo_link,
  #header.fixed #logo_link {
    grid-area: logo;
    justify-self: start;
    width: 112px;
    height: 44px;
    min-height: 44px;
  }

  #header #srch-bar {
    display: block;
    grid-area: search;
    width: 100%;
    max-width: none;
    min-height: 38px;
  }

  #header .header-icons,
  #header.fixed .header-icons {
    grid-area: icons;
    height: 44px;
    min-height: 44px;
  }

  #header .header-currency,
  #header .header-lang a span:first-child {
    display: none;
  }

  #header .header-lang {
    display: block;
  }

  #header.fixed {
    min-height: 54px;
    height: 54px;
    overflow: visible;
  }

  #header.fixed .content {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-rows: 44px;
    grid-template-areas: "logo . icons";
    width: calc(100% - 20px);
    min-width: 0;
    min-height: 54px;
    gap: 0 10px;
    padding: 5px 0;
  }

  #header.fixed #srch-bar {
    display: none;
  }

  #navigation {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 0 10px;
    overflow: hidden;
  }

  #navigation nav {
    overflow: hidden;
  }

  #navigation ul.level-1 {
    min-height: 47px;
    gap: 22px;
    padding: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  #navigation ul.level-1::-webkit-scrollbar {
    display: none;
  }

  #navigation ul.level-1 > li > a {
    padding: 15px 0 12px;
    font-size: 14px;
  }

  #navigation div.level-2 {
    display: none !important;
  }

  .prodBoxC.prodContainer {
    box-sizing: border-box;
    gap: 10px 8px;
    width: 100%;
    margin-left: 0;
    padding: 1px 2px;
  }

  .prodBoxC.prodContainer .item {
    width: calc(50% - 4px);
    min-height: 320px;
    height: auto;
    margin: 0;
  }

  .prodBoxC.prodContainer .item .tbl .ithumb {
    height: 158px;
  }

  .prodBoxC.prodContainer .item .tbl img {
    max-height: 158px;
    width: auto;
  }

  .prodBoxC.prodContainer .item span.best {
    top: 140px;
  }

  .prodBoxC.prodContainer .item .title {
    height: 48px;
    padding-top: 5px;
  }

  .prodBoxC.prodContainer .item .title a span {
    height: 39px;
  }

  .prodBoxC.prodContainer .purchase-context {
    min-height: 45px;
    padding-left: 5px;
    padding-right: 5px;
  }

  .prodBoxC.prodContainer .item .cart {
    padding: 5px 6px 7px;
  }

  .prodBoxC.prodContainer .item .variant-link {
    min-height: 46px;
  }
}

@media all and (max-width: 360px) {
  #header .content,
  #header.fixed .content {
    width: calc(100% - 12px);
    gap: 0 6px;
  }

  #header #logo_link,
  #header.fixed #logo_link {
    width: 102px;
  }

  #header .header-lang {
    display: none;
  }

  #search-form input.btn {
    padding: 0 13px;
  }

  .prodBoxC.prodContainer {
    column-gap: 6px;
  }

  .prodBoxC.prodContainer .item {
    width: calc(50% - 3px);
  }
}
