/* The resolver determines the page before the maintenance fallback is painted. */
.route-context-pending #maintenance-content,.route-context-pending>.status-skip{visibility:hidden}
.route-context-pending{min-height:100svh;background:#faf4eb}
.route-context-pending #route-context-status{display:flex;position:fixed;inset:0;z-index:5;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:24px;color:#2f4a46;background:#faf4eb;font:16px/1.6 'Nunito Sans',Arial,sans-serif;text-align:center}
.route-context-pending #route-context-status strong{font:500 34px/1.25 'Cormorant Garamond',Georgia,serif}
body:not(.route-context-pending) #route-context-status{display:none}
.store-context-error{max-width:36rem;margin:10vh auto;padding:28px;border:1px solid #dccfc2;border-radius:16px;background:#fffaf4;color:#2f4a46;font:16px/1.7 'Nunito Sans',Arial,sans-serif}
.store-context-error h1{font:500 34px/1.3 'Cormorant Garamond',Georgia,serif}
.store-context-error button,.store-context-error a{display:inline-flex;align-items:center;min-height:44px;padding:10px 16px;margin:8px 12px 0 0;border:1px solid #8a9d98;border-radius:12px;color:#2f4a46;background:#fffaf4;text-decoration:none;font:inherit;cursor:pointer}
.store-context-error :is(button,a):focus-visible{outline:3px solid #315773;outline-offset:3px}

/* Paint the resolved page in one step rather than exposing its bootstrap fragments. */
body[data-route-ready=pending]:where(:has([data-catalog],[data-detail],#favourites-grid,#cart-items,#payment-result))>:not(#route-ready-status):not(script):not(style){visibility:hidden}
body[data-route-ready=pending]:where(:has([data-catalog],[data-detail],#favourites-grid,#cart-items,#payment-result)){min-height:100svh;background:#faf4eb}
#route-ready-status{display:none;position:fixed;inset:0;z-index:1000;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:24px;background:#faf4eb;color:#2f4a46;text-align:center;font:16px/1.6 'Nunito Sans',Arial,sans-serif}
body[data-route-ready=pending]:where(:has([data-catalog],[data-detail],#favourites-grid,#cart-items,#payment-result))>#route-ready-status{display:flex}
#route-ready-status strong{font:500 34px/1.25 'Cormorant Garamond',Georgia,serif}
body:not([data-route-ready=pending]) #route-ready-status{display:none}
