/* ===========================================================
   Hearthside Picks — Elementor Template Overrides
   Consolidated CSS from Steps 5-8 (Roundup, Comparison, Review, Guide).
   Loaded only when Elementor is active.
   =========================================================== */

/* ===========================================================
   COMPARISON TEMPLATE (Step 6)
   =========================================================== */

/* Verdict box */
.hsp-verdict-box {
  background: #FAFAF8;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
}

/* Affiliate disclosure */
.hsp-disclosure {
  font-size: 13px;
  color: #1A1A2E;
  opacity: 0.7;
  text-align: center;
  margin: 0;
}

/* Comparison table */
.hsp-table-wrap {
  overflow-x: auto;
  border-radius: 10px;
  border: 1px solid #E5E7EB;
}
.hsp-compare {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 15px;
  color: #1A1A2E;
}
.hsp-compare th,
.hsp-compare td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid #E5E7EB;
}
.hsp-compare thead th {
  background: #1A1A2E;
  color: #FAFAF8;
  font-weight: 600;
}
.hsp-compare tbody tr:last-child td { border-bottom: 0; }
.hsp-winner-cell {
  border-left: 4px solid #1B4D3E;
  background: rgba(27, 77, 62, 0.06);
}
@media (max-width: 600px) {
  .hsp-compare { font-size: 13px; }
  .hsp-compare th, .hsp-compare td { padding: 10px; }
}

/* Round-by-round */
.hsp-round__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 18px;
}
.hsp-round__product {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 18px;
}
.hsp-round__product h4 {
  margin: 0 0 8px;
  font-size: 17px;
  color: #1A1A2E;
}
.hsp-round__why { color: #1A1A2E; }
.hsp-round__winner {
  background: rgba(27, 77, 62, 0.08);
  border-left: 4px solid #1B4D3E;
  padding: 12px 16px;
  border-radius: 6px;
  color: #1A1A2E;
}
@media (max-width: 700px) {
  .hsp-round__row { grid-template-columns: 1fr; gap: 14px; }
}

/* Price snapshot */
.hsp-price-snapshot table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  overflow: hidden;
}
.hsp-price-snapshot th,
.hsp-price-snapshot td {
  padding: 12px 16px;
  border-bottom: 1px solid #E5E7EB;
  color: #1A1A2E;
}
.hsp-price-snapshot th {
  background: #FAFAF8;
  text-align: left;
  font-weight: 600;
}
.hsp-price-asof {
  font-size: 12px;
  color: #1A1A2E;
  opacity: 0.6;
  margin-top: 8px;
}

/* ===========================================================
   REVIEW TEMPLATE (Step 7)
   =========================================================== */

.hsp-review-hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 36px;
  align-items: center;
}
@media (max-width: 800px) {
  .hsp-review-hero { grid-template-columns: 1fr; gap: 20px; }
}
.hsp-review-hero img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #E5E7EB;
}
.hsp-rating-big {
  font-size: 64px;
  font-weight: 700;
  color: #1B4D3E;
  line-height: 1;
}
.hsp-rating-big span { font-size: 24px; color: #1A1A2E; opacity: .6; }

.hsp-rating-breakdown {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  padding: 24px 28px;
}
.hsp-rating-row {
  display: grid;
  grid-template-columns: 160px 1fr 48px;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid #E5E7EB;
  color: #1A1A2E;
}
.hsp-rating-row:last-child { border-bottom: 0; }
.hsp-rating-bar {
  height: 8px;
  background: #E5E7EB;
  border-radius: 4px;
  overflow: hidden;
}
.hsp-rating-bar > span {
  display: block;
  height: 100%;
  background: #1B4D3E;
}
.hsp-rating-row strong { text-align: right; color: #1B4D3E; }
@media (max-width: 600px) {
  .hsp-rating-row { grid-template-columns: 110px 1fr 40px; gap: 10px; font-size: 14px; }
}

.hsp-specs {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  overflow: hidden;
  color: #1A1A2E;
}
.hsp-specs td {
  padding: 12px 16px;
  border-bottom: 1px solid #E5E7EB;
}
.hsp-specs tr:last-child td { border-bottom: 0; }
.hsp-specs td:first-child {
  background: #FAFAF8;
  font-weight: 600;
  width: 35%;
}

.hsp-usecase {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 18px;
}
.hsp-usecase h3 { margin-top: 0; color: #1A1A2E; }

.hsp-better {
  background: rgba(232, 168, 56, 0.08);
  border-left: 4px solid #E8A838;
  padding: 20px 24px;
  border-radius: 6px;
}
.hsp-better h3 { margin-top: 0; color: #1A1A2E; }

/* ===========================================================
   BUYING GUIDE TEMPLATE (Step 8)
   =========================================================== */

.hsp-guide-hero {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.hsp-guide-hero .eyebrow {
  display: inline-block;
  color: #1B4D3E;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 13px;
  margin-bottom: 12px;
}
.hsp-guide-hero h1 {
  color: #1A1A2E;
  font-size: 38px;
  line-height: 1.2;
  margin: 0 0 16px;
}
.hsp-guide-hero p {
  color: #1A1A2E;
  opacity: .8;
  font-size: 18px;
  margin: 0;
}
@media (max-width: 700px) {
  .hsp-guide-hero h1 { font-size: 28px; }
  .hsp-guide-hero p { font-size: 16px; }
}

/* Table of contents */
.hsp-toc {
  background: #FAFAF8;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  padding: 24px 28px;
}
.hsp-toc h2 {
  margin: 0 0 12px;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #1B4D3E;
}
.hsp-toc ol {
  margin: 0;
  padding-left: 20px;
  columns: 2;
  column-gap: 32px;
}
.hsp-toc li {
  margin-bottom: 8px;
  break-inside: avoid;
}
.hsp-toc a {
  color: #1A1A2E;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.hsp-toc a:hover {
  color: #1B4D3E;
  border-bottom-color: #1B4D3E;
}
@media (max-width: 700px) {
  .hsp-toc ol { columns: 1; }
}

/* Short answer callout */
.hsp-short-answer {
  background: rgba(27, 77, 62, 0.06);
  border-left: 4px solid #1B4D3E;
  padding: 24px 28px;
  border-radius: 6px;
  color: #1A1A2E;
}
.hsp-short-answer h2 {
  margin: 0 0 8px;
  color: #1B4D3E;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.hsp-short-answer p { margin: 0; font-size: 17px; }

/* Factor card */
.hsp-factor {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  padding: 28px;
  margin-bottom: 20px;
}
.hsp-factor h2 {
  margin: 0 0 6px;
  color: #1A1A2E;
  font-size: 24px;
}
.hsp-factor .hsp-factor__why {
  color: #1B4D3E;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 0 0 14px;
}
.hsp-factor__lookfor {
  background: #FAFAF8;
  border-radius: 6px;
  padding: 14px 18px;
  margin-top: 14px;
}
.hsp-factor__lookfor strong { color: #1B4D3E; }

/* Mistakes list */
.hsp-mistakes {
  background: rgba(232, 168, 56, 0.08);
  border-left: 4px solid #E8A838;
  border-radius: 6px;
  padding: 24px 28px;
}
.hsp-mistakes h2 {
  margin: 0 0 12px;
  color: #1A1A2E;
}
.hsp-mistakes ul {
  margin: 0;
  padding-left: 20px;
}
.hsp-mistakes li {
  margin-bottom: 12px;
  color: #1A1A2E;
}

/* Decision matrix */
.hsp-matrix {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  overflow: hidden;
  color: #1A1A2E;
}
.hsp-matrix th,
.hsp-matrix td {
  padding: 14px 16px;
  border-bottom: 1px solid #E5E7EB;
  text-align: left;
}
.hsp-matrix thead th {
  background: #1A1A2E;
  color: #FAFAF8;
  font-weight: 600;
}
.hsp-matrix tr:last-child td { border-bottom: 0; }
.hsp-matrix td:first-child {
  background: #FAFAF8;
  font-weight: 600;
  width: 30%;
}
@media (max-width: 600px) {
  .hsp-matrix { font-size: 13px; }
  .hsp-matrix th, .hsp-matrix td { padding: 10px; }
}

/* Budget tier cards */
.hsp-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.hsp-tier {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  padding: 24px;
}
.hsp-tier--mid { border-color: #1B4D3E; border-width: 2px; position: relative; }
.hsp-tier--mid::before {
  content: "Best Value";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #1B4D3E;
  color: #FAFAF8;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.hsp-tier h3 {
  margin: 0 0 4px;
  color: #1A1A2E;
  font-size: 20px;
}
.hsp-tier .hsp-tier__price {
  color: #1B4D3E;
  font-weight: 700;
  font-size: 22px;
  margin: 0 0 14px;
}
.hsp-tier ul {
  margin: 0 0 14px;
  padding-left: 18px;
  color: #1A1A2E;
}
.hsp-tier li { margin-bottom: 6px; }
.hsp-tier .hsp-tier__verdict {
  font-size: 13px;
  color: #1A1A2E;
  opacity: .75;
  margin: 0;
}
@media (max-width: 800px) {
  .hsp-tiers { grid-template-columns: 1fr; }
}

/* Top picks cards */
.hsp-top-picks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.hsp-top-pick {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  text-decoration: none;
  color: #1A1A2E;
  display: block;
  transition: transform .15s ease, box-shadow .15s ease;
}
.hsp-top-pick:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 26, 46, 0.08);
}
.hsp-top-pick .label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #1B4D3E;
  font-weight: 600;
  margin-bottom: 8px;
}
.hsp-top-pick h4 { margin: 0 0 8px; font-size: 17px; }
.hsp-top-pick span.cta {
  display: inline-block;
  margin-top: 10px;
  color: #1B4D3E;
  font-weight: 600;
  font-size: 14px;
}
@media (max-width: 800px) {
  .hsp-top-picks { grid-template-columns: 1fr; }
}

/* Next steps CTA */
.hsp-next-steps {
  background: #FAFAF8;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 36px;
  text-align: center;
}
.hsp-next-steps h2 {
  margin: 0 0 12px;
  color: #1A1A2E;
}
.hsp-next-steps p {
  color: #1A1A2E;
  opacity: .8;
  max-width: 580px;
  margin: 0 auto 20px;
}

/* Mobile sticky CTA (CRO Test #1) */
@media (max-width: 767px) {
  .hsp-mobile-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #FAFAF8;
    border-top: 1px solid #E5E7EB;
    padding: 12px 16px;
    z-index: 9999;
    box-shadow: 0 -2px 12px rgba(26, 26, 46, 0.08);
  }
  .hsp-mobile-sticky-cta a {
    display: block;
    background: #E8A838;
    color: #1A1A2E;
    text-align: center;
    font-weight: 600;
    padding: 14px;
    border-radius: 8px;
    text-decoration: none;
  }
}
@media (min-width: 768px) {
  .hsp-mobile-sticky-cta { display: none; }
}
