/* Shared, compact language controls. Keep the existing brand and page layout. */
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.language-switcher {
  display: inline-flex;
  flex: 0 0 auto;
  padding: 2px;
  border: 1px solid var(--line-strong);
  border-radius: var(--button-radius);
  background: var(--surface-soft);
}

.language-switcher[hidden] {
  display: none;
}

.language-switcher button {
  min-width: 44px;
  min-height: 44px;
  padding: 0 8px;
  border: 0;
  border-radius: var(--button-radius);
  background: transparent;
  color: var(--text-soft);
  cursor: pointer;
  font-size: 12px;
  font-weight: 650;
  line-height: 1;
  transition: color 180ms ease, background 180ms ease;
}

.language-switcher button:hover {
  color: var(--text);
  background: var(--surface-strong);
}

.language-switcher button[aria-pressed="true"] {
  color: var(--accent);
  background: rgba(189, 255, 25, 0.12);
}

.language-switcher button:focus-visible {
  position: relative;
  z-index: 1;
}

.success-language {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 24px;
}

html[lang="en"] .hero-v2 h1 {
  font-size: clamp(42px, 4.1vw, 62px);
  letter-spacing: -0.055em;
  line-height: 1.08;
}

html[lang="en"] .hero-eyebrow {
  letter-spacing: 0.035em;
}

html[lang="en"] .hero-product figcaption {
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  margin-top: clamp(64px, 6vw, 90px);
}

html[lang="en"] .hero-product figcaption strong {
  text-align: left;
}

html[lang="en"] .purchase-product {
  flex-wrap: wrap;
  gap: 10px 24px;
}

.header-actions .nav-buy,
.header-actions .back-link {
  white-space: nowrap;
}

@media (max-width: 1000px) {
  .header-actions,
  .header-actions .primary-nav {
    gap: 12px;
  }
}

@media (max-width: 820px) {
  .header-actions .primary-nav > a:not(.nav-buy) {
    display: none;
  }
}

@media (max-width: 760px) {
  .nav-shell {
    gap: 8px;
  }

  .header-actions {
    gap: 8px;
  }

  .site-header .brand-logo {
    width: 104px;
  }

  .header-actions .primary-nav .nav-buy {
    min-height: 44px;
    padding-inline: 12px;
    font-size: 12px;
  }

  .header-actions .back-link {
    font-size: 12px;
  }

  .home-page .nav-shell {
    padding-left: 12px;
  }

  html[lang="en"] .hero-v2 h1 {
    font-size: clamp(42px, 9.6vw, 64px);
  }

  html[lang="en"] .hero-product figcaption {
    margin-top: 24px;
  }
}

@media (max-width: 360px) {
  .site-header .brand-logo {
    width: 82px;
  }

  .header-actions {
    gap: 4px;
  }
}
