#google_translate_element { position: fixed; z-index: 999; right: 18px; bottom: 18px; min-width: 42px; min-height: 32px; }
body.workshop-page #google_translate_element { bottom: 18px; }
#google_translate_element .goog-te-gadget { color: transparent; font: inherit; }
#google_translate_element .goog-te-gadget > span { display: none; }
#google_translate_element select.goog-te-combo { min-height: 34px; max-width: 142px; padding: 0 25px 0 11px; color: #171716; background: rgba(255,255,255,.9); border: 1px solid rgba(17,17,15,.16); border-radius: 999px; box-shadow: 0 6px 18px rgba(17,17,15,.08); font: 600 12px/1 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; cursor: pointer; }
body .skiptranslate { font-size: 0; }
body .goog-te-banner-frame { display: none !important; }
body { top: 0 !important; }
body:has(dialog[open]) #google_translate_element,
body:has(.workshop-edit-modal:not([hidden])) #google_translate_element,
body:has(.preparation-drawer:not([hidden])) #google_translate_element { display: none; }
@media (max-width: 760px) { #google_translate_element { right: 10px; top: 76px; bottom: auto; } body.workshop-page #google_translate_element { top: 72px; bottom: auto; } #google_translate_element select.goog-te-combo { max-width: 108px; font-size: 11px; } }

/* Product surfaces opt into an owned menu slot instead of a floating overlay. */
#google_translate_element.language-switcher--inline {
  position: static;
  z-index: auto;
  inset: auto;
  min-width: 0;
  min-height: 0;
}
#google_translate_element.language-switcher--inline .goog-te-gadget { width: 100%; }
#google_translate_element.language-switcher--inline select.goog-te-combo {
  width: 100%;
  max-width: none;
  min-height: 40px;
  margin: 0;
  padding: 0 32px 0 11px;
  color: #171716;
  background-color: #f3f3f0;
  border: 1px solid transparent;
  border-radius: 10px;
  box-shadow: none;
  font-size: 12px;
  transition-property: color, background-color, border-color, transform;
  transition-duration: 150ms;
}
#google_translate_element.language-switcher--inline select.goog-te-combo:hover {
  background-color: #ecece8;
}
#google_translate_element.language-switcher--inline select.goog-te-combo:focus-visible {
  background-color: #fff;
  border-color: rgba(56,39,199,.42);
  outline: 3px solid rgba(56,39,199,.12);
  outline-offset: 1px;
}
#google_translate_element.language-switcher--inline select.goog-te-combo:active { transform: scale(.96); }

@media (max-width: 760px) {
  #google_translate_element.language-switcher--inline {
    position: static;
    inset: auto;
  }
  #google_translate_element.language-switcher--inline select.goog-te-combo {
    width: 100%;
    max-width: none;
    font-size: 12px;
  }
}
