/* 2026-11-06 WhatsApp entry points and the 中文 / EN / فارسی switcher. */
.header-tools{display:flex;align-items:center;gap:10px;flex-shrink:0}
.wa-button{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 16px;border-radius:999px;background:transparent;border:1.5px solid #0f7a3d;color:#0f7a3d;font-size:14px;font-weight:600;white-space:nowrap;transition:background .2s}
.wa-button:hover{background:#e7f4ec}
.wa-button:hover{background:#0b6331}
.wa-button[hidden]{display:none}
.wa-icon{width:18px;height:18px;flex-shrink:0}
.lang-switch{display:inline-flex;align-items:center;gap:2px;padding:3px;border-radius:999px;background:transparent;border:1.5px solid #0f7a3d;flex-shrink:0}
.lang-switch button{min-height:34px;min-width:44px;padding:0 12px;border:0;border-radius:999px;background:transparent;color:#0f7a3d;font-size:14px;font-weight:600;cursor:pointer;line-height:1}
.lang-switch button:hover{background:#0f7a3d14}
.lang-switch button[aria-pressed="true"]{background:#e7f4ec;color:#0b6331}
.lang-switch button:focus-visible,.wa-button:focus-visible,.wa-send:focus-visible,.wa-bar:focus-visible{outline:2px solid #12365c;outline-offset:2px}
.lang-switch button[lang="fa"]{font-family:Tahoma,"Segoe UI","Geeza Pro","Noto Naskh Arabic",sans-serif}
.lang-switch--menu{display:none}
/* WhatsApp send button after an inquiry has been generated */
.wa-send{display:inline-flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:48px;margin-top:14px;padding:0 20px;background:#0f7a3d;color:#ffffff;font-size:16px;font-weight:600}
.wa-send:hover{background:#0b6331}
.wa-send[hidden]{display:none}
.wa-send .wa-icon{width:20px;height:20px}
/* WhatsApp in the mobile quick-contact bar */
.mobile-contact-bar .wa-bar{display:flex;align-items:center;justify-content:center;gap:8px;background:#0f7a3d;color:#ffffff;font-weight:600}
.mobile-contact-bar .wa-bar[hidden]{display:none}
@media(max-width:1360px){.nav-cta{display:none}}
@media(max-width:1180px){.header-contact{display:none!important}}
@media(max-width:1100px){
  .header-tools{margin-left:auto}
}
@media(max-width:800px){
  .header-tools .lang-switch{display:none}
  .wa-button{width:44px;height:44px;min-height:44px;padding:0;justify-content:center}
  .wa-button span{display:none}
  .wa-button .wa-icon{width:22px;height:22px}
  .lang-switch--menu{display:flex;width:max-content;margin:12px 0 4px}
  .lang-switch--menu button{min-height:40px;padding:0 16px}
  .nav-cta{display:none}
}

/* Persian: right-to-left layout and a font that renders the script well. */
html[dir="rtl"] body{font-family:Tahoma,"Segoe UI","Geeza Pro","Noto Naskh Arabic",Arial,sans-serif}
html[dir="rtl"] body{text-align:right}
html[dir="rtl"] .eyebrow,html[dir="rtl"] [lang="en"]{letter-spacing:0}
html[dir="rtl"] input[type="email"],html[dir="rtl"] input[type="tel"],html[dir="rtl"] input[type="url"]{direction:ltr;text-align:right}
html[dir="rtl"] .wa-button,html[dir="rtl"] .wa-send{direction:rtl}
html[dir="rtl"] pre{direction:rtl;text-align:right;white-space:pre-wrap}
html[data-lang="en"] .lang-switch button[lang="zh-CN"],html[data-lang="fa"] .lang-switch button[lang="zh-CN"]{font-family:"PingFang SC","Microsoft YaHei",sans-serif}
/* English and Persian labels are longer: switch to the menu button earlier. */
@media(max-width:1440px){
  html[data-lang="en"] .desktop-nav,html[data-lang="fa"] .desktop-nav{display:none}
  html[data-lang="en"] .menu-toggle,html[data-lang="fa"] .menu-toggle{display:block;min-width:44px;min-height:44px}
  html[data-lang="en"] .header-tools,html[data-lang="fa"] .header-tools{margin-inline-start:auto}
}
html[data-lang="en"]{--note-label:"Note: "}
html[data-lang="fa"]{--note-label:"نکته: "}
/* Phone numbers, emails and IDs stay left-to-right inside Persian text. */
html[dir="rtl"] [data-contact-value]{direction:ltr;unicode-bidi:isolate}
/* The Chinese brand name is letter-spaced; the translated name is not, and needs no repeat underneath. */
html[data-lang="en"] .brand strong,html[data-lang="fa"] .brand strong{letter-spacing:.02em}
html[data-lang="en"] .brand small{display:none}
/* EN / FA desktop header: the WhatsApp quote button replaces the second quote button. */
html[data-lang="en"] .nav-cta,html[data-lang="fa"] .nav-cta{display:none}
html[data-lang="en"] .brand strong{letter-spacing:0}
html[data-lang="en"] .desktop-nav,html[data-lang="fa"] .desktop-nav{gap:14px}

/* 询价按钮与语言切换统一为绿色线条款（页眉） */
.nav-cta{border:1.5px solid #0f7a3d;color:#0f7a3d;background:transparent}
.nav-cta:hover{background:#e7f4ec}
