/* E-Mono header — match mockup */

.emono-header {
  --emono-red: #e6544a;
  --emono-red-soft: #f7d4d1;
  --emono-text: #222;
  --emono-muted: #888;
}

/* Red top accent line */

.emono-header #header {
  border-bottom: 1px solid #f1f1f1;
}

/* Hide noisy top bar content; keep slim accent if present */
.emono-header .header-top {
  display: none !important;
}

.emono-header .header-main {
  background: #fff;
}

.emono-header .header-main .header-inner {
  align-items: center;
  padding-top: 0px;
  padding-bottom: 0px;
}

.emono-header #logo img {
  max-height: 88px;
  width: auto;
}

.emono-header-right {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  min-width: 0;
}

.emono-header-nav-row {
  display: flex;
  justify-content: flex-end;
}

.emono-header-nav-row .header-nav {
  justify-content: flex-end;
  flex-wrap: wrap;
}

.emono-header-nav-row .header-nav > li > a {
  color: var(--emono-text);
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  padding: 4px 12px;
}

.emono-header-nav-row .header-nav > li > a:hover,
.emono-header-nav-row .header-nav > li.active > a,
.emono-header-nav-row .header-nav > li.current-menu-item > a,
.emono-header-nav-row .header-nav > li.current-menu-ancestor > a {
  color: var(--emono-red);
}

.emono-header-tools-row {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-width: 0;
}

.emono-header-search {
  flex: 1 1 0;
  min-width: 180px;
  max-width:50%;
}

.emono-header-search .searchform-wrapper,
.emono-header-search .ux-search-box,
.emono-header-search .emono-product-search {
  width: 100%;
  margin: 0;
}

.emono-header-utils {
  display: flex !important;
  align-items: center;
  gap: 0;
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none !important;
	justify-content: space-between !important;
	margin-left: 30px !important;
}

.emono-header-utils > li {
  list-style: none;
  margin: 0;
  padding: 0 12px!important;
  border-left: 1px solid #e5e5e5;
  position: relative;
  flex: 0 0 auto;
}

.emono-header-utils > li:first-child {
  border-left: 0;
  padding-left: 4px;
}

.emono-header-util-link {
  display: flex !important;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--emono-text);
  line-height: 1.2;
}

.emono-header-util-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: #444;
  font-size: 22px;
}

.emono-header-util-icon .cart-img-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.emono-header-util-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
}

.emono-header-util-sub {
  font-size: 11px;
  color: var(--emono-muted);
  font-weight: 400;
  white-space: nowrap;
}

.emono-header-util-main {
  font-size: 14px;
  font-weight: 700;
  color: var(--emono-text);
  white-space: nowrap;
}

.emono-cart-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--emono-red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}

/* Hide Flatsome default cart title/icon chrome we replaced */
.emono-header-cart .header-cart-title,
.emono-header-account .header-button {
  display: none;
}

.emono-header .top-divider {
  display: none;
}
.live-search-results{
	background: #fff;
    max-height: 300px;
    overflow-y: auto;
}
.header-bottom  ul {
  margin: 0;
}
.header-bottom  .sub-menu-wrapper {
  position: absolute;
  opacity: 0;
  visibility: hidden;
  padding-left: 3.56rem;
  left: calc(100% - 2rem);
  width: 65.5rem;
  top: 0;
  min-height: calc(100% + 100px)!important;
}
.header-bottom  .sub-menu-wrapper .sub-menu-item{
	width:25%;
}
.header-bottom  .sub-menu-wrapper > a,
.header-bottom  .sub-menu-wrapper .nav-top-link {
  display: none !important;
}
.header-bottom  .sub-menu-wrapper .nav-top-link {
}
.header-bottom  .menu-item:hover .sub-menu-wrapper {
  opacity: 1;
  visibility: visible;
}
.header-bottom  .menu-item .sub-menu-box {
  background: #fff;
  height: 100%;
  padding: 10px;
  border: 1px solid #dadada;
  border-radius: 0.625rem;
	display: flex;
   flex-wrap: wrap;
}
.header-bottom  .menu-item .sub-menu-item a {
  color: #27272a;
  font-size: 0.9375rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  width: 100%;
  padding: 8px 12px;
  border-radius: 5;
  display: flex;
  align-items: center;
}
.header-bottom  .menu-item .sub-menu-item .sub-menu-level2 {
  margin-left: 0.8rem;
  border-left: 1px solid;
  padding-left: 0.5rem;
}
.header-bottom  .menu-item .sub-menu-item.cat-tivi .sub-menu-level2{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}
.header-bottom  .menu-item .sub-menu-item.cat-tivi .sub-menu-level2 .sub-menu-item-level2{
  width: 50%;
}
.header-bottom  .menu-item .sub-menu-item .sub-menu-level2 a {
  font-size: 14px;
}
.header-bottom  .menu-item .sub-menu-item a:hover {
  background-color: #ebebeb;
  box-shadow: 0 0 0 1px #f58220;
}

.header-bottom  .nav-top-link img {
  width: 1.275rem;
  height: 1.275rem;
  flex-shrink: 0;
  margin-right: 0.88rem;
}
.header-bottom .nav-top-link {
  color: #27272a;
  font-size: 0.9375rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  width: 100%;
  padding: var(--8) var(--12);
  border-radius: var(--5);
  display: flex;
  align-items: center;
  min-height:46px;
}
.header-bottom .nav-top-link:hover {
  background-color: #ebebeb;
/*   box-shadow: 0 0 0 1px #f58220; */
}
.header-bottom .menu-item {
  border: 0;
  margin-bottom: 0;
}
.header-bottom .menu-item:last-child {
  margin-bottom: 0;
}
@media (max-width: 849px) {
  .emono-header .header-main {
    min-height: 64px;
  }

  .emono-header #logo img {
    max-height: 52px;
  }
}
