.molli-language-switcher {
  position: relative;
  z-index: 999998;
  flex: 0 0 auto;
  margin-left: 12px;
  color: #292522;
  font-family: Barlow, Arial, sans-serif;
}

.molli-language-switcher__dropdown {
  position: relative;
}

.molli-language-switcher__toggle {
  display: flex;
  min-height: 34px;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border: 1px solid rgba(196, 47, 99, .16);
  border-radius: 999px;
  background: rgba(255, 253, 249, .94);
  box-shadow: 0 4px 14px rgba(53, 32, 37, .06);
  color: #716863;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  list-style: none;
  cursor: pointer;
}

.molli-language-switcher__toggle::-webkit-details-marker {
  display: none;
}

.molli-language-switcher__toggle::after {
  color: #c42f63;
  content: "⌄";
  font-size: 13px;
  line-height: .7;
  transform: translateY(-1px);
}

.molli-language-switcher__dropdown[open] .molli-language-switcher__toggle::after {
  transform: translateY(2px) rotate(180deg);
}

.molli-language-switcher__options {
  position: absolute;
  top: calc(100% + 7px);
  right: 0;
  display: grid;
  min-width: 156px;
  gap: 2px;
  padding: 5px;
  border: 1px solid rgba(196, 47, 99, .16);
  border-radius: 15px;
  background: rgba(255, 253, 249, .98);
  box-shadow: 0 12px 30px rgba(53, 32, 37, .13);
}

.molli-language-switcher__link {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 6px 8px;
  border-radius: 10px;
  color: #514a46;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease;
}

.molli-language-switcher__link:hover,
.molli-language-switcher__link:focus-visible,
.molli-language-switcher__link.is-active {
  color: #c42f63;
  background: rgba(196, 47, 99, .09);
}

@media (max-width: 899px) {
  .mobile-mini-widgets-in-menu .molli-language-switcher,
  #mobile-menu .molli-language-switcher {
    margin: 16px 20px 0;
    padding-top: 15px;
    border-top: 1px solid rgba(196, 47, 99, .14);
  }

  .mobile-mini-widgets-in-menu .molli-language-switcher__toggle,
  #mobile-menu .molli-language-switcher__toggle {
    width: 100%;
    min-height: 42px;
    justify-content: flex-start;
    gap: 7px;
    padding: 7px 11px;
  }

  .mobile-mini-widgets-in-menu .molli-language-switcher__toggle::after,
  #mobile-menu .molli-language-switcher__toggle::after {
    margin-left: auto;
  }

  .mobile-mini-widgets-in-menu .molli-language-switcher__options,
  #mobile-menu .molli-language-switcher__options {
    position: static;
    min-width: 0;
    margin-top: 7px;
    box-shadow: none;
  }
}

@media (min-width: 900px) {
  .header-bar .molli-language-switcher {
    margin-right: 3px;
    margin-left: auto;
  }
}

/* Desktop header stability.
   The theme cart dropdown can render open in the header and steal width from
   the main navigation. Keep the desktop header compact and one-line. */
@media (min-width: 900px) {
  body .header-bar {
    align-items: center !important;
    min-height: 96px !important;
    height: auto !important;
    gap: clamp(10px, 1.2vw, 22px) !important;
  }

  body .header-bar .branding {
    flex: 0 0 clamp(180px, 16vw, 260px) !important;
    min-width: 180px !important;
    max-width: 260px !important;
  }

  body .header-bar .branding img {
    max-width: clamp(170px, 15vw, 245px) !important;
    height: auto !important;
  }

  body .header-bar #primary-menu.main-nav,
  body .header-bar .main-nav {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: center !important;
    min-width: 0 !important;
    width: auto !important;
    height: auto !important;
    gap: 0 !important;
  }

  body .header-bar #primary-menu.main-nav > li,
  body .header-bar .main-nav > li {
    flex: 0 0 auto !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    white-space: nowrap !important;
  }

  body .header-bar #primary-menu.main-nav > li > a,
  body .header-bar .main-nav > li > a {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 34px !important;
    padding-right: clamp(8px, .85vw, 15px) !important;
    padding-left: clamp(8px, .85vw, 15px) !important;
    white-space: nowrap !important;
    font-size: clamp(12px, .78vw, 14px) !important;
    line-height: 1 !important;
  }

  body .header-bar .mini-widgets {
    display: flex !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    justify-content: flex-end !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 230px !important;
    height: auto !important;
    gap: 7px !important;
    margin-left: clamp(4px, .7vw, 12px) !important;
  }

  body .header-bar .mini-widgets > * {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  body .header-bar .mini-widgets .soc-ico,
  body .header-bar .mini-widgets .soc-ico a,
  body .header-bar .mini-widgets a.facebook,
  body .header-bar .mini-widgets a.tripedvisor,
  body .header-bar .mini-widgets a.instagram {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 24px !important;
    height: 24px !important;
  }

  body .header-bar .wc-shopping-cart,
  body .header-bar .shopping-cart {
    position: relative !important;
    display: inline-flex !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
  }

  body .header-bar .wc-ico-cart {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 26px !important;
    height: 26px !important;
    line-height: 1 !important;
  }

  body .header-bar .shopping-cart-wrap,
  body .header-bar .shopping-cart-inner,
  body .header-bar .shopping-cart-bottom,
  body .header-bar .cart_list.product_list_widget,
  body .header-bar .wc-shopping-cart .button.view-cart,
  body .header-bar .wc-shopping-cart .button.checkout {
    display: none !important;
  }

  body .header-bar .molli-language-switcher {
    flex: 0 0 auto !important;
    width: auto !important;
    margin-right: 0 !important;
    margin-left: clamp(4px, .7vw, 12px) !important;
  }

  body .header-bar .molli-language-switcher__toggle {
    min-height: 32px !important;
    padding: 4px 8px !important;
  }
}

@media (min-width: 900px) and (max-width: 1240px) {
  body .header-bar {
    gap: 8px !important;
  }

  body .header-bar .branding {
    flex-basis: 180px !important;
    min-width: 165px !important;
  }

  body .header-bar #primary-menu.main-nav > li > a,
  body .header-bar .main-nav > li > a {
    padding-right: 7px !important;
    padding-left: 7px !important;
    font-size: 12px !important;
  }

  body .header-bar .mini-widgets {
    max-width: 135px !important;
    gap: 4px !important;
  }

  body .header-bar .molli-language-switcher__toggle-label {
    display: none !important;
  }
}
