/* GAINVO v4.6.8 — focused Record Sale and Sales Mode */

.pos-counter-page-v468 .sidebar,
.pos-counter-page-v468 .sidebar-backdrop,
.pos-counter-page-v468 .topbar,
.pos-counter-page-v468 .mobile-nav{display:none!important}
.pos-counter-page-v468 .app-main{margin-left:0}
.pos-counter-page-v468 .content{max-width:none;padding:12px 16px 24px}
.pos-counter-page-v468 .pos-session-bar{position:sticky;z-index:28;top:0;min-height:48px;margin:0 0 10px;padding:7px 10px;border-color:#dce6ee;border-radius:13px;box-shadow:0 7px 22px rgba(18,32,51,.06)}
.pos-session-status{display:flex;align-items:center;gap:7px}
.pos-session-status>span,.pos-register-state{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:6px 10px;border-radius:999px;background:#edf7f4;color:#087f5b;font-size:10px;font-weight:850;white-space:nowrap}
.pos-session-status>span.secondary{background:#eef3f9;color:#536c84}
.pos-register-state{background:#e8f7f1;color:#08785c}
.pos-register-state.needs-attention{background:#fff4d9;color:#8a5b08}
.pos-register-state .icon{width:14px}

.pos-counter-page-v468 .pos-shell{grid-template-columns:minmax(0,1fr) minmax(370px,430px);gap:12px}
.pos-counter-page-v468 .pos-catalog,.pos-counter-page-v468 .pos-cart-card{border-color:#dce5ee;box-shadow:0 8px 28px rgba(18,32,51,.045)}
.pos-counter-page-v468 .pos-heading{align-items:center;margin-bottom:12px}
.pos-counter-page-v468 .pos-heading h2{margin:2px 0 1px;font-size:19px}
.pos-counter-page-v468 .pos-heading p{margin:0;color:var(--muted);font-size:10px}
.pos-counter-page-v468 .pos-heading-actions{align-items:end}
.pos-counter-page-v468 .pos-heading-actions .btn{min-height:46px;padding:9px 16px}
.pos-counter-page-v468 .pos-search-row{grid-template-columns:minmax(0,1fr) auto;margin-bottom:10px}
.pos-counter-page-v468 .pos-search{height:50px;margin:0;border-width:2px;border-color:#cddbe8;border-radius:14px;box-shadow:0 2px 8px rgba(18,32,51,.025)}
.pos-counter-page-v468 .pos-search:focus-within{border-color:var(--brand);box-shadow:0 0 0 4px color-mix(in srgb,var(--brand) 13%,transparent)}
.pos-counter-page-v468 .pos-search input{font-size:14px;font-weight:650}
.pos-counter-page-v468 .scanner-ready{padding-right:3px;font-size:9px}
.pos-counter-page-v468 .pos-filter-row{margin:0 0 9px}
.pos-counter-page-v468 .pos-filter-row button,.pos-counter-page-v468 .pos-category-row button{min-height:38px}

.pos-counter-page-v468 .pos-product-grid{grid-template-columns:repeat(auto-fill,minmax(176px,1fr));gap:9px;align-content:start}
.pos-counter-page-v468 .pos-product{min-height:148px;padding:12px;grid-template-columns:52px minmax(0,1fr);gap:10px;border-radius:14px}
.pos-counter-page-v468 .pos-product-visual{width:52px;height:52px;border-radius:12px}
.pos-counter-page-v468 .pos-product-copy>strong{padding-right:34px;font-size:13px;line-height:1.25;white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.pos-counter-page-v468 .pos-product-description{min-height:0!important;margin-top:3px!important;font-size:9px!important;-webkit-line-clamp:1!important}
.pos-counter-page-v468 .pos-unit-badge{margin-top:6px;padding:4px 6px}
.pos-counter-page-v468 .pos-unit-badge.is-base-unit{display:none}
.pos-counter-page-v468 .pos-product-price{margin-top:7px}
.pos-counter-page-v468 .pos-product-price>b{font-size:14px}
.pos-counter-page-v468 .pos-product-price>small{font-size:8px}
.pos-counter-page-v468 .pos-stock{left:12px;bottom:9px;max-width:calc(100% - 24px);font-size:8px}
.pos-counter-page-v468 .pos-card-cart{right:7px;top:7px}

.pos-counter-page-v468 .pos-cart{top:12px}
.pos-counter-page-v468 .pos-cart-card{padding:15px}
.pos-counter-page-v468 .pos-cart-head{align-items:center}
.pos-counter-page-v468 .pos-cart-head h2{margin:2px 0 10px}
.pos-counter-page-v468 .pos-cart-items{max-height:260px}
.pos-counter-page-v468 .pos-empty{min-height:190px;padding:18px;border:1px dashed #d8e2eb;border-radius:14px;background:#fbfcfd}
.pos-counter-page-v468 .pos-empty .icon{width:40px}
.pos-counter-page-v468 .pos-empty strong{font-size:13px}
.pos-checkout[hidden]{display:none!important}
.pos-checkout{min-width:0}
.pos-counter-page-v468 .pos-buyer-source{margin:10px 0}
.pos-counter-page-v468 .pos-buyer-summary{min-height:52px;padding:8px 10px}
.pos-counter-page-v468 .pos-adjustments{padding:9px 1px}
.pos-counter-page-v468 .pos-adjustments summary,.pos-more-options summary{min-height:34px}
.pos-conditional-total.is-zero{display:none}
.pos-counter-page-v468 .pos-totals{padding:9px 0}
.pos-counter-page-v468 .pos-totals p{margin:4px 0}
.pos-counter-page-v468 .pos-totals p.grand{margin-top:7px;padding-top:8px;font-size:19px}
.pos-counter-page-v468 .pos-payment{gap:7px}
.pos-counter-page-v468 .pos-payment label{font-size:10px}
.pos-counter-page-v468 .pos-payment select,.pos-counter-page-v468 .pos-payment input{min-height:44px}
.pos-counter-page-v468 .pos-change{padding:7px 10px}
.pos-counter-page-v468 .receipt-choice{margin:9px 0}
.pos-counter-page-v468 .receipt-choice>span{padding:9px 10px}
.pos-more-options{margin:6px 0;border-top:1px solid var(--line)}
.pos-more-options summary{display:flex;align-items:center;justify-content:space-between;color:#53667a;font-size:10px;font-weight:800;cursor:pointer;list-style:none}
.pos-more-options summary::-webkit-details-marker{display:none}
.pos-more-options summary .icon{width:13px;transform:rotate(90deg);transition:transform .16s ease}
.pos-more-options[open] summary .icon{transform:rotate(-90deg)}
.pos-more-options label{padding-top:5px}
.pos-counter-page-v468 .pos-submit-actions{grid-template-columns:minmax(86px,.32fr) minmax(210px,1fr);gap:7px}
.pos-counter-page-v468 [data-complete-sale]{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;text-align:left}
.pos-counter-page-v468 [data-complete-sale] strong{padding-left:9px;border-left:1px solid rgba(255,255,255,.25);font-size:14px}
.pos-counter-page-v468 .summary-assurance{margin:7px 0 0;font-size:8px}

@media(min-width:901px){
  .pos-counter-page-v468{overflow:hidden}
  .pos-counter-page-v468 .content{height:calc(100dvh - env(titlebar-area-height,0px));overflow:hidden}
  .pos-counter-page-v468 .pos-shell{height:calc(100% - 58px)}
  .pos-counter-page-v468 .pos-catalog{display:flex;flex-direction:column;min-height:0;height:100%;padding:16px;overflow:hidden}
  .pos-counter-page-v468 .pos-product-grid{flex:1;min-height:0;overflow:auto;padding:1px 4px 10px 1px;scrollbar-gutter:stable}
  .pos-counter-page-v468 .pos-cart{position:relative;top:0;height:100%;min-height:0}
  .pos-counter-page-v468 .pos-cart-card{display:flex;flex-direction:column;height:100%;min-height:0;overflow:hidden}
  .pos-counter-page-v468 .pos-cart-items{flex:0 1 auto;min-height:115px;overflow:auto}
  .pos-counter-page-v468 .pos-checkout{flex:1;min-height:0;overflow:auto;padding-right:3px;scrollbar-gutter:stable}
}

@media(max-width:900px){
  .pos-counter-page-v468{overflow:auto}
  .pos-counter-page-v468 .content{padding:10px 12px 92px}
  .pos-counter-page-v468 .pos-shell{grid-template-columns:1fr}
  .pos-counter-page-v468 .pos-catalog{min-height:0}
}

@media(max-width:680px){
  .pos-counter-page-v468 .gainvo-window-bar{display:none!important}
  .pos-counter-page-v468 .content{padding:0 0 calc(82px + env(safe-area-inset-bottom))}
  .pos-counter-page-v468 .pos-session-bar{top:0;min-height:49px;margin:0;padding:7px 9px;border-radius:0;border-width:0 0 1px;box-shadow:0 4px 16px rgba(18,32,51,.06)}
  .pos-counter-page-v468 .pos-session-bar>a{min-height:36px;font-size:11px}
  .pos-session-status{margin-left:auto}
  .pos-session-status>span{min-height:34px;padding:5px 8px;font-size:0}
  .pos-session-status>span i{width:8px;height:8px}
  .pos-session-status>span.secondary{display:none}
  .pos-register-state{min-width:36px;min-height:36px;justify-content:center;padding:6px;font-size:0}
  .pos-register-state .icon{width:17px}
  .pos-counter-page-v468 .pos-shell{margin:0 0 0}
  .pos-counter-page-v468 .pos-catalog{padding:12px;border:0;border-radius:0;box-shadow:none}
  .pos-counter-page-v468 .pos-heading{grid-template-columns:minmax(0,1fr);gap:8px;margin-bottom:9px}
  .pos-counter-page-v468 .pos-heading h2{font-size:17px}
  .pos-counter-page-v468 .pos-heading p{display:none}
  .pos-counter-page-v468 .pos-heading-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;width:100%}
  .pos-counter-page-v468 .pos-price-level{width:auto}
  .pos-counter-page-v468 .pos-price-level select{width:100%;min-width:0;height:44px}
  .pos-counter-page-v468 .pos-heading-actions [data-start-camera-scan]{display:inline-flex!important;width:auto!important;min-width:92px;min-height:44px;padding:8px 12px;font-size:11px}
  .pos-counter-page-v468 .pos-search-row{display:block;margin-bottom:9px}
  .pos-counter-page-v468 .pos-search{height:48px}
  .pos-counter-page-v468 .scanner-ready{display:none}
  .pos-counter-page-v468 .pos-filter-row{margin-bottom:8px}
  .pos-counter-page-v468 .pos-filter-row button,.pos-counter-page-v468 .pos-category-row button{min-height:42px;padding:8px 13px}
  .pos-counter-page-v468 .pos-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px}
  .pos-counter-page-v468 .pos-product{display:flex;min-width:0;min-height:190px;padding:9px;gap:7px;flex-direction:column;align-items:stretch}
  .pos-counter-page-v468 .pos-product-visual{width:100%;height:82px;border-radius:10px}
  .pos-counter-page-v468 .pos-product-copy{display:flex;min-width:0;flex:1;flex-direction:column;align-items:flex-start}
  .pos-counter-page-v468 .pos-product-copy>strong{width:100%;padding-right:0;font-size:12px;-webkit-line-clamp:2}
  .pos-counter-page-v468 .pos-product-description{display:none!important}
  .pos-counter-page-v468 .pos-fashion-variant{margin-top:3px}
  .pos-counter-page-v468 .pos-unit-badge{margin-top:4px}
  .pos-counter-page-v468 .pos-product-price{margin-top:auto;padding-bottom:22px}
  .pos-counter-page-v468 .pos-product-price>b{font-size:13px}
  .pos-counter-page-v468 .pos-card-cart{min-width:26px;min-height:26px}
  .pos-counter-page-v468 .pos-stock{left:9px;bottom:8px;max-width:calc(100% - 18px)}
  .pos-counter-page-v468 .pos-v312:not(.has-items) .pos-mobile-cart-bar{display:none!important}
  .pos-counter-page-v468 .pos-mobile-cart-bar{left:10px;right:10px;bottom:calc(10px + env(safe-area-inset-bottom));min-height:62px;border-radius:18px}
  .pos-counter-page-v468 .pos-v312 .pos-cart{max-height:96vh;max-height:96svh;border-radius:24px 24px 0 0;padding-top:7px}
  .pos-counter-page-v468 .pos-v312 .pos-cart-card{padding:13px 12px calc(12px + env(safe-area-inset-bottom));border-radius:24px 24px 0 0}
  .pos-counter-page-v468 .pos-cart-head{position:sticky;z-index:2;top:0;padding:2px 0 5px;background:#fff}
  .pos-counter-page-v468 .pos-cart-items{max-height:27vh;max-height:27svh}
  .pos-counter-page-v468 .pos-cart-row{grid-template-columns:minmax(70px,1fr) 112px 70px 38px;gap:5px}
  .pos-counter-page-v468 .qty-control{height:44px;grid-template-columns:40px 1fr 40px}
  .pos-counter-page-v468 .pos-checkout{padding-bottom:6px}
  .pos-counter-page-v468 .pos-buyer-summary{min-height:56px}
  .pos-counter-page-v468 .pos-payment select,.pos-counter-page-v468 .pos-payment input{min-height:48px}
  .pos-counter-page-v468 .pos-quick-cash button{min-height:44px}
  .pos-counter-page-v468 .receipt-choice>span{min-height:52px}
  .pos-counter-page-v468 .pos-submit-actions{position:sticky;z-index:3;bottom:calc(-12px - env(safe-area-inset-bottom));margin:7px -12px 0;padding:9px 12px calc(9px + env(safe-area-inset-bottom));background:#fff;box-shadow:0 -8px 22px rgba(18,32,51,.07)}
  .pos-counter-page-v468 .pos-submit-actions .btn{min-height:50px}
  .pos-counter-page-v468 [data-complete-sale] strong{font-size:12px}
}

@media(max-width:360px){
  .pos-counter-page-v468 .pos-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .pos-counter-page-v468 .pos-product{min-height:180px;padding:7px}
  .pos-counter-page-v468 .pos-product-visual{height:72px}
  .pos-counter-page-v468 .pos-cart-row{grid-template-columns:minmax(64px,1fr) 102px 62px 34px}
  .pos-counter-page-v468 .pos-submit-actions{grid-template-columns:78px minmax(0,1fr)}
  .pos-counter-page-v468 [data-complete-sale]{gap:5px;padding-left:9px;padding-right:9px}
  .pos-counter-page-v468 [data-complete-sale] strong{padding-left:6px;font-size:10px}
}

.pos-counter-page-v468 button:focus-visible,.pos-counter-page-v468 a:focus-visible,.pos-counter-page-v468 input:focus-visible,.pos-counter-page-v468 select:focus-visible,.pos-counter-page-v468 summary:focus-visible{outline:3px solid color-mix(in srgb,var(--brand) 35%,transparent);outline-offset:2px}
@media(prefers-reduced-motion:reduce){.pos-more-options summary .icon{transition:none}}
