/* Shared storefront header. Inlined by PHP: no additional blocking request. */
/* Hide only the uncompiled search panel; keep navigation and content available. */
#storefront-header .search-suggestions[v-cloak] { display: none !important; }
#storefront-header {
  --header-green: #004d43;
  background: var(--header-green);
  color: #fff;
  overflow: visible;
  position: relative;
}
#storefront-header::before { display: none; }
#storefront-header > .wrap,
#storefront-header .topbar > .wrap { padding-block: 0; }
#storefront-header .nav::after { display: none; }
/* Lift the search's stacking context above the sibling menu and benefit rows. */
#storefront-header > .wrap { position: relative; z-index: 4; }
#storefront-header .topbar { background: #fff; color: var(--header-green); border: 0; }
#storefront-header .topbar a,
#storefront-header .topbar-entrega,
#storefront-header .topbar .tb-cart__ic { color: var(--header-green); }
#storefront-header .topbar a:hover { color: #007867; }
#storefront-header .topbar .sep { background: #004d4333; }
#storefront-header .topbar .ic { color: var(--header-green); }
#storefront-header .brand img {
  /* Reuse the transparent logo asset without an additional image download. */
  filter: none;
}
#storefront-header .search {
  background: #fff;
  border: 1px solid #e4e9e6;
  box-shadow: 0 2px 10px #143a2f0d;
}
#storefront-header .search .go { order: -1; color: var(--header-green); flex: 0 0 40px; width: 40px; height: 40px; }
#storefront-header .search input { min-width: 0; color: var(--header-green); }
#storefront-header .search .mic { order: 1; background: transparent; color: var(--header-green); flex: 0 0 40px; width: 40px; height: 40px; }
#storefront-header .search:focus-within { outline: 2px solid #0b7667; outline-offset: 2px; }
#storefront-header .header-cta .login { color: #fff; }
#storefront-header .nav-cart,
#storefront-header .topbar-service { display: none; }
#storefront-header .header-benefits { color: var(--header-green); background: #fafbf8; border-bottom: 1px solid #edf0ed; }
#storefront-header .header-benefits__list {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0 auto;
  padding-top: 12px;
  padding-bottom: 12px;
}
#storefront-header .header-benefits__list li { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 0 32px; font-size: 12px; line-height: 1.3; }
#storefront-header .header-benefits__list li + li { border-left: 1px solid #dfe6e1; }
#storefront-header .header-benefits__list svg { flex: none; }
#storefront-header .header-benefits__list small { display: block; font-size: 10px; color: #61726d; }
#storefront-header a:focus-visible,
#storefront-header button:focus-visible { outline: 2px solid #b08150; outline-offset: 3px; }
@media (max-width: 720px) {
  body:has(#storefront-header):not(.has-admin-bar) { padding-top: 0; }
  body.has-admin-bar:has(#storefront-header) { padding-top: 38px; }
  #storefront-header { position: relative; inset: auto; }
  body.has-admin-bar #storefront-header { top: auto; }
  #storefront-header .search { position: relative; inset: auto; transform: none; }
  #storefront-header > .wrap { padding-inline: 10px; }
  #storefront-header .topbar { display: block; max-height: 30px; font-size: 9px; letter-spacing: 0; }
  #storefront-header .topbar .wrap { padding-inline: 10px; }
  #storefront-header .topbar .row { height: 28px; justify-content: center; gap: 0; }
  #storefront-header .topbar .group { gap: 14px; }
  #storefront-header .topbar .group + .group,
  #storefront-header .topbar-phone { display: none; }
  #storefront-header .topbar-service { display: inline; }
  #storefront-header .topbar a,
  #storefront-header .topbar-entrega { gap: 5px; }
  #storefront-header .nav,
  #storefront-header.scrolled .nav {
    grid-template-columns: 44px minmax(0, 1fr) 38px 38px;
    grid-template-rows: 44px 44px;
    grid-template-areas: "burger brand account cart" "search search search search";
    gap: 8px 2px;
    padding: 8px 0 10px;
  }
  #storefront-header .brand picture { display: block; line-height: 0; }
  #storefront-header .brand { min-width: 0; justify-self: center; }
  #storefront-header .brand img,
  #storefront-header.scrolled .brand img { width: 178px; height: auto; max-width: 100%; aspect-ratio: 2163 / 491; }
  #storefront-header .nav-burger,
  #storefront-header .nav-account,
  #storefront-header .nav-cart { display: inline-flex; align-items: center; justify-content: center; height: 44px; color: #fff; border: 0; background: transparent; }
  #storefront-header .nav-burger { width: 44px; }
  #storefront-header .nav-account { width: 38px; }
  #storefront-header .nav-account svg { width: 25px; height: 25px; border: 1px solid currentColor; border-radius: 50%; padding: 3px; }
  #storefront-header .nav-cart { grid-area: cart; position: relative; width: 38px; }
  #storefront-header .nav-cart__count { position: absolute; top: 0; right: 0; min-width: 17px; height: 17px; padding: 0 4px; display: grid; place-items: center; border-radius: 20px; background: #e9cda8; color: #164d42; font-size: 10px; line-height: 1; }
  #storefront-header .search { height: 44px; margin: 0; padding: 0 4px; gap: 0; }
  #storefront-header .search input { font-size: 12px; padding: 0; }
  #storefront-header .search .go svg,
  #storefront-header .search .mic svg { width: 19px; height: 19px; }
  #storefront-header .header-benefits__list { height: 44px; padding: 8px 6px; justify-content: space-between; }
  #storefront-header .header-benefits__list li { flex: 1; padding: 0 8px; gap: 8px; font-size: 9px; }
  #storefront-header .header-benefits__list small { font-size: 8px; }
  #storefront-header .header-benefits__list svg { width: 22px; height: 22px; }
}
@media (max-width: 359px) {
  #storefront-header .topbar .group { gap: 8px; }
  #storefront-header .topbar { font-size: 8px; }
  #storefront-header .header-benefits__list li { padding-inline: 4px; gap: 5px; font-size: 8px; }
  #storefront-header .header-benefits__list small { font-size: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  #storefront-header, #storefront-header .topbar, #storefront-header .nav, #storefront-header .brand img { transition: none; }
}

@media (max-width: 640px) {
  body.has-admin-bar:has(#storefront-header) { padding-top: 34px; }
  body.has-admin-bar #storefront-header { top: auto; }
}

/* Primary navigation: same green as the masthead, with unboxed inline icons. */
#storefront-header .subnav {
  background: #fff;
  color: var(--header-green);
  border-top: 0;
  border-bottom: 1px solid #004d4314;
}
#storefront-header .subnav .row { gap: 8px; padding-block: 8px; }
#storefront-header .subnav .item {
  color: var(--header-green);
  gap: 11px;
  min-height: 48px;
  padding: 12px 18px;
  font-weight: 600;
  letter-spacing: .16em;
  border-radius: 6px;
}
#storefront-header .subnav .item:hover,
#storefront-header .subnav .item.active { color: var(--header-green); background: #004d4308; }
#storefront-header .subnav .item:focus-visible { outline: 2px solid var(--header-green); outline-offset: -2px; }
#storefront-header .subnav .sn-ic,
#storefront-header .subnav .item:hover .sn-ic,
#storefront-header .subnav .item.active .sn-ic {
  width: 23px;
  height: 23px;
  border-radius: 0;
  background: transparent;
  color: var(--header-green);
}
#storefront-header .subnav .sn-ic svg { width: 23px; height: 23px; }
