/*
 * MORUFE: black, bold HTML text — 2026-12-04.
 * Standalone candidate; the live theme and its stage have not been edited.
 * Register this stylesheet BEFORE base/index.css in each storefront layout.
 * Its first cascade layer makes these important text declarations win over
 * the baseline's theme/component layers and unlayered campaign !important rules.
 * No font-family, image filter, SVG fill/stroke, content, layout or image edits.
 */
@layer morufe-black-bold-20261204;

@layer morufe-black-bold-20261204 {
  /* All ordinary HTML, including native/custom elements and injected reviews.
     Exclude source artwork, SVG descendants and the baseline's .icon elements. */
  html,
  body,
  body :not(:where(
    svg, svg *, img, picture, video, audio, canvas, iframe, object, embed,
    script, style, template, noscript, .icon, .icon *
  )) {
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
    font-weight: 700 !important;
  }

  /* Generated cart labels, short service captions and other textual pseudos. */
  body :not(:where(
    svg, svg *, img, picture, video, audio, canvas, iframe, object, embed,
    script, style, template, noscript, .icon, .icon *
  ))::before,
  body :not(:where(
    svg, svg *, img, picture, video, audio, canvas, iframe, object, embed,
    script, style, template, noscript, .icon, .icon *
  ))::after {
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
    font-weight: 700 !important;
  }

  body :is(input, textarea)::placeholder {
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
    font-weight: 700 !important;
    opacity: 1 !important;
  }

  body :is(input, textarea, select):-webkit-autofill {
    -webkit-text-fill-color: #000 !important;
    font-weight: 700 !important;
  }

  body ::selection {
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
    background-color: #ffeadc;
  }

  /* Native primary buttons use #123e43 in baseline schemes 1/3–10.
     Adjust only their fallback variables: existing explicit orange backgrounds,
     secondary/link/icon buttons, and orange schemes 2/11 retain their treatment. */
  body .button:not(:where(
    .button--secondary, .button--link, .button--text, .button--icon,
    .pay-button-buy-now, .color-scheme-2 .button, .color-scheme-11 .button
  )) {
    --color-button-background: 255, 246, 239 !important;
    --color-button-text: 0, 0, 0 !important;
  }

  body .button--secondary {
    --color-button-secondary-text: 0, 0, 0 !important;
    --color-button-secondary-border: 0, 0, 0 !important;
  }

  /* Keep purchase actions orange. The existing burnt-orange hover was too dark
     for black normal-size text; reuse the current brighter orange palette. */
  body :is(.pay-button-buy-now, .shopline-element-buy-now):not(:disabled):not([aria-disabled="true"]),
  body .sx-button:not(.sx-button--outline),
  body .df-hero__primary {
    background-color: var(--sxm-orange, #ff6200) !important;
    border-color: var(--sxm-orange, #ff6200) !important;
  }

  body :is(.pay-button-buy-now, .shopline-element-buy-now):not(:disabled):not([aria-disabled="true"]):hover,
  body .sx-button:not(.sx-button--outline):hover,
  body .df-hero__primary:hover {
    background-color: var(--sxm-orange-mid, #ff9e60) !important;
    border-color: var(--sxm-orange-mid, #ff9e60) !important;
  }

  /* A disabled control remains disabled; use a pale surface rather than
     dimming its black label. Cursor, pointer events and native state stay intact. */
  body :is(button:disabled, input:disabled, textarea:disabled, select:disabled, .button.disabled) {
    opacity: 1 !important;
  }

  body :is(button:disabled, input[type="submit"]:disabled, .button.disabled):not(.button--icon) {
    background-color: #f1f3f3 !important;
    border-color: #b9c1c4 !important;
  }

  /* Only the known inverted native surfaces become pale; no global page or
     image background is replaced. Schemes 2/11 have #123e43 backgrounds. */
  body :is(.color-scheme-2, .color-scheme-11),
  body .footer {
    background-color: var(--sxm-cream, #fff6ef) !important;
  }

  body .footer {
    --color-background: 255, 246, 239 !important;
    --color-entry-line: 223, 213, 204 !important;
  }

  /* These exact baseline components use dark green/black surfaces. */
  body :is(.df-volume, .hv4-delivery, .bf5-announcement, .bf5-cart-count),
  body .df-category-nav a:first-child,
  body .df-discovery__search button,
  body .df-card-link:hover,
  body .bf5-native-purchase button[type="submit"],
  body .bf5-native-purchase .bf5-add-to-cart,
  body .bf5-review-contact {
    background-color: var(--sxm-cream, #fff6ef) !important;
  }

  body .df-discovery__search button:hover,
  body .bf5-native-purchase button[type="submit"]:hover,
  body .bf5-review-contact:hover {
    background-color: var(--sxm-orange-light, #ffeadc) !important;
  }

  /* Leave the dark oven campaign photograph/gradient intact; light backing is
     limited to its real text cells, not the image cell or the whole page. */
  body :is(.bf-oven-home__intro, .bf-oven-home__offer, .bf-hero__categories) {
    background-color: var(--sxm-cream, #fff6ef) !important;
  }
}
