/* ============================================================
   MOONS DEALS — Niche Rotation Styles
   Add this to your style.css file
   ============================================================ */

/* ── Section wrapper ── */
.md-niche-section {
  width: 100%;
  margin: 2.5rem auto 0;
  padding: 0 1.25rem 2.5rem;
  box-sizing: border-box;
  font-family: Georgia, serif;
}

/* ── Section headings ── */
.md-niche-heading {
  text-align: center;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #6b5a1e;
  margin-bottom: 0.4rem;
}

.md-niche-divider {
  width: 44px;
  height: 2px;
  background: #9a7d2e;
  margin: 0 auto 1rem;
  border: none;
}

.md-niche-subhead {
  text-align: center;
  font-size: 1.35rem;
  color: #2c2c2c;
  margin: 0 0 1.75rem;
  font-weight: normal;
}

/* ── Three cards side by side ── */
.md-niche-cards {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1.1rem;
  justify-content: center;
}

/* ── Individual card ── */
.md-niche-card {
  flex: 1 1 280px;
  max-width: 350px;
  box-sizing: border-box;
  background: #ffffff;
  border: 1px solid #c8b87a;
  border-top: 4px solid #9a7d2e;
  border-radius: 6px;
  padding: 1.3rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.md-niche-card:hover {
  border-color: #7a6020;
  border-top-color: #7a6020;
  box-shadow: 0 3px 12px rgba(0,0,0,0.1);
}

/* ── Card title ── */
.md-niche-card-title {
  font-size: 1.3rem;
  color: #1a1a1a;
  margin: 0;
  font-weight: bold;
  line-height: 1.35;
}

/* ── Card body text ── */
.md-niche-card-body {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #3a3a3a;
  margin: 0;
  flex: 1;
}

/* ── Affiliate keyword links ── */
.md-niche-card-body a {
  color: #7a5c10;
  font-weight: bold;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(122, 92, 16, 0.4);
}

.md-niche-card-body a:hover {
  color: #3d2d00;
  text-decoration-color: rgba(61, 45, 0, 0.8);
}

/* ── Shop CTA line ── */
.md-niche-card-cta {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9a7d2e;
  font-family: Arial, sans-serif;
  font-weight: bold;
  margin-top: 0.4rem;
  cursor: pointer;
}

/* ── Surprise Me button ── */
.md-surprise-wrap {
  text-align: center;
  margin-top: 1.5rem;
}

#md-surprise-btn {
  background: transparent;
  border: 1px solid #9a7d2e;
  border-radius: 4px;
  color: #7a5c10;
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: bold;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.45rem 1.25rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

#md-surprise-btn:hover {
  background: #9a7d2e;
  color: #ffffff;
}

/* ── Hidden SEO library — visible to Google, not to visitors ── */
#md-seo-library {
  display: none;
}
