/* Keep the original menu collage; give each layer its own breathing room. */
.frn-restaurant .venue-account-head{gap:14px 20px;margin-bottom:24px}
.frn-restaurant .venue-brand-column{gap:10px}
.frn-restaurant .venue-cuisine,.frn-restaurant .venue-open{line-height:1.6}
.frn-restaurant .venue-about{padding:14px;line-height:1.6}
.frn-restaurant .venue-live-menu{gap:22px 18px}
.frn-restaurant .venue-menu-category{margin-bottom:38px}
.frn-restaurant .menu-product:not(.menu-product--pizza){padding:18px}
.frn-restaurant .venue-live-rail{gap:20px;padding:6px 4px 24px}
#frn-cocktail-overlay .frn-cocktail-grid{--ckScale:.35;gap:16px 8px}
#frn-mains-overlay .frn-pcard:not(.expanded){scale:1.08}
#frn-mains-overlay foreignObject:first-child .frn-pcard:not(.expanded){scale:1.2}
.frn-category-title{scroll-margin-top:64px}
.frn-restaurant{padding-bottom:calc(100px + env(safe-area-inset-bottom))!important}

/* Pizza cards inherit their original dimensions, type, badges and controls.
   Their new positions and the spaces between sections live in restaurant-review.js. */

/* Paint the final menu layout first. Setup is not a category-change animation. */
html:not(.frn-ready) #bars .frn-menu-section,
html:not(.frn-ready) #bars .frn-menu-section *{transition:none!important;animation:none!important}

/* Pizza face and black nameplate are one visual unit, including during arrival. */
#bars .frn-food-host{isolation:isolate}
#bars .frn-food-host>.card{opacity:1!important;translate:none!important}
/* Avoid retaining a separate GPU surface for every SVG/HTML sublayer on mobile. */
#bars .frn-menu-section *{will-change:auto!important;backface-visibility:visible}

/* The dialog is animated once; nested artwork does not wobble or blur again. */
.frn-product-dialog{width:min(calc(100vw - 24px),480px);max-width:calc(100vw - 24px);max-height:calc(100dvh - 32px - env(safe-area-inset-bottom));background:#fff}
.frn-product-dialog[data-kind="pizza"]{width:min(100vw,480px);max-width:100vw;max-height:92dvh;background:transparent}
.frn-product-dialog .expanded,.frn-product-dialog .expanded *,
.frn-product-dialog .expanded *::before,.frn-product-dialog .expanded *::after{animation:none!important;transition:none!important}
.frn-product-dialog .ck-title{filter:none;will-change:auto}
.frn-product-dialog[data-kind="cocktail"] .frn-detail-stage{position:relative}
.frn-product-dialog[data-kind="cocktail"] .ck-card.expanded{position:relative!important;width:100%!important;height:auto!important;overflow:hidden;border-radius:24px;background:#fff;cursor:default}
.frn-product-dialog[data-kind="cocktail"] .ck-base,
.frn-product-dialog[data-kind="cocktail"] .ck-divider,
.frn-product-dialog[data-kind="cocktail"] .ck-label,
.frn-product-dialog[data-kind="cocktail"] .ck-shimmer-mask{display:none}
.frn-product-dialog[data-kind="cocktail"] .ck-card.expanded .ck-mint{position:relative;inset:auto;width:100%;height:clamp(180px,31dvh,270px);border-radius:24px 24px 0 0;transform:none;background-size:cover}
.frn-product-dialog[data-kind="cocktail"] .ck-details{position:relative;inset:auto;padding:24px;gap:12px;opacity:1;transform:none;visibility:visible}
.frn-product-dialog[data-kind="cocktail"] .ck-title{font-size:clamp(23px,6vw,29px);line-height:1.15}
.frn-product-dialog[data-kind="cocktail"] .ck-price{font-size:23px;line-height:1.3}
.frn-product-dialog[data-kind="cocktail"] .ck-desc{font-size:15px;line-height:1.6}
.frn-product-dialog[data-kind="cocktail"] .ck-ingredients{font-size:14px;line-height:1.8}
.frn-product-dialog[data-kind="cocktail"] .ck-cta{position:relative;inset:auto;margin:0 24px 24px;height:54px;opacity:1;transform:none;letter-spacing:1.5px;box-shadow:0 6px 14px #0002}
.frn-product-dialog[data-kind="cocktail"] .frn-close{width:40px;height:40px;right:12px;top:12px}
.frn-detail-open #orion-launcher,.frn-detail-open .order-cart-button{visibility:hidden;pointer-events:none}
@media(prefers-reduced-motion:reduce){.frn-product-dialog,.frn-product-dialog *{animation:none!important;transition:none!important}}

/* A quick section entrance; the original menu artwork never stretches. */
@media(prefers-reduced-motion:no-preference){.frn-menu-section.frn-arriving{animation:frn-menu-arrive 420ms both}.frn-restaurant .venue-about[open]>p{animation:frn-menu-arrive 280ms both}}
@keyframes frn-menu-arrive{0%{opacity:.35;translate:18px 12px}70%{opacity:1;translate:-2px -2px}100%{opacity:1;translate:0 0}}
