/* 双列竖卡商品流（首页 / 分类 / 搜索共用） */
.jd-products.jd-products--grid .jd-card--feed,
.a88-feed-grid .jd-card--feed {
  position: relative;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  margin: 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.jd-products.jd-products--grid .jd-card--feed .jd-card-feed-link,
.a88-feed-grid .jd-card--feed .jd-card-feed-link {
  display: block !important;
  flex-direction: column !important;
  text-decoration: none;
  color: inherit;
}

.jd-products.jd-products--grid .jd-card--feed .jd-card-img,
.a88-feed-grid .jd-card--feed .jd-card-img {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  background: #fafafa;
  position: relative;
  overflow: hidden;
}

.jd-products.jd-products--grid .jd-card--feed .jd-card-img img,
.a88-feed-grid .jd-card--feed .jd-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.jd-products.jd-products--grid .jd-card--feed .jd-card-info,
.a88-feed-grid .jd-card--feed .jd-card-info {
  flex: none !important;
  width: auto !important;
  padding: 8px 8px 28px !important;
  box-sizing: border-box;
}

.jd-products.jd-products--grid .jd-card--feed .jd-card-title,
.a88-feed-grid .jd-card--feed .jd-card-title {
  font-size: 13px;
  line-height: 1.35;
  max-height: 2.7em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: #333;
  margin-bottom: 4px;
  word-break: break-all;
}

.jd-products.jd-products--grid .jd-card--feed .jd-card-keywords,
.a88-feed-grid .jd-card--feed .jd-card-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0 0 6px;
  min-height: 18px;
}

.jd-products.jd-products--grid .jd-card--feed .jd-card-kw,
.a88-feed-grid .jd-card--feed .jd-card-kw {
  font-size: 10px;
  color: var(--ice-primary, #4a9ff5);
  background: #e8f4ff;
  padding: 1px 6px;
  border-radius: 3px;
}

.jd-products.jd-products--grid .jd-card--feed .jd-card-kw--svc,
.a88-feed-grid .jd-card--feed .jd-card-kw--svc {
  color: #999;
  background: #f5f5f5;
}

.jd-products.jd-products--grid .jd-card--feed .jd-card-kw--hot,
.a88-feed-grid .jd-card--feed .jd-card-kw--hot {
  color: #ff6a00;
  background: #fff7e6;
}

.jd-products.jd-products--grid .jd-card--feed .jd-card-foot,
.a88-feed-grid .jd-card--feed .jd-card-foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px;
}

.jd-products.jd-products--grid .jd-card--feed .jd-card-price,
.a88-feed-grid .jd-card--feed .jd-card-price {
  flex: 1;
  min-width: 0;
  display: block !important;
}

.jd-products.jd-products--grid .jd-card--feed .jd-card-price .p,
.a88-feed-grid .jd-card--feed .jd-card-price .p {
  font-size: 15px;
  font-weight: 700;
  color: var(--ice-accent, #ff8c00) !important;
  line-height: 1.2;
}

.jd-products.jd-products--grid .jd-card--feed .jd-card-price .p small,
.a88-feed-grid .jd-card--feed .jd-card-price .p small {
  font-size: 11px;
}

.jd-products.jd-products--grid .jd-card--feed .jd-card-price .jd-price-range,
.a88-feed-grid .jd-card--feed .jd-card-price .jd-price-range {
  display: none !important;
}

.jd-products.jd-products--grid .jd-card--feed .jd-card-sales,
.a88-feed-grid .jd-card--feed .jd-card-sales {
  flex-shrink: 0;
  font-size: 10px;
  color: #999;
  white-space: nowrap;
}

.jd-products.jd-products--grid .jd-card--feed .jd-card-tag,
.a88-feed-grid .jd-card--feed .jd-card-tag {
  font-size: 10px;
  padding: 2px 5px;
  top: 6px;
  left: 6px;
  z-index: 1;
}

.jd-products.jd-products--grid .jd-card--feed .jd-card-btn-cart,
.a88-feed-grid .jd-card--feed .jd-card-btn-cart {
  display: none !important;
}

.jd-products.jd-products--grid .jd-card--feed .jd-card-add,
.a88-feed-grid .jd-card--feed .jd-card-add {
  position: absolute;
  right: 6px;
  bottom: 6px;
  width: 26px;
  height: 26px;
  border: none;
  border-radius: 50%;
  background: var(--ice-accent, #ff8c00);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(255, 140, 0, 0.35);
}

.jd-products.jd-products--grid .jd-card--feed .jd-card-swipe-hint,
.a88-feed-grid .jd-card--feed .jd-card-swipe-hint {
  display: none !important;
}

.jd-products.jd-products--grid .jd-card--feed .jd-card-services,
.jd-products.jd-products--grid .jd-card--feed .jd-card-tier-hint,
.jd-products.jd-products--grid .jd-card--feed .original,
.a88-feed-grid .jd-card--feed .jd-card-services,
.a88-feed-grid .jd-card--feed .jd-card-tier-hint,
.a88-feed-grid .jd-card--feed .original {
  display: none !important;
}

/* 搜索页全宽双列 */
.jd-search-result-page .jd-products.jd-products--grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
  padding: 8px 12px !important;
  background: #f5f5f5 !important;
  box-sizing: border-box !important;
}

.jd-search-result-page .jd-m-section {
  padding-top: 0;
}
