header{
  margin-bottom: 0;
}
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 200;
  background: var(--vx-black);
  border-bottom: 1px solid var(--vx-border);
  box-shadow: var(--vx-shadow);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.site-header__inner {
  min-height: 4.5rem;
  padding: 0.65rem 0;
  gap: 1rem;
}

.site-header.active-scrolled {
  box-shadow: 0 8px 32px rgba(0, 141, 255, 0.12);
  border-bottom-color: rgba(0, 141, 255, 0.25);
}

.site-header.active-scrolled .site-header__inner {
  min-height: 3.75rem;
  padding: 0.4rem 0;
}

.site-header__logo {
  flex-shrink: 0;
  max-width: 12rem;
}

.site-header__logo img,
.site-header__logo-img {
  display: block;
  width: auto;
  max-height: 2.75rem;
  height: auto;
}

.site-header__logo-text {
  font-family: var(--vx-font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--vx-white);
}

.site-header__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.4rem;
  border-radius: 0.35rem;
  background: var(--vx-surface);
  border: 1px solid var(--vx-border);
}

.site-header__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--vx-white);
  border-radius: 1px;
}

.site-header__panel {
  flex: 1;
  gap: 1rem;
}

.site-header__menu {
  gap: 1.25rem;
}

.site-header__menu a {
  color: var(--vx-silver);
  font-weight: 500;
  transition: color 0.2s ease;
}

.site-header__menu a:hover {
  color: var(--vx-blue);
}

.site-header__menu .sub-menu {
  display: none;
}

.site-header__actions {
  flex-shrink: 0;
}

.site-header__actions .search-form {
  min-width: 10rem;
  max-width: 14rem;
}

.site-header__actions .search-field {
  width: 100%;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--vx-border);
  border-radius: 2rem;
  background: var(--vx-surface);
  color: var(--vx-white);
}

.site-header__actions .search-field::placeholder {
  color: var(--vx-silver);
}

.site-header__actions .search-submit svg path {
  fill: var(--vx-blue);
}

.site-header__actions .search-submit:hover svg path {
  fill: var(--vx-white);
}

.site-header__cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  min-height: 2.25rem;
  border-radius: 50%;
  background: var(--vx-blue);
  color: var(--vx-on-accent);
  font-size: 0.75rem;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.site-header__cart:hover {
  background: var(--vx-blue-dark);
}

.site-header__cart-count {
  line-height: 1;
}

@media (max-width: 1024px) {
  .site-header__toggle {
    display: flex;
  }

  .site-header__panel {
    position: fixed;
    top: var(--header-h, 4.5rem);
    left: 0;
    width: 100%;
    max-height: calc(100dvh - var(--header-h, 4.5rem));
    overflow-y: auto;
    padding: 1rem 2.5%;
    background: var(--vx-black);
    border-top: 1px solid var(--vx-border);
    box-shadow: var(--vx-shadow);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s ease, opacity 0.35s ease, visibility 0.35s ease;
    z-index: 190;
  }

  .site-header__panel.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .site-header__menu {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Portada — nav (.section-header) */
.section-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  background: rgba(0, 18, 52, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(168, 232, 255, 0.15);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.section-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 80rem;
  margin: 0 auto;
  padding: 1rem 3rem;
}

.section-header__brand {
  font-weight: 700;
}

.section-header__menu {
  display: none;
  align-items: center;
  gap: 2.5rem;
}

.section-header__toggle {
  color: #a8e8ff;
}

.section-header__menu.is-open {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 0;
}

@media (min-width: 768px) {
  .section-header__menu {
    display: flex;
    flex-direction: row;
    padding: 0;
  }

  .section-header__menu.is-open {
    flex-direction: row;
    padding: 0;
  }

  .section-header__toggle {
    display: none;
  }
}
