/* Shared behavior uses each template's own palette and typography. */
[hidden]{display:none!important}
:root{--image-x:50%;--image-y:50%}
img:not(.logo){object-position:var(--image-x) var(--image-y)}
html[data-hero-fit=contain] .hero img:not(.logo){object-fit:contain}
a,button,input{touch-action:manipulation}
button,input{font:inherit}
button,a{-webkit-tap-highlight-color:transparent}
a:active,button:active{transform:translateY(1px)}
.preview-bar{font-size:.8125rem;line-height:1.5;padding:.4rem 1rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.menu-search{margin:0 auto;padding:0 var(--m) 1.75rem;max-width:80rem;color:inherit}
.menu-search label{display:block;margin-bottom:.65rem;font-weight:500}
.search-row{display:flex;align-items:center;gap:.75rem;max-width:36rem}
.search-row input{min-width:0;width:100%;min-height:3.25rem;border:1px solid currentColor;border-radius:0;background:transparent;color:inherit;padding:.7rem 1rem}
.search-row input::placeholder{color:inherit;opacity:.7}
.search-row button{flex:none;background:transparent;color:inherit;border:0;min-width:2.75rem;min-height:2.75rem;cursor:pointer;text-decoration:underline;text-underline-offset:.25em}
.search-status{font-size:1rem;line-height:1.65;margin:1rem 0 0}
#dish .hero.ph{display:none}
#dish .body img.hero{object-position:var(--image-x) var(--image-y)}
#dish .in{overflow-wrap:anywhere}
#dish .dish-order{margin-top:1.5rem;font-size:1rem;max-width:100%;text-align:center}
.noimg .card{min-width:0}
.noimg .card>div{min-width:0}
.noimg .card b{overflow-wrap:anywhere}
.week-hours summary{cursor:pointer;min-height:2.75rem;display:list-item;align-content:center;font-size:1.0625rem;font-weight:500}
.week-hours[open] summary{margin-bottom:1rem}
.week-hours table{width:100%}
.menu-link{display:inline-flex;min-height:2.75rem;align-items:center;max-width:max-content;margin-top:.5rem;text-underline-offset:.25em}
.mobile-order{display:none}
@media(max-width:700px){
  .mobile-order{position:fixed;bottom:0;inset-inline:0;z-index:8;display:flex;align-items:center;justify-content:center;gap:1.5rem;padding:.75rem max(1rem,env(safe-area-inset-right)) calc(.75rem + env(safe-area-inset-bottom));background:var(--foundation-bg);color:var(--foundation-ink)}
  .mobile-order .btn{min-height:2.75rem;flex:1;max-width:22rem;padding:.6rem 1.25rem}
  .mobile-order>a:last-child{min-height:2.75rem;display:inline-flex;align-items:center;font-size:1rem;text-underline-offset:.25em}
  body:has(.mobile-order:not([hidden])){padding-bottom:5.5rem}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{animation:none!important;transition:none!important}a:active,button:active{transform:none}}

.space-gallery{padding:clamp(3rem,7vw,7rem) var(--m)}
.space-gallery h2{margin:0 0 1.5rem;font-size:clamp(2rem,4vw,3.5rem)}
.space-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(1rem,3vw,2rem)}
.space-grid figure{margin:0;min-width:0;overflow:hidden}
.space-grid img{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}
html[data-template=cafe] .space-grid figure:nth-child(2n){padding-top:3rem}
html[data-template=bakery] .space-grid figure:first-child img{border-radius:50% 50% 0 0}
html[data-template=sweets] .space-grid{gap:clamp(1.5rem,4vw,4rem)}
@media(max-width:600px){.space-grid{grid-template-columns:1fr}.space-grid figure:nth-child(2n){padding-top:0!important}}

.menu-footer-links{display:flex;align-items:center;flex-wrap:wrap;gap:1.25rem}
.menu-footer-links a{min-height:2.75rem;display:inline-flex;align-items:center}
