/* Lifted from current AM1CO hosting controls; scoped to catalogue/detail only.
   host.css keeps the native .button, .choice-button and .view-tabs base rules.
   Flex sizing adapts those controls to the existing R3 content layout. */
.am-r3 .am-host-choice{width:auto;min-height:60px;padding:8px 10px;display:flex;align-items:center;justify-content:center;gap:.25em;line-height:1.35;white-space:normal;text-align:center}

/* Hosting controls sit outside the R3 scope. Only card/overlay wrappers carry R3. */
.am-catalog-cards{min-height:0}
.am-choice-overlay{display:contents}
@media(max-width:1020px){.am-host-catalogue .menu-sidebar [data-menu-view-section]{display:none}}

/* Shared catalogue rhythm on desktop and mobile. Uses the existing host palette and font. */
.menu-page.am-host-catalogue,.menu-page.p63-quick-menu{background:var(--cream-2);font-family:inherit}
.menu-page .am-catalogue-intro,.am-selection-page .am-catalogue-intro{display:block;margin:0;padding:28px 0 20px;border:0}
.menu-page .am-catalogue-intro h1,.am-selection-page .am-catalogue-intro h1{font-family:inherit;font-size:clamp(28px,3vw,40px);font-weight:700;line-height:1.15;letter-spacing:-.035em;margin:0;max-width:none}
.am-host-catalogue .menu-workspace{padding-top:0;gap:28px}
.am-host-catalogue .menu-search{gap:6px;margin-bottom:16px}
.am-host-catalogue .menu-search label{font-size:13px;font-weight:750}
.am-host-catalogue .menu-search input{font-family:inherit;font-size:16px;min-height:44px}
.am-host-catalogue .menu-search .button{font-family:inherit;font-size:14px;min-height:44px}
.am-host-catalogue .menu-search>div{grid-template-columns:minmax(0,1fr) auto;gap:8px}
.am-host-catalogue .menu-search .button{width:auto;min-width:82px;padding:10px 16px}
.am-host-catalogue .results-head{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin:0 0 16px}
.am-host-catalogue .results-head h2,.p63-quick-menu .am-r3 .m-section h2{font-family:inherit;font-size:clamp(22px,2.1vw,28px);font-weight:700;line-height:1.2;letter-spacing:-.025em;margin:0}
.am-host-catalogue .results-head h2{flex:1 1 auto;min-width:0}
.am-host-catalogue .results-head.is-unfiltered{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;margin:0;padding:0;border:0}
.am-host-catalogue .results-head>span{font-size:13px;color:var(--muted);white-space:nowrap}
.am-host-catalogue .am-menu-reset{font:inherit;font-size:13px;font-weight:700;line-height:1.3;min-height:44px;width:auto;padding:8px 14px;white-space:normal;margin-left:auto}
.am-host-catalogue [hidden]{display:none!important}
.p63-quick-menu .am-r3 .m-wrap,.am-selection-page .m-wrap,.am-selection-list .m-wrap{width:min(calc(100% - 36px),var(--site-max));margin-inline:auto}
.p63-quick-menu .am-r3 .m-section{padding:24px 0 28px}
.p63-quick-menu .am-r3 .m-section:first-child{border-top:0;padding-top:0}
.p63-quick-menu .am-r3 .m-section h2{margin-bottom:14px}
.p63-quick-menu .m-quick-note,.p63-quick-menu .m-quick-allergens{overflow-wrap:anywhere}
.p63-quick-menu .am-menu-note,.am-selection-page .am-menu-note{font-family:inherit;font-size:13px;line-height:1.6;color:var(--muted);margin:0;padding:16px 0 24px}
.am-r3 .am-selection-page{padding:0}
.am-selection-page .am-catalogue-intro .am-menu-note{padding:10px 0 0}
.am-selection-page .m-chips{gap:8px;margin:0 0 16px}
.am-r3 .am-selection-list{padding:0 0 32px;border:0}
.am-selection-page .button{font-family:inherit;font-size:14px;min-height:44px}
@media(max-width:1020px){
 /* The native mobile tabs contain !important flex rules. Override only this shared component. */
 .am-host-catalogue .mobile-view-tabs{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px!important;overflow:visible!important;padding:0!important;margin:0 0 12px!important}
 .am-host-catalogue .mobile-view-tabs>:is(a,button){font-family:inherit;font-size:13px;font-weight:750;line-height:1.25!important;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:0 3px;min-width:0!important;width:100%!important;min-height:48px!important;padding:8px!important;white-space:normal!important;text-align:center;overflow-wrap:anywhere}
 .am-host-catalogue .mobile-view-tabs .am-selection-number{white-space:nowrap}
 .am-host-catalogue .mobile-view-tabs>[data-catalogue-switch]{background:var(--primary);border-color:var(--primary);color:var(--ink)}
 .menu-page.am-host-catalogue[data-menu-app].is-category-nav-ready [data-menu-category-nav]{scrollbar-width:none}
 .am-host-catalogue .mobile-categories::-webkit-scrollbar{display:none}
 .am-host-catalogue .am-catalog-cards{margin-top:12px}
 .am-host-catalogue [data-results-head]:not(.is-unfiltered)+.am-catalog-cards{margin-top:0}
 .am-host-catalogue .menu-sidebar{margin-top:24px!important}
}
@media(max-width:700px){
 .menu-page .am-catalogue-intro,.am-selection-page .am-catalogue-intro{padding:20px 0 16px}
 .am-host-catalogue .menu-search{margin-bottom:12px}
 .p63-quick-menu .am-r3 .m-section{padding:20px 0 24px}
 .p63-quick-menu .am-r3 .m-section:first-child{padding-top:0}
}
