.bahia-local-header {
  position: absolute;
  z-index: 10;
  inset: 0 0 auto;
  color: #fff;
}
.bahia-local-header--solid {
  position: relative;
  inset: auto;
  background: #0d2b22;
}
.bahia-local-header__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: 1.5rem;
}
.bahia-local-header__nav .bahia-local-header__brand { font-size: 1.25rem; font-weight: 800; }
.bahia-local-header__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .5rem clamp(1rem, 2.5vw, 2rem);
}
.bahia-local-header__nav a {
  display: inline-flex;
  min-height: var(--touch-target);
  align-items: center;
  color: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .55);
}
.bahia-local-header__nav a:hover { text-decoration: underline; text-underline-offset: .25em; }
.bahia-local-header__nav a:focus-visible,
.bahia-local-header__nav button:focus-visible,
.bahia-local-header__brand:focus-visible { outline: 2px solid #f2caa6; outline-offset: 4px; }
.bahia-local-header__nav .bahia-local-header__donate {
  min-height: 3rem;
  padding-inline: 1.5rem;
  border-radius: 999px;
  background: #f26b38;
  color: var(--bahia-forest-deep, #0d2b22);
  text-shadow: none;
}
.bahia-local-header__nav .bahia-local-header__donate:hover { background: #f2caa6; text-decoration: none; }
.bahia-local-header__nav .bahia-local-header__donate--mobile { display: none; }
.bahia-local-header__secondary { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2rem); }
.bahia-local-header__menu-toggle { display: none; }
@media (max-width: 47.999rem) {
  .bahia-local-header { transition: background-color .2s ease, box-shadow .2s ease; }
  .bahia-local-header.is-menu-open { background: rgba(13, 43, 34, .97); box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .32); }
  .bahia-local-header__inner {
    padding-block: 1.2rem;
    padding-inline: max(.5rem, env(safe-area-inset-left)) max(.5rem, env(safe-area-inset-right));
  }
  .bahia-local-header__nav {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: .3rem .5rem;
  }
  .bahia-local-header__nav a { min-height: calc(var(--touch-target) * 1.2); font-size: 1.14rem; text-shadow: 0 1.2px 9.6px rgba(0, 0, 0, .55); white-space: nowrap; }
  .bahia-local-header__nav .bahia-local-header__brand { min-width: 0; justify-content: flex-start; font-size: clamp(.78rem, 3.3vw, 1.38rem); }
  .bahia-local-header__nav .bahia-local-header__donate { min-height: 2.475rem; padding-inline: .825rem; font-size: .855rem; }
  .bahia-local-header__menu-toggle {
    display: none;
    width: 2.75rem;
    min-height: 2.75rem;
    place-items: center;
    padding: .45rem;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: .6rem;
    background: rgba(13, 43, 34, .64);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 1px 8px rgba(0, 0, 0, .3);
  }
  .bahia-local-header__menu-icon { display: grid; width: 1.125rem; gap: .225rem; }
  .bahia-local-header__menu-icon span { height: .125rem; border-radius: 999px; background: currentColor; }
  .bahia-local-header__secondary {
    display: grid;
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: .6rem;
    padding-top: .3rem;
    border-top: 1px solid rgba(255, 255, 255, .28);
  }
  .bahia-local-header__secondary a { justify-content: flex-start; padding-inline: .25rem; }
  .bahia-local-header.is-navigation-ready .bahia-local-header__menu-toggle { display: inline-grid; }
  .bahia-local-header__secondary[hidden] { display: none; }
}

.bahia-local-header { --bahia-nav-font-size: 1.05rem; }
.bahia-local-header__inner { max-width: none; padding-inline: clamp(1rem, 3vw, 3rem); }
.bahia-local-header__nav { width: 100%; justify-content: space-between; }
.bahia-local-header__secondary { flex: 1; justify-content: space-between; gap: clamp(1.5rem, 3vw, 3rem); }
.bahia-local-header__actions,
.bahia-local-header__utilities,
.bahia-local-header__socials,
.bahia-local-header__language { display: flex; align-items: center; }
.bahia-local-header__actions { justify-content: center; gap: clamp(1rem, 2vw, 2rem); }
.bahia-local-header__utilities { gap: 1.25rem; }
.bahia-local-header__socials { gap: .25rem; }
.bahia-local-header__language { gap: .5rem; white-space: nowrap; }
.bahia-local-header__nav a,
.bahia-local-header__language button { font-size: var(--bahia-nav-font-size); }
.bahia-local-header__language button,
.bahia-local-header__social { border: 0; padding: 0; background: transparent; color: inherit; font: inherit; }
.bahia-local-header__language button { font-size: var(--bahia-nav-font-size); font-weight: 700; min-height: var(--touch-target); }
.bahia-local-header__language [aria-current="page"] { text-decoration: underline; text-underline-offset: .3em; }
.bahia-local-header__social { display: inline-grid; place-items: center; width: 2.75rem; min-height: 2.75rem; }
.bahia-local-header__social svg { width: 1.25rem; height: 1.25rem; }
.bahia-local-header__social { border-radius: .5rem; transition: background-color .18s ease, color .18s ease; }
.bahia-local-header__social[aria-label="Instagram"]:hover,
.bahia-local-header__social[aria-label="Instagram"]:focus-visible { background: linear-gradient(45deg, #fdb94a 0%, #f56040 35%, #e1306c 65%, #c13584 100%); color: #fff; }
.bahia-local-header__social[aria-label="Facebook"]:hover,
.bahia-local-header__social[aria-label="Facebook"]:focus-visible { background: #1877f2; color: #fff; }
.bahia-local-header__social[aria-label="LinkedIn"]:hover,
.bahia-local-header__social[aria-label="LinkedIn"]:focus-visible { background: #3aa8e8; color: #fff; }
.bahia-local-header__social:disabled,
.bahia-local-header__language button:disabled { opacity: 1; cursor: default; }
@media (min-width: 80rem) {
  .bahia-local-header__nav { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 2rem; }
  .bahia-local-header__brand { justify-self: start; }
  .bahia-local-header__secondary { display: contents; }
  .bahia-local-header__actions { grid-column: 2; }
  .bahia-local-header__utilities { grid-column: 3; justify-self: end; }
}
@media (min-width: 48rem) and (max-width: 79.999rem) {
  .bahia-local-header__secondary { flex-wrap: wrap; justify-content: flex-end; gap: .5rem 1.5rem; }
  .bahia-local-header__utilities { flex-wrap: wrap; justify-content: flex-end; }
}
@media (max-width: 47.999rem) {
  .bahia-local-header__nav { grid-template-columns: minmax(0, 1fr) auto auto; }
  .bahia-local-header__nav .bahia-local-header__donate--mobile { display: inline-flex; min-height: 2.75rem; padding-inline: 1.5rem; grid-column: 2; grid-row: 1; }
  .bahia-local-header__actions .bahia-local-header__donate { display: none; }
  .bahia-local-header__menu-toggle { grid-column: 3; grid-row: 1; }
  .bahia-local-header__secondary { gap: .75rem; }
  .bahia-local-header__actions { align-items: start; flex-direction: column; gap: .25rem; }
  .bahia-local-header__utilities { align-items: start; flex-direction: column; gap: .5rem; }
}
.bahia-local-header__store { display: inline-flex; min-height: var(--touch-target); align-items: center; font-size: var(--bahia-nav-font-size); font-weight: 700; text-shadow: 0 1px 8px rgba(0, 0, 0, .55); white-space: nowrap; }
@media (max-width: 47.999rem) { .bahia-local-header__store { padding-inline: .25rem; } }

/* Light, persistent navigation bar on every page. */
.bahia-local-header,
.bahia-local-header--solid {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: linear-gradient(100deg, rgba(225, 240, 251, .97) 0%, rgba(255, 255, 255, .97) 33%, rgba(225, 240, 251, .97) 66%, rgba(255, 255, 255, .97) 100%);
  color: #111;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .08);
}
.bahia-local-header--solid { position: sticky; top: 0; }
.bahia-local-header__nav a,
.bahia-local-header__store { text-shadow: none; }
.bahia-local-header__nav a:focus-visible,
.bahia-local-header__nav button:focus-visible,
.bahia-local-header__brand:focus-visible { outline-color: #0d2b22; }
@media (max-width: 47.999rem) {
  .bahia-local-header.is-menu-open { background: linear-gradient(100deg, rgba(225, 240, 251, .99) 0%, rgba(255, 255, 255, .99) 33%, rgba(225, 240, 251, .99) 66%, rgba(255, 255, 255, .99) 100%); box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .15); }
  .bahia-local-header__nav a { text-shadow: none; }
  .bahia-local-header__menu-toggle { border-color: rgba(0, 0, 0, .35); background: rgba(255, 255, 255, .7); color: #111; box-shadow: none; }
  .bahia-local-header__secondary { border-top-color: rgba(0, 0, 0, .15); }
}

.bahia-local-header__inner { padding-block: .9rem; transition: padding-block .2s ease; }
@media (max-width: 47.999rem) { .bahia-local-header__inner { padding-block: .75rem; } }
.bahia-local-header { transition: background-color .2s ease, box-shadow .2s ease; }
.bahia-local-header.is-scrolled { background: linear-gradient(100deg, rgba(225, 240, 251, .8) 0%, rgba(255, 255, 255, .8) 33%, rgba(225, 240, 251, .8) 66%, rgba(255, 255, 255, .8) 100%); box-shadow: 0 .25rem 1rem rgba(0, 0, 0, .12); }
.bahia-local-header.is-scrolled .bahia-local-header__inner { padding-block: .4rem; }
.bahia-local-header.is-scrolled .bahia-local-header__actions .bahia-local-header__donate { min-height: 2.4rem; }
.bahia-local-header__brand .bahia-logo { display: block; height: 2.4rem; width: auto; margin: 0; }
@media (max-width: 47.999rem) { .bahia-local-header__brand .bahia-logo { height: 1.7rem; margin: 0; } }
.bahia-local-header__about { position: relative; }
.bahia-local-header__about-toggle { display: inline-flex; min-height: var(--touch-target); align-items: center; gap: .35rem; border: 0; padding: 0; background: transparent; color: inherit; font: inherit; font-size: var(--bahia-nav-font-size); font-weight: 700; cursor: pointer; }
.bahia-local-header__about-toggle::after { content: ""; width: .4rem; height: .4rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-.15rem) rotate(45deg); }
.bahia-local-header__about-toggle:hover { text-decoration: underline; text-underline-offset: .25em; }
.bahia-local-header__about-toggle:focus-visible { outline: 2px solid #0d2b22; outline-offset: 4px; }
.bahia-local-header__about-menu { display: none; position: absolute; top: 100%; left: 0; z-index: 5; min-width: 15rem; flex-direction: column; gap: .35rem; padding: .7rem; border-radius: .6rem; background: rgba(222, 238, 250, .99); box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .18); }
.bahia-local-header__about-menu a { padding: .65rem 1rem; white-space: nowrap; }
.bahia-local-header__about.is-open .bahia-local-header__about-menu { display: flex; }
@media (hover: hover) and (min-width: 48rem) { .bahia-local-header__about:hover .bahia-local-header__about-menu { display: flex; } }
@media (max-width: 47.999rem) {
  .bahia-local-header__about-menu { position: static; box-shadow: none; padding: 0 0 0 .75rem; gap: 0; min-width: 0; background: transparent; transform: none; }
  .bahia-local-header__about-menu a { padding: .4rem .75rem; }
}
@media (max-width: 47.999rem) {
  .bahia-local-header__social[aria-label="Instagram"] { background: linear-gradient(45deg, #fdb94a 0%, #f56040 35%, #e1306c 65%, #c13584 100%); color: #fff; }
  .bahia-local-header__social[aria-label="Facebook"] { background: #1877f2; color: #fff; }
  .bahia-local-header__social[aria-label="LinkedIn"] { background: #3aa8e8; color: #fff; }
}
