/* Etapa 4.5 R9 R2 — movimento real e cartões proporcionais */
:root{--food-smooth:cubic-bezier(.22,1,.36,1);--food-orange:#f45134}
/* Visible branded entrance independent from SPA boot timing. No splash on internal routes. */
#food-boot-vignette{position:fixed;inset:0;z-index:2147483000;display:grid;place-content:center;justify-items:center;gap:22px;background:var(--food-orange);color:#fff;pointer-events:all;isolation:isolate;transition:opacity .58s var(--food-smooth),visibility .58s;overflow:hidden}
#food-boot-vignette:before{content:"";position:absolute;inset:50% auto auto 50%;width:min(75vw,480px);aspect-ratio:1;border-radius:50%;transform:translate(-50%,-50%) scale(.66);border:1px solid rgba(255,255,255,.35);animation:food-r9r2-ring 1.9s var(--food-smooth) .1s both;pointer-events:none}
#food-boot-vignette .food-boot-logo{width:clamp(104px,26vw,162px);max-height:165px;object-fit:contain;filter:brightness(0) invert(1);animation:food-r9r2-logo 1.25s var(--food-smooth) both;position:relative;z-index:1}
#food-boot-vignette .food-boot-name{font-size:clamp(18px,4.8vw,24px);font-weight:850;letter-spacing:-.025em;animation:food-r9r2-name .8s var(--food-smooth) .42s both;position:relative;z-index:1}
#food-boot-vignette.is-leaving{opacity:0;visibility:hidden;pointer-events:none}
@keyframes food-r9r2-logo{from{opacity:0;transform:translateY(19px) scale(.81);filter:brightness(0) invert(1) blur(4px)}75%{opacity:1;filter:brightness(0) invert(1) blur(0)}to{opacity:1;transform:none}}
@keyframes food-r9r2-ring{0%{opacity:0;transform:translate(-50%,-50%) scale(.55)}45%{opacity:.55}100%{opacity:0;transform:translate(-50%,-50%) scale(1.16)}}
@keyframes food-r9r2-name{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
/* Compact, legible product cards. Avoid 250px of empty art or fixed 50px description gap. */
.shop-intro .product-grid{gap:clamp(11px,1.4vw,18px)!important}
.shop-intro .product-card{border-radius:18px;min-height:0;overflow:hidden;box-shadow:0 7px 22px rgba(60,33,22,.055)}
.shop-intro .product-image{height:clamp(132px,12vw,172px)!important;min-height:0}
.shop-intro .product-image img{max-height:96%;max-width:92%;object-fit:contain}
.shop-intro .product-content{padding:14px 16px 13px!important;gap:0}
.shop-intro .product-content h3{font-size:clamp(15px,1.25vw,17px);line-height:1.3}
.shop-intro .product-content p{min-height:0!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.5;margin:6px 0 11px!important;font-size:12px}
.shop-intro .product-foot{margin-top:auto;min-height:40px}
.shop-intro .product-foot .price{font-size:clamp(17px,1.4vw,20px)}
.shop-intro .add-round{width:39px;height:39px;min-width:39px;min-height:39px}
/* Smooth interaction, not removed. No giant lift or jitter. */
:where(.shop-intro,.food-market-home,.food-address-modal,.account-area,.admin-shell) :is(.btn,.product-card,.marketplace-card,.filter-chip,.food-market-category,.food-address-use,.side-nav button,.food-store-tabs button){transition:transform .42s var(--food-smooth),box-shadow .42s var(--food-smooth),background-color .34s ease,border-color .34s ease,opacity .3s ease!important}
:where(.shop-intro,.food-market-home) :is(.product-card,.marketplace-card):hover{transform:translateY(-2px);box-shadow:0 13px 30px rgba(65,34,21,.10)}
:where(.shop-intro,.food-market-home,.food-address-modal) :is(.btn,.food-address-use):hover:not(:disabled){transform:translateY(-1px)}
:where(.shop-intro,.food-market-home,.food-address-modal) :is(.btn,.product-card,.marketplace-card):active{transform:scale(.992);transition-duration:.22s!important}
/* Dialogs use one consistent smooth curve. Old CSS layers had conflicting quick animations. */
.food-address-modal,.scrim .dialog,.scrim .sidepanel,.food-filter-sheet,.food-filter-dialog{animation-duration:.52s!important;animation-timing-function:var(--food-smooth)!important}
.food-address-scrim,.scrim{animation-duration:.42s!important;animation-timing-function:ease-out!important}
/* Maps provide feedback within the form, never a toast obstructing fixed navigation. */
.food-map-status,.food-geo-verified{transition:background-color .36s ease,color .36s ease,border-color .36s ease}
@media(min-width:1200px){.shop-intro .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.shop-intro .product-grid:has(>.product-card:only-child){grid-template-columns:minmax(0,380px)!important;max-width:380px}}
@media(min-width:760px) and (max-width:1199px){.shop-intro .product-image{height:150px!important}}
@media(max-width:759px){.shop-intro .product-grid{grid-template-columns:minmax(0,1fr)!important;gap:12px!important}.shop-intro .product-card{display:grid;grid-template-columns:minmax(120px,39%) minmax(0,1fr);min-height:150px}.shop-intro .product-image{height:auto!important;min-height:150px}.shop-intro .product-content{padding:14px 13px 11px!important;min-width:0;display:flex;flex-direction:column}.shop-intro .product-content h3{font-size:16px}.shop-intro .product-content p{font-size:11.5px;line-height:1.45;max-height:3em}.shop-intro .product-foot{padding-top:8px;gap:7px}.shop-intro .product-foot .price{font-size:16px}.shop-intro .add-round{width:36px;height:36px;min-width:36px;min-height:36px}}
@media(max-width:360px){.shop-intro .product-card{grid-template-columns:minmax(106px,36%) minmax(0,1fr)}.shop-intro .product-content{padding:11px 10px!important}.shop-intro .product-content h3{font-size:14px}}
@media(prefers-reduced-motion:reduce){#food-boot-vignette:before,#food-boot-vignette .food-boot-logo,#food-boot-vignette .food-boot-name{animation:none!important}#food-boot-vignette{transition:none!important}}
