/* K24 5.1.0: targeted contrast and overflow guard. No global heading reset. */
body.k24-portal-v41.k24-hub-ux-v46 .k24-uxv4 .k24ux-sectionhero {background:#163f3d;color:#fff}
body.k24-portal-v41.k24-hub-ux-v46 .k24-uxv4 .k24ux-sectionhero .k24ux-sectionhero__copy {min-width:0;color:#fff}
body.k24-portal-v41.k24-hub-ux-v46 .k24-uxv4 .k24ux-sectionhero h1 {color:#fff}
body.k24-portal-v41.k24-hub-ux-v46 .k24-uxv4 .k24ux-sectionhero .k24ux-sectionhero__copy p {color:#e4f2ee}
body.k24-portal-v41.k24-hub-ux-v46 .k24-uxv4 .k24ux-sectionhero .k24ux-eyebrow {color:#e4f2ee;background:transparent}
body.k24-portal-v41.k24-hub-ux-v46 .k24-uxv4 .k24ux-sectionhero .k24ux-count {color:#fff;border-color:#95b9b1;background:transparent}
/* Historical engine declares dark primary label !important. Override only audited components. */
body.k24-portal-v41 :is(.k24-catalog-page,.k24-series-page) .k24-catalog-filters .k24-button--primary,
body.k24-portal-v41.k24-series-archive .k24-catalog-filters .k24-button--primary,
body.k24-portal-v41 .k24-promotions-v2 :is(.k24-promotions-filters,.k24-promo-card__actions) .k24-button--primary {
    background:#00796f;color:#fff!important;border-color:#00796f
}
body.k24-portal-v41 :is(.k24-catalog-page,.k24-series-page) .k24-catalog-filters .k24-button--primary:is(:hover,:focus-visible),
body.k24-portal-v41.k24-series-archive .k24-catalog-filters .k24-button--primary:is(:hover,:focus-visible),
body.k24-portal-v41 .k24-promotions-v2 :is(.k24-promotions-filters,.k24-promo-card__actions) .k24-button--primary:is(:hover,:focus-visible) {
    background:#07534f;color:#fff!important;border-color:#07534f
}
body.k24-portal-v41 .k24-promotions-v2 .k24-deal-card,
body.k24-portal-v41 .k24-promotions-v2 .k24-deal-card__body,
body.k24-portal-v41 .k24-promotions-v2 :is(.k24-deal-card__title,.k24-deal-card__facts,.k24-deal-card__merchant,.k24-promo-card__context) {
    min-width:0;max-width:100%;overflow-wrap:anywhere;box-sizing:border-box
}
body.k24-portal-v41 .k24-promotions-v2 .k24-promo-card__actions {
    display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,138px),1fr));
    gap:8px;min-width:0;max-width:100%;width:100%;box-sizing:border-box
}
body.k24-portal-v41 .k24-promotions-v2 .k24-promo-card__actions .k24-button {
    display:flex;align-items:center;justify-content:center;min-width:0;width:100%;max-width:100%;
    box-sizing:border-box;min-height:44px;height:auto;white-space:normal;overflow-wrap:anywhere;
    text-align:center;line-height:1.35;padding:9px 10px;margin:0
}
body.k24-portal-v41 .k24-promotions-v2 .k24-deal-card__price {min-width:0;flex-wrap:wrap;overflow-wrap:anywhere}
body.k24-portal-v41 .k24-promotions-v2 .k24-promotions-filters :is(label,select,button) {min-width:0;max-width:100%;box-sizing:border-box}
body.k24-portal-v41 .k24-promotions-v2 .k24-deals-history-note :is(strong,span) {min-width:0;white-space:normal;overflow-wrap:anywhere}
body.k24-portal-v41 .k24-promotions-v2 .k24-promo-card__actions .k24-button:focus-visible {
    outline:3px solid #2458c8;outline-offset:-3px;transform:none
}
body.k24-portal-v41 :is(.k24-promotions-filters,.k24-catalog-filters) button:focus-visible {outline:3px solid #2458c8;outline-offset:2px}
/* Branded real 404. Flexible content with no duplicate header search. */
body.k51-error-body .k51-error {
    width:min(100% - 32px,960px);margin:clamp(28px,6vw,80px) auto;box-sizing:border-box;
    background:#fff;border:1px solid #dbe4e7;border-radius:20px;display:grid;
    grid-template-columns:minmax(0,170px) minmax(0,1fr);align-items:center;gap:clamp(16px,4vw,36px);
    padding:clamp(20px,4vw,46px);color:#142f35
}
.k51-error .k51-error__mark {background:#ddf6f0;color:#07534f;font-size:clamp(36px,6vw,64px);font-weight:850;line-height:1;letter-spacing:-.06em;display:grid;place-items:center;min-height:140px;border-radius:14px}
.k51-error .k51-error__copy {min-width:0}
.k51-error .k51-error__copy h1 {margin:0 0 12px;color:#142f35;font-size:clamp(27px,4vw,42px);line-height:1.16;overflow-wrap:anywhere}
.k51-error .k51-error__copy p {margin:0 0 20px;color:#52666e;font-size:16px;line-height:1.55}
.k51-error .k51-error__links {display:flex;flex-wrap:wrap;gap:9px;min-width:0}
.k51-error .k51-error__links a {box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-height:44px;max-width:100%;padding:10px 15px;border:1px solid #b5cfc9;border-radius:9px;background:#fff;color:#07534f;font-weight:750;text-decoration:none;white-space:normal;overflow-wrap:anywhere}
.k51-error .k51-error__links a.k51-error__primary {background:#00796f;color:#fff;border-color:#00796f}
.k51-error .k51-error__links a:hover {background:#ddf6f0;color:#07534f}
.k51-error .k51-error__links a:focus-visible {outline:3px solid #2458c8;outline-offset:2px}
@media(max-width:600px){
    body.k51-error-body .k51-error {grid-template-columns:minmax(0,1fr)}
    .k51-error .k51-error__mark {min-height:84px}
}
