.shared-product-languages {
  position: relative;
  flex: none;
  color: var(--ink, #23251f);
}
details#languageSelect.shared-product-languages { max-width: none; border: 0; padding: 0; }
.shared-product-languages summary {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  min-height: 44px;
  list-style: none;
  border: 1px solid var(--line, #dedfd5);
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}
.shared-product-languages summary::-webkit-details-marker { display: none; }
.shared-product-languages summary:focus-visible,
.shared-language-options a:focus-visible { outline: 3px solid var(--orange, #ff5b29); outline-offset: -3px; }
.shared-language-flag { font: 18px/1 "Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif; }
.shared-language-chevron {
  width: 7px;
  height: 7px;
  border: solid currentColor;
  border-width: 0 1px 1px 0;
  transform: rotate(45deg);
  margin-inline: 2px;
}
.shared-product-languages[open] .shared-language-chevron { transform: rotate(225deg); }
.shared-language-options {
  position: absolute;
  z-index: 20;
  inset-block-start: calc(100% + 6px);
  inset-inline-end: 0;
  box-sizing: border-box;
  width: min(14rem,calc(100vw - 2rem));
  max-height: min(62vh,29rem);
  overflow: auto;
  margin: 0;
  padding: 4px;
  list-style: none;
  background: var(--paper, #f7f6f2);
  border: 1px solid var(--line, #dedfd5);
  box-shadow: 0 8px 20px #0002;
}
.shared-language-options a.shared-language-option {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 6px 10px;
  color: inherit;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  white-space: normal;
}
.shared-language-options a:hover { background: #eae9e3; }
.shared-language-options a[aria-current="page"] { background: var(--ink, #23251f); color: white; }
