.brand strong{font-size:19px;font-weight:700;letter-spacing:0;color:var(--ink)}
.brand-mark{width:34px;height:34px;border:0;border-radius:50%;background:var(--forest);color:#fff;font:700 17px/1 var(--serif);transform:none}
.product-row{grid-template-columns:2fr 1fr 110px 92px 100px}
.delete-product-btn{color:#b84b42;background:#fff3f0}
.delete-product-btn:hover{color:#fff;background:#b84b42}
.category-row-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:14px;flex-wrap:wrap}
.delete-category-btn{color:#b84b42;border-color:#e6bdb8;background:#fff3f0}
.delete-category-btn:hover{color:#fff;background:#b84b42;border-color:#b84b42}
.category-row-actions .outline-btn{min-height:44px}
.category-row-actions button:disabled{opacity:.55;cursor:wait}
@media(max-width:760px){.category-row-actions .outline-btn{flex:1 1 120px;justify-content:center}}
.header-cart-trigger{display:inline-flex;align-items:center;gap:7px;min-height:38px}
.cart-trigger-count{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:12px;background:#edf4ec;color:var(--forest);font-size:10px;font-weight:700}
.mobile-cart-trigger{display:none}
.restaurant-contact-strip{display:grid;grid-template-columns:minmax(120px,.7fr) minmax(240px,2fr) minmax(120px,.9fr) minmax(90px,.7fr);gap:12px 22px;margin:14px 0 29px;padding:15px 4px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.restaurant-contact-strip div{min-width:0}
.restaurant-contact-strip dt,.store-contact-info dt{font-size:12px;color:var(--muted)}
.restaurant-contact-strip dd,.store-contact-info dd{margin:3px 0 0;font-size:14px;font-weight:600;overflow-wrap:anywhere}
.restaurant-contact-strip a:hover,.store-contact-info a:hover{color:#397b58;text-decoration:underline}
.bulk-product-tools{padding:12px 16px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.bulk-selection-status,.bulk-move-controls{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.product-select-label{display:inline-flex;align-items:center;gap:9px;margin:0;font-size:12px;font-weight:600;cursor:pointer}
.product-select-checkbox,.product-select-label input{width:17px;height:17px;min-width:17px;accent-color:var(--forest);cursor:pointer}
.bulk-selection-status .text-btn{padding:4px 0;font-size:11px}
.bulk-selection-status .text-btn:disabled{opacity:.45;cursor:default}
.bulk-move-controls{justify-content:flex-end;margin-top:10px}
.bulk-move-controls label{display:flex;align-items:center;gap:8px;margin:0;color:var(--muted);font-size:11px}
.bulk-move-controls select{min-width:150px;max-width:240px;min-height:40px;padding:8px 10px;border:1px solid var(--line);border-radius:7px;background:#fff;color:var(--ink)}
.bulk-move-controls .primary-btn{min-height:40px;padding:9px 13px;white-space:normal}
.bulk-move-controls button:disabled{opacity:.45;cursor:default}
.product-row{grid-template-columns:34px minmax(160px,2fr) minmax(90px,1fr) 90px 82px 104px}
.product-row.header{letter-spacing:0}
.product-row .product-select-checkbox{justify-self:center}
.order-restaurant-contact{margin-top:14px;padding-top:12px;border-top:1px solid var(--line)}
.store-contact-info{margin:0}
.store-contact-info>div{display:grid;grid-template-columns:95px minmax(0,1fr);gap:10px;padding:6px 0}
.store-contact-info dd{font-size:14px;line-height:1.55}
.completed-order-contact{margin-top:12px;padding:13px 15px;border-left:3px solid #6c9b73;background:#edf4ec}
.completed-order-contact>strong{display:block;margin-bottom:5px;font-size:12px}
.completed-order-contact .store-contact-info>div{grid-template-columns:90px minmax(0,1fr);padding:4px 0}
.customer-detail-view .address-card{overflow:hidden}
#cartPanel{scroll-margin-top:18px}
@media(max-width:760px){
  .header-cart-trigger{display:none}
  .customer-view{padding-bottom:105px}
  .restaurant-contact-strip{grid-template-columns:minmax(0,1fr) minmax(0,1.55fr);gap:12px 18px;margin:10px 0 24px;padding:13px 0}
 .restaurant-contact-strip dd{font-size:14px;line-height:1.55}
  .bulk-product-tools{padding:12px 10px}
  .bulk-selection-status{gap:10px}
  .bulk-selection-status .table-meta{margin-left:auto}
  .bulk-move-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}
  .bulk-move-controls label{display:grid;grid-column:1/-1;gap:4px}
  .bulk-move-controls select{width:100%;max-width:none}
  .bulk-move-controls .primary-btn{grid-column:1/-1;width:100%;justify-content:center}
  .product-row{grid-template-columns:26px minmax(0,1fr) 66px 92px;gap:6px;padding:12px 2px}
  .product-row>*:nth-child(3),.product-row>*:nth-child(5){display:none}
  .product-row .product-select-checkbox{width:16px;height:16px;min-width:16px}
  .product-row.header{font-size:9px}
   .restaurant-contact-strip dd br{display:none}
  .mobile-cart-trigger{position:fixed;z-index:30;right:14px;bottom:calc(12px + env(safe-area-inset-bottom));left:14px;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:54px;padding:11px 17px;border:1px solid #38654f;border-radius:8px;background:var(--forest);box-shadow:0 8px 24px rgba(23,48,36,.25);color:#fff;font-size:13px;font-weight:600;text-align:left}
  .mobile-cart-trigger strong{margin-left:auto;font-size:14px;white-space:nowrap}
  .mobile-cart-trigger #mobileCartCount{min-width:24px;padding:2px 7px;border-radius:12px;background:#ffffff24;text-align:center}
}
.trash-icon{position:relative;display:block;width:11px;height:12px;margin:5px auto 0;border:1.5px solid currentColor;border-top:0;border-radius:0 0 2px 2px}
.trash-icon:before{position:absolute;top:-4px;left:-2px;width:12px;height:2px;border-top:1.5px solid currentColor;content:""}
.trash-icon:after{position:absolute;top:-6px;left:2px;width:4px;height:2px;border:1.5px solid currentColor;border-bottom:0;border-radius:2px 2px 0 0;content:""}
@media(max-width:760px){.product-row{grid-template-columns:minmax(0,1fr) 72px 116px;gap:8px}.row-actions{gap:4px}.row-actions .icon-btn{width:36px;height:36px;flex-basis:36px}}
@media(max-width:760px){.product-row{grid-template-columns:26px minmax(0,1fr) 66px 92px;gap:6px;padding:12px 2px}.product-row>*:nth-child(3),.product-row>*:nth-child(5){display:none}.product-row .product-select-checkbox{width:16px;height:16px;min-width:16px}}
@media(max-width:760px){.product-row{grid-template-columns:22px minmax(0,1fr) auto;gap:8px}.product-row.header{display:none}.product-row:not(.header)>:nth-child(2){display:flex;min-width:0}.product-row:not(.header)>:nth-child(3),.product-row:not(.header)>:nth-child(4),.product-row:not(.header)>:nth-child(5){display:none}.product-title>div{min-width:0}.product-title strong{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-height:1.35}.product-title small{display:none}.row-actions{gap:4px}.row-actions .icon-btn{width:34px;height:34px;flex-basis:34px}}

/* Editable restaurant contact settings */
.settings-card input[readonly]{color:var(--muted);background:#f2f4f0}
.settings-card .settings-hint{font-size:12px;line-height:1.6;color:var(--muted);margin:-2px 0 18px}
.settings-card .settings-success{color:#24613c;background:#edf7ef;border-radius:8px;padding:10px 12px;margin-bottom:15px;font-size:12px;line-height:1.5}
.settings-card .form-error{margin-bottom:15px}
.settings-card button:disabled{opacity:.6;cursor:wait}
@media(max-width:760px){.settings-card input{font-size:16px;min-height:44px}.settings-card .primary-btn{min-height:44px;width:100%}}

/* Direct access to menu category editing on desktop and mobile. */
.category-editor-hint{margin:-8px 0 20px;color:var(--ink-soft);font-size:13px;line-height:1.7;max-width:760px}
.category-close{display:flex;margin-left:auto;min-height:44px;padding:8px 14px}
.category-editor input{min-height:44px}
@media(max-width:760px){.admin-mobile-nav{grid-template-columns:repeat(5,minmax(0,1fr));padding-left:6px;padding-right:6px;gap:3px}.admin-mobile-nav .admin-nav-btn{font-size:11px}.category-editor input{font-size:16px}.category-editor-hint{font-size:12px}.category-editor .modal-actions{flex-wrap:wrap}.category-editor .modal-actions button{min-height:44px;flex:1 1 120px;justify-content:center}}


/* Flexible menu, scheduling, packaging and readability controls */
body{font-size:16px}
button,input,select,textarea{font-size:15px}
.category-tabs{gap:26px}
.category{font-size:16px;font-weight:650;padding:7px 0}
.dish-info h3{font-size:18px;line-height:1.35}
.dish-price{font-size:17px;font-weight:750;white-space:nowrap}
.dish-info p{font-size:13px;line-height:1.55}
.add-btn{font-size:15px;min-height:44px}
.menu-option-label{display:block;margin:13px 0 8px}
.menu-option-label>span{display:block;margin-bottom:5px;color:var(--ink-soft);font-size:13px;font-weight:700}
.menu-option-label select{width:100%;min-height:44px;padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink)}
.menu-packaging{display:block;margin:5px 0 9px;color:#93602f;font-size:12px;font-weight:700}
.cart-option{display:block!important;color:var(--forest)!important;font-weight:700}
#packagingFeeRow{color:#8a5b2e}
#packagingFeeRow.zero{color:var(--muted)}
.schedule-toggle{display:flex!important;align-items:flex-start;gap:10px;padding:12px;border:1px solid #bed4c2;border-radius:10px;background:#f1f8f1;cursor:pointer}
.schedule-toggle input{width:20px!important;height:20px;margin-top:2px;accent-color:var(--forest)}
.schedule-toggle strong,.schedule-toggle small{display:block}
.schedule-toggle small{margin-top:3px;color:var(--muted);font-size:12px}
.customer-ready-estimate{margin-top:13px;padding:12px 14px;border-radius:9px;background:#e2f1e4;color:#255d3c;font-size:15px;font-weight:750;line-height:1.5}
.hours-settings{margin:22px 0;padding:18px;border:1px solid var(--line);border-radius:12px}
.hours-settings legend{padding:0 8px;font-size:16px;font-weight:750}
.hours-row{display:grid;grid-template-columns:minmax(100px,.8fr) 100px minmax(120px,1fr) minmax(120px,1fr);align-items:end;gap:10px;padding:10px 0;border-top:1px solid #edf0ed}
.hours-row:first-child{border-top:0}
.hours-row>strong{align-self:center;font-size:14px}
.hours-row label{margin:0!important}
.hours-row .closed-check{display:flex!important;align-items:center;align-self:center;gap:7px}
.hours-row .closed-check input{width:18px;height:18px}
.hours-row .closed-check span{margin:0}
.product-options-editor{margin-top:24px;padding-top:22px;border-top:1px solid var(--line)}
.options-heading{display:flex;align-items:start;justify-content:space-between;gap:16px;margin-bottom:14px}
.options-heading h3{font:700 21px var(--serif)}
.options-heading p{max-width:580px;margin-top:5px;color:var(--muted);font-size:12px}
.product-option-row{position:relative;margin-top:10px;padding:14px;border:1px solid var(--line);border-radius:12px;background:#fafbf9}
.option-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.product-option-row .delete-option{display:flex;margin:4px 0 0 auto;min-height:40px;color:#a33d34}
.category-order-controls{display:flex;align-items:center;gap:8px;margin-bottom:12px}
.category-order-controls .outline-btn{min-height:40px;padding:8px 11px}
.category-position{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--forest);color:#fff;font-weight:800}
.order-alert-badges{display:flex;flex-wrap:wrap;gap:5px;margin-top:5px}
.order-alert-badges b,.scheduled-badge,.note-badge{display:inline-block;padding:4px 7px;border-radius:6px;background:#fff0c7;color:#7b4c00;font-size:11px;line-height:1.3}
.order-alert-badges b+ b,.note-badge{background:#ffe0dc;color:#9a332a}
.order-detail-row.scheduled-order{border-left:5px solid #e6a237;padding-left:13px;background:#fffaf0}
.order-detail-row.has-order-note{box-shadow:inset 0 0 0 2px #e37368}
.inline-note{margin-top:6px!important;padding:6px 8px;border-radius:6px;background:#ffe0dc;color:#8f2f28!important;font-weight:700}
.ready-inline{margin-top:6px!important;color:#2e7548!important;font-weight:700}
.admin-detail-alerts{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin-bottom:14px}
.admin-detail-alerts strong{font-size:13px}
.highlight-note{padding:10px!important;border-radius:8px;background:#ffe0dc}
.order-option{display:block;margin-top:4px;color:var(--forest);font-weight:700}
.prep-action{display:flex;align-items:flex-end;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.prep-action label span{display:block;margin-bottom:3px;color:var(--muted);font-size:10px;font-weight:700}
.prep-action select{min-height:38px;padding:7px;border:1px solid var(--line);border-radius:7px;background:#fff}
.packaging-total{color:#875727}
@media(max-width:760px){
 body{font-size:16px}.category{font-size:17px}.category-tabs{gap:25px}.dish-info h3{font-size:19px}.dish-price{font-size:18px}.dish-info p{font-size:14px}.menu-option-label select{font-size:16px}
 .hours-row{grid-template-columns:1fr 1fr}.hours-row>strong{font-size:16px}.hours-row .closed-check{justify-self:end}.hours-row label:not(.closed-check){grid-row:2}
 .option-fields{grid-template-columns:1fr}.options-heading{display:block}.options-heading button{width:100%;margin-top:12px;justify-content:center}.product-option-row .delete-option{width:100%;justify-content:center}
 .category-order-controls{display:grid;grid-template-columns:34px 1fr 1fr}.category-order-controls .outline-btn{justify-content:center}
 .order-detail-row.scheduled-order{padding-left:9px}.prep-action{display:grid;width:100%;grid-template-columns:1fr}.prep-action select,.prep-action .order-action{width:100%}
}

/* Readable typography across customer and admin surfaces (loaded last). */
.eyebrow{font-size:12px}.pickup-form>label{font-size:14px}.pickup-form small{font-size:12px}.cart-header h2{font-size:23px}.cart-item h4{font-size:15px}.cart-item small{font-size:12px}.cart-summary{font-size:14px}.qty-control{font-size:15px}
.admin-nav-btn{font-size:14px}.product-row{font-size:13px}.product-title strong{font-size:14px}.product-title small{font-size:12px}.price-input{font-size:14px}.availability{font-size:12px}.order-customer strong,.order-items strong{font-size:14px}.order-customer small,.order-items small{font-size:12px}.order-state{font-size:12px}.order-action,.view-details{font-size:12px}.pickup-info dt{font-size:11px}.pickup-info dd{font-size:14px}
@media(max-width:760px){.admin-mobile-nav .admin-nav-btn{font-size:12px}.pickup-form>label{font-size:15px}.pickup-form small{font-size:13px}.cart-item h4{font-size:16px}.cart-summary{font-size:15px}}
.product-row{grid-template-columns:34px 62px minmax(160px,2fr) minmax(90px,1fr) 90px 82px 104px}.product-order-input{width:54px;padding:7px 5px;border:1px solid #d5dfd5;border-radius:7px;background:#fff;color:var(--forest);font-size:13px;font-weight:700;text-align:center}.product-order-input:focus{border-color:#739a7c;outline:2px solid #dcecdf;outline-offset:1px}.product-order-input:disabled{opacity:.55;cursor:wait}@media(max-width:760px){.product-row{grid-template-columns:22px 52px minmax(0,1fr) auto;gap:7px}.product-row.header{display:none}.product-row:not(.header)>:nth-child(2){display:block}.product-row:not(.header)>:nth-child(3){display:flex;min-width:0}.product-row:not(.header)>:nth-child(4),.product-row:not(.header)>:nth-child(5),.product-row:not(.header)>:nth-child(6){display:none}.product-order-input{width:48px;font-size:13px}.product-title>div{min-width:0}}

/* Keep menu categories in one swipeable row while customers browse dishes. */
#menu.section-heading{margin-bottom:14px;scroll-margin-top:calc(var(--topbar-height,78px) + 12px)}
#categoryTabs{position:sticky;top:var(--topbar-height,78px);z-index:12;display:flex;flex-wrap:nowrap;gap:24px;max-width:100%;margin:0 0 20px;padding:6px 0 0;background:var(--canvas);border-bottom:1px solid var(--line);box-shadow:0 5px 10px rgba(31,48,39,.04);overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none;scroll-padding-inline:16px}
#categoryTabs::-webkit-scrollbar{display:none}
#categoryTabs>.category{flex:0 0 auto;min-height:50px;padding:10px 4px 13px;font-size:18px;font-weight:700;white-space:nowrap}
#categoryTabs>.category.active{color:var(--forest)}
#categoryTabs>.category.active:after{bottom:0;height:3px}
#menuGrid{scroll-margin-top:calc(var(--topbar-height,78px) + 76px)}
@media(max-width:760px){
 #categoryTabs{top:var(--topbar-height,67px);max-width:none;margin-inline:-16px;padding-inline:16px;gap:22px}
 #categoryTabs>.category{font-size:18px}
}
