.shell-pos .app-content { padding: 0; }
.pos-header .header-title { flex: 1; display: flex; min-width: 0; flex-direction: column; align-items: center; }.pos-header .header-title small { color: var(--success); font-size: 10px; }.pos-header > .icon-button:last-child { color: var(--primary); }
.pos-layout { height: 100%; min-height: 0; }.pos-catalog { padding: 16px; }.pos-title { display: none; }.pos-search { display: grid; grid-template-columns: 26px minmax(0,1fr) 46px; align-items: center; gap: 7px; padding: 4px 5px 4px 13px; border: 1px solid var(--border); border-radius: 15px; background: var(--surface); box-shadow: var(--shadow-sm); }.pos-search > .icon { color: var(--muted); }.pos-search input { min-width: 0; border: 0; box-shadow: none; padding: 8px 0; }.pos-search button { display: grid; width: 44px; height: 44px; min-height: 44px; place-items: center; padding: 0; background: var(--primary-soft); color: var(--primary); }
.category-strip { display: flex; gap: 8px; margin: 13px 0; overflow-x: auto; scrollbar-width: none; }.category-strip::-webkit-scrollbar { display: none; }.category-strip button { min-height: 38px; padding: 8px 14px; border: 1px solid var(--border); border-radius: 99px; background: var(--surface); white-space: nowrap; }.category-strip button.active { border-color: var(--primary); background: var(--primary); color: #fff; }
.catalog { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }.product-card { min-width: 0; display: flex; flex-direction: column; gap: 5px; padding: 11px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); text-align: left; box-shadow: var(--shadow-sm); }.product-main { display: flex; min-height: 0; flex-direction: column; align-items: stretch; gap: 5px; padding: 0; border: 0; background: transparent; text-align: left; }.product-thumb { aspect-ratio: 1.35; display: grid; place-items: center; overflow: hidden; border-radius: 11px; background: var(--surface-soft); color: #b8afaa; }.product-thumb img { width: 100%; height: 100%; object-fit: cover; }.product-thumb .icon { width: 35px; height: 35px; }.product-main > strong { min-height: 38px; line-height: 1.25; }.product-main > small { color: var(--muted); }.product-main > b { color: var(--primary); font-size: 17px; }.product-card-controls { display: grid; grid-template-columns: 34px 1fr 34px; align-items: center; margin-top: 4px; }.product-card-controls button { min-height: 34px; height: 34px; padding: 0; border: 1px solid var(--border); background: var(--surface); }.product-card-controls span { text-align: center; font-weight: 800; }.barcode-capture { position: absolute; width: 1px; height: 1px; padding: 0; border: 0; opacity: 0; pointer-events: none; }
.welcome-hint { grid-column: 1/-1; min-height: 200px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; color: var(--muted); text-align: center; }.welcome-hint .icon { width: 38px; height: 38px; }
.cart { display: none; }.mobile-cart-bar { position: sticky; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 14px -16px -16px; padding: 12px 16px; background: var(--secondary); color: #fff; }.mobile-cart-bar div { display: flex; flex-direction: column; }.mobile-cart-bar small { color: #cfc6c2; }.mobile-cart-bar button { background: var(--primary); color: #fff; }
.cart-heading { display: flex; align-items: center; justify-content: space-between; }.cart-heading span { color: var(--muted); }.cart-items article { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; padding: 13px 0; border-bottom: 1px solid var(--border); }.cart-items small { display: block; color: var(--muted); }.qty { display: flex; align-items: center; gap: 8px; }.qty button { width: 36px; height: 36px; min-height: 36px; padding: 0; background: var(--surface-soft); }.empty-cart { min-height: 180px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; color: var(--muted); }.cart-total { padding-top: 14px; }.cart-total label, .cart-total p { display: flex; align-items: center; justify-content: space-between; }.cart-total input { width: 115px; text-align: right; }.cart-total p { margin: 16px 0; }.cart-total p strong { font-size: 25px; }.payment-total { margin: 12px 0 20px; text-align: center; font-size: 34px; font-weight: 900; }.payment-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }.payment-grid button { min-height: 88px; background: var(--surface-soft); }.payment-grid span { display: block; }.payment-grid .wide { grid-column: 1/-1; }.cash-fields { display: grid; gap: 12px; }.cash-fields label { font-weight: 700; }.cash-fields input { width: 100%; margin-top: 6px; font-size: 20px; }.change-display { padding: 14px; border-radius: var(--radius); background: var(--surface-soft); }.change-display span, .change-display strong { display: block; }.change-display strong { font-size: 26px; color: var(--success); }.success-view { text-align: center; }.success-check { width: 74px; height: 74px; display: grid; place-items: center; margin: 4px auto 16px; border-radius: 50%; background: #def4e9; color: var(--success); font-size: 38px; }.success-view .sale-value { font-size: 34px; font-weight: 900; }.success-actions { display: grid; gap: 8px; margin-top: 20px; }.whatsapp-receipt-field { display: grid; gap: 6px; margin-top: 18px; text-align: left; }.whatsapp-receipt-field span { font-size: 13px; font-weight: 700; }.whatsapp-receipt-field input { width: 100%; }
@media (max-width: 767px) {
  .shell-pos { grid-template-rows: var(--header-height) minmax(0,1fr); }.shell-pos .app-content { grid-row: 2; }.shell-pos .app-bottom-nav { display: none; }
  .pos-layout { position: relative; overflow: hidden; }.pos-catalog { height: 100%; min-height: 0; overflow-y: auto; padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
  .mobile-cart-bar { position: absolute; right: 0; bottom: 0; left: 0; z-index: 20; margin: 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); box-shadow: 0 -10px 28px rgb(0 0 0 / 18%); }
}
@media (min-width: 768px) {
  .pos-desktop-actions { align-items: center; gap: 8px; }.pos-desktop-actions form { margin: 0; }.pos-header-link { min-height: 40px; display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border: 1px solid rgb(255 255 255 / 20%); border-radius: 10px; background: transparent; color: #fff; font-weight: 700; }.pos-header-link:hover { background: rgb(255 255 255 / 10%); }.pos-header-link .icon { width: 19px; height: 19px; }
  .shell-pos { grid-template: 60px minmax(0,1fr) / 1fr; }.shell-pos .app-sidebar, .shell-pos .app-bottom-nav { display: none; }.shell-pos .app-header { grid-column: 1; grid-row: 1; padding: 0 20px; background: var(--secondary); color: #fff; }.shell-pos .app-header::before { content: 'VUNNY PDV'; font-weight: 900; letter-spacing: .1em; }.shell-pos .header-title { align-items: flex-start; }.shell-pos .header-title strong { display: none; }.shell-pos .header-title small { font-size: 12px; }.shell-pos .app-content { grid-column: 1; grid-row: 2; overflow: hidden; }.pos-layout { display: grid; grid-template-columns: minmax(0,1fr) 390px; }.pos-catalog { min-height: 0; overflow-y: auto; padding: 20px; }.pos-title { display: flex; align-items: center; justify-content: space-between; }.pos-title h1 { margin-bottom: 2px; }.pos-history { display: flex; align-items: center; gap: 6px; }.catalog { grid-template-columns: repeat(auto-fill,minmax(155px,1fr)); }.cart { min-height: 0; display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto; padding: 20px; border-left: 1px solid var(--border); background: var(--surface); }.mobile-cart-bar { display: none; }.pos-search { max-width: none; }.product-card { padding: 10px; }
}
