/* ============================================================
   格瑞五金商城 - 前台专属样式 store.css
   复用 common.css 的站点壳 / 卡片 / 按钮 / 弹窗等基础组件，
   这里只补充前台购物流程需要的专属组件：轮播、商品卡、
   列表筛选、商品详情、购物车、结算、资讯/公司等。
   响应式：移动优先，断点 640 / 768 / 1024 / 1280。
   ============================================================ */

/* ---------- 通用区块 ---------- */
.section { padding: 20px 0; }
.section--alt { background: #fafafa; }
.section-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.section-head__title { display: flex; align-items: center; gap: 8px; }
.section-head__title svg { width: 20px; height: 20px; color: var(--c-primary); }
.section-head__title h2 { font-size: 40px; font-weight: 700; color: var(--c-primary); }
.section-head__link { display: inline-flex; align-items: center; gap: 2px; font-size: 13px; color: var(--c-text-3); }
.section-head__link:hover { color: var(--c-primary); }
.section-head__link svg { width: 16px; height: 16px; }

/* ---------- 轮播 Banner ---------- */
.banner { position: relative; border-radius: var(--radius); overflow: hidden; background: #e2e8f0; }
.banner__viewport { position: relative; aspect-ratio: 3 / 1.15; }
@media (min-width: 768px) { .banner__viewport { aspect-ratio: 3 / 1; } }
.banner__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .5s; pointer-events: none; }
.banner__slide.is-active { opacity: 1; pointer-events: auto; }
.banner__slide img { width: 100%; height: 100%; object-fit: cover; }
.banner__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.6), rgba(0,0,0,.25) 60%, transparent); }
.banner__content { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 0 24px; color: #fff; }
@media (min-width: 768px) { .banner__content { padding: 0 48px; } }
.banner__content .sub { font-size: 13px; opacity: .85; margin-bottom: 8px; }
@media (min-width: 768px) { .banner__content .sub { font-size: 15px; } }
.banner__content .title { font-size: 22px; font-weight: 700; line-height: 1.2; }
@media (min-width: 768px) { .banner__content .title { font-size: 34px; } }
@media (min-width: 1024px) { .banner__content .title { font-size: 44px; } }
.banner__content .desc { margin-top: 8px; font-size: 13px; opacity: .85; }
@media (min-width: 768px) { .banner__content .desc { font-size: 15px; } }
.banner__content .btn { margin-top: 16px; width: fit-content; }
.banner__dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.banner__dot { width: 8px; height: 8px; border-radius: 999px; background: rgba(255,255,255,.5); cursor: pointer; transition: all .2s; }
.banner__dot.is-active { width: 22px; background: #fff; }
.banner__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 999px; background: rgba(0,0,0,.3); color: #fff; display: none; align-items: center; justify-content: center; z-index: 2; }
.banner__nav:hover { background: rgba(0,0,0,.5); }
.banner__nav svg { width: 20px; height: 20px; }
.banner__nav--prev { left: 12px; }
.banner__nav--next { right: 12px; }
@media (min-width: 768px) { .banner__nav { display: flex; } }

/* ---------- 快捷分类入口 ---------- */
.cat-shortcuts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (min-width: 640px) { .cat-shortcuts { grid-template-columns: repeat(6, 1fr); } }
.cat-shortcut { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 8px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--c-border); transition: background .15s; }
.cat-shortcut:hover { background: var(--c-hover); }
.cat-shortcut .ico { font-size: 24px; }
.cat-shortcut span { font-size: 13px; font-weight: 500; }

/* ---------- 商品网格 / 商品卡 ---------- */
.goods-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (min-width: 640px)  { .goods-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .goods-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1280px) { .goods-grid { grid-template-columns: repeat(4, 1fr); } }
.goods-card { display: flex; flex-direction: column; overflow: hidden;  border-radius: var(--radius); background: #fff; transition: box-shadow .2s; }
.goods-card:hover { box-shadow: var(--shadow-md); }
.goods-card__media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; }
.goods-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.goods-card:hover .goods-card__media img { transform: scale(1.05); }
.goods-card__tags { position: absolute; top: 8px; left: 8px; display: flex; flex-wrap: wrap; gap: 4px; }
.goods-card__tag { padding: 2px 8px; border-radius: 999px; background: var(--c-primary); color: #fff; font-size: 10px; font-weight: 500; }
.goods-card__body { display: flex; flex-direction: column; flex: 1; padding: 12px; }
.goods-card__name { font-size: 14px; font-weight: 500; line-height: 1.4; min-height: 1.8em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.goods-card__name:hover { color: var(--c-primary); }
.goods-card__price { display: flex; align-items: baseline; gap: 6px; margin-top: 8px; }
.goods-card__price .now { font-size: 18px; font-weight: 700; color: #333; }
.goods-card__price .unit { font-size: 12px; color: var(--c-text-3); }
.goods-card__price .old { font-size: 12px; color: var(--c-text-4); text-decoration: line-through; }
.goods-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 8px; }
.goods-card__sales { font-size: 12px; color: var(--c-text-3); }
.goods-card__btn { height: 32px; padding: 0 12px; font-size: 12px; }

/* ---------- 列表页筛选 ---------- */
.filter-layout { display: flex; gap: 16px; align-items: flex-start; }
.filter-side { display: none; width: 256px; flex-shrink: 0; }
@media (min-width: 1024px) { .filter-side { display: block; } }
.filter-box {  border-radius: var(--radius); background: #fff; padding: 20px; }
.filter-box__head { display: flex; align-items: center; gap: 8px; font-weight: 600; margin-bottom: 16px; }
.filter-box__head svg { width: 16px; height: 16px; }
.filter-group { margin-bottom: 24px; }
.filter-group:last-child { margin-bottom: 0; }
.filter-group h4 { font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.filter-opt { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--c-text-2); margin-bottom: 8px; cursor: pointer; }
.filter-opt:last-child { margin-bottom: 0; }
.list-main { flex: 1; min-width: 0; }
.list-bar { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: var(--radius); background: #fff; margin-bottom: 16px; }
@media (min-width: 640px) { .list-bar { flex-direction: row; align-items: center; justify-content: space-between; } }
.list-bar__title { display: flex; align-items: center; gap: 8px; }
.list-bar__title h1 { font-size: 18px; font-weight: 700; color: var(--c-primary); }
.list-bar__count { font-size: 13px; color: var(--c-text-3); }
.sort-select { height: 36px; padding: 0 32px 0 12px; border: 1px solid var(--c-border); border-radius: var(--radius-sm); background: #fff; font-size: 13px; color: var(--c-text-2); }
.m-filter-btn { display: inline-flex; align-items: center; gap: 6px; }
@media (min-width: 1024px) { .m-filter-btn { display: none; } }
.m-filter-btn svg { width: 16px; height: 16px; }
.empty-box { border: 1px solid var(--c-border); border-radius: var(--radius); background: #fff; padding: 64px 16px; text-align: center; color: var(--c-text-4); }

/* ---------- 商品详情 ---------- */
.detail-card {  border-radius: var(--radius); background: #fff; padding: 16px; }
@media (min-width: 768px) { .detail-card { padding: 24px; } }
.detail-layout { display: grid; gap: 24px; }
@media (min-width: 1024px) { .detail-layout { grid-template-columns: 1fr 1fr; } }
.detail-gallery__main { aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--radius-sm); background: #f1f5f9; }
.detail-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.detail-thumbs__wrap { position: relative; margin-top: 12px; }
.detail-thumbs { display: flex; gap: 8px; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; -ms-overflow-style: none; }
.detail-thumbs::-webkit-scrollbar { display: none; }
.detail-thumb { flex: 0 0 calc(25% - 6px); aspect-ratio: 1 / 1; overflow: hidden; border-radius: 6px; border: 2px solid transparent; background: #f1f5f9; cursor: pointer; scroll-snap-align: start; }
.detail-thumb.is-active { border-color: var(--c-primary); }
.detail-thumb img { width: 100%; height: 100%; object-fit: cover; }
.detail-thumbs__btn { position: absolute; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; border: none; background: rgba(0,0,0,0.45); color: #fff; display: none; align-items: center; justify-content: center; cursor: pointer; z-index: 2; padding: 0; }
.detail-thumbs__btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }
.detail-thumbs__prev { left: 4px; }
.detail-thumbs__next { right: 4px; }
@media (min-width: 768px) { .detail-thumbs__btn { display: flex; } }
.detail-thumbs__btn.is-hidden { display: none; }
.detail-name { font-size: 20px; font-weight: 700; color: var(--c-primary); }
@media (min-width: 768px) { .detail-name { font-size: 24px; } }
.detail-meta { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--c-text-3); margin-top: 8px; }
.detail-rate { display: flex; align-items: center; gap: 4px; color: #fbbf24; }
.detail-rate svg { width: 16px; height: 16px; fill: currentColor; }
.detail-price { margin-top: 16px; padding: 16px; border-radius: var(--radius-sm); background: #f8f8f8; }
.detail-price .row { display: flex; align-items: baseline; gap: 8px; }
.detail-price .label { font-size: 13px; color: var(--c-text-3); }
.detail-price .now { font-size: 28px; font-weight: 700; color: var(--c-rose); }
@media (min-width: 768px) { .detail-price .now { font-size: 32px; } }
.detail-price .unit { font-size: 13px; color: var(--c-text-3); }
.detail-price .old { font-size: 13px; color: var(--c-text-4); text-decoration: line-through; }
.detail-price .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.detail-service { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 16px; font-size: 12px; color: var(--c-text-3); }
@media (min-width: 640px) { .detail-service { grid-template-columns: repeat(4, 1fr); } }
.detail-service div { display: flex; align-items: center; gap: 4px; }
.detail-service svg { width: 14px; height: 14px; color: #16a34a; }
.qty-row { display: flex; align-items: center; gap: 16px; margin-top: 20px; }
.qty-row .label { font-size: 13px; color: var(--c-text-3); }
.stepper { display: inline-flex; align-items: center; }
.stepper button { width: 36px; height: 36px; border: 1px solid var(--c-border); background: #fff; font-size: 16px; color: var(--c-text-2); display: flex; align-items: center; justify-content: center; }
.stepper button:hover { background: var(--c-hover); }
.stepper button:first-child { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.stepper button:last-child { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.stepper .num { width: 56px; height: 36px; border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 500; }
.detail-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
@media (min-width: 640px) { .detail-actions { flex-direction: row; } }
.detail-actions .btn { flex: 1; height: 44px; font-size: 15px; }
.detail-minor { display: flex; gap: 8px; margin-top: 16px; }
.detail-minor .btn { font-size: 13px; }
.detail-tabs { margin-top: 16px;  border-radius: var(--radius); background: #fff; }
.detail-tabs .tabs--line .tabs__list { padding: 0 16px; }
.detail-tabs .tabs--line .tab { font-size: 14px; }
.prose { font-size: 14px; line-height: 1.9; color: var(--c-text-2); }
.prose p { margin-bottom: 12px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table td { padding: 12px 16px; border-bottom: 1px solid var(--c-border-soft); }
.spec-table td:first-child { width: 128px; background: #f8fafc; color: var(--c-text-3); }
.review-item { padding: 16px 0; border-bottom: 1px solid var(--c-border-soft); }
.review-item:last-child { border-bottom: none; }
.review-item__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.review-item__user { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }
.review-item__avatar { width: 32px; height: 32px; border-radius: 999px; background: #e2e8f0; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; }
.reviews-rate { display: flex; gap: 2px; color: #fbbf24; }
.reviews-rate svg { width: 14px; height: 14px; fill: currentColor; }

/* ---------- 购物车 ---------- */
.cart-layout { display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 1024px) { .cart-layout { flex-direction: row; align-items: flex-start; } }
.cart-list { flex: 1; min-width: 0;  border-radius: var(--radius); background: #fff; }
.cart-list__head { display: flex; align-items: center; gap: 16px; padding: 16px; border-bottom: 1px solid var(--c-border); }
.cart-list__head .count { margin-left: auto; font-size: 13px; color: var(--c-text-3); }
.cart-item { display: flex; align-items: center; gap: 12px; padding: 16px; border-bottom: 1px solid var(--c-border-soft); }
.cart-item:last-child { border-bottom: none; }
.cart-item__media { width: 80px; height: 80px; flex-shrink: 0; border-radius: 6px; overflow: hidden; background: #f1f5f9; }
.cart-item__media img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__body { flex: 1; min-width: 0; }
.cart-item__name { font-size: 14px; font-weight: 500; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cart-item__sub { font-size: 12px; color: var(--c-text-3); margin-top: 4px; }
.cart-item__row { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.cart-item__price { font-weight: 700; color: var(--c-rose); }
.cart-item__del { color: var(--c-text-3); }
.cart-item__del:hover { color: var(--c-rose); }
.cart-side { width: 100%; }
@media (min-width: 1024px) { .cart-side { width: 320px; flex-shrink: 0; } }
.cart-summary {  border-radius: var(--radius); background: #fff; padding: 16px; position: sticky; top: 96px; }
.cart-summary h3 { font-size: 15px; font-weight: 600; margin-bottom: 12px; }
.summary-line { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--c-text-2); margin-bottom: 8px; }
.summary-line .free { color: #16a34a; }
.summary-total { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.summary-total .amount { font-size: 24px; font-weight: 700; color: var(--c-rose); }
.ship-note { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--c-text-3); margin-top: 8px; }
.ship-note svg { width: 14px; height: 14px; }

/* ---------- 结算 ---------- */
.checkout-layout { display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 1024px) { .checkout-layout { flex-direction: row; align-items: flex-start; } }
.checkout-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.checkout-side { width: 100%; }
@media (min-width: 1024px) { .checkout-side { width: 320px; flex-shrink: 0; } }
.addr-item { display: flex; align-items: flex-start; gap: 12px; padding: 16px; border: 1px solid var(--c-border); border-radius: var(--radius-sm); transition: all .15s; }
.addr-item.is-active { border-color: var(--c-primary); background: #f8fafc; }
.addr-item__body { flex: 1; }
.addr-item__name { font-weight: 600; }
.addr-item__phone { font-size: 13px; color: var(--c-text-3); margin-left: 8px; }
.addr-item__default { margin-left: 8px; padding: 1px 8px; border-radius: 999px; background: var(--c-primary); color: #fff; font-size: 10px; }
.addr-item__addr { font-size: 13px; color: var(--c-text-3); margin-top: 4px; }
.checkout-item { display: flex; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--c-border-soft); }
.checkout-item:last-child { border-bottom: none; }
.checkout-item__media { width: 64px; height: 64px; flex-shrink: 0; border-radius: 6px; overflow: hidden; background: #f1f5f9; }
.checkout-item__media img { width: 100%; height: 100%; object-fit: cover; }
.checkout-item__name { font-size: 14px; font-weight: 500; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.checkout-item__sub { font-size: 12px; color: var(--c-text-3); margin-top: 4px; }
.checkout-item__right { text-align: right; }
.checkout-item__price { font-weight: 600; color: var(--c-rose); }
.checkout-item__qty { font-size: 12px; color: var(--c-text-3); }

/* ---------- 帮助 / 资讯 / 公司 ---------- */
.help-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 768px) { .help-grid { grid-template-columns: repeat(5, 1fr); } }
.help-card { border: 1px solid var(--c-border); border-radius: var(--radius); background: #fff; padding: 24px 16px; text-align: center; transition: box-shadow .2s; }
.help-card:hover { box-shadow: var(--shadow-md); }
.help-card svg { width: 32px; height: 32px; color: var(--c-primary); margin: 0 auto; }
.help-card h3 { margin-top: 12px; font-size: 14px; font-weight: 600; }
.help-card p { margin-top: 4px; font-size: 12px; color: var(--c-text-3); }
.faq-card { border: 1px solid var(--c-border); border-radius: var(--radius); background: #fff; padding: 8px 0; }
.article { font-size: 14px; line-height: 1.9; color: var(--c-text-2); }
.article h2 { font-size: 18px; font-weight: 700; color: var(--c-primary); margin: 8px 0 16px; }
.article h3 { font-size: 16px; font-weight: 600; color: var(--c-text); margin: 24px 0 8px; }
.article p { margin-bottom: 12px; }
.article ul { margin: 0 0 12px; padding-left: 20px; list-style: disc; }
.article li { margin-bottom: 6px; }
.article .callout { padding: 12px 16px; border-radius: var(--radius-sm); background: #f8fafc; border-left: 3px solid var(--c-primary); margin: 12px 0; }

.company-hero { position: relative; overflow: hidden; border-radius: var(--radius); background: #1a1a1a; color: #fff; }
.company-hero__inner { aspect-ratio: 3 / 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 16px; text-align: center; }
.company-hero h1 { font-size: 28px; font-weight: 700; }
@media (min-width: 768px) { .company-hero h1 { font-size: 36px; } }
.company-hero p { margin-top: 12px; max-width: 640px; font-size: 13px; opacity: .7; }
@media (min-width: 768px) { .company-hero p { font-size: 15px; } }
.company-intro { display: grid; gap: 24px; }
@media (min-width: 768px) { .company-intro { grid-template-columns: 1fr 1fr; } }
.company-intro p { font-size: 14px; line-height: 1.9; color: var(--c-text-2); margin-bottom: 12px; }
.company-intro__media { aspect-ratio: 16 / 9; border-radius: var(--radius-sm); overflow: hidden; background: #e2e8f0; }
.company-intro__media img { width: 100%; height: 100%; object-fit: cover; }
.adv-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px)  { .adv-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .adv-grid { grid-template-columns: repeat(3, 1fr); } }
.adv-item { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: var(--radius-sm); background: #f8fafc; }
.adv-item svg { width: 20px; height: 20px; color: #16a34a; flex-shrink: 0; }
.adv-item span { font-size: 14px; font-weight: 500; }
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 768px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-card { border: 1px solid var(--c-border); border-radius: var(--radius); background: #fff; padding: 24px 16px; text-align: center; }
.stat-card svg { width: 32px; height: 32px; color: var(--c-primary); margin: 0 auto; }
.stat-card .val { margin-top: 12px; font-size: 22px; font-weight: 700; }
.stat-card .lbl { font-size: 12px; color: var(--c-text-3); margin-top: 4px; }
.timeline { position: relative; padding-left: 0; }
.timeline__line { display: none; }
@media (min-width: 768px) {
  .timeline { position: relative; }
  .timeline__line { display: block; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--c-border); transform: translateX(-50%); }
}
.timeline__item { position: relative; margin-bottom: 24px; padding-left: 24px; }
@media (min-width: 768px) { .timeline__item { width: 50%; padding: 0 32px; } }
.timeline__item:nth-child(odd) { margin-left: 0; }
@media (min-width: 768px) {
  .timeline__item:nth-child(odd) { margin-left: 0; text-align: right; }
  .timeline__item:nth-child(even) { margin-left: 50%; text-align: left; }
}
.timeline__dot { position: absolute; left: 6px; top: 6px; width: 12px; height: 12px; border-radius: 999px; background: var(--c-primary); z-index: 2; }
@media (min-width: 768px) {
  .timeline__item:nth-child(odd) .timeline__dot { left: auto; right: -6px; }
  .timeline__item:nth-child(even) .timeline__dot { left: -6px; }
}
.timeline__card { padding: 16px; border-radius: var(--radius-sm); background: #f8fafc; }
.timeline__card .year { font-size: 18px; font-weight: 700; color: var(--c-primary); }
.timeline__card .t { font-weight: 600; margin-top: 4px; }
.timeline__card .d { font-size: 13px; color: var(--c-text-3); margin-top: 4px; }

.honor-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 768px) { .honor-grid { grid-template-columns: repeat(2, 1fr); } }
.honor-card { overflow: hidden; border: 1px solid var(--c-border); border-radius: var(--radius); background: #fff; transition: box-shadow .2s; }
.honor-card:hover { box-shadow: var(--shadow-md); }
.honor-card__media { aspect-ratio: 3 / 2; overflow: hidden; background: #f1f5f9; }
.honor-card__media img { width: 100%; height: 100%; object-fit: cover; }
.honor-card__body { padding: 16px; }
.honor-card__title { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.honor-card__icon { width: 32px; height: 32px; border-radius: 999px; background: #fef3c7; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.honor-card__icon svg { width: 16px; height: 16px; color: #d97706; }
.honor-card__desc { font-size: 13px; color: var(--c-text-3); margin-top: 8px; line-height: 1.7; }
.honor-card__foot { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--c-text-4); margin-top: 12px; }

.news-list { display: flex; flex-direction: column; gap: 16px; }
.news-item { display: flex; gap: 16px; padding: 16px; border: 1px solid var(--c-border); border-radius: var(--radius); background: #fff; transition: box-shadow .2s; }
.news-item:hover { box-shadow: var(--shadow-md); }
.news-item__media { width: 120px; height: 90px; flex-shrink: 0; border-radius: var(--radius-sm); overflow: hidden; background: #f1f5f9; }
.news-item__media img { width: 100%; height: 100%; object-fit: cover; }
.news-item__body { flex: 1; min-width: 0; }
.news-item__date { font-size: 12px; color: var(--c-text-4); }
.news-item__title { font-size: 15px; font-weight: 600; margin: 4px 0; }
.news-item__title:hover { color: var(--c-primary); }
.news-item__summary { font-size: 13px; color: var(--c-text-3); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- 联系客服 ---------- */
.contact-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-info__item { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--c-border-soft); }
.contact-info__item svg { width: 20px; height: 20px; color: var(--c-primary); flex-shrink: 0; margin-top: 2px; }
.contact-info__item h4 { font-size: 14px; font-weight: 600; }
.contact-info__item p { font-size: 13px; color: var(--c-text-3); margin-top: 2px; }
.contact-form .form-group { margin-bottom: 16px; }

/* ---------- 窄屏：后台以电脑版为主，仅做不崩处理 ---------- */
@media (max-width: 640px) {
  .list-bar__title h1 { font-size: 16px; }
  .detail-name { font-size: 18px; }
}
