.workspace #new-sale{position:fixed;inset:0 0 0 96px;margin:0;width:calc(100vw - 96px);max-width:none;height:100dvh;max-height:100dvh;border:0;border-radius:0;overflow:hidden;background:#f8fafc}.workspace #new-sale>header{height:88px;padding:24px 32px;background:white;position:relative;z-index:1}.workspace #new-sale>header h2{font-size:24px;font-weight:800;letter-spacing:-.7px}.pos-builder>form{display:block;height:calc(100dvh - 88px)}.pos-catalog{height:100%;padding:32px;background:#f9fafb;border-radius:0;overflow:auto}.pos-catalog-tools{max-width:1100px;margin:0 auto 28px;flex-wrap:nowrap;gap:20px}.pos-catalog-tools .tabs{display:flex;gap:8px;padding:4px;background:#eef1f5;border-radius:14px}.pos-catalog-tools .tabs button{border:0;border-radius:10px;font-weight:600;padding:12px 20px;background:transparent;color:#64748b}.pos-catalog-tools .tabs button.active{background:white;color:#111827;box-shadow:0 1px 4px #0f172a0b}.pos-catalog-tools input{order:0;flex:1;min-width:0;width:auto;border-radius:12px;background:white;min-height:46px;padding:12px 16px}.pos-catalog-tools [data-open-checkout]{display:inline-flex;gap:10px;flex:none;padding:12px 18px;background:#111827;border-color:#111827;color:white;font-size:12px;align-items:center;border-radius:12px}.pos-catalog-tools [data-cart-count]{background:#ffffff24;border-radius:30px;min-width:23px;padding:3px 6px}.pos-catalog .pos-grid{max-width:1100px;margin:0 auto;grid-template-columns:repeat(4,minmax(0,1fr));max-height:none;gap:20px;overflow:visible}.pos-catalog .product-tile{min-height:190px;border-radius:24px;padding:24px;text-align:left;align-items:flex-start;transition:box-shadow .15s,border-color .15s}.pos-catalog .product-tile:hover{border-color:#cbd5e1;box-shadow:0 4px 12px #11182708}.pos-catalog .product-tile>svg{width:36px;height:36px;background:#f1f5f9;padding:9px;box-sizing:content-box;border-radius:16px;color:#64748b}.pos-catalog .product-tile strong{margin-top:auto;font-size:22px}.pos-catalog #add-extra{display:block;max-width:1100px;margin:24px auto 0}.pos-checkout{display:none;position:absolute;right:0;top:0;bottom:0;width:450px;max-height:100dvh;padding:30px 28px;border:0;z-index:4;box-shadow:-12px 0 50px #0f172a18;border-radius:24px 0 0 24px}.show-checkout .pos-checkout{display:block}.show-checkout .pos-catalog:after{content:'';position:absolute;inset:0 450px 0 0;background:#0f172a28;pointer-events:none;z-index:2;backdrop-filter:blur(2px)}.pos-checkout [data-back-catalog]{display:block;margin-bottom:26px;font-size:12px}.pos-checkout>h3{font-size:24px;font-weight:800;margin-bottom:8px}.pos-payment-fields{display:none;margin-top:24px}.pos-order-footer{position:sticky;bottom:-28px;background:white;padding:20px 0 4px}.pos-order-footer .btn{width:100%;justify-content:center;gap:12px;padding:16px;border-radius:14px}.pos-checkout .form-footer{display:none}.payment-step .pos-payment-fields{display:block}.payment-step .pos-order-footer{display:none}.payment-step .pos-checkout .form-footer{display:flex}.payment-step #cart-items{display:none}.payment-step .pos-checkout>h3,.payment-step .pos-checkout>.muted{display:none}.pos-payment-fields>h3{font-size:24px;margin:24px 0}.pos-checkout .cart-total{margin-top:24px;border-radius:14px;background:#f8fafc;border:0}.pos-checkout>.muted{font-size:11px}.pos-checkout .cart-line{padding:20px 0;border-bottom:1px solid #f1f5f9}.pos-checkout .cart-line input,.pos-checkout .cart-line select{background:#f9fafb;border-color:#e5e7eb;border-radius:8px}.pos-checkout .field input,.pos-checkout .field select{border-radius:12px;min-height:46px}
@media(max-width:1100px){.pos-catalog .pos-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.pos-catalog-tools{flex-wrap:wrap}.pos-catalog-tools input{order:3;flex-basis:100%}.pos-catalog-tools [data-open-checkout]{margin-left:auto}}
@media(max-width:767px){.workspace #new-sale{inset:0;width:100vw;height:100dvh;margin:0;border-radius:0}.workspace #new-sale>header{height:80px;padding:22px 20px}.workspace #new-sale>header h2{font-size:22px}.pos-builder>form{height:calc(100dvh - 80px)}.pos-catalog{padding:20px;height:100%;overflow:auto}.pos-catalog-tools{gap:14px;margin-bottom:20px}.pos-catalog-tools .tabs{gap:2px}.pos-catalog-tools .tabs button{padding:11px 12px;font-size:12px}.pos-catalog-tools [data-open-checkout]{font-size:11px;padding:10px}.pos-catalog .pos-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.pos-catalog .product-tile{padding:18px;min-height:184px;border-radius:20px}.pos-catalog .product-tile strong{font-size:20px}.pos-catalog .product-tile>svg{width:24px;height:24px;padding:8px}.show-checkout .pos-catalog{display:none}.show-checkout .pos-catalog:after{display:none}.pos-checkout{position:absolute;top:0;right:0;bottom:0;width:100%;height:100dvh;max-height:100dvh;border-radius:0;padding:24px 20px}.pos-order-footer,.pos-checkout .form-footer{bottom:-24px}}
