.landing-locale {
  position: relative;
}

.landing-locale summary {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 50%;
  background: rgba(255, 255, 255, .45);
  box-shadow: inset 0 1px rgba(255, 255, 255, .9);
  cursor: pointer;
  list-style: none;
  font-size: 20px;
}

.landing-locale summary::-webkit-details-marker { display: none; }
.locale-current { display: none; }
html[lang="en"] .locale-en, html[lang="es"] .locale-es,
html[lang="fr"] .locale-fr, html[lang="it"] .locale-it { display: inline; }

.locale-options {
  position: absolute;
  z-index: 100;
  top: calc(100% + 9px);
  right: 0;
  min-width: 170px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 16px;
  background: rgba(29, 24, 20, .88);
  box-shadow: 0 18px 42px -20px rgba(22, 15, 10, .8);
  backdrop-filter: blur(20px) saturate(1.4);
}

.locale-options a {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 9px 10px;
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  font-size: 14px;
}

.locale-options a:hover, .locale-options a:focus-visible { background: rgba(255, 255, 255, .12); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 600px) {
  .landing-locale summary { width: 34px; height: 34px; font-size: 18px; }
}
