/* Hello Elementor Header Widget Styles */
.hello_elementor-header {
  position: relative;
  width: 100%;
  display: block;
}
.hello_elementor-header.is-sticky {
  position: sticky;
  top: 0;
  z-index: 999;
}
.hello_elementor-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--tf-header-gap, 16px);
  position: relative; /* para posicionar o painel de categorias */
}
.hello_elementor-header__container {
  max-width: var(--tf-header-container-width, 1200px);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--tf-header-container-padding, 16px);
  padding-right: var(--tf-header-container-padding, 16px);
}

/* Logo */
.hello_elementor-header__logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.hello_elementor-header__logo img { display: block; height: var(--tf-header-logo-height, 32px); width: auto; }
.hello_elementor-header__logo .logo-text { font-weight: 600; }

/* Menu */
.hello_elementor-header__menu-wrap { position: relative; }
.hello_elementor-header__menu {
  display: flex;
  align-items: center;
  gap: var(--tf-header-menu-gap, 24px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.hello_elementor-header__menu li { position: relative; }
.hello_elementor-header__menu a { text-decoration: none; color: var(--tf-header-link-color, inherit); }
.hello_elementor-header__menu a:hover { color: var(--tf-header-link-hover, #2b2b2b); }

/* Right actions */
.hello_elementor-header__actions { display: inline-flex; align-items: center; gap: 12px; }
.hello_elementor-header__search { position: relative; }
.hello_elementor-header__search input[type="search"],
.hello_elementor-header__search input[type="text"] {
  height: var(--tf-header-search-height, 36px);
  padding: 0 12px;
  border: 1px solid var(--tf-header-search-border, #ddd);
  border-radius: var(--tf-header-search-radius, 6px);
  background: var(--tf-header-search-bg, #fff);
  color: var(--tf-header-search-color, inherit);
}

/* Icons */
.hello_elementor-header__icon { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.hello_elementor-header__count { display: inline-block; min-width: 18px; height: 18px; line-height: 18px; text-align: center; font-size: 11px; border-radius: 9px; background: var(--tf-header-count-bg, #ef4444); color: var(--tf-header-count-color, #fff); padding: 0 5px; }

/* Mobile */
.hello_elementor-header__toggle { display: none; cursor: pointer; width: 40px; height: 40px; border: 1px solid var(--tf-header-toggle-border, #ddd); border-radius: 6px; align-items: center; justify-content: center; background: var(--tf-header-toggle-bg, transparent); color: var(--tf-header-toggle-color, inherit); }
.hello_elementor-header__burger { width: 18px; height: 2px; background: currentColor; position: relative; }
.hello_elementor-header__burger::before, .hello_elementor-header__burger::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; }
.hello_elementor-header__burger::before { top: -6px; }
.hello_elementor-header__burger::after { top: 6px; }

@media (max-width: 1024px) {
  .hello_elementor-header__toggle { display: inline-flex; }
  .hello_elementor-header__menu { display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; background: var(--tf-header-mobile-menu-bg, #fff); border: 1px solid var(--tf-header-mobile-menu-border, #eee); border-radius: 8px; padding: 12px; box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
  .hello_elementor-header__menu.is-open { display: flex; }
}

/* Sticky styles */
.hello_elementor-header.is-sticky-enabled { position: sticky; top: 0; }
.hello_elementor-header.is-sticky-enabled.stuck { box-shadow: 0 8px 24px rgba(0,0,0,0.08); background: var(--tf-header-sticky-bg, #fff); }

/* Alignment helpers */
.hello_elementor-header.align-left .hello_elementor-header__inner { justify-content: flex-start; }
.hello_elementor-header.align-center .hello_elementor-header__inner { justify-content: center; }
.hello_elementor-header.align-right .hello_elementor-header__inner { justify-content: flex-end; }

/* Topbar right separators for any inline element (anchors, spans, etc.) */
.hello_elementor-header__topbar-right > * + *::before {
  content: "|";
  display: inline-block;
  color: #d0d0d0;
  margin: 0 10px 0 6px;
}

/* Navegação mais próxima do layout solicitado */
.hello_elementor-header__menu { gap: 20px; }
.hello_elementor-header__menu a {
  text-transform: uppercase;
  letter-spacing: 0.3px;
  font-size: 14px;
  font-weight: 600;
}
/* Divisor inferior sob a linha de navegação */
.hello_elementor-header .hello_elementor-header__container--nav .hello_elementor-header__inner--nav {
  border-bottom: 1px solid #eeeeee;
}

/* Largura mínima do botão de categorias */
.hello_elementor-header__cat-toggle { min-width: 220px; }

/* Topbar */
.hello_elementor-header__topbar {
  background: #f7f7f7;
  color: #666;
  font-size: 13px;
}
.hello_elementor-header__topbar-inner {
  /* ajuste fino de altura para aproximar do layout */
  min-height: 34px;
}
.hello_elementor-header__topbar-right a {
  color: #666;
  text-decoration: none;
  margin-left: 16px;
}
.hello_elementor-header__topbar-right a:hover { color: #333; }

/* Containers e linhas do header */
.hello_elementor-header__container { max-width: var(--tf-header-container-width, 1240px); margin: 0 auto; padding: 0 16px; }
.hello_elementor-header__inner { display: flex; align-items: center; gap: 16px; padding: 12px 0; }
.hello_elementor-header__logo { flex: 0 0 auto; }
.hello_elementor-header__actions { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.hello_elementor-header__icon { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 4px; color: var(--he-color-actions, #333); }
.hello_elementor-header__icon i { font-size: 16px; }
.hello_elementor-header__wishlist i { color: #ff5a5f; }
.hello_elementor-header__compare i { color: #ff9800; }
.hello_elementor-header__count { position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; font-size: 11px; line-height: 18px; text-align: center; color: #fff; background-color: #ff5a00; }

/* Login/Register texto */
.hello_elementor-header__login-text { font-size: 13px; font-weight: 600; color: #333; letter-spacing: .2px; margin-left: 4px; }
.hello_elementor-header__login-text:hover { color: #ff5a00; }

/* Hotline */
.hello_elementor-header__hotline { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; background: #fff5e6; border: 1px solid #ffd6a5; border-radius: 4px; color: #d97900; font-size: 13px; font-weight: 600; }
.hello_elementor-header__hotline i { color: #ff9800; font-size: 14px; }

/* Carrinho com rótulo e total */
.hello_elementor-header__cart { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 6px 10px; background: #fff5e6; border: 1px solid #ffd6a5; border-radius: 4px; color: #333; }
.hello_elementor-header__cart i { color: #ff9800; }
.hello_elementor-header__cart-label { font-size: 13px; font-weight: 700; color: #333; text-transform: uppercase; letter-spacing: .3px; }
.hello_elementor-header__cart-amount { font-size: 13px; font-weight: 600; color: #ff5a00; }

/* Ajustes do topo e barra de navegação */
.hello_elementor-header__topbar { background: #f5f5f5; font-size: 12px; color: #555; }
.hello_elementor-header__topbar-inner { display: flex; align-items: center; justify-content: space-between; padding: 6px 0; }
.hello_elementor-header__topbar-right a { margin-left: 14px; color: #555; }
.hello_elementor-header__topbar-right a:hover { color: #ff5a00; }

.hello_elementor-header__inner { display: flex; align-items: center; gap: 20px; padding: 14px 0; }

/* Categorias toggle */
.hello_elementor-header__cat-wrap { display: flex; align-items: stretch; }
.hello_elementor-header__cat-toggle { display: inline-flex; align-items: center; gap: 10px; padding: 10px 12px; background: #ff9800; color: #fff; font-weight: 700; border-radius: 4px; }
.hello_elementor-header__cat-toggle i { font-size: 16px; }
.hello_elementor-header__cat-panel { position: absolute; top: 100%; left: 0; background: #fff; border: 1px solid #eee; box-shadow: 0 10px 30px rgba(0,0,0,.08); width: 260px; z-index: 9; }
.hello_elementor-header__cat-list { list-style: none; margin: 0; padding: 10px; }
.hello_elementor-header__cat-list li a { display: block; padding: 8px 10px; color: #333; }
.hello_elementor-header__cat-list li a:hover { background: #f9f9f9; color: #ff5a00; }

/* Navegação */
.hello_elementor-header__container--nav { border-bottom: 1px solid #eee; }
.hello_elementor-header__inner--nav { display: flex; align-items: center; gap: 20px; padding: 8px 0; }
.hello_elementor-header__nav .menu > li > a { text-transform: uppercase; font-size: 14px; letter-spacing: .3px; font-weight: 600; color: #333; padding: 10px 12px; }
.hello_elementor-header__nav .menu > li > a:hover { color: #ff5a00; }

/* Responsivo básico */
@media (max-width: 992px) {
  .hello_elementor-header__inner { padding: 10px 0; }
  .hello_elementor-header__actions { gap: 12px; }
  .hello_elementor-header__cart, .hello_elementor-header__hotline { padding: 6px 8px; }
}

/* Botão de categorias + painel */
.hello_elementor-header__cat-wrap { position: relative; flex: 0 0 auto; }
.hello_elementor-header__cat-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ff8a00;
  color: #fff;
  border-radius: 4px;
  height: 44px;
  padding: 0 16px;
  font-weight: 600;
  text-transform: uppercase;
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
  cursor: pointer;
}
.hello_elementor-header__cat-toggle i { color: #fff; }
.hello_elementor-header__cat-toggle[aria-expanded="true"] { box-shadow: 0 4px 12px rgba(0,0,0,.12); }

.hello_elementor-header__cat-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 260px;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  display: none;
  z-index: 1000;
}
.hello_elementor-header__cat-panel.is-open { display: block; }
.hello_elementor-header__cat-list { list-style: none; margin: 0; padding: 6px; max-height: 60vh; overflow: auto; }
.hello_elementor-header__cat-list li a { display: block; padding: 10px 12px; border-radius: 4px; color: #333; text-decoration: none; }
.hello_elementor-header__cat-list li a:hover { background: #f7f7f7; color: #000; }

/* Barra de busca com seletor de categorias */
.hello_elementor-header__searchbar { flex: 1 1 540px; display: flex; align-items: stretch; border: 2px solid #ff8a00; border-radius: 6px; overflow: hidden; max-width: 680px; }
.hello_elementor-header__searchbar-select select { height: 44px; border: none; padding: 0 12px; background: #fff; color: #333; min-width: 180px; }
.hello_elementor-header__searchbar-input input { height: 44px; border: none; padding: 0 14px; width: 100%; }
.hello_elementor-header__searchbar-submit button { height: 44px; width: 48px; background: #ff8a00; color: #fff; border: none; display: inline-flex; align-items: center; justify-content: center; }
.hello_elementor-header__searchbar-submit button:hover { filter: brightness(0.95); }

/* Navegação */
.hello_elementor-header__nav { display: flex; align-items: center; gap: 16px; padding-bottom: 10px; }
.hello_elementor-header__menu-wrap { flex: 1; }
.hello_elementor-header__menu { display: flex; gap: 18px; }
.hello_elementor-header__menu a { color: #333; text-decoration: none; font-weight: 600; text-transform: uppercase; letter-spacing: 0.3px; font-size: 14px; }
.hello_elementor-header__menu a:hover { color: #ff8a00; }

/* Tagbar */
.hello_elementor-header__tagbar { background: #f7f7f7; }
.hello_elementor-header__tags { display: flex; align-items: center; gap: 8px; padding: 8px 0; flex-wrap: wrap; }
.hello_elementor-header__tag-label { color: #333; font-weight: 600; margin-right: 6px; }
.hello_elementor-header__tag { display: inline-flex; align-items: center; padding: 6px 10px; border: 1px solid #e0e0e0; border-radius: 999px; color: #666; text-decoration: none; font-size: 13px; }
.hello_elementor-header__tag:hover { border-color: #ff8a00; background: #fff5e8; color: #ff8a00; }

/* Sticky */
.hello_elementor-header.is-sticky-enabled.stuck { box-shadow: 0 6px 18px rgba(0,0,0,.12); background: #fff; }

/* Currency & Language (Topbar) */
.hello_elementor-header__currency,
.hello_elementor-header__language {
  display: inline-block;
  margin-left: 14px;
  color: #555;
  font-size: 12px;
  text-decoration: none;
  cursor: default;
}
.hello_elementor-header__currency:hover,
.hello_elementor-header__language:hover { color: #ff5a00; }
/* Topbar right container layout */
.hello_elementor-header__topbar-right {
  display: inline-flex;
  align-items: center;
}
/* Avoid double spacing for anchors since we use separators */
.hello_elementor-header__topbar-right > a { margin-left: 0; }
.hello_elementor-header__topbar-right a:hover { color: #333; }

.hello_elementor-header__inner { display: flex; align-items: center; gap: 20px; padding: 14px 0; }

/* Categorias toggle */
.hello_elementor-header__cat-wrap { display: flex; align-items: stretch; }
.hello_elementor-header__cat-toggle { display: inline-flex; align-items: center; gap: 10px; padding: 10px 12px; background: #ff9800; color: #fff; font-weight: 700; border-radius: 4px; }
.hello_elementor-header__cat-toggle i { font-size: 16px; }
.hello_elementor-header__cat-panel { position: absolute; top: 100%; left: 0; background: #fff; border: 1px solid #eee; box-shadow: 0 10px 30px rgba(0,0,0,.08); width: 260px; z-index: 9; }
.hello_elementor-header__cat-list { list-style: none; margin: 0; padding: 10px; }
.hello_elementor-header__cat-list li a { display: block; padding: 8px 10px; color: #333; }
.hello_elementor-header__cat-list li a:hover { background: #f9f9f9; color: #ff5a00; }

/* Navegação */
.hello_elementor-header__container--nav { border-bottom: 1px solid #eee; }
.hello_elementor-header__inner--nav { display: flex; align-items: center; gap: 20px; padding: 8px 0; }
.hello_elementor-header__nav .menu > li > a { text-transform: uppercase; font-size: 14px; letter-spacing: .3px; font-weight: 600; color: #333; padding: 10px 12px; }
.hello_elementor-header__nav .menu > li > a:hover { color: #ff5a00; }

/* Responsivo básico */
@media (max-width: 992px) {
  .hello_elementor-header__inner { padding: 10px 0; }
  .hello_elementor-header__actions { gap: 12px; }
  .hello_elementor-header__cart, .hello_elementor-header__hotline { padding: 6px 8px; }
}

/* Botão de categorias + painel */
.hello_elementor-header__cat-wrap { position: relative; flex: 0 0 auto; }
.hello_elementor-header__cat-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ff8a00;
  color: #fff;
  border-radius: 4px;
  height: 44px;
  padding: 0 16px;
  font-weight: 600;
  text-transform: uppercase;
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
  cursor: pointer;
}
.hello_elementor-header__cat-toggle i { color: #fff; }
.hello_elementor-header__cat-toggle[aria-expanded="true"] { box-shadow: 0 4px 12px rgba(0,0,0,.12); }

.hello_elementor-header__cat-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 260px;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  display: none;
  z-index: 1000;
}
.hello_elementor-header__cat-panel.is-open { display: block; }
.hello_elementor-header__cat-list { list-style: none; margin: 0; padding: 6px; max-height: 60vh; overflow: auto; }
.hello_elementor-header__cat-list li a { display: block; padding: 10px 12px; border-radius: 4px; color: #333; text-decoration: none; }
.hello_elementor-header__cat-list li a:hover { background: #f7f7f7; color: #000; }

/* Barra de busca com seletor de categorias */
.hello_elementor-header__searchbar { flex: 1 1 540px; display: flex; align-items: stretch; border: 2px solid #ff8a00; border-radius: 6px; overflow: hidden; max-width: 680px; }
.hello_elementor-header__searchbar-select select { height: 44px; border: none; padding: 0 12px; background: #fff; color: #333; min-width: 180px; }
.hello_elementor-header__searchbar-input input { height: 44px; border: none; padding: 0 14px; width: 100%; }
.hello_elementor-header__searchbar-submit button { height: 44px; width: 48px; background: #ff8a00; color: #fff; border: none; display: inline-flex; align-items: center; justify-content: center; }
.hello_elementor-header__searchbar-submit button:hover { filter: brightness(0.95); }

/* Navegação */
.hello_elementor-header__nav { display: flex; align-items: center; gap: 16px; padding-bottom: 10px; }
.hello_elementor-header__menu-wrap { flex: 1; }
.hello_elementor-header__menu { display: flex; gap: 18px; }
.hello_elementor-header__menu a { color: #333; text-decoration: none; font-weight: 600; text-transform: uppercase; letter-spacing: 0.3px; font-size: 14px; }
.hello_elementor-header__menu a:hover { color: #ff8a00; }

/* Tagbar */
.hello_elementor-header__tagbar { background: #f7f7f7; }
.hello_elementor-header__tags { display: flex; align-items: center; gap: 8px; padding: 8px 0; flex-wrap: wrap; }
.hello_elementor-header__tag-label { color: #333; font-weight: 600; margin-right: 6px; }
.hello_elementor-header__tag { display: inline-flex; align-items: center; padding: 6px 10px; border: 1px solid #e0e0e0; border-radius: 999px; color: #666; text-decoration: none; font-size: 13px; }
.hello_elementor-header__tag:hover { border-color: #ff8a00; background: #fff5e8; color: #ff8a00; }

/* Sticky */
.hello_elementor-header.is-sticky-enabled.stuck { box-shadow: 0 6px 18px rgba(0,0,0,.12); background: #fff; }

/* Currency & Language (Topbar) */
.hello_elementor-header__currency,
.hello_elementor-header__language {
  display: inline-block;
  margin-left: 14px;
  color: #555;
  font-size: 12px;
  text-decoration: none;
  cursor: default;
}
.hello_elementor-header__currency:hover,
.hello_elementor-header__language:hover { color: #ff5a00; }