/* Featured Products：强制横向滚动（含宽屏/带鱼屏） */
.feat-carousel {
  position: relative !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100% !important;
}
.feat-viewport {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.feat-viewport::-webkit-scrollbar { display: none; }
.feat-track {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  gap: 16px !important;
  width: max-content !important;
  max-width: none !important;
}
.feat-card {
  flex: 0 0 260px !important;
  width: 260px !important;
  min-width: 260px !important;
  max-width: 260px !important;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  transition: box-shadow .2s;
  /* 防止被当成块级竖排 */
  float: none !important;
  display: block !important;
}
.feat-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.08); }
.feat-card a { color: inherit; text-decoration: none; display: block; }
.feat-img {
  height: 160px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 13px;
}
.feat-img img {
  max-width: 90%;
  max-height: 90%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.feat-body { padding: 12px 14px 16px; }
.feat-body h3 {
  font-size: 13px;
  margin: 0 0 6px;
  height: 36px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-weight: 600;
  line-height: 1.35;
}
.feat-body .cas {
  font-size: 12px;
  color: #6c757d;
  margin-bottom: 10px;
  font-family: ui-monospace, monospace;
}
.feat-link {
  display: inline-block;
  padding: 5px 12px;
  background: #0b5ed7;
  color: #fff !important;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 500;
}
.feat-btn {
  flex-shrink: 0 !important;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #e5e7eb;
  background: #fff;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  color: #374151;
}
.feat-btn:hover { background: #f8fafc; border-color: #93c5fd; color: #0b5ed7; }

@media (min-width: 1440px) {
  .feat-card {
    flex-basis: 280px !important;
    width: 280px !important;
    min-width: 280px !important;
    max-width: 280px !important;
  }
}
@media (max-width: 640px) {
  .feat-card {
    flex-basis: 78vw !important;
    width: 78vw !important;
    min-width: 78vw !important;
    max-width: 78vw !important;
  }
  .feat-btn { display: none; }
}
