.scan-warning{margin:8px 0;padding:10px 12px;border:1px solid #e7d5ba;border-radius:8px;background:#fcf8f0;color:#59462d;overflow-wrap:anywhere}
.scan-warning>div{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.counter-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(260px,1fr);gap:16px;align-items:start}.counter-search{margin-bottom:15px}.counter-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.counter-product{border:1px solid var(--line);border-radius:10px;background:white;overflow:hidden;text-align:left;padding:0}.counter-product:hover{border-color:#ad7b8a;box-shadow:0 3px 12px #683b4610}.counter-photo{display:grid;place-items:center;width:100%;height:105px;object-fit:cover;background:#eee9e5}.counter-copy{display:block;padding:8px 10px 11px}.counter-copy small,.counter-copy b,.basket-row small,.basket-row b{display:block}.basket-row small{color:var(--soft);font-size:11px}.counter-copy b{margin:3px 0 6px}.counter-copy>span{display:flex;align-items:center;justify-content:space-between;gap:4px;color:var(--wine);font-size:12px;font-weight:600}.counter-copy i{font-size:10px;color:var(--soft);font-weight:400;font-style:normal}.basket{position:sticky;top:12px}.bag-empty{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;padding:34px 5px 40px;color:#8a777e}.bag-empty>.ic{width:31px;height:31px;margin-bottom:3px}.bag-empty b{color:#5d4f54;font-size:13px}.bag-empty span{font-size:11px}.basket-total{display:flex;align-items:center;justify-content:space-between;padding:14px 0;border-top:1px solid var(--line);font-size:12px}.basket-total strong{font:28px var(--num);color:var(--wine)}.checkout{width:100%}.checkout:disabled{opacity:.55;cursor:default}.basket-row{display:flex;gap:8px;align-items:center;border-top:1px solid var(--line);padding:10px 0}.basket-row b{font-size:12px}.stepper{display:flex;align-items:center;gap:5px;margin-left:auto}.stepper button{border:1px solid var(--line);border-radius:5px;padding:1px 4px}.stepper .ic{width:12px}.mobile-bag{display:none}@media(max-width:1150px){.counter-products{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:780px){.counter-grid{grid-template-columns:1fr}.basket{position:static}.counter-products{grid-template-columns:repeat(2,minmax(0,1fr))}.mobile-bag{display:flex;align-items:center;justify-content:space-between;position:fixed;bottom:8px;left:12px;right:12px;padding:12px 16px;z-index:3;border-radius:10px;color:white;background:var(--wine);box-shadow:0 4px 20px #67314838}.counter-grid{padding-bottom:43px}.side{transition:none}.counter-photo{height:120px}}

.counter-product { position:relative; }
.counter-product[data-selected="true"] { border-color:#a66f7d; box-shadow:inset 0 0 0 1px #a66f7d; }
.counter-marker { position:absolute; top:8px; right:8px; display:inline-flex; align-items:center; justify-content:center; min-width:24px; height:24px; border-radius:12px; padding:0 6px; color:#4c333b; background:#fff; box-shadow:0 1px 4px #2c1d2626; font-size:11px; font-weight:600; font-variant-numeric:tabular-nums; }
.counter-marker .ic {width:13px;height:13px;}
.counter-product[data-selected="true"] .counter-marker {background:var(--wine);color:white;padding:0 9px;}
.counter-copy small {color:#74666b;font-variant-numeric:tabular-nums;}
.counter-copy b {margin:3px 0 8px;}
.counter-copy>span {font-size:14px;font-variant-numeric:tabular-nums;}
.counter-copy i {font-size:11px;white-space:nowrap;}
.stepper {gap:2px;flex-shrink:0;}
.stepper button {display:grid;place-items:center;width:30px;height:32px;padding:0;background:#faf8f7;}
.stepper span {min-width:25px;text-align:center;font-variant-numeric:tabular-nums;}
.basket-row>div:not(.stepper) {min-width:0;}
@media (max-width:780px) {
 .stepper button {width:36px;height:36px;}
 .mobile-bag {bottom:max(8px,env(safe-area-inset-bottom));}
 .counter-grid:has(+ #mobile-bag .mobile-bag) {padding-bottom:calc(54px + env(safe-area-inset-bottom));}
}
.basket-item{overflow-wrap:anywhere}
.basket-item .line-total{display:block;margin-top:2px;font-size:12px;font-weight:600;font-variant-numeric:tabular-nums}
.counter-scan-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:15px}
.counter-scan-tools .counter-search{flex:1 1 190px;min-width:0;margin:0}
.counter-scan-indicator{display:inline-flex;align-items:center;gap:7px;padding:6px 10px;border-radius:6px;background:#f4edf0;color:var(--wine);font-size:13px;font-weight:600}
.counter-scan-indicator .ic{width:18px;height:18px}

.counter-day{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 18px;margin:0 0 14px;padding:11px 16px;background:white;border:1px solid var(--line,#e7e1dd);border-radius:10px}
.counter-day dl,.counter-day dl div{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 9px;margin:0}
.counter-day dl{column-gap:24px}
.counter-day dt{color:var(--muted,#74666b);font-size:13px}
.counter-day dd{margin:0;font-size:17px;font-weight:600;font-variant-numeric:tabular-nums}
.counter-day .linkbtn{white-space:nowrap}

.content:has(.counter-workbench) .titlebar { margin-bottom:14px; align-items:center; }
.content:has(.counter-workbench) .titlebar h1 { font-size:clamp(25px,2vw,32px); }
.counter-workbench .counter-scan-tools { gap:10px; margin:0; padding:8px 12px; background:white; border:1px solid var(--line); border-radius:10px; }
.counter-workbench .counter-search { border:0; box-shadow:none; }
.counter-workbench .counter-search:focus-within { outline:2px solid var(--wine); outline-offset:-2px; }
.counter-workbench .counter-scan-indicator { min-height:34px; }
.counter-summary { display:flex; align-items:center; flex-wrap:wrap; gap:4px 20px; margin:6px 0 13px; }
.counter-summary .counter-day { display:flex; justify-content:flex-start; gap:8px 16px; margin:0; padding:0; background:none; border:0; }
.counter-summary .counter-day dl { gap:6px 16px; }
.counter-summary .counter-day dd { font-size:15px; line-height:1.4; }
.counter-summary .restock-link { margin:0 0 0 auto; border:0; padding:2px 8px; }
.counter-workbench .counter-grid .panelhead { margin-bottom:12px; }
.counter-workbench #counter-products>.pager { margin:14px 0 0; }
@media(max-width:780px) {
  .counter-summary { gap:4px 10px; }
  .counter-summary .counter-day { gap:4px 10px; }
  .counter-summary .counter-day dl { column-gap:10px; }
  .counter-summary .restock-link { margin-left:0; }
}

/* The scanner and basket are the primary controls on the sales floor. */
.counter-workbench .counter-scan-tools { background:#f8f8f9; border-color:var(--line); padding:7px 10px; }
.counter-workbench .counter-search { background:#fff; border:1px solid var(--control-edge); border-radius:7px; }
.counter-workbench .counter-scan-indicator { background:transparent; color:#315e4f; }
.counter-product { border-radius:9px; }
.counter-copy { padding:9px 12px 12px; }
.counter-copy small,.counter-copy i { color:var(--soft); }
.counter-copy>span { color:var(--ink); }
.counter-copy b,.counter-copy>span,.counter-marker,.counter-scan-indicator,.basket-item b,
.basket-item .line-total,.bag-empty b,.counter-day dd { font-weight:var(--ui-medium); }
.counter-copy b { line-height:1.4; }
.stepper button { border-color:var(--control-edge); background:#fff; border-radius:6px; }
.stepper button:enabled:hover { background:#f4f2f3; border-color:#b6acb1; }
.stepper button:focus-visible,.counter-product:focus-visible { outline:2px solid var(--wine); outline-offset:2px; }
.counter-product:hover { box-shadow:none; border-color:#95959c; }
.counter-product[data-selected=true] { border-color:var(--wine); box-shadow:inset 0 0 0 1px var(--wine); }
.counter-summary .counter-day dd { font-variant-numeric:tabular-nums; }

.counter-workbench .counter-scan-tools { align-items:center; background:#f0f2ee; border-color:#d7ded7; padding:7px 9px; }
.counter-workbench .counter-scan-indicator { color:#355a49; }
.counter-workbench .counter-products {
  grid-template-columns:repeat(auto-fill,minmax(min(230px,100%),1fr)); gap:9px;
}
.content .counter-products .counter-product {
  display:grid; grid-template-columns:76px minmax(0,1fr); align-items:center;
  gap:12px; padding:6px; border:1px solid var(--line); border-radius:10px; background:white; box-shadow:none;
}
.content .counter-products .counter-product[data-selected=true] { border-color:#915c71; background:#fbf5f7; }
.content .counter-products .counter-product:is(:hover,:focus-visible) { border-color:#915c71; }
.counter-products .counter-photo { height:76px; width:76px; object-fit:cover; border-radius:6px; }
.content .counter-products .counter-copy { padding:0 5px 0 0; margin:0; background:transparent; border:0; min-width:0; }
.counter-products .counter-copy b,.counter-products .counter-copy small { overflow-wrap:anywhere; }
.counter-products .counter-copy b { font-size:14px; margin:2px 0 7px; }
.counter-products .counter-copy>span { flex-wrap:wrap; }
.counter-products .counter-marker { right:auto; left:10px; top:auto; bottom:10px; width:fit-content; min-width:20px; height:20px; }
.counter-workbench .basket { padding:0; border-color:#d9cbd0; }
.counter-workbench .basket .panelhead {
  margin:0; padding:16px 18px; color:white; background:#553341; border-radius:10px 10px 0 0;
}
.basket .panelhead p { color:#e7d7dc; }
.basket .panelhead .pill { color:#fff8fa; background:#784e60; }
.basket>.basket-row,.basket>.scan-warning,.basket>.basket-total { margin-inline:18px; }
.basket>.basket-row { border:0; border-bottom:1px solid var(--line); padding:12px 0; }
.basket>.basket-total { border-top:1px dashed #c9b9c0; padding:16px 0 10px; }
.basket>.basket-row+.basket-total { border:0; }
.basket>.checkout { margin:0 18px 17px; width:calc(100% - 36px); }
@media(min-width:781px) { .counter-workbench .basket { top:74px; } }
@media(hover:hover) and (prefers-reduced-motion:no-preference) {
  .content .counter-products .counter-product:hover { transform:none; }
}
@media(forced-colors:active) {
  .counter-workbench .basket .panelhead { border-bottom:1px solid CanvasText; }
}
.checkout-lines { margin-block:12px 16px; }
.checkout-lines #cart-total { font-size:1.2rem; font-variant-numeric:tabular-nums; }
.checkout-add { margin-top:14px; border-block:1px solid var(--line); }
.checkout-add summary { padding:10px 0; color:var(--wine); cursor:pointer; }
.counter-receipt { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px;
  padding:16px 18px; margin-bottom:12px; background:white; border:1px solid var(--line); border-left:3px solid var(--wine); border-radius:10px; }
.counter-receipt h2 { font-size:1.05rem; margin:0 0 5px; }
.counter-receipt p { margin:6px 0 0; font-variant-numeric:tabular-nums; }
.counter-receipt .stock-quantity { overflow-wrap:anywhere; }
.receipt-actions { display:flex; flex-wrap:wrap; gap:8px; }

/* Store POS: search and shortcuts share a column with the catalog. The ticket stays in view. */
.pos-workbench .counter-grid { grid-template-columns:minmax(0,1.65fr) minmax(320px,1fr); gap:18px; }
.pos-selling,.pos-ticket { min-width:0; }
.pos-selling { display:grid; gap:14px; }
.pos-workbench .pos-search { display:flex; width:100%; box-sizing:border-box; height:46px; background:#fff; border:1px solid #ccc9cd; border-radius:10px; padding:0 14px; gap:10px; }
.pos-search input,.pos-code input { min-width:0; }
.pos-search input { flex:1; }
.pos-shortcuts { display:grid; grid-template-columns:minmax(0,1.35fr) repeat(2,minmax(0,1fr)); gap:10px; }
.pos-code,.pos-tile { border-radius:10px; display:grid; grid-template-columns:20px minmax(0,1fr); align-content:center; align-items:center; gap:5px 9px; padding:12px; min-height:64px; box-sizing:border-box; font-size:14px; }
.pos-code { background:#e8f2ef; color:#235647; border:1px solid #c5dcd3; }
.pos-code input { grid-column:1/-1; width:100%; background:white; border:1px solid #bbcec6; border-radius:5px; font:inherit; font-size:12px; padding:6px 8px; box-sizing:border-box; }
.pos-tile { grid-template-columns:20px minmax(0,1fr) 12px; background:#edf1fa; border:1px solid #d8dfed; color:#354a71; text-decoration:none; }
.pos-tile:last-child { background:#f2eef6; border-color:#dfd7e7; color:#584367; }
.pos-tile .ic:last-child { width:12px; }
.pos-tile:hover { filter:brightness(.97); }
.pos-workbench :is(.pos-tile,.pos-code input):focus-visible,.pos-search:focus-within { outline:2px solid var(--wine); outline-offset:2px; }
.pos-workbench .pos-catalog { padding:16px; }
.pos-workbench .pos-catalog .panelhead { margin:0 0 14px; }
.pos-status { color:#315a4d; font-size:12px; display:inline-flex; align-items:center; gap:6px; }
.pos-status::before { content:""; width:7px; height:7px; border-radius:100%; background:currentColor; }
.pos-status[data-state="editing"],.pos-status[data-state="idle"] { color:#645e69; }
.pos-workbench .counter-products { grid-template-columns:repeat(auto-fill,minmax(min(158px,100%),1fr)); gap:9px; }
.pos-workbench .counter-products .counter-product { display:flex; flex-direction:column; align-items:stretch; gap:0; padding:0; overflow:hidden; }
.pos-workbench .counter-products .counter-photo { width:100%; height:auto; aspect-ratio:1.95; border-radius:0; object-fit:cover; }
.pos-workbench .counter-products .counter-copy { padding:8px 10px 10px; }
.pos-workbench .counter-copy small { font-size:10px; line-height:1.25; }
.pos-workbench .counter-copy b { margin:2px 0 6px; font-size:14px; line-height:1.3; }
.pos-workbench .counter-products .counter-marker { left:auto; bottom:auto; right:6px; top:6px; }
.pos-workbench .pos-ticket { position:sticky; top:74px; }
.pos-workbench .pos-ticket .basket { position:static; border:1px solid #d6d3d7; border-radius:12px; overflow:hidden; }
.pos-workbench .basket .panelhead { background:white; border-bottom:1px solid #e7e4e7; border-radius:0; color:var(--ink); padding:16px 18px; margin:0; }
.pos-workbench .basket .panelhead p { color:var(--soft); }
.pos-workbench .basket .panelhead .pill { background:#f1edef; color:#584551; }
.pos-bag-lines { margin:0 18px; min-height:150px; }
.pos-bag-lines .basket-row { padding:12px 0; border:0; border-bottom:1px solid #eee; }
.pos-bag-lines .bag-empty { padding:34px 0; }
.pos-workbench .basket>.basket-total { border-top:1px solid #e7e4e7; padding:14px 0; }
.pos-workbench .basket-total strong { font:600 25px/1.2 var(--sans,system-ui,sans-serif); font-variant-numeric:tabular-nums; color:var(--ink); }
.pos-workbench .basket>.checkout { justify-content:center; min-height:44px; font-size:15px; }
.pos-workbench .basket>.checkout:disabled { background:#efedef; color:#726d73; border-color:#efedef; opacity:1; }
.pos-workbench .counter-summary { margin:10px 0 0; gap:8px; }
.pos-workbench .counter-day { flex:1 1 100%; justify-content:space-between; }
.pos-workbench .counter-summary .restock-link { margin:0; padding:0; background:transparent; }
@media(min-width:781px) {
 .pos-bag-lines { max-height:max(180px,calc(100dvh - 395px)); overflow:auto; }
}
@media(max-width:980px) and (min-width:781px) {
 .pos-workbench .counter-grid { grid-template-columns:minmax(0,1.35fr) minmax(280px,1fr); gap:12px; }
 .pos-shortcuts { grid-template-columns:1fr 1fr; }
 .pos-code { grid-column:1/-1; grid-template-columns:20px auto minmax(0,1fr); min-height:44px; }
 .pos-code input { grid-column:auto; }
 .pos-tile { min-height:44px; }
}
@media(max-width:780px) {
 .pos-workbench .counter-grid { grid-template-columns:minmax(0,1fr); }
 .pos-workbench .pos-ticket { position:static; }
 .pos-workbench .counter-products { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .pos-shortcuts { grid-template-columns:1fr 1fr; gap:7px; }
 .pos-code { grid-column:1/-1; grid-template-columns:20px auto minmax(0,1fr); min-height:40px; padding:6px 10px; }
 .pos-code input { grid-column:auto; }
 .pos-tile { min-height:42px; padding:8px 10px; }
 .pos-workbench .pos-catalog { padding:12px; }
 .pos-bag-lines { min-height:100px; }
}

#modal:has(.checkout-lines) .checkout-lines .kv { padding:12px 10px; margin-top:8px; border:0; border-radius:7px; background:#f4f2f4; }
#modal:has(.checkout-lines) #cart-total { font-size:20px; }
#modal:has(.checkout-lines) .foot-actions button { min-height:42px; }
#modal:has(.checkout-lines) .foot-actions [type=submit] { min-width:48%; }

/* Hardware setup for the store register. */
.pos-hardware {display:flex; align-items:center; flex-wrap:wrap; justify-content:flex-end; gap:8px 12px;}
.pos-hardware .pos-hardware-button {display:inline-flex; align-items:center; min-height:34px; gap:6px; padding:5px 10px;}
.hid-setup {color:var(--ink);}
.hid-method {min-width:0; padding:0; margin:0; border:0;}
.hid-method legend,.hid-check h3,.hid-mode b {font-size:15px; font-weight:600; margin:0;}
.hid-options {display:flex; flex-wrap:wrap; gap:8px; margin-top:10px;}
.hid-setup .hid-options label {display:inline-flex; align-items:center; gap:6px; margin:0; border:1px solid var(--line); border-radius:8px; padding:9px 12px; cursor:pointer;}
.hid-options label:has(:checked) {border-color:#865669; background:#f7eff2;}
.hid-setup .hid-options input {width:15px; height:15px; margin:0; padding:0; accent-color:var(--wine);}
.hid-method p,.hid-check p,.hid-storage,.hid-mode small {font-size:13px; color:var(--soft); line-height:1.55;}
.hid-method p {margin:10px 0 18px;}
.hid-mode {display:flex; align-items:center; gap:16px; justify-content:space-between; padding-top:16px; border-top:1px solid var(--line);}
.hid-mode label,.hid-mode small {display:block; margin:0;}
.hid-mode small {margin-top:4px;}
.hid-mode input[role=switch] {appearance:none; flex:0 0 42px; width:42px; height:25px; padding:2px; margin:0; border:1px solid #88848a; border-radius:16px; background:#aaa6ac; cursor:pointer; box-sizing:border-box;}
.hid-mode input[role=switch]::before {content:""; display:block; width:19px; height:19px; background:white; border-radius:50%;}
.hid-mode input[role=switch]:checked {background:var(--wine); border-color:var(--wine);}
.hid-mode input[role=switch]:checked::before {transform:translateX(16px);}
.hid-storage {margin:7px 0 16px;}
.hid-check {border-top:1px solid var(--line); padding-top:16px;}
.hid-check p {margin:10px 0 0;}
#hid-sample {display:grid; grid-template-columns:22px 1fr; align-items:center; gap:3px 8px; padding:13px; margin-top:8px; background:#f5f6f5; border:1px dashed #a0afa6; border-radius:8px;}
#hid-sample[aria-disabled=false] {cursor:text;}
#hid-sample[aria-disabled=true] {color:var(--soft); background:#f6f5f6; border-color:#d5d2d4;}
#hid-sample strong {font-size:13px; font-weight:500;}
#hid-result {grid-column:2; color:#24583f; font-variant-numeric:tabular-nums; overflow-wrap:anywhere;}
#hid-result:empty {display:none;}
.hid-setup :focus-visible {outline:2px solid var(--wine); outline-offset:2px;}
@media(forced-colors:active){.hid-mode input[role=switch]{appearance:auto; width:auto; flex:none;}.hid-mode input[role=switch]::before{display:none;}}
@media(max-width:480px){.pos-hardware {gap:3px; flex-direction:column-reverse; align-items:flex-end;}.pos-hardware .pos-status{font-size:10px;}}


/* Keep the items, tender selection and completion actions in the cashier's reading order. */
#modal:has(.checkout-review-grid) { width:min(760px,calc(100% - 24px)); max-width:calc(100% - 24px); }
.checkout-review-store { display:flex; align-items:center; flex-wrap:wrap; gap:8px; padding-bottom:14px; color:var(--ink); }
.checkout-review-store strong,.checkout-lines h3 { font-size:14px; font-weight:600; }
.checkout-review-store .ic { width:16px; height:16px; color:var(--soft); }
.checkout-scan-note { margin:0 0 0 auto; font-size:12px; color:var(--soft); }
.checkout-review-grid { display:grid; grid-template-columns:minmax(0,1.45fr) minmax(200px,1fr); align-items:start; gap:18px; }
.checkout-lines h3 { margin:0 0 8px; }
#modal .checkout-lines .cartline { display:grid; grid-template-columns:40px minmax(0,1fr) 50px 32px; align-items:center; gap:8px; }
.checkout-thumb { display:grid; place-items:center; width:40px; height:40px; object-fit:cover; border-radius:7px; background:#f3f1ef; }
.checkout-lines .cartline-info { overflow-wrap:anywhere; }
.checkout-lines .cartline input { width:100%; min-width:0; box-sizing:border-box; }
#modal .checkout-lines .kv { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:baseline; padding:12px; }
.checkout-payment { padding:15px; background:#f6f5f3; border:1px solid #e6e3df; border-radius:10px; }
#modal .checkout-payment label { margin:0; font-weight:600; }
.checkout-payment select { width:100%; box-sizing:border-box; font-weight:400; }
.checkout-payment #tender-status { display:block; font-size:12px; line-height:1.55; color:var(--soft); }
#modal:has(.checkout-review-grid) .foot-actions { border-top:1px solid var(--line); padding-top:14px; }
.counter-workbench .counter-marker { gap:3px; }
.counter-receipt { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; padding:18px; gap:14px 24px; background:white; border:1px solid #cbdad3; border-inline-start:4px solid #35715a; }
.receipt-heading { display:flex; align-items:center; gap:10px; }
.receipt-check { display:grid; place-items:center; width:34px; height:34px; border-radius:50%; color:#256347; background:#e6f1ea; }
.counter-receipt .receipt-method { margin:3px 0 0; color:var(--soft); font-size:13px; }
.receipt-amounts { display:flex; flex-wrap:wrap; align-items:baseline; gap:8px 20px; margin:0; }
.receipt-amounts dt { color:var(--soft); font-size:12px; }
.receipt-amounts dd { margin:3px 0 0; font-size:16px; font-weight:600; font-variant-numeric:tabular-nums; }
.receipt-original { display:inline-flex; align-items:center; flex-wrap:wrap; gap:5px; width:fit-content; max-width:100%; font-size:13px; }
.receipt-original span { overflow-wrap:anywhere; }
.receipt-original .ic { width:13px; }
.receipt-actions { justify-content:flex-end; }
#modal .counter-receipt { grid-template-columns:minmax(0,1fr); }
@media(max-width:680px) {
 .checkout-review-grid,.counter-receipt { grid-template-columns:minmax(0,1fr); }
 .checkout-review-grid { gap:12px; }
 .receipt-actions { justify-content:flex-start; }
 .checkout-scan-note { margin-left:0; }
}

.sale-ticket-summary { display:flex; flex-wrap:wrap; align-items:center; gap:12px 24px; margin-bottom:12px; padding:14px; border:1px solid var(--line); border-radius:9px; background:#f7f6f4; }
.sale-ticket-summary span,.sale-ticket-summary b,.sale-ticket-summary strong { display:block; }
.sale-ticket-summary span { color:var(--soft); font-size:12px; margin-bottom:3px; }
.sale-ticket-summary strong { font-size:24px; line-height:1.2; font-weight:600; font-variant-numeric:tabular-nums; }
.sale-ticket-summary b { font-size:14px; font-weight:500; }
.sale-ticket-summary .btn { margin-inline-start:auto; }

.counter-cart-tools { display:flex; flex-wrap:wrap; gap:.5rem; padding:.3rem 1.25rem .75rem; }
.counter-cart-tools .btn { flex:1; }
.recent-cart-list { display:grid; gap:.5rem; }
.recent-cart-row { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:.8rem 1rem;
 width:100%; color:inherit; background:var(--surface,#fff); border:1px solid var(--line,#ddd); border-radius:.6rem; text-align:left; cursor:pointer; }
.recent-cart-row b,.recent-cart-row small { display:block; }
.recent-cart-row small { margin-top:.2rem; color:var(--muted,#666); }
.recent-cart-row:hover,.recent-cart-row:focus-visible { background:#f5f1f3; }
