.shop-module{max-width:1440px;margin:0 auto;color:var(--text,#263340)}.shop-title h1{font-size:27px;margin:0}.shop-title p,.shop-muted{color:#64748b;font-size:13px}.shop-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}.shop-tabs button,.shop-tools button,.shop-panel button{border:1px solid #cbd5e1;background:#fff;color:#24354a;padding:9px 12px;border-radius:8px;cursor:pointer}.shop-tabs .active,.shop-module .shop-primary,.shop-dialog .shop-primary{background:#0b766a;color:#fff;border:1px solid #0b766a}.shop-panel{background:#fff;border:1px solid #dfe5ed;border-radius:12px;padding:18px;margin-bottom:15px;min-width:0;box-shadow:0 1px 5px #10202e0a}.shop-panel h3{margin:0 0 15px;font-size:18px}.shop-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:16px}.shop-kpis>div{background:#fff;border:1px solid #e2e8f0;padding:17px;border-radius:12px}.shop-kpis small,.shop-kpis strong{display:block}.shop-kpis strong{font-size:23px;margin-top:8px}.shop-bill-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(320px,1fr);gap:16px}.shop-search,.shop-tools input,.shop-module input,.shop-module select,.shop-dialog input,.shop-dialog select{border:1px solid #cbd5e1;border-radius:7px;padding:9px;background:#fff;color:#202b3b;min-width:0;width:100%;max-width:100%}.shop-product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px;margin-top:15px;max-height:530px;overflow:auto}.shop-product-grid button{display:flex;flex-direction:column;align-items:flex-start;gap:7px;text-align:left;min-height:114px}.shop-product-grid button:disabled{opacity:.45;cursor:not-allowed}.shop-product-grid small{color:#64748b}.shop-cart{max-height:350px;overflow:auto}.shop-cart-row{display:grid;grid-template-columns:minmax(85px,1fr) 28px 24px 28px auto 28px;gap:4px;align-items:center;border-bottom:1px solid #e2e8f0;padding:8px 0}.shop-cart-row button{padding:4px!important}.shop-total{display:flex;justify-content:space-between;margin:12px 0}.shop-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.shop-form-grid label,.shop-tools label,.shop-edit-form label{display:grid;gap:5px;font-size:13px}.shop-form-grid+button{width:100%;margin:12px 0}.shop-tools{display:flex;flex-wrap:wrap;gap:10px;align-items:end;margin-bottom:15px}.shop-tools input{width:auto;min-width:160px}.shop-table-wrap{overflow:auto;max-height:620px}.shop-table-wrap table{border-collapse:collapse;width:100%;min-width:820px}.shop-table-wrap th,.shop-table-wrap td{padding:10px 9px;border-bottom:1px solid #e5e9ed;text-align:left;vertical-align:middle;font-size:12px}.shop-table-wrap td button{padding:6px 8px;margin:2px}.shop-overlay{position:fixed;inset:0;z-index:3000;background:#142032a8;display:flex;align-items:center;justify-content:center;padding:16px}.shop-dialog{background:white;color:#202b3b;width:min(610px,100%);max-height:92vh;overflow:auto;padding:20px;border-radius:14px}.shop-dialog-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.shop-dialog-heading h2{margin:0;font-size:20px}.shop-dialog-heading button{background:transparent;border:0;font-size:20px;cursor:pointer}.shop-edit-form{display:grid;gap:12px}.shop-edit-line{display:grid;grid-template-columns:1fr 70px 80px;gap:7px;margin-bottom:8px}.shop-edit-line button{background:#fff;border:1px solid #cbd5e1;border-radius:7px}@media(max-width:900px){.shop-bill-layout{grid-template-columns:1fr}.shop-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:540px){.shop-kpis{grid-template-columns:1fr 1fr}.shop-kpis strong{font-size:17px}.shop-panel{padding:12px}.shop-form-grid{grid-template-columns:1fr}.shop-cart-row{font-size:12px}.shop-tools input{width:100%}}

.shop-pack-warning{padding:13px 15px;border:1px solid #f4cf77;background:#fff9e8;color:#764e0c;border-radius:9px;margin-bottom:14px;font-size:13px;line-height:1.5}

/* 2026-10-24: Shop uses the main Restaurant's warm amber UI instead of teal. */
.shop-module,.shop-overlay{
 --shop-accent:#e7a54f;
 --shop-accent-hover:#f4b642;
 --shop-accent-soft:#fff4dc;
 --shop-ink:#1d2733;
 --shop-border:#d8e0e9;
 --shop-surface:#fff;
 --shop-muted:#697486;
}
.shop-tabs button.active,.shop-module .shop-primary,.shop-dialog .shop-primary{
 background:var(--shop-accent);border-color:var(--shop-accent);color:#17120a;font-weight:700;
}
.shop-tabs button:hover,.shop-tools button:hover,.shop-panel button:hover{border-color:var(--shop-accent)}
.shop-module .shop-primary:hover,.shop-dialog .shop-primary:hover{background:var(--shop-accent-hover);border-color:var(--shop-accent-hover)}
.shop-module button:focus-visible,.shop-dialog button:focus-visible,.shop-dialog input:focus-visible,.shop-dialog select:focus-visible{
 outline:2px solid var(--shop-accent);outline-offset:2px;
}
.shop-module input:focus,.shop-module select:focus,.shop-dialog input:focus,.shop-dialog select:focus{border-color:var(--shop-accent)}
.shop-dialog{border:1px solid var(--shop-border);box-shadow:0 25px 65px #121a2b33}
.shop-dialog-heading button:hover{color:#a86b11}
.shop-item-picker{display:flex;flex-direction:column;gap:6px;min-width:0}
.shop-item-picker>label{font-weight:650;font-size:13px;color:var(--shop-ink)}
.shop-field-required{color:#a86b11}
.shop-dialog .shop-item-search{border:1px solid var(--shop-border);background:var(--shop-surface);color:var(--shop-ink);border-radius:8px;padding:12px;width:100%;min-height:45px}
.shop-dialog .shop-item-search:focus{border-color:var(--shop-accent);box-shadow:0 0 0 3px #e7a54f38;outline:0}
.shop-dialog .shop-item-results{max-height:228px;overflow:auto;border:1px solid var(--shop-border);border-radius:9px;background:var(--shop-surface);padding:4px;overscroll-behavior:contain}
.shop-dialog .shop-item-results[hidden]{display:none}
.shop-item-option{display:flex;flex-direction:column;gap:3px;width:100%;padding:10px 12px;border:0;border-radius:7px;text-align:left;background:transparent;color:var(--shop-ink);cursor:pointer}
.shop-item-option b{font-size:13px;overflow-wrap:anywhere}
.shop-item-option small{font-size:11px;color:var(--shop-muted)}
.shop-item-option:hover,.shop-item-option.is-highlighted{background:var(--shop-accent-soft)}
.shop-item-no-results{padding:15px;color:var(--shop-muted);font-size:13px}
.shop-item-picker #shopCoreItemCount{font-size:11px;color:var(--shop-muted);line-height:1.35}
@media(max-width:540px){
 .shop-dialog{padding:15px;border-radius:12px}
 .shop-dialog .shop-item-results{max-height:min(220px,30vh)}
 .shop-item-option{min-height:44px}
}
/* Follow the actual main Restaurant dark mode, when selected. */
html:not([data-theme="light"]) .shop-module,html:not([data-theme="light"]) .shop-overlay{
 --shop-ink:#e9edf3;--shop-border:#29313d;--shop-surface:#151b24;--shop-muted:#9ba5b5;--shop-accent-soft:#493922;
}
html:not([data-theme="light"]) .shop-module .shop-panel,
html:not([data-theme="light"]) .shop-module .shop-kpis>div,
html:not([data-theme="light"]) .shop-dialog{background:#11161e;color:#e9edf3;border-color:#29313d}
html:not([data-theme="light"]) .shop-module .shop-tools button:not(.shop-primary),
html:not([data-theme="light"]) .shop-module .shop-tabs button:not(.active),
html:not([data-theme="light"]) .shop-module .shop-panel button:not(.shop-primary),
html:not([data-theme="light"]) .shop-dialog button:not(.shop-primary):not(.shop-item-option){background:#151b24;color:#dce2eb;border-color:#29313d}
html:not([data-theme="light"]) .shop-module input,
html:not([data-theme="light"]) .shop-module select,
html:not([data-theme="light"]) .shop-dialog input,
html:not([data-theme="light"]) .shop-dialog select{background:#0d1218;color:#e9edf3;border-color:#29313d}
html:not([data-theme="light"]) .shop-module .shop-table-wrap th,
html:not([data-theme="light"]) .shop-module .shop-table-wrap td{color:#e9edf3;border-color:#29313d}
html:not([data-theme="light"]) .shop-dialog .shop-item-search,
html:not([data-theme="light"]) .shop-dialog .shop-item-results{background:var(--shop-surface);color:var(--shop-ink)}
html:not([data-theme="light"]) .shop-module{color:#e9edf3}
html:not([data-theme="light"]) .shop-module .shop-muted,
html:not([data-theme="light"]) .shop-module .shop-title p{color:#9ba5b5}
