/* =========================================================
   /includes/armazenato_css/header_style.css
   Layout baseado no seu header atual (mesmo visual)
   Prefixo: haz
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root{
  --haz-white:#fff;
  --haz-text:#111;
  --haz-muted:#6b7280;
  --haz-line:#EAEAEA;
  --haz-soft:#f4f4f4;
  --haz-orange:#ff6a00;
  --haz-container:1400px;
  --haz-font:"Poppins",system-ui,-apple-system,Arial,sans-serif;
  --haz-nav-size:16px;
  --haz-nav-weight:500;
  --haz-nav-lh:22px;
}

/* Reset escopado */
#hazHeader, #hazHeader * {
  box-sizing:border-box;
  font-family:var(--haz-font) !important;
}
#hazHeader a, #hazHeader button, #hazHeader select, #hazHeader input {
  font: inherit;
}
#hazHeader button {
  -webkit-appearance:none;
  appearance:none;
}
#hazHeader img{
  display:block;
  max-width:100%;
}

/* Base */
.hazH{
  position:sticky;
  top:0;
  z-index:99999;
  overflow:visible;
  background:var(--haz-white);
  border-bottom:1px solid var(--haz-line);
  color:var(--haz-text);
}

.hazWrap{
  max-width:var(--haz-container);
  margin:0 auto;
  padding:12px 16px;
  overflow:visible;
}

.hazTop{
  position:relative;
  z-index:20;
  display:flex;
  align-items:center;
  gap:16px;
  overflow:visible;
}


/* Brand */
.hazBrand{
  position:relative;
  z-index:1;
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  width:auto;
  max-width:max-content;
}
.hazBrand::before,
.hazBrand::after{
  pointer-events:none;
}
.hazBrand img{
  width:180px;
  height:auto;
  display:block;
}

/* ✅ BUSCA PREMIUM / MARKETPLACE */
.hazSearchArea{
  position:relative;
  z-index:30;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  flex:1 1 auto;
  min-width:0;
  gap:0;
  height:52px;
  margin:0 6px 0 30px;
  padding:0 8px 0 0;
  background:#FFFFFF;
  border:1px solid #ECECEC;
  border-radius:999px;
  box-shadow:0 2px 8px rgba(0,0,0,.04);
  transition:border-color .18s ease, box-shadow .18s ease;
}
.hazSearchArea:focus-within{
  border-color:var(--haz-orange);
  box-shadow:0 2px 10px rgba(255,106,0,.10);
}
.hazCategorySelect{
  flex:0 0 auto;
  align-self:stretch;
  min-width:124px;
  height:auto;
  margin:4px 0;
  padding:0 34px 0 18px;
  border:0;
  border-right:1px solid #EEEEEE;
  border-radius:999px 0 0 999px;
  position:relative;
  z-index:1;
  background-color:transparent;
  color:#2b2b2b;
  cursor:pointer;
  font-size:15px;
  font-weight:500;
  line-height:1;
  outline:none;
  appearance:none;
  -webkit-appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5 1.75L6 6.25L10.5 1.75' fill='none' stroke='%236b7280' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 16px center;
  transition:background-color .18s ease;
}
.hazCategorySelect:hover{
  background-color:rgba(248,248,248,.82);
}
.hazCategorySelect option{
  background:#fff;
  color:#2b2b2b;
}
.hazSearchWrap{
  flex:1 1 auto;
  min-width:0;
  max-width:none;
  display:flex;
  align-items:center;
}
.hazSearchForm{
  width:100%;
  position:relative;
  display:flex;
  align-items:center;
}
.hazSearchInput{
  width:100%;
  height:50px;
  padding:0 52px 0 18px;
  border:0;
  border-radius:0;
  font-size:16px;
  background:transparent;
  color:#111827;
  outline:none;
  box-shadow:none;
}
.hazSearchInput::placeholder{
  color:#A7A7A7;
}
.hazSearchBtn{
  position:absolute;
  right:2px;
  top:50%;
  transform:translateY(-50%);
  width:40px;
  height:40px;
  border:0;
  border-radius:999px;
  background:transparent;
  color:var(--haz-orange);
  display:grid;
  place-items:center;
  cursor:pointer;
  transition:opacity .18s ease;
}
.hazSearchBtn:hover{
  opacity:.78;
}
/* ✅ ÍCONES AGRUPADOS */
.hazActions{
  position:relative;
  z-index:50;
  overflow:visible;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  min-width:fit-content;
}
.hazActionsGuest{
  margin-left:0;
}
.hazActionsLogged{
  gap:10px;
}

.hazAuthLink{
  text-decoration:none;
  color:inherit;
  font-size:14px;
}
.hazAuthSep{
  color:var(--haz-muted);
}
.hazAuthLinkAccent{
  color:var(--haz-orange);
  font-weight:600;
}

.hazIcon{
  position:relative;
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  border-radius:12px;
  color:inherit;
  text-decoration:none;
  transition: background .2s;
}
.hazIcon:hover{
  background:rgba(0,0,0,.04);
}

.hazIcoImg{
  width:27px;
  height:27px;
  display:block;
  object-fit:contain;
}

/* ✅ CONTADOR (BADGE) */
.hazCounter{
  position:absolute;
  top:4px;
  right:4px;
  background:#ef4444;
  color:#fff;
  font-size:10px;
  font-weight:700;
  min-width:18px;
  height:18px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  border:2px solid #fff;
  line-height:1;
}

/* Usuário */
.hazUser{
  position:relative;
  z-index:60;
  margin-left:12px;
  overflow:visible;
}
.hazUserBtn{
  display:flex;
  align-items:center;
  gap:10px;
  border:0;
  background:transparent;
  cursor:pointer;
  padding:6px 10px;
  border-radius:999px;
  font-size:15px;
  font-weight:500;
}
.hazUserBtn:hover{
  background:rgba(0,0,0,.03);
}
.hazAvatar{
  width:35px;
  height:35px;
  border-radius:999px;
  overflow:hidden;
  background:var(--haz-orange);
  border:1px solid var(--haz-orange);
  display:grid;
  place-items:center;
  font-weight:600;
  color:#fff;
}
.hazAvatar img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.hazUserName{
  font-size:15px;
  font-weight:500;
  line-height:20px;
  max-width:180px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* Menu usuário */
.hazMenu,
[data-haz-menu="userMenu"]{
  position:absolute;
  right:0;
  top:calc(100% + 8px);
  width:290px;
  background:#fff;
  border:1px solid var(--haz-line);
  border-radius:14px;
  box-shadow:0 14px 30px rgba(0,0,0,.1);
  padding:8px;
  display:none;
  z-index:999999;
  opacity:1;
  max-height:calc(100vh - 90px);
  max-height:calc(100dvh - 90px);
  overflow-x:hidden;
  overflow-y:auto;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
  scrollbar-width:thin;
  pointer-events:none;
}
.hazMenu::-webkit-scrollbar{
  width:6px;
}
.hazMenu::-webkit-scrollbar-thumb{
  background:rgba(90,45,150,.35);
  border-radius:999px;
}
.hazMenu::-webkit-scrollbar-track{
  background:transparent;
}
.hazMenu.open{
  display:block;
  pointer-events:auto;
}
.hazMenu a,
.hazMenu button{
  display:block;
  width:100%;
  padding:12px;
  border-radius:10px;
  text-decoration:none;
  color:inherit;
  font-size:14px;
  font-weight:500;
  border:0;
  background:none;
  cursor:pointer;
  text-align:left;
  border-bottom:1px solid var(--haz-line);
}
.hazMenu a:hover,
.hazMenu button:hover{
  background:rgba(0,0,0,0.03);
}
.hazMenu a:last-child,
.hazMenu button:last-child{
  border-bottom:0;
}
.hazMenuDivider{
  height:1px;
  background:var(--haz-line);
  margin:8px 0;
}
.hazMenuLabel{
  padding:8px 12px;
  font-size:11px;
  color:var(--haz-muted);
  text-transform:uppercase;
  font-weight:700;
  letter-spacing:.5px;
}
.hazMenuBtnOk{
  color:#0f766e !important;
}
.hazMenuBtnDanger{
  color:#b91c1c !important;
}

/* Barra offline */
.hazOfflineBar{
  max-width:var(--haz-container);
  margin:10px auto 0;
  padding:10px 16px;
  border:1px solid #ffe1c7;
  background:#fff7ed;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  color:#7c2d12;
  font-size:14px;
  font-weight:600;
}
.hazOfflineBtn{
  border:0;
  background:var(--haz-orange);
  color:#fff;
  padding:10px 12px;
  border-radius:10px;
  cursor:pointer;
  font-weight:700;
}

/* Barra nav */
.hazBar{
  position:relative;
  z-index:10;
  margin-top:10px;
  padding-top:10px;
  border-top:1px solid var(--haz-line);
  overflow:visible;
}
.hazNav{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  position:relative;
  z-index:10;
  gap:14px;
  min-height:45px;
  flex-wrap:wrap;
  overflow:visible;
}

.hazNavLink,
.hazDropBtn{
  font-size:var(--haz-nav-size) !important;
  font-weight:var(--haz-nav-weight) !important;
  line-height:var(--haz-nav-lh) !important;
  white-space:nowrap;
  color:var(--haz-text);
  text-decoration:none;
  padding:8px 12px;
  border-radius:999px;
  display:inline-flex;
  position:relative;
  z-index:6;
  pointer-events:auto;
  align-items:center;
  gap:8px;
  background:transparent;
}
.hazNavLink:hover,
.hazDropBtn:hover{
  background:rgba(0,0,0,.04);
}


.hazNavRight{
  margin-left:auto;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:14px;
  flex-wrap:wrap;
  min-height:32px;
}
.hazPublicLinks,
.hazSocialLinks{
  display:flex;
  align-items:center;
  gap:6px;
  flex-wrap:wrap;
  min-height:32px;
}
.hazSocialLinks{
  gap:4px;
}
.hazSocialLinks a{
  width:32px;
  height:32px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 32px;
  color:#6B7280;
  border-radius:999px;
  text-decoration:none;
  line-height:1;
  transition:color .2s ease, background-color .2s ease;
}
.hazSocialLinks a:hover{
  color:#FF6A00;
  background:#F8F9FA;
}
.hazSocialLinks svg{
  width:18px;
  height:18px;
  display:block;
  fill:currentColor;
  flex:0 0 18px;
}

/* Dropdown nav */
.hazDropBtn{
  border:0;
  cursor:pointer;
}
.hazDrop{
  position:relative;
}
.hazDropMenu{
  position:absolute;
  top:calc(100% + 10px);
  left:0;
  min-width:260px;
  background:#fff;
  border:1px solid var(--haz-line);
  border-radius:14px;
  box-shadow:0 14px 30px rgba(0,0,0,.12);
  padding:8px;
  display:none;
  z-index:9999;
  pointer-events:none;
}
.hazDropMenu.open{
  display:block;
  pointer-events:auto;
}
.hazDropMenu a{
  display:block;
  padding:12px;
  border-radius:10px;
  text-decoration:none;
  color:var(--haz-text);
  font-size:14px;
  font-weight:600;
  border-bottom:1px solid var(--haz-line);
}
.hazDropMenu a:last-child{
  border-bottom:0;
}
.hazDropMenu a:hover{
  background:rgba(0,0,0,.03);
}

/* Botão e mega menu de Categorias
   APROVADO / CONGELADO: não alterar visualmente sem solicitação explícita.
   Preservar: 6 colunas, 3 linhas, 18 categorias, fundo branco, sem sombras,
   bordas suaves, responsividade e comportamento atual de abertura/fechamento. */
.hazCategoryContainer{
  margin-right:auto;
}
.hazCategoryBtn{
  border:0;
  background:transparent;
  cursor:pointer;
  padding:8px 12px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:var(--haz-nav-size);
  font-weight:400;
  line-height:var(--haz-nav-lh);
  color:#4B5563;
}
.hazCategoryBtn svg{
  width:20px;
  height:20px;
  stroke-width:1.6;
  flex-shrink:0;
  transition:color .15s ease;
}
.hazCategoryIcon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:20px;
  height:20px;
  flex-shrink:0;
  color:currentColor;
  font-size:20px;
  font-weight:400;
  line-height:1;
}
.hazCategoryBtn:hover{
  background:rgba(0,0,0,.04);
  color:#374151;
  font-weight:400;
}
.hazCategoryDropdown{
  display:none;
  position:absolute;
  top:calc(100% + 10px);
  left:50%;
  right:auto;
  width:calc(100vw - 48px);
  max-width:1660px;
  margin:0;
  transform:translateX(-50%);
  background:rgba(255,255,255,0.96);
  border:1px solid #E5E7EB;
  border-radius:18px;
  box-shadow:none;
  padding:14px 16px 12px;
  z-index:9998;
  pointer-events:none;
  max-height:min(65vh, 520px);
  overflow-y:auto;
  overflow-x:hidden;
  overscroll-behavior:contain;
}
.hazCategoryDropdown.open{
  display:block;
  pointer-events:auto;
}
.hazCategoryDropdownInner{
  display:grid;
  grid-template-columns:repeat(6, minmax(190px, 1fr));
  gap:0 18px;
  overflow:visible;
}
.hazDigitalCategoryContainer{margin-right:0}
.hazCategoryColumn{
  display:flex;
  flex-direction:column;
  gap:8px;
  min-width:0;
  text-align:left;
}
.hazCategoryItem,
.hazCategoryItem a,
.hazCategoryColumn a{
  display:flex;
  align-items:center;
  gap:0;
  min-width:0;
  padding:6px 0 !important;
  text-decoration:none;
  color:var(--haz-text);
  background:transparent !important;
  font-size:14px;
  font-weight:400;
  line-height:1.24;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  outline:0 !important;
  transition:color .15s ease;
}
.hazCategoryItem:hover,
.hazCategoryItem a:hover,
.hazCategoryColumn a:hover{
  background:transparent !important;
  color:#ff6a00 !important;
  font-weight:400;
}
.hazCategoryText{
  min-width:0;
  overflow-wrap:normal;
  word-break:normal;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.hazCategoryEmpty{
  color:var(--haz-muted);
  font-size:14px;
  padding:12px;
}
.hazCategoryFoot{
  border-top:1px solid rgba(15,23,42,.08);
  margin-top:10px;
  padding-top:10px;
  text-align:right;
}
.hazCategoryFoot a{
  color:var(--haz-orange);
  display:inline-flex;
  align-items:center;
  justify-content:flex-end;
  font-size:14px;
  font-weight:700;
  padding:8px 10px;
  text-decoration:none;
}
.hazCategoryFoot a:hover{
  text-decoration:underline;
}

/* Responsivo */
@media (max-width: 1100px){
  .hazSearchArea{
    margin:0 14px;
  }
  .hazBrand img{
    width:160px;
  }
}

@media (max-width: 920px){
  .hazTop{
    flex-wrap:wrap;
    gap:10px;
  }

  .hazBrand{
    order:1;
  }

  .hazActions{
    order:2;
    margin-left:auto;
  }

  .hazSearchArea{
    order:3;
    width:100%;
    flex:1 1 100%;
    margin:0;
  }

  .hazNav{
    justify-content:flex-start;
  }

  .hazCategoryDropdownInner{
    grid-template-columns:repeat(3, minmax(190px, 1fr));
  }
}

@media (max-width: 640px){
  .hazWrap{
    padding:10px 10px;
  }

  .hazBrand img{
    width:140px;
  }

  .hazIcon{
    width:42px;
    height:42px;
  }

  .hazIcoImg{
    width:22px;
    height:22px;
  }

  .hazSearchArea{
    height:48px;
    padding-right:6px;
  }

  .hazCategorySelect{
    min-width:104px;
    font-size:13px;
    padding:0 26px 0 12px;
    background-position:right 10px center;
  }

  .hazSearchInput{
    height:46px;
    font-size:15px;
    padding:0 44px 0 12px;
  }

  .hazSearchBtn{
    width:36px;
    height:36px;
  }

  .hazUserName{
    display:none;
  }

  .hazUser{
    margin-left:4px;
  }

  .hazNav{
    gap:8px;
    justify-content:flex-start;
    padding-left:0;
    min-height:auto;
  }

  .hazNavRight{
    width:100%;
    justify-content:flex-start;
    gap:8px;
  }

  .hazPublicLinks{
    gap:2px;
  }

  .hazSocialLinks a{
    width:32px;
    height:32px;
    flex-basis:32px;
  }

  .hazCategoryDropdown{
    top:calc(100% + 8px);
    left:50%;
    right:auto;
    width:calc(100vw - 20px);
    max-width:none;
    padding:12px;
  }

  .hazCategoryDropdownInner{
    grid-template-columns:repeat(2, minmax(150px, 1fr));
    gap:10px 12px;
    max-height:300px;
    overflow-y:auto;
    padding-right:2px;
  }

  .hazCategoryColumn a{
    height:58px;
    font-size:14px;
  }

  .hazCategoryText{
    white-space:normal;
  }

  .hazOfflineBar{
    flex-direction:column;
    align-items:stretch;
  }

  .hazOfflineBtn{
    width:100%;
  }

  .hazMenu,
  .hazDropMenu{
    width:min(92vw, 290px);
  }
}

@media (max-width: 420px){
  .hazCategorySelect{
    min-width:92px;
    max-width:96px;
  }
}

/* Header pública sólida, sem blur/backdrop/translucidez */
.hazH{
  background:#fff;
  border-bottom:1px solid var(--haz-line);
  box-shadow:none;
}
.hazCategoryDropdown{
  background:#fff;
  border:1px solid var(--haz-line);
  box-shadow:none;
}
.hazNavCta{background:#fff7ed;color:var(--haz-orange);border:1px solid #fed7aa}
.hazSellLink{background:#111827;color:#fff}
.hazSellLink:hover{background:#1f2937;color:#fff}

/* Dropdown compacto de conversas do header */
.hazMessageDrop{
  position:relative;
  z-index:70;
}
.hazIconButton{
  border:0;
  background:transparent;
  cursor:pointer;
  font:inherit;
}
.hazMessagesMenu{
  position:absolute;
  right:0;
  top:calc(100% + 10px);
  width:min(380px, calc(100vw - 24px));
  background:#fff;
  border:1px solid var(--haz-line);
  border-radius:18px;
  box-shadow:0 18px 42px rgba(15,23,42,.16);
  display:none;
  overflow:hidden;
  z-index:999999;
}
.hazMessagesMenu.open{
  display:block;
}
.hazMessagesMenuHead{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px 16px 12px;
  border-bottom:1px solid #f1f5f9;
}
.hazMessagesMenuHead strong{
  color:#0f172a;
  font-size:15px;
}
.hazMessagesMenuHead span{
  color:#ef4444;
  font-size:12px;
  font-weight:800;
}
.hazMessagesList{
  max-height:624px;
  overflow-y:auto;
  overscroll-behavior:contain;
}
.hazMessageItem{
  display:grid;
  grid-template-columns:52px minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  padding:12px 14px;
  color:#0f172a;
  text-decoration:none;
  border-bottom:1px solid #f1f5f9;
  transition:background-color .18s ease;
}
.hazMessageItem:hover{
  background:#f8fafc;
}
.hazMessageThumb{
  width:52px;
  height:52px;
  border-radius:12px;
  overflow:hidden;
  background:#fff7ed;
  border:1px solid #f1f5f9;
}
.hazMessageThumb img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}
.hazMessageItemText{
  min-width:0;
  display:grid;
  gap:3px;
}
.hazMessageItemText strong,
.hazMessageAction,
.hazMessageItemText time{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.hazMessageItemText strong{
  font-size:13px;
  font-weight:800;
}
.hazMessageAction{
  color:#475569;
  font-size:12px;
}
.hazMessageAction em{
  color:#334155;
  font-style:normal;
  font-weight:700;
}
.hazMessageItemText time{
  color:#94a3b8;
  font-size:11px;
}
.hazMessageItemMeta{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  min-width:24px;
}
.hazMessageItemMeta b{
  min-width:20px;
  height:20px;
  padding:0 6px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#ef4444;
  color:#fff;
  font-size:11px;
  font-weight:800;
}
.hazMessagesEmpty{
  padding:22px 16px;
  text-align:center;
  color:#64748b;
  font-size:13px;
}
.hazMessagesAll{
  display:flex;
  justify-content:center;
  padding:13px 16px;
  border-top:1px solid #f1f5f9;
  color:var(--haz-orange);
  text-decoration:none;
  font-size:13px;
  font-weight:800;
}
.hazMessagesAll:hover{
  background:#fff7ed;
}
@media(max-width:640px){
  .hazMessagesMenu{
    right:-92px;
  }
  .hazMessagesList{
    max-height:70vh;
  }
  .hazMessageItem{
    grid-template-columns:48px minmax(0,1fr) auto;
  }
  .hazMessageThumb{
    width:48px;
    height:48px;
  }
}

/* Busca: autocomplete e recentes */
.hazSearchSuggest{
  display:none;
  position:absolute;
  z-index:1200;
  top:calc(100% + 8px);
  left:0;
  right:0;
  background:#fff;
  border:1px solid #E5E7EB;
  border-radius:16px;
  box-shadow:0 18px 45px rgba(17,24,39,.14);
  overflow:hidden;
  text-align:left;
}
.hazSearchSuggest.open{display:block;}
.hazSuggestTitle,.hazSuggestLoading{
  padding:10px 14px;
  color:#6B7280;
  font-size:12px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.05em;
}
.hazSuggestItem,.hazSuggestRecent{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  color:#111827;
  text-decoration:none;
  border-top:1px solid #F3F4F6;
}
.hazSuggestItem:hover,.hazSuggestRecent:hover{background:#F9FAFB;}
.hazSuggestItem img{
  width:42px;
  height:42px;
  border-radius:10px;
  object-fit:cover;
  background:#F3F4F6;
  flex:0 0 auto;
}
.hazSuggestItem span{display:flex;flex-direction:column;min-width:0;}
.hazSuggestItem strong{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.hazSuggestItem small{font-size:12px;color:#6B7280;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.hazSuggestRecent{font-size:14px;font-weight:700;}

/* Estabilização definitiva de altura/alinhamento do header e busca */
#hazHeader{
  --haz-top-height:72px;
  --haz-menu-height:60px;
  --haz-search-height:52px;
  display:block;
  box-sizing:border-box;
  margin-top:0;
  margin-bottom:0;
  padding-top:0;
  padding-bottom:0;
}
#hazHeader .hazWrap{
  padding:0 16px;
  margin-top:0;
  margin-bottom:0;
  box-sizing:border-box;
  overflow:visible;
}
#hazHeader .hazTop{
  display:flex;
  height:var(--haz-top-height);
  min-height:var(--haz-top-height);
  max-height:var(--haz-top-height);
  align-items:center;
  margin-top:0;
  margin-bottom:0;
  padding-top:0;
  padding-bottom:0;
  box-sizing:border-box;
  overflow:visible;
}
#hazHeader .hazBar{
  height:var(--haz-menu-height);
  min-height:var(--haz-menu-height);
  max-height:var(--haz-menu-height);
  margin-top:0;
  margin-bottom:0;
  padding-top:0;
  padding-bottom:0;
  display:flex;
  align-items:center;
  box-sizing:border-box;
  overflow:visible;
}
#hazHeader .hazNav{
  width:100%;
  height:var(--haz-menu-height);
  min-height:var(--haz-menu-height);
  max-height:var(--haz-menu-height);
  align-items:center;
  flex-wrap:nowrap;
  margin-top:0;
  margin-bottom:0;
  padding-top:0;
  padding-bottom:0;
  overflow:visible;
}
#hazHeader .hazBrand,
#hazHeader .hazActions,
#hazHeader .hazUser,
#hazHeader .hazUserBtn,
#hazHeader .hazSearchArea,
#hazHeader .hazSearchWrap,
#hazHeader .hazSearchForm,
#hazHeader .hazNavLink,
#hazHeader .hazDropBtn,
#hazHeader .hazCategoryBtn,
#hazHeader .hazNavRight,
#hazHeader .hazPublicLinks,
#hazHeader .hazSocialLinks{
  align-items:center;
  margin-top:0;
  margin-bottom:0;
  box-sizing:border-box;
}
#hazHeader .hazBrand img{
  width:198px;
  height:57.2px;
  max-height:57.2px;
  object-fit:contain;
}
#hazHeader .hazSearchArea{
  height:var(--haz-search-height);
  min-height:var(--haz-search-height);
  max-height:var(--haz-search-height);
  flex:1 1 auto;
  box-sizing:border-box;
  position:relative;
  overflow:visible;
}
#hazHeader .hazSearchWrap,
#hazHeader .hazSearchForm{
  height:var(--haz-search-height);
  min-height:var(--haz-search-height);
  max-height:var(--haz-search-height);
  position:relative;
  overflow:visible;
}
#hazHeader .hazCategorySelect,
#hazHeader .hazSearchInput{
  height:var(--haz-search-height);
  min-height:var(--haz-search-height);
  max-height:var(--haz-search-height);
  margin-top:0;
  margin-bottom:0;
  box-sizing:border-box;
}
#hazHeader .hazSearchBtn{
  width:40px;
  height:40px;
  min-width:40px;
  min-height:40px;
  max-width:40px;
  max-height:40px;
}
#hazHeader .hazIcon,
#hazHeader .hazUserBtn{
  width:48px;
  height:48px;
  min-height:48px;
  max-height:48px;
}
#hazHeader .hazUserBtn{
  width:auto;
  justify-content:center;
}
#hazHeader .hazAvatar{
  width:35px;
  height:35px;
  min-width:35px;
  min-height:35px;
}
#hazHeader .hazIcoImg{
  width:27px;
  height:27px;
  min-width:27px;
  min-height:27px;
}
#hazHeader .hazSearchSuggest,
#hazHeader .hazMenu,
#hazHeader .hazDropMenu,
#hazHeader .hazCategoryDropdown{
  position:absolute;
  margin-top:0;
  margin-bottom:0;
}
#hazHeader .hazSearchSuggest{
  top:calc(100% + 8px);
  left:0;
  right:0;
  width:100%;
  z-index:999999;
}

@media (max-width:920px){
  #hazHeader .hazTop{
    height:var(--haz-top-height);
    min-height:var(--haz-top-height);
    max-height:var(--haz-top-height);
    padding:0;
  }
  #hazHeader .hazNav{
    flex-wrap:nowrap;
  }
}

@media (max-width:640px){
  #hazHeader .hazWrap{
    padding:0 10px;
  }
  #hazHeader .hazBrand img{
    width:154px;
    height:48.4px;
    max-height:48.4px;
  }
  #hazHeader .hazSearchArea{
    height:var(--haz-search-height);
    min-height:var(--haz-search-height);
    max-height:var(--haz-search-height);
  }
  #hazHeader .hazBar{
    height:var(--haz-menu-height);
    min-height:var(--haz-menu-height);
    max-height:var(--haz-menu-height);
    padding:0;
  }
}

/* PR6: avatar menu profile, keyboard focus and safe mobile overflow */
.hazUserBtn:focus-visible,
.hazMenu a:focus-visible,
.hazMenu button:focus-visible,
.hazDropBtn:focus-visible,
.hazDropMenu a:focus-visible,
.hazCategoryBtn:focus-visible,
.hazCategoryColumn a:focus-visible,
.hazNavLink:focus-visible,
.hazIcon:focus-visible{
  outline:3px solid rgba(255,106,0,.42);
  outline-offset:3px;
}
.hazMenuProfile{
  position:sticky;
  top:0;
  z-index:2;
  display:grid;
  grid-template-columns:48px 1fr;
  gap:12px;
  align-items:center;
  padding:10px 10px 14px;
  border-bottom:1px solid var(--haz-line);
  margin-bottom:6px;
  background:#fff;
}
.hazMenuAvatar{
  width:48px;
  height:48px;
  border-radius:999px;
  overflow:hidden;
  display:grid;
  place-items:center;
  background:var(--haz-orange);
  color:#fff;
  font-weight:800;
  border:1px solid rgba(255,106,0,.55);
}
.hazMenuAvatar img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.hazMenuProfileText{
  min-width:0;
  display:grid;
  gap:2px;
}
.hazMenuProfileText strong,
.hazMenuProfileText span,
.hazMenuProfileText small{
  display:block;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
}
.hazMenuProfileText strong{font-size:14px;color:#111827;}
.hazMenuProfileText span{font-size:12px;font-weight:700;color:var(--haz-orange);}
.hazMenuProfileText small{font-size:12px;color:var(--haz-muted);}
@media(max-width:640px){
  .hazUser{position:static;}
  .hazMenu,
  [data-haz-menu="userMenu"]{
    position:absolute;
    left:12px;
    right:12px;
    top:calc(100% + 8px);
    width:auto;
    max-height:calc(100vh - 90px);
    max-height:calc(100dvh - 90px);
  }
  .hazUserName{display:none;}
  .hazActions{gap:4px;}
  .hazIcon{width:42px;height:42px;}
}
