/* 供应商店铺 · 现代模板（首页） */
.store-modern {
  --sm-ink: #0f172a;
  --sm-muted: #64748b;
  --sm-line: #e7edf6;
  --sm-primary: #2457f5;
  --sm-soft: #eef3ff;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px 40px;
  color: var(--sm-ink);
  font-size: 15px;
  line-height: 1.6;
}
.store-modern a { text-decoration: none; color: inherit; }
.store-modern .sm-wrap { display: block; }

/* 数据条 */
.store-modern .sm-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 18px 0 20px;
  background: var(--sm-line);
  border: 1px solid var(--sm-line);
  border-radius: 14px;
  overflow: hidden;
}
.store-modern .sm-stat { background: #fff; padding: 14px 18px; }
.store-modern .sm-stat b {
  display: block;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.store-modern .sm-stat span { display: block; margin-top: 2px; font-size: 12px; color: var(--sm-muted); }

/* 两栏 */
.store-modern .sm-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 336px;
  gap: 22px;
  align-items: start;
}
.store-modern .sm-main { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.store-modern .sm-aside {
  position: sticky;
  top: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

/* 卡片 */
.store-modern .sm-card {
  background: #fff;
  border: 1px solid var(--sm-line);
  border-radius: 18px;
  box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 12px 32px rgba(15,23,42,.04);
}
.store-modern .sm-hd { display: flex; align-items: center; gap: 10px; padding: 20px 22px 0; }
.store-modern .sm-hd h2 { margin: 0; font-size: 17px; font-weight: 650; letter-spacing: -.01em; }
.store-modern .sm-more { margin-left: auto; padding: 6px 4px; margin-right: -4px; border-radius: 6px; font-size: 12px; color: var(--sm-muted); }
.store-modern .sm-more:hover { color: var(--sm-primary); }
.store-modern .sm-bd { padding: 18px 22px 22px; }

/* 企业介绍 */
.store-modern .sm-intro { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 22px; }
.store-modern .sm-photo {
  position: relative;
  min-height: 210px;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(135deg, #e8eef8 0%, #f7f9fc 55%, #e3ebf7 100%);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.store-modern .sm-photo:after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0) 55%, rgba(15,23,42,.28) 100%);
}
.store-modern .sm-photo span { position: relative; z-index: 1; color: #fff; font-size: 13px; font-weight: 600; text-shadow: 0 1px 2px rgba(0,0,0,.25); }
.store-modern .sm-gallery { display: flex; gap: 8px; margin-top: 10px; }
.store-modern .sm-gallery i { height: 8px; flex: 1; border-radius: 99px; background: #e7edf6; }
.store-modern .sm-gallery i.on { background: var(--sm-primary); }
.store-modern .sm-intro-txt { min-width: 0; }
.store-modern .sm-intro-txt h3 { margin: 0 0 8px; font-size: 18px; font-weight: 650; overflow-wrap: anywhere; }
.store-modern .sm-intro-txt p { margin: 0 0 12px; color: var(--sm-muted); font-size: 14px; line-height: 1.85; overflow-wrap: anywhere; }
.store-modern .sm-facts { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--sm-muted); font-size: 13px; }
.store-modern .sm-facts b { color: var(--sm-ink); font-weight: 600; }

/* 产品 */
.store-modern .sm-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.store-modern .sm-product {
  border: 1px solid #eef2f8; border-radius: 13px; overflow: hidden; background: #fff;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.store-modern .sm-product:hover { transform: translateY(-3px); border-color: #dbe5f5; box-shadow: 0 12px 26px rgba(15,23,42,.08); }
.store-modern .sm-thumb {
  aspect-ratio: 4 / 3;
  background-color: #eef4fb;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.store-modern .sm-product p {
  margin: 0; padding: 11px 12px; font-size: 13px; line-height: 1.45; color: #334155;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 58px;
}
.store-modern .sm-empty { grid-column: 1 / -1; padding: 24px; text-align: center; color: var(--sm-muted); font-size: 13px; }
.store-modern .sm-empty a { color: var(--sm-primary); }

/* 新闻 */
.store-modern .sm-news { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 22px; }
.store-modern .sm-news a { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px dashed #eef2f7; font-size: 13px; color: #334155; min-width: 0; }
.store-modern .sm-news a:hover { color: var(--sm-primary); }
.store-modern .sm-news time { flex: 0 0 auto; color: #5b6b82; font-size: 12px; font-variant-numeric: tabular-nums; }
.store-modern .sm-news span { min-width: 0; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* 右侧 */
.store-modern .sm-contact { padding: 20px 22px 22px; }
.store-modern .sm-contact h2 { margin: 0 0 14px; font-size: 17px; font-weight: 650; }
.store-modern .sm-row { display: flex; gap: 10px; padding: 7px 0; font-size: 13px; color: #334155; border-bottom: 1px dashed #f1f5f9; }
.store-modern .sm-row:last-of-type { border-bottom: 0; }
.store-modern .sm-row em { font-style: normal; color: #5b6b82; flex: 0 0 52px; }
.store-modern .sm-row span { min-width: 0; overflow-wrap: anywhere; }
.store-modern .sm-contact .sm-btn {
  display: flex; align-items: center; justify-content: center;
  height: 42px; margin-top: 12px; border-radius: 10px;
  background: var(--sm-primary); color: #fff; font-size: 14px; font-weight: 600;
}
.store-modern .sm-contact .sm-btn:hover { background: #1b46d6; }

.store-modern .sm-info dl { margin: 0; }
.store-modern .sm-row2 { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed #f1f5f9; font-size: 13px; }
.store-modern .sm-row2:last-child { border-bottom: 0; }
.store-modern .sm-row2 dt { margin: 0; color: #5b6b82; }
.store-modern .sm-row2 dd { margin: 0; color: #334155; font-weight: 500; text-align: right; }

.store-modern .sm-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.store-modern .sm-tag { display: inline-flex; align-items: center; height: 28px; padding: 0 11px; border-radius: 999px; background: #f3f6fb; color: #475569; font-size: 12px; }
.store-modern .sm-tag.iso { background: #e9f7f0; color: #0f7a55; font-weight: 600; }

@media (max-width: 1080px) {
  .store-modern .sm-grid { grid-template-columns: 1fr; }
  .store-modern .sm-aside { position: static; }
  .store-modern .sm-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .store-modern .sm-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .store-modern { padding: 0 14px 28px; }
  .store-modern .sm-intro { grid-template-columns: 1fr; }
  .store-modern .sm-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .store-modern .sm-news { grid-template-columns: 1fr; }
}
