.elm-header .elm-header-bar > a.elm-cart {
  position: relative;
  display: grid !important;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid #d5e1e3;
  border-radius: 50%;
  background: #fff;
  color: #217c9a !important;
  flex: 0 0 auto;
  box-shadow: 0 7px 18px rgba(16, 62, 58, 0.08);
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.elm-header .elm-header-bar > a.elm-cart svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.elm-header .elm-header-bar > a.elm-cart:hover {
  transform: translateY(-2px);
  border-color: #f34d91;
  background: #fff5f9;
  color: #d92f78 !important;
}

.elm-header .elm-header-bar > a.elm-cart:focus-visible {
  outline: 3px solid #ffbd3c !important;
  outline-offset: 4px !important;
}

.elm-cart__count {
  position: absolute;
  top: -6px;
  right: -6px;
  display: grid;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #f34d91;
  color: #fff;
  font: 800 11px/1 Arial, sans-serif;
}

.elm-cart__count[hidden] {
  display: none !important;
}

.elm-header .elm-header-bar > .elm-language--mobile {
  position: relative;
  display: none;
  flex: 0 0 auto;
}

.elm-header .elm-header-bar > .elm-language--mobile > summary {
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  border: 1px solid #d5e1e3;
  border-radius: 50%;
  background: #fff;
  color: #217c9a;
  box-shadow: 0 7px 18px rgba(16, 62, 58, 0.08);
  list-style: none;
}

.elm-header .elm-header-bar > .elm-language--mobile > summary::-webkit-details-marker {
  display: none;
}

.elm-header .elm-header-bar > .elm-language--mobile > summary svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.elm-header .elm-header-bar > .elm-language--mobile[open] > summary {
  border-color: #f34d91;
  background: #fff5f9;
  color: #d92f78;
}

.elm-header .elm-header-bar > .elm-language--mobile > .elm-locale-options {
  position: absolute !important;
  top: calc(100% + 12px) !important;
  right: -8px !important;
  left: auto !important;
  z-index: 60 !important;
  display: flex !important;
  width: max-content !important;
  max-width: calc(100vw - 24px) !important;
  min-width: 260px;
  padding: 5px !important;
  border: 1px solid #d5e1e3;
  border-radius: 32px;
  background: #fff !important;
  box-shadow: 0 14px 36px rgba(16, 62, 58, 0.2) !important;
}

.elm-header .elm-header-bar > .elm-language--mobile > .elm-locale-options button {
  min-height: 42px;
  padding: 10px 14px;
}

@media (max-width: 640px) {
  .elm-header .elm-header-bar > a.elm-cart {
    width: 42px;
    height: 42px;
  }

  .elm-header .elm-header-bar > a.elm-cart svg {
    width: 23px;
    height: 23px;
  }

  .elm-cart__count {
    top: -5px;
    right: -5px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    font-size: 10px;
  }

  .elm-header .elm-header-bar > .elm-language--mobile {
    display: block !important;
  }
}

@media (max-width: 380px) {
  .elm-header .elm-header-bar {
    gap: 9px;
  }

  .elm-header .elm-header-bar > a.elm-cart,
  .elm-header .elm-header-bar > .elm-language--mobile > summary {
    width: 40px;
    height: 40px;
  }

  .elm-header .elm-menu > summary {
    width: 46px;
    height: 46px;
  }
}
