/* =========================
   MENU ICONS (wishlist/cart/etc)
========================= */

.t-menuwidgeticons__wrapper {
  margin-bottom: 0 !important;
  margin-left: auto;
  margin-right: 30px;
  padding: 0 !important;
  display: flex;
  align-items: center;
}

.t-menuwidgeticons__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 10px;
  padding-bottom: 2px;
}

.t-menuwidgeticons__link {
  cursor: pointer;
  display: inline-block;
}

.t-menuwidgeticons__img {
  max-height: 24px;
  max-width: 24px;
}

.t-menuwidgeticons__img svg {
  width: 100%;
  height: 100%;
}

.t-menuwidgeticons__icon-counter {
  position: absolute;
  bottom: -3px;
  right: -3px;
  background-color: red;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  border-radius: 30px;
  padding: 0 3px;
  height: 14px;
  line-height: 14px;
}

.t-menuwidgeticons__icon-counter:empty {
  display: none;
}

/* =========================
   BURGER MENU
========================= */

.t-menu-burger {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.t-menu-burger__icon {
  position: relative;
  width: 28px;
  height: 20px;
}

.t-menu-burger__icon span {
  position: absolute;
  width: 100%;
  height: 3px;
  background: #000;
  left: 0;
  transition: 0.25s ease-in-out;
}

.t-menu-burger__icon span:nth-child(1) { top: 0; }
.t-menu-burger__icon span:nth-child(2) { top: 8px; }
.t-menu-burger__icon span:nth-child(3) { top: 8px; }
.t-menu-burger__icon span:nth-child(4) { top: 16px; }

/* open state */
.t-menu-burger_open .t-menu-burger__icon span:nth-child(1),
.t-menu-burger_open .t-menu-burger__icon span:nth-child(4) {
  width: 0;
  left: 50%;
}

.t-menu-burger_open .t-menu-burger__icon span:nth-child(2) {
  transform: rotate(45deg);
}

.t-menu-burger_open .t-menu-burger__icon span:nth-child(3) {
  transform: rotate(-45deg);
}

/* =========================
   SUBMENU
========================= */

.t-menusub__menu {
  position: absolute;
  display: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  background: #fff;
  border-radius: 10px;
  min-width: 180px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.t-menusub__menu_show {
  display: block;
  opacity: 1;
}

.t-menusub__innermenu-content {
  padding: 10px;
}

.t-menusub__innermenu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.t-menusub__innermenu-item {
  padding: 8px 10px;
}

.t-menusub__link-item {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #222;
  font-size: 14px;
}

.t-menusub__link-item:hover {
  color: #000;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 980px) {
  .t-menuwidgeticons__wrapper {
    margin-right: 15px;
  }

  .t-menuwidgeticons__icon {
    margin: 0 7px;
  }
}