/* ===== Off-canvas wrappers ===== */
html.sm-mobile {
  overflow-x: hidden;
}
.sm-pusher {
  position: relative;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.sm-pusher::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100000;
  width: 0;
  height: 0;
  background-color: #000;
  opacity: 0;
  transition: opacity 0.5s;
}
body.sm-open {
  position: fixed;
  inset: 0;
  overflow: hidden;
}
body.sm-open .sm-pusher {
  transform: translateX(min(300px, 80vw));
}
body.sm-open .sm-pusher::after {
  width: 100%;
  height: 100%;
  opacity: 0.2;
}

/* ===== Burger ===== */
.menu-icon-cont {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 73px;
  height: 51.5px;
  padding: 0;
  font-size: 0;
  line-height: 0;
  text-align: left;
  background: transparent;
  border: 0;
  transition: transform 0.3s ease, opacity 0.3s ease, left 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.menu-icon3 {
  position: relative;
  top: 7px;
  display: inline-block;
  width: 30px;
  height: 30px;
  margin: 21.5px 21.5px 0;
}
.menu-icon3 span {
  position: absolute;
  left: 0;
  width: 30px;
  height: 4px;
  background-color: #fff;
  border-radius: 2px;
}
.menu-icon3 span:nth-child(1) {
  top: 5px;
}
.menu-icon3 span:nth-child(2) {
  top: 13px;
}
.menu-icon3 span:nth-child(3) {
  top: 21px;
}
body.sm-open .menu-icon-cont {
  left: min(300px, 80vw);
  z-index: 100001;
}
@media (max-width: 370px) {
  .menu-icon-cont {
    width: 60px;
    height: 45px;
  }
  .menu-icon3 {
    margin: 15px 15px 0;
  }
  .t3-wrapper .container.cart .cart_num a {
    top: 20px;
  }
}
@media screen and (min-width: 1024px) {
  .menu-icon-cont,
  .sm-menu {
    display: none;
  }
}

/* ===== Login popup and user menu over the open menu ===== */
.ial-bg {
  z-index: 100002;
}
.ial-window,
.ial-usermenu {
  z-index: 100003;
}

/* ===== Off-canvas menu ===== */
.sm-menu {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100001;
  width: min(300px, 80vw);
  height: 100%;
  font-weight: 300;
  line-height: 21px;
  box-shadow: var(--fh-shadow-11);
  visibility: hidden;
  transform: translateX(-100%);
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), visibility 0s 0.5s;
}
body.sm-open .sm-menu {
  visibility: visible;
  transform: none;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.sm-menu .sm-logo {
  height: 61px;
  padding: 5px 0;
  text-align: center;
  background-color: #000;
  border-bottom: 1px solid var(--fh-color-copyright-bg);
}
.sm-menu .sm-logo img {
  width: auto;
  max-width: 100%;
  height: 100%;
}
.sm-menu .sm-levels {
  position: relative;
  height: calc(100% - 61px);
  overflow-x: hidden;
  overflow-y: auto;
}
.sm-menu .sm-level.level1 {
  min-height: 100%;
  background-color: var(--fh-color-dark);
  background-image: linear-gradient(#000, #424242);
  box-shadow: var(--fh-shadow-12);
}
.sm-menu dl,
.sm-menu dd {
  margin: 0;
}
.sm-menu dt {
  line-height: normal;
  display: table;
  width: 100%;
  padding: 7px 15px;
  font-size: 14px;
  font-weight: 700;
  background-color: #000;
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
  cursor: pointer;
  transition: background 0.3s;
}
.sm-menu dt::after {
  content: "";
  display: table-cell;
  width: 20px;
}
.sm-menu dt.parent::after,
.sm-menu dt.sm-mod::after {
  display: none;
}
.sm-menu dt .inner {
  display: table-cell;
  padding-right: 4px;
  vertical-align: middle;
}
.sm-menu dt a {
  font-family: var(--fh-font-open-sans);
  font-size: 16px;
  font-weight: 300;
  color: var(--fh-color-f7f7f7);
}
.sm-menu dt a.whole-btn {
  background-color: var(--fh-color-wholesale);
}
.sm-menu dd {
  display: none;
}
.sm-menu dt[aria-expanded="true"] + dd {
  display: block;
}
.sm-menu .sm-level.level2 dt {
  padding-left: 30px;
}
.sm-menu .sm-level.level3 dt {
  padding-left: 45px;
}
.sm-menu .sm-level.level4 dt {
  padding-left: 60px;
}
.sm-menu dt.sm-mod {
  position: relative;
  height: 395px;
  padding: 0;
  vertical-align: top;
  border-top-color: var(--fh-color-copyright-bg);
  cursor: default;
}
.fh-search-mobile {
  padding: 15px 0 0 14px;
}
.fh-search-mobile .offlajn-ajax-search-inner {
  position: relative;
  width: 262px;
  max-width: calc(100% - 14px);
  background-color: #fff;
  border-radius: 3px;
}
#search-area349 {
  position: relative;
  z-index: 4;
  display: block;
  width: 100%;
  height: 27px;
  padding: 0 0 0 28px;
  font-family: "PT Sans", Arial, Helvetica;
  font-size: 13px;
  font-weight: 700;
  line-height: 27px;
  color: var(--fh-color-727272);
  background-color: transparent;
  border: 1px solid transparent;
  border-radius: 0;
  text-shadow: #fff 1px 1px 0;
  outline: 0;
}
#search-area349::placeholder {
  color: var(--fh-color-727272);
  opacity: 1;
}
#ajax-search-button349 {
  position: absolute;
  top: 0;
  left: 8px;
  font-size: 15px;
  line-height: 27px;
  color: var(--fh-color-727272);
}
.sm-bot-gr .niklogin {
  padding: 50px 0 0;
  font-family: "Open Sans Condensed", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: normal;
}
.sm-bot-gr .niklogin a {
  font-family: var(--fh-font-open-sans);
  font-size: 16px;
  font-weight: 300;
  color: var(--fh-color-f7f7f7);
  white-space: nowrap;
}
.sm-bot-gr .niklogin .logBtn {
  display: inline-block;
  height: 35px;
}
.sm-bot-gr .niklogin .key-login {
  display: block;
  height: 35px;
  margin-left: 20px;
}
.sm-bot-gr .niklogin .loginBtn {
  color: var(--fh-color-copyright-bg);
  background-color: var(--fh-color-accent);
}
.sm-bot-gr .niklogin .regBtn,
.sm-bot-gr .niklogin .regBtn .loginBtn {
  display: inline-block;
}
.sm-bot-gr .niklogin .regBtn .loginBtn {
  font-family: "Open Sans", Helvetica;
  font-weight: 700;
  color: #2e2a2b;
}

/* ===== Mobile UA overrides ===== */
.sm-mobile .top-block.fix .header-top {
  display: none;
}

/* ===== Side cart (mobile UA) ===== */
#cart_list .text-art {
  min-height: 40px;
}
@media (max-width: 991px) {
  .container.cart .cart_num a {
    top: 2px;
  }
}
#cart_list {
  top: 16px;
}
