/* Presentation only. Prices, stock, checkout actions and receipt rules are unchanged. */
.pos-main{--pos-ink:#27334b;--pos-muted:#788498;--pos-line:#e6eaf2;--pos-accent:#5c5de8;color:var(--pos-ink)}
.pos-main .pos-layout{gap:18px}
.pos-main .pos-catalog{padding:18px;background:#f8f9fc;border:1px solid var(--pos-line);border-radius:22px;box-shadow:0 5px 20px #26335006}
.pos-catalog-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 17px;padding:2px 2px 0}
.pos-eyebrow{font-size:10px;font-weight:800;letter-spacing:.13em;color:#8a91a7}
.pos-catalog-heading h2{margin:4px 0 0;font-size:21px;line-height:1.3;letter-spacing:-.035em;color:#25324b;font-weight:800}
.pos-catalog-hint{font-size:11px;color:#8791a3;text-align:right}
.pos-heading-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.pos-main .pos-heading-actions .btn{min-height:36px;padding:8px 10px;border-radius:10px;font-size:10px;box-shadow:none;gap:6px}
.pos-main .pos-heading-actions .btn .icon{width:14px;height:14px}
.pos-main .pos-tools{display:flex;flex-wrap:wrap;gap:8px;padding:0;margin:0 0 10px;border:0;border-radius:0;background:transparent;box-shadow:none}
.pos-main .pos-tools>select{width:160px;flex:0 1 160px}
.pos-main .pos-tools>.search{min-width:180px;flex:1 1 200px;margin:0}
.pos-main .pos-tools .btn,.pos-main .pos-tools .view-toggle,.pos-main .pos-tools select,.pos-main .pos-tools input{min-height:42px;height:42px;border-radius:11px;box-shadow:none;font-size:11px}
.pos-main .pos-tools>.btn{padding:8px 12px}
.pos-main .pos-tools .view-toggle{margin-left:auto;background:white;border:1px solid var(--pos-line);padding:3px;gap:2px}
.pos-main .pos-tools .view-toggle button{width:34px;height:34px;min-height:34px;border-radius:8px;padding:8px;box-shadow:none}
.pos-main .pos-tools .view-toggle button.active{background:var(--pos-accent);color:white}
.pos-main .pos-search{padding:0;margin:0 0 17px;border:1px solid var(--pos-line);border-radius:13px;background:white;box-shadow:0 3px 8px #24345603}
.pos-main .pos-search .search input{height:48px;min-height:48px;border:0;background:transparent;font-size:13px;padding-left:43px}
.pos-main .pos-search .search>.icon{left:15px;top:15px;color:#939db0}
.pos-main .pos-products{padding:1px 3px 10px 1px;scrollbar-gutter:stable}
.pos-main .pos-products .product-grid:not(.list-view){grid-template-columns:repeat(auto-fill,minmax(min(218px,100%),1fr));gap:16px;align-items:stretch;grid-auto-rows:auto}
.pos-main .pos-products .product-grid:not(.list-view) .marketplace-card{height:100%;min-height:0;align-self:stretch;display:flex;flex-direction:column;border:1px solid var(--pos-line);border-radius:17px;background:white;box-shadow:0 3px 10px #29345004;transform:none;transition:border-color .18s,box-shadow .18s}
.pos-main .pos-products .product-grid:not(.list-view) .marketplace-card:hover{transform:none;border-color:#b8baf2;box-shadow:0 9px 22px #595ce710}
.pos-main .pos-products .product-grid:not(.list-view) .marketplace-media{margin:10px 10px 0;border-radius:11px;height:154px;min-height:154px;aspect-ratio:auto;background:#f4f6fa}
.pos-main .pos-products .product-grid:not(.list-view) .marketplace-media .product-image,.pos-main .pos-products .product-grid:not(.list-view) .marketplace-media .product-placeholder{height:154px;min-height:154px;object-fit:contain;border-radius:11px;background:#f4f6fa;transform:none}
.pos-main .pos-products .marketplace-card .stock-badge{top:8px;right:8px;padding:5px 8px;font-size:10px;font-weight:700;border:1px solid #dcebe7;color:#328474;background:#fffffff2;box-shadow:0 2px 5px #2b394507}
.pos-main .pos-products .marketplace-card .stock-badge.low{color:#b77727;background:#fffaf0;border-color:#f3e3c9}
.pos-main .pos-products .marketplace-card .marketplace-promo{left:8px;bottom:8px;padding:5px 8px;border-radius:6px;background:#eef0ff;color:#5c5fd7;border:1px solid #dde0ff;font-size:9px;letter-spacing:.05em;font-weight:800}
.pos-main .pos-products .product-grid:not(.list-view) .marketplace-content{display:flex;flex-direction:column;flex:1;min-height:0;padding:13px}
.pos-main .pos-products .marketplace-card .product-brand-row{margin:0 0 6px;gap:8px;min-height:25px}
.pos-main .pos-products .marketplace-card .product-brand{font-size:9px;font-weight:750;background:#f3f4f9;border:0;border-radius:5px;padding:4px 6px;color:#737a91;max-width:calc(100% - 65px);letter-spacing:.025em}
.pos-main .pos-products .marketplace-card .spec-btn{font-size:10px;min-height:25px;border:0;background:transparent;color:#8b93a4;padding:4px;box-shadow:none}
.pos-main .pos-products .product-grid:not(.list-view) .marketplace-card h4{font-size:14px;font-weight:750;line-height:1.5;height:42px;min-height:42px;max-height:42px;margin:0 0 15px;color:#2b3449;letter-spacing:-.02em}
:is(.pos-main,.variant-sale-picker) .pos-sale-unit-list{border:0;padding:0;margin-top:auto!important;gap:8px}
:is(.pos-main,.variant-sale-picker) .pos-sale-unit-list>.sale-unit-option{padding:10px;border:1px solid #e4e8f2;background:#fafbff;border-radius:10px;color:#4b5870;transition:background .15s,border-color .15s}
:is(.pos-main,.variant-sale-picker) .pos-sale-unit-list>.sale-unit-option:hover{background:#f1f2ff;border-color:#bbbef3}
:is(.pos-main,.variant-sale-picker) .sale-unit-option .sale-unit-main{display:grid;grid-template-columns:minmax(0,1fr) auto 23px;gap:7px;align-items:center}
:is(.pos-main,.variant-sale-picker) .sale-unit-label{display:flex;flex-direction:column;gap:2px;min-width:0}
:is(.pos-main,.variant-sale-picker) .sale-unit-label>b{font-size:11px;font-weight:650;line-height:1.3;overflow-wrap:anywhere}
:is(.pos-main,.variant-sale-picker) .sale-unit-label>small{font-size:10px;line-height:1.3;color:#8d96a7}
:is(.pos-main,.variant-sale-picker) .sale-unit-main>strong{font-size:13px;letter-spacing:-.025em;color:#3c4580;font-weight:800;font-variant-numeric:tabular-nums;white-space:nowrap}
:is(.pos-main,.variant-sale-picker) .sale-unit-add{display:grid;place-items:center;height:23px;width:23px;border-radius:7px;background:#eeefff;color:#6665db;font-size:18px;font-weight:500}
:is(.pos-main,.variant-sale-picker) .sale-unit-option .sale-unit-wholesale{display:flex;flex-wrap:wrap;justify-content:space-between;gap:5px 8px;align-items:center;border-top:1px solid #e8ecf3;padding-top:8px;margin-top:8px;font-size:10px;color:#4a8473;line-height:1.6}
:is(.pos-main,.variant-sale-picker) .sale-unit-wholesale b{font-weight:750;color:#30745f}
:is(.pos-main,.variant-sale-picker) .sale-unit-wholesale em{font-style:normal;background:#eef7f3;color:#3c7b66;padding:2px 6px;border-radius:5px;font-size:9px;font-weight:700}
.pos-main .pos-catalog .pagination{border-top:1px solid var(--pos-line);padding:12px 0 0;margin:5px 0 0;min-height:42px;background:transparent;font-size:10px}
.pos-main .cart{border:1px solid var(--pos-line);border-radius:22px;box-shadow:0 5px 20px #25304507;background:white}
.pos-main .cart-header{padding:17px 18px;background:#fff;color:#28344c;border-bottom:1px solid var(--pos-line);min-height:78px;flex-shrink:0;font-size:15px}
.pos-main .cart-header>.icon{background:#eeefff;color:#6364db;box-shadow:none;padding:10px;border-radius:12px;width:19px;height:19px}
.cart-heading-copy{display:flex;flex-direction:column;gap:5px;line-height:1.25}
.cart-heading-copy small{font-size:10px;font-weight:500;color:#8a93a6}
.pos-main .cart-header>.badge{background:#f2f3f9;color:#707990;font-size:10px;font-weight:650;padding:6px 9px}
.pos-main .cart-controls{background:#fff;border-bottom:1px solid #edf0f5;padding:10px 14px;align-items:center;gap:6px;flex-shrink:0}
.pos-main .cart-controls .auto-price-note{font-size:10px;color:#6b7394;background:transparent;border:0;padding:0;box-shadow:none;margin-right:auto;line-height:1.4}
.pos-main .cart-controls .auto-price-note:before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;background:#5fa991;margin-right:6px}
.pos-main .cart-controls button{min-height:30px;border:1px solid var(--pos-line);padding:6px 8px;border-radius:8px;background:white;color:#8b92a5;box-shadow:none}
.pos-main .cart-items{background:#fafbfe;padding:13px;scrollbar-width:thin;min-height:130px}
.pos-main .cart-row{padding:14px;margin-bottom:10px;border:1px solid var(--pos-line);border-radius:14px;box-shadow:0 3px 8px #27314d03;background:white}
.pos-main .cart-row-main{grid-template-columns:50px minmax(0,1fr);gap:11px}
.pos-main .cart-product-thumb{width:50px;height:50px;border-radius:10px;box-shadow:none}
.pos-main .cart-row-title strong{font-size:13px;font-weight:750;line-height:1.5;color:#303b51}
.pos-main .cart-row-title button{width:24px;height:24px;min-width:24px;min-height:24px;color:#a4adbc;border-radius:6px}
.pos-main .cart-row-info>small{color:#949bac;font-size:10px;overflow-wrap:anywhere;margin-top:3px}
.pos-main .cart-row .price-tier{background:transparent;border:0;padding:0;margin-top:8px;border-radius:0;color:#67738a;display:block}
.pos-main .cart-price-parts{font-size:11px;line-height:1.6;gap:5px}
.pos-main .cart-price-parts>span{font-variant-numeric:tabular-nums}
.pos-main .cart-price-parts>small{font-size:10px;background:#fff8eb;color:#9a7c48;padding:5px 7px;border-radius:6px}
.pos-main .gross-active{background:#edf8f2;color:#418569;border:0;font-weight:700;font-size:9px}
.pos-main details.cart-unit-composer{margin-top:12px;padding:0;border:1px solid #e6e9f2;border-radius:10px;background:#fafbff;box-shadow:none}
.pos-main details.cart-unit-composer>summary{padding:10px 12px;display:flex;align-items:center;justify-content:space-between;cursor:pointer;list-style:none;border-radius:10px}
.pos-main details.cart-unit-composer>summary::-webkit-details-marker{display:none}
.pos-main .cart-unit-heading>span:first-child{display:flex;flex-direction:column;gap:3px}
.pos-main .cart-unit-heading strong{font-size:11px;font-weight:700;color:#626b8f}
.pos-main .cart-unit-heading small{font-size:10px;color:#919ab0;margin:0}
.pos-main .unit-disclosure{color:#8f96b3;transition:transform .15s;font-size:17px}
.pos-main details[open] .unit-disclosure{transform:rotate(180deg)}
.pos-main .cart-unit-parts{margin:0;padding:0 10px 10px;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}
.pos-main .cart-wholesale-composer .cart-unit-parts label{display:flex;flex-direction:column;align-self:stretch;padding:9px;border-radius:8px;margin:0;gap:4px}
.pos-main .cart-unit-parts label>span{margin:0;font-size:10px}
.pos-main .cart-unit-parts input{height:38px;min-height:38px;border-radius:7px;font-size:14px}
.pos-main .cart-unit-parts button{background:#6765df;color:white;border:0;border-radius:8px;box-shadow:none}
.pos-main .cart-unit-equation{margin:0;padding:0 12px 10px;font-size:10px;color:#929bad}
.pos-main .cart-row-bottom{margin-top:13px;padding-top:11px;border-top:1px solid #f0f2f6;gap:10px}
.pos-main .qty{border:1px solid var(--pos-line);background:#f8f9fc;border-radius:8px;box-shadow:none;overflow:hidden}
.pos-main .qty button{background:transparent;min-width:28px;min-height:32px;font-size:16px;color:#8f97b6;padding:4px 7px}
.pos-main .qty input{width:46px;min-height:32px;font-size:13px;color:#4c5771;background:#fff}
.pos-main .cart-row-bottom .money{font-size:16px;letter-spacing:-.025em;color:#4d52b6;font-weight:800}
.pos-main .cart-bottom{padding:13px 15px 15px;background:#fff;border-top:1px solid var(--pos-line);flex-shrink:0}
.pos-main .customer-box{background:#fbfcfe;border:1px solid var(--pos-line);border-radius:10px;padding:10px;box-shadow:none;margin-bottom:8px}
.pos-main .customer-box-head{margin-bottom:6px}
.pos-main .customer-box-label,.pos-main .customer-mode{font-size:9px;color:#9098ab}
.pos-main .customer-mode{background:#f0f2f7;border:0}
.pos-main .customer-summary-copy strong{font-size:11px;color:#56617a}
.pos-main .customer-summary-copy small{font-size:9px;color:#929caf}
.pos-main .customer-select-button,.pos-main .customer-quick-add{height:30px;min-height:30px;border-radius:7px;font-size:10px;box-shadow:none}
.pos-main .customer-quick-add{font-size:0;width:30px;gap:0;padding:6px;background:#6966df}
.pos-main .cart-details{margin:6px 0 10px;font-size:10px;color:#8d95a7}
.pos-main .bill{background:#f4f4ff;border:1px solid #e8e7fa;border-radius:12px;padding:12px;min-height:70px;box-shadow:none}
.pos-main .bill label{font-size:9px;color:#8a88a5;letter-spacing:.045em}
.pos-main .bill small{color:#9798ad;font-size:9px;margin-top:4px}
.pos-main .bill strong{font-size:28px;color:#5755cf;font-weight:800;letter-spacing:-.04em;overflow-wrap:anywhere}
.pos-main .payment-row{gap:8px}
.pos-main .payment-row input,.pos-main .payment-row select{height:40px;min-height:40px;border-radius:9px;border-color:var(--pos-line);background:#fff;font-size:11px;box-shadow:none}
.pos-main .change-row{font-size:10px;min-height:32px;margin:4px 0 8px;color:#8b94a8}
.pos-main .change-row button{min-height:28px;background:#f2f3ff;border:0;color:#7472c6;font-size:10px;box-shadow:none}
.pos-main .pay-btn{height:46px;min-height:46px;border-radius:11px;background:#605fe3;border:1px solid #605fe3;font-size:12px;font-weight:700;box-shadow:0 5px 13px #6561df20;transition:background .15s}
.pos-main .pay-btn:hover:not(:disabled){background:#5251d3}
.pos-main :is(button,input,select,summary):focus-visible{outline:3px solid #bfc5ff;outline-offset:2px}
.pos-main .pos-products .pos-product-grid.list-view .marketplace-content{display:grid;grid-template-columns:minmax(0,1fr) minmax(195px,.85fr);grid-template-rows:auto 1fr;gap:0 18px;padding:14px;min-height:145px}
.pos-main .pos-products .pos-product-grid.list-view .pos-sale-unit-list{grid-column:2;grid-row:1/3;align-self:center;width:100%;margin:0!important}
.pos-main .pos-products .pos-product-grid.list-view .marketplace-card h4{grid-column:1;grid-row:2;font-size:13px;line-height:1.5;max-height:40px}
.pos-main .pos-products .pos-product-grid.list-view .marketplace-price-panel{grid-column:2;grid-row:1/3}
.pos-main .pos-products .pos-product-grid.list-view .pos-unit-variant-note{grid-column:1;grid-row:3;font-size:10px}
.pos-main .pos-products .pos-product-grid.list-view .marketplace-media .marketplace-promo{background:#eef0ff;color:#5c5fd7;border:1px solid #dde0ff;box-shadow:none;left:8px;bottom:8px;border-radius:6px;padding:5px 8px;font-size:9px}
.pos-main .pos-products .pos-product-grid.list-view .marketplace-media .product-image{object-fit:contain}
@media(min-width:1600px){.pos-main .pos-layout{grid-template-columns:minmax(0,1fr) 420px}.pos-main .pos-products .product-grid:not(.list-view){grid-template-columns:repeat(auto-fill,minmax(min(220px,100%),1fr))}}
@media(min-width:761px) and (max-width:1250px){.pos-main .pos-layout{grid-template-columns:minmax(0,1fr) 350px;gap:12px}.pos-main .pos-catalog{padding:12px}.pos-main .pos-catalog-hint{display:none}.pos-main .pos-products .product-grid:not(.list-view){grid-template-columns:repeat(auto-fill,minmax(min(190px,100%),1fr));gap:12px}:is(.pos-main,.variant-sale-picker) .sale-unit-main>strong{font-size:12px}:is(.pos-main,.variant-sale-picker) .sale-unit-option .sale-unit-main{gap:5px;grid-template-columns:minmax(0,1fr) auto 20px}:is(.pos-main,.variant-sale-picker) .sale-unit-add{width:20px;height:22px}.pos-main .cart-header{padding:14px}.pos-main .cart-bottom{padding:11px}.pos-main .bill strong{font-size:25px}.pos-main .pos-products .pos-product-grid.list-view .marketplace-content{display:flex;flex-direction:column;align-items:stretch;gap:8px}.pos-main .pos-products .pos-product-grid.list-view .marketplace-card h4{margin:0}}
@media(max-width:760px){.pos-main .pos-catalog{padding:12px;border-radius:16px}.pos-catalog-heading{margin-bottom:14px}.pos-catalog-heading h2{font-size:19px}.pos-catalog-hint{display:none}.pos-main .pos-tools{gap:7px}.pos-main .pos-tools>select{width:140px;flex:1 1 140px}.pos-main .pos-tools>.search{min-width:140px;flex:1 1 160px}.pos-main .pos-tools>.btn{padding:8px 10px}.pos-main .pos-search .search input{font-size:12px}.pos-main .pos-products .product-grid:not(.list-view){grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.pos-main .pos-products .product-grid:not(.list-view) .marketplace-media,.pos-main .pos-products .product-grid:not(.list-view) .marketplace-media .product-image,.pos-main .pos-products .product-grid:not(.list-view) .marketplace-media .product-placeholder{height:124px;min-height:124px}.pos-main .pos-products .product-grid:not(.list-view) .marketplace-content{padding:10px}.pos-main .pos-products .product-grid:not(.list-view) .marketplace-card h4{font-size:12px;height:36px;min-height:36px;max-height:36px}:is(.pos-main,.variant-sale-picker) .pos-sale-unit-list>.sale-unit-option{padding:8px}:is(.pos-main,.variant-sale-picker) .sale-unit-main>strong{font-size:12px}:is(.pos-main,.variant-sale-picker) .sale-unit-option .sale-unit-main{grid-template-columns:1fr auto;gap:5px}:is(.pos-main,.variant-sale-picker) .sale-unit-add{display:none}:is(.pos-main,.variant-sale-picker) .sale-unit-label>b{font-size:10px}:is(.pos-main,.variant-sale-picker) .sale-unit-wholesale em{font-size:9px}.pos-main .cart{border-radius:16px;margin-top:0}.pos-main .cart-items{max-height:480px}.pos-main .cart-header{min-height:74px}.pos-main .cart-unit-parts input{min-height:44px;font-size:16px}.pos-main .payment-row input,.pos-main .payment-row select{height:44px;font-size:13px}.pos-main .pay-btn{height:48px;font-size:13px}.pos-main .pos-products .pos-product-grid.list-view .marketplace-content{display:flex;flex-direction:column;align-items:stretch;gap:8px}.pos-main .pos-products .pos-product-grid.list-view .marketplace-card h4{margin:0}.pos-main .pos-products .pos-product-grid.list-view .marketplace-card{grid-template-columns:85px minmax(0,1fr)}.pos-main .pos-products .pos-product-grid.list-view .marketplace-media{width:85px}.pos-main .pos-products .pos-product-grid.list-view .sale-unit-add{display:grid}.pos-main .pos-products .pos-product-grid.list-view .sale-unit-main{grid-template-columns:1fr auto 23px}}
@media(max-width:460px){.pos-main .pos-products .product-grid:not(.list-view){grid-template-columns:1fr}.pos-main .pos-products .product-grid:not(.list-view) .marketplace-card{display:grid;grid-template-columns:90px minmax(0,1fr);align-items:start}.pos-main .pos-products .product-grid:not(.list-view) .marketplace-media{width:80px;margin:10px 0 10px 10px;height:112px;min-height:112px}.pos-main .pos-products .product-grid:not(.list-view) .marketplace-media .product-image,.pos-main .pos-products .product-grid:not(.list-view) .marketplace-media .product-placeholder{height:112px;min-height:112px}.pos-main .pos-products .marketplace-card .stock-badge{font-size:8px;padding:3px 4px;right:4px;top:4px}.pos-main .pos-products .marketplace-card .marketplace-promo{font-size:7px;left:4px;bottom:4px;padding:3px 5px}.pos-main .pos-products .product-grid:not(.list-view) .marketplace-card h4{margin-bottom:10px}.pos-main .pos-products .marketplace-card .product-brand{max-width:calc(100% - 53px);font-size:8px}.pos-main .pos-products .marketplace-card .spec-btn{font-size:9px}.pos-main .pos-catalog .pagination{flex-wrap:wrap;gap:8px}.pos-main .pos-tools .search input{font-size:10px}}
@media(prefers-reduced-motion:reduce){.pos-main *{transition:none!important;scroll-behavior:auto!important}}
@media(max-width:1250px){.pos-main .pos-catalog-heading{flex-wrap:wrap;gap:10px}.pos-heading-actions{justify-content:flex-start}.pos-main .pos-heading-actions .btn{min-height:34px}}
