/* Independent defaults; RaviSelect Editorial may override these shared components. */
:root { --rs-core-button-bg:#111; --rs-core-button-text:#fff; --rs-core-notice:#555; --rs-core-border:#dedede; }
.rs-core-purchase .wp-block-button__link { background:var(--rs-core-button-bg);color:var(--rs-core-button-text);min-height:44px;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;padding:.6rem 1rem;text-align:center; }
.rs-affiliate-notice { color:var(--rs-core-notice);font:400 .8125rem/1.45 system-ui,sans-serif;margin:.35rem 0 .8rem; }
.rs-core-card .rs-pick { border:1px solid var(--rs-core-border);padding:1rem; }
.rs-core-card .rs-product-photo img { max-width:100%;height:auto;object-fit:contain; }
.rs-core-card .rs-pick-name { font-weight:700; }
.rs-core-purchase .wp-block-button__link:focus-visible { outline:2px solid currentColor;outline-offset:3px; }
@media(max-width:600px) { .rs-core-card .rs-pick { padding:.75rem; } .rs-core-purchase .wp-block-button__link { white-space:normal;max-width:100%; } }

/* Shared dynamic card contract; editorial theme retains control of sizing and palette. */
.rs-core-dynamic-card .rs-product-photo { min-width:0; }
.rs-core-dynamic-card .rs-product-photo img { max-width:100%;object-fit:contain; }
.rs-core-dynamic-card .rs-affiliate-notice { font-size:.8125rem;line-height:1.45; }
.rs-core-dynamic-card .rs-core-purchase { min-width:0; }
.rs-offer-details{display:block;line-height:1.4;font-size:.75rem;margin:.35rem 0;color:inherit}
/* Related links reuse the theme's article footer; no new images or layout shifts. */
.rs-article-related .rs-core-related-links { margin:.75rem 0 0; padding-inline-start:1.2em; }
.rs-article-related .rs-core-related-links li { margin:.5rem 0; line-height:1.45; }
.rs-article-related .rs-core-related-links a { text-decoration:underline; text-underline-offset:.15em; overflow-wrap:anywhere; }
