/* Footer on the dark gradient (see footer.php).
   Loaded by footer.php itself so the colours also apply on pages that do not link urothrive.css
   (help/*, contact/, dtc/, quiz/, break/...). */
footer .txt_blue,
footer p,
footer .fs_14,
footer .copyright,
footer .copyright a { color: #fff !important; }

footer .copyright a:hover { color: #f6e7b6 !important; }

footer .border_c_blue { border-color: rgba(255, 255, 255, .28) !important; }

footer hr.border_c_blue {
  border-color: rgba(255, 255, 255, .22) !important;
  opacity: 1;
}

/* The upsell pages re-colour .txt_blue / .border_c_blue with !important at (0,3,0) (.up-page.upN ...), which beat the
   rules above on order-upgrade/*: the footer text turned navy on the dark band. Doubling .up-page lifts these rules to (0,3,1)+. */
.up-page.up-page footer .txt_blue,
.up-page.up-page footer p,
.up-page.up-page footer .fs_14,
.up-page.up-page footer .copyright,
.up-page.up-page footer .copyright a,
.up-page.up-page footer a.btn_primary { color: #fff !important; }
.up-page.up-page footer .copyright a:hover { color: #f6e7b6 !important; }
.up-page.up-page footer .border_c_blue { border-color: rgba(255, 255, 255, .28) !important; }
.up-page.up-page footer hr.border_c_blue { border-color: rgba(255, 255, 255, .22) !important; }

/* the BuyGoods mark is a black PNG - invert it so it stays visible on the dark band */
footer img[src*="buygoods_black"] { filter: invert(1) brightness(1.35); }

/* The BuyGoods disclaimer script injects a flex row whose item carries min-width:280px,
   which forces horizontal overflow on a 440 px viewport. Same rule as urothrive.css, here so
   every page that includes the footer (dtc/, help/*, contact/) is covered too. */
#disclaimer div { min-width: 0 !important; }

/* Footer link buttons: ONE look on every page. style.css (white hover + white text = invisible label) and
   style-design.css (yellow-orange base, blue hover on help/* and contact) disagreed; footer.php is included everywhere,
   so the states are fixed here. Hover = darker orange, label stays white and readable. */
footer a.btn_primary,
footer a.btn_primary:visited { background: #ff8848; border: 1px solid #ff8848; color: #fff !important; transition: background-color .3s, border-color .3s; }
footer a.btn_primary:hover,
footer a.btn_primary:focus { background: #e9692a; border-color: #e9692a; color: #fff !important; }
