﻿/*
 Theme Name:   LOZAVY
 Theme URI:    https://lozavy.com
 Author:       LOZAVY
 Author URI:   https://lozavy.com
 Description:  LOZAVY RFID/NFC B2B inquiry site - Hello Elementor child theme. Dark blue + cyan gradient, capsule buttons, 24px rounded cards, frosted glass nav. Logo changeable via Appearance > Customize.
 Template:     hello-elementor
 Version:      4.4.1
 Requires at least: 6.0
 Tested up to: 6.6
 Requires PHP: 7.4
 License:      GPL v2 or later
 Text Domain:  lozavy
*/


/* ============================================================
   1. 品牌变量（对齐官网静态站 official-site）
   ============================================================ */
:root {
  --lozavy-navy:    #0a1f3a;
  --lozavy-navy-2:  #0d2a4d;
  --lozavy-blue:    #2563eb;
  --lozavy-blue-d:  #1d4ed8;
  --lozavy-cyan:    #00d9ff;
  --lozavy-mint:    #34d399;
  --lozavy-cta:     #f97316;
  --lozavy-cta-d:   #ea580c;

  --lozavy-ink:     #1a2433;
  --lozavy-muted:   #64748b;
  --lozavy-line:    #e6ebf2;
  --lozavy-bg:      #f6f8fc;
  --lozavy-card:    #ffffff;
  --lozavy-bg-soft: #f5f8ff;

  --lozavy-grad:      linear-gradient(135deg, #2563eb 0%, #00d9ff 100%);
  --lozavy-grad-warm: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
  --lozavy-radius:    24px;
  --lozavy-radius-sm: 14px;
  --lozavy-shadow-sm: 0 4px 16px rgba(10, 31, 58, .06);
  --lozavy-shadow-md: 0 16px 40px rgba(10, 31, 58, .12);
  --lozavy-maxw:      1200px;

  --lozavy-font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --lozavy-head: "Sora", "Plus Jakarta Sans", system-ui, sans-serif;
  --nav-h: 74px;
}

/* ============================================================
   2. 基础排版
   ============================================================ */
body {
  font-family: var(--lozavy-font);
  color: var(--lozavy-ink);
  background: var(--lozavy-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--nav-h);
}
h1, h2, h3, h4, h5 { font-family: var(--lozavy-head); color: var(--lozavy-navy); line-height: 1.2; }
a { color: var(--lozavy-blue); text-decoration: none; }
p { margin: 0 0 16px; }

.lozavy-wrap { max-width: var(--lozavy-maxw); margin: 0 auto; padding: 0 20px; }
.site-content { min-height: 60vh; padding: 0; }
.entry-content { max-width: none; margin: 0; padding: 0; }
.entry-content > * { max-width: var(--lozavy-maxw); margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; box-sizing: border-box; }
.entry-content img { max-width: 100%; height: auto; }

/* 通栏区块：不受容器宽度限制 */
.entry-content > .lozavy-hero,
.entry-content > .lozavy-cta,
.entry-content > .lozavy-stats-wrap { max-width: none; padding-left: 0; padding-right: 0; }

/* ============================================================
   3. 固定导航（对齐静态站：深蓝 + 毛玻璃 + 右询价按钮）
   ============================================================ */
.site-header {
  /* 覆盖父主题 Hello Elementor：position:relative → true fixed；flex-wrap:wrap → nowrap */
  position: fixed !important; top: 0; left: 0; right: 0; z-index: 100;
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 0 !important;
  width: 100% !important; max-width: none !important;
  box-sizing: border-box;
  /* 完全实底深蓝渐变 —— 之前的 rgba(...,0.92) 半透明让顶部看起来"浮"在 body 浅色背景上 */
  background: linear-gradient(135deg, #0a1f3a 0%, #0d2a4d 100%);
  border-bottom: 1px solid rgba(0, 217, 255, .25);
  /* 投影把导航"踩"在内容上，滚动时仍是一块视觉牢固的顶栏 */
  box-shadow: 0 4px 20px rgba(0, 0, 0, .25);
}
.site-header__inner {
  max-width: var(--lozavy-maxw); margin: 0 auto; padding: 0 24px;
  height: var(--nav-h);
  display: flex; align-items: center; gap: 24px;
}
.site-logo {
  font-family: var(--lozavy-head); font-weight: 800; font-size: 24px;
  color: #fff; letter-spacing: -.5px; flex: 0 0 auto;
}
.site-logo:hover { color: var(--lozavy-cyan); }
.primary-nav { flex: 1 1 auto; min-width: 0; }
.primary-nav ul,
.site-header ul.primary-menu,
header nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: nowrap; gap: 4px; align-items: center;
  white-space: nowrap;
}
.site-header .primary-menu li,
header nav ul li { list-style: none; margin: 0; }
.site-header .primary-menu a,
header nav ul a {
  color: rgba(255, 255, 255, .82);
  font-weight: 500; font-size: 14.5px;
  font-family: var(--lozavy-font);
  padding: 8px 10px;
  border-bottom: 2px solid transparent;
  transition: color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.site-header .primary-menu a:hover,
header nav ul a:hover { color: #fff; border-bottom-color: var(--lozavy-cyan); }
.site-header .primary-menu .current-menu-item > a,
header nav ul .current_page_item > a { color: var(--lozavy-cyan); border-bottom-color: var(--lozavy-cyan); }
.header-cta { flex: 0 0 auto; padding: 10px 20px; font-size: 14px; white-space: nowrap; }

/* ------------------------------------------------------------
   长语言（德/日/俄）导航压缩
   header 内容宽度被 --lozavy-maxw(1200px) 锁死，屏幕再宽也不会变宽；
   德/日/俄菜单文案长，全尺寸必然溢出导航容器、压住右侧语言切换器。
   实测（1920 宽视口）：de 溢出 116px、ja 39px、ru 308px。
   压缩后 de/ja 可容纳，ru 另外缩短了两条菜单文案（Кейсы / FAQ）。
   仅在 >1350px 桌面档生效（≤1350px 走汉堡菜单，见第 15 节）。
   ------------------------------------------------------------ */
@media (min-width: 1351px) {
  html[lang='de-DE'] .site-header__inner,
  html[lang='ja-JP'] .site-header__inner,
  html[lang='ru-RU'] .site-header__inner { gap: 14px; }
  html[lang='de-DE'] .site-header .primary-menu,
  html[lang='ja-JP'] .site-header .primary-menu,
  html[lang='ru-RU'] .site-header .primary-menu { gap: 2px; }
  html[lang='de-DE'] .site-header .primary-menu a,
  html[lang='ja-JP'] .site-header .primary-menu a,
  html[lang='ru-RU'] .site-header .primary-menu a { font-size: 13px; padding: 8px 6px; }
  html[lang='de-DE'] .header-cta,
  html[lang='ja-JP'] .header-cta,
  html[lang='ru-RU'] .header-cta { padding: 10px 14px; font-size: 13.5px; }
}

/* ============================================================
   4. 按钮（胶囊 + 渐变 + 发光阴影，对齐静态站）
   ============================================================ */
.btn,
a.btn,
.elementor-button-link {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px;
  font-weight: 600; font-size: 15px; font-family: var(--lozavy-font);
  border: none; cursor: pointer; text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn--primary, .elementor-button--primary {
  background: var(--lozavy-grad); color: #fff;
  box-shadow: 0 10px 24px rgba(37, 99, 235, .35);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(37, 99, 235, .45); color: #fff; }
.btn--cta {
  background: var(--lozavy-grad-warm); color: #fff;
  box-shadow: 0 10px 24px rgba(249, 115, 22, .32);
}
.btn--cta:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(249, 115, 22, .42); color: #fff; }
.btn--ghost {
  background: #fff; color: var(--lozavy-navy);
  border: 1.5px solid var(--lozavy-line);
}
.btn--ghost:hover { transform: translateY(-3px); box-shadow: var(--lozavy-shadow-sm); border-color: var(--lozavy-blue); color: var(--lozavy-blue); }

/* hero 内的 ghost 按钮：透明 + 白边 */
.lozavy-hero .btn--ghost,
.lozavy-cta .btn--ghost {
  background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35);
}
.lozavy-hero .btn--ghost:hover,
.lozavy-cta .btn--ghost:hover { border-color: var(--lozavy-cyan); background: rgba(255, 255, 255, .08); color: #fff; }

/* ============================================================
   5. Hero（径向光晕渐变，对齐静态站）
   ============================================================ */
.lozavy-hero {
  position: relative; overflow: hidden;
  padding: 92px 0 88px;
  color: #fff;
}
.lozavy-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(1000px 560px at 90% -10%, rgba(0, 217, 255, .22), transparent 60%),
    radial-gradient(800px 560px at 10% 110%, rgba(37, 99, 235, .22), transparent 60%),
    linear-gradient(180deg, #0a1f3a 0%, #0d2a4d 55%, #0f3060 100%);
}
.lozavy-hero > * { position: relative; z-index: 1; }
.lozavy-hero .eyebrow {
  display: inline-block;
  background: rgba(255, 255, 255, .12); color: var(--lozavy-cyan);
  padding: 7px 16px; border-radius: 999px;
  font-weight: 700; font-size: 13px; margin-bottom: 18px;
  letter-spacing: .4px;
}
.lozavy-hero h1 {
  color: #fff;
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 800; letter-spacing: -1px;
  margin: 0 0 18px; max-width: 900px;
}
.lozavy-hero p { color: rgba(255, 255, 255, .72); font-size: 18px; max-width: 720px; margin: 0 0 30px; }
.lozavy-hero .btn { margin: 0 12px 0 0; }
.lozavy-hero .trust-bar { margin-top: 26px; color: rgba(255,255,255,.6); font-size: 13px; display: flex; flex-wrap: wrap; gap: 20px; }

/* ============================================================
   6. 数据条
   ============================================================ */
.lozavy-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 40px 0; }
.lozavy-stats .stat {
  background: var(--lozavy-card); border: 1px solid var(--lozavy-line);
  border-radius: var(--lozavy-radius-sm); padding: 26px 20px; text-align: center;
  box-shadow: var(--lozavy-shadow-sm);
}
.lozavy-stats .stat strong {
  display: block; font-family: var(--lozavy-head); font-size: 32px;
  font-weight: 800; color: var(--lozavy-navy); letter-spacing: -.5px;
}
.lozavy-stats .stat span { color: var(--lozavy-muted); font-size: 14px; font-weight: 600; }

/* ============================================================
   7. 卡片网格
   ============================================================ */
.lozavy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 32px 0; }
.lozavy-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.lozavy-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.lozavy-card {
  border: 1px solid var(--lozavy-line); border-radius: var(--lozavy-radius-sm);
  padding: 26px 22px; background: var(--lozavy-card);
  box-shadow: var(--lozavy-shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.lozavy-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--lozavy-shadow-md);
  border-color: rgba(37, 99, 235, .28);
}
.lozavy-card .ic {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, .12) 0%, rgba(0, 217, 255, .12) 100%);
  color: var(--lozavy-blue); font-size: 22px; margin-bottom: 16px;
}
/* 产品实拍图：卡片里把 <div class="ic">...</div> 换成
   <img class="pic" src="assets/images/products/xxx.jpg" alt="产品名"> 即可 */
.lozavy-card .pic {
  width: 100%; height: 180px; object-fit: cover;
  border-radius: 12px; margin-bottom: 16px;
  border: 1px solid var(--lozavy-line); background: #f4f7fb;
}
.lozavy-card h3 { font-size: 19px; margin: 0 0 8px; }
.lozavy-card p { color: var(--lozavy-muted); font-size: 15px; margin: 0 0 12px; }
.lozavy-card .more { color: var(--lozavy-blue); font-weight: 600; }

/* 列表 */
.lozavy-list { list-style: none; padding: 0; margin: 20px 0; }
.lozavy-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--lozavy-line); align-items: flex-start; }
.lozavy-list li .ic { color: var(--lozavy-blue); flex: 0 0 auto; margin-top: 3px; }
.lozavy-list li strong { color: var(--lozavy-navy); }

/* ============================================================
   8. 参数表（卡片包裹，便于 Ctrl+F 搜芯片型号）
   ============================================================ */
.spec-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  margin: 24px 0; font-size: 15px;
  background: var(--lozavy-card);
  border: 1px solid var(--lozavy-line);
  border-radius: var(--lozavy-radius-sm);
  overflow: hidden;
  box-shadow: var(--lozavy-shadow-sm);
}
.spec-table caption {
  caption-side: top; text-align: left;
  font-family: var(--lozavy-head); font-weight: 700; font-size: 17px;
  color: var(--lozavy-navy); padding: 18px 18px 0;
}
.spec-table th, .spec-table td {
  border-bottom: 1px solid var(--lozavy-line);
  padding: 13px 18px; text-align: left; vertical-align: top;
}
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table th[scope="row"] {
  background: var(--lozavy-bg-soft); color: var(--lozavy-navy);
  width: 34%; font-weight: 600; white-space: nowrap;
}
.spec-table tbody tr:nth-child(even) td { background: #fbfcfe; }
.spec-table code { background: #eef2ff; color: #1e3a8a; padding: 2px 7px; border-radius: 6px; font-size: 13px; }

/* ============================================================
   9. FAQ 手风琴
   ============================================================ */
.lozavy-faq {
  margin: 24px 0;
  border: 1px solid var(--lozavy-line);
  border-radius: var(--lozavy-radius-sm);
  overflow: hidden; background: var(--lozavy-card);
  box-shadow: var(--lozavy-shadow-sm);
}
.lozavy-faq details { border-bottom: 1px solid var(--lozavy-line); }
.lozavy-faq details:last-child { border-bottom: 0; }
.lozavy-faq summary {
  cursor: pointer; list-style: none; padding: 18px 22px;
  font-weight: 600; color: var(--lozavy-navy);
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  transition: background .18s ease;
}
.lozavy-faq summary:hover { background: var(--lozavy-bg-soft); }
.lozavy-faq summary::-webkit-details-marker { display: none; }
.lozavy-faq summary::after {
  content: "\f078"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  color: var(--lozavy-blue); transition: transform .25s ease; font-size: 14px;
}
.lozavy-faq details[open] summary::after { transform: rotate(180deg); }
.lozavy-faq details p { padding: 0 22px 20px; color: var(--lozavy-ink); margin: 0; }

/* 裸 details（页面里直接写的） */
.entry-content details {
  border: 1px solid var(--lozavy-line); border-radius: var(--lozavy-radius-sm);
  margin: 0 0 12px; background: var(--lozavy-card); overflow: hidden;
}
.entry-content details summary {
  cursor: pointer; padding: 16px 20px; font-weight: 600;
  color: var(--lozavy-navy); list-style: none;
}
.entry-content details summary::-webkit-details-marker { display: none; }
.entry-content details[open] summary { border-bottom: 1px solid var(--lozavy-line); }
.entry-content details p, .entry-content details div { padding: 14px 20px; margin: 0; color: var(--lozavy-ink); }

/* ============================================================
   10. CTA 横幅 + 信任条
   ============================================================ */
.lozavy-cta {
  position: relative; overflow: hidden;
  color: #fff; padding: 56px 32px; text-align: center; margin: 48px 0;
  background: linear-gradient(180deg, #0a1f3a 0%, #0d2a4d 55%, #0f3060 100%);
}
.lozavy-cta::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(700px 320px at 85% 0%, rgba(0, 217, 255, .20), transparent 60%),
    radial-gradient(600px 320px at 15% 100%, rgba(37, 99, 235, .20), transparent 60%);
}
.lozavy-cta > * { position: relative; z-index: 1; }
.lozavy-cta h2 { color: #fff; margin: 0 0 14px; font-size: clamp(26px, 3vw, 36px); }
.lozavy-cta p { color: rgba(255,255,255,.72); max-width: 640px; margin: 0 auto 26px; }
.lozavy-cta .btn { margin: 6px; }
.trust-strip { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; padding: 18px 0; }
.trust-strip .badge {
  background: var(--lozavy-card); border: 1px solid var(--lozavy-line);
  border-radius: 999px; padding: 9px 18px; font-size: 13px;
  color: var(--lozavy-navy); font-weight: 600; box-shadow: var(--lozavy-shadow-sm);
}

/* 区块标题（带渐变下划线装饰） */
.section-title {
  text-align: center; font-size: clamp(26px, 3vw, 36px);
  font-weight: 800; letter-spacing: -.5px;
  margin: 48px 0 10px;
}
.section-title::after {
  content: ""; display: block; width: 56px; height: 4px;
  border-radius: 999px; background: var(--lozavy-grad);
  margin: 14px auto 0;
}
.section-sub { text-align: center; color: var(--lozavy-muted); margin: 0 0 26px; font-size: 16px; }

/* ============================================================
   11. 页脚（深蓝多列，对齐静态站）
   ============================================================ */
.site-footer {
  background: var(--lozavy-navy); color: #fff;
  padding: 60px 0 0; margin-top: 60px;
  position: relative; overflow: hidden;
}
.site-footer::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(900px 420px at 80% 0%, rgba(0, 217, 255, .12), transparent 60%);
}
.site-footer__inner {
  position: relative; z-index: 1;
  max-width: var(--lozavy-maxw); margin: 0 auto; padding: 0 24px 40px;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px;
}
.footer-brand strong { font-family: var(--lozavy-head); font-size: 26px; font-weight: 800; letter-spacing: -.5px; }
.footer-brand p { color: rgba(255, 255, 255, .62); font-size: 14px; margin: 12px 0 18px; max-width: 340px; }
.footer-contact { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.footer-contact span, .footer-contact a { color: rgba(255, 255, 255, .82); }
.footer-contact a:hover { color: var(--lozavy-cyan); }
.footer-contact i { margin-right: 8px; color: var(--lozavy-cyan); }
.footer-col h4 {
  color: #fff; font-size: 15px; font-weight: 700;
  margin: 0 0 16px; letter-spacing: .3px;
}
.footer-col a, .footer-col .footer-hours {
  display: block; color: rgba(255, 255, 255, .62);
  font-size: 14px; margin-bottom: 10px; transition: color .18s ease;
}
.footer-col a:hover { color: var(--lozavy-cyan); }
.site-footer__bottom {
  position: relative; z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .45); font-size: 13px; text-align: center;
  padding: 20px 24px;
}

/* ============================================================
   12. 浮动 WhatsApp 按钮
   ============================================================ */
a.lozavy-wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 9999;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px;
  background: #25d366; color: #fff;
  font-family: var(--lozavy-font); font-weight: 600; font-size: 15px;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(37, 211, 102, .4);
  transition: transform .22s ease, box-shadow .22s ease;
}
a.lozavy-wa-float:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(37, 211, 102, .5); color: #fff; }
a.lozavy-wa-float i { font-size: 22px; line-height: 1; }

/* ============================================================
   13. 响应式
   ============================================================ */
/* 注：德/日/俄长菜单在 1500px 以下会溢出导航容器、压住语言切换器，
   统一由第 15 节的汉堡菜单处理（断点 1500px），此处不再做压缩档。 */
@media (max-width: 1024px) {
  .site-footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .lozavy-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .site-header__inner { gap: 14px; }
  .primary-nav { flex: 1 1 auto; }
  .primary-nav ul { gap: 16px; }
  .site-header .primary-menu a { font-size: 14px; }
  .header-cta { display: none; }
  .lozavy-stats { grid-template-columns: repeat(2, 1fr); }
  .lozavy-grid, .lozavy-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .lozavy-grid.cols-2 { grid-template-columns: 1fr; }
  .lozavy-hero { padding: 70px 0 64px; }
}
@media (max-width: 640px) {
  :root { --nav-h: 66px; }
  .site-logo { font-size: 20px; }
  .primary-nav ul { gap: 13px; }
  .site-header .primary-menu a { font-size: 13px; }
  .lozavy-stats { grid-template-columns: 1fr; }
  .lozavy-grid, .lozavy-grid.cols-2, .lozavy-grid.cols-4 { grid-template-columns: 1fr; }
  .lozavy-hero { padding: 56px 0 52px; }
  .lozavy-hero .btn, .lozavy-cta .btn { display: flex; width: 100%; justify-content: center; box-sizing: border-box; margin: 0 0 12px; }
  .site-footer__inner { grid-template-columns: 1fr; }
  a.lozavy-wa-float { right: 14px; bottom: 14px; padding: 11px 16px; font-size: 14px; }
}

/* ============================================================
   14. Contact Form 7 样式统一（让 CF7 默认的「粉色按钮 / 灰输入框」与 LOZAVY 品牌一致）
   ============================================================ */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100% !important;
  box-sizing: border-box;
  padding: 14px 16px !important;
  border: 1.5px solid var(--lozavy-line) !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: var(--lozavy-ink) !important;
  font-family: var(--lozavy-font) !important;
  font-size: 15px !important;
  transition: border-color .2s ease, box-shadow .2s ease !important;
}
.wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus {
  outline: none !important;
  border-color: var(--lozavy-blue) !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .12) !important;
}
.wpcf7-form label,
.wpcf7-form-control-wrap { display: block; }
.wpcf7-not-valid-tip { color: #dc2626; font-size: 13px; margin-top: 4px; }

/* CF7 提交按钮 → 用 .btn--cta 样式一致覆盖 */
input.wpcf7-form-control.wpcf7-submit,
button.wpcf7-form-control.wpcf7-submit,
.wpcf7-submit {
  display: inline-flex !important; align-items: center; justify-content: center;
  padding: 13px 30px !important;
  border: none !important; border-radius: 999px !important;
  background: var(--lozavy-grad-warm) !important;
  color: #fff !important;
  font-family: var(--lozavy-font) !important;
  font-weight: 600 !important; font-size: 16px !important;
  cursor: pointer !important;
  box-shadow: 0 10px 24px rgba(249, 115, 22, .32) !important;
  transition: transform .25s ease, box-shadow .25s ease !important;
}
.wpcf7-submit:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 16px 32px rgba(249, 115, 22, .42) !important;
  color: #fff !important;
}
.wpcf7-submit:active { transform: translateY(0) !important; }
.wpcf7-spinner { display: none !important; }

/* ============================================================
   15. SNS 社交图标栏（页脚顶部 / 联系页 / 顶部导航都可复用）
   ============================================================ */
.site-footer__social {
  max-width: var(--lozavy-maxw);
  margin: 0 auto;
  padding: 18px 24px 12px;
  display: flex; align-items: center; gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  flex-wrap: wrap;
}
.site-footer__social-label {
  color: #9FB6D6; font-size: 13px;
  font-family: var(--lozavy-head);
  letter-spacing: .5px; text-transform: uppercase;
  margin-right: 4px;
}
.social-menu {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.social-menu li { margin: 0; }
a.sns-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 16px;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
  position: relative;
}
a.sns-icon::before {
  content: "\f0c1"; /* 默认 fa-link 图标 */
  font-family: "Font Awesome 6 Brands";
  font-weight: 400;
  line-height: 1;
}
a.sns-icon[data-icon] {
  font-family: "Font Awesome 6 Brands";
  font-weight: 400;
}
a.sns-icon[data-icon="fa-facebook-f"]::before { content: "\f39e"; }
a.sns-icon[data-icon="fa-x-twitter"]::before { content: "\e61b"; }
a.sns-icon[data-icon="fa-linkedin-in"]::before { content: "\f0e1"; }
a.sns-icon[data-icon="fa-youtube"]::before { content: "\f167"; }
a.sns-icon[data-icon="fa-instagram"]::before { content: "\f16d"; }
a.sns-icon[data-icon="fa-tiktok"]::before { content: "\e07b"; }
a.sns-icon[data-icon="fa-whatsapp"]::before { content: "\f232"; }
a.sns-icon[data-icon="fa-telegram"]::before { content: "\f2c6"; }
a.sns-icon[data-icon="fa-weibo"]::before { content: "\f18a"; }
a.sns-icon[data-icon="fa-pinterest-p"]::before { content: "\f231"; }
a.sns-icon[data-icon="fa-reddit-alien"]::before { content: "\f281"; }
a.sns-icon[data-icon="fa-threads"]::before { content: "\e618"; }
a.sns-icon[data-icon="fa-github"]::before { content: "\f09b"; }
a.sns-icon[data-icon="fa-discord"]::before { content: "\f392"; }
a.sns-icon[data-icon="fa-skype"]::before { content: "\f17e"; }
a.sns-icon[data-icon="fa-vk"]::before { content: "\f189"; }
a.sns-icon:hover {
  transform: translateY(-3px);
  background: var(--lozavy-cyan);
  color: var(--lozavy-navy);
  box-shadow: 0 8px 20px rgba(0, 217, 255, .35);
}
/* 隐藏屏幕阅读文字，保留图标 */
a.sns-icon .screen-reader-text {
  position: absolute;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.social-menu-mini a .screen-reader-text {
  position: absolute; left: -9999px;
}

/* 顶部导航右侧小 SNS（紧凑版） */
.primary-nav .social-menu-mini {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 6px; margin-left: 12px;
}
.primary-nav .social-menu-mini a.sns-icon {
  width: 32px; height: 32px; font-size: 14px;
  background: rgba(255, 255, 255, .1);
}

/* ============================================================
   16. Widget 区域（首页广告位 / 侧边栏）
   ============================================================ */
.lozavy-widget { margin-bottom: 28px; }
.lozavy-widget__title {
  font-family: var(--lozavy-head);
  font-size: 16px; font-weight: 700;
  color: var(--lozavy-navy);
  margin: 0 0 12px; padding: 0;
  text-transform: uppercase; letter-spacing: .5px;
}
.lozavy-widget--ad {
  max-width: var(--lozavy-maxw);
  margin: 0 auto 32px;
  padding: 0 20px;
}
.lozavy-widget--ad a { display: block; }
.lozavy-widget--ad img {
  width: 100%; height: auto;
  border-radius: var(--lozavy-radius-sm);
  box-shadow: var(--lozavy-shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.lozavy-widget--ad a:hover img {
  transform: translateY(-3px);
  box-shadow: var(--lozavy-shadow-md);
}

/* 联系页侧栏（右侧 widget 区） */
.contact-sidebar {
  display: grid; gap: 20px;
}

/* ---------------------------------------------------------------
   联系页侧栏 widget 区：限定宽度并居中
   （修复 contact-sidebar 输出到 article 外导致的全宽贴左溢出）
--------------------------------------------------------------- */
.contact-page-sidebar{
  max-width:1200px;
  margin:0 auto;
  padding:0 24px;
  box-sizing:border-box;
}

/* ---------------------------------------------------------------
   通用按钮基础样式
   （原 .btn 基础样式只作用于 .lozavy-hero/.lozavy-cta 容器内，
    hero/cta 之外的 .btn--cta 等会缺 padding/圆角，缩成一条）
--------------------------------------------------------------- */
a.btn, button.btn, input.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

/* ---------------------------------------------------------------
   广告位 / WhatsApp 横幅 widget（之前只有内联背景色，缺布局样式）
--------------------------------------------------------------- */
.lozavy-ad-card{
  padding: 22px 24px;
  border: 1px solid var(--lozavy-line, #e5eaf2);
  border-radius: 14px;
  margin: 0 0 24px;
}
.lozavy-ad-card strong{ display:block; margin-bottom:4px; }
.lozavy-ad-cta{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.lozavy-ad-cta:hover{ transform: translateY(-2px); }


/* =================================================================
   LOZAVY 首页升级：Hero 两栏 / 分类矩阵 / 解决方案 / 工厂 / 流程
   / 案例 / 资质 / FAQ / 询盘表单
   ================================================================= */

/* ---------- 1. Hero 两栏 + 右侧产品视觉 ---------- */
.lozavy-hero .lozavy-wrap{
  display:grid !important;
  grid-template-columns:1.05fr .95fr;
  gap:48px;
  align-items:center;
  padding-top:56px !important;
  padding-bottom:56px !important;
}
@media (max-width:900px){
  .lozavy-hero .lozavy-wrap{ grid-template-columns:1fr !important; gap:32px; }
}
.hero-visual{
  position:relative;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}
.hero-vis{
  position:relative;
  border-radius:18px;
  padding:26px 18px 20px;
  min-height:132px;
  color:#fff;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  box-shadow:0 18px 38px rgba(10,31,58,.18);
}
.hero-vis i{ position:absolute; top:16px; left:16px; font-size:26px; opacity:.9; }
.hero-vis b{ font-size:15px; font-weight:700; line-height:1.3; }
.hero-vis span{ font-size:12px; opacity:.85; margin-top:3px; }
.hv-blue{ background:linear-gradient(135deg,#1d4ed8,#00d9ff); }
.hv-navy{ background:linear-gradient(135deg,#0a1f3a,#123c6e); }
.hv-mint{ background:linear-gradient(135deg,#0f766e,#34d399); }
.hv-warm{ background:linear-gradient(135deg,#f97316,#fb923c); }
.hero-badge{
  position:absolute; right:-10px; bottom:-14px;
  background:#fff; color:var(--lozavy-ink);
  border-radius:14px; padding:12px 16px;
  box-shadow:0 16px 34px rgba(10,31,58,.16);
  font-size:12px; font-weight:700; text-align:center; line-height:1.35;
}
.hero-badge strong{ display:block; font-size:19px; color:var(--lozavy-blue); }

/* Hero 按钮：主 CTA 更强，次按钮描边 */
.lozavy-hero .btn{ min-width:186px; }
.lozavy-hero .btn--ghost{
  background:transparent !important;
  border:1.5px solid rgba(255,255,255,.55) !important;
  color:#fff !important;
}
.lozavy-hero .btn--ghost:hover{
  background:rgba(255,255,255,.14) !important;
  border-color:#fff !important;
}
.hero-btns{ display:flex; flex-wrap:wrap; gap:12px; margin:26px 0 0; }
.hero-btns .btn{ margin:0 !important; }
.hero-btns br{ display:none; }

/* ---------- 2. 核心产品分类矩阵 ---------- */
.cat-matrix{
  display:grid; grid-template-columns:repeat(2,1fr); gap:20px;
}
@media (max-width:820px){ .cat-matrix{ grid-template-columns:1fr; } }
.cat-block{
  background:var(--lozavy-card);
  border:1px solid var(--lozavy-line);
  border-radius:var(--lozavy-radius-sm);
  padding:24px 24px 20px;
  box-shadow:var(--lozavy-shadow-sm);
  transition:transform .22s ease, box-shadow .22s ease;
}
.cat-block:hover{ transform:translateY(-4px); box-shadow:var(--lozavy-shadow-md); }
.cat-head{ display:flex; align-items:center; gap:13px; margin-bottom:14px; }
.cat-ico{
  width:46px; height:46px; flex:0 0 46px; border-radius:12px;
  display:flex; align-items:center; justify-content:center;
  font-size:19px; color:#fff; background:var(--lozavy-grad);
}
.cat-ico.c2{ background:linear-gradient(135deg,#0a1f3a,#2563eb); }
.cat-ico.c3{ background:linear-gradient(135deg,#0f766e,#34d399); }
.cat-ico.c4{ background:linear-gradient(135deg,#f97316,#fb923c); }
.cat-head h3{ margin:0; font-size:17px; font-weight:700; color:var(--lozavy-ink); }
.cat-head p{ margin:2px 0 0; font-size:12.5px; color:var(--lozavy-muted); }
.cat-tags{ display:flex; flex-wrap:wrap; gap:7px; margin:0 0 16px; }
.cat-tags a{
  display:inline-block; padding:5px 11px; border-radius:999px;
  background:var(--lozavy-bg); border:1px solid var(--lozavy-line);
  font-size:12.5px; color:var(--lozavy-muted); text-decoration:none;
  transition:all .18s ease;
}
.cat-tags a:hover{
  background:var(--lozavy-blue); color:#fff; border-color:var(--lozavy-blue);
}
.cat-more{ font-size:13.5px; font-weight:600; color:var(--lozavy-blue); text-decoration:none; }
.cat-more:hover{ text-decoration:underline; }

/* ---------- 3. 行业解决方案 ---------- */
.sol-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
@media (max-width:900px){ .sol-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:600px){ .sol-grid{ grid-template-columns:1fr; } }
.sol-card{
  position:relative; overflow:hidden; border-radius:var(--lozavy-radius-sm);
  padding:26px 22px; background:var(--lozavy-navy); color:#fff;
  min-height:172px; display:flex; flex-direction:column; justify-content:flex-end;
  box-shadow:var(--lozavy-shadow-sm);
  transition:transform .22s ease;
}
.sol-card:hover{ transform:translateY(-4px); }
.sol-card::before{
  content:""; position:absolute; inset:0; opacity:.9;
  background:linear-gradient(150deg,rgba(37,99,235,.92),rgba(10,31,58,.96));
}
.sol-card:nth-child(2)::before{ background:linear-gradient(150deg,rgba(13,148,136,.92),rgba(10,31,58,.96)); }
.sol-card:nth-child(3)::before{ background:linear-gradient(150deg,rgba(249,115,22,.88),rgba(10,31,58,.96)); }
.sol-card:nth-child(4)::before{ background:linear-gradient(150deg,rgba(37,99,235,.9),rgba(8,47,73,.96)); }
.sol-card:nth-child(5)::before{ background:linear-gradient(150deg,rgba(190,24,93,.85),rgba(10,31,58,.96)); }
.sol-card:nth-child(6)::before{ background:linear-gradient(150deg,rgba(52,211,153,.88),rgba(10,31,58,.96)); }
.sol-card > *{ position:relative; z-index:1; }
.sol-card i{ position:absolute; top:20px; left:22px; font-size:24px; opacity:.9; }
.sol-card h3{ margin:0 0 7px; font-size:17px; font-weight:700; }
.sol-card p{ margin:0; font-size:13.5px; line-height:1.6; color:rgba(255,255,255,.82); }

/* ---------- 4. 工厂实力 ---------- */
.fac-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
@media (max-width:900px){ .fac-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:520px){ .fac-grid{ grid-template-columns:1fr; } }
.fac-card{
  background:var(--lozavy-card); border:1px solid var(--lozavy-line);
  border-radius:var(--lozavy-radius-sm); padding:22px 20px;
  box-shadow:var(--lozavy-shadow-sm);
}
.fac-card .cat-ico{ margin-bottom:14px; }
.fac-card h3{ margin:0 0 10px; font-size:16px; color:var(--lozavy-ink); }
.fac-card ul{ margin:0; padding-left:18px; }
.fac-card li{ font-size:13.5px; color:var(--lozavy-muted); line-height:1.75; }
.fac-num{ font-size:26px; font-weight:800; color:var(--lozavy-blue); line-height:1.1; }
.fac-num span{ display:block; font-size:12.5px; font-weight:500; color:var(--lozavy-muted); margin-top:4px; }

/* ---------- 5. 定制流程 ---------- */
.proc-steps{
  display:grid; grid-template-columns:repeat(7,1fr); gap:10px;
}
@media (max-width:1000px){ .proc-steps{ grid-template-columns:repeat(4,1fr); } }
@media (max-width:620px){ .proc-steps{ grid-template-columns:repeat(2,1fr); } }
.proc-item{ position:relative; text-align:center; padding:0 4px; }
.proc-item::after{
  content:""; position:absolute; top:19px; right:-8px; width:12px; height:2px;
  background:var(--lozavy-line);
}
.proc-item:last-child::after{ display:none; }
.proc-dot{
  width:40px; height:40px; margin:0 auto 12px; border-radius:50%;
  background:var(--lozavy-grad); color:#fff;
  display:flex; align-items:center; justify-content:center;
  font-weight:800; font-size:14px;
  box-shadow:0 6px 16px rgba(37,99,235,.28);
}
.proc-item h4{ margin:0 0 5px; font-size:13.5px; font-weight:700; color:var(--lozavy-ink); }
.proc-item p{ margin:0; font-size:12px; color:var(--lozavy-muted); line-height:1.55; }
.proc-item.hl .proc-dot{ background:var(--lozavy-grad-warm); box-shadow:0 6px 16px rgba(249,115,22,.3); }

/* ---------- 6. 案例详版 ---------- */
.case-list{ display:grid; gap:18px; }
.case-row{
  display:grid; grid-template-columns:.9fr 1.1fr; gap:0;
  background:var(--lozavy-card); border:1px solid var(--lozavy-line);
  border-radius:var(--lozavy-radius-sm); overflow:hidden;
  box-shadow:var(--lozavy-shadow-sm);
}
@media (max-width:780px){ .case-row{ grid-template-columns:1fr; } }
.case-side{
  background:linear-gradient(135deg,#0a1f3a,#123c6e);
  color:#fff; padding:26px 24px;
}
.case-side .tag{
  display:inline-block; font-size:11.5px; letter-spacing:.08em; text-transform:uppercase;
  background:rgba(255,255,255,.14); padding:4px 10px; border-radius:999px; margin-bottom:14px;
}
.case-side h3{ margin:0 0 8px; font-size:18px; }
.case-side .region{ font-size:13px; color:rgba(255,255,255,.75); margin:0; }
.case-body{ padding:24px 26px; }
.case-body dl{ margin:0; display:grid; gap:14px; }
.case-body dt{
  font-size:11.5px; font-weight:800; letter-spacing:.07em; text-transform:uppercase;
  color:var(--lozavy-blue); margin-bottom:4px;
}
.case-body dd{ margin:0; font-size:13.8px; color:var(--lozavy-muted); line-height:1.65; }
.case-kpi{ display:flex; gap:22px; margin-top:6px; flex-wrap:wrap; }
.case-kpi strong{ display:block; font-size:20px; color:var(--lozavy-ink); font-weight:800; }
.case-kpi span{ font-size:12px; color:var(--lozavy-muted); }

/* ---------- 7. 资质认证 ---------- */
.cert-grid{
  display:grid; grid-template-columns:repeat(6,1fr); gap:14px;
}
@media (max-width:900px){ .cert-grid{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:520px){ .cert-grid{ grid-template-columns:repeat(2,1fr); } }
.cert-item{
  background:var(--lozavy-card); border:1px solid var(--lozavy-line);
  border-radius:12px; padding:20px 12px; text-align:center;
  box-shadow:var(--lozavy-shadow-sm);
}
.cert-item i{ font-size:24px; color:var(--lozavy-blue); margin-bottom:9px; display:block; }
.cert-item b{ display:block; font-size:14px; color:var(--lozavy-ink); }
.cert-item span{ font-size:11.5px; color:var(--lozavy-muted); }

/* ---------- 8. FAQ（原生 details，离线无需 JS） ---------- */
.faq-list{ display:grid; gap:10px; }
.faq-list details{
  background:var(--lozavy-card); border:1px solid var(--lozavy-line);
  border-radius:12px; overflow:hidden;
}
.faq-list summary{
  cursor:pointer; padding:17px 20px; list-style:none;
  font-weight:600; font-size:15px; color:var(--lozavy-ink);
  display:flex; align-items:center; justify-content:space-between; gap:14px;
}
.faq-list summary::-webkit-details-marker{ display:none; }
.faq-list summary::after{
  content:"+"; font-size:20px; font-weight:400; color:var(--lozavy-blue);
  flex:0 0 auto;
}
.faq-list details[open] summary::after{ content:"\2212"; }
.faq-list .faq-a{
  padding:0 20px 18px; font-size:14px; line-height:1.75; color:var(--lozavy-muted);
}
.faq-list .faq-a ul{ margin:8px 0 0; padding-left:20px; }
.faq-list .faq-a li{ margin-bottom:4px; }

/* ---------- 9. 询盘表单增强 ---------- */
.inq-wrap{
  background:var(--lozavy-card); border:1px solid var(--lozavy-line);
  border-radius:var(--lozavy-radius); padding:32px;
  box-shadow:var(--lozavy-shadow-sm);
}
.inq-grid{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
@media (max-width:680px){ .inq-grid{ grid-template-columns:1fr; } }
.inq-full{ grid-column:1 / -1; }
.inq-wrap label{ display:block; font-size:13px; font-weight:600; color:var(--lozavy-ink); margin-bottom:6px; }
.inq-wrap input[type=text], .inq-wrap input[type=email], .inq-wrap input[type=tel],
.inq-wrap input[type=file], .inq-wrap select, .inq-wrap textarea{
  width:100%; padding:11px 14px; border:1px solid var(--lozavy-line);
  border-radius:10px; font-size:14px; font-family:inherit;
  background:#fff; color:var(--lozavy-ink); box-sizing:border-box;
  transition:border-color .18s ease, box-shadow .18s ease;
}
.inq-wrap input:focus, .inq-wrap select:focus, .inq-wrap textarea:focus{
  outline:none; border-color:var(--lozavy-blue);
  box-shadow:0 0 0 3px rgba(37,99,235,.12);
}
.inq-wrap textarea{ min-height:110px; resize:vertical; }
.inq-hint{ font-size:12px; color:var(--lozavy-muted); margin-top:5px; }
.inq-note{
  margin-top:18px; padding:14px 16px; background:var(--lozavy-bg);
  border-radius:10px; font-size:12.5px; color:var(--lozavy-muted); line-height:1.7;
}

/* CF7 字段以 <p> 包裹，需归零外边距才能贴合栅格 */
.inq-grid > p{ margin:0 !important; }
.inq-wrap .wpcf7-submit{ margin-top:6px; }
.inq-wrap .wpcf7-not-valid-tip{ font-size:12px; margin-top:4px; }

/* 案例侧栏标题强制白色（主题全局 h3 深色规则会压过继承） */
.case-side h3{ color:#fff !important; }

/* 移动端按钮取消最小宽度，防止双按钮撑爆视口 */
@media (max-width:520px){
  .lozavy-hero .btn{ min-width:0; width:100%; }
  .hero-btns{ flex-direction:column; }
  .hero-visual{ grid-template-columns:1fr 1fr; }
  .hero-badge{ right:0; bottom:-10px; }
}

/* trust-bar 在窄屏换行 + grid 子项允许收缩（修复横向溢出） */
@media (max-width:520px){
  .trust-bar{ flex-wrap:wrap; gap:8px; }
  .lozavy-hero .hero-copy{ min-width:0; }
  .lozavy-hero .lozavy-wrap{ grid-template-columns:minmax(0,1fr); }
}


/* =================================================================
   多语言切换器（零 JS，原生 <details>）
   ================================================================= */
.lozavy-lang{
  position: relative;
  flex: 0 0 auto;
  margin: 0 0 0 auto;
  user-select: none;
}
.lozavy-lang__btn{
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.38);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  background: rgba(255,255,255,.07);
  transition: background .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.lozavy-lang__btn::-webkit-details-marker{ display: none; }
.lozavy-lang__btn::marker{ content: ""; }
.lozavy-lang__btn:hover{
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.7);
}
.lozavy-lang__cur{ letter-spacing: .03em; }
.lozavy-lang__caret{ font-size: 10px; opacity: .85; transition: transform .2s ease; }
.lozavy-lang[open] .lozavy-lang__caret{ transform: rotate(180deg); }
/* 展开时整体提到最上层，避免被相邻的询价按钮（header-cta）盖住 */
.lozavy-lang[open]{ z-index: 1002; }

.lozavy-lang__menu{
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 178px;
  padding: 6px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(10,31,58,.22);
  border: 1px solid var(--lozavy-line, #e5eaf2);
  z-index: 999;
}
.lozavy-lang__item{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 9px;
  color: var(--lozavy-ink, #0a1f3a);
  text-decoration: none;
  font-size: 13.5px;
  transition: background .16s ease;
}
.lozavy-lang__item:hover{
  background: var(--lozavy-bg, #f5f7fb);
  text-decoration: none;
}
.lozavy-lang__item.is-active{
  background: rgba(37,99,235,.1);
  color: var(--lozavy-blue, #2563eb);
  font-weight: 700;
}
.lozavy-lang__code{
  flex: 0 0 auto;
  min-width: 26px;
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--lozavy-navy, #0a1f3a);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  letter-spacing: .03em;
}
.lozavy-lang__item.is-active .lozavy-lang__code{
  background: var(--lozavy-blue, #2563eb);
}
.lozavy-lang__name{ white-space: nowrap; }

/* ============================================================
   About 页工厂展示区（后台「页面 → About」正文，支持图片/视频）
   ============================================================ */
.about-factory{ margin:48px 0 8px; display:grid; gap:24px; }
.about-factory img{ border-radius:14px; max-width:100%; height:auto; display:block; box-shadow:0 6px 24px rgba(10,31,58,.12); }
.about-factory video,
.about-factory iframe{ width:100%; aspect-ratio:16/9; border-radius:14px; border:0; display:block; }
.about-factory h2,
.about-factory h3{ margin:8px 0 4px; }
.about-factory p{ color:#3d4c63; line-height:1.75; }
@media (max-width:560px){
  .about-factory{ margin:32px 0 4px; gap:16px; }
}

/* 移动端单行页头（导航收进抽屉，见第 15 节） */
@media (max-width: 780px){
  .site-header__inner{ flex-wrap: nowrap; }
}
@media (max-width: 520px){
  .lozavy-lang__btn{ padding: 7px 10px; font-size: 12px; }
}

/* TRP 浮动切换器与导航栏切换器重复，且会压住 WhatsApp 浮钮——隐藏 */
.trp-floating-switcher{ display:none !important; }

/* ============================================================
   Hero v2 —— LOZAVY 深蓝科技风（参考视觉稿：左文右图+光波+底部三能力列）
   ============================================================ */
.site-logo img{
	display:block; height:42px; width:auto;
	filter: drop-shadow(0 2px 8px rgba(0,0,0,.35));
}

/* ---------- WordPress 自定义 Logo（外观→自定义→站点身份 上传） ----------
   父主题 theme.css 的 img{width:100%} 会把上传的 Logo 拉满容器宽度，
   透出一个大框且移动端无法等比缩放 —— 这里强制按高度等比显示。 */
.site-header__logo{
	flex:0 0 auto; display:flex; align-items:center; line-height:0;
}
.site-header__logo .custom-logo-link{
	display:block; line-height:0;
}
.site-header__logo img.custom-logo{
	display:block !important;
	width:auto !important;      /* 抵消父主题 img{width:100%} 的拉伸 */
	height:42px !important;     /* 与默认 Logo 同高，按比例缩放宽度 */
	margin:0 !important;        /* 抵消父主题 margin-inline:auto */
	max-width:none !important;  /* 抵消 reset.css 对宽图的二次约束 */
	object-fit:contain;
	filter: drop-shadow(0 2px 8px rgba(0,0,0,.35));
}
@media (max-width:520px){
	.site-logo img{ height:30px; }
	.site-header__logo img.custom-logo{ height:30px !important; }
}

.lozavy-hero.hero-v2{
	position:relative; overflow:hidden;
	background:#0a1626;
	padding:0; min-height:660px;
	display:flex; align-items:center;
}
.hero-v2 .hero-bg{ position:absolute; inset:0; z-index:0; }
.hero-v2 .hero-bg img{
	width:100%; height:100%; object-fit:cover; object-position:62% center;
	display:block;
}
.hero-v2 .hero-overlay{
	position:absolute; inset:0; z-index:1;
	background:linear-gradient(90deg,
		rgba(6,14,28,.96) 0%,
		rgba(6,14,28,.90) 30%,
		rgba(8,18,36,.55) 58%,
		rgba(8,18,36,.10) 82%,
		rgba(8,18,36,.25) 100%),
		linear-gradient(0deg, rgba(6,14,28,.55) 0%, rgba(6,14,28,0) 26%);
}
.hero-v2 .hero-inner{
	position:relative; z-index:2;
	width:100%; max-width:1180px; margin:0 auto; padding:150px 24px 74px;
	box-sizing:border-box;
}
.hero-v2 .eyebrow{
	display:inline-block; font-size:13px; letter-spacing:.14em; text-transform:uppercase;
	color:#7fd4ff; background:rgba(0,120,255,.14);
	border:1px solid rgba(0,180,255,.35); border-radius:999px;
	padding:7px 16px; margin-bottom:26px;
}
.hero-v2 h1{
	color:#fff; font-size:clamp(30px,4.4vw,52px); line-height:1.16;
	margin:0 0 18px; max-width:760px;
	text-shadow:0 2px 24px rgba(0,20,60,.55);
}
.hero-v2 .hero-tag{
	color:#9fc6ff; font-size:clamp(14px,1.6vw,18px); font-weight:600;
	letter-spacing:.04em; margin:0 0 14px;
}
.hero-v2 .hero-desc{
	color:rgba(230,240,255,.78); font-size:16.5px; line-height:1.75;
	max-width:600px; margin:0 0 34px;
}
.hero-v2 .hero-btns{ display:flex; flex-wrap:wrap; gap:14px; margin-bottom:44px; }
.hero-v2 .btn{ margin:0; min-width:188px; }
.hero-v2 .hero-cols{
	display:flex; gap:44px; flex-wrap:wrap;
	border-top:1px solid rgba(120,180,255,.22); padding-top:26px; max-width:640px;
}
.hero-v2 .hcol{
	display:flex; align-items:center; gap:11px;
	color:rgba(255,255,255,.88); font-size:13.5px; font-weight:600; letter-spacing:.02em;
}
.hero-v2 .hcol i{
	width:40px; height:40px; border-radius:10px; flex:0 0 40px;
	display:flex; align-items:center; justify-content:center;
	color:#7fd4ff; font-size:17px;
	background:rgba(0,120,255,.13); border:1px solid rgba(0,180,255,.3);
}
@media (max-width:760px){
	.lozavy-hero.hero-v2{ min-height:0; }
	.hero-v2 .hero-inner{ padding:120px 20px 56px; }
	.hero-v2 .hero-bg img{ object-position:70% center; }
	.hero-v2 .hero-cols{ gap:18px; }
	.hero-v2 .hcol{ font-size:12.5px; }
	.hero-v2 .hcol i{ width:34px; height:34px; flex-basis:34px; font-size:15px; }
}

/* 覆盖旧版 .lozavy-hero .lozavy-wrap 的两栏 grid —— hero v2 是单栏左对齐布局 */
.lozavy-hero.hero-v2 .hero-inner{
	display:block !important;
	grid-template-columns:none !important;
	gap:0 !important;
}

/* hero v2 移动端防溢出：按钮全宽堆叠、logo 缩小 */
@media (max-width:560px){
	.hero-v2 .btn{ width:100%; min-width:0; box-sizing:border-box; }
	.hero-v2 h1{ font-size:26px; }
	.hero-v2 .hero-tag{ font-size:13.5px; }
	.site-logo img{ height:24px; }
	.site-header__logo img.custom-logo{ height:24px !important; }
	.site-header__inner{ gap:10px; padding:10px 12px; }
	.site-header .header-cta{ padding:8px 14px; font-size:13px; }
}

/* 移动端 header：单行排布（logo + CTA + 汉堡按钮），导航收进抽屉（见第 15 节） */
@media (max-width:560px){
	.site-header__inner{ gap:10px; padding:10px 12px; }
	.site-logo img{ height:22px; }
	.site-header__logo img.custom-logo{ height:22px !important; }
	.site-header .header-cta{ padding:8px 14px; font-size:13px; min-width:0; }
	.nav-toggle{ width:42px; height:42px; }
}

/* ============================================================
   15. 中屏汉堡菜单 — 解决长语言菜单挤压问题（窄屏统一收起）
   屏幕 < 1350px 时，导航收起为汉堡按钮，点击展开下拉
   （>1350px 的桌面档由「长语言导航压缩」规则保证不溢出）
   ============================================================ */
.nav-toggle {
  display: none;
  width: 38px; height: 38px;
  background: transparent; border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px; cursor: pointer;
  align-items: center; justify-content: center;
  color: #fff; font-size: 18px;
  flex-shrink: 0;
  transition: background .2s, border-color .2s;
}
.nav-toggle:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.35); }
.nav-toggle:focus { outline: none; }

@media (max-width: 1350px) {
  .nav-toggle { display: inline-flex; }

  .site-header__nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: linear-gradient(135deg, #0a1f3a 0%, #0d2a4d 100%);
    border-bottom: 1px solid rgba(0, 217, 255, .25);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .3);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
    z-index: 99;
  }
  .site-header__nav.is-open {
    max-height: 500px;
    overflow-y: auto;
  }
  .site-header__nav ul,
  .site-header ul.primary-menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 16px;
    white-space: normal;
  }
  .site-header__nav li,
  .site-header .primary-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }
  .site-header__nav li:last-child,
  .site-header .primary-menu li:last-child {
    border-bottom: none;
  }
  .site-header__nav a,
  .site-header .primary-menu a {
    font-size: 15px;
    padding: 14px 12px;
    border-bottom: none;
    border-left: 3px solid transparent;
    display: block;
  }
  .site-header__nav a:hover,
  .site-header .primary-menu a:hover {
    border-left-color: var(--lozavy-cyan);
    border-bottom-color: transparent;
    background: rgba(0, 217, 255, .06);
    color: #fff;
  }
  .site-header__nav .current-menu-item > a,
  .site-header__nav .current_page_item > a,
  .site-header .primary-menu .current-menu-item > a {
    color: var(--lozavy-cyan);
    border-left-color: var(--lozavy-cyan);
    border-bottom-color: transparent;
    background: rgba(0, 217, 255, .08);
  }
  .header-cta { padding: 9px 16px; font-size: 13px; }
  .site-header__inner { gap: 14px; }
}

@media (max-width: 560px) {
  .site-header { height: auto !important; }
  .site-header .header-cta {
    padding: 8px 14px;
    font-size: 13px;
    min-width: 0;
    flex-shrink: 0;
    white-space: nowrap;
  }
}

@media (max-width: 420px) {
  .site-header .header-cta {
    padding: 8px 12px;
    font-size: 12.5px;
  }
  .lozavy-lang__btn {
    padding: 7px 10px;
    font-size: 12px;
  }
  .site-logo img { height: 20px; }
  .site-header__logo img.custom-logo { height: 20px !important; }
  .nav-toggle {
    width: 34px;
    height: 34px;
    font-size: 16px;
  }
  .site-header__inner { gap: 8px; padding: 10px 12px; }
  .lozavy-lang { margin: 0 0 0 auto; }
}

/* ============================================================
   16. 移动端导航修复 — 确保语言切换器永远在最右侧
   导航展开时不遮挡语言切换器
   ============================================================ */
@media (max-width: 1350px) {
  /* 语言切换器永远在最右侧，不被汉堡菜单遮挡 */
  .lozavy-lang { 
    margin-left: auto; 
    z-index: 1001;
    position: relative;
  }
  /* 汉堡按钮紧挨语言切换器左侧 */
  .nav-toggle { 
    margin-left: 0;
    flex-shrink: 0;
  }
  /* 导航展开时在语言切换器和汉堡按钮下方 */
  .site-header__nav.is-open {
    z-index: 99;
  }
}

@media (max-width: 560px) {
  .lozavy-lang { 
    margin-left: auto;
    z-index: 1001;
  }
  .nav-toggle {
    flex-shrink: 0;
  }
}

/* ============================================================
   9. 产品目录列表页 (b2b-*)
   ============================================================ */
.b2b-wrap { max-width:1400px; margin:0 auto; padding:20px 24px 60px; }
.b2b-crumb { font-size:13px; color:var(--lozavy-muted); margin-bottom:16px; }
.b2b-crumb a { color:var(--lozavy-blue); text-decoration:none; }
.b2b-crumb a:hover { text-decoration:underline; }
.b2b-crumb .sep { margin:0 6px; color:#ccc; }
.b2b-layout { display:grid; grid-template-columns:240px 1fr; gap:20px; align-items:start; }
@media (max-width:768px) { .b2b-layout { grid-template-columns:1fr; } }

.b2b-sidebar { background:#fff; border:1px solid var(--lozavy-line); border-radius:10px; overflow:hidden; position:sticky; top:80px; max-height:calc(100vh - 100px); overflow-y:auto; }
.b2b-sidebar__head { background:linear-gradient(135deg,var(--lozavy-navy),var(--lozavy-navy2)); color:#fff; padding:12px 16px; font-size:15px; font-weight:700; position:sticky; top:0; z-index:10; }
.b2b-cat { border-bottom:1px solid var(--lozavy-line); }
.b2b-cat:last-child { border-bottom:none; }
.b2b-cat__head { display:flex; align-items:center; justify-content:space-between; padding:11px 16px; cursor:pointer; font-size:14px; font-weight:600; color:var(--lozavy-navy); transition:background .15s; }
.b2b-cat__head:hover { background:var(--lozavy-bg-soft); }
.b2b-cat__head .arrow { transition:transform .2s; font-size:12px; color:#999; }
.b2b-cat.is-open .arrow { transform:rotate(90deg); }
.b2b-cat__head .count { font-size:12px; color:var(--lozavy-muted); font-weight:400; margin-left:4px; }
.b2b-cat__sub { display:none; padding:4px 0 8px; background:var(--lozavy-bg-soft); }
.b2b-cat.is-open .b2b-cat__sub { display:block; }
.b2b-cat__sub a { display:block; padding:7px 20px 7px 36px; font-size:13px; color:#555; text-decoration:none; transition:all .12s; border-left:3px solid transparent; }
.b2b-cat__sub a:hover { color:var(--lozavy-blue); background:#e8f0fe; border-left-color:var(--lozavy-blue); }
.b2b-cat__sub a.is-active { color:var(--lozavy-cta); font-weight:600; border-left-color:var(--lozavy-cta); background:#fff7ed; }

.b2b-main__top { display:flex; align-items:center; justify-content:space-between; margin-bottom:16px; flex-wrap:wrap; gap:12px; }
.b2b-main__title { font-size:22px; font-weight:700; color:var(--lozavy-navy); }
.b2b-main__count { font-size:13px; color:var(--lozavy-muted); }

.b2b-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
@media (max-width:1200px) { .b2b-grid { grid-template-columns:repeat(3,1fr); } }
@media (max-width:768px) { .b2b-grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width:480px) { .b2b-grid { grid-template-columns:1fr; } }

.b2b-product { background:#fff; border:1px solid var(--lozavy-line); border-radius:10px; overflow:hidden; transition:box-shadow .2s,border-color .2s; cursor:pointer; text-decoration:none; color:inherit; }
.b2b-product:hover { box-shadow:0 8px 28px rgba(10,31,58,.12); border-color:var(--lozavy-blue); }
.b2b-product__img { aspect-ratio:1/1; overflow:hidden; background:#f8fafc; display:flex; align-items:center; justify-content:center; position:relative; }
.b2b-product__img img { width:100%; height:100%; object-fit:cover; transition:transform .3s; }
.b2b-product:hover .b2b-product__img img { transform:scale(1.05); }
.b2b-product__img .placeholder { font-size:48px; color:#cbd5e1; }
.b2b-product__body { padding:12px 14px 14px; }
.b2b-product__title { font-size:14px; font-weight:600; color:var(--lozavy-navy); margin:0 0 6px; line-height:1.4; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; min-height:39px; }
.b2b-product__specs { font-size:12px; color:var(--lozavy-muted); line-height:1.5; margin-bottom:8px; }
.b2b-product__bottom { display:flex; align-items:center; justify-content:space-between; }
.b2b-product__moq { font-size:12px; color:#64748b; }
.b2b-product__btn { font-size:12px; padding:4px 12px; border-radius:6px; background:linear-gradient(135deg,var(--lozavy-blue),var(--lozavy-cyan)); color:#fff; text-decoration:none; font-weight:600; white-space:nowrap; }

.b2b-empty { text-align:center; padding:60px 20px; color:var(--lozavy-muted); }
.b2b-empty i { font-size:48px; color:#cbd5e1; margin-bottom:12px; }
.b2b-empty p { font-size:15px; margin-bottom:8px; }
.b2b-empty .hint { font-size:13px; color:#94a3b8; }
