/* ===== Buyers Guide Shortcode Styles ===== */
/* Self-contained — no Tailwind dependency */

/* ===== Variables ===== */
:root {
  --bg-green: #1a8a72;
  --bg-green-dark: #1a3c34;
  --bg-green-light: #2bb596;
  --bg-green-bg: #e8f5f1;
  --bg-green-bg-alt: #f0faf7;
  --bg-text: #4a5568;
  --bg-text-light: #5a6872;
  --bg-text-muted: #94a3b8;
  --bg-border: #e2e8f0;
  --bg-orange: #c2590a;
  --bg-orange-bg: #fef7f0;
  --bg-orange-border: #fde2c7;
  --bg-star: #f59e0b;
  --bg-card-bg: #f8fafc;
  --bg-pill-bg: #f1f5f9;
  --bg-pill-text: #475569;
  --bg-pro-bg: #f0faf7;
  --bg-pro-border: #c6f0e2;
  --bg-max-width: 820px;
  --bg-font:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue',
    Arial, sans-serif;
}

/* ===== Base Wrapper ===== */
.bg-wrapper {
  font-family: var(--bg-font);
  color: #2d2d2d;
  line-height: 1.7;
  max-width: var(--bg-max-width);
  margin: 0 auto;
  padding: 0 16px;
}

/* ===== Hero ===== */
.bg-hero {
  text-align: center;
  padding: 48px 20px 40px;
  background: linear-gradient(
    135deg,
    var(--bg-green-bg) 0%,
    var(--bg-green-bg-alt) 100%
  );
  border-radius: 16px;
  margin-bottom: 40px;
}

.bg-hero__badge {
  display: inline-block;
  background: var(--bg-green);
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.bg-hero__title {
  font-size: 32px;
  font-weight: 800;
  color: var(--bg-green-dark);
  margin: 0 0 8px 0;
  padding: 0;
  line-height: 1.25;
  border: none;
}

.bg-hero__subtitle {
  font-size: 16px;
  color: #3d7a6b;
  font-weight: 500;
  margin: 0 0 20px 0;
  padding: 0;
}

.bg-hero__body {
  text-align: left;
}

.bg-hero__body p {
  font-size: 15px;
  color: var(--bg-text);
  margin: 0 0 16px 0;
  padding: 0;
  line-height: 1.7;
}

/* ===== Section Headings ===== */
.bg-section-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--bg-green-dark);
  margin: 48px 0 8px 0;
  padding: 0;
  line-height: 1.3;
  border: none;
  text-transform: none;
  letter-spacing: normal;
}

.bg-section-subtitle {
  font-size: 15px;
  color: var(--bg-text-light);
  margin: 0 0 24px 0;
  padding: 0;
}

/* ===== Benefits Grid ===== */
.bg-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 40px;
}

.bg-benefit-card {
  background: #fff;
  border: 1px solid var(--bg-border);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.bg-benefit-card__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--bg-green-bg);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
}

.bg-benefit-card__title {
  font-size: 15px;
  font-weight: bold;
  color: var(--bg-green-dark);
  margin: 0 0 4px 0;
  padding: 0;
  border: none;
  text-transform: none;
  letter-spacing: normal;
}

.bg-benefit-card__desc {
  font-size: 13px;
  color: var(--bg-text-light);
  line-height: 1.5;
  margin: 0;
  padding: 0;
}

/* ===== What to Look For ===== */
.bg-lookfor {
  margin-bottom: 40px;
}

.bg-lookfor-item {
  padding: 16px 20px;
  background: #fff;
  border: 1px solid var(--bg-border);
  border-radius: 10px;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.bg-lookfor-item__number {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  min-width: 28px;
  background: var(--bg-green);
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.bg-lookfor-item__body {
  font-size: 14px;
  color: var(--bg-text);
  line-height: 1.6;
}

.bg-lookfor-item__title {
  color: var(--bg-green-dark);
  font-weight: bold;
  font-size: 14px;
  margin: 0;
  padding: 0;
  border: none;
  text-transform: none;
  letter-spacing: normal;
}

/* ===== What to Avoid ===== */
.bg-avoid {
  padding: 20px;
  background: var(--bg-orange-bg);
  border: 1px solid var(--bg-orange-border);
  border-radius: 10px;
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.bg-avoid__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  min-width: 28px;
  background: var(--bg-orange);
  color: #fff;
  font-size: 15px;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.bg-avoid__title {
  font-size: 15px;
  color: var(--bg-orange);
  font-weight: bold;
  display: block;
  margin: 0 0 4px 0;
  padding: 0;
  border: none;
  text-transform: none;
  letter-spacing: normal;
}

.bg-avoid__desc {
  font-size: 14px;
  color: var(--bg-text);
  line-height: 1.6;
  margin: 0;
}

/* ===== Evaluation Criteria Banner ===== */
.bg-eval {
  background: linear-gradient(135deg, var(--bg-green-dark) 0%, #1a6b5a 100%);
  border-radius: 14px;
  padding: 28px;
  margin-bottom: 48px;
  color: #fff;
}

.bg-eval__title {
  font-size: 18px;
  font-weight: bold;
  margin: 0 0 16px 0;
  padding: 0;
  color: #fff;
  border: none;
  text-transform: none;
  letter-spacing: normal;
}

.bg-eval__desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 20px 0;
  padding: 0;
  line-height: 1.6;
}

.bg-eval__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.bg-eval__item {
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 14px 8px;
}

.bg-eval__item-icon {
  font-size: 22px;
  margin-bottom: 6px;
}

.bg-eval__item-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
  opacity: 0.9;
}

/* ===== Product Card ===== */
.bg-product {
  background: #fff;
  border: 1px solid var(--bg-border);
  border-radius: 16px;
  padding: 0;
  margin-bottom: 28px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.bg-product--top {
  border: 2px solid var(--bg-green);
  box-shadow: 0 4px 24px rgba(26, 138, 114, 0.15);
}

.bg-product__top-banner {
  background: linear-gradient(90deg, var(--bg-green), var(--bg-green-light));
  color: #fff;
  text-align: center;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Product Header: Image + Info side by side */
.bg-product__header {
  display: flex;
  flex-direction: row;
  gap: 24px;
  padding: 24px 24px 0;
  align-items: flex-start;
}

.bg-product__photo {
  flex-shrink: 0;
  width: 160px;
  height: 160px;
  min-width: 160px;
  background: var(--bg-pill-bg);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.bg-product__photo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.bg-product__info {
  flex: 1;
}

.bg-product__rank-badge {
  display: inline-block;
  background: var(--bg-green-bg);
  color: var(--bg-green);
  font-size: 12px;
  font-weight: bold;
  padding: 3px 10px;
  border-radius: 6px;
  margin-bottom: 8px;
}

.bg-product__name {
  font-size: 22px;
  font-weight: bold;
  color: var(--bg-green-dark);
  margin: 0 0 2px 0;
  padding: 0;
  line-height: 1.3;
  border: none;
  text-transform: none;
  letter-spacing: normal;
}

.bg-product__brand {
  font-size: 13px;
  color: var(--bg-text-light);
  margin: 0 0 14px 0;
  padding: 0;
}

/* Rating row */
.bg-product__rating {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.bg-product__score-badge {
  background: var(--bg-green);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 8px;
  line-height: 1.4;
}

.bg-product__stars {
  font-size: 16px;
  color: var(--bg-star);
}

.bg-product__grade-text {
  font-size: 13px;
  color: var(--bg-text-light);
}

.bg-product__votes {
  font-size: 12px;
  color: var(--bg-text-muted);
  margin: 0 0 12px 0;
  padding: 0;
}

/* Spec pills in header */
.bg-specs {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
}

.bg-specs__pill {
  display: inline-block;
  background: var(--bg-pill-bg);
  color: var(--bg-pill-text);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
}

/* Score Breakdown */
.bg-scores {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 24px 0;
  margin-top: 8px;
}

.bg-score-tile {
  flex: 1;
  min-width: 130px;
  background: var(--bg-card-bg);
  border-radius: 8px;
  padding: 10px 12px;
  text-align: center;
}

.bg-score-tile__label {
  display: block;
  font-size: 11px;
  color: var(--bg-text-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 2px;
}

.bg-score-tile__value {
  font-size: 18px;
  font-weight: 800;
  color: var(--bg-green);
}

.bg-score-tile__max {
  font-size: 12px;
  color: var(--bg-text-muted);
}

/* Divider */
.bg-product__divider {
  border: none;
  border-top: 1px solid var(--bg-border);
  margin: 20px 24px 0;
  padding: 0;
}

/* Pros & Cons */
.bg-product__pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 20px 24px 0;
  margin-bottom: 20px;
}

.bg-pros {
  padding: 16px;
  border-radius: 10px;
  background: var(--bg-pro-bg);
  border: 1px solid var(--bg-pro-border);
}

.bg-pros__heading {
  font-size: 13px;
  font-weight: bold;
  margin: 0 0 8px 0;
  padding: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--bg-green);
  border: none;
}

.bg-pros__list {
  font-size: 13px;
  color: var(--bg-text);
  line-height: 1.5;
}

.bg-pros__item {
  padding: 3px 0;
}

.bg-pros__bullet {
  color: var(--bg-green);
  font-weight: bold;
  margin-right: 6px;
}

.bg-cons {
  padding: 16px;
  border-radius: 10px;
  background: var(--bg-orange-bg);
  border: 1px solid var(--bg-orange-border);
}

.bg-cons__heading {
  font-size: 13px;
  font-weight: bold;
  margin: 0 0 8px 0;
  padding: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--bg-orange);
  border: none;
}

.bg-cons__list {
  font-size: 13px;
  color: var(--bg-text);
  line-height: 1.5;
}

.bg-cons__item {
  padding: 3px 0;
}

.bg-cons__bullet {
  color: var(--bg-orange);
  font-weight: bold;
  margin-right: 6px;
}

/* Product Bottom Line (inside card) */
.bg-product-desc {
  background: var(--bg-card-bg);
  border-left: 4px solid var(--bg-green);
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  margin: 0 24px 20px;
}

.bg-product-desc__title {
  font-size: 14px;
  font-weight: bold;
  color: var(--bg-green-dark);
  margin: 0 0 8px 0;
  padding: 0;
  border: none;
  text-transform: none;
  letter-spacing: normal;
}

.bg-product-desc p {
  font-size: 14px;
  color: var(--bg-text);
  margin: 0 0 10px 0;
  padding: 0;
  line-height: 1.7;
}

.bg-product-desc p:last-child {
  margin-bottom: 0;
}

/* Disclaimer */
.bg-product__disclaimer {
  font-size: 11px;
  color: var(--bg-text-muted);
  margin: 0 24px 16px;
  padding: 0;
  font-style: italic;
}

/* CTA Button */
.bg-product__cta {
  padding: 0 24px 24px;
  text-align: center;
}

.bg-product__cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--bg-green), var(--bg-green-light));
  color: #fff !important;
  font-size: 15px;
  font-weight: bold;
  padding: 12px 32px;
  border-radius: 10px;
  text-decoration: none !important;
  transition: opacity 0.2s ease;
}

.bg-product__cta-btn:hover {
  opacity: 0.9;
  text-decoration: none !important;
}

/* ===== Bottom Line (Final Section) ===== */
.bg-bottom-line {
  background: linear-gradient(
    135deg,
    var(--bg-green-bg) 0%,
    var(--bg-green-bg-alt) 100%
  );
  border-radius: 14px;
  padding: 28px;
  margin-top: 48px;
  margin-bottom: 32px;
}

.bg-bottom-line__title {
  font-size: 22px;
  font-weight: bold;
  color: var(--bg-green-dark);
  margin: 0 0 4px 0;
  padding: 0;
  border: none;
  text-transform: none;
  letter-spacing: normal;
}

.bg-bottom-line__heading {
  font-size: 18px;
  font-weight: bold;
  color: var(--bg-green-dark);
  margin: 0 0 16px 0;
  padding: 0;
  border: none;
  text-transform: none;
  letter-spacing: normal;
}

.bg-bottom-line__body p {
  font-size: 15px;
  color: var(--bg-text);
  margin: 0 0 14px 0;
  padding: 0;
  line-height: 1.7;
}

.bg-bottom-line__cta {
  text-align: center;
  margin-top: 20px;
}

.bg-bottom-line__cta a {
  display: inline-block;
  background: linear-gradient(135deg, var(--bg-green), var(--bg-green-light));
  color: #fff !important;
  font-size: 15px;
  font-weight: bold;
  padding: 12px 32px;
  border-radius: 10px;
  text-decoration: none !important;
}

.bg-bottom-line__cta a:hover {
  opacity: 0.9;
}

/* ===== Responsive ===== */
@media screen and (max-width: 640px) {
  .bg-benefits {
    grid-template-columns: 1fr;
  }

  .bg-product__header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .bg-product__photo {
    width: 120px;
    height: 120px;
    min-width: 120px;
  }

  .bg-product__rating {
    justify-content: center;
    flex-wrap: wrap;
  }

  .bg-specs {
    justify-content: center;
  }

  .bg-scores {
    flex-direction: column;
  }

  .bg-score-tile {
    min-width: unset;
  }

  .bg-product__pros-cons {
    grid-template-columns: 1fr;
  }

  .bg-eval__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .bg-hero__title {
    font-size: 24px;
  }
}
