/* ===== BMI HERO — AFFILIATE PAGE SHARED STYLES ===== */

/* HERO FEATURED CARD */
.featured-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 48px;
  min-height: 340px;
}

.featured-img {
  position: relative;
  overflow: hidden;
  background: var(--bg2);
  min-height: 280px;
}

.featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.featured-hero:hover .featured-img img { transform: scale(1.03); }

.featured-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--accent);
  color: white;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  z-index: 2;
}

.featured-body {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.featured-cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
}

.featured-title {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text);
  line-height: 1.2;
}

.featured-desc {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.7;
}

.featured-price {
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
}

.featured-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.stars {
  color: #f59e0b;
  font-size: 14px;
  letter-spacing: 1px;
}

.review-count {
  font-size: 13px;
  color: var(--text3);
  font-weight: 500;
}

.btn-affiliate {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: white;
  border: none;
  padding: 14px 24px;
  border-radius: 28px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  width: fit-content;
}

.btn-affiliate:hover { opacity: 0.88; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.15); }

.btn-affiliate-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  padding: 10px 18px;
  border-radius: 24px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  width: fit-content;
}

.btn-affiliate-ghost:hover { background: var(--accent); color: white; }

/* AFFILIATE DISCLAIMER */
.disclaimer {
  background: var(--amber-l);
  border: 1px solid var(--amber);
  border-radius: var(--r-sm);
  padding: 12px 16px;
  font-size: 13px;
  color: var(--text2);
  margin-bottom: 32px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

/* CARD GRID */
.aff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.aff-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.aff-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.aff-card-img {
  height: 200px;
  overflow: hidden;
  background: var(--bg2);
  position: relative;
}

.aff-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; display: block; }
.aff-card:hover .aff-card-img img { transform: scale(1.05); }

.aff-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--accent);
  color: white;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
}

.aff-card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.aff-card-cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
}

.aff-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.aff-card-desc {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.6;
  flex: 1;
}

.aff-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.aff-price {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
}

.aff-stars { color: #f59e0b; font-size: 12px; }
.aff-reviews { font-size: 11px; color: var(--text3); }

/* FILTER BAR */
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.filter-btn {
  padding: 7px 16px;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text2);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.filter-btn.active { background: var(--accent); color: white; border-color: var(--accent); }

/* EMPTY STATE */
.empty-state {
  text-align: center;
  padding: 72px 24px;
  color: var(--text3);
}

.empty-state-icon { font-size: 48px; margin-bottom: 16px; }
.empty-state h3 { font-size: 20px; color: var(--text2); margin-bottom: 8px; }

@media (max-width: 768px) {
  .featured-hero { grid-template-columns: 1fr; }
  .featured-img { min-height: 220px; }
  .featured-body { padding: 24px; }
}
