/* Atlas AMM 0.4.2 — standalone, narrowly scoped language navigation.
 * Never change the approved Atlas Site or Atlas Content Manager styles. */
.at-header .at-desktop-nav > details.at-products:last-child > .at-dropdown {
  left: auto;
  right: auto;
  inset-inline-start: auto;
  inset-inline-end: 0;
  width: min(248px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  max-height: min(75dvh, 520px);
  overflow-y: auto;
  padding: 15px 18px 12px;
}
.at-header .at-desktop-nav > details.at-products:last-child > .at-dropdown .at-kicker {
  margin-bottom: 9px;
}
.at-header .at-desktop-nav > details.at-products:last-child > .at-dropdown a {
  min-height: 41px;
  padding-block: 10px;
  gap: 10px;
}
.at-header .at-desktop-nav > details.at-products:last-child > summary {
  gap: 8px;
}
.at-header .at-desktop-nav > details.at-products:last-child > summary::before {
  content: "";
  display: inline-block;
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  background: url("globe.svg") center / contain no-repeat;
}
/* The approved theme flattens mobile child links. The AMM script wraps only
 * the uniquely marked language group into native details + summary. */
.at-header .at-mobile-panel nav > details.atlas-amm-mobile-language {
  min-width: 0;
  width: 100%;
  margin: 0;
  border-bottom: 1px solid var(--at-line, #e5e1d8);
}
.at-header .at-mobile-panel nav > details.atlas-amm-mobile-language > summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 0;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  cursor: pointer;
  color: inherit;
  list-style: none;
  overflow-wrap: normal;
  white-space: nowrap;
}
.at-header .at-mobile-panel nav > details.atlas-amm-mobile-language > summary::-webkit-details-marker {
  display: none;
}
.at-header .at-mobile-panel nav > details.atlas-amm-mobile-language > summary::before {
  content: "";
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  background: url("globe.svg") center / contain no-repeat;
}
.at-header .at-mobile-panel nav > details.atlas-amm-mobile-language > summary::after {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  margin-inline-start: auto;
  border-inline-end: 1px solid #a67b27;
  border-bottom: 1px solid #a67b27;
  transform: rotate(45deg);
  transition: transform .15s ease;
}
.at-header .at-mobile-panel nav > details.atlas-amm-mobile-language[open] > summary::after {
  transform: rotate(225deg);
}
.at-header .at-mobile-panel nav .atlas-amm-language-options {
  padding: 0 0 7px;
  margin-inline-start: 27px;
  max-width: 100%;
}
.at-header .at-mobile-panel nav .atlas-amm-language-options > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 43px;
  padding: 10px 0;
  margin: 0;
  font-size: 13px;
  letter-spacing: 0;
  line-height: 1.45;
  text-decoration: none;
}
.at-header .at-mobile-panel nav .atlas-amm-language-options > a > .at-arrow {
  display: none;
}
.at-header .at-mobile-panel nav .atlas-amm-language-options > a.atlas-amm-current-language {
  color: #916b20;
  font-weight: 600;
}
.at-header .at-mobile-panel nav .atlas-amm-language-options > a.atlas-amm-current-language::after {
  content: "\2713";
  color: #a67b27;
  font-weight: 700;
  font-size: 16px;
  margin-inline-start: auto;
}
@media (prefers-reduced-motion: reduce) {
  .at-header .at-mobile-panel nav > details.atlas-amm-mobile-language > summary::after {transition: none;}
}
