/* Equal marketplace choices within the existing article product cards. */
.retail-products .product-choice-grid { grid-template-columns: minmax(0, 1fr); }
.retail-product-ctas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.retail-product-ctas .product-commerce-link {
  min-height: 52px; padding: 14px 16px; color: #fff;
  line-height: 1.6; overflow-wrap: anywhere;
}
.retail-product-ctas [data-marketplace="amazon"] { background: #f5b344; color: #34230b; border: 1px solid #e4a234; }
.retail-product-ctas [data-marketplace="rakuten"] { background: #b92032; color: #fff; border: 1px solid #a51c2c; }
.retail-product-ctas [data-marketplace="amazon"]:hover { background: #edaa37; }
.retail-product-ctas [data-marketplace="rakuten"]:hover { background: #a51c2c; }
.retail-products .product-official-link { background: #faf8f9; border: 1px solid #d9cbd0; color: #66575e; font-weight: 700; }
.retail-products .product-links { margin-top: 20px; }
.retail-products .product-choice { min-width: 0; }
/* Leave the existing fixed utility bar clear when focusing a card's links. */
html:has(.retail-products) { scroll-padding-bottom: 96px; }
.retail-products .product-links a { scroll-margin-bottom: 96px; }
.retail-product-image { margin: 0 auto 20px; text-align: center; max-width: 100%; }
.retail-product-image > a { display: flex; align-items: center; justify-content: center; width: 304px; min-height: 304px; margin: 0 auto; max-width: 100%; }
.retail-products .retail-product-image img { display: block; width: 300px; max-width: calc(100% - 4px); height: auto; aspect-ratio: 1 / 1; object-fit: contain; flex: 0 1 auto; }
.retail-product-image figcaption { margin-top: 8px; font-size: 12px; line-height: 1.6; color: #76666e; }
.retail-products .retail-product-image + .product-use-case { padding-top: 0; }
.retail-selection .product-choice--main { transform: none; border: 1px solid #e3d8dc; background: #fff; }
.retail-selection .product-choice--main .product-use-case { padding-top: 0; }
.retail-selection .product-use-case { color: #ae3159; font-weight: 800; }
.retail-selection .article-action-closing { margin-top: 20px; }
@media (max-width: 640px) {
  .retail-product-ctas { grid-template-columns: minmax(0, 1fr); gap: 10px; }
}
