/* 11-20 语言切换按钮（页头右上角 + 手机菜单） */
.nzx-lang {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nzx-lang__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 22px;
  background: transparent;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.nzx-lang__toggle:hover,
.nzx-lang.is-open .nzx-lang__toggle {
  border-color: #FFBF25;
  color: #FFBF25;
}
.nzx-lang__toggle:focus-visible {
  outline: 2px solid #FFBF25;
  outline-offset: 2px;
}
.nzx-lang__caret {
  transition: transform 0.2s;
}
.nzx-lang.is-open .nzx-lang__caret {
  transform: rotate(180deg);
}
.nzx-lang__menu {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  z-index: 1000;
  min-width: 180px;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
}
.nzx-lang.is-open .nzx-lang__menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.nzx-lang__menu li {
  display: block;
  margin: 0;
}
.nzx-lang__menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 18px;
  font-size: 16px;
  line-height: 1.3;
  color: #111;
  text-align: start;
}
.nzx-lang__menu a:hover {
  background: #f3f3f3;
  color: #111;
}
.nzx-lang__menu a.is-current {
  font-weight: 600;
}
.nzx-lang__menu a.is-current::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #E0A100;
}
/* 手机菜单里的语言行 */
.nzx-lang-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
}
.nzx-lang-list a {
  padding: 8px 14px;
  border: 1px solid #D5D5D5;
  border-radius: 20px;
  font-size: 15px;
  line-height: 1.2;
  color: #111;
}
.nzx-lang-list a.is-current {
  border-color: #111;
  font-weight: 600;
}
@media (max-width: 1199px) {
  .nzx-lang__toggle {
    height: 38px;
    padding: 0 11px;
    font-size: 15px;
  }
}

/* 法语不按英文习惯每个词首字母大写（主题 main.css 里 40 处 capitalize） */
html[lang="fr"] h1,
html[lang="fr"] h2,
html[lang="fr"] h3,
html[lang="fr"] h4,
html[lang="fr"] h5,
html[lang="fr"] h6,
html[lang="fr"] .login-wrapper .signin-item .input-item input,
html[lang="fr"] .faq-content .accordion-item .accordion-header .accordion-button,
html[lang="fr"] .header-main .main-menu ul li a,
html[lang="fr"] .header-main .main-menu ul li .has-homemenu .homemenu-items .homemenu .homemenu-title,
html[lang="fr"] .header-main .main-menu ul li .has-homemenu .homemenu-items .homemenu .homemenu-title a,
html[lang="fr"] .offcanvas__wrapper .offcanvas__content .offcanvas__contact ul li,
html[lang="fr"] .offcanvas__wrapper .offcanvas__content .offcanvas__contact .header-button .theme-btn,
html[lang="fr"] .mean-container .mean-nav ul li a,
html[lang="fr"] .news-details-wrapper .news-details-items .tag-share-wrap .tagcloud a,
html[lang="fr"] .main-sidebar .single-sidebar-widget.style-2 .filter-size .input-save label,
html[lang="fr"] .main-sidebar .single-sidebar-widget.style-2 .tagcloud a,
html[lang="fr"] .feature-product-left-items .content .coming-soon ul li p,
html[lang="fr"] .woocommerce-notices-wrapper .form-clt .nice-select,
html[lang="fr"] .main-cart-wrapper .cart-wrapper .cart-items-wrapper table thead tr th,
html[lang="fr"] .main-cart-wrapper .cart-wrapper-footer form input,
html[lang="fr"] .main-cart-wrapper .cart-graph ul li span,
html[lang="fr"] .checkout-single-wrapper .checkout-single .checkout-single-form .input-single textarea,
html[lang="fr"] .checkout-single-wrapper .checkout-single .checkout-single-form .input-single .country-select,
html[lang="fr"] .checkout-single-wrapper .checkout-single .checkout-single-form .input-single input,
html[lang="fr"] .checkout-single-wrapper .checkout-single .checkout-single-form .input-single label,
html[lang="fr"] .checkout-single-wrapper .checkout-single .checkout-single-form .payment,
html[lang="fr"] .checkout-single-wrapper .checkout-single-bg .checkout-single-form .input-single textarea,
html[lang="fr"] .checkout-single-wrapper .checkout-single-bg .checkout-single-form .input-single .country-select,
html[lang="fr"] .checkout-single-wrapper .checkout-single-bg .checkout-single-form .input-single input,
html[lang="fr"] .checkout-single-wrapper .payment-save label,
html[lang="fr"] .checkout-order-area .product-checout-area .checkout-item .from-customradio .form-check-label,
html[lang="fr"] .checkout-order-area .product-checout-area .checkout-item-2 .from-customradio-2 .form-check-label,
html[lang="fr"] .shop-details-wrapper .product-details-content .details-info span,
html[lang="fr"] .shop-details-wrapper .product-details-content .details-info a,
html[lang="fr"] .shop-details-wrapper .single-tab .description-items .description-content .description-list-items .description-list li,
html[lang="fr"] .shop-details-wrapper .single-tab .review-title .rate-now p,
html[lang="fr"] .shop-details-wrapper .single-tab .review-form .form-clt input,
html[lang="fr"] .shop-details-wrapper .single-tab .review-form .form-clt-big textarea,
html[lang="fr"] .car-details-wrapper .car-details-right-items .car-details-form .form-clt input {
  text-transform: none !important;
}
/* 法语菜单更长：缩小间距，按钮文字不换行 */
@media (min-width: 1200px) {
  html[lang="fr"] .header-main .main-menu ul li {
    margin-inline-end: 22px;
  }
  html[lang="fr"] .header-main .main-menu ul li a {
    font-size: 17px;
  }
}
.header-right .header-button .theme-btn {
  white-space: nowrap;
}

/* 11-21 面包屑长标题收省略号的规则已挪到 growth.css，英文、法语、阿拉伯语一起生效 */
