/* Optional device preference; receipt tracks retain their existing width. */
@media (min-width: 1200px) {
  .sales-workspace.counter-workspace:has(.has-compact-cards) { grid-template-columns: repeat(6, minmax(0, 176px)) repeat(2, minmax(0, 240px)); --counter-product-columns: 6; }
  .sales-workspace.counter-workspace.is-full-width:has(.has-compact-cards) { grid-template-columns: repeat(8, minmax(0, 192px)); }
}
@media (min-width: 900px) and (max-width: 1199px) {
  .pos-shell:not(.is-tablet) .sales-workspace.counter-workspace:has(.has-compact-cards) { grid-template-columns: repeat(4, minmax(0, 1fr)) repeat(2, minmax(0, 160px)); --counter-product-columns: 4; }
  .pos-shell:not(.is-tablet) .sales-workspace.counter-workspace.is-full-width:has(.has-compact-cards) { grid-template-columns: repeat(6, minmax(0, 192px)); }
}
.counter-workspace .has-compact-cards .product-grid .product-card { grid-template-rows: minmax(0, 1fr) 36px 20px; padding: 8px 10px; row-gap: 3px; }
.counter-workspace .has-compact-cards .product-grid .product-name { height: 36px; font-size: var(--text-base); line-height: 18px; }
.counter-workspace .has-compact-cards .product-grid .product-price { font-size: var(--text-base); line-height: 20px; }
.counter-workspace .has-compact-cards .product-grid.is-without-images .product-card { grid-template-rows: minmax(0, 1fr) 20px; }
.counter-workspace .has-compact-cards .product-grid.is-without-images .product-name { height: auto; max-height: 54px; }
.counter-workspace:has(.has-compact-cards), .pos-shell.is-compact .counter-workspace:has(.has-compact-cards) { --sales-compact-card-height: 136px; }
.pos-shell.is-compact .counter-workspace .has-compact-cards .product-grid .product-card { padding: 8px 10px; }
.pos-shell.is-compact .counter-workspace .has-compact-cards .product-grid .product-name { font-size: var(--text-base); }
.pos-shell.is-compact .counter-workspace .has-compact-cards .product-grid .product-price { font-size: var(--text-base); line-height: 20px; }
