/* Wellorithm affiliate rollout · Oct 23 2026 · scoped to Wellorithm only */
.rx-shelf-link.wellorithm-shelf{outline:2px solid #df9b5d;outline-offset:-2px;background:linear-gradient(135deg,rgba(242,177,103,.15),rgba(255,255,255,.04))}
.brand-partner.wellorithm-partner{border-color:#d99c5e;box-shadow:0 8px 26px rgba(133,73,23,.13)}
.rx-provider.wellorithm-offer{border:2px solid #dfad75;box-shadow:0 9px 24px rgba(123,82,26,.10)}
.scout-aff-card.wellorithm-scout{border:2px solid #f1c38a;background:rgba(255,255,255,.13)}
.scout-aff-card.wellorithm-scout .wellorithm-card-label{display:block;font-size:.7rem;font-weight:800;letter-spacing:.09em;text-transform:uppercase;opacity:.91;margin-bottom:6px}
.wellorithm-scout .scout-aff-details{line-height:1.48}
.wellorithm-price-note{display:block;margin:9px 0;font-size:.82rem;line-height:1.5;opacity:.92}
.wellorithm-safety{font-size:.77rem!important;line-height:1.45!important;opacity:.86!important;margin:10px 0 0!important}
.wellorithm-provider-card{border:2px solid #dfad75!important}
.wellorithm-table-row{background:#fff5e9}.wellorithm-table-row td{vertical-align:middle}.wellorithm-table-row .provider-name{font-weight:750}
.pc.wellorithm-hwm-card{border:2px solid #d89453!important;background:linear-gradient(150deg,#fffaf2,#fff)!important}
.wellorithm-hwm-card .pc-badge-float{background:#a45c26!important;color:#fff!important}
@media(max-width:680px){.wellorithm-price-note{font-size:.78rem}.wellorithm-table-row td{min-width:100px}}

/* Oct 23 2026 visual accessibility hotfix: gradient cards inherited light type on light backgrounds.
   Explicit opaque surfaces and corresponding ink/CTA colors for both highlighted sponsors.
   Keep the original dark/yellow price-site appearance. */
body:not(.price) .rx-offer-shelf .rx-shelf-link.wellorithm-shelf {
  background:#fff6e9 !important;
  color:#35271e !important;
  border:2px solid #b96e32 !important;
  outline:0 !important;
}
body:not(.price) .rx-offer-shelf .rx-shelf-link.wellorithm-shelf :is(.rx-shelf-label,.rx-shelf-provider,.rx-shelf-meta) {
  color:#35271e !important;
  opacity:1 !important;
}
body:not(.price) .rx-offer-shelf .rx-shelf-link.wellorithm-shelf .rx-shelf-arrow {
  color:#8f3b13 !important;
  opacity:1 !important;
}
body:not(.price) .rx-offer-shelf .rx-shelf-link.rw-shelf-feature {
  background:#e6f4f0 !important;
  color:#123d36 !important;
  border:2px solid #28786d !important;
  outline:0 !important;
}
body:not(.price) .rx-offer-shelf .rx-shelf-link.rw-shelf-feature :is(.rx-shelf-label,.rx-shelf-provider,.rx-shelf-meta) {
  color:#123d36 !important;
  opacity:1 !important;
}
body:not(.price) .rx-offer-shelf .rx-shelf-link.rw-shelf-feature .rx-shelf-arrow {
  color:#14594e !important;
  opacity:1 !important;
}
/* The price flagship uses an intentionally dark/yellow shelf. Preserve contrast there. */
body.price .rx-offer-shelf .rx-shelf-link.wellorithm-shelf {
  background:#171c1b !important;
  color:#ffe660 !important;
  border:2px solid #c78a4b !important;
}
body.price .rx-offer-shelf .rx-shelf-link.wellorithm-shelf :is(.rx-shelf-label,.rx-shelf-provider,.rx-shelf-meta,.rx-shelf-arrow) {
  color:#ffe660 !important;
  opacity:1 !important;
}
/* Visible keyboard indication in addition to hover on both cards. */
.rx-offer-shelf .rx-shelf-link.wellorithm-shelf:focus-visible,
.rx-offer-shelf .rx-shelf-link.rw-shelf-feature:focus-visible {
  outline:3px solid #1d5049 !important;
  outline-offset:3px !important;
}
