/* Mercadinho checkout: textual cart first, compact operational cards second. */
[data-theme="mercadinho"] .market-pos{background:#f3f6f8}
[data-theme="mercadinho"] .market-pos-header{background:#071724}
[data-theme="mercadinho"] .market-pos-header nav button.active{background:#087c40;color:#fff}
[data-theme="mercadinho"] .market-pos-body{grid-template-areas:"sale shortcuts";grid-template-columns:minmax(0,1.52fr) minmax(21rem,1fr);background:#eef2f5;gap:.6rem}
[data-theme="mercadinho"] .market-sale,[data-theme="mercadinho"] .market-shortcuts{min-width:0;border:1px solid #d8e0e8;border-radius:.8rem;background:#fff;box-shadow:0 3px 12px #15273a0a}
[data-theme="mercadinho"] .market-shortcuts{overflow-y:auto}
[data-theme="mercadinho"] .market-cart{flex:1;min-height:5rem}
[data-theme="mercadinho"] .market-cart-head,[data-theme="mercadinho"] .market-cart article{grid-template-columns:minmax(0,1.9fr) 7.2rem 5.6rem 6rem 2rem}
[data-theme="mercadinho"] .market-values .market-total{display:flex;align-items:center;justify-content:space-between;gap:.6rem;padding:.45rem .75rem;border-radius:.55rem;background:#e3f4eb;color:#084a32}
[data-theme="mercadinho"] .market-values .market-total b{font-size:1.65rem;color:#087644}
[data-theme="mercadinho"] .market-payment output{background:#eef2f6;color:#344458}
[data-theme="mercadinho"] .market-checkout-actions{display:grid;grid-template-columns:minmax(12rem,1.3fr) minmax(8rem,.85fr) minmax(10rem,1fr) minmax(7rem,.75fr);gap:.38rem;align-items:end}
[data-theme="mercadinho"] .market-checkout-actions>button{min-height:2.6rem;padding:.35rem .45rem;border-radius:.5rem;font-size:.77rem;font-weight:800}
[data-theme="mercadinho"] .market-discount-controls{display:grid;grid-template-columns:3.8rem minmax(4rem,1fr) auto;gap:.25rem;align-items:end;min-width:0}
[data-theme="mercadinho"] .market-discount-controls label{display:grid;font-size:.68rem;font-weight:700;gap:.15rem}
[data-theme="mercadinho"] .market-discount-controls select,[data-theme="mercadinho"] .market-discount-controls input,[data-theme="mercadinho"] .market-discount-controls button{height:2.55rem;min-width:0;border-radius:.45rem}
[data-theme="mercadinho"] .market-discount-controls button{padding:.25rem .4rem;font-size:.72rem;background:#dcf3e5;border:1px solid #93d5aa;color:#095431}
[data-theme="mercadinho"] #pos-mixed-toggle{background:#e7f2ff;border:1px solid #a4c9ed;color:#124c80}
[data-theme="mercadinho"] .market-mixed-summary{display:flex;flex-wrap:wrap;gap:.35rem .75rem;padding:.45rem .6rem;background:#f2f7fc;border:1px solid #c7dbea;border-radius:.5rem;font-size:.75rem}
[data-theme="mercadinho"] .market-mixed-summary>div{display:flex;justify-content:space-between;align-items:center;width:100%;padding:.2rem .45rem;background:#fff;border-radius:.35rem}
[data-theme="mercadinho"] .market-mixed-summary>div button{border:0;background:#ffe3e3;color:#ad1e2d}
[data-theme="mercadinho"] .market-mixed-summary>#pos-add-payment{border:1px solid #88b7da;background:#e6f4ff;color:#13466e;border-radius:.4rem}
[data-theme="mercadinho"] .market-operation-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem;align-content:start;min-width:0}
[data-theme="mercadinho"] .market-operation-card{display:flex;flex-direction:column;align-items:stretch;justify-content:space-between;min-width:0;min-height:6rem;padding:.55rem;border:1px solid #d8e5ed;border-radius:.8rem;box-shadow:0 2px 9px #192a4008}
[data-theme="mercadinho"] .market-operation-card h3,[data-theme="mercadinho"] .market-operation-card>div>span{margin:0;font-size:.92rem;font-weight:850;color:#14223a}
[data-theme="mercadinho"] .market-operation-card strong{font-size:.86rem;color:#245547}
[data-theme="mercadinho"] .market-operation-card button{min-height:2.25rem;padding:.3rem .5rem;border:1px solid #a7c8db;border-radius:.45rem;background:#ffffffa8;color:#103d71;font-size:.76rem;font-weight:800}
[data-theme="mercadinho"] .market-operation-card.scale{background:#e1f0ff;border-color:#c5e1fb}
[data-theme="mercadinho"] .market-operation-card.scale>div{display:grid;gap:.1rem}
[data-theme="mercadinho"] .market-operation-card.scale [data-scale-live-weight]{font-size:1.8rem;color:#102d51}
[data-theme="mercadinho"] .market-operation-card.scale [data-scale-state]{font-size:.7rem;color:#29557b}
[data-theme="mercadinho"] .market-operation-card.printer,[data-theme="mercadinho"] .market-operation-card.calendar{background:#eeeaff;border-color:#dcd5f5}
[data-theme="mercadinho"] .market-operation-card.last-sale{background:#fff5df;border-color:#f3e2bc}
[data-theme="mercadinho"] .market-operation-card.cash{background:#e5f4fb;border-color:#cde6f2}
[data-theme="mercadinho"] .market-operation-card.operator{background:#fbe9ed;border-color:#f2d5dc}
[data-theme="mercadinho"] .market-operation-card.time{background:#fbeae4;border-color:#f0d9d0}
[data-theme="mercadinho"] .market-operation-card .market-print-option{height:auto;display:flex;align-items:center;gap:.35rem;padding:0;font-size:.7rem}
[data-theme="mercadinho"] .market-operation-card .market-print-option input{width:1rem;height:1rem}
[data-theme="mercadinho"] .market-operation-card.operator,[data-theme="mercadinho"] .market-operation-card.calendar,[data-theme="mercadinho"] .market-operation-card.time{align-items:center;justify-content:center;text-align:center;gap:.25rem}
[data-theme="mercadinho"] .market-operation-card.operator strong,[data-theme="mercadinho"] .market-operation-card.calendar strong,[data-theme="mercadinho"] .market-operation-card.time strong{display:block;width:100%;font-size:clamp(1.5rem,2.8vw,2.55rem);line-height:1.1;overflow-wrap:anywhere;word-break:normal;text-align:center}
@media(max-width:1100px){[data-theme="mercadinho"] .market-checkout-actions{grid-template-columns:repeat(2,minmax(0,1fr))}[data-theme="mercadinho"] .market-discount-controls{grid-column:1/-1}}
@media(max-width:900px){[data-theme="mercadinho"] .market-pos-body{grid-template-areas:"shortcuts" "sale";grid-template-columns:minmax(0,1fr)}[data-theme="mercadinho"] .market-shortcuts{overflow:visible}[data-theme="mercadinho"] .market-operation-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){[data-theme="mercadinho"] .market-operation-cards{grid-template-columns:1fr 1fr}[data-theme="mercadinho"] .market-checkout-actions{grid-template-columns:1fr 1fr}[data-theme="mercadinho"] .market-discount-controls{grid-column:1/-1}}
