/* OWDEX Food R9 R1: acabamento público e escalabilidade sem alterar fluxo comercial. */
:root{--food-r9r1-ease:cubic-bezier(.22,1,.36,1);--food-r9r1-orange:#f45134}
/* Splash web: a splash nativa estática do iOS não aceita movimento; esta vinheta anima quando o app inicializa. */
#app>.splash{position:fixed;inset:0;z-index:9999;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:26px;background:var(--food-r9r1-orange);color:#fff;min-height:100dvh;overflow:hidden;isolation:isolate}
#app>.splash:before{content:'';position:absolute;width:min(64vw,430px);aspect-ratio:1;border-radius:50%;border:1px solid rgba(255,255,255,.20);animation:food-r9r1-ring 1.45s ease-out .06s both;pointer-events:none}
#app>.splash img{width:clamp(84px,23vw,152px);max-height:180px;object-fit:contain;filter:brightness(0) invert(1);animation:food-r9r1-mark 1.05s var(--food-r9r1-ease) both;z-index:1}
#app>.splash span{font-size:14px;letter-spacing:.025em;font-weight:650;opacity:.9;animation:food-r9r1-copy .85s ease-out .36s both;z-index:1}
@keyframes food-r9r1-mark{0%{opacity:0;transform:translateY(17px) scale(.78);filter:brightness(0) invert(1) blur(5px)}68%{opacity:1;filter:brightness(0) invert(1) blur(0)}100%{transform:translateY(0) scale(1)}}
@keyframes food-r9r1-ring{0%{transform:scale(.45);opacity:0}60%{opacity:1}100%{transform:scale(1.1);opacity:0}}
@keyframes food-r9r1-copy{from{opacity:0;transform:translateY(8px)}to{opacity:.9;transform:none}}
/* Mobile and desktop maximize usable width without stretching isolated cards unnaturally. */
@media(min-width:1360px){.food-market-home.container,.shop-intro.container,.site-header .container{max-width:min(1680px,calc(100vw - 88px))!important}.food-market-home .marketplace-grid:not(.is-single){grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:20px}.shop-intro .product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}}
@media(min-width:1760px){.food-market-home.container,.shop-intro.container,.site-header .container{max-width:1680px!important}.food-market-home .marketplace-grid:not(.is-single){grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(min-width:760px) and (max-width:1359px){.shop-intro .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:759px){.food-market-home.container,.shop-intro.container{padding-inline:clamp(12px,3.5vw,19px)}.shop-intro .product-grid{grid-template-columns:minmax(0,1fr)}.food-market-home .marketplace-welcome{margin-top:8px}}
/* Smooth dialogs, cards and interface surfaces. Keep motions rather than remove them. */
:where(.food-address-modal,.modal,.scrim .sidepanel,.food-filter-dialog,.food-filter-sheet,.product-modal,.customer-modal){transition:transform .42s var(--food-r9r1-ease),opacity .38s ease,box-shadow .42s ease;will-change:auto}
:where(.food-market-home,.shop-intro) :where(.btn,.marketplace-card,.product-card,.food-market-category){transition-property:transform,box-shadow,background-color,border-color,opacity;transition-duration:.45s,.45s,.35s,.35s,.3s;transition-timing-function:var(--food-r9r1-ease)}
:where(.food-market-home,.shop-intro) :where(.btn,.marketplace-card,.product-card):active{transform:scale(.992)}
/* Interactive scrollbars and restrained overlays. */
.food-address-modal{overscroll-behavior:contain}.food-address-modal :where(input,button){scroll-margin-block:95px}
#toast{pointer-events:none}#toast:empty{display:none}
@media(prefers-reduced-motion:reduce){#app>.splash:before,#app>.splash img,#app>.splash span{animation:none!important}*,*::before,*::after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}
