/* Shared touch controls and sheets. Mobile adaptations live here, after menu.css. */
html { scroll-behavior: auto; scrollbar-gutter: stable; }
html.dialog-open, html.dialog-open body { overflow: hidden; overscroll-behavior: none; }
button, a, summary, select { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button:focus-visible, a:focus-visible, summary:focus-visible, select:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.mobile-toolbar, .mobile-category-row, .builder-mobile-progress { display: none; }
.quantity-control { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 0; border: 1px solid #4c6238; border-radius: 12px; background: #121c0c; overflow: hidden; }
.quantity-control button { display: grid; place-items: center; min-width: 44px; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--accent); font-size: 24px; line-height: 1; }
.quantity-control button:disabled { opacity: .28; }
.quantity-control input[type=number] { width: 44px; height: 44px; padding: 0; margin: 0; border: 0; background: transparent; text-align: center; color: var(--text); border-radius: 0; font: 600 16px/1 sans-serif; -moz-appearance: textfield; }
.quantity-control input::-webkit-inner-spin-button, .quantity-control input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.quantity-control input:focus { outline: 2px solid var(--accent); outline-offset: -3px; }
.detail-content .extra-option { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 62px; margin: 0; padding: 10px 0; border-bottom: 1px solid #344429; font-size: 14px; }
.extra-option:last-child { border-bottom: 0; }
.extra-option > span:first-child { min-width: 0; }
.extra-option strong { display: block; font-size: 14px; font-weight: 500; overflow-wrap: anywhere; }
.extra-option small { display: block; margin-top: 5px; font-size: 12px; color: var(--muted); }
.extra-option input[type=radio], .variant-option input[type=radio] { width: 22px; height: 22px; flex-shrink: 0; }
.detail-content .variant-option { min-height: 56px; margin: 0; padding: 12px 0; font-size: 14px; }
.variant-option > span { min-width: 0; }
.extra-group summary { min-height: 52px; padding: 15px; font-size: 14px; }
.extra-group summary small { font-size: 11px; }
.detail-close, .sheet-close { display: grid; place-items: center; width: 48px; height: 48px; min-width: 48px; padding: 0; font-size: 26px; line-height: 1; border: 1px solid #82926966; background: #101a0ee8; color: white; border-radius: 50%; cursor: pointer; }
.detail-done { min-height: 48px; padding: 12px 18px; font-size: 14px; }
#detail-required-status { color: #e7c58c; font-size: 13px; }
.browse-all-link { display: flex; align-items: center; justify-content: space-between; gap: 15px; border: 1px solid #4d6337; border-radius: 10px; min-height: 52px; margin-top: 14px; padding: 12px 17px; color: #d4edb7; font-size: 14px; font-weight: 600; }
.continue-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px; border: 1px solid #455b31; border-radius: 14px; background: linear-gradient(110deg, #25371a, #182111); margin: 20px 0 30px; }
.continue-card small { display: block; color: var(--muted); font-size: 10px; letter-spacing: 1.5px; }
.continue-card strong { display: block; font-size: 22px; margin-top: 5px; }
.continue-card > span:last-child { font-size: 30px; color: var(--accent); }
.empty button, .builder-secondary-actions button { min-height: 44px; padding: 11px 16px; border: 1px solid #4b6437; border-radius: 9px; background: #26371c; color: #e1edcf; font-size: 14px; }
.empty p { font-size: 14px; }
/* Internal scrolling keeps primary actions in view on short screens too. */
#product-dialog[open] { display: flex; flex-direction: column; overflow: hidden; max-height: min(92dvh, calc(var(--visual-height, 100dvh) - 20px)); }
#product-dialog .detail-visual, #product-dialog .custom-header { flex-shrink: 0; }
#product-dialog .detail-content, #product-dialog .custom-body { min-height: 0; flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
#product-dialog .total { position: relative; bottom: auto; flex-shrink: 0; }
#product-dialog .detail-visual { height: min(30dvh, 240px); }
#product-dialog .custom-header { padding: 22px 80px 20px 24px; }
.custom-header h2 { font-size: 26px; }
.builder-intro h3 { font-size: 24px; }
.builder-option { gap: 12px; min-height: 80px; padding: 15px; }
.builder-option > span:first-child { min-width: 0; flex: 1; }
.builder-option strong { font-size: 15px; line-height: 1.4; overflow-wrap: anywhere; }
.builder-option small { font-size: 13px; }
.builder-option input[type=radio] { width: 24px; height: 24px; }
.builder-options { margin: 16px 0; }
.builder-tabs button { min-height: 44px; padding: 10px 14px; font-size: 11px; }
.builder-intro p, .builder-errors { font-size: 13px; }
.builder-secondary-actions { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
#builder-unit-count { display: inline-block; color: var(--accent); margin-left: 5px; }
.builder-footer { gap: 12px; }
.builder-back { width: 44px; height: 48px; flex-shrink: 0; padding: 0; border: 1px solid #587144; border-radius: 10px; background: transparent; color: var(--text); font-size: 22px; }
.builder-back:disabled { opacity: .3; }
.builder-total { min-width: 70px; }
.builder-primary { margin-left: auto; min-width: 140px; }
.builder-primary:disabled { opacity: .45; }
/* The same picker/search also work with a keyboard on desktop. */
.navigation-sheet, .search-sheet { width: min(680px, 94vw); padding: 0; max-height: min(90dvh, calc(var(--visual-height, 100dvh) - 20px)); }
.navigation-sheet[open], .search-sheet[open] { display: flex; flex-direction: column; overflow: hidden; }
.sheet-header { flex-shrink: 0; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 22px 24px 18px; border-bottom: 1px solid var(--line); }
.sheet-header h2 { margin: 5px 0 0; font-size: 25px; line-height: 1.2; }
.sheet-header .eyebrow { font-size: 10px; }
.sheet-scroll { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 18px 24px 24px; -webkit-overflow-scrolling: touch; }
.sheet-all-link { display: flex; justify-content: space-between; gap: 15px; align-items: center; min-height: 52px; margin-bottom: 14px; padding: 12px 15px; border: 1px solid #6d8a48; border-radius: 10px; font-size: 15px; color: #d8efbf; }
.category-sheet-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sheet-category { position: relative; display: block; isolation: isolate; min-height: 130px; overflow: hidden; border: 2px solid #40502f; border-radius: 12px; background: #29391e; }
.sheet-category::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #1113, #0b1109e6); }
.sheet-category.selected { border-color: var(--accent); }
.sheet-category img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.sheet-category strong { position: absolute; bottom: 13px; left: 13px; right: 28px; font-size: 16px; line-height: 1.25; }
.sheet-category .tile-number { position: absolute; top: 12px; left: 13px; color: #e1e9d8; font-size: 11px; }
.sheet-category .tile-arrow { position: absolute; right: 10px; bottom: 12px; color: var(--accent); font-size: 20px; }
.tile-placeholder { position: absolute; inset: 0; z-index: -2; display: grid; place-items: center; background: radial-gradient(ellipse, #405b26, #17210d); color: #729d49; font-size: 36px; }
.search-controls { flex-shrink: 0; padding: 16px 24px 0; }
.global-search-box { display: flex; align-items: center; gap: 10px; border: 1px solid #718a50; border-radius: 12px; padding: 0 12px; background: #111c0b; }
.global-search-box > span { font-size: 30px; color: var(--muted); }
.global-search-box input { width: 100%; min-width: 0; min-height: 52px; padding: 12px 0; border: 0; background: transparent; color: var(--text); font-size: 17px; outline: 0; }
.global-search-box input::-webkit-search-cancel-button { -webkit-appearance: none; }
.global-search-box button { flex-shrink: 0; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: var(--muted); font-size: 24px; }
.search-available { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; font-size: 14px; }
.search-available input { width: 22px; height: 22px; }
#search-count { font-size: 13px; color: var(--muted); margin: 2px 0 10px; }
#search-results { padding-top: 6px; }
.search-result { display: flex; width: 100%; min-height: 98px; align-items: center; gap: 14px; padding: 13px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--text); text-align: left; }
.search-result img, .search-photo-placeholder { flex-shrink: 0; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 10px; background: #304421; object-fit: cover; }
.search-result > span:nth-child(2) { flex: 1; min-width: 0; }
.search-result strong { display: block; font-size: 16px; line-height: 1.3; }
.search-result small { display: block; font-size: 12px; margin: 5px 0; color: var(--muted); }
.search-result b { display: block; font-size: 15px; color: var(--accent); }
.result-arrow { font-size: 24px; color: var(--accent); }
.search-suggestions h3 { font-size: 16px; margin: 10px 0; }
.search-suggestions a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 54px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.search-suggestions a span { color: var(--accent); }

@media (max-width:760px), (max-width:1000px) and (max-height:500px) {
  :root { --mobile-bar-height: 76px; }
  html { scrollbar-gutter: auto; }
  body { padding-bottom: calc(var(--mobile-bar-height) + env(safe-area-inset-bottom, 0px)); font-size: 16px; }
  main { padding: 0 16px; }
  .site-header { min-height: 76px; padding: calc(12px + env(safe-area-inset-top, 0px)) 16px 12px; gap: 14px; }
  .logo { font-size: 31px; }
  .logo small { font-size: 9px; margin-top: 7px; letter-spacing: 1.3px; }
  .site-header nav > a:first-child { display: none; }
  .site-header nav { gap: 8px; }
  .reserve-link { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; font-size: 14px; }
  .hero { display: none; }
  .discovery { padding: 23px 0 20px; }
  .section-intro { display: block; margin-bottom: 18px; }
  .section-intro .eyebrow { font-size: 11px; letter-spacing: 1.5px; }
  .section-intro h2 { font-size: 28px; letter-spacing: -.7px; margin-top: 6px; }
  .section-intro > p { display: none; }
  .category-tiles { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
  .category-tile { height: 116px; border-radius: 12px; }
  .category-tile strong { font-size: 17px; line-height: 1.2; left: 13px; right: 28px; bottom: 13px; }
  .category-tile .tile-number { font-size: 11px; top: 12px; left: 13px; }
  .category-tile .tile-arrow { right: 10px; bottom: 10px; font-size: 21px; }
  .mobile-index-view .catalog { display: none; }
  .mobile-index-view footer { margin-top: 10px; }
  .browse-all-link { min-height: 52px; font-size: 15px; }
  .catalog { padding-top: 0; scroll-margin-top: 0; }
  .menu-navigation { top: 0; margin: 0 -16px; padding: 10px 16px; background: #10160ff7; border-top: 0; border-bottom: 1px solid #4a5a38; backdrop-filter: blur(14px); }
  #categories, #subcategories, .search-wrap { display: none !important; }
  .mobile-category-row { display: flex; gap: 10px; width: 100%; }
  .current-category-button { display: flex; min-width: 0; flex: 1; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; padding: 10px 14px; border: 1px solid #5b7441; border-radius: 10px; background: #273b1b; color: #e9f4de; font-size: 16px; font-weight: 650; text-align: left; }
  .current-category-button > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .current-category-button > span:last-child { font-size: 22px; line-height: 1; color: var(--accent); }
  .mobile-family-select { flex: 1.15; display: flex; min-width: 0; }
  .mobile-family-select select { width: 100%; min-width: 0; min-height: 48px; padding: 10px 9px; border: 1px solid #4a5c36; border-radius: 10px; background: #1b2814; color: var(--text); font-family: inherit; font-size: 16px; font-weight: 500; line-height: 1.25; }
  #mobile-filter-status { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 12px; color: #ccdbb9; }
  #mobile-filter-status button { padding: 10px 0 10px 10px; min-height: 44px; border: 0; background: transparent; color: var(--accent); font-size: 13px; text-decoration: underline; }
  .category-intro { display: block; margin: 22px 0 18px; }
  .category-intro h2 { font-size: 30px; margin: 7px 0 0; line-height: 1.2; }
  .category-intro p { display: none; }
  .category-intro .eyebrow { font-size: 12px; letter-spacing: .4px; }
  .price-context { font-size: 11px; margin-bottom: 6px; }
  .category-intro > a { display: inline-flex; align-items: center; min-height: 44px; margin-top: 0; font-size: 13px; }
  .section-heading { margin: 20px 0 15px; padding-top: 18px; }
  .section-heading h3 { font-size: 35px; margin-bottom: 9px; }
  .section-heading p { font-size: 13px; line-height: 1.5; -webkit-line-clamp: 2; }
  .section-product-grid { grid-template-columns: minmax(0,1fr); gap: 18px; }
  .product-card { border-radius: 14px; }
  .product-card:hover { transform: none; }
  .card-image-button { aspect-ratio: 1.85; }
  .card-body { padding: 17px 17px 14px; }
  .card-top { gap: 12px; }
  .card-top h3 { font-size: 21px; line-height: 1.25; }
  .price { font-size: 20px; }
  .from { font-size: 10px; letter-spacing: .5px; }
  .product-card p { font-size: 14px; line-height: 1.55; -webkit-line-clamp: 2; margin: 12px 0; }
  .tag { font-size: 11px; padding: 5px 10px; }
  .tariff-label { margin: 0 0 12px; font-size: 11px; }
  .card-button { min-height: 50px; padding-top: 12px; font-size: 15px; }
  .card-button span { width: 34px; height: 34px; font-size: 21px; }
  .continue-card { min-height: 80px; padding: 18px; }
  .continue-card strong { font-size: 22px; }
  .menu-note { font-size: 12px; line-height: 1.6; }
  footer { display: block; padding: 25px 0; font-size: 13px; }
  footer > div:last-child { text-align: left; margin-top: 22px; }
  footer nav { flex-wrap: wrap; gap: 10px 22px; }
  footer nav a, #restaurant-email { display: inline-flex; align-items: center; min-height: 44px; }
  .mobile-toolbar { display: grid; grid-template-columns: minmax(0,1fr) 112px; gap: 10px; position: fixed; bottom: 0; left: 0; right: 0; z-index: 15; min-height: var(--mobile-bar-height); padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid #526a3b; background: #182511f7; backdrop-filter: blur(18px); box-shadow: 0 -4px 24px #0004; }
  .mobile-toolbar button { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 8px 12px; border: 1px solid #607a44; border-radius: 12px; background: #2d451e; color: var(--text); text-align: left; }
  .mobile-toolbar button:first-child { justify-content: flex-start; }
  .mobile-toolbar button:last-child { flex-direction: column; gap: 3px; background: #121e0c; }
  .mobile-toolbar strong { display: block; font-size: 15px; line-height: 1.3; }
  .mobile-toolbar small { display: block; font-size: 11px; margin-top: 2px; color: #bacfa8; line-height: 1.3; }
  .mobile-toolbar svg { width: 23px; height: 23px; flex-shrink: 0; fill: none; stroke: var(--accent); stroke-width: 1.7; }
  .toolbar-chevron { margin-left: auto; font-size: 23px; color: var(--accent); }
  html.dialog-open .mobile-toolbar { visibility: hidden; }
  #product-dialog, .navigation-sheet, .search-sheet { position: fixed; top: auto; bottom: var(--keyboard-offset, 0px); left: 0; right: 0; margin: 0; width: 100%; max-width: 100%; border-radius: 20px 20px 0 0; border-bottom: 0; max-height: min(96dvh, calc(var(--visual-height, 100dvh) - 10px)); }
  #product-dialog[open] { max-height: min(96dvh, calc(var(--visual-height, 100dvh) - 10px)); }
  .navigation-sheet { height: min(90dvh, calc(var(--visual-height, 100dvh) - 10px)); }
  .search-sheet { height: min(95dvh, calc(var(--visual-height, 100dvh) - 10px)); }
  .sheet-header { min-height: 80px; padding: 16px 18px 14px; }
  .sheet-header h2 { font-size: 24px; }
  .sheet-header .eyebrow { font-size: 10px; }
  .sheet-close { align-self: center; }
  .sheet-scroll { padding: 14px 18px calc(20px + env(safe-area-inset-bottom, 0px)); }
  .category-sheet-grid { gap: 10px; }
  .sheet-category { min-height: 116px; }
  .sheet-category strong { font-size: 17px; }
  .sheet-all-link { min-height: 52px; font-size: 15px; }
  .search-controls { padding: 14px 18px 0; }
  .search-result { gap: 12px; }
  .search-result img, .search-photo-placeholder { width: 70px; height: 70px; }
  .search-result strong { font-size: 16px; }
  .search-result small { font-size: 12px; }
  .search-result b { font-size: 16px; }
  #product-dialog .detail-visual { height: min(25dvh, 200px); }
  .detail-close { top: 12px; right: 12px; }
  .detail-content { padding: 20px 18px 25px; }
  .detail-content h2 { font-size: 27px; margin-bottom: 14px; }
  .detail-description { font-size: 15px; line-height: 1.6; }
  .detail-content > p { font-size: 14px; }
  .detail-content fieldset { padding: 9px 12px; margin: 20px 0; }
  .detail-content legend { font-size: 13px; }
  .detail-content .variant-option { font-size: 15px; min-height: 60px; }
  .detail-content .extra-option { gap: 10px; min-height: 70px; }
  .extra-option strong { font-size: 14px; }
  .extra-group summary { min-height: 56px; font-size: 16px; }
  .extra-group summary small { font-size: 12px; }
  .extra-group fieldset { margin: 0 10px 10px; padding: 0; }
  .allergens { font-size: 13px; line-height: 1.6; }
  .disclaimer { font-size: 12px; }
  #product-dialog .total { padding: 14px 18px calc(14px + env(safe-area-inset-bottom, 0px)); gap: 14px; background: #263b1cee; }
  .total small { font-size: 10px; letter-spacing: .6px; }
  #estimated-total { font-size: 27px; line-height: 1.2; }
  .total .detail-done { font-size: 14px; min-height: 50px; padding: 12px 16px; max-width: 190px; line-height: 1.3; }
  #product-dialog .custom-header { min-height: 80px; padding: 17px 76px 17px 18px; }
  .custom-header h2 { font-size: 24px; margin-top: 5px; }
  .custom-header .eyebrow { font-size: 9px; }
  .custom-header .detail-close { top: 16px; }
  .custom-body { padding: 14px 18px 22px; }
  .custom-description, .builder-tabs { display: none; }
  .builder-mobile-progress { display: block; margin-bottom: 20px; }
  .builder-mobile-progress label { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .builder-mobile-progress label > span { font-size: 13px; color: #c0cfb2; flex-shrink: 0; }
  .builder-mobile-progress select { min-width: 0; min-height: 46px; padding: 10px 12px; border: 1px solid #5b7840; border-radius: 10px; background: #273a1c; color: var(--text); font-size: 16px; max-width: 70%; }
  .builder-mobile-progress progress { display: block; width: 100%; height: 4px; margin-top: 12px; border: 0; border-radius: 4px; overflow: hidden; accent-color: var(--accent); background: #40532e; }
  .builder-mobile-progress progress::-webkit-progress-bar { background: #40532e; }
  .builder-mobile-progress progress::-webkit-progress-value { background: var(--accent); }
  .builder-intro h3 { font-size: 25px; margin: 8px 0; }
  .builder-intro p { font-size: 14px; line-height: 1.5; }
  .builder-options { grid-template-columns: minmax(0,1fr); gap: 10px; margin: 16px 0; }
  .builder-option { min-height: 80px; padding: 14px; gap: 10px; border-radius: 12px; }
  .builder-option strong { font-size: 15px; }
  .builder-option small { font-size: 13px; margin-top: 5px; }
  .builder-option input[type=radio] { width: 24px; height: 24px; }
  .builder-errors { font-size: 13px; line-height: 1.5; color: #e3d2a9; }
  .builder-secondary-actions { margin: 16px 0 20px; gap: 10px; }
  .builder-secondary-actions button { min-height: 46px; padding: 10px 12px; font-size: 13px; background: transparent; }
  #product-dialog .builder-footer { padding: 12px 14px calc(12px + env(safe-area-inset-bottom, 0px)); gap: 10px; }
  .builder-total { min-width: 70px; }
  .builder-total #estimated-total { font-size: 26px; }
  .builder-primary { min-width: 0; flex: 1; margin-left: 0; }
  .builder-summary-items > div { min-height: 60px; padding: 14px 0; font-size: 15px; }
  .builder-summary-items small { font-size: 12px; }
  .custom-format-label { font-size: 14px; margin-bottom: 12px; }
  .custom-format-label select { min-height: 44px; font-size: 16px; }
}
@media (max-width:359px) {
  .mobile-toolbar { grid-template-columns: minmax(0,1fr) 92px; padding-left: 12px; padding-right: 12px; gap: 8px; }
  .mobile-toolbar button { gap: 8px; padding-left: 10px; padding-right: 10px; }
  .mobile-toolbar strong { font-size: 14px; }
  .mobile-family-select select { padding-left: 8px; font-size: 16px; }
  .current-category-button { padding-left: 10px; font-size: 15px; }
  .sheet-category { min-height: 106px; }
  .sheet-category strong, .category-tile strong { font-size: 15px; }
  .custom-body, .detail-content { padding-left: 14px; padding-right: 14px; }
  .builder-option { padding: 12px; gap: 8px; }
  .builder-option strong, .extra-option strong { font-size: 14px; }
  .builder-option small { font-size: 12px; }
  .builder-total { min-width: 60px; }
  .builder-total #estimated-total { font-size: 23px; }
  .builder-footer .builder-primary { padding-left: 9px; padding-right: 9px; font-size: 13px; }
}
@media (max-width:1000px) and (max-height:500px) {
  :root { --mobile-bar-height: 66px; }
  .site-header { min-height: 62px; padding-top: 8px; padding-bottom: 8px; }
  .category-tiles, .category-sheet-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .sheet-category, .category-tile { min-height: 98px; height: 98px; }
  .sheet-header { min-height: 66px; padding: 10px 18px; }
  .navigation-sheet { height: calc(var(--visual-height,100dvh) - 6px); }
  .search-sheet { height: calc(var(--visual-height,100dvh) - 6px); }
  .mobile-toolbar { min-height: 66px; padding-top: 7px; padding-bottom: calc(7px + env(safe-area-inset-bottom,0px)); }
  .mobile-toolbar button { min-height: 50px; }
  #product-dialog .detail-visual { height: 95px; }
  #product-dialog .custom-header { min-height: 66px; padding-top: 11px; padding-bottom: 11px; }
  .custom-header .detail-close { top: 9px; }
  #product-dialog .total { padding-top: 8px; padding-bottom: calc(8px + env(safe-area-inset-bottom,0px)); }
  .section-product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (prefers-reduced-motion:reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* Editorial picks, controlled from the CMS. */
.promotion-container { width: min(1280px, calc(100% - 64px)); margin: 36px auto 56px; }
#category-promotions { width: 100%; margin: 0 0 48px; }
.promotion-container[hidden] { display: none; }
.monthly-feature { display: grid; grid-template-columns: 1.1fr 1fr; overflow: hidden; border: 1px solid var(--accent); border-radius: 24px; background: #202c16; box-shadow: 0 12px 60px #0003; }
.monthly-photo { position: relative; min-height: 340px; background: #131b0d; }
.monthly-photo img { width: 100%; height: 100%; position: absolute; object-fit: cover; }
.monthly-badge { position: absolute; left: 18px; top: 18px; max-width: calc(100% - 36px); padding: 10px 16px; border-radius: 100px; background: var(--accent); color: #152006; font-size: 15px; font-weight: 800; }
.monthly-copy { padding: 36px; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.monthly-copy h2 { margin: 16px 0; font-size: clamp(28px,4vw,50px); line-height: 1.05; overflow-wrap: anywhere; }
.monthly-copy > p { color: #d4dacb; line-height: 1.6; white-space: pre-line; }
.monthly-action { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 24px; }
.monthly-action strong { color: var(--accent); font-size: 25px; white-space: nowrap; }
.monthly-action button { min-height: 52px; border: 0; border-radius: 12px; padding: 14px 18px; background: var(--accent); color: #142005; font: inherit; font-weight: 750; cursor: pointer; }
.monthly-action button span { margin-left: 12px; }
.recommended-block { margin-top: 36px; }
.recommend-heading { display: flex; gap: 16px; justify-content: space-between; align-items: end; margin-bottom: 20px; }
.recommend-heading h2 { font-size: clamp(26px,3vw,38px); margin: 8px 0 0; }
.recommend-heading > span { color: var(--muted); font-size: 14px; }
.recommended-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.monthly-tag { background: var(--accent); color: #142005; }
@media (max-width:760px), (max-width:1000px) and (max-height:500px) {
 .promotion-container { width: calc(100% - 32px); margin: 18px auto 30px; }
 #category-promotions { margin-bottom: 32px; }
 .monthly-feature { grid-template-columns: 1fr; border-radius: 18px; }
 .monthly-photo { min-height: 0; aspect-ratio: 1.65; }
 .monthly-badge { left: 12px; top: 12px; font-size: 13px; padding: 9px 12px; }
 .monthly-copy { padding: 20px; }
 .monthly-copy .eyebrow { font-size: 10px; }
 .monthly-copy h2 { margin: 12px 0; font-size: 32px; }
 .monthly-copy > p { font-size: 14px; line-height: 1.5; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
 .monthly-action { flex-wrap: wrap; gap: 14px; margin-top: 18px; }
 .monthly-action strong { font-size: 27px; }
 .monthly-action button { width: 100%; text-align: left; display: flex; justify-content: space-between; font-size: 15px; }
 .recommended-block { margin-top: 28px; }
 .recommend-heading > span { display: none; }
 .recommend-heading h2 { font-size: 27px; }
 .recommended-grid { grid-template-columns: 1fr; gap: 16px; }
}
@media (min-width:761px) and (max-width:1100px) { .recommended-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
/* Recipe first; optional personalization has its own disclosed price. */
.burger-card-options{border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:16px 0 0;font-size:12px}.burger-card-options>summary,.burger-personalization>summary{display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-height:52px;padding:12px 0;cursor:pointer;list-style:none;color:var(--text)}.burger-card-options>summary::-webkit-details-marker,.burger-personalization>summary::-webkit-details-marker{display:none}.burger-card-options>summary strong,.burger-personalization>summary strong{color:var(--accent);white-space:nowrap}.burger-card-options>summary>span,.burger-personalization>summary>span{margin-left:auto;font-size:21px;color:var(--accent)}.burger-card-options[open]>summary>span,.burger-personalization[open]>summary>span{transform:rotate(180deg)}.product-card .burger-base-note,.burger-base-note{color:var(--muted);font-size:12px;line-height:1.6;display:block;-webkit-line-clamp:unset;margin:6px 0 14px}.burger-option-prices{border-top:1px solid var(--line)}.burger-option-prices>summary{cursor:pointer;padding:13px 0;min-height:44px;font-size:12px}.burger-option-prices ul{list-style:none;margin:0;padding:0 0 10px}.burger-option-prices li{display:flex;justify-content:space-between;gap:12px;padding:8px 0;color:var(--muted);font-size:11px}.burger-option-prices li b{font-weight:500;color:var(--accent);white-space:nowrap}.burger-customize-button{background:var(--accent);border:0;color:var(--brand-ink);padding:14px 17px;border-radius:30px;font-size:12px;font-weight:600;min-height:46px;margin:10px 0 16px}.burger-recipe-price{display:flex;flex-direction:column;gap:9px;margin:22px 0;padding:20px 0;border-block:1px solid var(--line)}.burger-recipe-price>span{font-size:10px;letter-spacing:.13em;color:var(--muted)}.burger-recipe-price strong{font-family:Bourbon,RenewalBrand,serif;font-size:50px;line-height:1;color:var(--accent);font-weight:400}.burger-recipe-price small{font-size:12px;color:var(--muted)}.burger-personalization{border:1px solid #4c6234;border-radius:12px;padding:0 15px;margin:20px 0}.burger-personalization>summary{font-size:14px;min-height:60px}.burger-personalization[open]{padding-bottom:14px}.burger-recipe-choice{margin-top:0}.burger-personalization .extra-group{margin:12px 0}.burger-personalization fieldset{min-width:0}

/* Full-bleed 4:3 photos with asset-specific focal points; originals stay intact. */
.product-card .card-image-button {
  aspect-ratio: 4 / 3;
  flex: none;
  isolation: isolate;
  background: #080a07;
  border-bottom: 1px solid var(--line);
}
.product-card .product-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--photo-focus, 50% 50%);
}
.grilla-campaign.renewal-menu .product-card .card-image-button:hover .product-image,
.product-card .card-image-button:hover .product-image {
  transform: none;
}
.monthly-feature .monthly-photo {
  align-self: center;
  width: 100%;
  min-height: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #080a07;
}
.monthly-feature .monthly-photo img {
  display: block;
  inset: 0;
  object-fit: cover;
  object-position: var(--photo-focus, 50% 50%);
}
#product-dialog .detail-visual {
  background: #080a07;
}
#product-dialog .detail-visual img,
.search-result img {
  display: block;
  object-fit: cover;
  object-position: var(--photo-focus, 50% 50%);
  background: #080a07;
}
.product-card .no-image {
  width: 100%;
  min-height: 0;
  background: #080a07;
}

/* The same saved crop applies to the monthly feature and every product view. */
.product-card .product-image,
.grilla-campaign.renewal-menu .product-card .card-image-button:hover .product-image,
.product-card .card-image-button:hover .product-image,
.monthly-feature .monthly-photo img,
#product-dialog .detail-visual img,
.search-result img,
.hero-visual img {
  transform: scale(var(--photo-zoom, 1));
  transform-origin: var(--photo-focus, 50% 50%);
  object-position: var(--photo-focus, 50% 50%);
}
.monthly-feature .monthly-photo{display:block;padding:0;border:0;border-radius:0;cursor:pointer;color:inherit;box-sizing:border-box}
.monthly-feature .monthly-photo img{width:100%;height:100%;object-fit:cover}
#product-dialog .detail-visual{overflow:hidden}
.search-result{overflow:hidden}
.search-photo-frame{display:block;flex-shrink:0;width:72px;height:72px;border-radius:10px;overflow:hidden}.search-photo-frame img{border-radius:0;width:100%;height:100%}
