body .site-header:not(.sr-global-header),
body header#site-header:not(.sr-global-header) {
  display: none !important;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.sr-global-header,
.sr-global-header * {
  box-sizing: border-box;
}

.sr-header.sr-global-header {
  --sr-dark: #070909;
  --sr-teal: #008f85;
  --sr-teal-light: #22b8aa;
  --sr-white: #ffffff;
  position: sticky;
  top: 0;
  z-index: 9999;
  color: var(--sr-white);
  background: linear-gradient(180deg, #030505 0%, #091010 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.sr-global-header + .sr-home,
.sr-global-header + main,
.sr-global-header + .site-main,
.sr-global-header + #content {
  margin-top: 0 !important;
  padding-top: 0 !important;
  border-top: 0 !important;
}

body.admin-bar .sr-global-header {
  top: 32px;
}

.sr-global-header a {
  color: inherit;
  text-decoration: none;
}

.sr-global-header button {
  font: inherit;
}

.sr-screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  white-space: nowrap;
}

.sr-global-header .sr-container {
  width: min(100% - 48px, 1180px);
  margin-inline: auto;
}

.sr-global-header .sr-icon {
  width: 1.5rem;
  height: 1.5rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.sr-global-header .sr-header-inner {
  min-height: 64px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
}

.sr-global-header .sr-brand {
  display: flex;
  align-items: center;
}

.sr-global-header .sr-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sr-global-header .sr-logo-image {
  width: 64px;
  height: auto;
  object-fit: contain;
}

.sr-global-header .sr-custom-logo img {
  width: 64px;
  height: auto;
}

.sr-global-header .sr-logo-fallback {
  width: 64px;
  height: 64px;
  display: inline-grid;
  place-items: center;
  align-content: center;
  border: 3px solid var(--sr-teal);
  border-radius: 50%;
  color: var(--sr-teal-light);
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.sr-global-header .sr-logo-super {
  display: block;
  font-size: 1.3rem;
  text-transform: lowercase;
}

.sr-global-header .sr-logo-redes {
  display: block;
  margin-top: 5px;
  font-size: 0.74rem;
  font-weight: 500;
}

.sr-global-header .sr-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(12px, 1.55vw, 24px);
  min-width: 0;
}

.sr-global-header .sr-nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
}

.sr-global-header .sr-nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: transparent;
}

.sr-global-header .sr-nav-link:hover,
.sr-global-header .sr-nav-link:focus-visible,
.sr-global-header .sr-nav-link.is-active {
  color: var(--sr-teal-light);
}

.sr-global-header .sr-nav-link.is-active::after {
  background: var(--sr-teal-light);
}

.sr-global-header .sr-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.sr-global-header .sr-header-action {
  position: relative;
  display: inline-grid;
  justify-items: center;
  gap: 4px;
  color: var(--sr-white);
  font-size: 0.74rem;
  font-weight: 600;
  white-space: nowrap;
}

.sr-global-header button.sr-header-action {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.sr-global-header .sr-header-action .sr-icon {
  width: 1.5rem;
  height: 1.5rem;
  stroke-width: 1.7;
}

.sr-global-header .sr-cart-count {
  position: absolute;
  top: -6px;
  right: 8px;
  min-width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  padding-inline: 4px;
  border-radius: 999px;
  color: var(--sr-white);
  background: var(--sr-teal);
  font-size: 0.68rem;
  line-height: 1;
}

.sr-header-search {
  grid-column: 1 / -1;
  display: none;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 0 0 12px;
}

.sr-global-header.is-search-open .sr-header-search {
  display: grid;
}

.sr-header-search[hidden] {
  display: none !important;
}

.sr-header-search-field {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: var(--sr-white);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.92rem;
  outline: none;
}

.sr-header-search-field::placeholder {
  color: rgba(255, 255, 255, 0.62);
}

.sr-header-search-field:focus {
  border-color: var(--sr-teal-light);
  box-shadow: 0 0 0 3px rgba(34, 184, 170, 0.18);
}

.sr-header-search-submit {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  color: var(--sr-white);
  background: var(--sr-teal);
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
}

.sr-header-search-submit:hover,
.sr-header-search-submit:focus-visible {
  background: var(--sr-teal-light);
}

.sr-header-search-submit .sr-icon {
  width: 1.2rem;
  height: 1.2rem;
}

.sr-menu-toggle {
  display: none !important;
  width: 44px;
  min-width: 44px;
  max-width: 44px;
  height: 44px;
  min-height: 44px;
  max-height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: var(--sr-white);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: none;
  outline: none;
  appearance: none;
  cursor: pointer;
}

.sr-menu-toggle:hover,
.sr-menu-toggle:focus {
  color: var(--sr-white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
}

.sr-menu-toggle-bar {
  width: 20px;
  height: 2px;
  display: block;
  border-radius: 2px;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.sr-global-header.is-open .sr-menu-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.sr-global-header.is-open .sr-menu-toggle-bar:nth-child(2) {
  opacity: 0;
}

.sr-global-header.is-open .sr-menu-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 901px) {
  .sr-global-header .sr-header-inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .sr-global-header .sr-menu-toggle {
    display: none !important;
  }

  .sr-global-header .sr-nav {
    display: flex !important;
    grid-column: auto;
  }

  .sr-global-header .sr-header-actions {
    display: flex !important;
    grid-column: auto;
  }
}

@media (max-width: 900px) {
  .sr-global-header .sr-header-inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 64px;
    gap: 12px;
    padding-block: 7px;
  }

  .sr-global-header .sr-logo-image,
  .sr-global-header .sr-custom-logo img {
    width: 56px;
  }

  .sr-global-header .sr-logo-fallback {
    width: 56px;
    height: 56px;
  }

  .sr-menu-toggle {
    display: inline-flex !important;
    grid-column: 3;
  }

  .sr-global-header .sr-nav,
  .sr-global-header .sr-header-actions {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
  }

  .sr-global-header.is-open .sr-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px 0 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .sr-global-header.is-open .sr-nav-link {
    min-height: 38px;
    padding: 0 4px;
  }

  .sr-global-header.is-open .sr-nav-link::after {
    right: auto;
    width: 34px;
  }

  .sr-global-header.is-open .sr-header-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding-bottom: 6px;
  }

  .sr-global-header .sr-header-action {
    min-width: 0;
    padding: 8px 4px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    font-size: 0.7rem;
  }

  .sr-global-header button.sr-header-action {
    padding: 8px 4px;
  }

  .sr-global-header .sr-header-action span:not(.sr-cart-count) {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .sr-global-header .sr-cart-count {
    right: calc(50% - 20px);
  }

  .sr-header-search {
    grid-template-columns: 1fr;
    padding-top: 4px;
  }

  .sr-header-search-submit {
    width: 100%;
  }
}

@media (max-width: 782px) {
  body.admin-bar .sr-global-header {
    top: 46px;
  }
}

@media (max-width: 520px) {
  .sr-global-header .sr-container {
    width: min(100% - 24px, 1180px);
  }

  .sr-menu-toggle {
    width: 40px;
    min-width: 40px;
    max-width: 40px;
    height: 40px;
    min-height: 40px;
    max-height: 40px;
  }
}

@media (max-width: 360px) {
  .sr-global-header .sr-container {
    width: min(100% - 18px, 1180px);
  }

  .sr-global-header .sr-logo-image,
  .sr-global-header .sr-custom-logo img {
    width: 50px;
  }

  .sr-global-header .sr-header-action {
    font-size: 0.66rem;
  }
}
