/* Additive styles for the language controls. Existing layout rules remain authoritative. */
[data-shortza-language-switcher] {
  display: none !important;
}

.shortza-language-trigger,
.shortza-language-option {
  border: 0;
  color: inherit;
  font: inherit;
  text-align: inherit;
}

.shortza-language-trigger {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.shortza-language-option {
  display: block;
  width: 100%;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

[data-shortza-language-switcher].is-open .drop-box {
  display: block;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.shortza-language-option[aria-current="true"] {
  color: #e32b3c;
  font-weight: 700;
}

.legal-language-switcher {
  position: relative;
  margin-left: auto;
  color: var(--legal-red-deep);
}

.legal-language-switcher .shortza-language-trigger {
  color: inherit;
  font-size: 13px;
  font-weight: 800;
}

.legal-language-switcher .shortza-language-list {
  position: absolute;
  z-index: 10;
  top: calc(100% + 8px);
  right: 0;
  display: none;
  min-width: 128px;
  padding: 7px;
  border: 1px solid var(--legal-line);
  border-radius: 10px;
  background: #fffdfb;
  box-shadow: 0 12px 30px rgba(64, 30, 35, .16);
}

.legal-language-switcher.is-open .shortza-language-list { display: block; }

.legal-language-switcher .shortza-language-option {
  padding: 7px 9px;
  border-radius: 7px;
  color: #654950;
  font-size: 13px;
  font-weight: 700;
}

.legal-language-switcher .shortza-language-option:hover,
.legal-language-switcher .shortza-language-option:focus-visible {
  background: #fff0ea;
  outline: none;
}

@media (max-width: 620px) {
  .legal-language-switcher { margin-left: 0; }
  .legal-topbar__inner { gap: 10px; }
  .legal-back { white-space: nowrap; }
}
