/* Shared decorative layer. Photos, edition artwork and financial controls keep their geometry. */
:root,body.offer-active{--royal-dark:var(--theme-hero-bg);--royal-deep:var(--theme-primary-hover-bg);--royal-navy:var(--theme-primary-bg);--royal-midnight:var(--theme-hero-bg);--royal-cream:var(--theme-page-bg);--royal-ivory:var(--theme-page-bg);--royal-parchment:var(--theme-accent-bg);--royal-sand:var(--theme-accent-bg);--royal-saffron:var(--theme-primary-bg);--royal-saffron-hover:var(--theme-primary-hover-bg);--royal-surface:var(--theme-surface);--royal-surface-muted:var(--theme-surface-muted);--royal-text:var(--theme-text);--royal-text-muted:var(--theme-text-muted);--orange:var(--theme-primary-bg);--gradient-primary:linear-gradient(125deg,var(--theme-primary-bg),var(--theme-primary-hover-bg))}
@media screen {
body:is(.mabapu-app-runtime-body,.admin-runtime-body,.chef-layout,.maintenance-body,.mabapu-standalone-body):not(.offer-active){background-color:var(--theme-page-bg)!important;background-image:var(--theme-page-art,none)!important;background-size:var(--theme-art-size,260px);color:var(--theme-text)}
body:not(.offer-active) :is(.public-catalog,.public-chef,.chef-directory,.custom-page,.mh-page,.admin-content,.chef-main,.ma-auth,.jobs-page,.commerce-surface,.pd-page,.rp,.premium-experience,.magazine:not(.magazine--issue)){background-color:var(--theme-page-bg);background-image:var(--theme-page-art,none)!important;background-size:var(--theme-art-size,260px)}
body:not(.offer-active) :is(.master-header,.navbar-royal,.footer-royal,.footer-pro-container,.mobile-dock){background-image:var(--theme-page-art,none)!important;background-size:var(--theme-art-size,260px)}
body:not(.offer-active) .recipes-discovery-strip{background:var(--theme-accent-bg);border-color:var(--theme-border)}
body:not(.offer-active) .recipes-discovery-strip__links a{background:var(--theme-surface);color:var(--theme-text);border-color:var(--theme-border)}
body:not(.offer-active) .recipes-discovery-strip__links a[aria-current=page]{background:var(--theme-primary-bg);color:var(--theme-primary-text);border-color:var(--theme-primary-bg);box-shadow:none}
body:not(.offer-active) .rp{--bg:var(--theme-page-bg);--surface:var(--theme-surface);--surf2:var(--theme-surface-muted);--ink:var(--theme-text);--muted:var(--theme-text-muted);--dim:var(--theme-text-muted);--red:var(--theme-link);--saff:var(--theme-primary-bg);--bdr:var(--theme-border);--bdrB:var(--theme-border)}
body:not(.offer-active) .rp-tband{background-color:var(--theme-hero-bg);background-image:var(--theme-page-art);color:var(--theme-hero-text)}
body:not(.offer-active) .rp-tband h1{color:var(--theme-hero-text)}
body:not(.offer-active) .rp-crumb{color:var(--theme-hero-muted)}
body:not(.offer-active) :is(.settings-hero,.aw-hero,.cat-hero,.cat-search-hero,.cp-hero-copy,.pc-directory-hero,.cdv-hero-copy,.cd-hero,.maintenance-card){background-image:var(--theme-page-art,none);background-position:right center;background-size:var(--theme-art-size,260px);border-radius:var(--theme-craft-radius,22px);animation:var(--theme-craft-motion,mabapu-craft-reveal) .65s ease-out both}
body:not(.offer-active) :is(.settings-hero,.aw-hero){background-color:var(--theme-hero-bg);background-image:linear-gradient(105deg,var(--theme-hero-bg) 30%,transparent),var(--theme-hero-art,none);color:var(--theme-hero-text)}
body:not(.offer-active) :is(.mh-hero,.cw-hero,.ma-auth-story,.premium-hero){animation:var(--theme-craft-motion,mabapu-craft-reveal) .65s ease-out both}
body:not(.offer-active) :is(.cat-hero,.cp-hero,.pc-section,.mh-section,.card,.recipe-card,.product-card,.form-card,.table-card){border-radius:var(--theme-craft-radius,22px);border-style:var(--theme-craft-border,solid)}
/* Visible pattern around text panels; product/recipe imagery remains untouched. */
body:not(.offer-active) :is(.cat-search-hero,.cp-hero-copy){padding:clamp(20px,3vw,38px)}
body:not(.offer-active) .premium-experience{--premium-ink:var(--theme-text);--premium-muted:var(--theme-text-muted);--premium-paper:var(--theme-page-bg);--premium-gold:var(--theme-accent-bg)}
body:not(.offer-active) :is(.premium-hero,.premium-plan,.premium-token)::before{background-image:linear-gradient(90deg,color-mix(in srgb,var(--theme-hero-bg) 96%,transparent),color-mix(in srgb,var(--theme-hero-bg) 90%,transparent) 32%,color-mix(in srgb,var(--theme-hero-bg) 58%,transparent) 56%,color-mix(in srgb,var(--theme-hero-bg) 18%,transparent)),var(--theme-page-art);background-size:auto,var(--theme-art-size,260px)}
/* Offers own the public shell while active; no admin artwork bleeds into campaign art. */
body.mabapu-app-runtime-body.offer-active{background-color:var(--offer-menu-bg)!important;background-image:var(--offer-page-art,none)!important;background-size:cover;background-attachment:scroll}
body.offer-active :is(.public-catalog,.public-chef,.chef-directory,.custom-page,.mh-page,.ma-auth,.jobs-page,.commerce-surface,.pd-page:not(.pd-page--event),.rp,.premium-experience){background-color:var(--theme-page-bg);background-image:var(--offer-page-art,none)!important;background-size:cover;background-attachment:scroll}
@keyframes mabapu-craft-rise{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes mabapu-craft-reveal{from{opacity:.4}to{opacity:1}}
}
@media(prefers-reduced-motion:reduce){body :is(.settings-hero,.aw-hero,.cat-hero,.cat-search-hero,.cp-hero-copy,.pc-directory-hero,.cdv-hero-copy,.cd-hero,.maintenance-card,.mh-hero,.cw-hero,.ma-auth-story,.premium-hero){animation:none!important}}
