/* ============================================================
   Wanze Gifts — 前台主题（参照 ipackbox 布局 1:1 重构）
   白底 + 橙色 #f39800 主色 / 页脚 #25282c
   ============================================================ */

:root {
    --brand: #f39800;
    --brand-dark: #d98200;
    --ink: #222;
    --body: #555;
    --muted: #888;
    --line: #d9dde4;
    --foot: #25282c;
    --danger: #f43535;
    --font: "Poppins", "Helvetica Neue", Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
    --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.7;
    color: var(--body);
    background: #fff;
}

img { max-width: 100%; border: 0; vertical-align: middle; }

h1, h2, h3, h4, h5 { color: var(--ink); line-height: 1.3; margin: 0; }

a { color: var(--brand); text-decoration: none; transition: color .3s var(--ease); }
a:hover { color: var(--brand-dark); }

p { margin: 0 0 10px; }

button { font-family: inherit; }

.sr-only {
    position: absolute; width: 1px; height: 1px;
    margin: -1px; padding: 0; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* ---------- 容器 ---------- */
.container {
    position: relative;
    width: 1400px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 10px;
}
.container-narrow { width: 1000px; }

.content { padding: 50px 0; }
.content--tight { padding: 30px 0 50px; }

/* ============================================================
   页头：白色 logo 条 + 橙色导航条
   ============================================================ */
.site-head { position: relative; z-index: 999; background: #fff; }

.logo-bar { position: relative; }
.logo-item {
    position: relative;
    height: 120px;
}
.logo {
    position: absolute; left: 10px; top: 0;
    height: 120px; line-height: 120px;
}
.logo img { max-height: 80px; }
.head-info {
    position: absolute; right: 10px; top: 0;
    height: 120px;
    display: flex; align-items: center; gap: 22px;
    justify-content: flex-end;
}
.head-mail {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 17px; color: #23ac39; font-weight: 500;
}
.head-mail svg { flex: 0 0 auto; }
.head-mail:hover { color: #1d8a2e; }

.btn-quote {
    display: inline-block;
    color: #fff; background: var(--brand);
    padding: 10px 22px; font-size: 16px; line-height: 1.4;
    border: none; cursor: pointer; transition: background .3s var(--ease);
}
.btn-quote:hover { background: var(--brand-dark); color: #fff; }

/* 语言切换（logo 条内） */
.lang-switch { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
.lang-switch a { color: #999; font-weight: 600; white-space: nowrap; }
.lang-switch a:hover { color: var(--brand); }
.lang-switch a.is-active { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.lang-switch i { font-style: normal; color: #ccc; font-size: 12px; }

/* 导航条内的语言切换（仅移动端显示） */
.nav-list .lang-li { display: none; }

/* 导航条 */
.mainnav {
    position: relative;
    height: 60px;
    background: var(--brand);
}
.mainnav > .container {
    display: flex;
    align-items: center;
}
.nav-list {
    list-style: none;
    margin: 0;
    /* 右侧留出搜索按钮的位置，菜单项均匀铺满剩余宽度 */
    padding: 0 78px 0 0;
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-list > li {
    position: relative;
    display: block;
    line-height: 60px;
    margin-right: 0;
    flex: 0 0 auto;
}
.nav-list > li > a {
    font-size: 16px;
    color: #fff;
    display: inline-block;
    transition: color .3s var(--ease);
}
.nav-list > li > a:hover,
.nav-list > li.is-current > a { color: rgba(255,255,255,.65); }

.nav-list .sub {
    display: none;
    position: absolute; left: -14px; top: 100%;
    min-width: 220px;
    background: #fff;
    box-shadow: 2px 2px 20px rgba(0,0,0,.12);
    padding: 6px 0;
    z-index: 300;
}
.nav-list .sub li { display: block; line-height: normal; margin: 0; }
.nav-list .sub a {
    display: block;
    padding: 10px 18px;
    font-size: 14px;
    color: #555;
    white-space: nowrap;
}
.nav-list .sub a:hover { background: var(--brand); color: #fff; }
@media (min-width: 1025px) {
    .nav-list li.has-sub:hover .sub { display: block; }
}
.nav-list > li.has-sub > a:after {
    content: "";
    display: inline-block;
    width: 7px; height: 7px;
    margin-left: 7px; margin-bottom: 2px;
    border-right: 2px solid rgba(255,255,255,.85);
    border-bottom: 2px solid rgba(255,255,255,.85);
    transform: rotate(45deg);
    vertical-align: middle;
}

/* 移动端汉堡 */
.nav-toggle {
    display: none;
    position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
    width: 42px; height: 40px;
    background: transparent; border: 0; cursor: pointer;
    z-index: 310;
}
.nav-toggle span, .nav-toggle span:before, .nav-toggle span:after {
    content: ""; display: block;
    width: 24px; height: 2px; background: #fff;
    position: relative; transition: .3s var(--ease);
}
.nav-toggle span:before { position: absolute; top: -7px; }
.nav-toggle span:after { position: absolute; top: 7px; }
.side-mask {
    display: none;
    position: fixed; inset: 0; top: 100px;
    background: rgba(22,22,22,.9);
    z-index: 290;
}

/* ============================================================
   首页轮播：整幅图片 + 圆点分页 + 3 秒自动播放
   ============================================================ */
.hero-swiper {
    position: relative;
    overflow: hidden;
    background: #f3f3f3;
}
.hero-track { position: relative; }
.hero-slide {
    position: absolute; inset: 0;
    opacity: 0; visibility: hidden;
    transition: opacity .8s var(--ease), visibility .8s;
}
.hero-slide.is-active { position: relative; opacity: 1; visibility: visible; }
.hero-slide > a { display: block; }
.hero-slide img {
    width: 100%;
    max-height: 620px;
    object-fit: cover;
    display: block;
}
.hero-dots {
    position: absolute; left: 0; right: 0; bottom: 14px;
    display: flex; justify-content: center; gap: 8px;
    z-index: 5;
}
.hero-dots button {
    width: 10px; height: 10px; border-radius: 50%;
    border: 0; padding: 0; cursor: pointer;
    background: rgba(255,255,255,.55);
    box-shadow: 0 0 4px rgba(0,0,0,.25);
    transition: background .25s var(--ease), transform .25s var(--ease);
}
.hero-dots button.is-active { background: #fff; transform: scale(1.25); }

/* ============================================================
   区块标题 / 卡片容器
   ============================================================ */
.section-title { position: relative; text-align: center; }
.section-title > span {
    display: inline-block;
    line-height: 24px;
    font-size: 16px;
    color: var(--muted);
    margin-bottom: 4px;
    text-transform: uppercase;
}
.section-title > p {
    position: relative;
    font-size: 26px;
    color: var(--ink);
    padding-top: 18px;
    margin: 0 0 20px;
    font-weight: 700;
    line-height: 30px;
}
.section-title > p:after {
    content: "";
    position: absolute;
    width: 40px; height: 5px;
    top: 0; left: 50%; margin-left: -20px;
    background: var(--brand);
}

.border-box {
    position: relative;
    background: #fff;
    box-shadow: 2px 2px 20px rgba(0,0,0,.05);
    padding: 40px 20px;
}
.border-box:after { content: ""; display: block; clear: both; }

/* ---------- 产品画廊网格 ---------- */
.pic-grid:after { content: ""; display: block; clear: both; }
.pic-box {
    position: relative;
    float: left;
    width: 25%;
    padding: 0 16px;
    margin-bottom: 14px;
}
.pic-box-img {
    position: relative;
    overflow: hidden;
    background: #eee;
}
.pic-box-img img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.pic-box-img a {
    position: absolute; inset: 0; z-index: 4;
}
.pic-box-img:before {
    content: "";
    position: absolute; top: 40%; left: 50%;
    width: 52px; height: 52px;
    margin: -26px 0 0 -26px;
    border: 2px solid #fff; border-radius: 50%;
    background: rgba(0,0,0,.35) center no-repeat;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E");
    z-index: 3; opacity: 0;
    transition: .2s var(--ease);
}
@media (min-width: 1025px) {
    .pic-box-img:hover img { transform: scale(1.05); opacity: .7; }
    .pic-box-img:hover:before { top: 50%; opacity: 1; }
}
.pic-box > a p,
.pic-box .pic-title {
    font-size: 16px;
    color: var(--ink);
    padding: 10px 0;
    margin: 0;
    text-align: center;
    line-height: 1.45;
    transition: color .3s var(--ease);
}
.pic-box .pic-title { display: block; }
@media (min-width: 1025px) {
    .pic-box:hover .pic-title { color: var(--brand); }
}

/* ●●● 查看更多 */
.more { clear: both; }
.more a {
    position: relative; top: 20px;
    display: block;
    font-size: 20px; letter-spacing: 2px;
    text-align: center; color: #ccc;
    border-top: 1px solid #f1f1f1;
    padding: 16px 0 4px;
    margin: 0 16px;
    transition: .3s var(--ease);
}
.more a:hover { color: var(--brand); letter-spacing: 5px; }

/* ============================================================
   ABOUT 横幅
   ============================================================ */
.about-banner {
    position: relative;
    width: 100%;
    padding: 100px 0;
    text-align: center;
    background: #555 center no-repeat;
    background-size: cover;
    background-attachment: fixed;
    color: #fff;
}
/* 背景图由后台自由上传，压一层深色渐变保证白字始终可读 */
.about-banner:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(18, 26, 24, .30), rgba(18, 26, 24, .38));
    pointer-events: none;
}
.about-banner .about-text,
.about-banner .about-more { position: relative; }
.about-banner .about-title {
    position: relative;
    display: inline-block;
    color: #fff;
    font-weight: 700;
    font-size: 24px;
    margin: 0 0 30px;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.about-banner .about-title:after {
    content: "";
    position: absolute;
    width: 30px; height: 3px;
    background: #fff;
    bottom: -12px; left: 50%; margin-left: -15px;
}
.about-banner .about-text {
    max-width: 800px;
    margin: 20px auto;
    font-size: 16px;
    line-height: 30px;
    color: #fff;
    white-space: pre-line;
}
.about-banner .about-more { display: block; margin: 30px 0; }
.about-banner .about-more a {
    display: inline-block;
    padding: 0 40px;
    border-radius: 6px;
    font-size: 16px;
    height: 50px; line-height: 50px;
    color: #fff;
    background: var(--danger);
    transition: opacity .3s var(--ease);
}
.about-banner .about-more a:hover { opacity: .8; color: #fff; }

/* ============================================================
   WHY CHOOSE US 数字条（橙色）
   ============================================================ */
.stats-band {
    width: 100%;
    padding: 40px 0 50px;
    margin: 50px 0;
    background: var(--brand);
}
.stats-band .stats-title {
    margin: 0 0 30px;
    font-size: 42px;
    color: #fff;
    line-height: 45px;
    text-align: left;
    font-weight: 700;
}
.stats-row:after { content: ""; display: block; clear: both; }
.stats-item {
    float: left;
    width: 25%;
    text-align: center;
    color: #fff;
}
.stats-item .num {
    display: block;
    font-size: 50px;
    line-height: 62px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.stats-item .num em { font-style: normal; font-size: 26px; margin-left: 4px; }
.stats-item .label {
    display: block;
    margin-top: 6px;
    font-size: 16px;
    letter-spacing: .06em;
    color: rgba(255,255,255,.95);
}

/* ============================================================
   服务四卡
   ============================================================ */
.service-grid:after { content: ""; display: block; clear: both; }
.service-card {
    float: left;
    width: 25%;
    padding: 0 30px;
    text-align: center;
}
.service-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: opacity .3s var(--ease);
}
.service-card h4 {
    font-size: 16px;
    margin: 12px 0 6px;
}
.service-card h4 a { color: var(--ink); }
.service-card h4 a:hover { color: var(--brand); }
.service-card p {
    font-size: 13px;
    color: #777;
    margin-bottom: 10px;
}
@media (min-width: 1025px) {
    .service-card:hover img { opacity: .8; }
}

/* ============================================================
   合作伙伴横向滚动
   ============================================================ */
.scroll-clip {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    height: 124px;
}
.scroll-track {
    display: inline-block;
    animation: hscroll 60s linear infinite;
}
.scroll-clip:hover .scroll-track { animation-play-state: paused; }
.scroll-track img {
    height: 88px;
    width: auto;
    vertical-align: middle;
    margin-right: 60px;
}
@keyframes hscroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .scroll-track { animation: none; }
}

/* ============================================================
   博客卡
   ============================================================ */
.home-news:after { content: ""; display: block; clear: both; }
.news-card {
    position: relative;
    float: left;
    width: 21%;
    padding: 0 16px;
    margin-bottom: 40px;
}
.news-card .news-img {
    position: relative;
    overflow: hidden;
    background: #000;
}
.news-card .news-img a {
    position: relative;
    display: block;
}
.news-card .news-img img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.news-card .news-img .time {
    position: absolute; left: 4px; bottom: 0;
    font-size: 14px;
    color: #fff;
    padding: 4px 10px;
    opacity: .6;
    transition: .4s var(--ease);
    z-index: 2;
}
.news-card h4 {
    margin: 16px 0;
    font-size: 16px;
    line-height: 24px;
}
.news-card h4 a {
    display: block;
    color: #222;
    font-weight: 700;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.news-card > p {
    font-size: 13px;
    color: #777;
    height: 70px;
    overflow: hidden;
    margin: 0;
}
.news-list .news-card { width: 33.33%; }
.news-list .news-card .time { display: block; }
/* 桌面三栏布局（与下方 max-width:960 的移动布局在 960 处交接，靠书写顺序覆盖） */
@media (min-width: 960px) {
    /* 三卡铺满整行：首卡约 1.45 倍于普通卡，右侧不再留大片空白 */
    .home-news .news-card { width: 29%; }
    .home-news .news-card:first-child { width: 42%; }
    /* 首卡压成 3:2，与右侧「图 + 标题 + 摘要」的总高基本齐平 */
    .home-news .news-card:first-child .news-img img { aspect-ratio: 3 / 2; }
    .home-news .news-card:not(:first-child) .news-img img { aspect-ratio: 16 / 10; }
    .home-news .news-card:not(:first-child) > p { height: 78px; }
    .home-news .news-card:first-child > p { display: none; }
    /* 首卡日期与叠加标题条打架，直接不显示（标题条本身已足够） */
    .home-news .news-card:first-child .time { display: none; }
    .home-news .news-card:first-child h4 a {
        position: absolute;
        left: 0; bottom: 0;
        width: 100%;
        padding: 12px 16px;
        color: #fff;
        background: rgba(0,0,0,.5);
        /* 最多两行，窄屏下不会把整张图压掉 */
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        white-space: normal;
    }
    .home-news .news-card:first-child h4 { margin: 0; }
}
@media (min-width: 1025px) {
    .news-card:hover h4 a { color: var(--brand); }
    .home-news .news-card:first-child:hover h4 a { background: var(--brand); color: #fff; }
    .news-img:hover img { transform: scale(1.1); opacity: .7; }
    .news-card:hover .time { opacity: 1; color: #555; background: #fff; left: 10px; }
}

/* 列表页：统一三列卡片，取消首页首卡大图叠加样式 */
.news-list .news-card,
.news-list .news-card:first-child { width: 33.3333%; padding: 0 18px; }
.news-list .news-card:first-child > p { display: block; }
.news-list .news-card:first-child h4 { margin: 16px 0 8px; }
.news-list .news-card h4 a,
.news-list .news-card:first-child h4 a {
    position: static; left: auto; bottom: auto;
    width: auto; padding: 0;
    background: none; color: #222;
    white-space: normal;
    max-height: 48px;
}
.news-list .news-card:first-child:hover h4 a { background: none; color: var(--brand); }

/* ============================================================
   404
   ============================================================ */
.err-box {
    text-align: center;
    padding: 110px 10px 120px;
}
.err-code {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--brand);
}
.err-title {
    margin: 18px 0 0;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.2;
    color: var(--ink);
}
.err-text {
    margin: 18px auto 0;
    max-width: 520px;
    font-size: 15px;
    line-height: 1.8;
    color: var(--body);
}
.err-actions {
    margin: 34px 0 0;
    display: flex;
    gap: 18px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.err-link {
    font-weight: 700;
    color: var(--ink);
    border-bottom: 2px solid var(--brand);
    padding-bottom: 3px;
}
.err-link:hover { color: var(--brand); }

/* ============================================================
   内页顶部横幅
   ============================================================ */
.banner-sub {
    padding: 150px 0;
    background-color: #333;
    background-size: cover;
    background-position: center;
    min-height: 80px;
}

/* ---------- 分类胶囊标签 ---------- */
ul.category {
    list-style: none;
    width: 100%;
    text-align: center;
    margin: 0 0 30px;
    padding: 0;
}
ul.category li {
    display: inline-block;
    padding-right: 40px;
    border-bottom: 1px solid var(--line);
    margin: 0 -6px;
    position: relative;
}
ul.category li:after {
    content: "/";
    color: #999;
    position: relative;
    left: 20px;
}
ul.category li:last-child { padding-right: 0; }
ul.category li:last-child:after { display: none; }
ul.category li a {
    display: inline-block;
    position: relative;
    color: var(--body);
    padding: 10px 0;
    font-weight: 700;
    font-size: 16px;
}
ul.category li a:hover { color: var(--brand); }
ul.category li.is-current a { color: var(--brand); }
ul.category li.is-current a:after {
    content: "";
    position: absolute;
    width: 100%; height: 4px;
    left: 0; bottom: -1px;
    background: var(--brand);
}

/* ---------- 分页 ----------
   框架默认输出 <ul class="pagination"><li class="active|disabled"><a|span>，
   所以必须先把 ul/li 的浏览器默认样式（项目符号、缩进、块级堆叠）清掉，
   再在 li 内部做方块。text-align 只影响 li 的横向排布，不会影响纵向堆叠。 */
.pagebar {
    clear: both;
    padding: 40px 0 10px;
    text-align: center;
}
.pagebar:empty { display: none; }
.pagebar .pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.pagebar .pagination > li {
    display: block;
    margin: 0;
    padding: 0;
    list-style: none;
}
.pagebar .pagination > li::before,
.pagebar .pagination > li::marker {
    content: none;
    display: none;
}
.pagebar .pagination a,
.pagebar .pagination span,
.pagebar > a,
.pagebar > span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    height: 46px;
    padding: 0 12px;
    background: #fff;
    box-shadow: 2px 2px 20px rgba(0, 0, 0, .05);
    color: var(--body);
    font-size: 16px;
    line-height: 1;
    transition: color .2s ease, background .2s ease, box-shadow .2s ease;
}
.pagebar .pagination li.active > span,
.pagebar .is-current {
    color: #fff;
    background: var(--brand);
    box-shadow: none;
}
.pagebar .pagination li.disabled > span {
    color: #c8c8c8;
    background: #fafafa;
    box-shadow: none;
}
.pagebar .pagination a:hover {
    color: var(--brand);
    box-shadow: 2px 2px 20px rgba(0, 0, 0, .12);
}

/* 首尾两个 « » 用 CSS 画尖角，比 16px 的 guillemet 字形更清晰，
   且颜色跟随 currentColor，禁用态自动变灰 */
.pagebar .pagination > li:first-child > *,
.pagebar .pagination > li:last-child > * {
    font-size: 0;
}
.pagebar .pagination > li:first-child > *::after,
.pagebar .pagination > li:last-child > *::after {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    border-left: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
}
.pagebar .pagination > li:first-child > *::after { transform: rotate(45deg); margin-left: 3px; }
.pagebar .pagination > li:last-child > *::after { transform: rotate(-135deg); margin-right: 3px; }
@media (max-width: 640px) {
    .pagebar { padding: 28px 0 6px; }
    .pagebar .pagination { gap: 6px; }
    .pagebar .pagination a,
    .pagebar .pagination span {
        min-width: 38px;
        height: 38px;
        padding: 0 10px;
        font-size: 14px;
    }
}

/* ============================================================
   详情页（产品 / 新闻）
   ============================================================ */
.detail-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--ink);
    line-height: 30px;
    margin: 0 0 20px;
    width: 75%;
    overflow: hidden;
}
.detail-time {
    position: absolute;
    right: 10px; top: 0;
    width: 25%;
    text-align: right;
    color: var(--muted);
    font-size: 14px;
}
.detail-head { position: relative; }

.text-area {
    position: relative;
    padding: 0 10px;
    line-height: 22px;
}
.text-area p {
    white-space: pre-wrap;
    font-size: 15px;
    line-height: 26px;
    color: var(--body);
}
.text-area img { max-width: 100%; height: auto; margin-bottom: 16px; }
.text-area h1, .text-area h2, .text-area h3, .text-area h4 { margin: 22px 0 10px; }
.text-area table {
    border-collapse: collapse;
    width: 100%;
    margin: 10px 0 20px;
}
.text-area table td, .text-area table th {
    border: 1px solid #e3e3e3;
    padding: 8px 12px;
    font-size: 14px;
}

/* 产品图集轮播 */
.pd-gallery {
    position: relative;
    width: 600px;
    max-width: 100%;
    height: 550px;
    margin: 10px auto 24px;
    overflow: hidden;
    background: #f5f5f5;
}
.pd-gallery ul {
    list-style: none;
    margin: 0; padding: 0;
    height: 100%;
    position: relative;
}
.pd-gallery li {
    position: absolute; inset: 0;
    opacity: 0; visibility: hidden;
    transition: opacity .5s var(--ease), visibility .5s;
}
.pd-gallery li.is-active { opacity: 1; visibility: visible; }
.pd-gallery img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
.pd-gallery .g-prev, .pd-gallery .g-next {
    position: absolute; top: 50%;
    transform: translateY(-50%);
    width: 40px; height: 40px;
    border: 0; border-radius: 50%;
    background: rgba(0,0,0,.35);
    color: #fff;
    cursor: pointer;
    display: grid; place-items: center;
    z-index: 5;
    transition: background .2s var(--ease);
}
.pd-gallery .g-prev { left: 10px; }
.pd-gallery .g-next { right: 10px; }
.pd-gallery .g-prev:hover, .pd-gallery .g-next:hover { background: var(--brand); }
.pd-gallery .g-dots {
    position: absolute; left: 0; right: 0; bottom: 10px;
    display: flex; justify-content: center; gap: 7px;
    z-index: 5;
}
.pd-gallery .g-dots button {
    width: 9px; height: 9px; border-radius: 50%;
    border: 0; padding: 0; cursor: pointer;
    background: rgba(255,255,255,.55);
}
.pd-gallery .g-dots button.is-active { background: #fff; }

/* 相关产品 */
.other-pic {
    clear: both;
    padding: 8px;
    margin-top: 20px;
}
.other-pic .pic-box { padding: 0 2px; margin-bottom: 0; }
.other-pic .pic-box .pic-title { font-size: 14px; padding: 8px 0; }

/* 返回 / 上 / 下篇 */
.ctrl {
    margin-top: 40px;
    padding: 0 10px;
    display: flex;
}
.ctrl a {
    position: relative;
    flex: 1;
    height: 60px;
    background: rgba(0,0,0,.05);
    border-right: 4px solid #fff;
    transition: .3s var(--ease);
    display: grid; place-items: center;
    color: #777;
}
.ctrl a:last-child { border-right: 0; }
.ctrl a:hover { background: var(--brand); color: #fff; }
.ctrl a.is-disabled { opacity: .35; pointer-events: none; }
.ctrl svg { display: block; }

/* ============================================================
   联系页
   ============================================================ */
.contact-wrap:after { content: ""; display: block; clear: both; }
.contact-left {
    float: left;
    width: 36%;
    padding: 0 10px;
    line-height: 22px;
}
.contact-left p {
    position: relative;
    font-size: 16px;
    line-height: 22px;
    margin: 0 0 30px 50px;
    color: var(--body);
}
.contact-left p:before {
    content: "";
    position: absolute;
    top: -8px; left: -50px;
    width: 40px; height: 40px;
    background: var(--brand) center no-repeat;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3 19.5 19.5 0 0 1-6-6 19.8 19.8 0 0 1-3-8.7A2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 2 .7 3a2 2 0 0 1-.5 2.1L8 10a16 16 0 0 0 6 6l1.2-1.2a2 2 0 0 1 2.1-.5c1 .3 2 .6 3 .7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E");
}
.contact-left p.mail:before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-10 6L2 7'/%3E%3C/svg%3E");
}
.contact-left p.map:before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12S4 16 4 10a8 8 0 0 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}
.contact-left p.wa:before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2Zm5.3 14.1c-.2.6-1.3 1.2-1.8 1.2-.5 0-2.4-.2-4.6-2.2-2.2-2-2.6-4-2.6-4.5s.6-1.6 1.2-1.8c.2 0 .4-.1.6 0 .2 0 .3.1.4.4l.8 1.8c.1.2 0 .4-.1.5l-.5.6c-.1.1-.2.3-.1.5.3.6.7 1.1 1.2 1.6.5.4 1 .7 1.5.9.2.1.4 0 .5-.1l.6-.7c.1-.2.3-.2.5-.1l1.7.8c.2.1.3.2.3.4 0 .2 0 .8-.1 1Z'/%3E%3C/svg%3E");
}
.contact-left p a { color: var(--body); }
.contact-left p a:hover { color: var(--brand); }
.contact-left .hours:before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
}
.contact-left .contact-h {
    margin: 0 0 22px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--muted);
}
.contact-left .contact-h:before,
.contact-left .contact-note:before { display: none; }
.contact-left .contact-note {
    margin: 0;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    font-size: 13px;
    line-height: 1.8;
    color: var(--muted);
}

.contact-right {
    float: right;
    width: 60%;
    padding: 0 10px;
}
.contact-right .form-intro {
    font-size: 18px;
    color: var(--ink);
    margin-bottom: 14px;
}
.qform:after { content: ""; display: block; clear: both; }
.qform dl {
    width: 49%;
    float: left;
    margin: 0 0 6px;
}
.qform dl:nth-child(even) { float: right; }
.qform dl.w-full { width: 100%; float: none; clear: both; margin-top: 10px; }
.qform dt {
    margin-top: 10px;
    color: var(--muted);
    font-size: 12px;
    line-height: 22px;
    padding-bottom: 4px;
}
.qform dt small { color: var(--danger); margin-left: 2px; }
.qform input, .qform textarea, .qform select {
    width: 100%;
    border: 1px solid #dedede;
    background: #fbfbfb;
    font-size: 14px;
    line-height: 18px;
    padding: 10px;
    font-family: inherit;
    color: var(--ink);
    outline: none;
    appearance: none;
    border-radius: 0;
    transition: .4s var(--ease);
}
.qform textarea { height: 100px; resize: vertical; }
.qform input:hover, .qform textarea:hover, .qform select:hover { border-color: #999; }
.qform input:focus, .qform textarea:focus, .qform select:focus {
    background: #fff;
    border-color: var(--brand);
}
.qform .form-btn { clear: both; padding-top: 8px; }
.qform .form-btn button {
    padding: 14px;
    width: 100%;
    background: var(--foot);
    color: #fff;
    border: none;
    font-size: 15px;
    cursor: pointer;
    transition: background .4s var(--ease);
}
.qform .form-btn button:hover { background: var(--brand); }
.form-msg { padding: 10px 0 0; font-size: 14px; }

/* ============================================================
   页脚
   ============================================================ */
.footer {
    color: #fff;
    padding: 30px 0;
    background: var(--foot);
    margin-top: 0; /* 与上区块的间距统一交给 .content 的下内边距，避免叠加成 100px 的空档 */
}
.footer:after, .foot-cols:after { content: ""; display: block; clear: both; }
.foot-cols { display: flex; align-items: flex-start; margin: 20px 0 30px; }
.foot-box { flex: 1 1 0; min-width: 0; }
.foot-box.foot-wide { flex: 1.6 1 0; }

/* WhatsApp 二维码列：与其他列同构，标题下放二维码（后台「页脚」可换图，留空则整列不输出） */
.foot-qr-box > p { text-transform: uppercase; letter-spacing: .6px; }
.foot-box > p {
    position: relative;
    margin: 0 0 10px;
    font-size: 16px;
    color: #fff;
    border-bottom: 1px solid #383B3F;
    padding-bottom: 10px;
    width: 90%;
}
.foot-box > p:after {
    content: "";
    position: absolute;
    width: 30px; height: 3px;
    left: 0; bottom: -1px;
    background: var(--brand);
}
.foot-box a {
    display: block;
    color: #bbb;
    line-height: 30px;
    font-size: 14px;
}
.foot-box a:hover { color: #fff; }
.foot-box .foot-text {
    color: #bbb;
    font-size: 14px;
    line-height: 24px;
    white-space: pre-line;
    margin: 0 0 8px;
}
/* 正文段落不继承列标题的下划线与橙色短条 */
.foot-box > p.foot-text {
    width: auto;
    padding-bottom: 0;
    border-bottom: 0;
}
.foot-box > p.foot-text:after { content: none; }
/* WhatsApp 二维码：标题下方左对齐，中心叠品牌圆标 */
.foot-qr {
    position: relative;
    width: 118px;
    margin-top: 24px;
}
.foot-qr img {
    display: block;
    width: 118px; height: 118px;
    object-fit: contain;
    background: #fff;
    border-radius: 4px;
    padding: 4px;
}
.foot-qr-badge {
    position: absolute;
    left: 50%; top: 50%;
    width: 24px; height: 24px;
    transform: translate(-50%, -50%);
    display: grid; place-items: center;
    border-radius: 50%;
    background: #fff;
    color: #25D366;
    box-shadow: 0 0 0 2px #fff;
}
/* 版权行：左版权 + 右一句话 */
.copy-bar {
    clear: both;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
    border-top: 1px solid #383B3F;
    padding-top: 14px;
}
p.copy {
    font-size: 12px;
    line-height: 26px;
    color: #b0b5bb;
    margin: 0;
}
p.copy-note {
    font-size: 12px;
    line-height: 26px;
    color: #b0b5bb;
    margin: 0;
    text-align: right;
}

/* ============================================================
   右侧悬浮社媒栏（Facebook / LinkedIn / WhatsApp）
   ============================================================ */
.righticon {
    position: fixed;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 300;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.righticon a {
    width: 40px; height: 40px;
    display: grid; place-items: center;
    border-radius: 6px;
    color: #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .18);
    transition: transform .25s var(--ease), filter .25s var(--ease);
}
.righticon a:hover { transform: translateX(-3px); filter: brightness(1.1); }
.righticon .ri-fb { background: #1877F2; }
.righticon .ri-in {
    background: linear-gradient(45deg,
        #feda75 0%,
        #fa7e1e 28%,
        #d62976 58%,
        #962fbf 82%,
        #4f5bd5 100%);
}
.righticon .ri-wa { background: #25D366; }

/* ============================================================
   搜索浮层
   ============================================================ */
.search-overlay {
    position: fixed; inset: 0; z-index: 1000;
    background: rgba(24, 44, 39, 0);
    visibility: hidden;
    transition: background .28s var(--ease), visibility .28s;
}
.search-overlay.is-open {
    visibility: visible;
    background: rgba(30, 30, 30, .45);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}
.search-modal {
    width: 100%; max-width: 700px;
    margin: 120px auto 0;
    background: #fff;
    border-radius: 4px;
    padding: 22px 26px 24px;
    box-shadow: 0 28px 70px -24px rgba(0,0,0,.5);
    transform: translateY(-10px);
    opacity: 0;
    transition: transform .26s var(--ease), opacity .26s var(--ease);
}
.search-overlay.is-open .search-modal { transform: none; opacity: 1; }
.search-head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 14px;
}
.search-head span {
    font-size: 12px; letter-spacing: .18em; color: #999; font-weight: 700;
}
.search-close {
    width: 30px; height: 30px; border-radius: 50%;
    border: 0; background: transparent; color: #777;
    display: grid; place-items: center; cursor: pointer;
    transition: .2s var(--ease);
}
.search-close:hover { background: #f1f1f1; color: #222; }
.search-field {
    display: flex; align-items: center; gap: 10px;
    border: 2px solid #e3e3e3; border-radius: 999px;
    padding: 4px 4px 4px 18px;
    transition: border-color .2s var(--ease);
}
.search-field:focus-within { border-color: var(--ink); }
.search-field svg { color: var(--brand); flex: 0 0 auto; }
.search-field input {
    flex: 1; border: 0; outline: none;
    font-size: 16px; font-family: inherit;
    background: transparent; color: var(--ink);
    min-width: 0;
}
.search-submit {
    border: 0; cursor: pointer;
    background: var(--brand); color: #fff;
    font-size: 14px; font-weight: 600;
    padding: 10px 22px; border-radius: 999px;
    transition: background .2s var(--ease);
}
.search-submit:hover { background: var(--brand-dark); }
.search-cats {
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
    margin-top: 14px;
}
.search-cats .sc-label {
    font-size: 12px; color: #999;
    margin-right: 4px; white-space: nowrap;
}
.search-cats a {
    font-size: 13px; color: #555;
    padding: 6px 12px; border-radius: 999px;
    background: #f5f5f5;
    white-space: nowrap;
    transition: .2s var(--ease);
}
.search-cats a:hover { background: var(--brand); color: #fff; }

body.is-locked { overflow: hidden; }

/* 搜索按钮（导航条内） */
.icon-btn {
    width: 38px; height: 38px;
    border: 0; border-radius: 50%;
    background: rgba(255,255,255,.18); color: #fff;
    display: grid; place-items: center;
    cursor: pointer;
    transition: background .2s var(--ease);
    vertical-align: middle;
}
.icon-btn:hover { background: rgba(255,255,255,.32); }
/* 导航条右侧搜索按钮：不用 transform 定位，避免部分环境下绘制偏移 */
.nav-search-btn {
    position: absolute;
    right: 10px;
    top: 0;
    bottom: 0;
    margin: auto;
    z-index: 5;
}

/* 移动端菜单内的搜索入口（桌面隐藏） */
.nav-list .search-li { display: none; }
.nav-list .search-li button {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 0 20px;
    height: 44px;
    background: rgba(0,0,0,.10);
    border: 0;
    color: #fff;
    font: inherit;
    font-size: 14px;
    letter-spacing: .5px;
    text-transform: uppercase;
    cursor: pointer;
    text-align: left;
}
.nav-list .search-li button:hover { background: rgba(0,0,0,.18); }

/* ============================================================
   404 / 空状态
   ============================================================ */
.empty-state {
    text-align: center;
    padding: 60px 0;
    color: var(--muted);
}

/* 首页橱窗里的分类暂无产品时，占位提示收紧一些，避免大片空档 */
.pic-grid > .empty-state { padding: 46px 0; font-size: 14px; }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1279px) {
    .container { padding: 0 20px; }
    .nav-list > li > a { font-size: 14px; }
    .service-card { padding: 0 12px; }
    .news-card { padding: 0 10px; }
    .service-card p, .news-card > p { font-size: 12px; line-height: 20px; }
    .news-card h4 { margin: 10px 0 8px; }
    .stats-item .num { font-size: 40px; line-height: 50px; }
    .stats-band .stats-title { font-size: 32px; }
    .about-banner { padding: 60px 0; }
    ul.category li { padding-right: 20px; }
    ul.category li:after { left: 10px; }
}

@media (max-width: 960px) {
    .content { padding: 24px 0; }
    .logo-item { height: 60px; }
    .logo { height: 60px; line-height: 60px; left: 20px; }
    .logo img { max-height: 44px; }
    .head-info { display: none; }
    .mainnav { height: 46px; }
    .mainnav > .container { position: static; height: 100%; }
    .nav-toggle { display: block; }
    .nav-search-btn { display: none; }
    .nav-list .search-li { display: block; margin-bottom: 6px; }
    .nav-list {
        display: none;
        position: absolute;
        left: 0; right: 0; top: 46px;
        background: var(--brand);
        padding: 6px 0 14px;
        z-index: 300;
        box-shadow: 0 14px 24px rgba(0,0,0,.18);
    }
    .nav-list.is-open { display: block; }
    .nav-list > li { display: block; margin: 0; line-height: 44px; }
    .nav-list > li > a { display: block; padding: 0 20px; }
    .nav-list > li.has-sub > a:after { display: none; }
    .nav-list .sub {
        display: block !important;
        position: static;
        box-shadow: none;
        background: rgba(0,0,0,.08);
        padding: 0;
    }
    .nav-list .sub a { padding: 8px 34px; color: rgba(255,255,255,.92); }
    .nav-list .sub a:hover { background: transparent; color: #fff; }
    .nav-list .lang-li { display: block; line-height: 44px; padding: 0 20px; }
    .nav-list .lang-switch a { color: rgba(255,255,255,.92); }
    .nav-list .lang-switch a.is-active { color: #fff; }
    .banner-sub { padding: 70px 0; }
    .pic-box, .service-card { width: 50%; }
    .news-card, .news-list .news-card { width: 100%; padding: 0 4px; }
    .home-news .news-card,
    .home-news .news-card:first-child { width: 100%; }
    /* 移动端回到统一的 4:3，避免桌面端的 3:2 / 16:10 撑出超高图片 */
    .home-news .news-card:first-child .news-img img,
    .home-news .news-card:not(:first-child) .news-img img { aspect-ratio: 4 / 3; }
    .home-news .news-card:not(:first-child) > p { height: 70px; }
    .home-news .news-card:first-child .time { display: block; }
    .home-news .news-card:first-child h4 a {
        position: static; width: auto; background: none; color: #222; padding: 0;
        display: block;
    }
    .home-news .news-card:first-child h4 { margin: 16px 0 8px; }
    .home-news .news-card:first-child > p { display: block; }
    .stats-item { width: 50%; margin-bottom: 20px; }
    .stats-band .stats-title { font-size: 26px; margin-bottom: 18px; }
    .about-banner { background-attachment: scroll; }
    .about-banner .about-text { width: auto; padding: 0 20px; }
    .contact-left, .contact-right { float: none; width: 100%; }
    .qform dl { width: 100%; float: none; }
    .qform dl:nth-child(even) { float: none; }
    .pd-gallery { height: 420px; }
    .detail-title { width: 100%; }
    .detail-time { position: static; width: auto; text-align: left; display: block; margin-bottom: 12px; }
    .foot-cols { flex-wrap: wrap; }
    .foot-box { flex: 0 0 50%; margin-bottom: 24px; }
    .foot-box.foot-wide { flex: 0 0 100%; }
    .foot-qr { margin-top: 12px; }
    .righticon { right: 8px; gap: 6px; }
    .righticon a { width: 34px; height: 34px; border-radius: 5px; }
    .copy-bar { flex-direction: column; gap: 0; }
    p.copy-note { text-align: left; }
    .scroll-clip { height: 84px; }
    .scroll-track img { height: 56px; margin-right: 32px; }
    ul.category li { padding-right: 12px; margin: 0; }
    ul.category li:after { left: 6px; }
    ul.category li a { font-size: 14px; padding: 8px 0; }
}

@media (max-width: 560px) {
    .pic-box, .service-card { width: 100%; padding: 0 6px; }
    .pic-box { margin-bottom: 22px; }
    .hero-slide img { max-height: 260px; }
    .stats-item { width: 100%; }
    .stats-item .num { font-size: 38px; }
    .section-title > p { font-size: 21px; }
    .banner-sub { padding: 50px 0; }
    .pd-gallery { height: 300px; }
    .search-modal { margin: 60px 14px 0; width: auto; }
    .foot-box { flex: 0 0 100%; width: 100%; }
}

/* ============================================================
   CJK 排版微调
   ============================================================ */
:lang(ja) body, :lang(ja) .text-area p { line-height: 1.9; }
:lang(ja) .nav-list > li > a { font-size: 15px; }
:lang(zh) .news-card h4, :lang(ja) .news-card h4 { line-height: 1.5; }
