.fixtech-language-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  flex: 0 0 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: inherit;
  background: rgba(6, 66, 87, 0.1);
  font: inherit;
  cursor: pointer;
  transition: background-color 0.18s ease, box-shadow 0.18s ease;
}
.fixtech-language-toggle:hover,
.fixtech-language-toggle:focus {
  background: rgba(6, 66, 87, 0.18);
  box-shadow: 0 0 0 4px rgba(6, 66, 87, 0.1);
}
.fixtech-language-icon {
  display: block;
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  background: currentColor;
  mask: url('/vendor/fontawesome/light/globe.svg') center / contain no-repeat;
  -webkit-mask: url('/vendor/fontawesome/light/globe.svg') center / contain no-repeat;
}
.fixtech-language-dialog {
  box-sizing: border-box;
  width: min(540px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 24px;
  border: 1px solid #dce6e8;
  border-radius: 8px;
  background: #fff;
  color: #233238;
  box-shadow: 0 20px 60px #06273033;
  font-family: 'Nunito', Arial, sans-serif;
  letter-spacing: 0;
  overflow: auto;
}
.fixtech-language-dialog::backdrop { background: #06273066; }
.fixtech-language-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.fixtech-language-heading h2 { margin: 0; font-size: 22px; font-weight: 700; line-height: 1.4; overflow-wrap: anywhere; }
.fixtech-language-close { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; padding: 10px; border: 1px solid #dce6e8; border-radius: 8px; background: transparent; color: inherit; cursor: pointer; }
.fixtech-language-close span { width: 20px; height: 20px; background: currentColor; mask: url('/vendor/fontawesome/light/xmark.svg') center / contain no-repeat; -webkit-mask: url('/vendor/fontawesome/light/xmark.svg') center / contain no-repeat; }
.fixtech-language-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fixtech-language-options button { min-width: 0; min-height: 52px; padding: 12px; border: 1px solid #dce6e8; border-radius: 8px; background: #fff; color: #233238; font: inherit; font-size: 17px; line-height: 1.5; overflow-wrap: anywhere; cursor: pointer; }
.fixtech-language-options button:hover { background: #edf5f5; }
.fixtech-language-options button[aria-current] { border-color: #064257; background: #064257; color: #fff; }
.fixtech-language-toggle:focus-visible, .fixtech-language-dialog button:focus-visible { outline: 3px solid #078da8; outline-offset: 3px; }
input[data-fixtech-temporal-ready="1"] { position: relative; }
input[data-fixtech-temporal-ready="1"].fixtech-temporal-empty:not(:focus)::-webkit-datetime-edit { color: transparent; }
input[data-fixtech-temporal-ready="1"].fixtech-temporal-empty:not(:focus)::before {
  content: attr(data-fixtech-temporal-placeholder);
  position: absolute;
  max-width: calc(100% - 3rem);
  color: #7d878a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
}
.auth-language { display: flex; justify-content: flex-end; margin-bottom: 20px; color: #376d6e; }
.fixtech-currency-form { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin: 0 0 24px; min-width: 0; }
.fixtech-currency-form .cabinet-field { display: grid; gap: 8px; min-width: 0; width: 180px; max-width: 100%; }
.fixtech-currency-form select { box-sizing: border-box; width: 100%; min-height: 44px; padding: 10px 14px; border: 1px solid #dce6e8; border-radius: 8px; background: #fff; color: #233238; font: inherit; }
.fixtech-currency-form button { min-height: 44px; max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.fixtech-currency-note { flex: 1 0 100%; margin: 0; font-size: 14px; line-height: 1.5; }
.cabinet-profile-panel .fixtech-currency-form { margin-bottom: 0; }
.admin-translation-filter { display: flex; flex-wrap: wrap; align-items: end; gap: 16px; margin-bottom: 24px; }
.admin-form.admin-translation-editor, .admin-form.admin-currency-form { display: block; }
.admin-currency-form .admin-table { min-width: 0; width: 100%; table-layout: fixed; }
.admin-currency-form .admin-table th:first-child { width: 28%; }
.admin-translation-filter label { display: grid; gap: 8px; flex: 1 1 180px; min-width: 0; }
.admin-translation-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: 20px; }
.admin-translation-fields label { display: grid; gap: 8px; min-width: 0; }
.admin-translation-fields textarea { box-sizing: border-box; width: 100%; min-width: 0; height: auto; resize: vertical; line-height: 1.5; }
@media (max-width: 767px) { .admin-translation-fields { grid-template-columns: minmax(0, 1fr); } }
.public-content-language { margin-inline-start: auto; margin-inline-end: 12px; }
.blog-post-hero h1 { overflow-wrap: anywhere; }
@media (max-width: 600px) { .blog-post-hero h1 { font-size: 32px; } }
@media (min-width: 992px) { .public-content-language { order: 3; margin-inline-start: 16px; margin-inline-end: 0; } }
.site-header .fixtech-language-toggle,
.cabinet-topbar .fixtech-language-toggle,
.help-header .fixtech-language-toggle {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}
.site-header .fixtech-language-toggle:hover,
.site-header .fixtech-language-toggle:focus,
.cabinet-topbar .fixtech-language-toggle:hover,
.cabinet-topbar .fixtech-language-toggle:focus,
.help-header .fixtech-language-toggle:hover,
.help-header .fixtech-language-toggle:focus {
  background: rgba(255, 255, 255, 0.24);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.14);
}
.tasty-storefront[data-template="tasty-grid-catalog-main"] .fixtech-language-toggle {
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  flex: 0 0 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--store-soft);
}
@media (min-width: 992px) {
  .site-header .navbar-collapse { min-width: 0; }
  .site-header .main-nav { min-width: 0; flex-wrap: wrap; row-gap: 10px; column-gap: 18px; }
  .site-header .main-nav .nav-link { white-space: nowrap; }
  .site-header .header-actions { flex: 0 0 auto; }
}
html:not([lang="ru"]) .auth-form label, html:not([lang="ru"]) .auth-actions > * { min-width: 0; }
html:not([lang="ru"]) .auth-actions > * { white-space: normal; overflow-wrap: anywhere; }
@media (max-width: 480px) {
  .fixtech-language-dialog { padding: 20px; }
  .fixtech-language-heading h2 { font-size: 20px; }
  .fixtech-language-options { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 991.98px) {
  .site-header .fixtech-language-toggle { margin-left: auto; }
  .site-header .fixtech-language-toggle + .theme-toggle { margin-left: 8px; }
}
.fixtech-locale-error { margin: 0; font-family: Arial, sans-serif; line-height: 1.5; letter-spacing: 0; }
.fixtech-locale-error .auth-form-wrap h1 { font-size: 28px; line-height: 1.3; text-align: left; overflow-wrap: anywhere; }
.fixtech-locale-error .auth-form-wrap p { margin: 20px 0 28px; overflow-wrap: anywhere; }
.fixtech-locale-error .auth-primary { display: inline-flex; min-width: 160px; text-decoration: none; justify-content: center; white-space: normal; text-align: center; max-width: 100%; }
