/* ==========================================================================
   MOTOX Motorcycle Export Website - Base Style
   配色：粉 / 绿 / 蓝 小清新 + 深蓝主色（豆包配色方案优化版）
   ========================================================================== */

:root {
    --pink: #FFD6E0;
    --pink-deep: #FF7FA0;
    --green: #D4F8D4;
    --green-deep: #3FBF87;
    --blue: #D6E8FF;
    --blue-deep: #2E7FD1;
    --blue-dark: #1B5FA8;
    --ink: #16283C;
    --muted: #5C7086;
    --line: #E7EDF5;
    --bg-soft: #F6F9FD;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(46, 127, 209, .12);
    --shadow-sm: 0 4px 14px rgba(22, 40, 60, .08);
    --radius: 14px;
    --container: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    font-family: "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: var(--ink);
    background: var(--white);
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; border: 0; }

a { color: inherit; text-decoration: none; }

a:hover { color: var(--blue-deep); }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.35; color: var(--ink); }

p { color: var(--muted); }

.clearfix:after { content: ""; display: block; clear: both; height: 0; visibility: hidden; }

/* ---------- 布局容器（非整屏宽度） ---------- */
.container {
    width: var(--container);
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

.pc-only { display: block; }
.m-only { display: none; }

/* ============================ 顶部（PC） ============================ */
.pc-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 900;
    background: #ffffff;
    border-bottom: 1px solid var(--line);
}

.pc-header .top-bar {
    background: var(--blue-deep);
    color: var(--white);
    font-size: 13px;
}

.pc-header .top-bar .container {
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pc-header .top-bar p,
.pc-header .top-bar span { color: var(--white); }

.top-bar .tb-links span { margin-right: 14px; }

.top-bar .tb-links a { color: var(--white); opacity: .95; }
.top-bar .tb-links a:hover { text-decoration: underline; }

/* ---------- 顶栏多语言选择（预留：德语 / 法语 / 日语） ---------- */
.lang-box { position: relative; display: inline-block; margin-right: 0 !important; }
.lang-box .lang-cur {
    display: inline-block;
    padding: 3px 12px;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 16px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all .25s;
}
.lang-box:hover .lang-cur { background: var(--white); color: var(--blue-deep); border-color: var(--white); }
.lang-box .lang-list {
    display: none;
    position: absolute;
    right: 0;
    top: 28px;
    min-width: 130px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 6px 0;
    z-index: 30;
}
.lang-box:hover .lang-list { display: block; }
.lang-box .lang-list a {
    display: block;
    padding: 7px 15px;
    font-size: 13px;
    color: var(--ink);
    opacity: 1;
}
.lang-box .lang-list a:hover { background: var(--bg-soft); color: var(--blue-deep); text-decoration: none; }

.nav-bar .container {
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo { display: flex; align-items: center; min-width: 0; }
/* 用 max-height 而不是固定 height：换任何尺寸的 logo 都按原始比例缩放，永不拉伸变形 */
.logo img { max-height: 46px; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.logo .logo-txt { margin-left: 8px; }
.logo .logo-txt .n1 { font-size: 21px; font-weight: 800; letter-spacing: 1px; color: var(--ink); }
.logo .logo-txt .n2 { font-size: 12px; color: var(--muted); letter-spacing: 2px; }

.main-menu { display: flex; align-items: center; }
.main-menu .mi { position: relative; }
.main-menu .mi > a {
    display: block;
    padding: 26px 17px;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
}
.main-menu .mi > a:hover { color: var(--blue-deep); }
.main-menu .mi.active > a { color: var(--blue-deep); }
.main-menu .mi.active > a:after {
    content: "";
    position: absolute;
    left: 17px;
    right: 17px;
    bottom: 18px;
    height: 3px;
    border-radius: 3px;
    background: var(--blue-deep);
}

.nav-extra { display: flex; align-items: center; gap: 10px; }
.nav-extra .ne-mail { font-size: 13px; color: var(--muted); }

/* 下拉 */
.sub-menu {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    min-width: 210px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 8px 0;
}
.main-menu .mi:hover .sub-menu { display: block; }
.sub-menu a { display: block; padding: 9px 18px; font-size: 14px; color: var(--ink); }
.sub-menu a:hover { background: var(--bg-soft); color: var(--blue-deep); }

/* ============================ 按钮 ============================ */
.btn {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    transition: all .3s ease;
    border: 1px solid transparent;
    cursor: pointer;
}
.btn-primary {
    background: var(--blue-deep);
    color: var(--white);
}
.btn-primary:hover { background: var(--blue-dark); color: var(--white); }
.btn-pink { background: var(--pink-deep); color: var(--white); }
.btn-pink:hover { background: #f96a90; color: var(--white); }
.btn-green { background: var(--green-deep); color: var(--white); }
.btn-green:hover { color: var(--white); transform: translateY(-2px); }
.btn-ghost { border-color: var(--blue-deep); color: var(--blue-deep); background: transparent; }
.btn-ghost:hover { background: var(--blue-deep); color: var(--white); }
.btn-lg { padding: 14px 34px; font-size: 15px; }

/* 栏目筛选条（产品列表 / 新闻列表共用）
   未选中：浅灰底 + 灰字，不抢正文视觉；选中：蓝色实底 + 白字 */
.sort-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 0 34px;
    padding: 0 0 28px;
    border-bottom: 1px solid var(--line);
}
.sort-filter .btn {
    margin: 0;
    padding: 9px 22px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: var(--bg-soft);
    color: var(--muted);
    transition: all .25s ease;
}
.sort-filter .btn:hover {
    border-color: var(--blue-deep);
    background: var(--blue-deep);
    color: var(--white);
}
.sort-filter .btn.on {
    background: var(--blue-deep);
    border-color: var(--blue-deep);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}
.sort-filter .btn.on:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: var(--white); }

/* ============================ 移动端顶部（白色悬浮） ============================ */
.m-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 950;
    height: 56px;
    background: #ffffff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 2px 10px rgba(22, 40, 60, .06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
}
.m-header .m-logo { min-width: 0; }
.m-header .m-logo img { max-height: 34px; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.m-header .m-menu-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--bg-soft);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
}
.m-header .m-menu-btn i { display: block; width: 18px; height: 2px; background: var(--blue-deep); border-radius: 2px; }
.m-header .m-call {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--bg-soft); color: var(--blue-deep);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
}

/* 移动抽屉 */
.m-drawer {
    position: fixed;
    top: 0;
    right: -78%;
    width: 78%;
    max-width: 320px;
    height: 100%;
    background: #fff;
    z-index: 1200;
    box-shadow: -6px 0 24px rgba(22, 40, 60, .18);
    transition: right .28s ease;
    overflow-y: auto;
    padding-bottom: 30px;
}
.m-drawer.open { right: 0; }
.m-drawer .md-top {
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    border-bottom: 1px solid var(--line);
    font-weight: 700;
}
.m-drawer .md-close { font-size: 22px; cursor: pointer; color: var(--muted); }
.m-drawer a { display: block; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 600; }
.m-drawer .md-contact { padding: 18px; font-size: 13px; }
/* 移动端抽屉多语言（预留：德语 / 法语 / 日语） */
.m-drawer .md-lang {
    padding: 14px 18px;
    border-bottom: 1px solid var(--line);
}
.m-drawer .md-lang .ml-title {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 8px;
}
.m-drawer .md-lang a {
    display: inline-block;
    padding: 6px 14px;
    margin: 0 8px 8px 0;
    border: 1px solid var(--line);
    border-radius: 18px;
    font-size: 13px;
    color: var(--muted);
    border-bottom: 1px solid var(--line);
}
.m-drawer .md-lang a.on {
    background: var(--blue-deep);
    border-color: var(--blue-deep);
    color: var(--white);
}
.mask {
    position: fixed; inset: 0; background: rgba(22, 40, 60, .45);
    z-index: 1100; display: none;
}
.mask.show { display: block; }

/* ============================ 幻灯片 ============================ */
.slider {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--bg-soft);
}
.slider .slides { position: relative; }
.slider .slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity .6s ease;
    z-index: 1;
}
.slider .slide.active { position: relative; opacity: 1; z-index: 2; }
.slider .slide img { width: 100%; }
.slider .arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px; height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .85);
    color: var(--blue-deep);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; cursor: pointer; z-index: 5;
    box-shadow: var(--shadow-sm);
}
.slider .arrow.prev { left: 14px; }
.slider .arrow.next { right: 14px; }
.slider .dots {
    position: absolute;
    bottom: 16px; left: 0; right: 0;
    display: flex; justify-content: center; gap: 8px;
    z-index: 5;
}
.slider .dots span {
    width: 26px; height: 6px; border-radius: 4px;
    background: rgba(255, 255, 255, .7); cursor: pointer;
}
.slider .dots span.on { background: var(--blue-deep); }

/* ============================ 板块通用 ============================ */
.section { padding: 62px 0; }
.section-soft { background: var(--bg-soft); }

.sec-head { text-align: center; margin-bottom: 38px; }
.sec-head .sh-tag {
    display: inline-block;
    padding: 5px 16px;
    border-radius: 20px;
    background: var(--blue);
    color: var(--blue-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.sec-head h2 { font-size: 32px; margin: 14px 0 10px; }
.sec-head p { max-width: 720px; margin: 0 auto; font-size: 15px; }
.sec-head .line {
    width: 68px; height: 4px; border-radius: 4px; margin: 14px auto 0;
    background: var(--blue-deep);
}

/* ============================ 自定义扩展板块（后台编辑器图文内容） ============================ */
/* 说明：此板块只负责“承载”后台富文本编辑器输出的内容，样式统一由 .cms-content 控制，
   后台输出标准 HTML（h1-h4 / p / img / a / strong / em / ul li / table）即可正常显示，
   不要再为它写固定的卡片样式。 */
.ext-block {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px 34px;
}

/* 后台富文本内容排版（编辑器输出区域通用） */
.cms-content { font-size: 15px; color: var(--muted); line-height: 1.8; }
.cms-content h1, .cms-content h2, .cms-content h3, .cms-content h4 {
    color: var(--ink); margin: 0 0 12px; line-height: 1.4;
}
.cms-content h1 { font-size: 26px; }
.cms-content h2 { font-size: 22px; }
.cms-content h3 { font-size: 18px; }
.cms-content h4 { font-size: 16px; }
.cms-content p { margin: 0 0 14px; color: var(--muted); }
.cms-content a { color: var(--blue-deep); text-decoration: underline; }
.cms-content strong { color: var(--ink); font-weight: 700; }
.cms-content em { font-style: italic; }
.cms-content img {
    max-width: 100%; height: auto; margin: 12px 0; border-radius: 10px;
}
.cms-content ul, .cms-content ol { margin: 0 0 14px 22px; }
.cms-content li { margin-bottom: 6px; }
.cms-content table { width: 100%; border-collapse: collapse; margin: 14px 0; }
.cms-content table th, .cms-content table td {
    border: 1px solid var(--line); padding: 9px 12px; font-size: 14px;
}
.cms-content table th { background: var(--bg-soft); color: var(--ink); }
.cms-content blockquote {
    border-left: 4px solid var(--blue-deep); background: var(--bg-soft);
    padding: 10px 16px; margin: 14px 0; color: var(--muted);
}
.cms-content img.alignleft { float: left; margin: 6px 18px 12px 0; max-width: 46%; }
.cms-content img.alignright { float: right; margin: 6px 0 12px 18px; max-width: 46%; }
.cms-content:after { content: ""; display: block; clear: both; }

/* ============================ 产品板块 ============================ */
.p-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.p-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all .3s ease;
}
.p-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--blue); }
.p-card .p-img { position: relative; overflow: hidden; }
.p-card .p-img img { width: 100%; transition: transform .5s ease; }
.p-card:hover .p-img img { transform: scale(1.06); }
.p-card .p-tag {
    position: absolute; top: 10px; left: 10px;
    background: var(--pink-deep); color: #fff;
    font-size: 11px; padding: 3px 10px; border-radius: 20px; font-weight: 700;
}
.p-card .p-body { padding: 14px; }
.p-card .p-body h3 { font-size: 15px; margin-bottom: 6px; }
.p-card .p-body .p-desc {
    font-size: 13px; color: var(--muted);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; min-height: 44px;
}
.p-card .p-body .p-more { margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--blue-deep); }

.more-wrap { text-align: center; margin-top: 34px; }

/* ============================ 新闻板块 ============================ */
.news-list { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.news-list .nl-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid var(--line);
    transition: background .25s;
}
.news-list .nl-item:last-child { border-bottom: 0; }
.news-list .nl-item:hover { background: var(--bg-soft); }
.news-list .nl-num {
    flex: 0 0 34px;
    width: 34px; height: 34px;
    border-radius: 10px;
    background: var(--blue);
    color: var(--blue-dark);
    font-weight: 800; font-size: 14px;
    display: flex; align-items: center; justify-content: center;
    margin-right: 14px;
}
.news-list .nl-item:nth-child(3n) .nl-num { background: var(--green); color: #1f7a55; }
.news-list .nl-item:nth-child(3n+2) .nl-num { background: var(--pink); color: #c94a72; }
.news-list .nl-title { flex: 1; font-size: 15px; color: var(--ink); font-weight: 600; }
.news-list .nl-date { font-size: 13px; color: var(--muted); margin-left: 14px; }

/* ============================ 案例板块 ============================ */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.case-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.case-item.big { grid-column: span 2; grid-row: span 2; }
.case-item img { width: 100%; height: 100%; object-fit: cover; }
.case-item .case-cap {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 16px 18px;
    background: rgba(22, 40, 60, .82);
    color: #fff;
}
.case-item .case-cap h3 { color: #fff; font-size: 17px; }
.case-item .case-cap p { color: rgba(255, 255, 255, .85); font-size: 13px; }

/* ============================ 联系三宫格（地址/电话/邮箱） ============================ */
.contact-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.c3-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 20px;
    text-align: center;
    transition: all .3s ease;
}
.c3-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.c3-card img { width: 68px; height: 68px; margin: 0 auto 14px; }
.c3-card h3 { font-size: 16px; margin-bottom: 6px; }
.c3-card p { font-size: 14px; }

/* ============================ 底部 ============================ */
.footer { background: var(--ink); color: rgba(255, 255, 255, .8); padding: 52px 0 0; }
.footer .f-cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 30px; }
.footer h3 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer .f-col p, .footer .f-col span { color: rgba(255, 255, 255, .72); font-size: 14px; }
.footer .f-col a { display: block; padding: 5px 0; font-size: 14px; color: rgba(255, 255, 255, .72); }
.footer .f-col a:hover { color: #fff; padding-left: 4px; }
.footer .f-logo img { max-height: 44px; max-width: 100%; width: auto; height: auto; object-fit: contain; margin-bottom: 14px; background: #fff; border-radius: 8px; padding: 4px; }
.footer .f-bottom {
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding: 18px 0;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, .6);
}

/* ============================ 右侧悬浮 ============================ */
.side-float {
    position: fixed;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.side-float .sf-item {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    font-size: 11px; color: var(--muted);
    position: relative;
    cursor: pointer;
    transition: all .3s ease;
}
.side-float .sf-item:hover { background: var(--blue-deep); color: #fff; transform: translateX(-4px); }
.side-float .sf-item .ico { font-size: 18px; font-weight: 700; line-height: 1; margin-bottom: 2px; }
.side-float .sf-item.wa:hover { background: #25D366; }
.side-float .sf-item.ph:hover { background: var(--blue-deep); }
.side-float .sf-item.em:hover { background: var(--pink-deep); }
.side-float .sf-item .sf-tip {
    position: absolute; right: 60px; top: 50%; transform: translateY(-50%);
    background: var(--ink); color: #fff; font-size: 12px;
    white-space: nowrap; padding: 6px 10px; border-radius: 6px;
    opacity: 0; pointer-events: none; transition: opacity .25s;
}
.side-float .sf-item:hover .sf-tip { opacity: 1; }

/* 回到顶部 */
.to-top {
    position: fixed;
    right: 14px;
    bottom: 90px;
    width: 52px; height: 52px;
    border-radius: 14px;
    background: var(--blue-deep);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; font-weight: 700;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease;
    box-shadow: var(--shadow);
}
.to-top.show { opacity: 1; visibility: visible; }

/* ============================ 移动端底部 4 菜单 ============================ */
.m-tabbar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    height: 58px;
    background: #fff;
    border-top: 1px solid var(--line);
    display: flex;
    z-index: 1000;
    box-shadow: 0 -2px 12px rgba(22, 40, 60, .08);
}
.m-tabbar .tb {
    flex: 1;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    font-size: 11px; color: var(--muted);
    gap: 2px;
}
.m-tabbar .tb .ti { font-size: 17px; line-height: 1; }
.m-tabbar .tb.on { color: var(--blue-deep); }
.m-tabbar .tb.phone { background: none; color: var(--blue-deep); }

/* ============================ 面包屑 ============================ */
.crumb {
    background: var(--bg-soft);
    border-bottom: 1px solid var(--line);
    padding: 16px 0;
    font-size: 18px;
    line-height: 1.6;
    color: var(--muted);
}
.crumb .container { display: flex; flex-wrap: wrap; align-items: center; }
.crumb a { color: var(--muted); margin: 0 4px; transition: color .2s ease; }
.crumb a:hover { color: var(--blue-deep); text-decoration: underline; }
.crumb .sep { margin: 0 6px; opacity: .6; }
.crumb .cur { color: var(--blue-deep); font-weight: 700; margin: 0 4px; }

/* ============================ 内页通用 ============================ */
.page-hero {
    background: var(--blue);
    padding: 46px 0;
    text-align: center;
}
.page-hero h1 { font-size: 32px; margin-bottom: 8px; }
.page-hero p { color: var(--ink); opacity: .8; }

.page-wrap { padding: 46px 0 62px; }

/* 列表页 */
.list-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 36px; flex-wrap: wrap; }
.pagination .pg {
    min-width: 38px; height: 38px; padding: 0 12px;
    border: 1px solid var(--line); border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; background: #fff;
}
.pagination .pg.on { background: var(--blue-deep); color: #fff; border-color: var(--blue-deep); }

/* 新闻列表页 */
.nlist .nl-card {
    display: flex;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 18px;
    transition: all .3s;
}
.nlist .nl-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.nlist .nl-card .nc-img { flex: 0 0 260px; }
.nlist .nl-card .nc-img img { width: 100%; height: 100%; object-fit: cover; }
.nlist .nl-card .nc-body { padding: 18px 22px; }
.nlist .nl-card .nc-body h3 { font-size: 18px; margin-bottom: 8px; }
.nlist .nl-card .nc-body .nc-meta { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.nlist .nl-card .nc-body .nc-meta span { margin-right: 14px; }

/* 详情内容 */
.detail-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.detail-box .d-title { font-size: 28px; margin-bottom: 12px; }
.detail-box .d-meta { font-size: 13px; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 20px; }
.detail-box .d-meta span { margin-right: 18px; }
.detail-box .d-content p { margin-bottom: 14px; }
.detail-box .d-content h3 { font-size: 19px; margin: 22px 0 10px; }
.detail-box .d-content img { margin: 14px 0; border-radius: 10px; }

/* 产品详情 */
.pd-wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 34px; }
.pd-wrap > * { min-width: 0; } /* 防止 grid 子项被大图撑破，移动端尤其明显 */
.pd-gallery { min-width: 0; overflow: hidden; }
.pd-gallery .pd-main { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.pd-gallery .pd-main img { display: block; width: 100%; height: auto; }
.pd-thumbs {
    display: flex; gap: 10px; margin-top: 12px;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity; scrollbar-width: thin;
    padding-bottom: 8px;
}
.pd-thumbs::-webkit-scrollbar { height: 6px; }
.pd-thumbs::-webkit-scrollbar-track { background: var(--bg-soft); border-radius: 3px; }
.pd-thumbs::-webkit-scrollbar-thumb { background: #c3cddb; border-radius: 3px; }
.pd-thumbs .pt {
    flex: 0 0 84px; width: 84px; height: 84px; flex-shrink: 0;
    border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
    cursor: pointer; scroll-snap-align: start; background: #fff;
}
.pd-thumbs .pt img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs .pt.on { border-color: var(--blue-deep); }
.pd-info h1 { font-size: 26px; margin-bottom: 10px; }
.pd-info .pd-desc { margin: 14px 0; }
.pd-info .pd-params { margin: 18px 0; }
.pd-info .pd-params .pr {
    display: flex; border-bottom: 1px dashed var(--line); padding: 9px 0; font-size: 14px;
}
.pd-info .pd-params .pr .pk { flex: 0 0 150px; color: var(--ink); font-weight: 600; }
.pd-info .pd-params .pr .pv { color: var(--muted); }
.pd-actions { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }

/* 关于我们 */
.about-block { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center; margin-bottom: 40px; }
.about-block img { border-radius: var(--radius); }
.about-num { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 30px 0; }
.about-num .an { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-align: center; }
.about-num .an .v { font-size: 30px; font-weight: 800; color: var(--blue-deep); }
.about-num .an .t { font-size: 13px; color: var(--muted); }

/* 联系 / 表单 */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.form-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.form-row label .req { color: var(--pink-deep); margin-left: 3px; }
.form-row input, .form-row textarea, .form-row select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 11px 14px;
    font-size: 14px;
    font-family: inherit;
    color: var(--ink);
    background: var(--bg-soft);
    transition: border-color .25s;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
    outline: none; border-color: var(--blue-deep); background: #fff;
}
.form-row textarea { min-height: 120px; resize: vertical; }
.form-row .err { color: var(--pink-deep); font-size: 12px; margin-top: 5px; display: none; }
.form-row.has-err input, .form-row.has-err textarea { border-color: var(--pink-deep); }
.form-row.has-err .err { display: block; }
.form-tip { font-size: 12px; color: var(--muted); margin-bottom: 16px; }
.form-ok {
    display: none;
    background: var(--green);
    border: 1px solid var(--green-deep);
    color: #1f7a55;
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 600;
}
.contact-info .ci-item {
    display: flex; gap: 14px; align-items: flex-start;
    background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius); padding: 18px; margin-bottom: 14px;
}
.contact-info .ci-item img { width: 52px; height: 52px; }
.contact-info .ci-item h3 { font-size: 15px; margin-bottom: 4px; }
.map-box {
    margin-top: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-soft);
    padding: 30px;
    text-align: center;
}

/* ============================ PbootCMS 分页数字条对齐本站样式 ============================ */
.pagination a.page-num {
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    background: #fff;
    color: var(--ink);
}
.pagination a.page-num:hover {
    border-color: var(--blue-deep);
    color: var(--blue-deep);
    text-decoration: none;
}
.pagination a.page-num-current {
    background: var(--blue-deep);
    color: #fff;
    border-color: var(--blue-deep);
}
.pagination form input.pg {
    border: 1px solid var(--line);
    border-radius: 8px;
    text-align: left;
}
.pagination form { gap: 8px; }
.pagination form button { border: 0; cursor: pointer; }
