.menu-builder-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(310px,1fr);gap:18px;align-items:start}.menu-metadata{padding-top:20px;display:grid;grid-template-columns:minmax(0,1fr);gap:0 20px}.menu-metadata [data-menu-saved]{grid-column:1/-1;margin:0}.menu-selected{position:sticky;top:calc(var(--header) + 12px);max-height:calc(100dvh - var(--header) - 32px);overflow:auto}.menu-item-list{list-style:none;margin:0;padding:0;display:grid;gap:14px}.menu-selected-item{border:2px solid #000;border-radius:5px;padding:14px}.menu-item-title{display:flex;gap:10px;align-items:center;margin-bottom:8px}.menu-selected-item label{margin:12px 0;font-size:12px}.product-text-link{border:0;background:none;color:inherit;font:inherit;font-weight:700;padding:0;cursor:pointer;text-align:left;text-decoration:underline;text-underline-offset:3px}.menu-list-controls{padding:0 22px 18px}.menu-list-controls label{margin:0}.picker-toolbar{margin-bottom:14px}.picker-search{margin-bottom:12px}.picker-search .search-controls{display:flex;gap:8px}.picker-search input{min-width:100px;flex:1}.picker-toolbar .property-filter-menu .dropdown-menu{width:min(760px,calc(100vw - 36px))}.menu-builder-layout .panel-body{padding-inline:16px}.menu-builder-layout .data-grid .table-scroll{max-width:100%}.menu-builder-layout .btn{gap:6px}.menu-builder-layout .panel-heading{padding-inline:16px}
[data-tone=primary]{background:var(--bs-primary-bg-subtle);border-inline-start:6px solid var(--bs-primary)}[data-tone=secondary]{background:var(--bs-secondary-bg-subtle);border-inline-start:6px solid var(--bs-secondary)}[data-tone=success]{background:var(--bs-success-bg-subtle);border-inline-start:6px solid var(--bs-success)}[data-tone=info]{background:var(--bs-info-bg-subtle);border-inline-start:6px solid var(--bs-info)}[data-tone=warning]{background:var(--bs-warning-bg-subtle);border-inline-start:6px solid var(--bs-warning)}[data-tone=danger]{background:var(--bs-danger-bg-subtle);border-inline-start:6px solid var(--bs-danger)}[data-tone=light]{background:var(--bs-light-bg-subtle);border-inline-start:6px solid var(--bs-light)}[data-tone=dark]{background:var(--bs-dark-bg-subtle);border-inline-start:6px solid var(--bs-dark)}
.store-body{background:#f4f7fa}.store-header{display:flex;align-items:center;justify-content:space-between;padding:18px 28px;background:#fff;border-bottom:2px solid #000}.store-header .topbar-end{margin:0}.store-main{max-width:1420px;padding:28px;margin:auto}.store-title{display:flex;gap:20px;align-items:center;margin:20px 0}.store-title img{max-width:110px;max-height:100px;object-fit:contain}.store-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(300px,1fr);gap:22px;align-items:start}.store-product-list,.store-catalog-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.store-product img{width:100%;height:200px;object-fit:contain;background:#fff}.store-product .panel-heading{padding-bottom:12px}.store-cart{position:sticky;top:18px;max-height:calc(100dvh - 36px);overflow:auto}.store-cart-line{border-bottom:1px solid #000;padding-bottom:14px;margin-bottom:14px}.store-cart-line label{margin-top:10px}.store-gallery{display:flex;gap:12px;overflow-x:auto}.store-gallery img{max-width:90%;max-height:360px;object-fit:contain}.store-cart [data-store-quote]{margin-bottom:12px}
@media(max-width:1100px){.menu-builder-layout,.store-layout{grid-template-columns:1fr}.menu-selected,.store-cart{position:static;max-height:none}.menu-metadata{grid-template-columns:1fr}}@media(max-width:650px){.store-main{padding:18px}.store-product-list,.store-catalog-list{grid-template-columns:1fr}}
.picker-toolbar [data-picker-columns] .dropdown-menu{min-width:300px;max-height:65vh;overflow:auto}.picker-toolbar [data-picker-column-order]{margin:12px 0}.menu-builder-layout .property-filter-row{grid-template-columns:minmax(160px,1.2fr) minmax(150px,1fr) minmax(120px,1fr) 38px}
[data-menu-drag]{touch-action:none;cursor:grab}[data-menu-drag]:active{cursor:grabbing}.menu-dragging{opacity:.65}.menu-drop-target{outline:3px solid var(--bs-primary);outline-offset:2px}
.menu-selected>.panel-heading,.store-cart>.panel-heading{position:sticky;top:0;background:#fff;z-index:1;border-bottom:1px solid #000}

.menu-sharing{margin-top:1.5rem}.menu-sharing>.panel-body{display:flex;align-items:center;gap:1.5rem;padding:1.25rem}.menu-sharing>.panel-body>div{flex:1;min-width:0}.menu-share-controls{display:flex;gap:.75rem}.menu-share-controls input{min-width:0}.menu-qr{background:white;object-fit:contain;flex-shrink:0}@media(max-width:600px){.menu-sharing>.panel-body{flex-direction:column;align-items:stretch}.menu-qr{align-self:center}.menu-share-controls{flex-wrap:wrap}}

.picker-toolbar [data-picker-columns] .dropdown-menu{padding:16px;width:min(360px,calc(100vw - 24px));min-width:0;overscroll-behavior:contain}.picker-toolbar [data-picker-filters] .dropdown-menu{overflow:auto;overscroll-behavior:contain}.picker-toolbar .column-chooser-title{position:sticky;top:-16px;background:white;z-index:1;padding-top:12px}.menu-builder-layout .property-filter-row{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) minmax(0,1fr) 38px}@media(max-width:650px){.menu-builder-layout .property-filter-row{grid-template-columns:minmax(0,1fr) 38px}.menu-builder-layout .property-filter-row>label{grid-column:1}.menu-builder-layout .property-filter-row>.btn{grid-column:2;grid-row:3}}

/* Private draft editor header and tab panels. */
.menu-draft-surface {overflow:visible;}
.menu-draft-surface > .menu-draft-body {padding:16px;}
.menu-draft-body > .panel:last-child {margin-bottom:0;}
.menu-draft-surface > .menu-draft-header {
  position:sticky; inset-block-start:var(--header,62px); z-index:5;
  display:block; padding:16px 16px 0; background:var(--admin-surface,#fff);
  border-radius:var(--admin-radius,9px) var(--admin-radius,9px) 0 0;
}
.menu-draft-heading {
  display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:8px 16px;
}
.menu-draft-identity {min-width:0;}
.menu-draft-title {display:flex; align-items:center; flex-wrap:wrap; gap:6px 9px; margin-top:5px;}
.menu-draft-title h2 {margin:0; color:#0b2b55; font-size:clamp(19px,2.4vw,27px); overflow-wrap:anywhere;}
.menu-draft-back {padding:0; border:0; background:none; color:#0957be; font:inherit; font-size:13px; font-weight:650; cursor:pointer;}
.menu-draft-back:hover {text-decoration:underline;}
.menu-draft-back span {margin-inline-end:4px;}
.menu-draft-toolbar {justify-content:flex-end; flex-wrap:wrap; gap:7px;}
.menu-draft-toolbar .btn {min-width:0; white-space:normal; padding-inline:16px;}
.menu-draft-toolbar [data-menu-preview] {background:#fff; color:#143862; border-color:#849aba;}
.menu-draft-toolbar [data-menu-preview]:not(:disabled):hover {background:#eaf3ff;}
.menu-draft-title > .pill.warning {background:#ffcf69; color:#573800;}
.menu-draft-toolbar [data-menu-approve] {background:#8bda9c; border-color:#70c585; color:#123c24;}
.menu-draft-toolbar [data-menu-approve]:not(:disabled):hover {background:#78ce8b; color:#123c24;}
.menu-draft-tabs {display:flex; gap:4px; overflow-x:auto; margin-top:12px; scrollbar-width:thin;}
.menu-draft-tabs [role="tab"] {
  flex:none; padding:9px 15px; color:#182a43; background:transparent;
  font:inherit; font-weight:650; white-space:nowrap; border:0; border-bottom:2px solid transparent;
}
.menu-draft-tabs [aria-selected="true"] {color:#075dcc; border-bottom-color:#075dcc;}
.menu-draft-tabs [role="tab"]:focus-visible {outline:2px solid #1754a1; outline-offset:-3px;}
.menu-draft-pane[hidden] {display:none!important;}
.menu-editor .menu-selected {
  inset-block-start:calc(var(--header,62px) + 124px);
  max-height:calc(100dvh - var(--header,62px) - 138px);
}
.menu-display-layout {display:grid; grid-template-columns:minmax(0,2.44fr) minmax(210px,1fr); gap:16px; align-items:start;}
.menu-display-layout .menu-review-panel {min-width:0; margin:0;}
.menu-display-layout :is(.menu-review-panel,.menu-display-fields) .panel-heading {padding-block:10px;}
.menu-display-layout :is(.menu-review-panel,.menu-display-fields) .panel-heading h2 {font-size:16px; margin:0;}
.menu-customer-fields-list {display:grid; gap:0;}
.menu-customer-field {display:flex; align-items:center; gap:8px; min-height:32px; margin:0; cursor:pointer;}
.menu-customer-field + .menu-customer-field {border-top:1px solid #edf2f8;}
.menu-customer-field .form-check-input {flex:none; margin:0;}
@media (max-width:850px) {
  .menu-display-layout {grid-template-columns:minmax(0,1fr);}
  .menu-display-fields .menu-customer-fields-list {grid-template-columns:repeat(auto-fit,minmax(140px,1fr)); gap:3px 12px;}
  .menu-customer-field + .menu-customer-field {border-top:0;}
}
.menu-editor .menu-item-list {gap:7px;}
.admin-ui .menu-editor .menu-selected-item,.menu-editor .menu-selected-item {
  border:1px solid var(--admin-line,#d6e1ef); border-radius:8px; padding:8px 10px;
  color:inherit; background:#fff; box-shadow:none;
}
.menu-editor .menu-selected-item:focus-within {
  border-color:#5384bc; box-shadow:0 0 0 1px #5384bc;
}
.menu-editor .menu-item-title {gap:6px; margin-bottom:2px;}
.menu-editor .menu-selected-item .row-subtitle {line-height:1.3; overflow-wrap:anywhere;}
.menu-editor .menu-selected-controls {display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:4px 8px; margin-top:5px;}
.menu-editor .menu-selected-controls > .toolbar {gap:4px; margin-inline-start:auto;}
.menu-editor .menu-selected-controls .btn,.menu-editor [data-menu-drag] {min-height:28px; padding:3px 7px;}
.menu-editor .menu-selected-controls .menu-feature-toggle {margin:0; gap:5px;}
.menu-editor .menu-selected-source {margin:4px 0 0; font-size:12px; font-weight:600;}
.menu-editor .menu-item-options {font-size:12px;}
.menu-editor .menu-item-options[open] {flex-basis:100%; padding-top:4px;}
.menu-editor .menu-item-options summary {width:fit-content; cursor:pointer; color:#174a91;}
.menu-editor .menu-item-options label {display:block; margin:7px 0;}
.menu-editor .menu-item-options .toolbar {gap:5px; margin-top:5px;}
.menu-display-layout [data-menu-preview-product] {scroll-margin-top:calc(var(--header,62px) + 168px);}
@media (max-width:1100px) {
  .menu-builder-layout.menu-editor {grid-template-columns:minmax(0,1fr);}
  .menu-editor .menu-selected {position:static; max-height:none;}
}
@media (max-width:560px) {
  .menu-draft-surface {overflow:visible;}
.menu-draft-surface > .menu-draft-body {padding:16px;}
.menu-draft-body > .panel:last-child {margin-bottom:0;}
.menu-draft-surface > .menu-draft-surface > :is(.menu-draft-header,.menu-draft-body) {padding-inline:10px;}.menu-draft-toolbar {display:flex; width:100%; justify-content:flex-start; gap:5px;}.menu-draft-toolbar .btn {flex:1 1 0;}
  .menu-draft-toolbar .btn {padding-inline:6px;}
  .menu-editor .menu-selected-controls .btn,.menu-editor [data-menu-drag] {min-height:34px;}
}

/* Menu details: roomy desktop table with a viewport-safe mobile dialog. */
dialog:has(.menu-sharing){width:1100px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);overflow:auto}dialog:has(.menu-sharing) .table-scroll{max-width:100%;overflow-x:auto}@media(max-width:650px){dialog:has(.menu-sharing){max-width:calc(100vw - 20px);max-height:calc(100dvh - 20px);padding:18px}dialog:has(.menu-sharing) .dialog-heading h2{overflow-wrap:anywhere}}

/* Preserve the chosen menu color across every cell, including grid backgrounds. */
dialog:has(.menu-sharing) tr[data-tone]:not([data-tone=""])>td{background:inherit;--bs-table-bg:transparent}dialog:has(.menu-sharing) tr[data-tone]:not([data-tone=""])>td:first-child{border-inline-start:6px solid transparent}dialog:has(.menu-sharing) tr[data-tone=primary]>td:first-child{border-inline-start-color:var(--bs-primary)}dialog:has(.menu-sharing) tr[data-tone=secondary]>td:first-child{border-inline-start-color:var(--bs-secondary)}dialog:has(.menu-sharing) tr[data-tone=success]>td:first-child{border-inline-start-color:var(--bs-success)}dialog:has(.menu-sharing) tr[data-tone=info]>td:first-child{border-inline-start-color:var(--bs-info)}dialog:has(.menu-sharing) tr[data-tone=warning]>td:first-child{border-inline-start-color:var(--bs-warning)}dialog:has(.menu-sharing) tr[data-tone=danger]>td:first-child{border-inline-start-color:var(--bs-danger)}dialog:has(.menu-sharing) tr[data-tone=light]>td:first-child{border-inline-start-color:var(--bs-light)}dialog:has(.menu-sharing) tr[data-tone=dark]>td:first-child{border-inline-start-color:var(--bs-dark)}

.menu-details-grid-tools{margin-bottom:12px}.menu-column-visibility{display:grid;grid-template-columns:minmax(100px,1fr) auto;align-items:center;gap:12px;border-bottom:1px solid #ddd}.menu-customer-switch{font-size:11px;padding-right:8px;margin:0}.menu-customer-switch input{min-height:0;width:16px;height:16px}.store-menu-properties{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px 12px}.store-menu-properties dt,.store-menu-properties dd{margin:0;overflow-wrap:anywhere}dialog:has(.menu-sharing) .column-chooser .dropdown-menu{min-width:min(460px,calc(100vw - 32px));max-width:calc(100vw - 32px)}
/* Menu controls and customer fields share one aligned layout. */
.menu-list-controls{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:18px 22px}.menu-list-controls>label{min-width:180px}.menu-list-controls .table-search-form{margin:0;flex:1}.menu-list-controls .search-controls{display:flex;align-items:center;justify-content:flex-end;gap:10px}.menu-list-controls input,.menu-list-controls select{margin-bottom:0}.menu-customer-fields{border:1px solid var(--border);border-radius:5px;padding:16px;margin:14px 0}.menu-customer-fields legend{float:none;width:auto;padding:0 6px;font-size:14px;font-weight:700}.menu-customer-fields-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 18px}.menu-customer-fields-grid .check{display:flex;align-items:center;gap:10px;margin:0}.menu-customer-fields-grid input{margin:0;flex-shrink:0}
.store-layout>.store-cart .panel-body{padding:18px}.store-cart form{display:grid;gap:14px}.store-cart form>label{display:grid;gap:7px;margin:0}.store-cart form>label.check{display:flex;align-items:center;gap:10px}.store-cart form input{margin:0}.store-cart [data-store-quote],.store-cart [data-store-place]{justify-self:start;margin:0}.store-layout .picker-search{margin:0 0 18px}.store-layout .picker-search .search-controls{align-items:center}.store-layout .picker-search input{margin:0}.store-cart-line label{display:grid;gap:7px}.store-cart-line .btn{margin-top:8px}
/* A selected color fills the interior; borders and shadows remain black. */
.panel.store-product{display:flex;flex-direction:column;border:2px solid #000;box-shadow:4px 4px 0 #000;background:#fff;overflow:hidden}.store-product[data-tone=primary]{--menu-fill:var(--bs-primary-bg-subtle)}.store-product[data-tone=secondary]{--menu-fill:var(--bs-secondary-bg-subtle)}.store-product[data-tone=success]{--menu-fill:var(--bs-success-bg-subtle)}.store-product[data-tone=info]{--menu-fill:var(--bs-info-bg-subtle)}.store-product[data-tone=warning]{--menu-fill:var(--bs-warning-bg-subtle)}.store-product[data-tone=danger]{--menu-fill:var(--bs-danger-bg-subtle)}.store-product[data-tone=light]{--menu-fill:var(--bs-light-bg-subtle)}.store-product[data-tone=dark]{--menu-fill:var(--bs-dark-bg-subtle)}.store-product>.panel-body{padding:16px 18px;display:flex;flex-direction:column;gap:14px;background:var(--menu-fill,#fff)}.store-product>.panel-heading{padding:14px 18px}.store-product>.panel-heading h2{margin:0;font-size:16px;line-height:1.4}.store-product-toggle{padding:0;border:0;background:none;font:inherit;font-weight:700;text-align:left;color:inherit;cursor:pointer;width:100%}.store-product-toggle:hover{text-decoration:underline;text-underline-offset:3px}.store-product p,.store-product dl{margin:0}.store-product-list{align-items:start}.store-price-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.store-card-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:2px}.store-short-description{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.store-expanded-details{border-top:1px solid #000;padding-top:14px;display:grid;gap:12px}.store-menu-properties{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px 16px}
.store-photo{padding:0;border:2px solid #000;border-radius:4px;background:#fff;cursor:zoom-in;overflow:hidden}.store-cover{width:100%;height:190px;border:0;border-bottom:1px solid #000;border-radius:0}.store-product .store-cover img{width:100%;height:190px;object-fit:contain;display:block}.store-photo-thumbnails,.store-carousel-thumbnails{display:flex;gap:10px;overflow-x:auto;padding:3px;max-width:100%}.store-thumbnail{width:66px;height:66px;flex:0 0 66px}.store-product .store-thumbnail img,.store-carousel-thumbnails .store-thumbnail img{width:100%;height:100%;object-fit:contain;display:block}.store-thumbnail[aria-pressed=true]{outline:3px solid var(--bs-primary);outline-offset:1px}.store-image-dialog{width:1000px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:20px;overflow:auto}.store-image-dialog .dialog-heading{margin-bottom:16px}.store-carousel{display:grid;grid-template-columns:42px minmax(0,1fr) 42px;gap:14px;align-items:center;background:#f4f7fa;border-radius:5px;padding:10px}.store-carousel-image{grid-column:2;grid-row:1;width:100%;height:min(55dvh,520px);object-fit:contain;touch-action:pan-y}.store-carousel [data-store-gallery-prev]{grid-column:1;grid-row:1}.store-carousel [data-store-gallery-next]{grid-column:3;grid-row:1}.store-carousel .btn{padding:8px;font-size:26px}.store-carousel-caption{margin:14px 0;text-align:center;font-size:13px}
@media(max-width:700px){.menu-customer-fields-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.menu-list-controls .table-search-form{flex-basis:100%}.menu-list-controls .search-controls{justify-content:stretch}.menu-list-controls .search-controls input{min-width:0;flex:1}.store-carousel{grid-template-columns:30px minmax(0,1fr) 30px;gap:7px;padding:8px}.store-carousel .btn{font-size:22px;padding:6px}.store-image-dialog{padding:14px}.store-carousel-image{height:45dvh}.store-product>.panel-body{padding:16px}}
@media(max-width:420px){.menu-customer-fields-grid{grid-template-columns:1fr}}
.store-cart>.panel-heading,.menu-selected>.panel-heading{background:var(--bs-info)}
/* Compact, single-row menu library controls. */
.menu-list-controls{justify-content:flex-start;align-items:flex-end;gap:16px}
.menu-list-controls>.table-search-form{flex:0 1 auto;width:auto;min-width:0;margin:0;display:block}
.menu-list-controls .search-controls{display:flex;flex-wrap:nowrap;align-items:center;justify-content:flex-start;gap:10px}
.menu-list-controls .search-controls input.form-control{flex:0 1 320px;width:320px;max-width:100%;min-width:120px;margin:0}
.menu-list-controls .search-controls .btn{flex-shrink:0}
@media(max-width:700px){.menu-list-controls>.table-search-form{flex:1 1 100%;width:100%}.menu-list-controls .search-controls input.form-control{flex:1 1 160px;width:auto;min-width:0}}
/* Storefront typography and consistent spacing below card headers. */
.store-main,.store-details-dialog,.store-image-dialog{color:#000}
.store-main :is(p,label,dt,dd,.muted,.eyebrow,.row-subtitle),.store-details-dialog :is(p,label,dt,dd,.muted){color:#000}
.store-intro{margin:18px 0 24px}.store-intro>.panel-heading{padding:18px 20px}.store-intro h1{font-size:24px;line-height:1.3;margin:0;font-weight:700;color:#000}.store-intro>.store-title{margin:0;padding:20px;gap:20px}.store-intro .store-title p{margin:0 0 8px}.store-intro .store-title p:last-child{margin-bottom:0}
.store-main .panel>.panel-heading{padding:16px 20px}.store-main .panel>.panel-body{padding:20px}.store-main .panel>.panel-heading h2{margin:0}.store-product .panel-body{gap:16px}.store-quantity-label{display:grid;gap:6px;margin:0!important;font-weight:700;color:#000}.store-quantity-label .invoice-quantity-control{width:130px;max-width:100%;margin:0}.store-details-dialog{width:820px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto;padding:22px}.store-details-dialog>.dialog-heading{margin-bottom:20px;padding-bottom:16px;border-bottom:2px solid #000}.store-details-dialog .dialog-heading h2{font-weight:700;color:#000;margin:0}.store-details-dialog [data-store-details-product]{display:grid;gap:18px}.store-details-dialog [data-store-details-product]>p,.store-details-dialog dl{margin:0}.store-detail-photos{display:flex;gap:12px;overflow:auto;padding:3px}.store-detail-photos .store-photo{width:150px;height:150px;flex:0 0 150px}.store-detail-photos img{display:block;width:100%;height:100%;object-fit:contain}
@media(max-width:650px){.store-intro h1{font-size:21px}.store-intro>.store-title{align-items:flex-start;padding:16px;gap:14px}.store-intro .store-title img{max-width:75px;max-height:75px}.store-main .panel>.panel-heading,.store-main .panel>.panel-body{padding:16px}.store-details-dialog{padding:16px}.store-detail-photos .store-photo{width:115px;height:115px;flex-basis:115px}}

.menu-selected>.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.menu-selected>.panel-heading h2{margin:0}.menu-columns-dialog{width:720px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto}.menu-columns-dialog .dialog-heading{padding-bottom:14px;margin-bottom:18px;border-bottom:2px solid #000}.menu-columns-dialog .menu-customer-fields-grid{margin:22px 0}.menu-columns-dialog p,.menu-columns-dialog label{color:#000}.menu-columns-save-note{font-size:12px;margin-top:18px}

.menu-column-order-heading{font-size:14px;font-weight:700;margin:20px 0 8px}.menu-columns-dialog [data-menu-column-order]{border:1px solid #000;border-radius:4px;padding:6px 10px}.menu-columns-dialog .column-order-row:last-child{border-bottom:0}.menu-columns-dialog .column-order-row .btn{display:flex;align-items:center;justify-content:center;flex:0 0 32px;height:32px;padding:4px}

/* Breathing room beneath both menu-builder headers. */
.menu-builder-layout>.panel>.panel-body{padding-top:20px;padding-bottom:20px}.menu-builder-layout .panel-heading{margin-bottom:0}.menu-selected>.panel-body>p:first-child{margin-top:0;margin-bottom:18px;color:#000}.menu-builder-layout .picker-toolbar{margin-top:0;margin-bottom:18px}.menu-required-column{display:inline-block;font-size:10px;font-weight:700;padding:2px 6px;border:1px solid #000;border-radius:3px;background:var(--bs-light);color:#000;margin-inline-start:6px}.menu-columns-dialog input:disabled{opacity:1}
/* Picture-first shopping tiles, with quantity editing reserved for the cart. */
.store-product-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:stretch}.panel.store-shop-card{border:1px solid #d9dfe5;border-radius:6px;box-shadow:0 3px 10px rgb(0 0 0 / 12%);display:flex;flex-direction:column;min-width:0}.store-shop-card>.store-cover{height:210px;padding:14px 14px 0;border:0;border-radius:0;background:#fff}.store-product.store-shop-card .store-cover img{width:100%;height:100%;object-fit:contain}.store-no-picture{height:210px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:#fff;color:#000;font-size:12px}.store-image-dots{display:flex;align-items:center;justify-content:center;gap:8px;min-height:20px;padding:6px;margin:4px 0}.store-image-dots button{width:8px;height:8px;padding:0;border:1px solid #263238;border-radius:20px;background:#64727b}.store-image-dots button[aria-pressed=true]{width:20px;background:#1c2b33}.store-image-dots button:focus-visible{outline:2px solid var(--bs-primary);outline-offset:3px}.store-main .store-shop-card>.panel-body{padding:12px 14px 16px;gap:10px;flex:1}.store-shop-card .store-price-row{gap:8px}.store-shop-card .store-price-row>strong{font-size:17px}.store-shop-card .pill{font-size:10px;padding:3px 6px}.store-shop-name{margin:0;font-size:15px;line-height:1.4}.store-shop-name .store-product-toggle{font-weight:500}.store-shop-card .store-short-description{font-size:12px;line-height:1.45}.store-shop-card .store-menu-properties{font-size:12px;gap:6px 10px}.store-shop-card .store-card-actions{display:flex;flex-direction:column;align-items:stretch;gap:8px;margin-top:auto;padding-top:8px}.store-shop-card .store-card-actions>.btn{width:100%;margin:3px 0 0 3px}.store-details-link{font:inherit;font-size:12px;text-align:left;background:transparent;color:#000;border:0;padding:4px 0;text-decoration:underline;text-underline-offset:3px}.store-browse-controls{display:flex;justify-content:flex-end;align-items:end;gap:12px;flex-wrap:wrap;margin:0 0 20px}.store-browse-controls label{display:grid;gap:6px;min-width:130px;margin:0;color:#000;font-size:12px;font-weight:700}.store-browse-controls label:last-child{min-width:180px}.store-browse-controls select{margin:0;font-weight:400}.store-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:22px;color:#000}.store-pagination>div{display:flex;gap:8px;flex-wrap:wrap}.store-cart-line .invoice-quantity-control{width:140px;margin-top:0}
@media(max-width:850px){.store-product-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:540px){.store-product-list{grid-template-columns:minmax(0,1fr)}.store-browse-controls{justify-content:stretch}.store-browse-controls label,.store-browse-controls label:last-child{min-width:0;flex:1}.store-pagination{justify-content:center}.store-shop-card>.store-cover,.store-no-picture{height:230px}}

/* Compact order items with a product thumbnail. */
.store-shop-name .store-product-toggle{font-weight:700}
.store-cart-line{display:flex;align-items:center;gap:12px;padding-bottom:10px;margin-bottom:10px}
.store-cart-item-info{flex:1;min-width:0}.store-cart-item-info>strong{display:block;font-weight:700;color:#000;line-height:1.35}
.store-cart-line label{margin-top:6px;gap:4px;font-size:12px}.store-cart-line .invoice-quantity-control{width:94px;height:32px;min-height:32px}
.store-cart-line .invoice-quantity-control>input.form-control{height:32px;min-height:32px;padding:4px 8px;font-size:12px}.store-cart-line .invoice-quantity-control>.invoice-quantity-buttons{height:32px;flex-basis:24px}.store-cart-line .invoice-quantity-buttons button{min-height:0;padding:0;font-size:10px}
.store-cart-line .btn{margin-top:6px;padding:4px 9px;font-size:12px}.store-cart-picture{flex:0 0 76px;width:76px;height:90px;padding:4px;border:1px solid #000;border-radius:4px;background:#fff}.store-cart-picture img{width:100%;height:100%;object-fit:contain}
@media(max-width:380px){.store-cart-picture{flex-basis:60px;width:60px;height:76px}.store-cart-line{gap:8px}}

/* Admin catalog builder */
.menu-feature-toggle{display:flex;align-items:center;gap:8px;margin-block:8px}.menu-feature-toggle input{margin:0}
.menu-builder-intro,.menu-review-panel{margin-block-end:18px}
.menu-builder-intro .panel-heading p,.menu-editor .panel-heading p,.menu-review-panel p{margin:4px 0 0}
.menu-builder-intro .panel-heading,.menu-review-panel .panel-heading{flex-wrap:wrap;gap:12px}
.menu-metadata{grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:8px 20px}
.menu-builder-status{grid-column:1/-1;color:var(--bs-secondary-color,#394857)}
.menu-facility-choice{display:block;max-width:38rem;margin:0 0 16px}
.menu-editor [hidden]{display:none!important}
.menu-editor .menu-selected>.panel-heading{z-index:2}

.menu-selection-filters{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:10px;margin-bottom:14px}
.menu-selection-filters label{margin:0}
.menu-selection-content ol:not(:empty)+ol:not(:empty){margin-top:12px}
.menu-review-panel{margin-block-start:18px}
/* Live shopper presentation inside the Admin menu editor. */
.menu-live-preview {container-type:inline-size;}
.menu-preview-select {display:block; max-width:38rem; margin:10px 0 12px; font-weight:600;}
.menu-preview-select .form-select {margin-top:4px;}
.menu-shopper-preview {
  display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); gap:16px 20px;
  align-items:start; padding:16px; border:1px solid #d6e1ef; border-radius:14px; color:#101f36; background:#fff;
}
.menu-preview-gallery,.menu-preview-copy {min-width:0;}
.menu-preview-photo {
  position:relative; display:grid; place-items:center; min-height:180px; overflow:hidden;
  border:1px solid #d6e1ef; border-radius:11px; background:#e3edf9;
}
.menu-preview-photo img {width:100%; height:clamp(190px,35cqw,340px); padding:8px; object-fit:contain;}
.menu-preview-photo .menu-preview-arrow {
  position:absolute; inset-block-start:50%; transform:translateY(-50%); display:grid; place-items:center;
  width:34px; height:34px; padding:0; border:1px solid #cadbef; border-radius:50%; background:#fff; color:#0b2b55;
}
.menu-preview-arrow[data-menu-preview-step="-1"] {inset-inline-start:8px;}
.menu-preview-arrow[data-menu-preview-step="1"] {inset-inline-end:8px;}
.menu-preview-thumbnails {display:flex; flex-wrap:wrap; justify-content:center; gap:6px; margin-top:8px;}
.menu-preview-thumbnails button {width:44px; height:44px; padding:2px; border-radius:6px; border:1px solid #d6e1ef; background:#f6f9fe;}
.menu-preview-thumbnails button[aria-pressed="true"] {outline:2px solid #1754a1; outline-offset:-2px;}
.menu-preview-thumbnails img {width:100%; height:100%; object-fit:contain;}
.menu-shopper-preview h3 {margin:2px 0 8px; color:#0b2b55; font-size:clamp(24px,5cqw,40px); line-height:1.1; overflow-wrap:anywhere;}
.menu-preview-brand {font-size:13px; color:#36516e;}
.menu-preview-price {display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin-bottom:8px;}
.menu-preview-price strong {font-size:clamp(18px,3cqw,25px); color:#0b2b55;}
.menu-preview-purchase {display:flex; flex-wrap:wrap; align-items:center; gap:7px;}
.menu-preview-purchase span button {margin-inline-start:4px; border:1px solid #cfdaea; border-radius:6px;}
.menu-preview-purchase .btn {flex:1 1 100px; background:#0b2b55; color:#fff; opacity:.8;}
.menu-shopper-preview .menu-preview-description {margin:10px 0; white-space:pre-line; overflow-wrap:anywhere;}
.menu-preview-category {font-size:12px; font-weight:650;}
.menu-preview-properties {display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,100px),1fr)); gap:7px; margin:8px 0 0;}
.menu-preview-properties div {min-width:0; padding:8px; border:1px solid #e0e8f2; border-radius:8px; background:#f3f7fc;}
.menu-preview-properties dt {font-size:12px; font-weight:650; color:#36516e;}
.menu-preview-properties dd {margin:3px 0 0; white-space:pre-line; overflow-wrap:anywhere;}
.menu-preview-hops {grid-template-columns:1fr;}
.menu-preview-hops ul {display:flex; flex-wrap:wrap; gap:4px; list-style:none; margin:4px 0 0; padding:0;}
.menu-preview-hops li {max-width:100%; padding:2px 8px; border-radius:5px; background:#dce8f8;}
.menu-preview-notes {grid-template-columns:repeat(auto-fit,minmax(min(100%,165px),1fr));}
.menu-preview-missing {margin-top:8px; font-size:12px;}
@container (max-width:560px) {
  .menu-shopper-preview {grid-template-columns:minmax(0,1fr); padding:12px;}
  .menu-preview-photo img {height:clamp(190px,65cqw,290px);}
}

/* The editor preview uses the same field projection as the read-only panel. */
.menu-display-layout .panel-heading {padding-inline:18px;}
.menu-display-layout .menu-review-panel .menu-preview-heading {
  display:flex; justify-content:space-between; align-items:center; gap:10px 18px; flex-wrap:wrap;
}
.menu-preview-heading [data-menu-preview-picker]:not(:empty) {flex:0 1 52%; min-width:min(100%,230px);}
.menu-preview-heading .menu-preview-select {display:flex; align-items:center; gap:12px; margin:0; max-width:none;}
.menu-preview-heading .menu-preview-select .form-select {flex:1; min-width:0; margin:0;}
.menu-display-fields .panel-heading p {margin:5px 0 0; color:#435e7c; font-size:13px;}
.menu-display-fields .panel-body {padding:8px 18px 13px;}
.menu-display-fields .menu-customer-field {min-height:36px; border:0; gap:10px;}
.menu-display-fields .menu-customer-field .form-check-input {width:19px; height:19px; accent-color:#075dcc;}
.menu-customer-fields-more {margin-top:8px; padding-top:7px; border-top:1px solid #e1eaf4;}
.menu-customer-fields-more summary {color:#214d82; font-size:13px; font-weight:650; cursor:pointer;}
.menu-customer-fields-more[open] summary {margin-bottom:5px;}

.menu-display-layout .menu-live-preview {padding:16px 18px 14px;}
.menu-display-layout .menu-shopper-preview {gap:14px 22px; padding:0; border:0; border-radius:0; grid-template-columns:minmax(0,.86fr) minmax(0,1.08fr);}
.menu-display-layout .menu-preview-gallery {
  display:grid; grid-template-columns:minmax(0,1fr); align-items:start; border-radius:9px; background:#e9f0fa;
}
.menu-display-layout .menu-preview-gallery:has(.menu-preview-thumbnails) {grid-template-columns:minmax(58px,24%) minmax(0,1fr);}
.menu-display-layout .menu-preview-photo {border:0; border-radius:9px; background:#deebf9;}
.menu-display-layout .menu-preview-photo img {height:clamp(235px,44cqw,320px); padding:10px;}
.menu-display-layout .menu-preview-gallery:has(.menu-preview-thumbnails) .menu-preview-photo {grid-column:2; grid-row:1;}
.menu-display-layout .menu-preview-thumbnails {grid-column:1; grid-row:1; flex-direction:column; align-items:center; gap:10px; padding:13px 3px; margin:0;}
.menu-display-layout .menu-preview-thumbnails button {width:clamp(40px,7cqw,56px); height:clamp(40px,7cqw,56px);}
.menu-display-layout .menu-preview-brand {color:#173955; font-weight:700; margin:0 0 4px;}
.menu-display-layout .menu-shopper-preview h3 {font-size:clamp(23px,4.2cqw,34px);}
.menu-preview-quantity {display:inline-flex; align-items:center; border:1px solid #bccde4; border-radius:7px; color:#0b2b55; font-weight:700; overflow:hidden;}
.menu-preview-quantity > span {display:grid; place-items:center; min-width:34px;}
.menu-preview-purchase .menu-preview-quantity > button {min-width:33px; height:34px; margin:0; padding:0; color:inherit; opacity:1; border:0; border-radius:0; background:#f3f7fc;}
.menu-preview-purchase .btn:disabled {opacity:1;}
.menu-display-layout .menu-preview-description {font-size:14px; line-height:1.45;}
.menu-preview-facts {display:flex; flex-wrap:wrap; gap:4px 0; padding:7px 10px; border-radius:6px; background:#edf3fa;}
.menu-preview-facts > div {padding:0; background:none; border:0; border-radius:0;}
.menu-preview-facts > div + div::before {content:"·"; margin-inline:7px; color:#546c87;}
.menu-preview-facts dt {position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap;}
.menu-preview-facts dd {display:inline; margin:0; color:#162e4a; font-weight:700;}
.menu-display-layout :is(.menu-preview-hops,.menu-preview-notes) {display:block; margin:0;}
.menu-display-layout :is(.menu-preview-hops,.menu-preview-notes) > div {
  display:grid; grid-template-columns:minmax(86px,27%) minmax(0,1fr); align-items:start; gap:8px;
  padding:7px 0; border:0; border-bottom:1px solid #e9eff8; border-radius:0; background:none;
}
.menu-display-layout :is(.menu-preview-hops,.menu-preview-notes) :is(dd,ul) {margin:0;}

@media (hover:hover) {
  .menu-display-layout .menu-preview-photo .menu-preview-arrow {opacity:0;}
  .menu-display-layout .menu-preview-photo:is(:hover,:focus-within) .menu-preview-arrow {opacity:1;}
}
@container (max-width:550px) {
  .menu-display-layout .menu-shopper-preview {grid-template-columns:minmax(0,1fr);}
  .menu-display-layout .menu-preview-gallery:has(.menu-preview-thumbnails) {grid-template-columns:minmax(0,1fr);}
  .menu-display-layout .menu-preview-gallery:has(.menu-preview-thumbnails) .menu-preview-photo {grid-column:1;}
  .menu-display-layout .menu-preview-photo img {height:clamp(190px,63cqw,255px);}
  .menu-display-layout .menu-preview-thumbnails {grid-row:2; flex-direction:row; padding:6px;}
}
@media (max-width:560px) {
  .menu-preview-heading [data-menu-preview-picker] {flex-basis:100%;}
  .menu-display-layout .menu-live-preview {padding-inline:12px;}
}

.menu-editor .picker-toolbar .toolbar{flex-wrap:wrap}
@media(max-width:1100px){.menu-builder-intro .menu-metadata{grid-template-columns:minmax(0,1fr)}}
@media(max-width:560px){.menu-selection-filters{grid-template-columns:minmax(0,1fr)}}

/* Keep one field editor and preview, with a clear active customer view. */
.menu-field-tabs { display:flex; flex-wrap:wrap; gap:.35rem; margin-block-end:.55rem; }
.menu-field-tabs button { padding:.4rem .62rem; border:1px solid #b8ccdf; border-radius:.45rem; background:#fff; color:#163556; font:inherit; font-weight:650; cursor:pointer; }
.menu-field-tabs button[aria-selected="true"] { background:#153f69; border-color:#153f69; color:#fff; }
.menu-field-tabs button:focus-visible { outline:2px solid #1c5b94; outline-offset:2px; }
.menu-field-note { font-size:.83rem; margin:0 0 .6rem; color:#294767; }
.menu-customer-field small { display:block; font-size:.7rem; color:#294767; }
.menu-shopper-preview.is-modal-preview { max-inline-size:660px; margin-inline:auto; }
@media(max-width:760px) {
  .menu-display-fields { grid-row:1; }
}
