/* ============================================================
   FLAMEWOOD — CARE, SPECS, ABOUT CANDLES
   ------------------------------------------------------------
   - Handles Candle Care lists
   - Specs footnote line
   - About Candles intro panel
   - Tag-colored pill buttons
   - Optional handwritten notecard styling
   ============================================================ */

/* ============================================================
   SECTION SPACING
   ============================================================ */
section {
  margin: 48px 0;   /* space above/below each section */
}

section h2 {
  margin-bottom: 18px; /* breathing room under headers */
}

section p.subtle {
  margin-bottom: 12px; /* descriptions under headers */
}

/* ============================================================
   COLORED TAGS
   ============================================================ */
.tag {
  display: inline-block;
  padding: 3px 10px;
  margin: 2px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}

.tag.spice     { background: var(--rust); }
.tag.woods     { background: var(--sage); }
.tag.citrus    { background: var(--gold); color:#222; }
.tag.floral    { background: var(--plum); }
.tag.sweet     { background: #d979b7; }
.tag.seasonal  { background: #2f6b74; }

/* ============================================================
   NOTE LISTS
   (general purpose lists, readable against dark paper)
   ============================================================ */
.note {
  background: transparent;
  color: var(--ink);
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}

.note strong {
  color: var(--ink);
  font-weight: 700;
}

/* ============================================================
   SPECS LINE (Flamewood)
   ============================================================ */
.specs-line {
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 18px;
  margin-top: 14px;
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  display: inline-block;
}

/* ============================================================
   FOOTNOTE (handwritten sub-note, centered)
   ============================================================ */
.footnote {
  font-family: "Caveat", cursive;
  font-size: 28px;                     
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);    
  margin: 5px 0;                       
  text-align: center;                  
  font-style: italic;
  line-height: 1.6;
  letter-spacing: 0.4px;
}

/* Tighten spacing between CARE and SPECS only */
#care + #candle-specs {
  margin-top: -5px;
}

/* ============================================================
   ABOUT CANDLES SECTION
   ============================================================ */
#about-candles h2 {
  font-family: "Fraunces", serif;
  font-size: 28px;
  font-weight: 900;
  margin: 10px 0 16px;
}

#about-candles p {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 14px;
}

/* ============================================================
   LINK BUTTONS (About Candles section)
   Match colored filter pill style
   ============================================================ */
.links-row {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.link-btn {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

/* Variants to match your tags */
.link-btn.spice     { background: var(--rust); }
.link-btn.woods     { background: var(--sage); }
.link-btn.citrus    { background: var(--gold); color: #222; }
.link-btn.floral    { background: var(--plum); }
.link-btn.sweet     { background: #d979b7; }
.link-btn.seasonal  { background: #2f6b74; }

.link-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* ============================================================
   HANDWRITTEN NOTECARD STYLE
   For when you want whole panels to look like notepads
   ============================================================ */
.notecard {
  background: #fffef8;
  border: 1px solid #e2dfd5;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  border-radius: 8px;
  padding: 20px;
}

.handwritten {
  font-family: "Caveat", cursive;
  font-size: 18px;
  line-height: 1.7;
  color: #2e2a27;
  list-style-type: "✦ ";               
  margin: 12px 0 20px;
  padding-left: 12px;
}

.handwritten li {
  margin: 6px 0;
}

.notecard h2, 
.notecard h3 {
  font-family: "Caveat", cursive;
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 10px;
  color: #1f1c1a;
}


/* Limit candle grid to 6 visible cards with scroll */
#candleGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 per row */
  gap: 24px;
  max-height: 800px;   /* adjust so ~6 fit comfortably */
  overflow-y: auto;     /* vertical scroll if more than 6 */
  padding-right: 10px;  /* room for scrollbar */
}

/* Optional: nice scrollbars */
#candleGrid::-webkit-scrollbar {
  width: 8px;
}
#candleGrid::-webkit-scrollbar-thumb {
  background: var(--muted);
  border-radius: 4px;
}
#candleGrid::-webkit-scrollbar-thumb:hover {
  background: var(--ink);
}
