/* Compact browsing on every screen; order controls live in the product dialog. */
body[data-page=menu] .section-heading{margin:20px 0;align-items:start}
body[data-page=menu] .page-title{font-size:clamp(28px,3.5vw,46px);line-height:1.2}
body[data-page=menu] .menu-section{padding-top:32px}
body[data-page=menu] .menu-showcase-notice{padding:0;border:0;background:transparent;font-size:14px;margin:0 0 20px}
.menu-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:end;margin-bottom:20px}
.menu-toolbar .menu-search-bar{margin:0;max-width:none}
.menu-resources>summary{min-height:48px;padding:12px 16px;border:1px solid var(--line);color:var(--green);cursor:pointer;font-size:14px;line-height:1.5}
.menu-resources[open]{grid-column:1/-1;border:1px solid var(--line);padding:0 16px 16px}
.menu-resources[open]>summary{border:0;margin:0 -16px 16px}
.menu-resources .menu-downloads{margin-bottom:16px}
.menu-order-guide{border:1px solid var(--line);margin-bottom:24px;background:#fffdf8}
.menu-order-guide>summary{padding:15px 18px;cursor:pointer;font-weight:600;color:var(--green)}
.menu-order-guide .menu-spice-guide{border:0;margin:0}
.menu-order-guide .menu-flavor-guide{margin:0;border:0;border-top:1px solid var(--line)}
.menu-search-bar{margin-bottom:20px;max-width:620px}
.menu-search-bar>label{display:block;font-size:15px;font-weight:600;margin-bottom:8px}
.menu-search-control{display:flex;gap:10px;align-items:center}
.menu-search-control input{min-width:0;flex:1;min-height:48px;border:1px solid var(--line);background:#fffdf8;padding:10px 14px;color:var(--ink);font:16px var(--font)}
.menu-search-control button{min-height:44px;padding:8px 12px;background:transparent;border:1px solid var(--line);color:var(--green);font-size:14px}
.menu-search-control [hidden],.menu-empty-results[hidden]{display:none}
.menu-empty-results{padding:30px 18px;text-align:center;border:1px dashed var(--line);line-height:1.8}
.menu-card-visual{display:block;flex-shrink:0;min-width:0;aspect-ratio:4/3;background:#f8f1e5}
.menu-photo-open{display:block;width:100%;height:100%;padding:0;border:0;background:transparent;cursor:pointer}
.menu-photo-open>.menu-photo{width:100%;height:100%;aspect-ratio:4/3}
.menu-photo-open img{width:100%;height:100%;object-fit:cover}
#menu-grid .menu-card{min-width:0;overflow:hidden}
#menu-grid .menu-card-body{padding:18px;gap:0}
#menu-grid .menu-card-title{font-size:22px;line-height:1.4;margin:0 0 8px;overflow-wrap:anywhere}
#menu-grid .menu-card-category{font-size:11px;margin-bottom:8px}
#menu-grid .menu-card-description{font-size:14px;line-height:1.7;margin:0 0 16px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#menu-grid .menu-card-description:empty{display:none}
#menu-grid .menu-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;padding-top:10px}
#menu-grid .menu-card-price{font-size:21px;line-height:1.4;white-space:nowrap}
.menu-card-open{display:flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border:1px solid var(--green);background:var(--green);color:var(--cream);font:600 14px/1.4 var(--font);cursor:pointer}
.menu-card-open:hover{background:var(--ink)}
.menu-card-open:focus-visible,.menu-photo-open:focus-visible,.menu-search-control input:focus-visible,.menu-search-control button:focus-visible{outline:3px solid var(--red);outline-offset:3px}
#product-dialog{width:min(600px,94vw);max-width:94vw;max-height:92dvh;padding:0;border:0;margin:auto;background:var(--cream);color:var(--ink);overflow:auto;overscroll-behavior:contain;box-shadow:0 12px 70px #001b2255}
#product-dialog::backdrop{background:#041e28a3;backdrop-filter:blur(3px)}
.product-dialog-header{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:17px 20px;background:var(--cream);border-bottom:1px solid var(--line)}
.product-dialog-header h2{font-size:23px;line-height:1.35;letter-spacing:-.03em;margin:0}
.product-dialog-header .dialog-close{width:44px;height:44px;flex-shrink:0}
#product-detail-content{min-width:0}
#product-dialog .menu-card{border:0;overflow:visible}
#product-dialog .menu-card-body{padding:23px}
#product-dialog .menu-card-title{display:none}
#product-dialog .menu-card-description{font-size:16px;line-height:1.8;margin:12px 0 20px}
#product-dialog .menu-card-description:empty{display:none}
#product-dialog .menu-card-category{font-size:12px}
#product-dialog .menu-option-label{font-size:15px;line-height:1.65}
#product-dialog .menu-flavor-select{font-size:16px;line-height:1.5;min-height:48px}
#product-dialog .menu-option-hint,#product-dialog .menu-card-error{font-size:14px;line-height:1.8}
#product-dialog .menu-card-bottom{grid-template-columns:minmax(0,1fr) auto;gap:17px 12px;padding-top:12px}
#product-dialog .menu-card-price{font-size:26px}
#product-dialog .menu-quantity{display:flex;flex-direction:row;gap:8px;font-size:14px}
#product-dialog .menu-quantity input{width:60px;min-height:46px;font-size:16px}
#product-dialog .menu-add{font-size:16px;min-height:52px}
#product-dialog .menu-card.is-showcase .menu-quantity{display:none}
@media(max-width:600px){
  body[data-page=menu] .page-main>.menu-section{padding:24px 12px 48px}
  body[data-page=menu] .section-kicker{gap:12px;font-size:11px}
  body[data-page=menu] .section-heading{margin:18px 0}
  body[data-page=menu] .section-heading>p{font-size:15px;line-height:1.7}
  .menu-showcase-notice{padding:12px 14px;font-size:14px;margin-bottom:16px}
  .menu-order-guide{margin-bottom:18px}
  .menu-search-bar{margin-bottom:16px}
  .menu-toolbar{grid-template-columns:1fr;gap:12px;margin-bottom:16px}
  .menu-resources>summary{min-height:44px;padding:10px 12px}
  .menu-shop{display:block;min-width:0}
  .menu-shop>#menu-categories{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:7px;position:static;width:100%;margin:0 0 16px;padding:0 0 6px;scrollbar-width:thin}
  .menu-shop>#menu-categories button{flex:0 0 auto;min-height:44px;padding:9px 12px;white-space:nowrap;font-size:13px;line-height:1.4}
  .menu-shop>#menu-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:stretch;min-width:0}
  #menu-grid .menu-card-visual{height:auto;aspect-ratio:4/3}
  #menu-grid .menu-card-body{padding:12px 10px}
  #menu-grid .menu-card-category{display:none}
  #menu-grid .menu-card-title{font-size:16px;font-weight:600;line-height:1.5;margin-bottom:8px}
  #menu-grid .menu-card-description{display:none}
  #menu-grid .menu-card-bottom{flex-direction:column;align-items:stretch;gap:10px;padding-top:5px}
  #menu-grid .menu-card-price{font-size:16px;line-height:1.4;white-space:normal}
  #menu-grid .menu-card-open{width:100%;padding:9px 6px;font-size:14px}
  #product-dialog .menu-card-body{padding:18px}
  #product-dialog .menu-card-bottom{grid-template-columns:1fr}
  #product-dialog .menu-quantity{justify-content:space-between}
  #product-dialog .menu-add{grid-column:1}
  .product-dialog-header{padding:14px 16px}
  .product-dialog-header h2{font-size:21px}
}
/* v1.05.04.00 menu page: category list in the left third, items in the right two thirds.
   The list stays in view while scrolling long categories. Phones keep the scrolling tab row. */
@media(min-width:768px){
  .menu-shop{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:28px;align-items:start}
  .menu-shop>#menu-categories{grid-column:1;grid-row:1/span 2;display:flex;flex-direction:column;flex-wrap:nowrap;gap:6px;margin:0;position:sticky;top:112px;max-height:calc(100vh - 128px);overflow-y:auto;scrollbar-width:none;padding:14px;border:1px solid var(--line);background:#fcf9f2}
  .menu-shop>#menu-categories::-webkit-scrollbar{display:none}
  .menu-shop>#menu-categories button{width:100%;flex:0 0 auto;min-height:48px;text-align:left;justify-content:flex-start;padding:11px 16px;font-size:15px;line-height:1.4;white-space:normal}
  .menu-shop>#menu-grid{grid-column:2;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
  .menu-shop>#menu-empty-results{grid-column:2}
}
@media(min-width:768px) and (max-width:1000px){
  .menu-shop{gap:18px}
  .menu-shop>#menu-categories{top:98px;max-height:calc(100vh - 114px)}
  .menu-shop>#menu-grid{gap:14px}
  .menu-shop>#menu-categories button{font-size:14px;padding:10px 12px}
  .menu-shop>#menu-grid .menu-card-bottom{flex-direction:column;align-items:stretch;gap:10px}
  .menu-shop>#menu-grid .menu-card-bottom .button,.menu-shop>#menu-grid .menu-card-open{width:100%}
}
/* v1.05.05.00 phones use the same split: categories in the left third, items in the right two thirds
   (one card per row there). The category list sticks below the 134px phone header. */
@media(max-width:767px){
  .menu-shop{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:10px;align-items:start;min-width:0}
  .menu-shop>#menu-categories{grid-column:1;grid-row:1/span 2;display:flex;flex-direction:column;flex-wrap:nowrap;gap:5px;margin:0;width:auto;position:sticky;top:142px;max-height:calc(100vh - 150px);overflow-x:hidden;overflow-y:auto;scrollbar-width:none;padding:6px;border:1px solid var(--line);background:#fcf9f2}
  .menu-shop>#menu-categories::-webkit-scrollbar{display:none}
  .menu-shop>#menu-categories button{width:100%;flex:0 0 auto;min-height:44px;text-align:left;justify-content:flex-start;padding:8px 8px;font-size:12.5px;line-height:1.35;white-space:normal;overflow-wrap:anywhere}
  .menu-shop>#menu-grid{grid-column:2;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .menu-shop>#menu-empty-results{grid-column:2}
}
@media(min-width:560px) and (max-width:767px){.menu-shop>#menu-grid{gap:12px}}
/* narrow phones: two compact cards per row in the right two thirds */
@media(max-width:559px){
  .menu-shop>#menu-grid .menu-card-body{padding:8px 7px}
  .menu-shop>#menu-grid .menu-card-title{font-size:13px;line-height:1.35;margin-bottom:6px;overflow-wrap:anywhere}
  .menu-shop>#menu-grid .menu-card-price{font-size:13px;line-height:1.3}
  .menu-shop>#menu-grid .menu-card-bottom{flex-direction:column;align-items:stretch;gap:6px;padding-top:2px}
  .menu-shop>#menu-grid .menu-card-open{width:100%;min-height:40px;padding:6px 4px;font-size:12px;line-height:1.25}
}
