/* Reset del header del tema para usar nuestro cabezote arriba */
#header.site-header {
  position: relative !important;
  top: 0 !important;
  bottom: auto !important;
  height: auto !important;
  padding: 0 !important;
  line-height: normal !important;
  background: transparent !important;
  -moz-transform: none !important;
  -webkit-transform: none !important;
  -ms-transform: none !important;
  transform: none !important;
  -moz-transition: none !important;
  -webkit-transition: none !important;
  -ms-transition: none !important;
  transition: none !important;
}

/* Evita el relleno inferior del body que empujaba el header al fondo */
body { padding: 0 !important; }

/* Custom Header: AMBAR SHOP */
.site-header {
  background: transparent;
}
.site-header .icon { border-bottom: 0; }
.site-header a { border-bottom: 0; }

/* Topbar eliminado */

/* Midbar */
.site-header .midbar {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.75rem 1rem;
  background: #ffffff;
  border-bottom: 1px solid #e6e8eb;
}
.site-header .logo img {
  max-height: 140px;
  display: block;
}
.site-header .search {
  display: grid;
  grid-template-columns: 1fr 44px;
  align-items: center;
  gap: 0.5rem;
}
.site-header .search select,
.site-header .search input {
  background: #ffffff;
  color: #222;
  border: 1px solid #dfe3e7;
  padding: 0.6rem 0.75rem;
  border-radius: 6px;
}
.site-header .search button {
  background: #1769ff;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.6rem;
  font-size: 1rem;
}
.site-header .search button:hover { opacity: 0.9; }

.site-header .hotline { display: flex; align-items: center; color: #333; }
.site-header .hotline .icon { margin-right: 0.6rem; color: #1769ff; }
.site-header .hotline .label { font-size: 0.8em; color: #6f7580; }
.site-header .hotline .number { font-weight: 500; color: #111; }

/* Acciones eliminadas */

/* Navbar */
.site-header .navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.55rem 1rem;
  background: #f0f1f3; /* franja gris más marcada */
  border-top: 1px solid #e6e8eb;
}
.site-header .categories { display: none; }
.site-header .menu ul { display: flex; gap: 1.2rem; justify-content: center; }
.site-header .navbar nav { position: static !important; right: auto !important; top: auto !important; }
.site-header .menu a { color: #222 !important; font-weight: 500; line-height: 1.25; }
.site-header .navbar { min-height: 44px; }
.site-header .menu a { color: #333; }
.site-header .menu a:hover { color: #111; }
/* Submenús: desplegar en hover */
.site-header .menu > ul > li { position: relative; padding: 0.6rem 0.75rem; border-radius: 8px; }
.site-header .menu > ul > li > a { padding: 0 !important; display: block; }
.site-header .menu ul li { position: relative; border-top: 1px solid #f0f1f3; padding: 3px 0; }
.site-header .menu .submenu {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  min-width: 220px;
  background: #fff;
  border: 1px solid #e6e8eb;
  border-radius: 6px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  padding: 0.4rem 0;
  list-style: none; /* quitar puntos */
  margin: 0; /* reset margen del ul */
  z-index: 1000;
}
.site-header .menu ul li:hover > .submenu { display: block; }
.site-header .menu ul li:hover > a,
.site-header .menu ul li:focus-within > a {
  background: transparent; /* el fondo negro queda en el <li> */
  color: inherit;
  border-radius: 0;
}
.site-header .menu .submenu li a {
  display: block;
  padding: 0.45rem 0.75rem;
  color: #333;
  cursor: pointer;
}
.site-header .menu .submenu li { padding: 3px 0; border-top: 1px solid #f0f1f3; }
.site-header .menu .submenu li:hover { background: #000; }
.site-header .menu .submenu li:hover a { color: #fff !important; }

/* Hover del menú principal: fondo negro en todo el <li> */
.site-header .menu > ul > li:hover,
.site-header .menu > ul > li:focus-within { background: #000; border-radius: 8px; }
.site-header .menu > ul > li:hover > a,
.site-header .menu > ul > li:focus-within > a { color: #fff !important; }
/* Submenús deshabilitados; volvemos a enlaces simples */
.site-header .social { display: none; }

/* Responsivo */
@media screen and (max-width: 980px) {
  .site-header .midbar { justify-content: center; }
  .site-header .hotline { display: none; }
  .site-header .search { display: none; }
  .site-header .navbar { justify-content: center; }
  .site-header .categories { display: none; }
}
@media screen and (max-width: 736px) {
  .site-header .midbar { justify-content: center; }
  .site-header .actions { display: none; }
  .site-header .navbar { justify-content: center; }
  .site-header .social { display: none; }
}

