/* Four random WooCommerce products below single article content. */
body.single-post .cd-article-products {
  margin: 64px 0 44px;
  padding-top: 30px;
  border-top: 1px solid #dce8ec;
}
body.single-post .cd-article-products__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
body.single-post .cd-article-products__heading span { color: #1a7f84; font-size: 11px; font-weight: 700; }
body.single-post .cd-article-products__heading h2 { margin: 4px 0 0; color: #1a2b35; font-size: 23px; line-height: 1.5; }
body.single-post .cd-article-products__heading > a { color: #1a7f84; font-size: 12px; font-weight: 700; text-decoration: none; white-space: nowrap; }
body.single-post .cd-article-products__heading > a:hover { color: #0f6267; }
body.single-post .cd-article-products__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
body.single-post .cd-article-product {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #dce9ec;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(28, 83, 96, .06);
  transition: transform .2s ease, box-shadow .2s ease;
}
body.single-post .cd-article-product:hover { transform: translateY(-3px); box-shadow: 0 13px 26px rgba(28, 83, 96, .11); }
body.single-post .cd-article-product__image { position: relative; display: grid; height: 190px; place-items: center; padding: 12px; background: #f5fafb; text-decoration: none; }
body.single-post .cd-article-product__image img { display: block; width: 100%; height: 100%; object-fit: contain; }
body.single-post .cd-article-product__stock { position: absolute; right: 11px; bottom: 11px; padding: 3px 9px; border-radius: 6px; background: #315462; color: #fff; font-size: 10px; font-weight: 700; }
body.single-post .cd-article-product__body { display: flex; flex: 1; flex-direction: column; padding: 15px; }
body.single-post .cd-article-product__category { color: #7a929b; font-size: 10px; line-height: 1.6; }
body.single-post .cd-article-product h3 { min-height: 3.4em; margin: 6px 0 14px; font-size: 13px; font-weight: 700; line-height: 1.7; }
body.single-post .cd-article-product h3 a { color: #203742; text-decoration: none; }
body.single-post .cd-article-product h3 a:hover { color: #1a7f84; }
body.single-post .cd-article-product__price { min-height: 32px; margin-top: auto; color: #1a7f84; font-size: 13px; font-weight: 800; line-height: 1.7; }
body.single-post .cd-article-product__price del { color: #9aabb2; font-size: 10px; font-weight: 400; }
body.single-post .cd-article-product__price ins { color: #1a7f84; text-decoration: none; }
body.single-post .cd-article-product__button { display: block; margin-top: 12px; padding: 8px 10px; border-radius: 9px; background: linear-gradient(100deg, #4fc3e8, #29adb2); color: #fff; font-size: 11px; font-weight: 700; text-align: center; text-decoration: none; }
body.single-post .cd-article-product__button:hover { color: #fff; filter: brightness(.95); }
@media (max-width: 900px) {
  body.single-post .cd-article-products__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  body.single-post .cd-article-products { margin: 45px 0 30px; padding-top: 22px; }
  body.single-post .cd-article-products__heading { align-items: flex-start; }
  body.single-post .cd-article-products__heading h2 { font-size: 18px; }
  body.single-post .cd-article-products__heading > a { font-size: 10px; white-space: normal; }
  body.single-post .cd-article-products__grid { gap: 9px; }
  body.single-post .cd-article-product { border-radius: 11px; }
  body.single-post .cd-article-product__image { height: 145px; padding: 7px; }
  body.single-post .cd-article-product__body { padding: 10px; }
  body.single-post .cd-article-product h3 { margin-bottom: 9px; font-size: 11px; }
  body.single-post .cd-article-product__price { font-size: 11px; }
  body.single-post .cd-article-product__button { padding: 7px 5px; font-size: 10px; }
}
