/* Static landing language control (v7/v8) — aligned with nav .btn */
.locale-dd {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.locale-dd__trigger {
  display: inline-flex;
  align-items: center;
  gap: calc(4px * var(--dp-density-scale, 1));
  padding: calc(6px * var(--dp-density-scale, 1)) calc(10px * var(--dp-density-scale, 1));
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  color: #000;
  font-family: Inter, system-ui, sans-serif;
  font-size: calc(11px * var(--dp-density-scale, 1));
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.locale-dd__trigger:hover {
  transform: translateY(-1px);
  background: #ebebeb;
  border-color: rgba(0, 0, 0, 0.12);
}

.locale-dd__trigger:focus-visible {
  outline: 2px solid rgba(0, 0, 0, 0.35);
  outline-offset: 2px;
}

.locale-dd__caret {
  font-size: calc(10px * var(--dp-density-scale, 1));
  opacity: 0.65;
}

.locale-dd__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  margin: 0;
  padding: calc(4px * var(--dp-density-scale, 1));
  list-style: none;
  min-width: 148px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(1, 1, 32, 0.12);
  z-index: 400;
}

.locale-dd__menu[hidden] {
  display: none !important;
}

.locale-dd__option {
  display: block;
  width: 100%;
  text-align: left;
  padding: calc(8px * var(--dp-density-scale, 1)) calc(10px * var(--dp-density-scale, 1));
  border: none;
  border-radius: 6px;
  background: transparent;
  color: #000;
  font-family: Inter, system-ui, sans-serif;
  font-size: calc(14px * var(--dp-density-scale, 1));
  font-weight: 500;
  letter-spacing: normal;
  cursor: pointer;
  white-space: nowrap;
}

.locale-dd__option:hover,
.locale-dd__option.is-active {
  background: #ebebeb;
}

.locale-dd__option:focus-visible {
  outline: 2px solid rgba(0, 0, 0, 0.25);
  outline-offset: 1px;
}

.mobileMenuActions .locale-dd {
  width: 100%;
}

.mobileMenuActions .locale-dd__trigger {
  width: 100%;
  justify-content: center;
}

.mobileMenuActions .locale-dd__menu {
  left: 0;
  right: 0;
}
