/* VEIKY V118 — Header streetwear contemporâneo, isolado para fácil rollback. */
:root {
  --veiky-v118-header-height: 84px;
  --veiky-v118-header-border: rgba(255,255,255,.12);
  --veiky-v118-header-surface: rgba(7,7,7,.92);
  --veiky-v118-header-pill: rgba(255,255,255,.035);
}

.veiky-v118-header {
  position: sticky;
  top: 0;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(255,255,255,.03) 0%, rgba(255,255,255,0) 100%),
    linear-gradient(180deg, rgba(7,7,7,.96) 0%, rgba(7,7,7,.92) 100%);
  border-bottom-color: var(--veiky-v118-header-border) !important;
  box-shadow: 0 16px 38px rgba(0,0,0,.22);
}

.veiky-v118-header::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(218,182,143,.22) 20%, rgba(218,182,143,.4) 50%, rgba(218,182,143,.22) 80%, transparent 100%);
  pointer-events: none;
}

.veiky-v118-header [data-header-shell] {
  min-height: var(--veiky-v118-header-height);
  gap: clamp(.55rem, 1.4vw, 1.8rem);
}

.veiky-v118-brand {
  min-width: 0;
}

.veiky-v118-brand img {
  height: 44px;
}

.veiky-v118-header .veiky-v111-navigation {
  height: var(--veiky-v118-header-height);
  gap: clamp(1rem, 1.95vw, 2.25rem);
}

.veiky-v118-header .veiky-v111-nav-link {
  height: var(--veiky-v118-header-height);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  color: rgba(255,255,255,.82);
}

.veiky-v118-header .veiky-v111-nav-link:hover,
.veiky-v118-header .veiky-v111-nav-link[aria-expanded="true"],
.veiky-v118-header .veiky-v111-nav-link:focus-visible {
  color: #f2e5d4;
}

.veiky-v118-header-actions {
  min-width: 0;
  gap: .22rem;
}

.veiky-v118-header .veiky-header-icon,
.veiky-v118-header [data-mobile-menu-toggle] {
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  color: rgba(255,255,255,.88);
  transition: transform .18s ease, color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.veiky-v118-header .veiky-header-icon:hover,
.veiky-v118-header .veiky-header-icon:focus-visible,
.veiky-v118-header [data-mobile-menu-toggle]:hover,
.veiky-v118-header [data-mobile-menu-toggle]:focus-visible {
  color: #ffffff;
  border-color: rgba(255,255,255,.12);
  background: rgba(255,255,255,.045);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
  transform: translateY(-1px);
}

.veiky-v118-header .veiky-header-divider {
  height: 16px;
  margin-inline: .18rem;
  background: rgba(255,255,255,.16);
}

.veiky-v118-header .veiky-v113-search {
  width: clamp(220px, 17vw, 300px);
  margin-right: .5rem;
}

.veiky-v118-header .veiky-v113-search-form {
  height: 46px;
  padding-inline: .95rem .18rem;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.04) 0%, rgba(255,255,255,.018) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}

.veiky-v118-header .veiky-v113-search-form:focus-within {
  border-color: rgba(218,182,143,.72);
  background: rgba(255,255,255,.052);
  box-shadow: 0 0 0 3px rgba(218,182,143,.08);
}

.veiky-v118-header .veiky-v113-search input::placeholder {
  color: rgba(255,255,255,.44);
}

.veiky-v118-header .veiky-v113-submit {
  width: 36px;
  height: 36px;
  border-radius: 999px;
}

.veiky-v118-header .veiky-v113-submit:hover,
.veiky-v118-header .veiky-v113-submit:focus-visible {
  background: rgba(218,182,143,.12);
}

.veiky-v118-header :is([data-cart-count], [data-favorites-count]) {
  box-shadow: 0 0 0 2px rgba(8,8,8,.96);
}

.veiky-v118-mobile-toggle {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.03);
}

@media (max-width: 1279px) {
  .veiky-v118-header [data-header-shell] {
    min-height: 76px;
  }
}

@media (max-width: 1023px) {
  .veiky-v118-header {
    box-shadow: 0 12px 24px rgba(0,0,0,.18);
  }

  .veiky-v118-header-actions {
    gap: .05rem;
  }

  .veiky-v118-header .veiky-v113-search {
    margin-right: .25rem;
  }

  .veiky-v118-header .veiky-header-icon,
  .veiky-v118-header [data-mobile-menu-toggle] {
    width: 2.45rem;
    height: 2.45rem;
  }
}

@media (max-width: 639px) {
  .veiky-v118-header [data-header-shell] {
    grid-template-columns: auto 1fr auto;
    min-height: 72px;
    gap: .2rem;
  }

  .veiky-v118-brand img {
    height: 40px;
  }

  .veiky-v118-header .veiky-header-divider {
    height: 14px;
    margin-inline: .06rem;
    background: rgba(255,255,255,.12);
  }

  .veiky-v118-header .veiky-header-icon,
  .veiky-v118-header [data-mobile-menu-toggle] {
    width: 2.2rem;
    height: 2.2rem;
  }
}

html[data-store-theme='light'] .veiky-v118-header {
  background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(252,251,249,.96) 100%);
  border-bottom-color: rgba(34,27,20,.10) !important;
  box-shadow: 0 12px 28px rgba(34,24,15,.06);
}

html[data-store-theme='light'] .veiky-v118-header::after {
  background: linear-gradient(90deg, transparent 0%, rgba(167,107,55,.10) 22%, rgba(167,107,55,.2) 50%, rgba(167,107,55,.10) 78%, transparent 100%);
}

html[data-store-theme='light'] .veiky-v118-header .veiky-v111-nav-link {
  color: rgba(33,28,23,.8);
}

html[data-store-theme='light'] .veiky-v118-header .veiky-v111-nav-link:hover,
html[data-store-theme='light'] .veiky-v118-header .veiky-v111-nav-link[aria-expanded="true"],
html[data-store-theme='light'] .veiky-v118-header .veiky-v111-nav-link:focus-visible {
  color: #8f6038;
}

html[data-store-theme='light'] .veiky-v118-header .veiky-header-icon,
html[data-store-theme='light'] .veiky-v118-header [data-mobile-menu-toggle] {
  color: rgba(31,28,24,.88);
}

html[data-store-theme='light'] .veiky-v118-header .veiky-header-icon:hover,
html[data-store-theme='light'] .veiky-v118-header .veiky-header-icon:focus-visible,
html[data-store-theme='light'] .veiky-v118-header [data-mobile-menu-toggle]:hover,
html[data-store-theme='light'] .veiky-v118-header [data-mobile-menu-toggle]:focus-visible {
  color: #8f6038;
  border-color: rgba(167,107,55,.18);
  background: rgba(167,107,55,.08);
}

html[data-store-theme='light'] .veiky-v118-header .veiky-header-divider {
  background: rgba(38,30,23,.12);
}

html[data-store-theme='light'] .veiky-v118-header .veiky-v113-search-form {
  border-color: rgba(33,28,23,.12);
  background: linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(251,249,245,.86) 100%);
}

html[data-store-theme='light'] .veiky-v118-header .veiky-v113-search-form:focus-within {
  border-color: rgba(167,107,55,.42);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(167,107,55,.08);
}

html[data-store-theme='light'] .veiky-v118-header .veiky-v113-search input::placeholder {
  color: rgba(60,50,42,.45);
}

html[data-store-theme='light'] .veiky-v118-mobile-toggle {
  border-color: rgba(33,28,23,.11);
  background: rgba(255,255,255,.78);
}
