/* The existing Tradeit chrome stays intact. Geometry/colors from the native header's language control. */
.ti-site-chrome header.ti-country-header[data-v-dd5155d8],
.ti-site-chrome .ti-country-header .ti-country-toolbar { overflow: visible !important; }
.ti-site-chrome .ti-header-language { position: relative; flex: 0 0 auto; font-family: "TiChrome Sofia Sans", "Sofia Sans", sans-serif; font-size: 16px; line-height: 24px; }
.ti-site-chrome .ti-country-toggle { display: flex; align-items: center; position: relative; width: 46px; height: 34px; padding: 0 16px 0 8px; margin: 0; border: 0; border-radius: 0; background: transparent; color: #787e87; font: inherit; cursor: pointer; box-shadow: none; text-transform: none; letter-spacing: normal; }
.ti-site-chrome .ti-country-toggle:hover { color: #dedede; background: transparent; }
.ti-site-chrome .ti-country-toggle:focus-visible { outline: 2px solid #615dfc; outline-offset: 3px; border-radius: 4px; }
.ti-site-chrome .ti-country-toggle .ti-country-flag { display: block; flex: 0 0 18px; width: 18px; height: 18px; border-radius: 50%; object-fit: cover; margin: 0 4px 0 0; }
.ti-site-chrome .ti-country-toggle > i { position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 14px; line-height: 1; }
.ti-site-chrome .ti-country-menu { position: absolute; z-index: 2000; top: 100%; right: 0; width: max-content; min-width: 149px; max-width: calc(100vw - 32px); max-height: min(340px, calc(100dvh - 80px)); overflow: auto; overscroll-behavior: contain; box-sizing: border-box; padding: 8px; margin: 0; border: 0; border-radius: 4px; background: #252632; box-shadow: 0 5px 5px -3px #0003, 0 8px 10px 1px #00000024, 0 3px 14px 2px #0000001f; color: #787e87; }
.ti-site-chrome .ti-country-menu[hidden] { display: none !important; }
.ti-site-chrome .ti-country-menu .ti-country-option { display: flex; align-items: center; gap: 8px; box-sizing: border-box; width: 100%; min-height: 40px; height: 40px; padding: 8px 12px; margin: 0; border: 0; border-radius: 4px; background: transparent; color: #787e87; font: inherit; font-size: 16px; font-weight: 400; line-height: 24px; white-space: nowrap; text-decoration: none !important; }
.ti-site-chrome .ti-country-menu .ti-country-option img { display: block; flex: 0 0 auto; width: auto; height: 14px; max-width: none; border-radius: 0; margin: 0; }
.ti-site-chrome .ti-country-menu .ti-country-option.is-current { color: #fff; font-weight: 500; }
.ti-site-chrome .ti-country-menu .ti-country-option:hover,
.ti-site-chrome .ti-country-menu .ti-country-option:focus-visible { background: #363745; color: #dedede; font-weight: 500; outline: none; }
@media (max-width: 959px) {
  .ti-site-chrome .ti-header-language { margin-left: 12px; }
  .ti-site-chrome .ti-country-toggle { height: 40px; }
}
