.yd-toolbar-language {
  align-items: center;
  border: 1px solid rgba(24, 37, 30, .24);
  border-radius: 999px;
  display: flex;
  flex: 0 0 auto;
  font: 700 11px/1 Arial, sans-serif;
  height: 34px;
  margin-left: 4px;
  padding: 2px;
}
.yd-language-switch__control {
  align-items: center;
  border-radius: 999px;
  color: #18251e;
  display: flex;
  height: 28px;
  justify-content: center;
  padding: 0 3px;
  text-decoration: none;
  width: 100%;
}
.yd-language-option {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  height: 24px;
  justify-content: center;
  min-width: 28px;
  padding: 0 5px;
  transition: background-color .18s ease, color .18s ease;
}
.yd-language-option.is-active {
  background: #193d2b;
  color: #fff;
}
.yd-language-divider { color: rgba(24, 37, 30, .5); }
.yd-mobile-language-toggle {
  align-items: center;
  color: #252a30;
  display: inline-flex;
  font: 700 9px/1 Arial, sans-serif;
  height: 44px;
  justify-content: center;
  letter-spacing: -.02em;
  min-width: 44px;
  width: 44px;
}
.yd-mobile-language-toggle .yd-language-switch__control { height: 44px; padding: 0; }
.yd-mobile-language-toggle .yd-language-option { height: 22px; min-width: 17px; padding: 0 2px; }
.yd-toolbar-language .yd-language-switch__control:focus-visible,
.yd-mobile-language-toggle .yd-language-switch__control:focus-visible {
  outline: 3px solid #d39a26 !important;
  outline-offset: 2px;
}
.ydLanguageDialog[hidden] { display: none !important; }
.ydLanguageDialog {
  inset: 0;
  position: fixed;
  z-index: 2147483646;
}
.ydLanguageDialog__backdrop {
  background: rgba(6, 16, 10, .62);
  inset: 0;
  position: absolute;
}
.ydLanguageDialog__panel {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .3);
  left: 50%;
  max-width: 430px;
  padding: 24px;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 32px);
}
.ydLanguageDialog__panel h2 {
  color: #18251e;
  font: 700 19px/1.35 Arial, sans-serif;
  margin: 0 0 12px;
}
.ydLanguageDialog__panel p {
  color: #35413a;
  font: 400 15px/1.55 Arial, sans-serif;
  margin: 0 0 22px;
}
.ydLanguageDialog__panel p span { display: block; }
.ydLanguageDialog__actions { display: flex; gap: 10px; justify-content: flex-end; }
.ydLanguageDialog__button {
  border: 1px solid #193d2b;
  border-radius: 999px;
  cursor: pointer;
  font: 700 13px/1 Arial, sans-serif;
  min-height: 42px;
  padding: 0 18px;
}
.ydLanguageDialog__button--cancel { background: #fff; color: #193d2b; }
.ydLanguageDialog__button--confirm { background: #193d2b; color: #fff; }
.ydLanguageDialog__button:focus-visible { outline: 3px solid #d39a26; outline-offset: 2px; }
html.ydLanguageDialogOpen { overflow: hidden; }

.ydConsentBanner {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(24, 37, 30, .16);
  border-radius: 16px;
  bottom: max(16px, env(safe-area-inset-bottom));
  box-shadow: 0 18px 55px rgba(8, 28, 18, .22);
  display: flex;
  gap: 20px;
  justify-content: space-between;
  left: 50%;
  max-width: 920px;
  padding: 18px 20px;
  position: fixed;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  z-index: 2147482999;
}
.ydConsentBanner[hidden],
.ydConsentSettings[hidden] { display: none !important; }
.ydConsentCopy { color: #26332c; }
.ydConsentCopy h2 {
  font: 700 17px/1.3 Arial, sans-serif;
  margin: 0 0 6px;
}
.ydConsentCopy p {
  font: 400 13px/1.5 Arial, sans-serif;
  margin: 0 0 5px;
}
.ydConsentCopy a {
  color: #193d2b;
  font: 700 12px/1.4 Arial, sans-serif;
  text-decoration: underline;
}
.ydConsentActions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}
.ydConsentButton,
.ydConsentSettings {
  border-radius: 999px;
  cursor: pointer;
  font: 700 12px/1 Arial, sans-serif;
}
.ydConsentButton {
  min-height: 40px;
  padding: 0 15px;
}
.ydConsentButton--primary {
  background: #193d2b;
  border: 1px solid #193d2b;
  color: #fff;
}
.ydConsentButton--secondary {
  background: #fff;
  border: 1px solid #193d2b;
  color: #193d2b;
}
.ydConsentSettings {
  align-items: center;
  background: transparent;
  border: 0;
  color: inherit;
  display: flex;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  text-align: left;
  width: 100%;
}
#headerMenu .ydConsentMenuItem {
  border-top: 1px solid rgba(24, 37, 30, .12);
  margin-top: 10px;
  padding-top: 8px;
}
.ydConsentButton:focus-visible,
.ydConsentSettings:focus-visible {
  outline: 3px solid #d39a26;
  outline-offset: 2px;
}

@media (max-width: 767px) {
  .ydConsentBanner {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
    padding: 17px;
  }
  .ydConsentActions { width: 100%; }
  .ydConsentButton { flex: 1 1 50%; }
}

@media (max-width: 420px) {
  .ydConsentActions { flex-direction: column; }
}

@media (max-width: 767px) {
  .homeDesktopActions > .yd-toolbar-language { display: none; }
  .ydLanguageDialog__panel { padding: 21px 18px 18px; }
  .ydLanguageDialog__actions { flex-direction: column-reverse; }
  .ydLanguageDialog__button { width: 100%; }
}
@media (max-width: 400px) {
  .mobileHeaderActions { grid-auto-columns: 40px; }
  .mobileHeaderActions > .mobileHeaderAction,
  .mobileHeaderActions > .yd-mobile-language-toggle { min-width: 40px; width: 40px !important; }
  .yd-mobile-language-toggle { font-size: 8px; }
}
@media (max-width: 370px) {
  .mobileHeaderActions { grid-auto-columns: 38px; }
  .mobileHeaderActions > .mobileHeaderAction,
  .mobileHeaderActions > .yd-mobile-language-toggle { min-width: 38px; width: 38px !important; }
}

.ydTranslationProgress {
  align-items: center;
  background: #173d2b;
  border-radius: 12px;
  bottom: max(16px, env(safe-area-inset-bottom));
  box-shadow: 0 14px 42px rgba(8, 28, 18, .26);
  color: #fff;
  display: flex;
  gap: 12px;
  left: 50%;
  max-width: 560px;
  padding: 14px 18px;
  position: fixed;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  z-index: 2147482998;
}
.ydTranslationProgress strong,
.ydTranslationProgress small { display: block; }
.ydTranslationProgress strong { font: 700 14px/1.4 Arial, sans-serif; }
.ydTranslationProgress small {
  color: rgba(255,255,255,.82);
  font: 400 12px/1.45 Arial, sans-serif;
  margin-top: 2px;
}
.ydTranslationProgress__spinner {
  animation: ydTranslationSpin .9s linear infinite;
  border: 2px solid rgba(255,255,255,.34);
  border-radius: 50%;
  border-top-color: #fff;
  flex: 0 0 22px;
  height: 22px;
  width: 22px;
}
.ydTranslationProgress--paused .ydTranslationProgress__spinner { animation: none; }
@keyframes ydTranslationSpin { to { transform: rotate(360deg); } }
