/* Match the homepage Product Collection cards in the Related Products block. */
body.single-product .wp-block-woocommerce-related-products h2.wp-block-heading {
  color: #fff !important;
}

body.single-product .wp-block-woocommerce-related-products .wp-block-post-template {
  font-size: var(--wp--preset--font-size--tiny);
}

body.single-product .wp-block-woocommerce-related-products .wp-block-woocommerce-product-image {
  border: 1px solid #cdff09;
  border-radius: 50px;
  overflow: hidden;
  box-sizing: border-box;
}

body.single-product .wp-block-woocommerce-related-products .wp-block-post-title {
  color: #fff !important;
  font-size: 16px !important;
  font-style: normal !important;
  font-weight: var(--wp--custom--heading--typography--font-weight, 700) !important;
  text-align: center;
  margin-top: 1.5rem !important;
  margin-bottom: 0.2rem !important;
}

body.single-product .wp-block-woocommerce-related-products .wp-block-post-title a {
  color: inherit !important;
}

body.single-product .wp-block-woocommerce-related-products .wp-block-woocommerce-product-price {
  color: #fff !important;
  text-align: center;
  font-style: normal;
  font-weight: 500;
  margin-bottom: var(--wp--preset--spacing--20) !important;
}

body.single-product .wp-block-woocommerce-related-products .wc-block-components-product-price {
  color: inherit !important;
  font-weight: inherit;
}

body.single-product .wp-block-woocommerce-related-products
.wp-block-button .wp-block-button__link.wp-element-button {
  background-color: transparent !important;
  background-image: none !important;
  border: 1px solid #cdff09 !important;
  color: #cdff09 !important;
  font-size: 12px !important;
  text-transform: uppercase !important;
}

body.single-product .wp-block-woocommerce-related-products
.wp-block-button .wp-block-button__link.wp-element-button:is(:hover, :focus-visible):not(:disabled):not(.disabled):not([aria-disabled="true"]) {
  background-color: #cdff09 !important;
  border-color: #cdff09 !important;
  color: #000 !important;
}

body.single-product .wp-block-woocommerce-related-products
.wp-block-button .wp-block-button__link.wp-element-button span {
  color: inherit !important;
}
