.hertz-language-switcher {
  position: relative;
  z-index: 90;
  flex: 0 0 auto;
  margin-left: 12px;
  color: #fff;
  font-family: inherit;
}

.hertz-language-switcher summary {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 22%);
  border-radius: 7px;
  background: rgb(255 255 255 / 6%);
  color: inherit;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  list-style: none;
}

.hertz-language-switcher summary::-webkit-details-marker {
  display: none;
}

.hertz-language-switcher summary:hover,
.hertz-language-switcher[open] summary {
  border-color: #ffd400;
}

.hertz-language-switcher summary > svg {
  display: block;
  width: 20px;
  height: 14px;
}

.hertz-language-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  display: grid;
  min-width: 48px;
  gap: 3px;
  padding: 6px;
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 9px;
  background: #111;
  box-shadow: 0 12px 32px rgb(0 0 0 / 35%);
}

.hertz-language-menu button {
  display: flex;
  width: 100%;
  height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font: inherit;
}

.hertz-language-menu button:hover,
.hertz-language-menu button[aria-current="true"] {
  background: rgb(255 212 0 / 15%);
  color: #ffd400;
}

.hertz-language-menu button > svg {
  display: block;
  width: 20px;
  height: 14px;
}

@media (max-width: 767px) {
  header:has(button.md\:hidden) > .container-page {
    position: relative;
  }

  header nav.hertz-mobile-nav-open {
    position: absolute;
    z-index: 80;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border: 1px solid rgb(255 255 255 / 12%);
    border-top: 0;
    background: #101010;
    box-shadow: 0 16px 32px rgb(0 0 0 / 35%);
  }

  header nav.hertz-mobile-nav-open a {
    padding: 12px;
  }
}

@media (max-width: 720px) {
  .hertz-language-switcher {
    margin-left: 5px;
  }

  .hertz-language-switcher summary {
    width: 34px;
    height: 34px;
  }
}
