/* ========================================================================
   QIAOQIAO INSTRUMENTS — SUKU 风格设计系统
   参考 https://suku.de/en/ ：扁平工业目录风
   红色主色 + 深灰侧栏 + 白色正文 + 细线分隔，无圆角、无阴影
   ======================================================================== */

:root {
    --red: #cc0000;
    --red-dark: #8f0000;
    --bar: #3d3d3d;
    --side: #4a4a4a;
    --ink: #222222;
    --body: #444444;
    --muted: #777777;
    --line: #dddddd;
    --line-soft: #e9e9e9;
    --bg: #e3e3e3;
    --side-w: 240px;
}

* { box-sizing: border-box; }

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

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: Verdana, "Helvetica Neue", Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
    font-size: 13px;
    line-height: 1.65;
}

img { max-width: 100%; }

a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dark); }

h1, h2, h3, h4 { font-weight: 700; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* PC 宽屏：整页居中限宽，两侧留白（移动端不受影响） */
@media (min-width: 1121px) {
    .page-wrap {
        max-width: 1340px;
        margin: 0 auto;
        min-height: 100vh;
        background: #ffffff;
        box-shadow: 0 0 28px rgba(0, 0, 0, .10);
    }
}

/* 旧模板在 main 内的 container 对齐主栏 */
.main .container { max-width: none; padding: 18px 32px 40px; }

.main-col { padding: 18px 32px 48px; }

/* ========================================================================
   顶部工具条
   ======================================================================== */
.topbar {
    position: relative;
    background: var(--bar);
    height: 46px;
}
.topbar__red {
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: var(--side-w);
    background: var(--red);
}
.topbar__inner {
    margin-left: var(--side-w);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    padding: 0 32px;
}
.topbar__links {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}
.topbar__links li { display: flex; align-items: center; }
.topbar__links li + li::before {
    content: "|";
    color: #7a7a7a;
    margin: 0 9px;
    font-size: 11px;
}
.topbar__links a {
    color: #dddddd;
    font-size: 12px;
}
.topbar__links a:hover,
.topbar__links a.is-current { color: #ffffff; text-decoration: underline; }

.topbar__search input {
    width: 190px;
    height: 26px;
    border: 1px solid #2c2c2c;
    background: #f4f4f4;
    padding: 0 10px;
    font-size: 12px;
    border-radius: 0;
}
.topbar__search input:focus { outline: 2px solid var(--red); outline-offset: -1px; }

.lang-switch { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.lang-switch a { color: #dddddd; }
.lang-switch .is-current { color: #ffffff; font-weight: 700; }

/* ========================================================================
   Header：Logo + 横幅拼贴
   ======================================================================== */
.header {
    background: #ffffff;
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 16px 32px 16px 14px;
    position: relative;
    z-index: 5;
}
.header .burger { display: none; }

.logo { display: inline-block; flex: none; }
.logo img { height: 64px; width: auto; display: block; }
.logo__sub {
    display: block;
    margin-top: 4px;
    font-size: 10px;
    letter-spacing: .08em;
    color: #8a8a8a;
    text-transform: uppercase;
}

.header__banner {
    position: relative;
    flex: 1;
    height: 112px;
    overflow: hidden;
    border: 1px solid var(--line);
}
.header__tiles {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 1fr 1fr;
}
.header__tile {
    background-size: cover;
    background-position: center;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
}
.header__banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0) 26%, rgba(255,255,255,.94) 58%);
}
.header__slogan {
    position: absolute;
    right: 26px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    z-index: 2;
    font-size: 25px;
    font-weight: 700;
    letter-spacing: .02em;
    color: #16324f;
    white-space: nowrap;
}
.header__slogan em {
    font-style: normal;
    color: var(--red);
}

/* ========================================================================
   红色操作条（登录/询价篮）
   ======================================================================== */
.redbar {
    margin-left: var(--side-w);
    background: var(--red);
    height: 38px;
    display: flex;
    align-items: stretch;
    /* 下滑时吸附在页面顶部 */
    position: sticky;
    top: 0;
    z-index: 90;
    transition: margin-left .25s ease, box-shadow .25s ease;
}
/* 吸顶后铺满整行，避免左侧留白 */
.page-wrap.is-stuck .redbar {
    margin-left: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .18);
}
.redbar__inner {
    flex: 1;
    display: flex;
    align-items: center;
    padding-left: 24px;
}
.redbar__crumb {
    color: rgba(255,255,255,.92);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.redbar__actions {
    margin-left: auto;
    display: flex;
    align-items: stretch;
    gap: 18px;
}
.redbar__search { display: none !important; }
.redbar__actions > a {
    color: #ffffff;
    font-size: 12px;
    display: flex;
    align-items: center;
}
.redbar__actions > a:hover { text-decoration: underline; color: #fff; }
.redbar__basket {
    background: var(--red-dark);
    width: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.redbar__basket svg { width: 19px; height: 19px; }
.redbar__basket:hover { background: #7a0000; }
.redbar .burger { display: none; }
.redbar .icon-btn { color: #fff; }

/* 加入询价篮：数字飞入购物车 */
.fly-num {
    position: fixed;
    z-index: 1200;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--red);
    border: 2px solid #ffffff;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    line-height: 24px;
    text-align: center;
    pointer-events: none;
    box-shadow: 0 4px 14px rgba(200, 16, 46, .45);
    transition: transform .75s cubic-bezier(.25, .6, .3, 1), opacity .75s ease;
    will-change: transform, opacity;
}
/* 购物车图标被击中时的回弹 */
@keyframes basketBump {
    0%   { transform: scale(1); }
    35%  { transform: scale(1.3); }
    70%  { transform: scale(.94); }
    100% { transform: scale(1); }
}
.redbar__basket.is-bump { animation: basketBump .55s ease; }

/* ========================================================================
   双栏：侧栏 + 主内容
   ======================================================================== */
.shell {
    display: flex;
    align-items: stretch;
    background: #ffffff;
}

.sidebar {
    flex: none;
    width: var(--side-w);
    background: var(--side);
    padding-bottom: 48px;
}
.sidebar__head {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 13px 14px;
    background: #3a3a3a;
    border-bottom: 1px solid #5c5c5c;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.sidebar__head:hover { background: var(--red); color: #fff; }
.sidebar__notch {
    width: 9px;
    height: 9px;
    background: var(--red);
    flex: none;
}
.sidebar__head:hover .sidebar__notch { background: #ffffff; }

.sidebar__item {
    display: block;
    position: relative;
    padding: 10px 14px 10px 30px;
    border-bottom: 1px solid rgba(255,255,255,.14);
    color: #ffffff;
    font-size: 12px;
    line-height: 1.5;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.sidebar__item > span {
    position: absolute;
    left: 12px;
    top: 9px;
    color: #c9c9c9;
    font-weight: 400;
}
.sidebar__item:hover,
.sidebar__item.is-active {
    background: var(--red);
    color: #ffffff;
}
.sidebar__item--red {
    background: var(--red);
    font-weight: 700;
}
.sidebar__item--red:hover { background: #a80000; }

/* 二级分类（侧栏缩进小字） */
.sidebar__item--sub {
    padding-left: 44px;
    font-size: 11.5px;
    text-transform: none;
    letter-spacing: 0;
    color: #e8e8e8;
    background: rgba(0, 0, 0, .12);
}
.sidebar__item--sub > span { left: 28px; color: #bdbdbd; }
.sidebar__item--sub:hover,
.sidebar__item--sub.is-active { background: var(--red); color: #fff; }

.sidebar__basket {
    padding: 10px 14px;
    color: #bdbdbd;
    font-size: 11px;
    font-style: italic;
    border-bottom: 1px solid rgba(255,255,255,.14);
}
.sidebar__basket b { color: #ffffff; font-style: normal; }

.main {
    flex: 1;
    min-width: 0;
    background: #ffffff;
    padding-bottom: 56px;
}

/* ========================================================================
   面包屑 / 页头
   ======================================================================== */
.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    padding: 0 0 14px;
    font-size: 12px;
    color: #888888;
}
.breadcrumbs svg { width: 11px; height: 11px; color: #aaaaaa; }
.breadcrumbs a { color: var(--red); }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs span { color: #555555; }

.page-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 2px solid var(--red);
    padding: 4px 0 9px;
    margin: 0 0 18px;
    flex-wrap: wrap;
}
.page-head h1 {
    margin: 0;
    color: var(--red);
    font-size: 21px;
    line-height: 1.3;
}
.page-head__tools { display: flex; gap: 8px; align-items: center; }

.page-intro { color: var(--body); margin: 0 0 20px; max-width: 90ch; }
.page-desc { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }

/* ========================================================================
   通用组件
   ======================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 9px 20px;
    border: 1px solid var(--red);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 0;
    line-height: 1.4;
    background: #ffffff;
    color: var(--red);
    transition: background .15s, color .15s;
}
.btn svg { width: 14px; height: 14px; }
.btn--primary { background: var(--red); color: #ffffff; }
.btn--primary:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn--outline:hover { background: var(--red); color: #ffffff; }
.btn--sm { padding: 6px 14px; font-size: 11px; }
.btn--block { display: flex; width: 100%; }

.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    color: inherit;
    cursor: pointer;
    padding: 0;
}
.icon-btn svg { width: 20px; height: 20px; }

.select-mini {
    border: 1px solid #cccccc;
    background: #ffffff;
    padding: 7px 10px;
    font-size: 12px;
    border-radius: 0;
    color: var(--ink);
}

.empty-state {
    padding: 44px 20px;
    border: 1px dashed #c8c8c8;
    color: var(--muted);
    text-align: center;
    font-size: 13px;
}

.form-msg { margin-top: 12px; font-size: 12px; }
.form-msg.is-ok { color: #2f7d43; }
.form-msg.is-err { color: var(--red); }

/* ---- 联系我们 ---- */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 28px;
    align-items: start;
    padding: 4px 0 40px;
}
.contact-info { border-top: 2px solid var(--ink); }
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 4px;
    border-bottom: 1px solid var(--line);
}
.contact-item__icon {
    flex: none;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4f4f4;
    color: var(--red);
}
.contact-item__icon svg { width: 18px; height: 18px; }
.contact-item h4 { margin: 0 0 3px; font-size: 12px; color: var(--ink); }
.contact-item p { margin: 0 0 2px; font-size: 13px; color: #444444; line-height: 1.5; }

/* ---- 表单 ---- */
.form-card { border: 1px solid var(--line); background: #fafafa; padding: 22px; }
.form-card h3 { margin: 0 0 6px; font-size: 14px; color: var(--ink); }
.form-card > p { margin: 0 0 16px; font-size: 12px; color: var(--muted); }

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 18px;
}
.field label,
.form-grid label,
.form-block label { display: block; font-size: 11px; color: #555555; margin-bottom: 5px; }
.field label em,
.form-grid label i,
.form-block label i { color: var(--red); font-style: normal; }
.field input,
.form-grid input,
.form-block input,
.form-block textarea,
input[type="text"], input[type="email"], input[type="search"],
input[type="number"], textarea, select {
    font-family: inherit;
}
.field input, .field textarea,
.form-grid input, .form-block input, .form-block textarea {
    width: 100%;
    border: 1px solid #cccccc;
    background: #ffffff;
    padding: 8px 10px;
    font-size: 13px;
    border-radius: 0;
    color: var(--ink);
}
.form-block { display: block; margin-top: 14px; }
.form-block textarea { resize: vertical; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--red); }
.form-note { margin: 12px 0 0; font-size: 11px; color: #999999; }
.form-tip { font-size: 11px; color: #999999; margin: 12px 0 14px; }
.field__opt { color: #999999; font-weight: 400; font-size: 11px; }
.field__hint { display: block; margin-top: 5px; font-size: 11px; color: #999999; line-height: 1.5; }
input[type="file"] {
    width: 100%;
    border: 1px dashed #cccccc;
    background: #ffffff;
    padding: 8px 10px;
    font-size: 12px;
    color: var(--muted);
    cursor: pointer;
}
input[type="file"]:hover { border-color: var(--red); }
input[type="file"]::file-selector-button {
    margin-right: 10px;
    padding: 5px 12px;
    border: 1px solid #cccccc;
    background: #f5f5f5;
    color: var(--ink);
    font-size: 12px;
    cursor: pointer;
}

/* ========================================================================
   首页区块
   ======================================================================== */
.home-block { margin-bottom: 52px; }

.sec-title {
    margin: 0 0 20px;
    padding-bottom: 7px;
    border-bottom: 1px solid var(--red);
    color: var(--red);
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.glance {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 36px;
    align-items: start;
}
.glance__text p { margin: 0 0 12px; color: var(--body); }
.glance__lead { font-weight: 700; color: var(--ink) !important; }
.glance__stats {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 34px;
    margin: 16px 0;
    padding: 14px 0;
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
}
.glance__stats b { display: block; font-size: 21px; color: var(--red); line-height: 1.2; }
.glance__stats span { font-size: 11px; color: var(--muted); }
.glance__actions { display: flex; gap: 10px; }
.glance__media { position: relative; display: block; }
.glance__media img { width: 100%; display: block; border: 1px solid var(--line); }
.glance__caption {
    position: absolute;
    left: 10px;
    bottom: 10px;
    background: rgba(255,255,255,.93);
    padding: 7px 12px;
    font-size: 11px;
    color: var(--body);
}
.glance__caption b { display: block; color: var(--red); font-size: 12px; }

/* ---- 首页视频（小缩略图，点击弹窗播放） ---- */
.home-video { padding-bottom: 4px; }
.video-thumb {
    display: block;
    width: 320px;
    max-width: 100%;
    padding: 0;
    border: 0;
    background: none;
    text-align: left;
    cursor: pointer;
    font: inherit;
    color: inherit;
}
.video-thumb__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    background: #111111;
    border: 1px solid var(--line);
    overflow: hidden;
}
.video-thumb__media img,
.video-thumb__media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .25s ease;
}
.video-thumb__play {
    position: absolute;
    top: 50%; left: 50%;
    width: 46px; height: 46px;
    margin: -23px 0 0 -23px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .18s ease, background .18s ease;
}
.video-thumb__play svg { width: 22px; height: 22px; margin-left: 2px; }
.video-thumb:hover .video-thumb__media img,
.video-thumb:hover .video-thumb__media video { transform: scale(1.04); }
.video-thumb:hover .video-thumb__play { transform: scale(1.12); background: #ffffff; }
.video-thumb__text { display: block; margin-top: 8px; }
.video-thumb__text b { display: block; font-size: 13px; color: var(--ink); }
.video-thumb__text small { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.video-thumb:hover .video-thumb__text b { color: var(--red); }

/* 视频弹窗 */
.video-layer {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .8);
    z-index: 960;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.video-layer.is-open { display: flex; }
.video-layer__box {
    position: relative;
    width: min(960px, 92vw);
}
.video-layer__box video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000000;
    border: 1px solid rgba(255, 255, 255, .18);
}
.video-layer__close {
    position: absolute;
    top: -40px; right: 0;
    width: 32px; height: 32px;
    padding: 0;
    border: 0;
    background: rgba(255, 255, 255, .16);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.video-layer__close:hover { background: var(--red); }
.video-layer__close svg { width: 18px; height: 18px; }

@media (max-width: 600px) {
    .video-thumb { width: 100%; }
    .video-layer { padding: 16px; }
    .video-layer__close { top: -38px; }
}

.price-note { margin: 14px 0 0; font-size: 11px; color: var(--muted); }

/* ---- 产品扁平网格（SUKU 目录式） ---- */
.suku-grid { display: grid; }
.suku-grid--3 { grid-template-columns: repeat(3, 1fr); }
.suku-grid--sep > * { padding: 6px 24px; border-left: 1px solid var(--line-soft); }
.suku-grid--sep > *:nth-child(3n+1) { border-left: none; padding-left: 0; }

.pcard { padding: 10px 0 18px; }
.pcard__media {
    position: relative;
    display: block;
    text-align: center;
    padding: 12px 0 14px;
}
.pcard__media img {
    width: auto;
    max-width: 82%;
    height: 165px;
    object-fit: contain;
}
.pcard__flag {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--red);
    color: #ffffff;
    font-size: 10px;
    padding: 2px 8px;
    letter-spacing: .05em;
}
.pcard__name {
    display: block;
    font-weight: 700;
    font-size: 13px;
    color: var(--ink);
    line-height: 1.55;
    margin-bottom: 5px;
}
.pcard__name:hover { color: var(--red); }
.pcard__price { font-size: 13px; color: var(--ink); }
.pcard__price small { color: var(--muted); }
.pcard__price em { font-style: normal; font-weight: 700; color: var(--red); }
.pcard__actions { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.pcard__basket {
    border: 1px solid var(--red);
    background: #ffffff;
    color: var(--red);
    font-size: 11px;
    padding: 4px 10px;
    cursor: pointer;
    font-family: inherit;
}
.pcard__basket:hover,
.pcard__basket.is-added { background: var(--red); color: #ffffff; }
.pcard__more { font-size: 11px; color: #777777; text-decoration: underline; }

/* ---- 分类目录行 ---- */
.suku-grid--cats > * { border-left: none !important; padding: 0 !important; }
.suku-grid--cats { gap: 0 44px; }
.catrow { display: flex; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.catrow__img img {
    width: 88px;
    height: 88px;
    object-fit: contain;
    border: 1px solid var(--line-soft);
    background: #ffffff;
    padding: 4px;
    display: block;
}
.catrow__body b { display: block; font-size: 13px; color: var(--ink); }
.catrow:hover .catrow__body b { color: var(--red); }
.catrow__body small { color: var(--muted); font-size: 11px; }
.catrow__brief { display: block; margin-top: 3px; font-size: 12px; color: var(--body); }

/* ---- 优势编号列表 ---- */
.adv-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 44px;
}
.adv-list li {
    display: flex;
    gap: 15px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line-soft);
}
.adv-list__num { font-size: 23px; color: var(--red); line-height: 1.1; min-width: 22px; }
.adv-list h3 { margin: 0 0 4px; font-size: 13px; color: var(--ink); }
.adv-list p { margin: 0; font-size: 12px; color: var(--body); }

/* ---- 行业应用 ---- */
.ind-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.ind-list li { border: 1px solid var(--line); border-top: 3px solid var(--red); padding: 14px 16px; }
.ind-list b { display: block; font-size: 13px; margin-bottom: 4px; color: var(--ink); }
.ind-list span { font-size: 12px; color: var(--body); }

/* ---- 文章卡片 ---- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { display: block; border: 1px solid var(--line); background: #ffffff; }
.post-card__media img { width: 100%; height: 165px; object-fit: cover; display: block; }
.post-card__body { padding: 13px 16px 16px; }
.post-card__meta {
    display: flex;
    gap: 12px;
    font-size: 11px;
    color: var(--muted);
    margin-bottom: 6px;
}
.post-card h3 { margin: 0 0 6px; font-size: 13px; line-height: 1.55; color: var(--ink); }
.post-card:hover h3 { color: var(--red); }
.post-card p { margin: 0; font-size: 12px; color: var(--body); }
.post-card__more { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; color: var(--red); margin-top: 8px; }
.post-card__more svg { width: 12px; height: 12px; }

/* ---- CTA ---- */
.cta-flat {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 36px;
    border: 1px solid var(--line);
    padding: 26px;
    background: #fcfcfc;
}
.cta-flat__text p { margin: 0 0 12px; color: var(--body); }
.cta-flat__text ul { list-style: none; margin: 0 0 14px; padding: 0; }
.cta-flat__text li {
    position: relative;
    padding: 4px 0 4px 20px;
    font-size: 12px;
    color: var(--body);
}
.cta-flat__text li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--red);
    font-weight: 700;
}
.cta-flat__phone { font-size: 13px; }
.cta-flat__phone b { color: var(--red); }

/* ========================================================================
   产品详情
   ======================================================================== */
.pdp { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; margin-top: 4px; }
.pdp__main img {
    width: 100%;
    border: 1px solid var(--line);
    background: #ffffff;
    object-fit: contain;
    transition: opacity .22s ease;
}
.pdp__main img.is-fading { opacity: 0; }
.pdp__thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.pdp__thumb {
    border: 1px solid var(--line);
    background: #ffffff;
    padding: 3px;
    cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.pdp__thumb:hover { border-color: var(--red); box-shadow: 0 0 0 2px rgba(198, 40, 40, .12); }
.pdp__thumb.is-active { border-color: var(--red); }
.pdp__thumb img { width: 64px; height: 64px; object-fit: contain; display: block; }

.pdp__cat { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.pdp__info h1 {
    margin: 0 0 12px;
    font-size: 20px;
    color: var(--red);
    border-bottom: 1px solid var(--red);
    padding-bottom: 9px;
    line-height: 1.4;
}
.pdp__model { font-size: 12px; color: var(--body); margin-bottom: 12px; }
.pdp__brief { color: var(--body); margin: 0 0 14px; }
.pdp__price {
    border-top: 1px solid var(--red);
    padding: 12px 0;
    margin-bottom: 14px;
}
.pdp__price strong { font-size: 17px; color: var(--ink); display: block; }
.pdp__price span { font-size: 11px; color: var(--muted); }
.pdp__specs { margin: 0 0 18px; border-top: 1px solid var(--line); }
.pdp__specs > div { display: flex; border-bottom: 1px solid var(--line-soft); padding: 6px 0; }
.pdp__specs dt { width: 140px; flex: none; color: var(--muted); font-weight: 400; }
.pdp__specs dd { margin: 0; color: var(--ink); }
.pdp__actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.pdp__phone { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink); font-weight: 700; }
.pdp__phone svg { width: 15px; height: 15px; color: var(--red); }
.pdp__trust {
    display: flex;
    gap: 22px;
    font-size: 11px;
    color: var(--muted);
    border-top: 1px solid var(--line-soft);
    padding-top: 12px;
}
.pdp__trust svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: 4px; color: var(--red); }

.pdp-sections { display: grid; grid-template-columns: 1.55fr 1fr; gap: 40px; margin-top: 44px; }
.sticky-form .form-card { position: static; }

.spec-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.spec-table th, .spec-table td { border: 1px solid var(--line); padding: 7px 12px; text-align: left; vertical-align: top; }
.spec-table th { width: 30%; background: #f4f4f4; color: var(--ink); font-weight: 700; }

/* ========================================================================
   正文排版 / 文章
   ======================================================================== */
.prose { font-size: 13px; line-height: 1.9; color: var(--body); }
.prose h2, .prose h3 { color: var(--ink); line-height: 1.4; }
.prose img { border: 1px solid var(--line); }
.prose table { width: 100%; border-collapse: collapse; }
.prose td, .prose th { border: 1px solid var(--line); padding: 6px 10px; }

.article-hero img { width: 100%; border: 1px solid var(--line); }
.article-meta { font-size: 11px; color: var(--muted); }

/* ========================================================================
   询价篮
   ======================================================================== */
.basket-table { width: 100%; border-collapse: collapse; font-size: 12px; margin-bottom: 26px; }
.basket-table th {
    background: #f2f2f2;
    border: 1px solid var(--line);
    padding: 8px 10px;
    text-align: left;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.basket-table td { border: 1px solid var(--line); padding: 8px 10px; }
.basket-table input[type="number"] {
    border: 1px solid #cccccc;
    padding: 5px 6px;
    font-size: 12px;
}
.basket-remove {
    border: 1px solid #cccccc;
    background: #ffffff;
    color: var(--muted);
    font-size: 11px;
    padding: 4px 10px;
    cursor: pointer;
    font-family: inherit;
}
.basket-remove:hover { border-color: var(--red); color: var(--red); }
.basket-form { border: 1px solid var(--line); background: #fafafa; padding: 22px; }

/* ========================================================================
   分页
   ======================================================================== */
.pager { display: flex; gap: 6px; margin: 30px 0 0; flex-wrap: wrap; }
.pager a, .pager span {
    display: inline-block;
    min-width: 32px;
    text-align: center;
    padding: 6px 10px;
    border: 1px solid var(--line);
    font-size: 12px;
    color: var(--body);
}
.pager a:hover { border-color: var(--red); color: var(--red); }
.pager .active, .pager .is-current { background: var(--red); border-color: var(--red); color: #ffffff; }
.pager .disabled { color: #bbbbbb; }

/* ========================================================================
   搜索浮层 / 抽屉
   ======================================================================== */
.search-layer {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 90;
    align-items: flex-start;
    justify-content: center;
    padding-top: 120px;
}
.search-layer.is-open { display: flex; }
.search-layer__box { background: #ffffff; width: min(560px, 92vw); padding: 26px; }
.search-form { display: flex; gap: 10px; }
.search-form input { flex: 1; border: 1px solid #cccccc; padding: 10px 12px; font-size: 13px; }
.search-layer__hint { font-size: 11px; color: var(--muted); margin: 10px 0 0; }

.drawer {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(330px, 88vw);
    background: #ffffff;
    z-index: 100;
    transform: translateX(102%);
    transition: transform .22s ease;
    overflow-y: auto;
    padding: 18px 22px 40px;
    box-shadow: -6px 0 24px rgba(0,0,0,.18);
}
.drawer.is-open { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.drawer__head img { height: 44px; }
.drawer__nav { list-style: none; margin: 0; padding: 0; }
.drawer__nav > li { border-bottom: 1px solid var(--line-soft); }
.drawer__nav > li > a { display: block; padding: 11px 2px; color: var(--ink); font-size: 14px; font-weight: 700; }
.drawer__sub { list-style: none; margin: 0; padding: 0 0 8px; }
.drawer__sub a { display: block; padding: 6px 0 6px 14px; font-size: 13px; color: var(--body); }
.drawer__sub a:hover { color: var(--red); }
.drawer__sub--sub { padding: 0 0 4px; }
.drawer__sub--sub a { padding-left: 30px; font-size: 12px; color: #6d7680; }

/* ========================================================================
   页脚
   ======================================================================== */
.footer { margin-top: 0; }
.footer__links { background: #b9b9b9; }
.footer__links .main-col { padding: 9px 32px; display: flex; flex-wrap: wrap; align-items: center; }
.footer__links a { color: #333333; font-size: 12px; }
.footer__links a:hover { color: #ffffff; text-decoration: underline; }
.footer__links span { color: #8f8f8f; margin: 0 10px; font-size: 11px; }

.footer__legal { background: #ffffff; border-top: 1px solid var(--line); }
.footer__legal-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 26px;
    padding-top: 12px;
    padding-bottom: 16px;
    font-size: 11px;
    color: var(--muted);
}

/* ========================================================================
   杂项 / 旧类兼容
   ======================================================================== */
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.toolbar__count { font-size: 12px; color: var(--muted); }
.toolbar__right { display: flex; gap: 8px; align-items: center; }

.tag { display: inline-block; border: 1px solid var(--line); color: var(--muted); font-size: 11px; padding: 2px 8px; margin: 0 6px 6px 0; }
.tag:hover { border-color: var(--red); color: var(--red); }

/* ========================================================================
   网站地图
   ======================================================================== */
.sitemap-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 48px;
    margin-bottom: 44px;
}

.sitemap-block { margin-bottom: 40px; }
.sitemap-block--last { margin-bottom: 4px; }

.sitemap-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sitemap-list li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    padding: 8px 0;
    border-bottom: 1px dotted var(--line);
    font-size: 13px;
    line-height: 1.5;
}

.sitemap-list li a { color: var(--ink); }
.sitemap-list li a:hover { color: var(--red); }

.sitemap-count,
.sitemap-date {
    flex: none;
    font-size: 11px;
    color: var(--muted);
}

.sitemap-group { margin-bottom: 26px; }

.sitemap-group__title {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 0 0 4px;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
}

.sitemap-group__title a { color: var(--ink); }
.sitemap-group__title a:hover { color: var(--red); }
.sitemap-group__title span { font-size: 11px; font-weight: 400; color: var(--muted); }

.sitemap-list--grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 30px;
}

.sitemap-list--grid li {
    display: block;
    padding: 7px 0;
    border-bottom: 1px dotted var(--line-soft);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sitemap-model {
    display: inline-block;
    min-width: 64px;
    margin-right: 8px;
    color: var(--red);
    font-weight: 700;
    font-size: 11.5px;
    letter-spacing: .02em;
}

.sitemap-list--inline {
    display: flex;
    gap: 26px;
}

.sitemap-list--inline li {
    border-bottom: 0;
    padding: 4px 0;
}

.sitemap-xml {
    margin: 16px 0 0;
    font-size: 11px;
    color: var(--muted);
}

.sitemap-xml a { color: var(--muted); text-decoration: underline; }
.sitemap-xml a:hover { color: var(--red); }

/* ========================================================================
   响应式
   ======================================================================== */
@media (max-width: 1120px) {
    :root { --side-w: 200px; }
    .header__slogan { font-size: 20px; }
    .adv-list, .glance, .cta-flat { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
    .topbar__red, .sidebar { display: none; }
    .contact-grid { grid-template-columns: 1fr; }
    .topbar__inner, .main .container, .main-col { padding-left: 18px; padding-right: 18px; }
    .topbar__inner { margin-left: 0; justify-content: space-between; }
    .topbar__links a, .lang-switch { white-space: nowrap; }
    .redbar { margin-left: 0; }
    .header { padding: 14px 18px; }
    .header .burger { display: inline-flex; color: var(--ink); margin-left: auto; }
    .redbar .burger { display: inline-flex; }
    .header__banner { display: none; }
    .suku-grid--3, .post-grid, .ind-list { grid-template-columns: repeat(2, 1fr); }
    .suku-grid--sep > *:nth-child(3n+1) { border-left: 1px solid var(--line-soft); padding-left: 24px; }
    .suku-grid--sep > *:nth-child(2n+1) { border-left: none; padding-left: 0; }
    .suku-grid--sep > * { padding: 6px 18px; }
    .pdp, .pdp-sections { grid-template-columns: 1fr; }
    .footer__links .main-col { padding: 9px 18px; }
    .footer__legal-inner { padding-left: 18px; padding-right: 18px; }
    .sitemap-cols { grid-template-columns: 1fr; gap: 0; margin-bottom: 0; }
    .sitemap-list--grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    .topbar__inner { gap: 10px; padding-left: 12px; padding-right: 12px; }
    .topbar__links { min-width: 0; }
    .topbar__links li:nth-child(n+4) { display: none; }
    .topbar__links li + li::before { margin: 0 7px; }
    .topbar__search { display: none; }
    .redbar__search { display: inline-flex !important; color: #ffffff; }
    .redbar__actions { gap: 12px; padding-right: 4px; }
    .header { gap: 14px; }
    .header .logo img { width: 170px; height: auto; }
    .header .logo__sub { display: none; }
    .suku-grid--3, .post-grid, .ind-list, .form-grid { grid-template-columns: 1fr; }
    .suku-grid--sep > * { border-left: none !important; padding-left: 0 !important; padding-right: 0 !important; }
    .adv-list { grid-template-columns: 1fr; }
    .page-head h1 { font-size: 18px; }
    .glance__stats { gap: 8px 22px; }
    .sitemap-list--grid { grid-template-columns: 1fr; }
    .sitemap-list--inline { flex-direction: column; gap: 2px; }
}

/* ========================================================================
   悬浮联系框（WhatsApp / E-Mail）
   ======================================================================== */
.float-contact {
    position: fixed;
    right: 0;
    bottom: 88px;
    z-index: 900;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}
.float-contact__btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 108px;
    padding: 12px 6px 10px;
    border: 0;
    cursor: pointer;
    font-size: 13px;
    line-height: 1;
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
.float-contact__btn svg { width: 39px; height: 39px; }
.float-contact__btn--wa { background: #25d366; border-radius: 4px 0 0 0; }
.float-contact__btn--mail { background: #f5a623; border-radius: 4px 0 0 4px; }
.float-contact__btn:hover { filter: brightness(1.08); }

.float-contact__group { position: relative; }
.float-contact__panel {
    position: absolute;
    right: 116px;
    bottom: 0;
    min-width: 190px;
    background: #ffffff;
    border: 1px solid #dddddd;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    padding: 4px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(8px);
    transition: all 0.18s ease;
}
.float-contact__group.is-open .float-contact__panel,
.float-contact__group:hover .float-contact__panel {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}
.float-contact__acc {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 14px;
    color: #333333;
    text-decoration: none;
    font-size: 13px;
}
.float-contact__acc + .float-contact__acc { border-top: 1px solid #eeeeee; }
.float-contact__acc:hover { background: #f2faf5; color: #128c4b; }
.float-contact__acc svg { flex: none; width: 17px; height: 17px; color: #25d366; }
.float-contact__acc-name { font-weight: 600; }
.float-contact__acc-phone { margin-left: auto; font-size: 11px; color: #999999; }

@media (max-width: 900px) {
    .float-contact { bottom: 20px; }
    .float-contact__btn { width: 87px; padding: 10px 4px 8px; font-size: 12px; }
    .float-contact__btn svg { width: 32px; height: 32px; }
    .float-contact__panel { right: 95px; }
}

/* ========================================================================
   产品可选规格（详情页按钮组）
   ======================================================================== */
.pdp-variants { margin: 6px 0 18px; display: flex; flex-direction: column; gap: 14px; }
.pdp-variants__row { display: flex; flex-direction: column; gap: 7px; }
.pdp-variants__name { font-size: 12px; color: var(--muted); }
.spec-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.spec-chip {
    min-width: 44px;
    padding: 7px 18px;
    border: 1px solid #c9c9c9;
    border-radius: 999px;
    background: #ffffff;
    color: var(--ink);
    font-size: 13px;
    line-height: 1.4;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.spec-chip:hover { border-color: var(--ink); }
.spec-chip.is-active {
    background: var(--ink);
    border-color: var(--ink);
    color: #ffffff;
}
.basket-spec-line { margin-top: 3px; font-size: 12px; color: #888888; }
