/* Motion only: the counter stylesheet owns layout, typography and brand surfaces. */
body[data-motion="full"]{--motion-duration:.32s;--motion-short:.18s}
body[data-motion="soft"]{--motion-duration:.14s;--motion-short:.09s}
body[data-motion="off"]{--motion-duration:0s;--motion-short:0s}

.motion-menu-ghost,.motion-floating-photo,.motion-flying-food{pointer-events:none!important;user-select:none!important;contain:layout paint;overflow:hidden;will-change:transform,opacity;isolation:isolate}
.motion-menu-ghost{z-index:24;box-shadow:none!important}
.motion-floating-photo{position:fixed;z-index:100;overflow:hidden;border-radius:9px;background:var(--paper,#f7f5ef);box-shadow:0 13px 35px #182d2426}
.motion-floating-photo>.food-photo,.motion-flying-food>.food-photo,.motion-floating-photo>img,.motion-flying-food>img,.motion-floating-photo>svg,.motion-flying-food>svg{display:block!important;width:100%!important;height:100%!important;max-width:none;object-fit:contain;pointer-events:none!important}
.motion-flying-food{position:fixed;z-index:100;border-radius:13px;box-shadow:0 12px 25px #172c2333;border:2px solid #fff9;transform-origin:center}
.motion-flying-food .food-photo-source{padding:0!important}
.motion-added-stamp{position:absolute;z-index:6;left:12px;bottom:13px;display:inline-flex;padding:5px 9px;border:2px solid currentColor;border-radius:3px;background:#fffdf4f5;color:var(--red,#b53027);font-size:14px;font-weight:700;line-height:1.1;letter-spacing:.06em;text-transform:uppercase;pointer-events:none;transform:rotate(-8deg);animation:rusticana-stamp .75s both}

#category-nav{position:relative}
.category-marker{position:absolute;z-index:2;left:0;bottom:0;height:3px;border-radius:4px;background:var(--red,#b53027);pointer-events:none;transition:transform var(--motion-duration,.32s) cubic-bezier(.18,.9,.22,1.08),width var(--motion-duration,.32s) cubic-bezier(.18,.9,.22,1.08)}
body[data-motion="full"] .category-tab{transition:background-color .2s,border-color .2s,color .2s,box-shadow .2s}
body[data-motion="full"] .category-tab.active{box-shadow:0 2px 0 color-mix(in srgb,var(--green,#183e31) 10%,transparent)}

.counter-bag,[data-cart-bag]{transform-origin:50% 92%;isolation:isolate}
body[data-motion="full"] .counter-bag::after{transition:transform .4s cubic-bezier(.2,.9,.2,1.2)}
body[data-motion="full"] [data-open-selection]:hover .counter-bag::after{transform:translateY(-2px)}
.selection-count,[data-bag-count]{transform-origin:50% 50%}
#dish-current-price,#selection-totals .grand-total strong,#checkout-totals .grand-total strong,.sidebar-total strong{display:inline-block;transform-origin:50% 60%;backface-visibility:hidden}
.order-ticket{transform-origin:50% 0;backface-visibility:hidden}
.ticket-lines{transform-origin:50% 0}
.choice-sticker{transform-origin:45% 65%;transition:transform var(--motion-short,.18s),background-color var(--motion-short,.18s),box-shadow var(--motion-short,.18s)}
body[data-motion="full"] .choice-sticker:hover{transform:translateY(-2px) rotate(-1deg)}

body[data-motion="full"] .tray-slot{transition:transform .32s cubic-bezier(.2,.85,.2,1.2),opacity .25s;transform-origin:50% 75%}
body[data-motion="full"] .tray-slot:focus-within{transform:translateY(-3px)}
body[data-motion="full"] .tray-preview .tray-slot:nth-child(2){animation:rusticana-tray-entry .42s both .05s}
body[data-motion="full"] .tray-preview .tray-slot:nth-child(3){animation:rusticana-tray-entry .42s both .1s}
.pizza-size-disc{transform:scale(var(--pizza-scale,1));transform-origin:center;transition:transform var(--motion-duration,.32s) cubic-bezier(.18,.8,.2,1)}
.pizza-size-stage{perspective:700px}
.duo-stage{isolation:isolate}
body[data-motion="full"] .duo-stage>*+*{animation:rusticana-duo .5s both}

.product-visual,#dish-photo{--motion-light-x:50%;--motion-light-y:40%;position:relative;isolation:isolate}
.product-visual::after,#dish-photo::after{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;background:radial-gradient(circle at var(--motion-light-x) var(--motion-light-y),#fff5 0%,#fff0 53%);mix-blend-mode:soft-light;opacity:0;transition:opacity var(--motion-short,.18s)}
body[data-motion="full"] .product-visual:hover::after,body[data-motion="full"] #dish-photo:hover::after,body[data-motion="full"] .motion-photo-touched::after{opacity:.75}
body[data-motion="full"] .product-visual .food-photo{transition:transform .48s cubic-bezier(.18,.8,.2,1)}
@media(hover:hover) and (pointer:fine){body[data-motion="full"] .product-visual:hover .food-photo{transform:scale(1.035)}}

.dish-photo-preview{perspective:650px;transform-style:flat}
.dish-photo-preview::before{content:"RUSTICANA";position:absolute;inset:0;z-index:5;display:grid;place-items:center;background:var(--green,#183e31);border:1px solid #ffffff24;color:#fff8e9;font:700 14px/1.1 var(--sans,Arial,sans-serif);letter-spacing:.09em;transform:perspective(650px) rotateX(-105deg);transform-origin:50% 0;opacity:0;visibility:hidden;pointer-events:none;backface-visibility:hidden;box-shadow:0 5px 13px #172e2340}
body[data-motion="full"] .motion-box-reveal .dish-photo-preview::before{animation:rusticana-box-lid .65s both}
body[data-motion="full"] .motion-box-reveal .dish-photo-preview>.food-photo{animation:rusticana-box-food .5s both}
.motion-photo-transfer #dish-photo>.food-photo{animation:none!important}

body[data-motion="full"] .brand-mark{stroke-dasharray:190;stroke-dashoffset:0;animation:rusticana-brand-line 1.1s ease-out both}
body[data-motion="full"] .hero-photo.motion-hero-visible::after{content:"";position:absolute;z-index:1;inset:-15%;pointer-events:none;background:radial-gradient(ellipse at 70% 40%,#ffd89324,#ffe6bb00 56%);mix-blend-mode:screen;animation:rusticana-hero-light 9s ease-in-out infinite alternate}
body[data-motion="full"] .counter-kicker{position:relative}
body[data-motion="full"] .counter-kicker::after{content:"";position:absolute;left:0;right:0;bottom:-3px;border-bottom:2px solid currentColor;transform-origin:0 50%;transform:scaleX(.72) rotate(-1deg);opacity:.35;transition:transform .35s cubic-bezier(.2,.9,.2,1)}
body[data-motion="full"] .restaurant-intro:hover .counter-kicker::after{transform:scaleX(1) rotate(-1deg)}
body[data-motion="full"] .counter-poster:hover{box-shadow:0 9px 24px #152d2316}
body[data-motion="full"] .counter-poster{transition:box-shadow .3s}
body[data-motion="full"] .service-pill{transition:background-color .3s,color .3s}
body[data-motion="full"] .service-pill.is-open{animation:rusticana-service-in .45s both}
body[data-motion="full"] .service-pill.is-closed{animation:rusticana-service-in .45s both}

body[data-motion="soft"] .category-marker{transition-duration:.12s}
body[data-motion="soft"] .food-photo-item img{transition-duration:.12s}
body[data-motion="soft"] .product-visual:hover .food-photo-item img{transform:none}
body[data-motion="soft"] .dish-photo-preview::before{display:none}
body[data-motion="soft"] .brand-mark,body[data-motion="soft"] .tray-slot,body[data-motion="soft"] .service-pill{animation:none}
body.motion-page-hidden *,body.motion-page-hidden *::before,body.motion-page-hidden *::after{animation-play-state:paused!important}
body[data-motion="off"] *,body[data-motion="off"] *::before,body[data-motion="off"] *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
body[data-motion="off"] .motion-menu-ghost,body[data-motion="off"] .motion-floating-photo,body[data-motion="off"] .motion-flying-food,body[data-motion="off"] .motion-added-stamp{display:none!important}
body[data-motion="off"] .product-visual:hover .food-photo-item img{transform:none}
body[data-motion="off"] .dish-photo-preview::before{display:none}

@keyframes rusticana-stamp{0%{opacity:0;transform:scale(1.55) rotate(-14deg)}22%{opacity:1;transform:scale(.94) rotate(-8deg)}35%,70%{opacity:1;transform:scale(1) rotate(-8deg)}100%{opacity:0;transform:scale(1) rotate(-8deg) translateY(-5px)}}
@keyframes rusticana-tray-entry{from{opacity:.25;transform:translateY(14px) rotate(5deg) scale(.92)}to{opacity:1;transform:translateY(0) rotate(0) scale(1)}}
@keyframes rusticana-duo{0%{opacity:.3;transform:translateX(20px) rotate(8deg) scale(.92)}75%{opacity:1;transform:translateX(-3px) rotate(-1deg) scale(1)}100%{opacity:1;transform:translateX(0) rotate(0) scale(1)}}
@keyframes rusticana-box-lid{0%{opacity:1;visibility:visible;transform:perspective(650px) rotateX(0)}65%{opacity:.9;visibility:visible;transform:perspective(650px) rotateX(-93deg)}100%{opacity:0;visibility:hidden;transform:perspective(650px) rotateX(-105deg)}}
@keyframes rusticana-box-food{0%{opacity:.25;transform:scale(.95)}100%{opacity:1;transform:scale(1)}}
@keyframes rusticana-brand-line{from{stroke-dashoffset:190;opacity:.4}to{stroke-dashoffset:0;opacity:1}}
@keyframes rusticana-hero-light{from{transform:translateX(-7%) scale(.97);opacity:.4}to{transform:translateX(7%) scale(1.04);opacity:.8}}
@keyframes rusticana-service-in{from{opacity:.45;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}

@media(max-width:760px){
 .motion-flying-food{border-radius:9px}
 .motion-added-stamp{font-size:12px;padding:4px 7px;left:8px;bottom:9px}
 body[data-motion="full"] .hero-photo.motion-hero-visible::after{inset:-8%;animation-duration:11s;opacity:.5}
 .category-marker{height:3px}
}
@media(prefers-reduced-motion:reduce){
 body *,body *::before,body *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
 .motion-menu-ghost,.motion-floating-photo,.motion-flying-food,.motion-added-stamp{display:none!important}
 .dish-photo-preview::before{display:none!important}
 .product-visual:hover .food-photo-item img{transform:none!important}
}
@media print{
 .motion-menu-ghost,.motion-floating-photo,.motion-flying-food,.motion-added-stamp,.category-marker,.dish-photo-preview::before,.hero-photo::after{display:none!important}
}
