/* 外贸官网前台样式。主色由页面内联变量 --brand 覆盖（后台可改） */
:root {
  --brand: #1e6bff;
  --brand-dark: #1753c7;
  --brand-soft: #e9f0ff;
  --ink: #0f1b33;
  --text: #33415c;
  --muted: #6b7a95;
  --line: #e3e8f1;
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --navy: #0d1a33;
  --ok: #16a34a;
  --bad: #dc2626;
  --wa: #25d366;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 27, 51, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 27, 51, 0.16);
  --font: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, "Noto Sans", "PingFang SC", "Microsoft YaHei", Tahoma, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.65; font-size: 16px; }
html[lang="ar"] body { font-family: "Segoe UI", Tahoma, "Noto Sans Arabic", Arial, sans-serif; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(30px, 4.2vw, 48px); letter-spacing: -.01em; }
h2 { font-size: clamp(24px, 3vw, 34px); }
h3 { font-size: 19px; }
p { margin: 0 0 1em; }
svg { width: 1.1em; height: 1.1em; flex: none; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.skip-link { position: absolute; inset-inline-start: -9999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
.skip-link:focus { inset-inline-start: 8px; }

/* 按钮 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 22px; border-radius: 10px; border: 2px solid transparent; font: inherit; font-weight: 600; font-size: 15px; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px color-mix(in srgb, var(--brand) 35%, transparent); }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-outline { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; background: rgba(255, 255, 255, .06); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { color: var(--brand-dark); }
.btn-whatsapp { background: var(--wa); color: #fff; }
.btn-whatsapp:hover { background: #1ebe5b; color: #fff; }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn[disabled] { opacity: .65; cursor: not-allowed; transform: none; }
[dir="rtl"] .ico-arrow { transform: scaleX(-1); }
/* RTL 页面里回退显示的英文内容按自身方向排版，避免标点、数字错位 */
[dir="rtl"] :is(h1, h2, h3, h4, p, li, dt, dd, td, th, small, label, .brand span, .product-cat, .msg, .eyebrow, .topbar-tagline) { unicode-bidi: plaintext; }

/* 顶栏与页眉 */
.topbar { background: var(--navy); color: #c4cfe6; font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar-contacts { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar a { color: #dfe7f7; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #fff; }
.topbar-tagline { opacity: .75; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 18px; min-width: 0; }
.brand img { width: 40px; height: 40px; border-radius: 10px; object-fit: contain; }
.brand span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand:hover { color: var(--ink); }
.main-nav { display: flex; gap: 4px; margin-inline-start: auto; }
.main-nav a { color: var(--ink); padding: 8px 14px; border-radius: 8px; font-weight: 500; font-size: 15px; }
.main-nav a:hover, .main-nav a.active { color: var(--brand); background: var(--brand-soft); }
.main-nav .nav-cta { display: none; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch { position: relative; }
.lang-switch summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; color: var(--ink); user-select: none; }
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch[open] summary { border-color: var(--brand); color: var(--brand); }
.lang-switch ul { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); min-width: 160px; z-index: 50; }
.lang-switch li a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--ink); font-size: 14px; }
.lang-switch li a:hover, .lang-switch li a.active { background: var(--brand-soft); color: var(--brand); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 22px; height: 22px; display: block; }

/* 首页大图 */
.hero { background: radial-gradient(1200px 500px at 85% -10%, color-mix(in srgb, var(--brand) 45%, transparent), transparent 60%), linear-gradient(160deg, #0d1a33 0%, #132a55 100%); color: #d6e0f5; padding: 80px 0 90px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; }
.hero .lead { font-size: 18px; color: #c3cfe8; max-width: 560px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); background: var(--brand-soft); padding: 5px 12px; border-radius: 999px; margin-bottom: 18px; }
.hero .eyebrow { background: rgba(255, 255, 255, .1); color: #9fc0ff; }
html[lang="ar"] .eyebrow, html[lang="zh"] .eyebrow, html[lang="ru"] .eyebrow { text-transform: none; letter-spacing: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-media img { border-radius: 24px; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }

.stats-band { background: #fff; border-bottom: 1px solid var(--line); }
.hero + .stats-band { margin-top: -40px; background: transparent; border: 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 10px; }
.stat { text-align: center; padding: 4px 12px; border-inline-start: 1px solid var(--line); }
.stat:first-child { border-inline-start: 0; }
.stat strong { display: block; font-size: 32px; color: var(--brand); line-height: 1.2; }
.stat span { font-size: 14px; color: var(--muted); }
.stats-band:not(.hero + .stats-band) { padding: 40px 0; background: var(--bg-alt); }

/* 区块 */
.section { padding: 84px 0; }
.section-tight { padding-top: 0; }
.section-top { padding-top: 24px; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-head p { color: var(--muted); font-size: 17px; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.product-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.product-grid + .center { margin-top: 40px; }
.product-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s, border-color .25s; }
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
.product-thumb { display: block; aspect-ratio: 4 / 3; background: var(--bg-alt); overflow: hidden; }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card:hover .product-thumb img { transform: scale(1.04); }
.product-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 18px; margin-bottom: 8px; }
.product-body h3 a { color: var(--ink); }
.product-body h3 a:hover { color: var(--brand); }
.product-body p { color: var(--muted); font-size: 14.5px; flex: 1; }
.product-cat { display: inline-block; font-size: 12px; font-weight: 600; color: var(--brand); letter-spacing: .03em; margin-bottom: 6px; }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14.5px; margin-top: auto; }

.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cat-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--navy); color: #c9d5ee; position: relative; min-height: 280px; }
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; transition: opacity .3s, transform .4s; }
.cat-card:hover img { opacity: .4; transform: scale(1.04); }
.cat-card-body { position: relative; margin-top: auto; padding: 24px; background: linear-gradient(transparent, rgba(8, 16, 34, .85)); }
.cat-card h3 { color: #fff; font-size: 21px; }
.cat-card p { font-size: 14px; margin-bottom: 10px; }
.cat-card .link-more { color: #9fc0ff; }

.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.adv-card { background: #fff; border-radius: var(--radius); padding: 28px 24px; border: 1px solid var(--line); }
.adv-icon { display: inline-flex; width: 52px; height: 52px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); align-items: center; justify-content: center; margin-bottom: 16px; }
.adv-icon svg { width: 28px; height: 28px; }
.adv-card p { color: var(--muted); font-size: 14.5px; margin: 0; }

.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-media img { border-radius: 20px; box-shadow: var(--shadow); }
.about-page { align-items: start; }

.prose { font-size: 16.5px; }
.prose h2 { font-size: 24px; }
.prose h3 { margin-top: 1.4em; font-size: 20px; }
.prose ul { padding-inline-start: 1.3em; margin: 0 0 1em; }
.prose li { margin: .3em 0; }

.cta-band { background: linear-gradient(120deg, var(--brand), var(--brand-dark)); color: #e7efff; padding: 60px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; }

/* 询盘 */
.inquiry-section { background: linear-gradient(180deg, var(--bg-alt), #fff); }
.inquiry-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.inquiry-intro p { color: var(--muted); font-size: 17px; }
.card { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 30px; box-shadow: var(--shadow); }
.form-card { padding: 32px; }
.form-title { font-size: 24px; margin-bottom: 4px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-bottom: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.req { color: var(--bad); }
.field input, .field select, .field textarea { font: inherit; font-size: 15px; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); width: 100%; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.field.has-err input, .field.has-err textarea, .field.has-err select { border-color: var(--bad); }
.field-err { color: var(--bad); font-size: 13px; min-height: 0; }
.field-err:empty { display: none; }
.form-status { margin: 0 0 16px; font-size: 15px; }
.form-status:empty { display: none; }
.form-status.ok { padding: 12px 16px; border-radius: 10px; background: #ecfdf3; color: #146c36; border: 1px solid #bbf0cf; }
.form-status.bad { padding: 12px 16px; border-radius: 10px; background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.contact-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.contact-list small { color: var(--muted); font-size: 13px; }
.contact-list a { color: var(--ink); font-weight: 600; word-break: break-word; }
.contact-list a:hover { color: var(--brand); }
.ci-icon { display: inline-flex; width: 40px; height: 40px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); align-items: center; justify-content: center; flex: none; }
.ci-icon svg { width: 20px; height: 20px; }

/* 内页头 */
.page-hero { background: linear-gradient(160deg, #0d1a33, #16305f); color: #c3cfe8; padding: 54px 0 58px; }
.page-hero h1 { color: #fff; font-size: clamp(28px, 3.6vw, 42px); margin: 10px 0 8px; }
.page-hero p { max-width: 760px; margin: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; font-size: 14px; }
.breadcrumb li + li::before { content: "/"; margin-inline-end: 6px; opacity: .5; }
.breadcrumb a { color: #9fc0ff; }
.breadcrumb-plain { padding: 20px 0 0; color: var(--muted); }
.breadcrumb-plain a { color: var(--muted); }
.breadcrumb-plain a:hover { color: var(--brand); }

.products-layout { display: grid; grid-template-columns: 250px 1fr; gap: 36px; align-items: start; }
.cat-side { position: sticky; top: 96px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.cat-side h2 { font-size: 16px; margin: 4px 8px 12px; }
.cat-side ul { list-style: none; margin: 0; padding: 0; }
.cat-side a { display: flex; justify-content: space-between; gap: 8px; padding: 10px 12px; border-radius: 8px; color: var(--ink); font-size: 15px; }
.cat-side a span { color: var(--muted); font-size: 13px; }
.cat-side a:hover, .cat-side a.active { background: var(--brand-soft); color: var(--brand); }
.count-line { margin: 0 0 16px; font-size: 14px; }
.empty { padding: 60px 20px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); }

/* 产品详情 */
.product-detail { display: grid; grid-template-columns: 1.05fr 1fr; gap: 52px; align-items: start; }
.gallery-main { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--bg-alt); aspect-ratio: 4 / 3; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.thumb { padding: 0; border: 2px solid var(--line); border-radius: 10px; overflow: hidden; width: 96px; cursor: pointer; background: none; }
.thumb.active, .thumb:hover { border-color: var(--brand); }
.product-info h1 { font-size: clamp(26px, 3vw, 36px); }
.product-info .lead { font-size: 17px; color: var(--text); }
.model { color: var(--muted); }
.key-specs { margin: 22px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.key-specs div { background: var(--bg-alt); border-radius: 10px; padding: 10px 14px; }
.key-specs dt { font-size: 12.5px; color: var(--muted); }
.key-specs dd { margin: 0; font-weight: 600; color: var(--ink); font-size: 14.5px; }
.product-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.detail-sections { display: grid; grid-template-columns: 1.2fr 1fr; gap: 26px; align-items: start; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec-table th, .spec-table td { text-align: start; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 42%; color: var(--muted); font-weight: 500; }
.spec-table tr:nth-child(odd) { background: var(--bg-alt); }

.notfound { padding: 120px 0; }
.nf-code { font-size: 96px; font-weight: 800; color: var(--brand); line-height: 1; margin-bottom: 12px; }

/* 页脚 */
.site-footer { background: var(--navy); color: #9eacc8; padding: 64px 0 0; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 36px; padding-bottom: 40px; }
.site-footer h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #c4cfe6; }
.site-footer a:hover { color: #fff; }
.brand-light, .brand-light:hover { color: #fff; margin-bottom: 14px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { margin-top: 4px; color: #7f9bd6; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .08); padding: 20px 24px; font-size: 13px; }
.powered { opacity: .6; }

/* 在线客服 */
.chat { position: fixed; inset-inline-end: 22px; bottom: 22px; z-index: 60; }
.chat-launcher { width: 60px; height: 60px; border-radius: 50%; border: 0; background: var(--brand); color: #fff; cursor: pointer; box-shadow: 0 10px 28px color-mix(in srgb, var(--brand) 45%, transparent); display: flex; align-items: center; justify-content: center; position: relative; transition: transform .2s; }
.chat-launcher:hover { transform: scale(1.06); }
.chat-launcher svg { width: 28px; height: 28px; }
.chat-badge { position: absolute; top: -2px; inset-inline-end: -2px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--bad); color: #fff; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; }
.chat-badge[hidden] { display: none; }
.chat-panel { position: absolute; inset-inline-end: 0; bottom: 76px; width: 370px; max-width: calc(100vw - 28px); height: min(560px, calc(100vh - 120px)); background: #fff; border-radius: 18px; box-shadow: 0 24px 60px rgba(15, 27, 51, .28); display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); }
.chat-panel[hidden] { display: none; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: linear-gradient(120deg, var(--brand), var(--brand-dark)); color: #fff; }
.chat-head img { width: 36px; height: 36px; border-radius: 10px; background: #fff; padding: 3px; }
.chat-head-text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.chat-head small { opacity: .85; font-size: 12.5px; }
.chat-x { background: rgba(255, 255, 255, .14); border: 0; color: #fff; width: 32px; height: 32px; border-radius: 8px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.chat-x:hover { background: rgba(255, 255, 255, .25); }
.chat-conn { background: #fff7e6; color: #9a6200; font-size: 12.5px; padding: 6px 14px; text-align: center; }
.chat-conn[hidden] { display: none; }
.chat-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: #f6f8fc; }
.msg { max-width: 82%; padding: 10px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.5; white-space: pre-wrap; word-wrap: break-word; overflow-wrap: anywhere; }
.msg-agent { align-self: flex-start; background: #fff; color: var(--ink); border: 1px solid var(--line); border-end-start-radius: 4px; }
.msg-visitor { align-self: flex-end; background: var(--brand); color: #fff; border-end-end-radius: 4px; }
.msg-visitor.pending { opacity: .6; }
.msg-visitor.failed { background: #fee2e2; color: #991b1b; cursor: pointer; }
.msg-note { align-self: center; font-size: 12px; color: var(--muted); }
.msg time { display: block; font-size: 11px; opacity: .65; margin-top: 4px; }
.chat-email { padding: 12px 16px; border-top: 1px solid var(--line); background: #fffdf5; }
.chat-email[hidden] { display: none; }
.chat-email p { font-size: 13px; margin: 0 0 8px; color: var(--text); }
.chat-email-row { display: flex; gap: 8px; }
.chat-email input { flex: 1; min-width: 0; font: inherit; font-size: 14px; padding: 8px 10px; border: 1.5px solid var(--line); border-radius: 8px; }
.chat-email input:focus { outline: none; border-color: var(--brand); }
.chat-email button { border: 0; background: var(--brand); color: #fff; padding: 0 14px; border-radius: 8px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.chat-input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); align-items: flex-end; }
.chat-input textarea { flex: 1; resize: none; font: inherit; font-size: 14.5px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 12px; max-height: 120px; line-height: 1.4; }
.chat-input textarea:focus { outline: none; border-color: var(--brand); }
.chat-input button { width: 44px; height: 44px; border-radius: 12px; border: 0; background: var(--brand); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; flex: none; }
.chat-input button svg { width: 20px; height: 20px; }
[dir="rtl"] .chat-input button svg { transform: scaleX(-1); }

/* 响应式 */
@media (max-width: 1024px) {
  .product-grid, .product-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-inner { gap: 36px; }
}
@media (max-width: 900px) {
  .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .main-nav { display: none; position: absolute; top: 100%; inset-inline: 0; flex-direction: column; background: #fff; border-bottom: 1px solid var(--line); padding: 10px 16px 18px; box-shadow: var(--shadow); gap: 2px; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 14px; }
  .main-nav .nav-cta { display: flex; margin-top: 8px; color: #fff; }
  .header-actions { margin-inline-start: auto; }
  .hero-inner, .about-split, .inquiry-wrap, .product-detail, .detail-sections { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 80px; }
  .products-layout { grid-template-columns: 1fr; }
  .cat-side { position: static; }
  .cat-side ul { display: flex; flex-wrap: wrap; gap: 6px; }
  .cat-side a { border: 1px solid var(--line); }
  .cat-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  body { font-size: 15.5px; }
  .container { padding: 0 16px; }
  .hide-sm { display: none !important; }
  .topbar-tagline { display: none; }
  .header-inner { min-height: 62px; gap: 12px; }
  .brand { font-size: 16px; }
  .brand img { width: 34px; height: 34px; }
  .lang-switch summary span { display: none; }
  .section { padding: 56px 0; }
  .section-tight { padding-top: 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
  .stat:nth-child(3) { border-inline-start: 0; }
  .product-grid, .product-grid.cols-3, .adv-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .card, .form-card { padding: 22px 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .key-specs { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 auto; }
  .chat { inset-inline-end: 14px; bottom: 14px; }
  .chat-panel { position: fixed; inset: auto 8px 84px 8px; width: auto; max-width: none; height: min(70vh, 560px); }
}
