@charset "UTF-8";
/* ============================================================
 * 默认主题样式表  —— 四端自适应（PC / 平板 / 手机 / 小窗口）
 * 颜色通过 CSS 变量由后台控制（见 layout.php 内联 :root）
 * ============================================================ */

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.7;
    color: var(--c-text); background: var(--c-bg);
    -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; border: 0; vertical-align: middle; }
a { color: inherit; text-decoration: none; transition: color .2s, opacity .2s; }
a:hover { color: var(--c-primary); }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 600; line-height: 1.35; }
p { margin: 0 0 1em; }
input, textarea, select, button { font-family: inherit; font-size: inherit; outline: none; }
button { cursor: pointer; border: 0; background: none; color: inherit; }
table { border-collapse: collapse; width: 100%; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 999; background: var(--c-primary); color: #fff; padding: 8px 16px; }
.skip-link:focus { left: 0; }

/* ---------------- 布局 ---------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.main { min-height: 40vh; }
.section { padding: 56px 0; }
.section-gray { background: var(--c-bg-gray); }
.section-head { margin-bottom: 32px; }
.section-head.center { text-align: center; }
.section-title { font-size: 28px; letter-spacing: .5px; }
.section-sub { color: var(--c-text-sub); margin-top: 8px; font-size: 14px; }
.section-head .line { width: 42px; height: 3px; background: var(--c-primary); margin-top: 14px; border-radius: 2px; }
.section-head.center .line { margin-left: auto; margin-right: auto; }

/* ---------------- 图标（mask 方式，颜色跟随文字） ---------------- */
.ic { display: inline-block; width: 1em; height: 1em; background: currentColor; vertical-align: -.15em;
      -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center;
      mask-position: center; -webkit-mask-size: contain; mask-size: contain; }
.ic-phone{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.79 19.79 0 0 1 2.12 4.2 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.79 19.79 0 0 1 2.12 4.2 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E")}
.ic-mail{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m2 7 10 6 10-6'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m2 7 10 6 10-6'/%3E%3C/svg%3E")}
.ic-location{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E")}
.ic-search{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E")}
.ic-cart{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='19' cy='21' r='1'/%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='19' cy='21' r='1'/%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6'/%3E%3C/svg%3E")}
.ic-user{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E")}
.ic-arrow-down{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")}
.ic-arrow-right{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E")}
.ic-home{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='m3 9 9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Cpath d='M9 22V12h6v10'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='m3 9 9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Cpath d='M9 22V12h6v10'/%3E%3C/svg%3E")}
.ic-goods{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='m7.5 4.27 9 5.15'/%3E%3Cpath d='M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z'/%3E%3Cpath d='m3.3 7 8.7 5 8.7-5M12 22V12'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='m7.5 4.27 9 5.15'/%3E%3Cpath d='M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z'/%3E%3Cpath d='m3.3 7 8.7 5 8.7-5M12 22V12'/%3E%3C/svg%3E")}
.ic-news{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M4 22h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16a2 2 0 0 1-4 0V9'/%3E%3Cpath d='M18 14h-8M15 18h-5M10 6h8v4h-8z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M4 22h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16a2 2 0 0 1-4 0V9'/%3E%3Cpath d='M18 14h-8M15 18h-5M10 6h8v4h-8z'/%3E%3C/svg%3E")}
.ic-message{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3C/svg%3E")}
.ic-service{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M3 18v-6a9 9 0 0 1 18 0v6'/%3E%3Cpath d='M21 19a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3zM3 19a2 2 0 0 0 2 2h1a2 2 0 0 0 2-2v-3a2 2 0 0 0-2-2H3z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M3 18v-6a9 9 0 0 1 18 0v6'/%3E%3Cpath d='M21 19a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3zM3 19a2 2 0 0 0 2 2h1a2 2 0 0 0 2-2v-3a2 2 0 0 0-2-2H3z'/%3E%3C/svg%3E")}
.ic-top{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m18 15-6-6-6 6'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m18 15-6-6-6 6'/%3E%3C/svg%3E")}
.ic-clock{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 6v6l4 2'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 6v6l4 2'/%3E%3C/svg%3E")}
.ic-eye{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E")}
.ic-tag{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M20.59 13.41 13.42 20.58a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z'/%3E%3Cpath d='M7 7h.01'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M20.59 13.41 13.42 20.58a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z'/%3E%3Cpath d='M7 7h.01'/%3E%3C/svg%3E")}
.ic-wechat{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M8.7 3C4.6 3 1.3 5.8 1.3 9.2c0 1.9 1.1 3.6 2.8 4.8l-.7 2.1 2.4-1.2c.8.2 1.6.4 2.5.4h.6c-.1-.4-.2-.9-.2-1.4 0-3.3 3.2-6 7.2-6h.6C15.8 5.2 12.6 3 8.7 3zM6.2 7.9a1 1 0 1 1 0-2 1 1 0 0 1 0 2zm5 0a1 1 0 1 1 0-2 1 1 0 0 1 0 2z'/%3E%3Cpath d='M22.7 14.1c0-2.8-2.8-5-6.2-5s-6.2 2.2-6.2 5 2.8 5 6.2 5c.7 0 1.4-.1 2.1-.3l2 1-.6-1.8c1.6-1 2.7-2.4 2.7-3.9zm-8.2-.6a.9.9 0 1 1 0-1.8.9.9 0 0 1 0 1.8zm4 0a.9.9 0 1 1 0-1.8.9.9 0 0 1 0 1.8z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M8.7 3C4.6 3 1.3 5.8 1.3 9.2c0 1.9 1.1 3.6 2.8 4.8l-.7 2.1 2.4-1.2c.8.2 1.6.4 2.5.4h.6c-.1-.4-.2-.9-.2-1.4 0-3.3 3.2-6 7.2-6h.6C15.8 5.2 12.6 3 8.7 3zM6.2 7.9a1 1 0 1 1 0-2 1 1 0 0 1 0 2zm5 0a1 1 0 1 1 0-2 1 1 0 0 1 0 2z'/%3E%3Cpath d='M22.7 14.1c0-2.8-2.8-5-6.2-5s-6.2 2.2-6.2 5 2.8 5 6.2 5c.7 0 1.4-.1 2.1-.3l2 1-.6-1.8c1.6-1 2.7-2.4 2.7-3.9zm-8.2-.6a.9.9 0 1 1 0-1.8.9.9 0 0 1 0 1.8zm4 0a.9.9 0 1 1 0-1.8.9.9 0 0 1 0 1.8z'/%3E%3C/svg%3E")}
.ic-weibo{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M10 20c-4 0-7.3-2.2-7.3-4.7 0-1.3.8-2.8 2.3-4.1C7.3 9.3 10 8.3 11.4 9c.5.3.4 1 .1 1.6-.1.2-.2.4-.2.5 0 .3.2.5.5.5.6 0 2-1.1 3.3-1.1 1.7 0 2.6.9 2.6 2 0 .4-.1.9-.4 1.4.3.2.7.3 1.2.3 1.6 0 2.5-.9 2.5-2.2 0-2.4-2.7-4.5-5.6-4.5-.7 0-1.4.1-2.1.3.6-2 2.7-3.5 5.2-3.5 3.2 0 5.6 2.1 5.6 4.8 0 2.5-1.9 4.3-4.6 4.6-.2 1.2-1.1 2.3-2.6 3.3-1.9 1.3-4.2 2-6 2zm-.1-6.6c-2 .2-3.5 1.4-3.5 2.8 0 1.4 1.7 2.5 3.9 2.5 2.6 0 4.4-1.4 4.4-2.8 0-1.3-1.6-2.5-3.9-2.5-.3 0-.6 0-.9.1zm-.6 3.7c-.7 0-1.2-.5-1.2-1.1 0-.6.5-1.1 1.2-1.1.7 0 1.2.5 1.2 1.1 0 .6-.5 1.1-1.2 1.1z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M10 20c-4 0-7.3-2.2-7.3-4.7 0-1.3.8-2.8 2.3-4.1C7.3 9.3 10 8.3 11.4 9c.5.3.4 1 .1 1.6-.1.2-.2.4-.2.5 0 .3.2.5.5.5.6 0 2-1.1 3.3-1.1 1.7 0 2.6.9 2.6 2 0 .4-.1.9-.4 1.4.3.2.7.3 1.2.3 1.6 0 2.5-.9 2.5-2.2 0-2.4-2.7-4.5-5.6-4.5-.7 0-1.4.1-2.1.3.6-2 2.7-3.5 5.2-3.5 3.2 0 5.6 2.1 5.6 4.8 0 2.5-1.9 4.3-4.6 4.6-.2 1.2-1.1 2.3-2.6 3.3-1.9 1.3-4.2 2-6 2zm-.1-6.6c-2 .2-3.5 1.4-3.5 2.8 0 1.4 1.7 2.5 3.9 2.5 2.6 0 4.4-1.4 4.4-2.8 0-1.3-1.6-2.5-3.9-2.5-.3 0-.6 0-.9.1zm-.6 3.7c-.7 0-1.2-.5-1.2-1.1 0-.6.5-1.1 1.2-1.1.7 0 1.2.5 1.2 1.1 0 .6-.5 1.1-1.2 1.1z'/%3E%3C/svg%3E")}
.ic-qq{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M12 2c3.3 0 5.4 2.4 5.4 5.6 0 .9.1 1.5.6 2.4.8 1.3 1.7 2.6 1.9 4.2.2 1.7-.5 2.3-1.3 2.3-.6 0-1.1-.4-1.5-1.1-.3.8-1.1 1.5-2.2 1.9.7.3 1.1.7 1.1 1.2 0 .9-1.7 1.5-3.9 1.5s-3.9-.6-3.9-1.5c0-.5.4-.9 1.1-1.2-1.1-.4-1.9-1.1-2.2-1.9-.4.7-.9 1.1-1.5 1.1-.8 0-1.5-.6-1.3-2.3.2-1.6 1.1-2.9 1.9-4.2.5-.9.6-1.5.6-2.4C6.6 4.4 8.7 2 12 2z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M12 2c3.3 0 5.4 2.4 5.4 5.6 0 .9.1 1.5.6 2.4.8 1.3 1.7 2.6 1.9 4.2.2 1.7-.5 2.3-1.3 2.3-.6 0-1.1-.4-1.5-1.1-.3.8-1.1 1.5-2.2 1.9.7.3 1.1.7 1.1 1.2 0 .9-1.7 1.5-3.9 1.5s-3.9-.6-3.9-1.5c0-.5.4-.9 1.1-1.2-1.1-.4-1.9-1.1-2.2-1.9-.4.7-.9 1.1-1.5 1.1-.8 0-1.5-.6-1.3-2.3.2-1.6 1.1-2.9 1.9-4.2.5-.9.6-1.5.6-2.4C6.6 4.4 8.7 2 12 2z'/%3E%3C/svg%3E")}
.ic-qzone{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20z'/%3E%3Cpath d='M8.5 9a3.5 3.5 0 0 1 7 0c0 2-3.5 3.5-3.5 5.5M12 18h.01'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20z'/%3E%3Cpath d='M8.5 9a3.5 3.5 0 0 1 7 0c0 2-3.5 3.5-3.5 5.5M12 18h.01'/%3E%3C/svg%3E")}
.ic-douban{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M3 4h18M5 9h14M4 14h16M8 14c0 4 2 6 4 6s4-2 4-6'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M3 4h18M5 9h14M4 14h16M8 14c0 4 2 6 4 6s4-2 4-6'/%3E%3C/svg%3E")}
.ic-link{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M10 13a5 5 0 0 0 7.5.5l3-3a5 5 0 0 0-7-7l-1.7 1.7'/%3E%3Cpath d='M14 11a5 5 0 0 0-7.5-.5l-3 3a5 5 0 0 0 7 7l1.7-1.7'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M10 13a5 5 0 0 0 7.5.5l3-3a5 5 0 0 0-7-7l-1.7 1.7'/%3E%3Cpath d='M14 11a5 5 0 0 0-7.5-.5l-3 3a5 5 0 0 0 7 7l1.7-1.7'/%3E%3C/svg%3E")}
.ic-share{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='18' cy='5' r='3'/%3E%3Ccircle cx='6' cy='12' r='3'/%3E%3Ccircle cx='18' cy='19' r='3'/%3E%3Cpath d='m8.6 13.5 6.8 4M15.4 6.5l-6.8 4'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='18' cy='5' r='3'/%3E%3Ccircle cx='6' cy='12' r='3'/%3E%3Ccircle cx='18' cy='19' r='3'/%3E%3Cpath d='m8.6 13.5 6.8 4M15.4 6.5l-6.8 4'/%3E%3C/svg%3E")}

/* ---------------- 顶栏 ---------------- */
.topbar { background: var(--c-bg-gray); border-bottom: 1px solid var(--c-border); font-size: 13px; color: var(--c-text-sub); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 38px; }
.topbar-right { display: flex; align-items: center; gap: 18px; }
.topbar-item { display: inline-flex; align-items: center; gap: 5px; }
.topbar-item:hover { color: var(--c-primary); }

/* ---------------- 头部 ---------------- */
.site-header {
    background: var(--c-header-bg); color: var(--c-header-fg);
    border-bottom: 1px solid var(--c-border); position: sticky; top: 0; z-index: 100;
    transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 4px 20px rgba(0, 0, 0, .07); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.logo img { max-height: 44px; width: auto; }
.logo-text { font-size: 22px; font-weight: 700; letter-spacing: .5px; color: var(--c-primary); }
.header-right { display: flex; align-items: center; gap: 8px; flex: 1; justify-content: flex-end; }

.main-nav { flex: 1; display: flex; justify-content: flex-end; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; }
.nav-item > a {
    display: flex; align-items: center; gap: 4px; padding: 0 15px; height: 72px;
    font-size: 15px; font-weight: 500; white-space: nowrap;
}
.nav-item > a .ic { font-size: 12px; opacity: .6; }
.nav-item:hover > a, .nav-item.is-active > a { color: var(--c-primary); }
.nav-item.is-active > a { position: relative; }
.nav-item.is-active > a::after {
    content: ''; position: absolute; left: 15px; right: 15px; bottom: 0; height: 3px;
    background: var(--c-primary); border-radius: 2px 2px 0 0;
}
.sub-toggle { display: none; }

/* 二级菜单 */
.sub-nav {
    position: absolute; left: 50%; top: 100%; transform: translateX(-50%) translateY(6px);
    min-width: 190px; background: #fff; border-radius: var(--radius);
    box-shadow: 0 8px 32px rgba(0, 0, 0, .12); padding: 8px; opacity: 0; visibility: hidden;
    transition: all .22s; z-index: 60;
}
.nav-item:hover > .sub-nav { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.sub-nav > li { position: relative; }
.sub-nav > li > a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; border-radius: 6px; font-size: 14px; white-space: nowrap; }
.sub-nav > li > a:hover { background: var(--c-primary-l); color: var(--c-primary); }
.sub-nav2 {
    position: absolute; left: 100%; top: -8px; min-width: 180px; background: #fff;
    border-radius: var(--radius); box-shadow: 0 8px 32px rgba(0, 0, 0, .12); padding: 8px;
    opacity: 0; visibility: hidden; transition: all .2s;
}
.sub-nav > li:hover > .sub-nav2 { opacity: 1; visibility: visible; }

.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 40px; height: 40px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-size: 19px; color: var(--c-header-fg); position: relative; }
.icon-btn:hover { background: var(--c-bg-gray); color: var(--c-primary); }
.cart-count { position: absolute; top: 3px; right: 2px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--c-accent); color: #fff; font-size: 11px; font-style: normal; line-height: 17px; text-align: center; }
.btn-cta { margin-left: 6px; }

.nav-toggle { display: none; width: 42px; height: 42px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--c-header-fg); border-radius: 2px; transition: .25s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.search-panel { display: none; border-top: 1px solid var(--c-border); background: #fff; padding: 18px 0; }
.search-panel.is-open { display: block; }
.search-form { display: flex; gap: 10px; }
.search-form input { flex: 1; height: 46px; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 0 16px; font-size: 15px; }
.search-form input:focus { border-color: var(--c-primary); }
.search-hot { margin-top: 12px; font-size: 13px; color: var(--c-text-sub); }
.search-hot a { margin-right: 12px; }

/* ---------------- 按钮 ---------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    height: 42px; padding: 0 22px; border-radius: var(--radius); font-size: 15px;
    font-weight: 500; transition: all .2s; white-space: nowrap; cursor: pointer; border: 1px solid transparent;
}
.btn-primary { background: var(--c-primary); color: var(--c-btn-text); }
.btn-primary:hover { background: var(--c-primary-d); color: var(--c-btn-text); transform: translateY(-1px); }
.btn-accent { background: var(--c-accent); color: #fff; }
.btn-accent:hover { opacity: .9; color: #fff; }
.btn-outline { border-color: var(--c-primary); color: var(--c-primary); background: transparent; }
.btn-outline:hover { background: var(--c-primary); color: var(--c-btn-text); }
.btn-gray { background: var(--c-bg-gray); color: var(--c-text); border-color: var(--c-border); }
.btn-gray:hover { border-color: var(--c-primary); color: var(--c-primary); }
.btn-lg { height: 50px; padding: 0 32px; font-size: 16px; }
.btn-sm { height: 34px; padding: 0 14px; font-size: 13px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ---------------- 首页 首屏 ---------------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-d) 100%); color: #fff; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; padding: 72px 0; }
.hero-title { font-size: 42px; line-height: 1.25; margin-bottom: 18px; }
.hero-desc { font-size: 17px; opacity: .9; margin-bottom: 28px; max-width: 560px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-actions .btn-primary { background: #fff; color: var(--c-primary); }
.hero-actions .btn-primary:hover { background: rgba(255, 255, 255, .9); color: var(--c-primary); }
.hero-actions .btn-outline { border-color: rgba(255, 255, 255, .7); color: #fff; }
.hero-actions .btn-outline:hover { background: #fff; color: var(--c-primary); }
.hero-media img { border-radius: 14px; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); }
.hero-stats { display: flex; gap: 36px; margin-top: 40px; flex-wrap: wrap; }
.hero-stat b { display: block; font-size: 30px; line-height: 1.2; }
.hero-stat span { font-size: 13px; opacity: .8; }

/* 轮播 */
.swiper { position: relative; }
.slide { display: none; }
.slide.is-active { display: block; animation: fadeUp .5s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.slide-dots { display: flex; gap: 8px; margin-top: 22px; }
.slide-dots button { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .45); }
.slide-dots button.is-active { width: 26px; border-radius: 5px; background: #fff; }

/* ---------------- 网格 ---------------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

/* ---------------- 产品卡片 ---------------- */
.product-card { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; transition: all .25s; display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0, 0, 0, .09); border-color: transparent; }
.product-thumb { display: block; position: relative; padding-top: 75%; background: var(--c-bg-gray); overflow: hidden; }
.product-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product-card:hover .product-thumb img { transform: scale(1.06); }
.product-badge { position: absolute; top: 10px; left: 10px; background: var(--c-accent); color: #fff; font-size: 12px; padding: 2px 8px; border-radius: 4px; z-index: 2; }
.product-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.product-name { font-size: 16px; font-weight: 600; line-height: 1.5; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 48px; }
.product-name a:hover { color: var(--c-primary); }
.product-desc { font-size: 13px; color: var(--c-text-sub); -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 12px; flex: 1; }
.product-meta { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.price { color: #F53F3F; font-weight: 700; font-size: 20px; line-height: 1; }
.price small { font-size: 13px; font-weight: 500; }
.price-old { color: var(--c-text-sub); font-size: 13px; text-decoration: line-through; margin-left: 6px; font-weight: 400; }
.product-sales { font-size: 12px; color: var(--c-text-sub); }

/* ---------------- 文章卡片 ---------------- */
.article-card { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; transition: all .25s; display: flex; flex-direction: column; }
.article-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0, 0, 0, .09); }
.article-thumb { display: block; position: relative; padding-top: 58%; background: var(--c-bg-gray); overflow: hidden; }
.article-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.article-card:hover .article-thumb img { transform: scale(1.05); }
.article-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.article-cat { font-size: 12px; color: var(--c-primary); background: var(--c-primary-l); padding: 2px 10px; border-radius: 20px; align-self: flex-start; margin-bottom: 10px; }
.article-title { font-size: 17px; font-weight: 600; line-height: 1.5; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-title a:hover { color: var(--c-primary); }
.article-summary { font-size: 13px; color: var(--c-text-sub); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 1; margin-bottom: 14px; }
.article-meta { display: flex; align-items: center; gap: 16px; font-size: 12px; color: var(--c-text-sub); border-top: 1px dashed var(--c-border); padding-top: 12px; }
.article-meta .ic { font-size: 13px; }

/* 列表形式的文章 */
.article-list-item { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--c-border); }
.article-list-item:last-child { border-bottom: 0; }
.article-list-thumb { flex: 0 0 220px; border-radius: var(--radius); overflow: hidden; background: var(--c-bg-gray); }
.article-list-thumb img { width: 100%; height: 140px; object-fit: cover; transition: transform .5s; }
.article-list-item:hover .article-list-thumb img { transform: scale(1.05); }
.article-list-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.article-list-main h3 { font-size: 19px; margin-bottom: 10px; }
.article-list-main h3 a:hover { color: var(--c-primary); }
.article-list-main p { color: var(--c-text-sub); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.article-list-main .article-meta { border-top: 0; padding-top: 0; }

/* ---------------- 分类导航 ---------------- */
.cat-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.cat-tabs a { padding: 8px 18px; border-radius: 30px; background: #fff; border: 1px solid var(--c-border); font-size: 14px; }
.cat-tabs a:hover { border-color: var(--c-primary); color: var(--c-primary); }
.cat-tabs a.is-active { background: var(--c-primary); border-color: var(--c-primary); color: var(--c-btn-text); }

/* ---------------- 面包屑 ---------------- */
.breadcrumb { padding: 16px 0; font-size: 13px; color: var(--c-text-sub); }
.breadcrumb a:hover { color: var(--c-primary); }
.breadcrumb .sep { margin: 0 8px; opacity: .5; }
.breadcrumb .cur { color: var(--c-text); }

/* ---------------- 侧栏 ---------------- */
.layout-side { display: grid; grid-template-columns: 1fr 320px; gap: 36px; align-items: start; }
.sidebar { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 22px; }
.widget { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 20px; }
.widget-title { font-size: 17px; margin-bottom: 16px; padding-left: 12px; position: relative; }
.widget-title::before { content: ''; position: absolute; left: 0; top: 4px; bottom: 4px; width: 3px; background: var(--c-primary); border-radius: 2px; }
.widget-list li { padding: 9px 0; border-bottom: 1px dashed var(--c-border); font-size: 14px; display: flex; gap: 10px; }
.widget-list li:last-child { border-bottom: 0; }
.widget-list li a { flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.widget-list .rank { flex: 0 0 20px; height: 20px; line-height: 20px; text-align: center; background: var(--c-bg-gray); color: var(--c-text-sub); border-radius: 4px; font-size: 12px; font-weight: 600; }
.widget-list li:nth-child(1) .rank { background: #F53F3F; color: #fff; }
.widget-list li:nth-child(2) .rank { background: #FF7D00; color: #fff; }
.widget-list li:nth-child(3) .rank { background: #FFB400; color: #fff; }
.widget-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.widget-tags a { padding: 4px 12px; background: var(--c-bg-gray); border-radius: 20px; font-size: 13px; color: var(--c-text-sub); }
.widget-tags a:hover { background: var(--c-primary); color: #fff; }

/* ---------------- 详情页 ---------------- */
.page-hero { background: var(--c-bg-gray); padding: 34px 0; border-bottom: 1px solid var(--c-border); }
.page-hero h1 { font-size: 30px; }
.detail-wrap { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 32px; }
.detail-head h1 { font-size: 28px; line-height: 1.4; margin-bottom: 16px; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13px; color: var(--c-text-sub); padding-bottom: 20px; border-bottom: 1px solid var(--c-border); margin-bottom: 26px; }
.detail-content { font-size: 16px; line-height: 1.9; color: #2b2f36; word-wrap: break-word; }
.detail-content h2 { font-size: 22px; margin: 1.6em 0 .7em; padding-left: 12px; border-left: 4px solid var(--c-primary); }
.detail-content h3 { font-size: 19px; margin: 1.4em 0 .6em; }
.detail-content p { margin: 0 0 1.2em; }
.detail-content img { border-radius: var(--radius); margin: 14px 0; }
.detail-content ul, .detail-content ol { margin: 0 0 1.2em 1.4em; }
.detail-content ul li { list-style: disc; }
.detail-content ol li { list-style: decimal; }
.detail-content blockquote { margin: 1.2em 0; padding: 14px 20px; background: var(--c-bg-gray); border-left: 4px solid var(--c-primary); border-radius: 0 6px 6px 0; color: var(--c-text-sub); }
.detail-content table { margin: 1.2em 0; border: 1px solid var(--c-border); }
.detail-content table th, .detail-content table td { border: 1px solid var(--c-border); padding: 10px 14px; }
.detail-content table th { background: var(--c-bg-gray); }
.detail-content a { color: var(--c-primary); text-decoration: underline; text-underline-offset: 3px; }
.detail-content pre { background: #1d2129; color: #e5e6eb; padding: 16px; border-radius: var(--radius); overflow-x: auto; font-size: 13px; }
.detail-content code { background: var(--c-bg-gray); padding: 2px 6px; border-radius: 4px; font-size: .9em; }
.detail-content pre code { background: none; padding: 0; }
.detail-content video, .detail-content iframe { max-width: 100%; border-radius: var(--radius); }

/* 自动内链样式 */
.il-link { color: var(--c-primary) !important; border-bottom: 1px dashed currentColor; text-decoration: none !important; }
.il-link:hover { color: var(--c-primary-d) !important; }

/* 相关推荐 */
.related-block { margin-top: 40px; }
.related-block h3 { font-size: 19px; margin-bottom: 18px; padding-left: 12px; border-left: 4px solid var(--c-primary); }
.related-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.related-list a { display: block; padding: 12px 16px; background: var(--c-bg-gray); border-radius: var(--radius); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.related-list a:hover { background: var(--c-primary-l); color: var(--c-primary); }

/* 上一篇/下一篇 */
.post-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--c-border); font-size: 14px; }
.post-nav a { flex: 1; color: var(--c-text-sub); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.post-nav a:hover { color: var(--c-primary); }
.post-nav .next { text-align: right; }

/* ---------------- 商品详情 ---------------- */
.product-detail { display: grid; grid-template-columns: 460px 1fr; gap: 40px; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 28px; }
.pd-gallery .main-img { position: relative; padding-top: 100%; border-radius: var(--radius); overflow: hidden; background: var(--c-bg-gray); }
.pd-gallery .main-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.pd-thumbs img { width: 72px; height: 72px; object-fit: cover; border-radius: 6px; border: 2px solid transparent; cursor: pointer; }
.pd-thumbs img.is-active { border-color: var(--c-primary); }
.pd-info h1 { font-size: 25px; line-height: 1.4; margin-bottom: 14px; }
.pd-summary { color: var(--c-text-sub); font-size: 14px; line-height: 1.8; margin-bottom: 20px; }
.pd-price-box { background: linear-gradient(90deg, #FFF5F5, #FFF9F0); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 22px; }
.pd-price { color: #F53F3F; font-size: 34px; font-weight: 700; line-height: 1; }
.pd-price small { font-size: 18px; }
.pd-price-old { color: var(--c-text-sub); text-decoration: line-through; margin-left: 12px; font-size: 15px; }
.pd-stats { display: flex; gap: 24px; margin-top: 10px; font-size: 13px; color: var(--c-text-sub); }
.pd-rows { display: flex; flex-direction: column; gap: 12px; margin-bottom: 22px; }
.pd-row { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.pd-row .label { color: var(--c-text-sub); flex: 0 0 62px; }
.spec-options { display: flex; flex-wrap: wrap; gap: 8px; }
.spec-options button { padding: 6px 16px; border: 1px solid var(--c-border); border-radius: 6px; font-size: 14px; background: #fff; }
.spec-options button.is-active { border-color: var(--c-primary); color: var(--c-primary); background: var(--c-primary-l); }
.qty-box { display: flex; align-items: center; border: 1px solid var(--c-border); border-radius: 6px; overflow: hidden; }
.qty-box button { width: 36px; height: 38px; font-size: 17px; background: var(--c-bg-gray); }
.qty-box input { width: 62px; height: 38px; border: 0; text-align: center; font-size: 15px; }
.pd-actions { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.pd-actions .btn { min-width: 140px; }
.pd-service { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 20px; padding-top: 18px; border-top: 1px dashed var(--c-border); font-size: 13px; color: var(--c-text-sub); }
.pd-service span { display: inline-flex; align-items: center; gap: 5px; }

/* 详情 Tab */
.tabs { margin-top: 30px; }
.tab-nav { display: flex; gap: 4px; border-bottom: 1px solid var(--c-border); overflow-x: auto; }
.tab-nav button { padding: 13px 26px; font-size: 15px; font-weight: 500; color: var(--c-text-sub); white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tab-nav button.is-active { color: var(--c-primary); border-bottom-color: var(--c-primary); }
.tab-pane { display: none; padding: 26px 0; }
.tab-pane.is-active { display: block; }

/* ---------------- 分享条 ---------------- */
.share-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 26px 0; padding: 14px 18px; background: var(--c-bg-gray); border-radius: var(--radius); }
.share-label { font-size: 14px; color: var(--c-text-sub); }
.share-btn { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 17px; color: #fff; background: #b0b5bd; transition: transform .2s, opacity .2s; }
.share-btn:hover { transform: translateY(-2px); color: #fff; opacity: .92; }
.share-wechat { background: #07C160; }
.share-weibo { background: #E6162D; }
.share-qq { background: #12B7F5; }
.share-qzone { background: #FFCE00; color: #8a6d00; }
.share-qzone:hover { color: #8a6d00; }
.share-douban { background: #2E963D; }
.share-copy { background: #4E5969; }
.share-native { background: var(--c-primary); }

/* ---------------- 弹窗 ---------------- */
.modal { position: fixed; inset: 0; z-index: 500; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-mask { position: absolute; inset: 0; background: rgba(0, 0, 0, .5); backdrop-filter: blur(2px); }
.modal-box { position: relative; background: #fff; border-radius: 12px; padding: 28px; max-width: 520px; width: 100%; max-height: 88vh; overflow-y: auto; animation: modalIn .25s ease; z-index: 2; }
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }
.modal-box-sm { max-width: 360px; text-align: center; }
.modal-title { font-size: 19px; margin-bottom: 18px; }
.modal-close { position: absolute; top: 12px; right: 14px; font-size: 26px; line-height: 1; color: var(--c-text-sub); }
.modal-close:hover { color: var(--c-text); }
.share-qr-img { width: 200px; height: 200px; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--c-border); border-radius: 10px; overflow: hidden; }
.share-qr-img img, .share-qr-img svg, .share-qr-img canvas { width: 100%; height: 100%; }
.share-qr-wrap p { font-size: 13px; color: var(--c-text-sub); line-height: 1.7; margin-bottom: 12px; }
.share-url-input { width: 100%; height: 38px; border: 1px solid var(--c-border); border-radius: 6px; padding: 0 12px; font-size: 12px; color: var(--c-text-sub); background: var(--c-bg-gray); }

/* ---------------- 表单 ---------------- */
.form-row { margin-bottom: 18px; }
.form-label { display: block; font-size: 14px; margin-bottom: 8px; font-weight: 500; }
.form-label .req { color: #F53F3F; margin-left: 3px; }
.form-control { width: 100%; height: 44px; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 0 14px; font-size: 15px; background: #fff; transition: border-color .2s; }
.form-control:focus { border-color: var(--c-primary); }
textarea.form-control { height: auto; min-height: 120px; padding: 12px 14px; line-height: 1.7; resize: vertical; }
.form-hint { font-size: 12px; color: var(--c-text-sub); margin-top: 6px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.form-msg { padding: 12px 16px; border-radius: var(--radius); font-size: 14px; margin-bottom: 18px; display: none; }
.form-msg.is-ok { display: block; background: #E8FFF0; color: #0F8A43; border: 1px solid #B7EBC9; }
.form-msg.is-err { display: block; background: #FFF1F0; color: #D32F2F; border: 1px solid #FFCCC7; }

/* ---------------- 留言页 ---------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 380px; gap: 36px; align-items: start; }
.contact-card { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 30px; }
.contact-info-list li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px dashed var(--c-border); }
.contact-info-list li:last-child { border-bottom: 0; }
.contact-info-list .ci-icon { flex: 0 0 42px; height: 42px; border-radius: 50%; background: var(--c-primary-l); color: var(--c-primary); display: flex; align-items: center; justify-content: center; font-size: 19px; }
.contact-info-list .ci-body { flex: 1; }
.contact-info-list .ci-label { font-size: 13px; color: var(--c-text-sub); margin-bottom: 2px; }
.contact-info-list .ci-value { font-size: 15px; font-weight: 500; word-break: break-all; }

/* ---------------- 分页 ---------------- */
.pagination { display: flex; justify-content: center; gap: 8px; margin: 40px 0 10px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 38px; height: 38px; padding: 0 12px; border-radius: 6px; border: 1px solid var(--c-border); display: inline-flex; align-items: center; justify-content: center; font-size: 14px; background: #fff; }
.pagination a:hover { border-color: var(--c-primary); color: var(--c-primary); }
.pagination .is-current { background: var(--c-primary); border-color: var(--c-primary); color: var(--c-btn-text); }
.pagination .disabled { opacity: .45; pointer-events: none; }

/* ---------------- 购物车 / 结算 ---------------- */
.cart-table { width: 100%; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; }
.cart-table th { background: var(--c-bg-gray); font-size: 14px; font-weight: 600; padding: 14px; text-align: left; }
.cart-table td { padding: 16px 14px; border-top: 1px solid var(--c-border); font-size: 14px; vertical-align: middle; }
.cart-prod { display: flex; align-items: center; gap: 14px; }
.cart-prod img { width: 72px; height: 72px; object-fit: cover; border-radius: 6px; background: var(--c-bg-gray); }
.cart-prod .name { font-weight: 500; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cart-del { color: var(--c-text-sub); font-size: 16px; }
.cart-del:hover { color: #F53F3F; }
.cart-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); margin-top: 20px; flex-wrap: wrap; }
.cart-total { font-size: 15px; }
.cart-total b { color: #F53F3F; font-size: 26px; margin-left: 6px; }
.cart-empty { text-align: center; padding: 70px 20px; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); }
.cart-empty .ic { font-size: 56px; color: var(--c-border); display: block; margin: 0 auto 18px; }

.checkout-grid { display: grid; grid-template-columns: 1fr 360px; gap: 30px; align-items: start; }
.order-summary { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 24px; position: sticky; top: 100px; }
.summary-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--c-border); font-size: 14px; }
.summary-item img { width: 54px; height: 54px; object-fit: cover; border-radius: 6px; }
.summary-item .si-main { flex: 1; min-width: 0; }
.summary-item .si-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.summary-item .si-price { color: var(--c-text-sub); font-size: 13px; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 18px; font-size: 15px; }
.summary-total b { color: #F53F3F; font-size: 26px; }
.pay-methods { display: flex; flex-direction: column; gap: 12px; }
.pay-method { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--c-border); border-radius: var(--radius); cursor: pointer; }
.pay-method.is-active { border-color: var(--c-primary); background: var(--c-primary-l); }
.pay-method input { accent-color: var(--c-primary); }
.pay-method .pm-icon { font-size: 22px; }

/* 支付二维码 */
.pay-qr-box { text-align: center; padding: 30px; }
.pay-qr-img { width: 240px; height: 240px; margin: 0 auto 20px; border: 1px solid var(--c-border); border-radius: 10px; padding: 10px; background: #fff; display: flex; align-items: center; justify-content: center; }
.pay-qr-img img, .pay-qr-img canvas { width: 100%; height: 100%; }
.pay-amount { color: #F53F3F; font-size: 32px; font-weight: 700; margin-bottom: 8px; }
.pay-status { font-size: 14px; color: var(--c-text-sub); }

/* ---------------- 空状态 / 加载 ---------------- */
.empty { text-align: center; padding: 60px 20px; color: var(--c-text-sub); }
.empty .ic { font-size: 48px; color: var(--c-border); display: block; margin: 0 auto 16px; }
.skeleton { background: linear-gradient(90deg, #f2f3f5 25%, #e9eaec 37%, #f2f3f5 63%); background-size: 400% 100%; animation: shimmer 1.4s ease infinite; border-radius: 6px; }
@keyframes shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

/* ---------------- 浮动条 ---------------- */
.float-bar { position: fixed; right: 18px; bottom: 90px; z-index: 90; display: flex; flex-direction: column; gap: 8px; }
.float-item { width: 48px; height: 48px; border-radius: 10px; background: #fff; box-shadow: 0 4px 18px rgba(0, 0, 0, .1); display: flex; align-items: center; justify-content: center; font-size: 21px; color: var(--c-text-sub); position: relative; transition: all .2s; cursor: pointer; }
.float-item:hover { background: var(--c-primary); color: #fff; }
.float-pop { position: absolute; right: 58px; top: 50%; transform: translateY(-50%); background: #fff; border-radius: 8px; box-shadow: 0 6px 24px rgba(0, 0, 0, .14); padding: 10px; opacity: 0; visibility: hidden; transition: all .22s; white-space: nowrap; }
.float-item:hover .float-pop { opacity: 1; visibility: visible; right: 62px; }
.float-pop img { width: 120px; height: 120px; object-fit: cover; display: block; margin-bottom: 6px; }
.float-pop span { font-size: 12px; color: var(--c-text-sub); display: block; text-align: center; }
.float-pop-text { padding: 8px 14px; font-size: 13px; color: var(--c-text); }

/* 移动端底部导航 */
.m-tabbar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; background: #fff; border-top: 1px solid var(--c-border); padding-bottom: env(safe-area-inset-bottom); }
.m-tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0 6px; font-size: 11px; color: var(--c-text-sub); }
.m-tabbar a .ic { font-size: 20px; }
.m-tabbar a.is-active { color: var(--c-primary); }

/* ---------------- 页脚 ---------------- */
.site-footer { background: var(--c-footer-bg); color: var(--c-footer-fg); margin-top: 60px; font-size: 14px; }
.footer-main { padding: 52px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.footer-logo { font-size: 21px; font-weight: 700; color: #fff; margin-bottom: 14px; }
.footer-desc { opacity: .7; line-height: 1.8; font-size: 13px; margin-bottom: 18px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 8px; padding: 5px 0; opacity: .78; font-size: 13px; }
.footer-contact a:hover { color: #fff; }
.footer-qr { margin-top: 16px; text-align: center; width: 108px; }
.footer-qr img { width: 100px; height: 100px; object-fit: cover; border-radius: 8px; background: #fff; padding: 4px; }
.footer-qr span { display: block; font-size: 12px; opacity: .65; margin-top: 6px; }
.footer-title { color: #fff; font-size: 16px; margin-bottom: 18px; }
.footer-links li { padding: 5px 0; }
.footer-links a { opacity: .72; font-size: 13px; }
.footer-links a:hover { opacity: 1; color: #fff; padding-left: 4px; }
.footer-friend { border-top: 1px solid rgba(255, 255, 255, .1); padding: 18px 0; font-size: 13px; line-height: 2; }
.friend-label { opacity: .6; }
.footer-friend a { opacity: .72; margin-right: 16px; white-space: nowrap; }
.footer-friend a:hover { opacity: 1; color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 18px 0; font-size: 13px; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.copyright { opacity: .7; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.copyright a { opacity: .85; }
.copyright a:hover { color: #fff; opacity: 1; }
.police-link { display: inline-flex; align-items: center; gap: 4px; }
.police-link img { height: 16px; width: auto; }
.footer-extra { display: flex; gap: 16px; opacity: .7; }
.footer-extra a:hover { color: #fff; }

/* ---------------- 富文本编辑器内容（后台预览） ---------------- */
.editor-content { line-height: 1.9; }

/* ============================================================
 * 响应式 —— PC / 平板 / 手机 / 小窗口
 * ============================================================ */

/* 小笔记本 / 小窗口 */
@media (max-width: 1280px) {
    .nav-item > a { padding: 0 12px; font-size: 14.5px; }
    .hero-title { font-size: 36px; }
}
@media (max-width: 1200px) {
    .grid-5 { grid-template-columns: repeat(4, 1fr); }
    .product-detail { grid-template-columns: 380px 1fr; gap: 28px; }
}

/* 平板横屏 */
@media (max-width: 1024px) {
    .container { padding: 0 18px; }
    .grid-4 { grid-template-columns: repeat(3, 1fr); }
    .grid-5 { grid-template-columns: repeat(3, 1fr); }
    .layout-side { grid-template-columns: 1fr 280px; gap: 26px; }
    .contact-grid { grid-template-columns: 1fr 320px; gap: 26px; }
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
    .footer-col:last-child { display: none; }
    .hero-title { font-size: 32px; }
    .hero-inner { padding: 56px 0; gap: 28px; }
}

/* 平板竖屏 / 导航折叠 */
@media (max-width: 900px) {
    .header-inner { height: 62px; }
    .nav-item > a { height: 62px; }
    .nav-toggle { display: flex; }
    .header-right { position: fixed; inset: 0 0 0 auto; width: min(84vw, 340px); background: #fff; flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 72px 0 20px; box-shadow: -8px 0 32px rgba(0, 0, 0, .12); transform: translateX(102%); transition: transform .3s ease; overflow-y: auto; z-index: 120; gap: 0; }
    .header-right.is-open { transform: none; }
    .main-nav { flex-direction: column; justify-content: flex-start; }
    .nav-list { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
    .nav-item { border-bottom: 1px solid var(--c-border); }
    .nav-item > a { height: auto; padding: 14px 20px; font-size: 15px; justify-content: space-between; }
    .nav-item.is-active > a::after { display: none; }
    .sub-toggle { display: block; position: absolute; right: 0; top: 0; width: 52px; height: 49px; font-size: 14px; }
    .sub-toggle .ic { transition: transform .25s; }
    .nav-item.is-open .sub-toggle .ic { transform: rotate(180deg); }
    .sub-nav, .sub-nav2 {
        position: static; opacity: 1; visibility: visible; transform: none !important;
        box-shadow: none; min-width: 0; width: 100%; padding: 0; display: none; background: var(--c-bg-gray); border-radius: 0;
    }
    .nav-item.is-open > .sub-nav { display: block; }
    .sub-nav > li.is-open > .sub-nav2 { display: block; }
    .sub-nav > li > a { padding: 12px 36px; border-radius: 0; }
    .sub-nav2 { background: #fff; }
    .sub-nav2 li a { display: block; padding: 10px 52px; font-size: 13.5px; }
    .sub-nav > li > a .ic { display: none; }
    .header-actions { flex-direction: row; padding: 20px; gap: 12px; flex-wrap: wrap; }
    .icon-btn { background: var(--c-bg-gray); width: 46px; height: 46px; }
    .btn-cta { margin-left: 0; flex: 1; }
    .search-panel { position: relative; z-index: 110; }

    .hero-inner { grid-template-columns: 1fr; padding: 44px 0; }
    .hero-media { display: none; }
    .grid-3, .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
    .layout-side, .contact-grid, .checkout-grid { grid-template-columns: 1fr; }
    .sidebar, .order-summary { position: static; }
    .product-detail { grid-template-columns: 1fr; padding: 20px; gap: 24px; }
    .related-list { grid-template-columns: 1fr; }
    .float-bar { bottom: 76px; right: 12px; }
    .float-bar .float-item { width: 44px; height: 44px; font-size: 19px; }
    .float-pop { display: none; }
    .m-tabbar { display: flex; }
    .site-footer { margin-bottom: 54px; }
}

/* 手机 */
@media (max-width: 640px) {
    body { font-size: 14.5px; }
    .container { padding: 0 14px; }
    .section { padding: 36px 0; }
    .section-title { font-size: 22px; }
    .topbar { display: none; }
    .grid, .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; gap: 16px; }
    .grid-2.sm-keep { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .hero-title { font-size: 26px; }
    .hero-desc { font-size: 15px; }
    .hero-stats { gap: 22px; margin-top: 26px; }
    .hero-stat b { font-size: 22px; }
    .detail-wrap { padding: 18px; }
    .detail-head h1 { font-size: 21px; }
    .detail-content { font-size: 15.5px; }
    .article-list-item { gap: 12px; padding: 16px 0; }
    .article-list-thumb { flex: 0 0 120px; }
    .article-list-thumb img { height: 84px; }
    .article-list-main h3 { font-size: 16px; margin-bottom: 6px; }
    .article-list-main p { font-size: 13px; -webkit-line-clamp: 2; }
    .article-list-main .article-meta { gap: 10px; font-size: 11px; }
    .article-list-main .article-meta .hide-sm { display: none; }
    .widget { padding: 16px; }
    .pd-info h1 { font-size: 20px; }
    .pd-price { font-size: 28px; }
    .pd-actions .btn { min-width: 0; flex: 1; }
    .form-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
    .footer-col:last-child { display: block; }
    .footer-main { padding: 34px 0 24px; }
    .cart-table thead { display: none; }
    .cart-table, .cart-table tbody, .cart-table tr, .cart-table td { display: block; width: 100%; }
    .cart-table tr { padding: 14px 0; border-top: 1px solid var(--c-border); position: relative; }
    .cart-table td { border: 0; padding: 6px 14px; }
    .cart-table td::before { content: attr(data-label); color: var(--c-text-sub); font-size: 12px; display: block; margin-bottom: 3px; }
    .cart-prod img { width: 60px; height: 60px; }
    .post-nav { flex-direction: column; gap: 10px; }
    .pagination a, .pagination span { min-width: 34px; height: 34px; font-size: 13px; }
    .float-bar { display: none; }
    .m-tabbar { display: flex; }
    .modal-box { padding: 22px 18px; }
    .section-head { margin-bottom: 22px; }
}

/* 小屏手机 / 极窄窗口 */
@media (max-width: 380px) {
    .container { padding: 0 12px; }
    .hero-title { font-size: 22px; }
    .btn { padding: 0 16px; height: 40px; font-size: 14px; }
    .grid-2.sm-keep { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .m-tabbar a span { font-size: 10px; }
    .m-tabbar a .ic { font-size: 18px; }
}

/* 横屏矮窗口 */
@media (max-height: 480px) and (orientation: landscape) {
    .hero-inner { padding: 26px 0; }
    .hero-title { font-size: 24px; }
    .header-inner { height: 54px; }
    .nav-item > a { height: 54px; padding-top: 8px; padding-bottom: 8px; }
}

/* 打印 */
@media print {
    .site-header, .site-footer, .float-bar, .m-tabbar, .share-bar, .topbar { display: none !important; }
    body { font-size: 12pt; }
}

/* 减少动画偏好 */
@media (prefers-reduced-motion: reduce) {
    * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
