/* Customer messages inherit the storefront's day/night controls. */
:root{--mr-notice-bg:#203c34;--mr-notice-ink:#f3ecdb;--mr-alert-bg:#422d26;--mr-alert-ink:#ffe6d6;--mr-error-text:#ffbea0}
html[data-theme="light"]{--mr-notice-bg:#e4ece3;--mr-notice-ink:#203d33;--mr-alert-bg:#f2e2d6;--mr-alert-ink:#643623;--mr-error-text:#7b402b}
main .notice,main .alert{padding:1rem 1.25rem;border:1px solid transparent;border-radius:4px;font:inherit;line-height:1.55;overflow-wrap:anywhere}
main .alert{background:var(--mr-alert-bg);color:var(--mr-alert-ink)}
main .notice,main .alert--soft{background:var(--mr-notice-bg);color:var(--mr-notice-ink)}
main .field__error{color:var(--mr-error-text);font-weight:650}
main .alert ul{padding-inline-start:1.2rem;margin:.4rem 0 0}
.account .panel,.bag .panel{background:var(--bg-2);color:var(--text);border-color:var(--line)}
.account .field__hint,.bag .field__hint{color:var(--text-2)}
.mr-recovery__sheet .btn--text,.account .btn--text{color:var(--text);text-underline-offset:3px}
main [aria-invalid="true"]{border-color:var(--mr-error-text);outline-offset:2px}
.mr-recovery{max-width:48rem;margin-inline:auto}
.mr-recovery__sheet{padding:clamp(24px,6vw,70px);background:var(--bg-2) url('/assets/img/pattern-zellige.svg') repeat-x left top/20px 8px;color:var(--text)}
.mr-recovery__sheet h1{font-family:var(--font-display);font-size:clamp(2.2rem,5vw,3.8rem);line-height:1.08;letter-spacing:-.025em;margin:0}
.mr-recovery__sheet p{max-width:47ch;line-height:1.6;margin-block:1.3rem}
.mr-recovery__sheet .actions{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem 1.25rem}
.mr-recovery__sheet .btn{min-height:44px}
.mr-recovery .mr-recovery__code{color:var(--text-2);margin:.8rem 0 0;font-size:.875rem}
@media print {
  body:has(main :is(.mr-recovery__sheet,[role="alert"])) {
    background:white;color:#182e29;
    --bg-2:white;--text:#182e29;--text-2:#32433e;--line:#7b847e;
    --mr-alert-bg:white;--mr-alert-ink:#30231b;--mr-error-text:#442717;
  }
  body:has(main :is(.mr-recovery__sheet,[role="alert"])) > :not(main),
  main:has(.mr-recovery__sheet,[role="alert"]) .breadcrumbs {display:none!important}
  main:has(.mr-recovery__sheet,[role="alert"]) {margin:10mm auto;max-width:170mm}
  main:has(.mr-recovery__sheet,[role="alert"])::before {content:"Moroccan Rituals";display:block;color:#173d36;font:20pt Georgia,serif;border-bottom:1pt solid #53675b;padding-bottom:3mm}
  main:has(.mr-recovery__sheet,[role="alert"]) .section {padding:5mm 0;margin:0;width:100%}
  main :is(.mr-recovery__sheet,.panel:has([role="alert"])) {padding:4mm 0;background:white;box-shadow:none}
  main .mr-recovery__sheet h1 {font-size:24pt}
  main:has(.mr-recovery__sheet,[role="alert"]) :is(.btn,button) {background:white;color:#182e29;border:0;padding-inline:0}
  main:has(.mr-recovery__sheet) a[href="mailto:hello@moroccanrituals.in"]::after {content:" · hello@moroccanrituals.in";font:10pt Arial,sans-serif}
}
