/* Website palette, applied only to active Ready components. */
/* Product, cart and generic messaging cards. */
body.rs-ready-brand .rs-ready-placeholder,
body.rs-ready-brand .rs-ready-card,
body.rs-ready-brand.checkout-cart-index #rs-ready-cart.rs-ready-cart-dispatch {
    border-left-color: var(--rs-ready-green) !important;
}
body.rs-ready-brand .rs-ready-placeholder-spinner {
    border-color: var(--rs-ready-green-border) !important;
    border-top-color: var(--rs-ready-green) !important;
}
body.rs-ready-brand .rs-ready-card h2,
body.rs-ready-brand .rs-ready-card .rs-ready-prompt,
body.rs-ready-brand .rs-ready-card .rs-ready-lines span,
body.rs-ready-brand.checkout-cart-index #rs-ready-cart .rs-ready-dispatch-headline strong {
    color: var(--rs-ready-green) !important;
}
body.rs-ready-brand .rs-ready-card .rs-ready-date { color: var(--rs-ready-ink) !important; }
body.rs-ready-brand .rs-ready-card .rs-ready-ack {
    border-left-color: var(--rs-ready-blue) !important;
    background: var(--rs-ready-blue-soft) !important;
}
body.rs-ready-brand .rs-ready-card .rs-ready-ack input,
body.rs-ready-brand .rs-ready-confirm-dialog input { accent-color: var(--rs-ready-green) !important; }
body.rs-ready-brand .rs-ready-confirm-actions button:last-child {
    border-color: var(--rs-ready-green) !important;
    background: var(--rs-ready-green) !important;
}

/* Cart delivery tiles and calculator. */
body.rs-ready-brand.checkout-cart-index #co-shipping-method-form[data-rs-cart-rates="1"] .field.choice.item:has(input:checked) {
    border-color: var(--rs-ready-green-border) !important;
    background: var(--rs-ready-green-soft) !important;
    box-shadow: inset 3px 0 var(--rs-ready-green) !important;
}
body.rs-ready-brand.checkout-cart-index #co-shipping-method-form[data-rs-cart-rates="1"] input.radio {
    accent-color: var(--rs-ready-green) !important;
}
body.rs-ready-brand.checkout-cart-index .cart-summary #block-shipping {
    border-left-color: var(--rs-ready-green) !important;
}
body.rs-ready-brand.checkout-cart-index .cart.main.actions.rs-ready-cart-actions > .rs-ready-checkout-action {
    border-color: var(--rs-ready-blue) !important;
    background: var(--rs-ready-blue) !important;
}
body.rs-ready-brand.checkout-cart-index .cart.main.actions.rs-ready-cart-actions > .rs-ready-checkout-action:hover {
    border-color: var(--rs-ready-ink) !important;
    background: var(--rs-ready-ink) !important;
}

/* Checkout delivery flow, sidebar controls and order action. */
body.rs-ready-brand.checkout-index-index .rs-ready-order.rs-ready-checkout-flow,
body.rs-ready-brand.checkout-index-index #opc-sidebar .rs-ready-sidebar-billing,
body.rs-ready-brand.checkout-index-index #opc-sidebar .opc-block-shipping-information .shipping-information-content {
    border-left-color: var(--rs-ready-green) !important;
}
body.rs-ready-brand.checkout-index-index .rs-ready-checkout-flow .rs-ready-flow-icon {
    border-color: var(--rs-ready-green-border) !important;
    background: var(--rs-ready-green-soft) !important;
    color: var(--rs-ready-green) !important;
}
body.rs-ready-brand.checkout-index-index .rs-ready-checkout-flow .rs-ready-flow-step:last-child .rs-ready-flow-value {
    color: var(--rs-ready-blue) !important;
}
body.rs-ready-brand.checkout-index-index #opc-sidebar {
    --rs-sidebar-action: var(--rs-ready-green) !important;
}
body.rs-ready-brand.checkout-index-index .checkout-agreement input[type="checkbox"]:focus-visible + .label::before {
    outline-color: var(--rs-ready-blue) !important;
}
body.rs-ready-brand.checkout-index-index .checkout-payment-method .payment-method._active
> .payment-method-content > .actions-toolbar button.action.primary.checkout {
    border-color: var(--rs-ready-blue) !important;
    background: var(--rs-ready-blue) !important;
    box-shadow: 0 7px 16px rgba(0, 0, 0, .17) !important;
}
body.rs-ready-brand.checkout-index-index .checkout-payment-method .payment-method._active
> .payment-method-content > .actions-toolbar button.action.primary.checkout:hover,
body.rs-ready-brand.checkout-index-index .checkout-payment-method .payment-method._active
> .payment-method-content > .actions-toolbar button.action.primary.checkout:focus-visible {
    border-color: var(--rs-ready-ink) !important;
    background: var(--rs-ready-ink) !important;
}
body.rs-ready-brand .rs-ready-preview-pill {
    border-color: var(--rs-ready-ink) !important;
    background: var(--rs-ready-ink) !important;
}
body.rs-ready-brand :focus-visible { outline-color: var(--rs-ready-blue); }
