/* 50 Plus Hub — Marketplace: Product Cards, Ratings */

.deals-section {
  padding: 48px 0;
}

.deals-header {
  margin-bottom: 24px;
}
.deals-header h2 { margin-bottom: 4px; }
.deals-header p { color: var(--text-muted); font-size: 0.95rem; }

.deals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.deal-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.deal-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.deal-card .deal-accent {
  height: 4px;
}

.deal-card .deal-img {
  height: 200px;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.deal-card .deal-img img {
  max-height: 160px;
  object-fit: contain;
}

.deal-card .deal-body {
  padding: 20px;
}
.deal-card .deal-body h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.deal-card .deal-body h3 a {
  color: var(--text);
}
.deal-card .deal-body h3 a:hover {
  color: var(--link);
  text-decoration: none;
}

/* Star rating */
.stars {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
}
.stars .star {
  color: #F9A825;
  font-size: 0.9rem;
}
.stars .star.empty { color: var(--border); }
.stars .rating-count {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-left: 4px;
}

.deal-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
}
.deal-price .original {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: line-through;
  font-weight: 400;
  margin-left: 8px;
}

.deal-card .btn {
  width: 100%;
  text-align: center;
}

/* Deal links row */
.deals-links {
  display: flex;
  gap: 20px;
  margin-top: 24px;
  font-weight: 600;
}

/* Marketplace page */
.marketplace-hero {
  background: var(--nav-bg);
  color: #fff;
  padding: 48px 0;
  text-align: center;
}
.marketplace-hero h1 { color: #fff; margin-bottom: 8px; }
.marketplace-hero p { opacity: 0.85; }

.marketplace-categories {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 24px 0;
}
.marketplace-categories a {
  padding: 8px 20px;
  background: var(--bg-light);
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}
.marketplace-categories a:hover {
  background: var(--link);
  color: #fff;
  text-decoration: none;
}

/* Buying guide cards */
.guide-card {
  background: var(--bg-warm);
  border-radius: var(--radius);
  padding: 24px;
  border-left: 4px solid var(--link);
}
.guide-card h3 { margin-bottom: 8px; }
.guide-card p { color: var(--text-muted); font-size: 0.95rem; }

@media (max-width: 768px) {
  .deals-grid { grid-template-columns: 1fr; }
}
