.ux-search-submit.submit-button.button.icon i {
  display: inline-block;
  font-family: fl-icons, "Noto Sans", sans-serif !important;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
}

/* Keep header flush with viewport top in Laravel render (remove inherited WP offsets). */
html,
body {
  margin: 0 !important;
  padding: 0 !important;
}

html {
  margin-top: 0 !important;
}

body #wrapper {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

#header,
#header .header-wrapper,
#masthead {
  margin-top: 0 !important;
  padding-top: 0 !important;
  top: 0 !important;
}

.ux-search-submit .search-icon-fallback {
  display: inline-block;
  vertical-align: middle;
}

#text-2173082347 {
  text-align: center;
}

.searchform {
  position: relative;
}

.live-search-results {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  background: #fff;
  border: 1px solid #e7e2d8;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  z-index: 1200;
  display: none;
  max-height: 360px;
  overflow: auto;
}

.live-search-results.is-open {
  display: block;
}

.live-search-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.live-search-item + .live-search-item {
  border-top: 1px solid #f0ece3;
}

.live-search-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  text-decoration: none;
  color: #2d2d2d;
}

.live-search-link:hover {
  background: #faf7f1;
}

.live-search-thumb {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f5f5f5;
}

.live-search-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.live-search-title {
  font-size: 14px;
  line-height: 1.35;
}
/* Single-flag language button (click cycles vi -> en -> cn). */
#masthead .header-nav.header-nav-main > li.language-switcher {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 46px;
  margin-left: 10px !important;
  margin-right: 10px !important;
}

.language-switcher .lang-single-btn {
  width: 58px;
  min-width: 58px;
  height: 42px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  text-decoration: none;
  line-height: 0;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.language-switcher .lang-single-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(137, 95, 69, 0.72);
  box-shadow: 0 6px 14px rgba(137, 95, 69, 0.2);
}

.language-switcher .lang-single-btn:focus-visible {
  outline: 2px solid rgba(137, 95, 69, 0.35);
  outline-offset: 2px;
}

.language-switcher .lang-flag {
  display: block;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
}

.language-switcher .lang-flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Lock desktop nav text to one row and stable spacing/position on interaction. */
@media (min-width: 850px) {
  #masthead .header-inner {
    flex-wrap: nowrap !important;
  }

  #masthead .header-nav.header-nav-main {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center;
    white-space: nowrap;
  }

  #masthead .header-nav.header-nav-main.nav-spacing-xlarge > li {
    flex: 0 0 auto;
    margin: 0 14px !important;
  }

  #masthead .header-nav.header-nav-main > li > a.nav-top-link {
    display: inline-flex;
    align-items: center;
    white-space: nowrap !important;
    line-height: 16px !important;
    font-size: 1.05rem !important;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
    transform: none !important;
    transition: color 0.2s ease !important;
  }

  #masthead .header-nav.header-nav-main > li > a.nav-top-link:hover,
  #masthead .header-nav.header-nav-main > li > a.nav-top-link:focus,
  #masthead .header-nav.header-nav-main > li > a.nav-top-link:active,
  #masthead .header-nav.header-nav-main > li.active > a.nav-top-link,
  #masthead .header-nav.header-nav-main > li.current-menu-item > a.nav-top-link {
    line-height: 16px !important;
    font-size: 1.05rem !important;
    font-weight: 700;
    letter-spacing: 0;
    transform: none !important;
  }

  #masthead .header-nav.header-nav-main > li > button.nav-top-link {
    display: inline-flex;
    align-items: center;
    white-space: nowrap !important;
    line-height: 16px !important;
    font-size: 1.05rem !important;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
    transform: none !important;
  }

  #masthead .header-nav.header-nav-main > li > button.nav-top-link:hover,
  #masthead .header-nav.header-nav-main > li > button.nav-top-link:focus,
  #masthead .header-nav.header-nav-main > li > button.nav-top-link:active {
    line-height: 16px !important;
    font-size: 1.05rem !important;
    font-weight: 700;
    letter-spacing: 0;
    transform: none !important;
  }
}
