/* The desktop restaurant page and the mobile ordering app share one catalog. */
.app-tabs,.mobile-menu-title{display:none}
.menu-browse{position:sticky;top:var(--header-height);z-index:25;padding-top:12px;background:var(--bg)}
.menu-browse .category-navigation{position:static}
.product-facts>summary{cursor:pointer;font-size:13px;font-weight:600;min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.product-facts>summary:after{content:'+';font-size:20px}
.product-facts[open]>summary:after{content:'−'}
.product-facts>summary::-webkit-details-marker{display:none}

@media(max-width:760px){
  :root{--app-nav-height:68px;--app-bottom:calc(var(--app-nav-height) + env(safe-area-inset-bottom));--header-height:72px}
  html{scroll-padding-top:calc(var(--header-height) + 164px);scroll-behavior:auto}
  body{background:var(--bg);padding-bottom:var(--app-bottom);-webkit-text-size-adjust:100%}
  .site-header{min-height:72px;padding:9px 18px;padding-top:calc(9px + env(safe-area-inset-top));gap:12px;background:var(--bg);border-bottom:0;backdrop-filter:none}
  .site-header>.brand{min-width:0;font-size:15px;gap:10px}
  .site-header>.brand>img{width:46px;height:46px}
  .site-header .brand small{font-size:7px;margin-top:4px}
  .header-actions>#basket{display:none}
  .menu-toggle{width:44px;height:44px;min-width:44px;border-color:#ffffff26;border-radius:12px}
  .mobile-navigation{padding:22px 20px;max-height:calc(100dvh - var(--header-height) - var(--app-bottom));color:var(--text)}
  .demo{padding:6px 16px;font-size:10px;line-height:1.5;background:var(--green-soft);color:var(--green-light);letter-spacing:0}
  .hero,.discovery,.floating-contact{display:none}
  body.app-ready main>.section,body.app-ready footer{display:none}
  body.app-ready[data-app-view="carte"] #carte{display:block}
  body.app-ready[data-app-view="fidelite"] #fidelite{display:grid}
  body.app-ready[data-app-view="contact"] #contact,body.app-ready[data-app-view="contact"] #questions{display:grid}
  body.app-ready[data-app-view="contact"] #application,body.app-ready[data-app-view="contact"] footer{display:block}
  .menu{min-height:calc(100dvh - var(--header-height) - var(--app-bottom));padding:16px 18px 30px}
  .store-status{margin:0 0 14px;padding:0;border:0;font-size:10px;gap:8px}
  .store-status a{font-size:10px}
  .section-head{gap:12px;margin-bottom:12px}
  .section-head .eyebrow{display:none}
  .section-head h2{font-size:28px;line-height:1.18;margin-top:6px;max-width:340px;letter-spacing:-1px}
  .section-head h2>span{color:var(--text)}
  .desktop-menu-title{display:none}
  .mobile-menu-title{display:inline}
  .section-head>div:last-child{display:block}
  .section-head .muted{display:none}
  .switch{width:100%;border-radius:12px;background:var(--surface-2);padding:4px}
  .switch button{flex:1;min-height:44px;font-size:13px;border-radius:9px}
  .menu-browse{position:sticky;top:var(--header-height);z-index:25;margin:0 -18px 20px;padding:8px 18px 0;background:var(--bg);border-bottom:1px solid var(--line)}
  .menu-tools{flex-wrap:nowrap;gap:8px;margin:0}
  .menu-tools .search{flex:1 1 0;min-width:0;min-height:48px;padding:0 4px 0 12px;border-radius:12px}
  .search input{font-size:16px!important;min-height:46px;padding:9px 0}
  .search>svg{width:18px}
  .search-help{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .menu-tools .sort-filter{width:auto;flex:none}
  .sort-filter>span{display:none}
  .sort-filter select{max-width:84px;width:84px;min-height:48px;border-radius:12px;font-size:12px!important;background:var(--surface);padding:8px}
  .category-navigation{position:static;margin:0;padding:0;border:0;background:none;backdrop-filter:none}
  .menu-logo{display:none}
  .quick-groups{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin:0;padding:9px 0 4px;overflow:visible;scroll-snap-type:none}
  .quick-groups button{min-width:0;width:100%;min-height:44px;display:flex;flex-direction:column;justify-content:center;gap:2px;padding:5px 3px;white-space:normal;font-size:10px;line-height:1.3;text-align:center;border-radius:9px}
  .quick-groups button small{font-size:8px;line-height:1.3}
  .quick-groups button span{max-width:80px}
  .categories{gap:24px;margin:0;padding:0;scrollbar-width:none}
  .categories::-webkit-scrollbar{display:none}
  .categories button{min-height:44px;font-size:12px}
  .category-heading{margin-bottom:14px;gap:10px}
  .category-heading h3{font-size:22px}
  .category-heading p{display:none;font-size:12px;line-height:1.5;margin-top:5px}
  #category-panel[role="region"] .category-heading p{display:block}
  .category-heading #results{font-size:10px;padding:5px 8px;margin-top:1px}
  .products{grid-template-columns:minmax(0,1fr);gap:10px}
  .product{flex-direction:row-reverse;padding:14px;gap:14px;border:1px solid var(--line);border-radius:15px;contain-intrinsic-size:auto 152px}
  .product-image{width:96px;min-width:96px;height:108px;align-self:center;border-radius:11px}
  .product-content{padding:0;min-width:0}
  .product h3{font-size:16px;line-height:1.35;overflow-wrap:anywhere}
  .product p{font-size:12px;line-height:1.5;margin:5px 0 10px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .product .allergen-note{display:none}
  .product-bottom{gap:8px;flex-wrap:nowrap;align-items:center}
  .product-bottom>span{font-size:14px}
  .product-bottom .add{height:44px;width:44px;min-width:44px;padding:0;margin-left:auto;border-radius:12px}
  .product-bottom .add>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .product-bottom .add b{font-size:25px}
  .menu-footnote{margin-top:20px;font-size:10px;line-height:1.7}
  .app-tabs{position:fixed;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));bottom:0;left:0;right:0;z-index:45;padding:6px max(8px,env(safe-area-inset-right)) env(safe-area-inset-bottom) max(8px,env(safe-area-inset-left));min-height:var(--app-bottom);background:var(--surface);border-top:1px solid var(--line);box-shadow:0 -4px 18px #0003;color:var(--muted)}
  .app-tabs>a,.app-tabs>button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:61px;min-width:0;padding:5px 1px 7px;background:transparent;color:inherit;font-size:10px;font-weight:500;line-height:1.3;border-radius:12px}
  .app-tabs svg{width:22px;height:22px;stroke-width:1.7}
  .app-tabs :focus-visible{outline-color:var(--green-light)}
  .app-tabs [aria-current="page"]{color:var(--green-light);font-weight:700}
  .app-tabs [aria-current="page"]>svg,.app-tabs [aria-current="page"]>.tab-cart-icon{background:var(--green-soft);box-shadow:0 0 0 7px var(--green-soft);border-radius:7px}
  .tab-cart-icon{display:block;position:relative}
  #app-cart-count{position:absolute;top:-7px;right:-11px;background:#c94036;color:#fff;font-size:9px;line-height:17px;min-width:17px;padding:0 4px;border-radius:10px;text-align:center;border:2px solid var(--surface)}
  .mobile-cart{display:none;bottom:calc(var(--app-bottom) + 10px);left:18px;right:18px;min-height:54px;border-radius:13px;z-index:35;padding:13px 16px;box-shadow:0 5px 15px #0004}
  .mobile-cart.has-items{display:flex}
  body.app-has-cart{padding-bottom:calc(var(--app-bottom) + 76px)}
  .mobile-cart strong{font-size:13px;font-weight:600}
  .app-keyboard-open .app-tabs,.app-keyboard-open .mobile-cart{display:none}
  #toast{bottom:calc(var(--app-bottom) + 15px);font-size:12px}
  .app-has-cart #toast{bottom:calc(var(--app-bottom) + 82px)}
  .app-dialog-open{overflow:hidden}
  dialog[open]{display:grid;grid-template-rows:auto minmax(0,1fr);position:fixed;inset:0;width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0;padding:0;border:0;border-radius:0;overflow:hidden;background:var(--surface);animation:app-panel-in .18s ease-out;box-shadow:none}
  dialog[open].wide-dialog{width:100%;max-width:100%}
  .dialog-head{position:static;top:auto;margin:0;padding:12px 18px;padding-top:calc(12px + env(safe-area-inset-top));min-height:72px;border-bottom:1px solid #ffffff1c;gap:12px;background:var(--surface)}
  .dialog-head h2{font-size:20px;line-height:1.3;letter-spacing:-.4px;min-width:0}
  #close{width:44px;height:44px;min-width:44px;border-radius:12px;background:#ffffff0d;color:var(--text);display:grid;place-items:center;font-size:28px;line-height:1}
  #modal-body{overflow:auto;overscroll-behavior-y:contain;padding:20px 18px calc(18px + env(safe-area-inset-bottom));-webkit-overflow-scrolling:touch;scroll-padding-block:20px 96px}
  .custom-intro{display:flex;align-items:center;gap:16px;padding-bottom:16px}
  .custom-intro img{width:108px;height:100px;object-fit:cover;border-radius:13px;flex:none}
  .custom-intro p{font-size:13px;line-height:1.7}
  .product-facts{border-block:1px solid #ffffff1c;padding:0 0 8px;margin:0 0 20px}
  .product-facts:not([open]){padding-bottom:0}
  .product-facts p{font-size:12px;line-height:1.7;margin:8px 0}
  .product-facts small{font-size:10px;color:var(--muted)}
  #custom-form{position:relative}
  .option{min-height:52px;padding-block:12px;gap:12px}
  .option input{width:22px;height:22px;min-width:22px;accent-color:var(--green-light)}
  fieldset{margin-inline:0;padding-inline:0;border-inline:0}
  legend{font-size:17px}
  #add-configured,#place-order,#checkout{position:sticky;bottom:0;z-index:2;min-height:56px;border-radius:12px;margin-top:20px;box-shadow:0 0 0 10px var(--surface)}
  #add-configured{width:100%;font-size:14px}
  .cart-row{padding-block:18px}
  .quantity button{width:44px;height:44px;border-radius:10px}
  #order-form>label{margin-top:18px;font-size:13px}
  #order-form>input,#order-form>select,#address-field>input{min-height:52px;border-radius:10px;max-width:100%}
  .panel-title{font-size:23px;line-height:1.3}
  #fidelite{min-height:calc(100dvh - var(--header-height) - var(--app-bottom));padding:28px 18px 36px;gap:26px;align-content:start}
  .loyalty-copy h2{font-size:30px}
  .loyalty-copy>p{margin-block:18px;font-size:13px}
  .loyalty-card{padding:22px;border-radius:17px}
  .card-wordmark{white-space:normal;font-size:10px}
  .card-top>small{font-size:8px}
  .stamps{gap:7px}
  .card-title{margin-block:20px}
  #contact{width:100%;padding:28px 18px 36px;color:var(--text);background:var(--bg);gap:28px}
  .location h2{font-size:30px}
  .contact-card{padding:20px}
  .location .contact-actions{display:grid;grid-template-columns:1fr 1fr}
  .location .contact-button{padding-inline:10px;min-height:50px}
  #questions,#application{width:100%;padding:32px 18px;background:var(--bg);color:var(--text);border-top:1px solid #ffffff1c}
  .faq h2,.app-section h2{font-size:27px}
  .faq-list summary{min-height:44px;line-height:1.6}
  .app-section .store-buttons{display:none}
  footer{padding:20px 18px 30px;color:var(--text)}
  .footer-top,.footer-grid{display:none}
  .footer-line{padding-top:0;border:0}
  .footer-line>div{width:100%;justify-content:space-between}
  .footer-line button{min-height:44px}
  @keyframes app-panel-in{from{transform:translateY(20px);opacity:.5}to{transform:translateY(0);opacity:1}}
}
@media(max-width:360px){
  .site-header{padding-inline:14px}
  .section-head h2{font-size:25px}
  .menu{padding-inline:14px}
  .menu-browse{margin-inline:-14px;padding-inline:14px}
  .sort-filter select{width:68px;max-width:68px;font-size:11px!important}
  .product{padding:12px;gap:10px}
  .product-image{width:80px;min-width:80px;height:102px}
  .product h3{font-size:15px}
  .product-bottom>span{font-size:13px}
  .loyalty-card{padding:17px}
}
@media(prefers-reduced-motion:reduce){dialog[open]{animation:none}}
