/* ============================================================
   KMVRQD 植印物像园艺 — 前台样式
   设计语言：深空蓝 × 品牌绿 · 大气整洁 · 滚动动效
   （--orange 变量名沿用历史代码，现值为品牌绿）
   ============================================================ */
:root {
  --ink: #0e1b2c;          /* 主深色 */
  --ink-2: #16273d;
  --orange: #17a457;       /* 品牌绿 */
  --orange-d: #0e8a48;
  --orange-l: #e8f7ee;
  --gray: #64748b;
  --line: #e5eaf1;
  --bg-soft: #f5f7fa;
  --white: #ffffff;
  --radius: 14px;
  --shadow-sm: 0 2px 10px rgba(14, 27, 44, .06);
  --shadow-md: 0 10px 30px rgba(14, 27, 44, .10);
  --shadow-lg: 0 22px 60px rgba(14, 27, 44, .16);
  --maxw: 1240px;
  --font: "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.7; font-size: 15px; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* 产品详情富文本描述（后台录入的 HTML 内容排版） */
#pdDesc h2 { font-size: 20px; color: var(--ink); margin: 24px 0 10px; }
#pdDesc h3 { font-size: 17px; color: var(--ink); margin: 18px 0 8px; }
#pdDesc h4 { font-size: 15px; color: var(--ink); margin: 14px 0 6px; }
#pdDesc p { margin: 8px 0; line-height: 1.8; }
#pdDesc ul { list-style: disc; padding-left: 22px; margin: 8px 0; }
#pdDesc ol { list-style: decimal; padding-left: 22px; margin: 8px 0; }
#pdDesc li { margin: 4px 0; line-height: 1.7; }
#pdDesc b, #pdDesc strong { color: var(--ink); }
#pdDesc a { color: var(--orange); text-decoration: underline; }
#pdDesc table { border-collapse: collapse; margin: 12px 0; width: 100%; }
#pdDesc th, #pdDesc td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }
#pdDesc th { background: var(--bg-soft); }
#pdDesc img { margin: 12px 0; border-radius: 10px; }
#pdDesc hr { border: none; border-top: 1px solid var(--line); margin: 18px 0; }
img { display: block; max-width: 100%; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部信息条 ---------- */
.topbar { background: var(--ink); color: #b7c4d6; font-size: 12.5px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 36px; }
.topbar span { display: inline-flex; align-items: center; gap: 6px; }
.topbar svg { width: 13px; height: 13px; stroke: var(--orange); }

/* ---------- 导航 ---------- */
.nav-wrap { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.nav-wrap.scrolled { box-shadow: var(--shadow-md); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; transition: height .3s; }
.nav-wrap.scrolled .nav { height: 64px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; overflow: hidden; box-shadow: 0 6px 16px rgba(23,164,87,.35); }
.logo-mark svg { display: block; }
.logo-text b { font-size: 20px; letter-spacing: 2px; display: block; line-height: 1.2; }
.logo-text i { font-style: normal; font-size: 11px; color: var(--gray); letter-spacing: 1.2px; }
.nav-links { display: flex; gap: 6px; }
.nav-links a { padding: 8px 16px; border-radius: 8px; font-size: 15px; font-weight: 500; position: relative; transition: color .25s, background .25s; }
.nav-links a:hover { color: var(--orange); background: var(--orange-l); }
.nav-links a.active { color: var(--orange); }
.nav-links a.active::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 2px; height: 2.5px; border-radius: 2px; background: var(--orange); }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; background: var(--orange); color: #fff; padding: 11px 22px; border-radius: 10px; font-weight: 600; font-size: 14px; transition: transform .25s, box-shadow .25s, background .25s; white-space: nowrap; }
.nav-cta:hover { background: var(--orange-d); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(23,164,87,.38); }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 640px; overflow: hidden; background: var(--ink); }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease; pointer-events: none; }
.hero-slide.on { opacity: 1; pointer-events: auto; }
.hero-slide .bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.12); }
.hero-slide.on .bg { animation: kenburns 7s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.14); } to { transform: scale(1.02); } }
.hero-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(9,18,30,.88) 0%, rgba(9,18,30,.55) 45%, rgba(9,18,30,.25) 100%); }
.hero-inner { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; color: #fff; }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: 4px; color: #8fe0b0; text-transform: uppercase; margin-bottom: 18px; opacity: 0; animation: riseIn .8s .2s forwards; }
.hero-kicker::before { content: ""; width: 42px; height: 2px; background: var(--orange); }
.hero-title { font-size: 52px; font-weight: 800; line-height: 1.22; letter-spacing: 1px; max-width: 720px; opacity: 0; animation: riseIn .8s .45s forwards; }
.hero-sub { margin-top: 20px; font-size: 17px; color: #d4dde9; max-width: 560px; opacity: 0; animation: riseIn .8s .7s forwards; }
.hero-actions { margin-top: 38px; display: flex; gap: 16px; opacity: 0; animation: riseIn .8s .95s forwards; }
.btn { display: inline-flex; align-items: center; gap: 9px; padding: 15px 34px; border-radius: 12px; font-size: 15px; font-weight: 600; transition: transform .25s, box-shadow .25s, background .25s, color .25s; cursor: pointer; border: none; font-family: var(--font); }
.btn-primary { background: linear-gradient(135deg, var(--orange), #2eb873); color: #fff; box-shadow: 0 12px 28px rgba(23,164,87,.4); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(23,164,87,.5); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,.18); transform: translateY(-3px); }
@keyframes riseIn { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.hero-dots { position: absolute; z-index: 3; bottom: 34px; left: 50%; transform: translateX(-50%); display: flex; gap: 12px; }
.hero-dots button { width: 34px; height: 4px; border-radius: 3px; border: none; background: rgba(255,255,255,.35); cursor: pointer; transition: background .3s, width .3s; }
.hero-dots button.on { background: var(--orange); width: 52px; }
.hero-scroll { position: absolute; z-index: 3; bottom: 30px; right: 40px; color: rgba(255,255,255,.65); font-size: 12px; letter-spacing: 2px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.hero-scroll::after { content: ""; width: 1px; height: 34px; background: linear-gradient(var(--orange), transparent); animation: scrollHint 1.8s infinite; }
@keyframes scrollHint { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- 通用区块 ---------- */
.section { padding: 96px 0; }
.section.soft { background: var(--bg-soft); }
.sec-head { text-align: center; max-width: 700px; margin: 0 auto 56px; }
.sec-kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--orange); font-weight: 700; font-size: 13px; letter-spacing: 4px; text-transform: uppercase; }
.sec-kicker::before, .sec-kicker::after { content: ""; width: 26px; height: 2px; background: var(--orange); opacity: .6; }
.sec-title { font-size: 36px; font-weight: 800; margin-top: 14px; letter-spacing: 1px; }
.sec-desc { color: var(--gray); margin-top: 14px; font-size: 15.5px; }

/* ---------- 统计条 ---------- */
.stats { background: var(--ink); position: relative; overflow: hidden; }
.stats::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 15% 0%, rgba(23,164,87,.16), transparent), radial-gradient(600px 300px at 85% 100%, rgba(23,164,87,.10), transparent); }
.stats-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 58px 0; }
.stat { text-align: center; color: #fff; }
.stat b { font-size: 44px; font-weight: 800; font-family: "DIN Alternate", "Arial Narrow", var(--font); color: var(--orange); display: block; line-height: 1.15; }
.stat b em { font-style: normal; font-size: 26px; }
.stat span { color: #9fb0c6; font-size: 14.5px; letter-spacing: 1px; }

/* ---------- 分类卡片 ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.cat-card { position: relative; border-radius: var(--radius); overflow: hidden; height: 320px; cursor: pointer; box-shadow: var(--shadow-sm); transition: transform .35s, box-shadow .35s; }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.cat-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.cat-card:hover img { transform: scale(1.08); }
.cat-card .veil { position: absolute; inset: 0; background: linear-gradient(to top, rgba(9,18,30,.92) 0%, rgba(9,18,30,.28) 55%, rgba(9,18,30,.06) 100%); }
.cat-card .info { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 20px; color: #fff; }
.cat-card .info i { font-style: normal; font-size: 10.5px; letter-spacing: 2px; color: #8fe0b0; text-transform: uppercase; }
.cat-card .info h3 { font-size: 19px; margin-top: 6px; }
.cat-card .info p { font-size: 13px; color: #c9d4e2; margin-top: 8px; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .45s, opacity .45s, margin .45s; }
.cat-card:hover .info p { max-height: 90px; opacity: 1; }
.cat-card .go { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 13.5px; font-weight: 600; color: var(--orange); opacity: 0; transform: translateY(8px); transition: opacity .4s .1s, transform .4s .1s; }
.cat-card:hover .go { opacity: 1; transform: none; }
/* 主推分类高亮 */
.cat-card.hot { box-shadow: 0 12px 32px rgba(23,164,87,.24); }
.cat-card.hot:hover { box-shadow: 0 18px 40px rgba(23,164,87,.34); }
.cat-card.hot::after { content: ""; position: absolute; inset: 0; border: 2px solid var(--orange); border-radius: var(--radius); z-index: 2; pointer-events: none; }
.cat-card .tag { position: absolute; top: 14px; left: 14px; z-index: 3; background: var(--orange); color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: 1.5px; padding: 5px 12px; border-radius: 999px; box-shadow: 0 4px 12px rgba(0,0,0,.2); }

/* ---------- 产品卡 ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
/* 热销推荐分类标签栏 */
.feat-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-bottom: 38px; }
.feat-tab { appearance: none; border: 1.5px solid var(--line); background: #fff; color: var(--navy); font-size: 15px; font-weight: 600; padding: 11px 30px; border-radius: 999px; cursor: pointer; transition: all .3s; font-family: inherit; letter-spacing: .5px; }
.feat-tab:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-2px); }
.feat-tab.active { background: var(--orange); border-color: var(--orange); color: #fff; box-shadow: 0 6px 18px rgba(23,164,87,.35); }
[dir="rtl"] .feat-tab { letter-spacing: 0; }
.prod-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .35s, box-shadow .35s, border-color .35s; display: flex; flex-direction: column; }
.prod-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.prod-thumb { position: relative; height: 250px; overflow: hidden; background: #eef1f5; }
.prod-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.prod-card:hover .prod-thumb img { transform: scale(1.07); }
.prod-badge { position: absolute; top: 14px; left: 14px; background: var(--orange); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; letter-spacing: 1px; box-shadow: 0 4px 12px rgba(23,164,87,.4); }
.prod-model { position: absolute; bottom: 14px; right: 14px; background: rgba(14,27,44,.78); color: #fff; font-size: 12px; padding: 4px 12px; border-radius: 6px; letter-spacing: 1px; backdrop-filter: blur(4px); }
.prod-body { padding: 22px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.prod-body h3 { font-size: 17.5px; font-weight: 700; }
.prod-body .sum { color: var(--gray); font-size: 13.5px; margin-top: 8px; flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.prod-foot { margin-top: 16px; display: flex; justify-content: space-between; align-items: center; border-top: 1px dashed var(--line); padding-top: 15px; }
.prod-price { color: var(--orange); font-weight: 800; font-size: 16px; }
.prod-more { font-size: 13px; font-weight: 600; color: var(--ink); display: inline-flex; align-items: center; gap: 5px; transition: color .25s, gap .25s; }
.prod-card:hover .prod-more { color: var(--orange); gap: 10px; }

/* ---------- 优势 ---------- */
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.adv-card { background: #fff; border-radius: var(--radius); padding: 38px 30px; border: 1px solid var(--line); position: relative; overflow: hidden; transition: transform .35s, box-shadow .35s; }
.adv-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--orange), #7fdca8); transform: scaleX(0); transform-origin: left; transition: transform .4s; }
.adv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.adv-card:hover::before { transform: scaleX(1); }
.adv-icon { width: 58px; height: 58px; border-radius: 14px; background: var(--orange-l); color: var(--orange); display: grid; place-items: center; margin-bottom: 20px; transition: transform .35s; }
.adv-card:hover .adv-icon { transform: rotate(-6deg) scale(1.08); }
.adv-icon svg { width: 28px; height: 28px; }
.adv-card h3 { font-size: 18px; margin-bottom: 10px; }
.adv-card p { color: var(--gray); font-size: 13.8px; }

/* ---------- 关于我们（首页） ---------- */
.about-flex { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.about-imgs { position: relative; }
.about-imgs .main { border-radius: var(--radius); box-shadow: var(--shadow-lg); height: 420px; width: 100%; object-fit: cover; }
.about-imgs .float { position: absolute; right: -26px; bottom: -30px; width: 240px; height: 180px; object-fit: cover; border-radius: 12px; border: 6px solid #fff; box-shadow: var(--shadow-md); animation: floatY 5s ease-in-out infinite; }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.about-txt .sec-kicker { margin-bottom: 6px; }
.about-txt h2 { font-size: 32px; font-weight: 800; margin: 12px 0 18px; }
.about-txt p { color: #46566c; margin-bottom: 14px; }
.about-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0 30px; }
.about-checks li { display: flex; gap: 10px; align-items: center; font-weight: 500; font-size: 14.5px; }
.about-checks svg { width: 19px; height: 19px; stroke: var(--orange); flex: none; }

/* ---------- CTA ---------- */
.cta { position: relative; background: linear-gradient(120deg, var(--ink-2), var(--ink)); overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 340px at 80% 20%, rgba(23,164,87,.22), transparent); }
.cta-inner { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 40px; padding: 66px 0; color: #fff; }
.cta h2 { font-size: 30px; font-weight: 800; }
.cta p { color: #b7c4d6; margin-top: 8px; }

/* ---------- 页头（内页） ---------- */
.page-head { background: linear-gradient(115deg, var(--ink) 0%, var(--ink-2) 70%); color: #fff; padding: 74px 0 60px; position: relative; overflow: hidden; }
.page-head::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 260px at 85% 10%, rgba(23,164,87,.2), transparent); }
.page-head::after { content: attr(data-bg); position: absolute; right: 30px; bottom: -22px; font-size: 110px; font-weight: 900; color: rgba(255,255,255,.05); letter-spacing: 6px; white-space: nowrap; }
.page-head .crumb { font-size: 13px; color: #9fb0c6; margin-bottom: 14px; position: relative; z-index: 1; }
.page-head .crumb a:hover { color: var(--orange); }
.page-head h1 { font-size: 38px; font-weight: 800; position: relative; z-index: 1; }
.page-head .sub { color: #b7c4d6; margin-top: 10px; position: relative; z-index: 1; }

/* ---------- 产品列表页 ---------- */
.filter-bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 40px; flex-wrap: wrap; }
.filter-tabs { display: flex; gap: 10px; flex-wrap: wrap; }
.filter-tabs button { border: 1px solid var(--line); background: #fff; padding: 10px 22px; border-radius: 999px; font-size: 14px; font-weight: 500; cursor: pointer; font-family: var(--font); transition: all .25s; }
.filter-tabs button:hover { border-color: var(--orange); color: var(--orange); }
.filter-tabs button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.search-box { display: flex; align-items: center; gap: 0; border: 1px solid var(--line); border-radius: 999px; background: #fff; overflow: hidden; transition: box-shadow .25s, border-color .25s; }
.search-box:focus-within { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(23,164,87,.12); }
.search-box input { border: none; outline: none; padding: 11px 18px; font-size: 14px; width: 220px; font-family: var(--font); }
.search-box button { border: none; background: var(--orange); color: #fff; width: 44px; height: 42px; cursor: pointer; display: grid; place-items: center; }
.search-box svg { width: 17px; height: 17px; stroke: #fff; }
.empty-tip { text-align: center; color: var(--gray); padding: 80px 0; font-size: 15px; }

/* ---------- 文章 / 媒体资讯 ---------- */
.art-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.art-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column; }
.art-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.art-cover { position: relative; height: 190px; background: #eef1f5; overflow: hidden; }
.art-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.art-card:hover .art-cover img { transform: scale(1.05); }
.art-video-badge { position: absolute; left: 14px; bottom: 14px; background: rgba(23,164,87,.92); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; letter-spacing: .5px; backdrop-filter: blur(4px); }
.art-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.art-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.art-meta time { color: var(--gray); font-size: 13px; }
.art-tag { background: var(--orange-l); color: var(--orange-d); font-style: normal; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.art-body h3 { font-size: 18px; font-weight: 800; line-height: 1.45; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.art-body p { color: var(--gray); font-size: 14px; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.art-more { color: var(--orange); font-size: 14px; font-weight: 700; margin-top: 14px; }

/* 文章详情 */
.art-detail { display: grid; grid-template-columns: 1fr 300px; gap: 44px; align-items: start; }
.art-detail .art-meta { margin-bottom: 18px; }
.video-box { border-radius: var(--radius); overflow: hidden; background: #0b1526; box-shadow: var(--shadow-md); margin-bottom: 24px; }
.video-box iframe, .video-box video { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.art-cover-img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-md); margin-bottom: 24px; }
.art-detail .art-body { padding: 0; }
.art-detail .art-body p { font-size: 15.5px; line-height: 1.9; margin: 0 0 16px; color: #3b4a5f; display: block; -webkit-line-clamp: unset; }
.art-detail .art-body h2, .art-detail .art-body h3 { margin: 26px 0 12px; }
.art-detail .art-body img { max-width: 100%; border-radius: 12px; }
.art-detail .art-body ul, .art-detail .art-body ol { padding-inline-start: 22px; color: #3b4a5f; line-height: 1.9; }
.art-detail .art-body blockquote { border-inline-start: 4px solid var(--orange); background: var(--orange-l); margin: 18px 0; padding: 14px 18px; border-radius: 0 10px 10px 0; color: var(--orange-d); font-weight: 600; }
.art-detail .art-body table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14.5px; }
.art-detail .art-body th, .art-detail .art-body td { border: 1px solid #e2e8f0; padding: 10px 12px; text-align: start; }
.art-detail .art-body th { background: #f6f8fa; }
.art-side { position: sticky; top: 100px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
.art-side h3 { font-size: 16px; font-weight: 800; margin-bottom: 14px; }
.rel-item { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid #eef1f5; text-decoration: none; }
.rel-item img { width: 72px; height: 54px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.rel-item b { display: block; font-size: 13.5px; line-height: 1.5; color: var(--navy); font-weight: 700; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rel-item time { font-size: 12px; color: var(--gray); }

@media (max-width: 960px) {
  .art-grid { grid-template-columns: repeat(2, 1fr); }
  .art-detail { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .art-grid { grid-template-columns: 1fr; }
}

/* ---------- 产品详情 ---------- */
.pd-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.pd-gallery .main-img { border-radius: var(--radius); background: #eef1f5; height: 480px; overflow: hidden; box-shadow: var(--shadow-md); }
.pd-gallery .main-img img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs { display: flex; gap: 14px; margin-top: 16px; }
.pd-thumbs img { width: 92px; height: 72px; object-fit: cover; border-radius: 10px; border: 2px solid transparent; cursor: pointer; opacity: .7; transition: all .25s; }
.pd-thumbs img:hover { opacity: 1; }
.pd-thumbs img.on { border-color: var(--orange); opacity: 1; }
.pd-thumbs .thumb-video { position: relative; }
.pd-thumbs .thumb-video::after { content: "▶"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 22px; color: #fff; background: rgba(9,18,30,.35); border-radius: 8px; }
.pd-thumbs .thumb-video.on::after { background: rgba(23,164,87,.45); }
.pd-gallery .main-video { border-radius: var(--radius); background: #0b1420; height: 480px; overflow: hidden; box-shadow: var(--shadow-md); position: relative; }
.pd-gallery .main-video iframe, .pd-gallery .main-video video { width: 100%; height: 100%; border: none; display: block; object-fit: contain; }
.pd-gallery .video-flag { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--orange); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; letter-spacing: 1px; }
.pd-info .cat-tag { display: inline-block; background: var(--orange-l); color: var(--orange); font-size: 13px; font-weight: 700; padding: 5px 14px; border-radius: 999px; }
.pd-info h1 { font-size: 32px; font-weight: 800; margin: 14px 0 6px; }
.pd-model-tag { color: var(--gray); font-size: 14px; letter-spacing: 1px; }
.pd-price-box { display: flex; align-items: baseline; gap: 12px; margin: 22px 0; }
.pd-price-box b { font-size: 30px; color: var(--orange); font-weight: 800; }
.pd-price-box span { color: var(--gray); font-size: 13px; }
.pd-summary { color: #46566c; padding-bottom: 22px; border-bottom: 1px dashed var(--line); }
.pd-features { margin: 22px 0; }
.pd-features li { display: flex; gap: 10px; align-items: center; padding: 7px 0; font-size: 14.5px; font-weight: 500; }
.pd-features svg { width: 18px; height: 18px; stroke: var(--orange); flex: none; }
.pd-actions { display: flex; gap: 14px; margin-top: 26px; }
.pd-actions .btn { padding: 14px 28px; font-size: 14.5px; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 28px; }
.spec-table caption { text-align: left; font-size: 19px; font-weight: 800; padding-bottom: 14px; }
.spec-table tr { border-bottom: 1px solid var(--line); transition: background .2s; }
.spec-table tr:hover { background: var(--orange-l); }
.spec-table th { text-align: left; padding: 13px 16px 13px 0; color: var(--gray); font-weight: 500; width: 170px; font-size: 14px; }
.spec-table td { padding: 13px 0; font-weight: 600; font-size: 14.5px; }

/* ---------- 询盘表单 ---------- */
.form-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-md); padding: 40px; border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 7px; }
.form-grid label i { color: var(--orange); font-style: normal; }
.form-grid input, .form-grid textarea, .form-grid select { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-size: 14px; font-family: var(--font); outline: none; transition: border-color .25s, box-shadow .25s; background: #fbfcfe; }
.form-grid input:focus, .form-grid textarea:focus, .form-grid select:focus { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(23,164,87,.1); background: #fff; }
.form-grid textarea { min-height: 120px; resize: vertical; }
.form-msg { margin-top: 16px; font-size: 14px; display: none; padding: 12px 16px; border-radius: 10px; }
.form-msg.ok { display: block; background: #e8f8ee; color: #178a4c; }
.form-msg.err { display: block; background: #fdecec; color: #c53030; }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.contact-info-card { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 40px 36px; }
.contact-info-card h3 { font-size: 21px; margin-bottom: 26px; }
.contact-info-card li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.09); font-size: 14.5px; color: #c9d4e2; }
.contact-info-card li:last-child { border: none; }
.contact-info-card li b { display: block; color: #fff; margin-bottom: 3px; font-size: 14px; }
.ci-icon { width: 42px; height: 42px; flex: none; border-radius: 10px; background: rgba(23,164,87,.16); color: var(--orange); display: grid; place-items: center; }
.ci-icon svg { width: 20px; height: 20px; }

/* ---------- 页脚 ---------- */
.footer { background: var(--ink); color: #93a5bb; padding: 70px 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 50px; }
.footer .logo-text b { color: #fff; }
.footer .logo-text i { color: #6b7d94; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 30px; height: 2.5px; border-radius: 2px; background: var(--orange); }
.footer li { padding: 5.5px 0; transition: color .25s, transform .25s; }
.footer li:hover { color: var(--orange); transform: translateX(4px); }
.footer .about-blurb { margin-top: 18px; line-height: 1.8; font-size: 13.5px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; display: flex; justify-content: space-between; font-size: 12.5px; color: #6b7d94; }

/* ---------- 滚动显现动画 ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s cubic-bezier(.2,.7,.3,1), transform .8s cubic-bezier(.2,.7,.3,1); }
.reveal.vis { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .12s; }
.reveal[data-d="2"] { transition-delay: .24s; }
.reveal[data-d="3"] { transition-delay: .36s; }
.reveal[data-d="4"] { transition-delay: .48s; }
.no-anim .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-flex, .pd-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-title { font-size: 40px; }
  .about-imgs .float { display: none; }
}
@media (max-width: 720px) {
  .adv-grid, .prod-grid, .stats-grid, .form-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cat-card { height: 250px; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; padding: 14px 20px 20px; box-shadow: var(--shadow-lg); border-top: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }
  .nav-toggle svg { width: 20px; height: 20px; stroke: var(--ink); }
  .nav-cta { display: none; }
  .topbar .hide-m { display: none; }
  .hero { height: 540px; }
  .hero-title { font-size: 30px; }
  .section { padding: 64px 0; }
  .sec-title { font-size: 27px; }
  .cta-inner { flex-direction: column; text-align: center; }
  .pd-gallery .main-img { height: 300px; }
  .form-card, .contact-info-card { padding: 26px 20px; }
  .hero-scroll { display: none; }
}

/* ---------- 语言切换器 ---------- */
.nav-right { display: flex; align-items: center; gap: 14px; }
.lang-switch { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); background: #fff; color: var(--ink); padding: 9px 13px; border-radius: 10px; font-size: 13px; font-weight: 600; cursor: pointer; font-family: var(--font); transition: border-color .25s, color .25s; white-space: nowrap; }
.lang-btn:hover { border-color: var(--orange); color: var(--orange); }
.lang-btn svg { width: 15px; height: 15px; stroke: currentColor; }
.lang-caret { font-size: 10px; color: var(--gray); font-style: normal; transition: transform .25s; }
.lang-switch:hover .lang-caret, .lang-switch.open .lang-caret { transform: rotate(180deg); }
.lang-menu { position: absolute; top: calc(100% + 8px); right: 0; min-width: 210px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .25s; z-index: 200; max-height: 400px; overflow: auto; }
.lang-switch:hover .lang-menu, .lang-switch.open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu button { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; border: none; background: none; padding: 9px 12px; border-radius: 8px; font-size: 13.5px; cursor: pointer; color: var(--ink); font-family: var(--font); transition: background .2s, color .2s; }
.lang-menu button:hover { background: var(--orange-l); color: var(--orange); }
.lang-menu button.on { color: var(--orange); font-weight: 700; }
.lang-menu button b { margin-inline-start: auto; color: var(--orange); }
.lang-menu .fl { font-size: 16px; }
@media (max-width: 720px) {
  .nav-right { gap: 10px; }
  .lang-btn { padding: 8px 10px; font-size: 12px; }
  .lang-btn span { display: none; }
  .lang-btn .lang-caret { display: none; }
}

/* ---------- 必填星号（label 外置，避免翻译时被覆盖） ---------- */
.form-grid div > i { color: var(--orange); font-style: normal; font-weight: 600; }

/* ---------- WhatsApp 浮动咨询按钮 ---------- */
.wa-float { position: fixed; right: 26px; bottom: 26px; z-index: 300; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(37,211,102,.45); transition: transform .25s, box-shadow .25s; }
.wa-float:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 16px 34px rgba(37,211,102,.55); }
.wa-float svg { width: 28px; height: 28px; }
.wa-float::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid rgba(37,211,102,.45); animation: waPulse 2.4s ease-out infinite; }
@keyframes waPulse { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.wa-float .wa-tip { position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%); background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 600; padding: 7px 13px; border-radius: 9px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .25s; }
.wa-float:hover .wa-tip { opacity: 1; }
.wa-inline { color: var(--orange); font-weight: 600; }
.wa-inline:hover { text-decoration: underline; }
@media (max-width: 720px) { .wa-float { right: 16px; bottom: 16px; width: 50px; height: 50px; } .wa-float .wa-tip { display: none; } }
[dir="rtl"] .wa-float { right: auto; left: 26px; }
[dir="rtl"] .wa-float .wa-tip { right: auto; left: calc(100% + 12px); }

/* 产品页 WhatsApp 咨询按钮 */
.btn-wa { display: inline-flex; align-items: center; gap: 9px; background: #25d366; color: #fff; padding: 13px 26px; border-radius: 10px; font-weight: 600; font-size: 14px; box-shadow: 0 10px 24px rgba(37,211,102,.35); transition: transform .25s, box-shadow .25s, background .25s; white-space: nowrap; }
.btn-wa:hover { background: #1fbf5c; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(37,211,102,.45); }
.btn-wa svg { width: 19px; height: 19px; fill: currentColor; }

/* ---------- RTL 布局（阿拉伯语等从右向左语言） ---------- */
[dir="rtl"] .hero-slide::after { background: linear-gradient(260deg, rgba(9,18,30,.88) 0%, rgba(9,18,30,.55) 45%, rgba(9,18,30,.25) 100%); }
[dir="rtl"] .hero-scroll { right: auto; left: 40px; }
[dir="rtl"] .prod-badge { left: auto; right: 14px; }
[dir="rtl"] .prod-model { right: auto; left: 14px; }
[dir="rtl"] .about-imgs .float { right: auto; left: -26px; }
[dir="rtl"] .adv-card::before { transform-origin: right; }
[dir="rtl"] .footer h4::after { left: auto; right: 0; }
[dir="rtl"] .spec-table th, [dir="rtl"] .spec-table caption { text-align: right; }
[dir="rtl"] .page-head::after { right: auto; left: 30px; }
[dir="rtl"] .footer li:hover { transform: translateX(-4px); }
[dir="rtl"] .lang-menu { right: auto; left: 0; }
[dir="rtl"] .search-box input { text-align: right; }
[dir="rtl"] .lang-menu button { text-align: right; }
[dir="rtl"] .cat-card .tag { left: auto; right: 14px; }
