/* ===================================
    Raaj Fittings — inner product pages
    Loaded after the theme stylesheets on product pages only.
    Scoped to new components; values mirror the theme's own utilities.
====================================== */

/* Rich-text blocks managed in the CMS (body, applications, testing).
   Headings match the template's section headings: alt-font text-dark-gray fw-600 ls-minus-1px fs-30 */
.product-richtext h2 {
  font-family: var(--alt-font);
  color: var(--dark-gray);
  font-weight: 600;
  letter-spacing: -1px;
  font-size: 1.875rem;
  line-height: 2.8rem;
  margin-bottom: 20px;
}
.product-richtext h3 {
  font-family: var(--alt-font);
  color: var(--dark-gray);
  font-weight: 700;
  letter-spacing: -0.5px;
  font-size: 22px;
  line-height: 32px;
  margin: 30px 0 12px;
}
.product-richtext ul {
  list-style: none;
  padding: 0;
  margin: 0 0 25px;
}
.product-richtext ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 8px;
}
.product-richtext ul li:before {
  content: "\e83f"; /* feather check, as in the theme's icon lists */
  font-family: "feather";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--base-color);
  font-weight: 900;
}
.product-richtext strong {
  color: var(--dark-gray);
  font-weight: 600;
}
.product-richtext a,
.product-content p a {
  color: var(--dark-gray);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--base-color);
  text-underline-offset: 3px;
}
.product-richtext a:hover,
.product-content p a:hover {
  color: var(--base-color);
}
.product-richtext > :last-child {
  margin-bottom: 0;
}
@media (max-width: 991px) {
  .product-richtext h2 {
    font-size: 26px;
    line-height: 36px;
  }
}

/* Sidebar */
.product-sidebar-list li a.is-current {
  pointer-events: none;
}
@media (min-width: 992px) {
  .product-sidebar-sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 110px;
  }
}
/* reCAPTCHA widget is a fixed 304px; scale it down where the sidebar is narrower */
@media (min-width: 992px) and (max-width: 1399px) {
  .product-sidebar .g-recaptcha {
    transform: scale(0.8);
    transform-origin: 0 0;
    height: 62px;
  }
}

/* Intro: full-width product image between the heading and the text */
.product-intro-image {
  display: block;
  margin-bottom: 30px;
}
.product-intro > p:last-child {
  margin-bottom: 0;
}

/* Tables inside CMS rich text (grade composition / properties, standard summaries, blog) —
   same borders and type as the specification rows on product pages */
.product-richtext table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 24px;
  margin: 0 0 30px;
}
@media (max-width: 767px) {
  .product-richtext table {
    display: block;
    overflow-x: auto;
  }
}
.product-richtext th,
.product-richtext td {
  border: 1px solid var(--extra-medium-gray);
  padding: 10px 14px;
  vertical-align: top;
  text-align: left;
}
.product-richtext thead th {
  background: var(--dark-gray);
  color: var(--white);
  font-weight: 600;
  border-color: var(--dark-gray);
}
.product-richtext tbody th {
  color: var(--dark-gray);
  font-weight: 600;
}
.product-richtext tbody tr:nth-child(even) td,
.product-richtext tbody tr:nth-child(even) th {
  background: var(--very-light-gray);
}
.product-richtext caption {
  caption-side: bottom;
  font-size: 13px;
  line-height: 20px;
  padding-top: 8px;
}

/* "Browse by material / standard" link lists on category pages */
.browse-links a {
  display: inline-block;
  margin: 0 8px 10px 0;
}
