/* Taame Bandar reusable Product SEO UX layer.
 * SEO-critical text/links remain server-rendered; this file only improves readability.
 */

.single-product #tbp-desc > p {
  margin: 10px 0 0;
  line-height: 2.15;
}

.single-product #tbp-desc > ul {
  margin: 12px 0 18px;
  padding: 14px 34px 14px 16px;
  border: 1px solid rgba(34, 197, 94, 0.16);
  border-radius: 16px;
  background: rgba(34, 197, 94, 0.055);
}

.single-product #tbp-desc > ul > li {
  margin: 5px 0;
  line-height: 1.95;
}

.single-product #tbp-desc .tbp-seoSubhead {
  margin: 24px 0 8px;
  padding-right: 12px;
  border-right: 4px solid rgba(34, 197, 94, 0.75);
  font-size: 1.04rem;
  font-weight: 950;
  line-height: 1.8;
  color: var(--tbp-ink, #052e1b);
}

.single-product .tbp-relatedIntro {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 10px 0 0;
  padding: 12px 14px;
  max-width: 820px;
  border: 1px solid rgba(34, 197, 94, 0.18);
  border-radius: 16px;
  background: rgba(34, 197, 94, 0.055);
  color: var(--tbp-muted, #557a64);
  line-height: 1.9;
}

.single-product .tbp-relatedIntro > strong {
  display: block;
  flex: 1 0 100%;
  color: var(--tbp-ink, #052e1b);
  font-size: 13.8px;
  font-weight: 950;
}

.single-product .tbp-relatedIntro > span {
  display: block;
  flex: 1 0 100%;
  margin-top: 2px;
  font-size: 12.5px;
}

.single-product .tbp-relatedIntro a.tbp-chip,
.single-product .tbp-relatedIntro a.tbp-seoInternalLink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 7px 11px;
  border: 1px solid rgba(34, 197, 94, 0.28);
  border-radius: 999px;
  background: #fff;
  color: #116530;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(5, 46, 27, 0.06);
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.single-product .tbp-relatedIntro a.tbp-chip::after,
.single-product .tbp-relatedIntro a.tbp-seoInternalLink::after {
  content: "←";
  font-weight: 950;
}

.single-product .tbp-relatedIntro a.tbp-chip:hover,
.single-product .tbp-relatedIntro a.tbp-seoInternalLink:hover {
  transform: translateY(-1px);
  border-color: rgba(22, 163, 74, 0.5);
  box-shadow: 0 8px 20px rgba(5, 46, 27, 0.1);
}

@media (max-width: 640px) {
  .single-product #tbp-desc > p {
    line-height: 2;
  }

  .single-product #tbp-desc > ul {
    padding: 12px 28px 12px 12px;
  }

  .single-product #tbp-desc .tbp-seoSubhead {
    margin-top: 20px;
    font-size: 1rem;
  }

  .single-product .tbp-relatedIntro {
    align-items: stretch;
    padding: 11px 12px;
  }

  .single-product .tbp-relatedIntro a.tbp-chip,
  .single-product .tbp-relatedIntro a.tbp-seoInternalLink {
    width: 100%;
    justify-content: space-between;
    border-radius: 12px;
  }
}
