/* Saved for later (Course_Cart_Handoff): the banner on the cart, the checkout
 * and the order received page. Dark text on a light panel (>= 4.5:1); links
 * keep an underline; the button has a visible focus ring. */
.ucb-ho {
    margin: 0 0 1.5em;
    padding: 1em 1.25em;
    border: 1px solid #50575e;
    border-left: 4px solid #8b2025;
    border-radius: 4px;
    background: #fbf8f3;
    color: #1d2327;
    font-size: 15px;
    line-height: 1.5;
}
.ucb-ho p { margin: 0 0 0.5em; }
/* ID-scoped: the cart and checkout themes colour links at higher specificity. */
#ucb-saved-for-later a { color: #8b2025; text-decoration: underline; }
.ucb-ho__lead { font-weight: 600; }
.ucb-ho__h { font-weight: 700; margin-top: 0.75em !important; }
.ucb-ho__h--sm { font-weight: 600; margin-top: 0.25em !important; }
.ucb-ho__list, .ucb-ho__alts { margin: 0 0 0.5em 1.25em; padding: 0; }
.ucb-ho__list li, .ucb-ho__alts li { margin: 0.15em 0; }
.ucb-ho__qty { color: #50575e; }
.ucb-ho__saved + *, .ucb-ho__gone { margin-top: 0.75em; }
.ucb-ho__gone { padding-top: 0.5em; border-top: 1px dashed #c3c4c7; }
.ucb-ho__note { color: #3c434a; }
.ucb-ho__actions { display: flex; flex-wrap: wrap; gap: 0.5em 1em; align-items: center; margin-top: 0.5em !important; }
#ucb-saved-for-later a.ucb-ho__btn {
    display: inline-block;
    padding: 0.45em 0.9em;
    border-radius: 4px;
    background: #8b2025;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
}
#ucb-saved-for-later a.ucb-ho__btn:hover,
#ucb-saved-for-later a.ucb-ho__btn:focus-visible { background: #6b181c; color: #ffffff; }
#ucb-saved-for-later a:focus-visible { outline: 3px solid #1d2327; outline-offset: 2px; }

/* The note in ucb-customizations' side cart drawer (drawer_note_html()).
 * #1d2327 on #fbf8f3 15.1:1; link #8b2025 on #fbf8f3 8.6:1. */
#ucb-ho-drawer-note {
    margin: 12px 20px 4px;
    padding: 10px 12px;
    border: 1px solid #c3c4c7;
    border-left: 4px solid #8b2025;
    border-radius: 6px;
    background: #fbf8f3;
    color: #1d2327;
    font-size: 13.5px;
    line-height: 1.45;
}
#ucb-ho-drawer-note[hidden] { display: none; }
#ucb-ho-drawer-note p { margin: 0 0 4px; }
#ucb-ho-drawer-note p:last-child { margin-bottom: 0; }
#ucb-ho-drawer-note .ucb-ho-drawer__h { font-weight: 700; }
#ucb-ho-drawer-note a { color: #8b2025; text-decoration: underline; font-weight: 600; }
#ucb-ho-drawer-note a:focus-visible { outline: 3px solid #1d2327; outline-offset: 2px; }

/* On a receipt (receipt_panel_html() / receipt_line_html()): the purchase
 * comes first, so what came back is a quiet side panel on the class receipt
 * (the receipt stylesheet draws .ucb-receipt-panel) and one line elsewhere. */
.ucb-receipt-page .ucb-ho-receipt__list { list-style: none; margin: 0 0 10px; padding: 0; font-size: 14px; line-height: 1.45; color: var(--ucbr-ink, #1d2327); }
.ucb-receipt-page .ucb-ho-receipt__list li { margin: 0 0 4px; }
.ucb-receipt-page .ucb-ho-receipt .ucb-receipt-help__intro { margin-bottom: 10px; }
.ucb-ho.ucb-ho--line {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    margin: 0 0 1em;
    font-size: 14px;
}
