.product-editor{min-width:0}.catalog-group{border:1px solid #c9d5e3;border-radius:10px;padding:12px;margin-block:16px;min-width:0}.catalog-option{border-bottom:1px dashed #b9c7d6;padding-bottom:12px;margin-bottom:12px}.catalog-check{display:flex;align-items:center;gap:8px;min-height:44px}.catalog-check input{width:20px;height:20px;min-height:20px;flex:none}.catalog-photo{border-top:1px solid #ccd6e2;margin-top:20px;padding-top:14px}.catalog-photo-preview{display:block;width:100%;height:180px;object-fit:contain;background:#edf1f6;border-radius:10px;margin-bottom:10px}.internal-modifier{border:1px solid #d7dfe9;border-radius:8px;min-width:0;grid-column:1/-1}.productline:has(.internal-modifier){display:flex;flex-wrap:wrap}.productline .internal-modifier{flex-basis:100%}.product-editor input[type=file]{font-size:.8rem}small{overflow-wrap:anywhere}

.pos-categories{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}
.pos-categories button{min-height:44px}
.pos-categories button[aria-pressed="true"]{background:#183850;color:#fff}
[data-pos-category] h3{margin:18px 0 4px}
[data-pos-catalog] .productline:has(.pos-options){display:grid}
.pos-options{grid-column:1/-1}
.pos-options summary{cursor:pointer;font-weight:600;padding:8px 0}

[data-pos-catalog] [hidden]{display:none!important}
.pos-toolbar{position:sticky;top:0;z-index:6;background:#fff;padding:10px 0;border-bottom:1px solid #d7dfe9}
.pos-toolbar label{margin-top:0}
.pos-categories{flex-wrap:nowrap;overflow-x:auto;padding-bottom:6px}
.pos-categories button{flex:none;white-space:nowrap}
.pos-toolbar [data-pos-review]{margin-top:8px;width:100%;background:#fff0c2}
.pos-selected-line{display:flex;align-items:center;gap:12px;justify-content:space-between;border-bottom:1px solid #d7dfe9;padding:12px 0;flex-wrap:wrap;font-size:.88rem}
.pos-selected-line>div{flex:1;min-width:150px}
.pos-selected-line small{display:block;color:#56657a;margin-top:4px}
#pos-review-title{margin-top:24px;scroll-margin-top:20px}

/* Cashier workspace: a quiet surface and a clear selected-product state. */
.pos-toolbar{padding:14px 0 12px;border-color:#e3e9ef;box-shadow:0 8px 14px -14px #18213180}
.pos-categories{gap:6px;margin-bottom:10px}
.pos-categories button{background:#f2f5f8;color:#566579;border:1px solid transparent;border-radius:12px;font-size:.8rem}
.pos-categories button[aria-pressed=true]{background:#183850;border-color:#183850;color:#fff;box-shadow:0 3px 10px #18385018}
.pos-toolbar label{color:#56657a;font-size:.75rem}
#pos-menu-search{border-radius:12px;background:#f8fafc;border-color:#e0e7ef;min-height:48px}
.pos-toolbar [data-pos-review]{background:#fff3d2;color:#69481b;border:1px solid #eed79b;border-radius:12px;font-size:.85rem;min-height:46px}
[data-pos-category]>h3{font-size:.85rem;color:#65748a;margin:20px 0 12px}
.pos-products{display:grid;gap:10px;align-items:start}
[data-pos-catalog] .productline{display:grid;grid-template-columns:minmax(0,1fr) 76px;align-items:center;gap:12px;padding:16px;margin:0;border:1px solid #e2e8ef;border-radius:14px;background:#fff;min-width:0}
[data-pos-catalog] .productline>label{margin:0;font-size:.9rem;line-height:1.5}
[data-pos-catalog] .productline small{line-height:1.5}
[data-pos-catalog] .productline>input{min-height:50px;text-align:center;font-size:1.1rem;font-weight:750;background:#f7f9fc;border-color:#dce4ed;border-radius:12px}
[data-pos-catalog] .productline.has-selection{background:#fffbf0;border-color:#d4ae53;box-shadow:inset 3px 0 #d4ae53}
[data-pos-catalog] .has-selection>input{background:#fff2cc;border-color:#d4ae53;color:#6c4e15}
.pos-options{margin-top:0;padding-top:8px;border-color:#edf0f4}
.pos-options summary{min-height:44px;font-size:.8rem;color:#4d657e}
.pos-options .internal-modifier{background:#f8fafc;padding:12px;margin:10px 0;border-radius:12px}
.pos-options .internal-modifier label{padding:8px;border-radius:8px;min-height:44px}
.pos-options .internal-modifier label:has(input:checked){background:#e9f0f8;color:#183850}
.pos-selected-line{background:#f8fafc;border:1px solid #e3e9ef;border-radius:12px;padding:14px;margin:10px 0;font-size:.85rem}
.pos-selected-line button{background:#eaf0f6;color:#29445e;border-radius:10px;min-height:44px}
@media(min-width:1100px){.pos-products{grid-template-columns:1fr 1fr}.pos-products .productline:has(.pos-options[open]){grid-column:1/-1}}
@media(max-width:400px){[data-pos-catalog] .productline{padding:12px;grid-template-columns:minmax(0,1fr) 64px;gap:8px}.pos-categories button{padding:10px 12px}}

.catalog-group input[readonly]{background:#f2f4f7;color:#677180}
[data-internal-kind=remove] label:has(input:checked){background:#f8ebe6!important;color:#813e29!important}
[data-internal-kind=extra] label:has(input:checked){background:#fff2cc!important;color:#6c4e15!important}
.pos-extra>summary{cursor:pointer;min-height:44px;padding:10px 0;font-weight:600}
