/* =========================================================
   Default 1.0.0 — bundles.css（P2-⑧ 拆分，由 theme.css/theme.js 抽出）
   仅本页面加载；核心共享样式仍由 layouts/theme.liquid head 加载 theme.css/theme.js
   ========================================================= */

/* ===== 组合卡片（/bundles 组合索引页） ===== */

.bundle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.bundle-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border);
  border-radius: var(--cards-radius, 8px);
  overflow: hidden;
  background: var(--color-bg);
  box-shadow: 0 6px 20px rgba(0, 0, 0, var(--cards-shadow-opacity, 0));
}
.bundle-card-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
}
.bundle-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bundle-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.bundle-card-title {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
}
.bundle-card-desc {
  font-size: 13px;
  color: var(--color-text-muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bundle-card-meta {
  font-size: 12px;
  color: var(--color-text-muted);
  margin: 0;
}
.bundle-card-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
}
.bundle-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-accent);
}
.bundle-compare-at {
  font-size: 14px;
  color: var(--color-text-muted);
  text-decoration: line-through;
}
.bundle-add-btn {
  width: 100%;
  margin-top: 8px;
}

@media (max-width: 768px) {
  .bundle-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}
@media (max-width: 480px) {
  .bundle-grid {
    grid-template-columns: 1fr;
  }
}

