/**
 * Theme Name: Pedagogia de Ideias Child
 * File Name: header.css
 * HEADER FINAL LIMPO E PROFISSIONAL
 */


/* ===========================================================
   🟢 TOP BAR (BARRA VERDE)
   =========================================================== */

.header-top {
  padding: 4px 0 !important;
  font-size: 12px;
  background: #95ad00 !important;
  color: #fff !important;
}

.html_topbar_left {
  font-weight: 600;
  text-align: center;
}


/* ===========================================================
   🟡 HEADER MAIN (LOGO + CONTA)
   =========================================================== */

.header-main {
  background: linear-gradient(to bottom, #f7f3e8, #f3eedc);
  padding: 6px 0 !important;
}


/* BOTÕES DIREITA */
.header-main .nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* =========================
   BOTÕES PREMIUM (CONTA + CARRINHO)
   ========================= */
.header-main .nav-right li > a {
  height: 36px;
  padding: 0 14px !important;
  border-radius: 8px !important;
  border: 1px solid #d9c96a !important;
  background: #fff !important;
  color: #333 !important;
  display: flex !important;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.header-main .nav-right li > a:hover {
  background: #95ad00 !important;
  color: #fff !important;
  border-color: #95ad00 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}

.header-main .nav-right li > a:hover i,
.header-main .nav-right li > a:hover span {
  color: #fff !important;
}


/* ===========================================================
   🟠 HEADER BOTTOM (MENU + BUSCA)
   =========================================================== */

.header-bottom {
  background: linear-gradient(to bottom, #f0c808, #e3bb05) !important;
  padding: 4px 0 !important;
}


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

.nav > li > a {
  font-weight: 600;
  font-size: 13px;
  color: #222 !important;
  padding: 6px 12px !important;
  border-radius: 6px;
  transition: all 0.2s ease;
}

/* HOVER CORRIGIDO */
.nav > li > a:hover,
.nav > li.active > a,
.nav > li.current-menu-item > a {
  background-color: #95ad00 !important;
  color: #fff !important;
}


/* =========================
   BUSCA CENTRAL
   ========================= */

.header-bottom .flex-row {
  display: flex;
  align-items: center;
}

.header-bottom .flex-left {
  flex: 1;
}

.header-bottom .flex-center {
  flex: 2;
  display: flex;
  justify-content: center;
}

.header-bottom .flex-right {
  flex: 1;
}

.header-bottom .header-search-form {
  width: 100%;
  max-width: 600px;
}

/* INPUT */
.header-bottom .header-search-form input[type="search"] {
  width: 100%;
  height: 40px !important;
  border-radius: 8px !important;
  border: 2px solid #e6d36a !important;
  background: #ffffff !important;
  color: #222 !important;
  padding: 0 14px !important;
  font-size: 14px !important;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

/* BOTÃO */
.header-bottom .header-search-form button {
  width: 34px;
  height: 34px;
  border-radius: 6px !important;
  background: #95ad00 !important;
  color: #fff !important;
  margin-left: 6px;
}

/* PLACEHOLDER */
.header-bottom .header-search-form input::placeholder {
  color: #777 !important;
}


/* =========================
   ESTRUTURA
   ========================= */

.header .flex-col,
.header-wrapper .flex-col {
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

.header-inner {
  align-items: center;
  justify-content: center;
}

.header-inner .flex-col:empty {
  display: none !important;
}

.product-small .box {
  border: 1px solid #eee;
}


/* ===========================================================
   📱 MOBILE
   =========================================================== */

@media (max-width: 768px) {

  .header-bottom {
    padding: 6px 0 !important;
  }

  .header-inner {
    justify-content: space-between;
  }

  .header-bottom .nav > li > a {
    font-size: 12px;
    padding: 6px 8px !important;
  }

  .header-bottom .header-search-form {
    max-width: 100%;
  }

}