.header-v2 {
  --ds-surface: #fef7ff;
  --ds-surface-container-low: #f8f1fb;
  --ds-surface-container-lowest: #ffffff;
  --ds-surface-container-highest: #e7e0ea;
  --ds-primary: #280752;
  --ds-primary-container: #3e2268;
  --ds-secondary: #006e26;
  --ds-on-secondary-container: #007328;
  --ds-on-surface: #1d1a21;
  --ds-on-surface-variant: #4a454f;
  --ds-outline-variant: rgba(204, 196, 209, 0.15);

  position: sticky;
  top: 0;
  z-index: 5000;
  border-bottom: 0;
  background: rgba(254, 247, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 2px rgba(29, 26, 33, 0.08);
}

.header-v2::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ds-outline-variant), transparent);
}

.header-v2__container {
  position: relative;
  padding: 0 20px;
}

.header-v2__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 60px;
  padding: 2px 0;
}

.header-v2__brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 0 1 auto;
}

.header-v2__brand-lockup {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.header-v2__brand-logo {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.header-v2__brand-logo .img-logo-header {
  max-width: 225px;
  width: 100%;
}

.header-v2__brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background-image: linear-gradient(135deg, var(--ds-primary), var(--ds-primary-container));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  box-shadow: 0 16px 40px -24px rgba(40, 7, 82, 0.55);
}

.header-v2__brand-mark .material-symbols-outlined {
  color: #ffffff;
  font-size: 22px;
  line-height: 1;
  font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 24;
}

.header-v2__brand-copy {
  display: none;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ds-on-surface-variant);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-v2__nav {
  display: none;
  align-items: center;
  gap: 26px;
  height: auto;
  justify-content: center;
  flex: 1 1 auto;
}

.header-v2__link {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.01em;
  color: var(--ds-on-surface);
  opacity: 0.8;
  padding: 12px 2px;
  transition: opacity 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  border-bottom: 2px solid transparent;
}

.header-v2__link:hover {
  opacity: 1;
  color: var(--ds-secondary);
  transform: translateY(-1px);
}

.header-v2__link--active {
  opacity: 1;
  color: var(--ds-secondary);
  border-bottom-color: var(--ds-secondary);
}

.header-v2__actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex: 0 0 auto;
}

.header-v2__icon-btn {
  border: 0;
  background: transparent;
  color: var(--ds-on-surface-variant);
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
}

.header-v2__icon-btn .material-symbols-outlined {
  font-size: 22px;
}

.header-v2__icon-btn:hover {
  background: var(--ds-surface-container-low);
  color: var(--ds-on-surface);
}

.header-v2__icon-btn:active {
  transform: scale(0.96);
}

.header-v2__icon-btn--utility {
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px var(--ds-outline-variant);
}

.header-v2__lang .dropdown-toggle::after {
  display: none;
}

.header-v2__lang .dropdown-menu {
  border: 0;
  border-radius: 18px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 35px 55px -28px rgba(29, 26, 33, 0.12);
}

.header-v2__lang .dropdown-item {
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
}

.header-v2__lang .dropdown-item:hover {
  background: var(--ds-surface-container-low);
}

.header-v2__search {
  display: none;
}

.header-v2__btn {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.01em;
  padding: 8px 16px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease, color 0.2s ease,
    border-color 0.2s ease, opacity 0.2s ease;
  white-space: nowrap;
}

.header-v2__btn--ghost {
  color: var(--ds-primary-container);
  background: transparent;
  box-shadow: none;
}

.header-v2__btn--ghost:hover {
  opacity: 0.8;
}

.header-v2__btn--primary {
  color: #ffffff;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 8px;
  background-image: linear-gradient(90deg, #570084, #280752);
  box-shadow: 0 8px 18px rgba(40, 7, 82, 0.22);
}

.header-v2__btn--primary:hover {
  box-shadow: 0 12px 26px rgba(40, 7, 82, 0.28);
}

.header-v2__btn:active {
  transform: none;
}

.header-v2__actions .header-v2__btn {
  transform: scale(0.95);
}

.header-v2__actions .header-v2__btn:active {
  transform: scale(0.9);
}

.header-v2__desktop-auth,
.header-v2__desktop-cta {
  display: none;
}

@media (min-width: 500px) {
  .header-v2__desktop-auth,
  .header-v2__desktop-cta {
    display: inline-flex;
  }
}

.header-v2__menu {
  border-radius: 14px;
}

.header-v2__mobile {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 5001;
  padding: 0 0 18px;
}

.header-v2__mobile-shell {
  padding: 16px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 35px 55px -28px rgba(29, 26, 33, 0.12);
}

.header-v2__mobile-nav {
  display: grid;
  align-items: stretch;
  gap: 10px;
  height: auto;
  justify-content: normal;
  padding: 0;
}

.header-v2__mobile-link {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--ds-on-surface);
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--ds-surface);
  transition: background 0.2s ease, color 0.2s ease;
}

.header-v2__mobile-link:hover {
  background: var(--ds-surface-container-low);
  color: var(--ds-secondary);
}

.header-v2__mobile-link--active {
  color: var(--ds-secondary);
  background: var(--ds-surface-container-low);
}

.header-v2__mobile-actions {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.header-v2__btn--block {
  width: 100%;
}

@media (min-width: 576px) {
  .header-v2__search {
    display: inline-flex;
  }

  .header-v2__brand-copy {
    display: block;
  }
}

@media (min-width: 992px) {
  .header-v2__nav {
    display: inline-flex;
  }

  .header-v2__desktop-auth {
    display: inline-flex;
  }

  .header-v2__menu {
    display: none;
  }

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

.stores-page .header-v2 {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
}

.stores-page .header-v2__container {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}
