:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --text: #1f2937;
    --text-light: #6b7280;
    --border: #e5e7eb;
    --bg: #ffffff;
    --bg-soft: #f7f8fa;
    --radius: 12px;
    --shadow: 0 6px 24px rgba(17, 24, 39, .08);
}

* { box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a { color: var(--text); }
img { max-width: 100%; display: block; }

/* ============ 头部 ============ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .95);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(8px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.brand-logo { height: 34px; width: auto; }

.brand-name {
    font-size: 19px;
    font-weight: 700;
    color: var(--text);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav-link {
    text-decoration: none;
    color: var(--text);
    font-size: 15px;
    padding: 6px 2px;
    position: relative;
}

.nav-link.active,
.nav-link:hover { color: var(--primary); }

.nav-link.active::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -2px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.nav-member {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-left: 18px;
    border-left: 1px solid var(--border);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 22px; height: 2px;
    background: var(--text);
    border-radius: 2px;
}

/* ============ 按钮 ============ */
.btn {
    display: inline-block;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 8px 18px;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    transition: all .2s;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover { background: var(--primary-dark); }

.btn-outline {
    border-color: var(--primary);
    color: var(--primary);
    background: #fff;
}

.btn-outline:hover { background: var(--primary); color: #fff; }

.btn-danger {
    background: #dc2626;
    color: #fff;
}

.btn-danger:hover { background: #b91c1c; }

.btn-sm { padding: 6px 14px; font-size: 13px; }

/* 移动端触控：小按钮放大到 44px 触控标准，减少订单操作区误触 */
@media (max-width: 768px) {
    .btn-sm {
        padding: 10px 16px;
        font-size: 14px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

/* ============ 首页 Banner ============ */
.hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    color: #fff;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity .6s ease;
}

.hero-slide.active { opacity: 1; }

.hero-dots {
    position: absolute;
    right: 40px;
    bottom: 24px;
    z-index: 3;
    display: flex;
    gap: 10px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .4);
    border: none;
    padding: 0;
    cursor: pointer;
}

.hero-dot.active { background: #fff; }

.hero-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, .72), rgba(37, 99, 235, .35));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
}

.hero-title {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.3;
}

.hero-desc {
    font-size: 17px;
    opacity: .9;
    margin-bottom: 26px;
}

/* ============ 区块 ============ */
.section {
    padding-top: 56px;
    padding-bottom: 56px;
}

.section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 28px;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    padding-left: 12px;
    border-left: 4px solid var(--primary);
}

.section-more {
    font-size: 14px;
    color: var(--text-light);
    text-decoration: none;
}

.section-more:hover { color: var(--primary); }

/* ============ 卡片网格 ============ */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    min-width: 0;
}

.card {
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(17, 24, 39, .05);
    transition: box-shadow .2s, transform .2s, border-color .2s;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.card-thumb {
    aspect-ratio: 16 / 9;
    background: var(--bg-soft);
    overflow: hidden;
}

.card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.card-title {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.5;
}

.card-title a { text-decoration: none; }

.card-title a:hover { color: var(--primary); }

.card-excerpt {
    color: var(--text-light);
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    margin-top: auto;
    display: flex;
    gap: 14px;
    color: var(--text-light);
    font-size: 13px;
}

/* ============ 介绍区 ============ */
.intro {
    background: var(--bg-soft);
}

.intro-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.intro-title { font-size: 26px; margin-bottom: 16px; }
.intro-text { color: var(--text-light); }

/* ============ 面包屑 ============ */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-light);
    padding: 18px 0 16px;
}

.breadcrumb a {
    color: var(--text-light);
    text-decoration: none;
}

.breadcrumb a:hover { color: var(--primary); }

.breadcrumb-current { color: var(--text); }

.breadcrumb-sep { color: #d1d5db; }

.breadcrumb .breadcrumb-sep:last-child { display: none; }

/* ============ 列表页 ============ */
.page-banner {
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    color: #fff;
    padding: 48px 0;
}

.page-banner h1 { font-size: 30px; margin-bottom: 8px; }
.page-banner p { opacity: .85; }

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin: 28px 0;
}

.filter-bar input,
.filter-bar select {
    height: 38px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 0 12px;
    font-size: 14px;
    color: var(--text);
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
}

.filter-bar input:hover,
.filter-bar select:hover { border-color: #9ca3af; }

.filter-bar input:focus,
.filter-bar select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}

.filter-bar input { width: 220px; }

/* ============ 分页 ============ */
.pagination {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 40px;
    list-style: none;
    flex-wrap: wrap;
}

.pagination li { list-style: none; }

.pagination a,
.pagination span {
    min-width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0 10px;
    font-size: 14px;
    text-decoration: none;
    color: var(--text);
}

.pagination .active span,
.pagination a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.pagination .disabled span { color: var(--text-light); }

/* ============ 详情页 ============ */
.article {
    max-width: 820px;
    margin: 0 auto;
    padding: 40px 0;
}

.article-title {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 16px;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    color: var(--text-light);
    font-size: 14px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
}

.article-cover {
    border-radius: var(--radius);
    margin-bottom: 24px;
    overflow: hidden;
}

.article-content { font-size: 16px; }
.article-content img { margin: 16px 0; border-radius: 8px; }

.article-apply { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 8px 0 4px; }
.apply-tag { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.apply-open { background: #e8f5ec; color: #16a34a; }
.apply-closed { background: #f3f4f6; color: var(--text-light); }
.apply-tip { font-size: 13px; color: var(--text-light); }

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 20px;
    min-width: 0;
}

/* ============ 表单 ============ */
.form-wrap {
    max-width: 480px;
    margin: 48px auto;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
}

.form-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: center;
}

.form-group { margin-bottom: 18px; }

.form-group label {
    display: block;
    font-size: 14px;
    margin-bottom: 6px;
    color: var(--text);
}

.form-control {
    width: 100%;
    height: 42px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 0 12px;
    font-size: 15px;
    background: #fff;
    color: var(--text);
    transition: border-color .2s, box-shadow .2s;
}

.form-control:hover { border-color: #9ca3af; }

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}

.form-control:disabled {
    background: #f3f4f6;
    color: var(--text-light);
    cursor: not-allowed;
}

textarea.form-control { height: auto; padding: 10px 12px; resize: vertical; }

/* 图形验证码 / 找回密码验证码行 */
.captcha-row { display: flex; gap: 10px; align-items: center; }
.captcha-row .form-control { flex: 1; }
.captcha-img {
    width: 120px;
    height: 42px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    object-fit: cover;
    cursor: pointer;
    flex: 0 0 120px;
}
.code-send-btn { flex: 0 0 auto; white-space: nowrap; }
.form-forgot { margin-top: 8px; text-align: right; }
.form-forgot a { font-size: 13px; color: var(--primary); text-decoration: none; }
.form-forgot a:hover { text-decoration: underline; }
@media (max-width: 480px) {
    .captcha-img { flex-basis: 100px; width: 100px; }
}

.form-tip { font-size: 13px; color: var(--text-light); margin-top: 6px; }

.form-actions { margin-top: 24px; }

.form-actions .btn { width: 100%; }

.form-alt {
    text-align: center;
    margin-top: 18px;
    font-size: 14px;
    color: var(--text-light);
}

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

.empty-state h3 { margin-bottom: 10px; color: var(--text); }

/* ============ 页脚 ============ */
.site-footer {
    margin-top: 60px;
    background: #111827;
    color: #d1d5db;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 32px;
    padding: 44px 20px;
}

.footer-brand { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.footer-desc { font-size: 14px; opacity: .8; }
.footer-col h4 { color: #fff; margin-bottom: 12px; font-size: 15px; }
.footer-col p { font-size: 14px; margin-bottom: 8px; }
.footer-col a { color: #d1d5db; text-decoration: none; }
.footer-col a:hover { color: #fff; }

.footer-bottom {
    border-top: 1px solid #1f2937;
    padding: 18px 0;
    font-size: 13px;
    opacity: .7;
}

/* ============ 领券中心 ============ */
.coupon-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.coupon-card {
    flex-direction: row;
}

.coupon-face {
    width: 160px;
    flex: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 22px 16px;
    background: var(--bg-soft);
    border-right: 1px dashed var(--border);
}

.coupon-amount {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
    max-width: 100%;
    word-break: break-word;
}

.coupon-amount span { font-size: 13px; font-weight: 500; }

.coupon-condition {
    font-size: 12px;
    color: var(--text-light);
    text-align: center;
}

.coupon-body {
    justify-content: space-between;
    flex: 1;
}

.coupon-action { margin-top: auto; }

.coupon-action form { display: inline; }

.coupon-card--expired { opacity: .55; }
.coupon-card--expired .coupon-face { background: var(--bg-muted, #f2f2f2); }

/* ============ 响应式 ============ */
@media (max-width: 992px) {
    .card-grid,
    .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .intro-inner { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .nav-toggle { display: flex; }

    .site-nav {
        position: absolute;
        top: 68px;
        left: 0; right: 0;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 10px 20px 18px;
        border-bottom: 1px solid var(--border);
        display: none;
    }

    .site-nav.open { display: flex; }

    .site-nav .nav-link { padding: 12px 0; width: 100%; }

    .nav-member {
        border-left: 0;
        padding-left: 0;
        margin-top: 8px;
        width: 100%;
    }

    .hero { min-height: 300px; }
    .hero-title { font-size: 26px; }
    .card-grid,
    .related-grid,
    .coupon-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: 22px; }
    .article-title { font-size: 24px; }
    .section { padding: 36px 0; }
    .breadcrumb { display: none; }
    .filter-bar { flex-direction: column; align-items: stretch; gap: 10px; }
    .filter-bar select, .filter-bar input { flex: 1 1 auto; width: 100%; min-width: 0; }
    .filter-bar button { flex: 1 1 100%; }
}

/* ============ 全局弹框 Toast ============ */
.site-toast-mask {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, .35);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 99999;
    opacity: 0;
    transition: opacity .22s ease;
}

.site-toast-mask.show { opacity: 1; }

.site-toast {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    max-width: 420px;
    background: var(--bg);
    border-radius: var(--radius);
    box-shadow: 0 12px 40px rgba(17, 24, 39, .18);
    padding: 18px 22px;
    border-left: 4px solid var(--primary);
    transform: translateY(-16px) scale(.96);
    transition: transform .22s ease;
}

.site-toast-mask.show .site-toast { transform: translateY(0) scale(1); }

.site-toast-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.site-toast-icon svg { width: 22px; height: 22px; }

.site-toast-success { border-left-color: #16a34a; }
.site-toast-success .site-toast-icon { background: #16a34a; }

.site-toast-error { border-left-color: #dc2626; }
.site-toast-error .site-toast-icon { background: #dc2626; }

.site-toast-info { border-left-color: var(--primary); }
.site-toast-info .site-toast-icon { background: var(--primary); }

.site-toast-body { flex: 1; min-width: 0; }

.site-toast-msg {
    font-size: 15px;
    color: var(--text);
    word-break: break-word;
    line-height: 1.6;
}

.site-toast-close {
    position: absolute;
    top: 8px;
    right: 10px;
    border: 0;
    background: none;
    font-size: 18px;
    line-height: 1;
    color: var(--text-light);
    cursor: pointer;
    padding: 2px 6px;
}

.site-toast-close:hover { color: var(--text); }

@media (max-width: 480px) {
    .site-toast { padding: 16px 18px; gap: 12px; }
    .site-toast-msg { font-size: 14px; }
}

/* 会员入口昵称 */
.nav-member-name { color: var(--text-light); font-size: 14px; }

/* 详情页互动栏 */
.interaction-bar { margin: 24px 0 8px; display: flex; justify-content: flex-end; }

/* 评论区 */
.comment-section { margin: 32px 0; }
.comment-form { margin: 16px 0 24px; }
.comment-form .form-control { margin-bottom: 12px; }
.comment-form-actions { display: flex; justify-content: flex-end; }
.comment-login-tip { color: var(--text-light); margin: 12px 0 20px; }
.comment-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.comment-item { padding: 14px 16px; background: var(--bg-soft); border: 1px solid #d1d5db; border-radius: var(--radius); }
.comment-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.comment-author { font-weight: 600; font-size: 14px; color: var(--text); }
.comment-time { font-size: 12px; color: var(--text-light); }
.comment-content { font-size: 14px; line-height: 1.7; color: var(--text); word-break: break-word; }

/* ============ 首页：主视觉增强 ============ */
.hero { min-height: 460px; }
.hero-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    padding: 6px 14px;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 999px;
    font-size: 13px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #fff;
}
.hero-cta { margin-top: 8px; }

/* ============ 首页：信任卖点条 ============ */
.trust-bar {
    padding: 28px 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    min-width: 0;
}
.trust-item { display: flex; align-items: center; gap: 14px; min-width: 0; }
.trust-ico {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--bg-soft);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}
.trust-ico svg { width: 24px; height: 24px; }
.trust-text { display: flex; flex-direction: column; min-width: 0; }
.trust-title { font-size: 15px; font-weight: 600; }
.trust-sub {
    font-size: 13px;
    color: var(--text-light);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ============ 首页：区块副标题 ============ */
.section-head { flex-wrap: wrap; gap: 8px; }
.section-head > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.section-sub { font-size: 14px; color: var(--text-light); }

/* ============ 首页：品类橱窗 ============ */
.category-visual {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 26px 16px;
    min-width: 0;
}
.cv-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    min-width: 0;
}
.cv-item:hover .cv-media { transform: translateY(-2px); box-shadow: var(--shadow); }
.cv-media {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: var(--bg-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}
.cv-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.cv-item:hover .cv-media img { transform: scale(1.08); }
.cv-ico { font-size: 26px; font-weight: 600; color: var(--primary); }
.cv-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    text-align: center;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}
.cv-item:hover .cv-name { color: var(--primary); }

/* ============ 首页：双栏品类横幅 ============ */
.promo-section { padding-top: 0; }
.promo-dual {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    min-width: 0;
}
.promo-card {
    position: relative;
    display: block;
    aspect-ratio: 16/9;
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    min-width: 0;
}
.promo-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.promo-card:hover img { transform: scale(1.06); }
.promo-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 23, 42, .55), rgba(15, 23, 42, .15));
}
.promo-body {
    position: absolute;
    left: 24px;
    bottom: 22px;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.promo-name { font-size: 22px; font-weight: 700; }
.promo-cta { font-size: 14px; opacity: .95; }

/* ============ 首页：资讯卡片 ============ */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    min-width: 0;
}
.news-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow .25s, transform .25s;
}
.news-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.news-media { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--bg-soft); }
.news-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.news-card:hover .news-media img { transform: scale(1.06); }
.news-body { padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.news-title { font-size: 16px; font-weight: 600; line-height: 1.5; }
.news-title a { text-decoration: none; color: var(--text); }
.news-title a:hover { color: var(--primary); }
.news-excerpt {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-meta { margin-top: auto; font-size: 13px; color: var(--text-light); }

/* ============ 首页：响应式 ============ */
@media (max-width: 992px) {
    .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .category-visual { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    /* Hero：收紧高度与文案，避免标题被裁切；加深遮罩保证白字对比 */
    .hero { min-height: 280px; }
    .hero-mask { background: linear-gradient(135deg, rgba(15, 23, 42, .82), rgba(37, 99, 235, .45)); }
    .hero-content { padding-top: 8px; padding-bottom: 8px; }
    .hero-eyebrow { display: none; }
    .hero-title { font-size: 23px; line-height: 1.35; margin-bottom: 10px; }
    .hero-desc {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 18px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .hero-cta { padding: 9px 20px; background: #fff; color: var(--primary); border-color: #fff; }
    .hero-cta:hover { background: var(--bg-soft); }

    /* 卖点条：保持 2 列紧凑，不再纵向堆叠 */
    .trust-bar { padding: 20px 0; }
    .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
    .trust-item { gap: 10px; }
    .trust-ico { width: 38px; height: 38px; flex-basis: 38px; border-radius: 10px; }
    .trust-ico svg { width: 20px; height: 20px; }
    .trust-title { font-size: 14px; }
    .trust-sub {
        font-size: 12px;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* 区块间距与标题收紧 */
    .section { padding: 28px 0; }
    .section-head { margin-bottom: 18px; gap: 6px; }
    .section-title { font-size: 20px; }
    .section-sub { font-size: 13px; }

    /* 品类橱窗：4 列紧凑图标网格 */
    .category-visual { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 10px; }
    .cv-media { width: 60px; height: 60px; border-radius: 16px; }
    .cv-ico { font-size: 22px; }
    .cv-name {
        font-size: 13px;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        line-height: 1.3;
        min-height: 2.6em;
    }

    /* 双栏横幅 */
    .promo-dual { grid-template-columns: 1fr; gap: 14px; }
    .promo-card { aspect-ratio: 4/3; }
    .promo-body { left: 18px; bottom: 16px; }
    .promo-name { font-size: 18px; }

    /* 资讯卡片 */
    .news-grid { grid-template-columns: 1fr; gap: 14px; }
    .news-media { aspect-ratio: 16/9; }

    /* 商品网格收紧间距 */
    .product-grid { gap: 12px; }
}

@media (max-width: 480px) {
    .trust-grid { gap: 12px 10px; }
    .trust-ico { width: 34px; height: 34px; flex-basis: 34px; }
    .category-visual { gap: 16px 8px; }
    .cv-media { width: 56px; height: 56px; }
}
