/* AWD Sounds — Header v1 */

/* Esconde somente o cabeçalho padrão do Astra. */
#masthead {
  display: none !important;
}

.awd-site-header {
  position: relative;
  z-index: 999;
  width: 100%;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(8,10,12,.92);
  color: #f7f8fa;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.awd-site-header.is-sticky {
  position: sticky;
  top: 0;
  box-shadow: 0 14px 40px rgba(0,0,0,.32);
}

.admin-bar .awd-site-header.is-sticky {
  top: 32px;
}

.awd-site-header__inner {
  width: min(calc(100% - 32px), 1280px);
  min-height: 78px;
  display: grid;
  grid-template-columns: 220px 1fr 220px;
  align-items: center;
  margin-inline: auto;
}

.awd-site-logo {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: #f7f8fa;
  font-weight: 900;
  letter-spacing: -.03em;
  text-decoration: none;
}

.awd-site-logo:hover {
  color: #f7f8fa;
}

.awd-site-logo__mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e3fc02;
  color: #080a0c;
  font-size: .9rem;
  font-weight: 950;
  transform: rotate(-8deg);
}

.awd-site-logo__name {
  white-space: nowrap;
}

.awd-desktop-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.2rem, 2.6vw, 2.4rem);
}

.awd-desktop-navigation a {
  position: relative;
  color: #c3c8d0;
  font-size: .82rem;
  font-weight: 750;
  text-decoration: none;
}

.awd-desktop-navigation a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -.55rem;
  left: 0;
  height: 2px;
  background: #e3fc02;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .2s ease;
}

.awd-desktop-navigation a:hover {
  color: #f7f8fa;
}

.awd-desktop-navigation a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.awd-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .45rem;
}

.awd-header-icon,
.awd-mobile-toggle {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: #f7f8fa;
  cursor: pointer;
  text-decoration: none;
  transition:
    border-color .18s ease,
    background .18s ease,
    color .18s ease;
}

.awd-header-icon:hover,
.awd-mobile-toggle:hover {
  border-color: rgba(227,252,2,.3);
  background: rgba(227,252,2,.08);
  color: #e3fc02;
}

.awd-header-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.awd-cart-link {
  position: relative;
}

.awd-cart-count {
  position: absolute;
  top: 1px;
  right: -1px;
  min-width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #e3fc02;
  color: #080a0c;
  font-size: .58rem;
  font-weight: 900;
}

.awd-mobile-toggle {
  display: none;
}

.awd-mobile-toggle span {
  width: 18px;
  height: 1.5px;
  display: block;
  background: currentColor;
  transition: transform .2s ease;
}

.awd-mobile-toggle span + span {
  margin-top: 5px;
}

.awd-mobile-toggle.is-active span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}

.awd-mobile-toggle.is-active span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

.awd-search-panel {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  padding: 1rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: #0c0f12;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition:
    opacity .18s ease,
    transform .18s ease,
    visibility .18s ease;
}

.awd-search-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.awd-search-panel form {
  width: min(100%, 780px);
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: .65rem;
  margin-inline: auto;
}

.awd-search-panel input[type="search"] {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: #11151a;
  color: #f7f8fa;
  padding-inline: 1.25rem;
}

.awd-search-panel button[type="submit"] {
  min-width: 110px;
  border: 0;
  border-radius: 999px;
  background: #e3fc02;
  color: #080a0c;
  font-weight: 850;
  cursor: pointer;
}

.awd-search-close {
  width: 48px;
  border: 0;
  background: transparent;
  color: #f7f8fa;
  font-size: 1.8rem;
  cursor: pointer;
}

.awd-mobile-navigation {
  display: none;
}

@media (max-width: 960px) {
  .awd-site-header__inner {
    grid-template-columns: 1fr auto;
  }

  .awd-desktop-navigation {
    display: none;
  }

  .awd-mobile-toggle {
    display: block;
    padding: 10px;
  }

  .awd-mobile-navigation {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: grid;
    padding: 1.2rem 1rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
    background: #0c0f12;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
      opacity .18s ease,
      transform .18s ease,
      visibility .18s ease;
  }

  .awd-mobile-navigation.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .awd-mobile-navigation a {
    padding: .9rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,.07);
    color: #f7f8fa;
    font-weight: 750;
    text-decoration: none;
  }
}

@media (max-width: 782px) {
  .admin-bar .awd-site-header.is-sticky {
    top: 46px;
  }
}

@media (max-width: 560px) {
  .awd-site-header__inner {
    min-height: 68px;
  }

  .awd-site-logo__name {
    font-size: .9rem;
  }

  .awd-header-actions {
    gap: .15rem;
  }

  .awd-header-icon,
  .awd-mobile-toggle {
    width: 38px;
    height: 38px;
  }

  .awd-search-panel form {
    grid-template-columns: 1fr auto;
  }

  .awd-search-panel button[type="submit"] {
    min-width: 82px;
  }

  .awd-search-close {
    position: absolute;
    top: 100%;
    right: 1rem;
  }
}

/* AWD_OFFICIAL_LOGO */
.awd-site-logo__image {
  display: block;
  width: auto;
  height: 42px;
  max-width: 190px;
  object-fit: contain;
}

@media (max-width: 560px) {
  .awd-site-logo__image {
    height: 34px;
    max-width: 150px;
  }
}

/* AWD_MOBILE_CENTERED_HEADER_V2 */

@media (max-width: 760px) {
  .awd-site-header__inner {
    position: relative;
    grid-template-columns: 48px 1fr 48px;
    min-height: 72px;
  }

  .awd-site-logo {
    position: absolute;
    left: 50%;
    justify-content: center;
    transform: translateX(-50%);
  }

  .awd-site-logo__image {
    width: auto;
    height: 38px;
    max-width: min(190px, 52vw);
  }

  .awd-header-actions {
    grid-column: 3;
  }

  .awd-header-actions > .awd-header-icon {
    display: none;
  }

  .awd-mobile-toggle {
    display: grid;
  }

  .awd-mobile-navigation {
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    padding: 1rem;
  }

  .awd-mobile-search {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: .55rem;
    margin-bottom: 1rem;
  }

  .awd-mobile-search input[type="search"] {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;
    background: #11151a;
    color: #f7f8fa;
    padding: .7rem 1rem;
  }

  .awd-mobile-search button {
    min-height: 48px;
    border: 0;
    border-radius: 999px;
    padding-inline: 1rem;
    background: #e3fc02;
    color: #080a0c;
    font-weight: 850;
  }

  .awd-mobile-quick-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .65rem;
    margin-bottom: 1rem;
  }

  .awd-mobile-quick-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    min-height: 46px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 999px;
    background: #11151a;
    color: #f7f8fa;
    text-decoration: none;
  }

  .awd-mobile-quick-links a span {
    min-width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #e3fc02;
    color: #080a0c;
    font-size: .65rem;
    font-weight: 900;
  }

  .awd-mobile-navigation > a:last-child {
    display: none;
  }
}
