/* Make bold text show as bold in product descriptions.
   The site font has no bold version, so we thicken the letters. */
.ec-store .product-details__product-description strong,
.ec-store .product-details__product-description b {
  font-weight: 700 !important;
  -webkit-text-stroke: 0.45px currentColor;
}

/* Slightly larger text and more line spacing in product descriptions */
.ec-store .product-details__product-description,
.ec-store .product-details__product-description p,
.ec-store .product-details__product-description li {
  font-size: 16px !important;
  line-height: 1.7 !important;
}

.ec-store .product-details__product-description p {
  margin-bottom: 10px !important;
}

/* Hide the "Product Details" title above descriptions */
.product-details__general-info .product-details-module__title {
  display: none !important;
}

/* Subheadings in product descriptions use the APL I Like Big Fonts font from the Wix site */
@font-face {
  font-family: 'APL I Like Big Fonts';
  src: url("https://static.wixstatic.com/ufonts/0ebbc6_bae13eee13674ee49f4899d7fb72b1e2/woff2/file.woff2") format("woff2"), url("https://static.wixstatic.com/ufonts/0ebbc6_bae13eee13674ee49f4899d7fb72b1e2/woff/file.woff") format("woff");
  font-display: swap;
}

.ec-store .product-details__product-description h1,
.ec-store .product-details__product-description h2,
.ec-store .product-details__product-description h3,
.ec-store .product-details__product-description h4 {
  font-family: 'APL I Like Big Fonts', sans-serif !important;
  font-weight: normal !important;
}

.ec-store .product-details__product-description h1 strong,
.ec-store .product-details__product-description h2 strong,
.ec-store .product-details__product-description h3 strong,
.ec-store .product-details__product-description h4 strong,
.ec-store .product-details__product-description h1 b,
.ec-store .product-details__product-description h2 b,
.ec-store .product-details__product-description h3 b,
.ec-store .product-details__product-description h4 b {
  font-weight: normal !important;
  -webkit-text-stroke: 0 !important;
}

/* Product title on product pages only (not search/category pages) uses APL I Like Big Fonts, not bold */
.ec-store .product-details__product-title {
  font-family: 'APL I Like Big Fonts', sans-serif !important;
  font-weight: normal !important;
  line-height: 1.6 !important;
  /* a little more space between title lines */
}

/* "You May Also Like" heading uses APL I Like Big Fonts, not bold */
.ec-store .ec-related-products__title {
  font-family: 'APL I Like Big Fonts', sans-serif !important;
  font-weight: normal !important;
}

/* Product pages: move the HelpfulCrowd reviews above "You May Also Like" */
.ecwid-productBrowser-ProductPage {
  display: flex !important;
  flex-direction: column !important;
}

.ecwid-productBrowser-ProductPage > div:not(.hc-widget),
.ecwid-productBrowser-ProductPage > div:not(.hc-widget) > div,
.ecwid-productBrowser-ProductPage > div:not(.hc-widget) > div > div:not(.ecwid-productBrowser-head),
.ecwid-productBrowser-ProductPage .ec-wrapper,
.ecwid-productBrowser-ProductPage .ec-store__product-page,
.ecwid-productBrowser-ProductPage .ec-store__product-page > .ec-store__content-wrapper,
.ecwid-productBrowser-ProductPage .ec-store__product-page > .ec-store__content-wrapper > div {
  display: contents !important;
}

.ecwid-productBrowser-ProductPage > .hc-widget {
  order: 1;
}

.ecwid-productBrowser-ProductPage .ec-related-products,
.ecwid-productBrowser-ProductPage .ec-footer {
  order: 2;
}

.ecwid-productBrowser-ProductPage .ec-related-products {
  margin-top: 48px !important;
}

/* Hide Ecwid's own reviews section only when it has no reviews ("No reviews yet...") */
.ec-store .review-block:has(.review-block__description) {
  display: none !important;
}

/* Even space between each horizontal bar and the next subheading in product descriptions */
.ec-store .product-details__product-description :is(hr, div:has(> hr)) + h3:has(> br:only-child) {
  display: none !important;
}

.ec-store .product-details__product-description :is(hr, div:has(> hr)) + h3,
.ec-store .product-details__product-description :is(hr, div:has(> hr)) + h3:has(> br:only-child) + h3 {
  margin-top: 59px !important;
}

/* A line of space before every horizontal bar in product descriptions (bar under Quick Details stays tight) */
.ec-store .product-details__product-description > p:has(> br:only-child):has(+ :is(hr, div:has(> hr))) {
  display: none !important;
}

.ec-store .product-details__product-description > :is(hr, div:has(> hr)) {
  margin-top: 57px !important;
}

.ec-store .product-details__product-description > :is(hr, div:has(> hr)) + p + :is(hr, div:has(> hr)) {
  margin-top: 0 !important;
}

/* Make every link in product descriptions bold, the same thickness as other bold text */
.ec-store .product-details__product-description a,
.ec-store .product-details__product-description a * {
  font-weight: 700 !important;
  -webkit-text-stroke: 0.45px currentColor;
}

/* Half-line space at top of every product description */
.ec-store .product-details__product-description {
  padding-top: 18px;
}
