@font-face{font-family:"Plus Jakarta Sans";src:url("/assets/plus-jakarta-sans.woff2") format("woff2");font-style:normal;font-weight:400 800;font-display:swap}
:root{font-family:"Plus Jakarta Sans",system-ui,sans-serif;color:#1b1b1e;background:#f4f4f6;font-synthesis:none;--black:#09090b;--graphite:#18181b;--surface:#fbf8fc;--white:#fff;--muted:#71717a;--line:#e4e4e7;--soft:#f4f4f5;--success:#10b981;--success-soft:#ecfdf5;--success-line:#a7f3d0;--success-ink:#047857;--success-dark-ink:#34d399;--success-dark-bg:#022c22;--success-dark-line:#065f46;--error:#dc2626;--error-soft:#fee2e2;--error-line:#fecaca;--error-ink:#991b1b;--error-dark-ink:#fecaca;--error-dark-bg:#450a0a;--error-dark-line:#991b1b}
*{box-sizing:border-box}html,body,#app{margin:0;min-height:100%;font-size:16px}body{line-height:1.5}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}a{color:inherit}h1,h2,h3,p{margin-top:0}.icon{width:20px;height:20px;display:inline-block;vertical-align:middle;flex:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip{position:fixed;top:-100px;left:12px;z-index:100;background:#fff;padding:8px}.skip:focus{top:8px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #52525b;outline-offset:2px}
.page-loader{position:fixed;inset:0;z-index:200;min-height:100vh;min-height:100dvh;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);background:#fff;display:grid;place-items:center}.page-loader img{width:clamp(76px,18vw,104px);height:auto;display:block;transform-origin:center;will-change:transform,opacity;animation:nova-loader-pulse 1.25s cubic-bezier(.16,1,.3,1) infinite alternate}@keyframes nova-loader-pulse{from{transform:scale(.9);opacity:.58}to{transform:scale(1);opacity:1}}
.app-shell{min-height:100vh}.pos-header{height:68px;background:#000;color:#fff;padding:11px 24px;display:flex;align-items:center;position:sticky;top:0;z-index:40;border-bottom:1px solid #27272a}.pos-brand{display:flex;align-items:center;gap:11px;text-decoration:none}.pos-brand img{width:38px;height:38px;object-fit:contain;filter:invert(1)}.pos-brand>span{display:flex;flex-direction:column;line-height:1.1}.pos-brand strong{font-size:18px;font-weight:800;letter-spacing:-.04em;white-space:nowrap}.pos-brand small{font-size:12px;color:#a1a1aa;margin-top:3px}.header-actions{margin-left:auto;display:flex;align-items:center;gap:13px}.mode-nav{display:flex;gap:3px;padding:4px;border-radius:999px;border:1px solid #3f3f46;background:#27272a}.mode-nav a{height:34px;padding:0 13px;display:flex;align-items:center;gap:7px;border-radius:999px;text-decoration:none;color:#d4d4d8;font-size:14px;font-weight:600;white-space:nowrap;flex:none}.mode-nav a.active{background:#fff;color:#18181b;font-weight:800}.mode-nav .icon{width:17px;height:17px}.connection-status{display:flex;align-items:center;gap:7px;border-radius:999px;padding:6px 11px;font-size:12px}.connection-status i{width:8px;height:8px;border-radius:50%;background:currentColor}.connection-status.online{color:var(--success-dark-ink);background:var(--success-dark-bg);border:1px solid var(--success-dark-line)}.connection-status.offline-status{color:var(--error-dark-ink);background:var(--error-dark-bg);border:1px solid var(--error-dark-line)}.gestao-dropdown{position:relative}.gestao-trigger{height:34px;padding:0 13px;display:flex;align-items:center;gap:7px;border:0;border-radius:999px;background:transparent;color:#d4d4d8;font-size:14px;font-weight:600;white-space:nowrap;flex:none}.gestao-trigger.active{background:#fff;color:#18181b;font-weight:800}.gestao-trigger .icon{width:17px;height:17px}.gestao-chevron{width:14px;height:14px;transition:transform .15s}.gestao-trigger[aria-expanded="true"] .gestao-chevron{transform:rotate(180deg)}.gestao-panel{position:absolute;top:calc(100% + 8px);right:0;min-width:200px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 12px 32px rgba(9,9,11,.18);padding:6px;display:flex;flex-direction:column;gap:2px;z-index:45}.gestao-panel a{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:9px;text-decoration:none;color:#27272a;font-size:13px;font-weight:600}.gestao-panel a:hover{background:var(--soft)}.gestao-panel a.active{background:#18181b;color:#fff;font-weight:800}.gestao-panel .icon{width:17px;height:17px}.perfil-dropdown{position:relative}.perfil-trigger{width:38px;height:38px;border-radius:50%;border:1px solid var(--line);background:#fff;color:#18181b;display:flex;align-items:center;justify-content:center;padding:0}.perfil-trigger .icon{width:19px;height:19px}.perfil-trigger:hover{background:var(--soft)}.perfil-panel{position:absolute;top:calc(100% + 8px);right:0;width:220px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 12px 32px rgba(9,9,11,.18);padding:14px;display:flex;flex-direction:column;gap:10px;z-index:45}.perfil-panel-user{display:flex;flex-direction:column;gap:2px}.perfil-panel-user strong{font-size:14px;color:#18181b}.perfil-panel-user small{font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}.perfil-panel .connection-status{align-self:flex-start}.perfil-logout{display:flex;align-items:center;gap:8px;padding:10px 12px;border:0;border-radius:10px;background:var(--soft);color:var(--error);font-size:13px;font-weight:700;width:100%}.perfil-logout:hover{background:var(--error-soft)}.perfil-logout .icon{width:16px;height:16px}.perfil-connect{display:flex;align-items:center;gap:8px;padding:10px 12px;border-radius:10px;background:var(--soft);color:#18181b;font-size:13px;font-weight:700;width:100%;text-decoration:none}.perfil-connect:hover{background:var(--line)}.perfil-connect .icon{width:16px;height:16px}
.cashier-main{max-width:1600px;margin:0 auto;height:calc(100dvh - 68px);overflow:hidden}.cashier-grid{display:grid;grid-template-columns:minmax(0,1fr) 426px;grid-template-rows:minmax(0,1fr);height:100%}.catalog-panel{padding:24px 24px 32px;overflow-y:auto;overflow-x:hidden;min-width:0;min-height:0}.catalog-toolbar{background:#fff;border:1px solid var(--line);border-radius:16px;padding:16px;display:flex;align-items:center;justify-content:space-between;gap:16px;box-shadow:0 1px 2px #0000000d;margin-bottom:16px}.segments{display:flex;align-items:center;gap:4px;padding:4px;background:var(--soft);border-radius:12px}.segments button{min-height:36px;padding:7px 18px;border:0;border-radius:8px;background:transparent;color:#52525b;font-size:13px;font-weight:600;white-space:nowrap}.segments button.active{background:#000;color:#fff;font-weight:800;box-shadow:0 1px 2px #0002}.product-search{position:relative;display:flex;align-items:center;flex:1;max-width:320px;margin:0}.product-search>.icon{position:absolute;left:13px;color:#a1a1aa}.product-search input{width:100%;height:40px;padding:8px 42px 8px 42px;border:1px solid var(--line);border-radius:12px;background:#fafafa;color:#18181b;font-size:13px}.product-search>button{position:absolute;right:3px;width:36px;height:34px;border:0;background:transparent;color:#a1a1aa;border-radius:9px;padding:7px}.product-search>button .icon{width:17px;height:17px}.cashier-unit-bar{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:10px 14px;margin-bottom:16px;font-size:13px;font-weight:700;color:#18181b}.cashier-unit-bar .icon{width:18px;height:18px;color:#71717a;flex:none}.cashier-unit-bar select{border:1px solid var(--line);border-radius:8px;padding:6px 10px;font-size:13px;font-weight:700;background:#fff;min-height:0}.catalog-toolbar .product-search{max-width:none}
.unit-stock-section{margin-top:28px}.unit-stock-table td,.unit-stock-table th{white-space:nowrap}.unit-stock-value{font-weight:800;margin-right:6px}.unit-stock-adjust{border:1px solid var(--line);border-radius:8px;padding:4px;background:#fff;vertical-align:middle}.unit-stock-adjust .icon{width:15px;height:15px;display:block}
.inventory-tabs{display:flex;gap:8px;margin:-8px 0 28px}.inventory-tabs button{border:0;background:transparent;padding:10px 20px;border-radius:9px;font-weight:700}.inventory-tabs button.active{background:#09090b;color:#fff}.inventory-panel{background:#fff;border:1px solid var(--line);border-radius:16px;padding:22px}.inventory-panel-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:20px}.inventory-panel-head h2{margin:0 0 3px;font-size:18px}.inventory-panel-head p{margin:0;font-size:13px}.inventory-filters{display:grid;grid-template-columns:1.25fr repeat(5,minmax(130px,1fr));gap:12px;align-items:end;flex:1}.inventory-filter,.inventory-search{display:flex;flex-direction:column;gap:6px;min-width:0}.inventory-filter span{font-size:11px;font-weight:800;color:#71717a;text-transform:uppercase;letter-spacing:.04em}.inventory-filter select,.inventory-search input{width:100%;height:46px;border:1px solid #d4d4d8;border-radius:10px;background:#fff;padding:0 12px;font:inherit}.inventory-search{position:relative;justify-content:center}.inventory-search .icon{position:absolute;left:12px;width:17px;color:#a1a1aa;pointer-events:none}.inventory-search input{padding-left:38px}.inventory-zero{color:#dc2626!important;font-weight:800}.unit-stock-panel{padding:22px}.unit-stock-filters{display:flex;align-items:center;gap:10px;flex-wrap:wrap;flex:1;min-width:0}.unit-stock-search{width:min(330px,100%)}.unit-stock-actions{display:flex;justify-content:flex-end;gap:8px}.unit-stock-actions button{white-space:nowrap}.unit-stock-table td,.unit-stock-table th{white-space:nowrap}.unit-stock-table .inventory-zero{color:#dc2626}.inventory-pagination{justify-content:center;flex-wrap:wrap}.inventory-pagination label{margin-right:4px}.inventory-pagination select{height:42px;border:1px solid #d4d4d8;border-radius:10px;background:#fff;padding:0 28px 0 12px}.inventory-pagination button{min-height:42px}
.inventory-main{max-width:none;width:100%;margin:0;padding:32px 24px 64px}.inventory-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:24px}.inventory-heading h1{margin:4px 0 5px;color:#09090b;font-size:36px;line-height:1.1;letter-spacing:-.04em}.inventory-heading p{margin:0;color:#71717a;font-size:13px}.inventory-stats .stat{min-height:116px;padding:22px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;text-align:center}.inventory-stats .stat strong{font-size:34px;line-height:1;font-variant-numeric:tabular-nums}.inventory-numeric{text-align:center}.unit-stock-table th:not(:first-child),.unit-stock-table td:not(:first-child){text-align:center}.inventory-panel>.pagination{margin-left:auto;margin-right:auto}.inventory-pagination label{width:190px}.inventory-pagination label select{width:190px;min-width:190px}.inventory-pagination button{width:42px;padding:0;border:1px solid #d4d4d8;border-radius:11px;background:#fff;color:#18181b}.inventory-pagination button:disabled{opacity:.35;cursor:not-allowed}.inventory-pagination button:first-of-type,.inventory-pagination button:last-of-type{font-size:0}.inventory-pagination button:first-of-type::before{content:'‹';font-size:22px}.inventory-pagination button:last-of-type::before{content:'›';font-size:22px}
.inventory-history{margin-top:24px}.inventory-history .products-history-summary{border-radius:20px}.unit-stock-actions{display:flex;align-items:center;justify-content:center;gap:8px}.unit-stock-actions button{min-height:48px;padding:0 13px;border:1px solid #d4d4d8;border-radius:11px;background:#fff;color:#27272a;font-size:11px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap}.unit-stock-actions button.primary{border-color:#18181b;background:#18181b;color:#fff}.unit-stock-actions .icon{width:15px;height:15px}.unit-stock-table td:first-child>strong{display:inline-block}.unit-stock-table .unit-stock-adjust{display:inline-grid;place-items:center;margin-left:6px;width:30px;height:30px;padding:5px}.unit-stock-table .unit-stock-adjust .icon{width:15px;height:15px}
.inventory-panel-head{align-items:center}.inventory-panel-head>div:first-child{flex:1;min-width:0}.inventory-filters{display:flex;align-items:center;justify-content:flex-start;flex:1;width:100%;gap:10px}.inventory-filter{flex:1;min-width:110px}.inventory-filter span{display:none}.inventory-search{flex:1.3;min-width:200px}.inventory-search input{height:46px;background:#fafafa}.inventory-pagination{width:100%;justify-content:center;gap:10px}.inventory-pagination label{margin-right:0}.inventory-pagination select{font-size:12px;font-weight:700}
.pos-catalog{display:grid;grid-template-columns:repeat(auto-fit,minmax(186px,1fr));gap:10px}.pos-product{min-width:0;min-height:270px;padding:10px;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 1px 2px #0000000a;display:flex;flex-direction:column;transition:border-color .15s,transform .12s}.pos-product:hover,.pos-product:focus-within{border-color:#18181b}.pos-product.is-selected{border:2px solid #18181b;padding:9px}.pos-product-visual{position:relative;aspect-ratio:1.16/1;width:100%;overflow:hidden;border-radius:12px;background:#f4f4f5;display:flex;align-items:center;justify-content:center;border:1px solid #f1f1f2}.pos-product-visual img{width:100%;height:100%;object-fit:cover}.image-placeholder{padding:12px;text-align:center;color:#a1a1aa;font-size:12px}.product-location,.stock-badge,.soldout-ribbon{position:absolute;z-index:1;border-radius:6px;font-size:10px;font-weight:800;line-height:1.4}.product-location{top:8px;left:8px;padding:3px 8px;background:#27272a;color:#fff;display:inline-flex;align-items:center;gap:4px}.product-location.loja{background:#2563eb}.product-location .icon{width:12px;height:12px}.stock-badge{right:8px;bottom:8px;padding:4px 8px;background:#fff;color:#27272a;border:1px solid #e4e4e7;font-size:11px;font-weight:600;box-shadow:0 1px 2px #0001}.pos-product-size-badge{position:absolute;top:8px;right:8px;z-index:1;padding:4px 9px;border-radius:6px;background:#111827;color:#fff;font-size:12px;font-weight:800;letter-spacing:.02em}.pos-product-copy{padding-top:10px}.pos-product-copy h3{font-size:14px;line-height:1.35;font-weight:800;margin:0 0 2px;overflow-wrap:anywhere}.pos-product-copy p{font-size:12px;color:var(--muted);margin:0}.pos-product>footer{margin-top:auto;padding-top:8px;border-top:1px solid #f0f0f1;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px}.pos-product>footer>strong{font-size:12px;font-weight:800;white-space:nowrap}.counter{display:flex;align-items:center;gap:4px}.counter button{border:0;display:grid;place-items:center;font-weight:800}.product-counter button{width:28px;height:28px;border-radius:7px;background:#e4e4e7;color:#18181b;font-size:13px}.product-counter button:last-child{background:#000;color:#fff}.counter output{min-width:14px;text-align:center;font-weight:700;font-size:11px;font-variant-numeric:tabular-nums}.pos-product.is-sold-out{opacity:.55;background:#f4f4f5}.pos-product.is-sold-out .pos-product-visual img{filter:grayscale(1)}.soldout-ribbon{left:50%;top:50%;transform:translate(-50%,-50%);padding:5px 10px;background:#dc2626;color:#fff;text-transform:uppercase;font-size:12px}.unavailable{font-size:12px;font-weight:700;color:#a1a1aa;background:#e4e4e7;border-radius:9px;padding:8px 12px}.empty{grid-column:1/-1;border:1px dashed #c8c5ca;border-radius:14px;padding:40px 20px;text-align:center;color:#71717a}.empty h3{font-size:16px;color:#18181b;margin-bottom:5px}.empty p{margin:0;font-size:13px}
.cart{min-width:0;height:100%;background:#fff;border-left:1px solid var(--line);display:flex;flex-direction:column}.cart-toggle{display:none}.cart-content{display:flex;flex-direction:column;min-height:0;height:100%}.cart-header{padding:2px 0 16px;margin-bottom:12px;border-bottom:1px solid var(--line)}.cart-title{display:flex;align-items:center;gap:10px;margin-bottom:12px}.cart-title h2{font-size:16px;font-weight:800;margin:0}.clear-cart{margin-left:auto;border:0;background:transparent;color:#71717a;font-size:12px;padding:5px}.clear-cart:hover{color:#dc2626}.cart-header form>label,.customer-field{display:block;margin-bottom:5px;color:#71717a;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.045em}.cart-header label small{display:block;color:var(--muted);font-size:11px;font-weight:400;text-transform:none;letter-spacing:0}.lookup-row{display:flex;gap:8px}.lookup-input{position:relative;flex:1}.lookup-input>span{position:absolute;left:12px;top:8px;color:#a1a1aa;font-size:13px;font-weight:800}.lookup-input input,.customer-field input{width:100%;height:36px;border:1px solid var(--line);border-radius:12px;background:#fff;padding:7px 11px;font-size:13px;color:#18181b}.lookup-input input{padding-left:28px}.lookup-row>button{height:36px;border:0;border-radius:12px;padding:0 13px;background:#18181b;color:#fff;display:flex;align-items:center;gap:5px;font-size:12px;font-weight:800}.lookup-row>button .icon{width:15px;height:15px}.customer-field{margin:11px 0 0}.customer-field input{display:block;margin-top:5px;text-transform:none;letter-spacing:0}.customer-field input:disabled{opacity:1;color:#52525b;background:#fafafa}.lookup-message{margin:8px 0 0;padding:8px 10px;background:#f4f4f5;border-radius:9px;color:#52525b;font-size:11px}.order-matches{margin-top:8px;border:1px solid var(--line);border-radius:11px;max-height:180px;overflow:auto}.order-matches button{width:100%;border:0;border-bottom:1px solid var(--line);padding:9px 10px;background:#fff;display:flex;justify-content:space-between;gap:8px;text-align:left;font-size:11px}.order-matches button:last-child{border-bottom:0}.order-matches button:hover{background:#fafafa}.order-matches button span{display:flex;flex-direction:column}.order-matches small{color:#71717a}.recent-orders{margin-top:14px}.recent-orders>span{display:block;margin-bottom:6px;color:#71717a;font-size:11px;font-weight:800;letter-spacing:.045em;text-transform:uppercase}.recent-orders-list{display:flex;flex-direction:column;gap:4px}.recent-orders-list button{width:100%;min-height:44px;padding:8px 12px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--graphite);display:flex;align-items:center;gap:10px;text-align:left;transition:border-color .15s,background .15s}.recent-orders-list button:hover{border-color:var(--graphite);background:var(--soft)}.recent-orders-list button>b{flex:none;min-width:34px;font-size:13px;font-weight:800;font-variant-numeric:tabular-nums}.recent-orders-list button>span{min-width:0;flex:1;font-size:13px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.recent-orders-list button>small{flex:none;color:var(--muted);font-size:11px;font-variant-numeric:tabular-nums}.recent-orders-empty{margin:0;color:#a1a1aa;font-size:11px;line-height:1.4}.active-order{margin-top:10px;padding:12px;border-radius:12px;background:#18181b;color:#fff}.active-order>div{display:flex;align-items:center;gap:7px}.active-dot{width:10px;height:10px;border-radius:50%;background:#10b981;box-shadow:0 0 0 3px #10b98122}.active-order>div>strong{font-size:13px}.active-order>div>strong small{color:#a1a1aa;font-weight:400}.active-order>div>button{margin-left:auto;border:0;background:transparent;color:#a1a1aa;padding:2px}.active-order>div>button .icon{width:17px;height:17px}.active-order footer{border-top:1px solid #3f3f46;margin-top:9px;padding-top:9px;display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:10px;color:#a1a1aa}.active-order footer>span strong{color:#fff;font-size:12px}.active-order footer button{border:1px solid #52525b;border-radius:8px;background:#27272a;color:#e4e4e7;padding:6px 8px;display:flex;align-items:center;gap:5px;font-size:10px;font-weight:700}.active-order footer button .icon{width:14px;height:14px}
.cart-body{flex:1;min-height:0;overflow-y:auto;padding:16px}.cart-empty{min-height:100%;display:flex;align-items:center;justify-content:flex-start;flex-direction:column;text-align:center;color:var(--muted);padding-top:28px}.cart-empty[hidden]{display:none}.cart-empty>.icon{width:64px;height:64px;padding:17px;border-radius:50%;background:#f4f4f5;margin-bottom:12px}.cart-empty strong{font-size:14px;color:#52525b}.cart-empty p{font-size:12px;line-height:1.45;max-width:220px;margin:4px 0 0}.cart-issues{margin:0 0 12px;padding:10px 12px;border:1px solid var(--error-line);border-radius:12px;background:var(--error-soft);color:var(--error-ink);font-size:12px;font-weight:700}.cart-issues.is-info{border-color:var(--line);background:var(--soft);color:var(--graphite);display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.cart-issues button{min-height:40px;padding:0 12px;border:1px solid var(--graphite);border-radius:9px;background:#fff;color:var(--graphite);font-size:11px;font-weight:800;white-space:nowrap}.cart-issues button:hover{background:var(--graphite);color:#fff}.cart-issues[hidden]{display:none}.cart-line{border:1px solid var(--line);border-radius:12px;background:#fafafa;padding:11px;margin-bottom:12px}.cart-line.has-issue{border-color:var(--error-line);background:#fff;box-shadow:0 0 0 2px var(--error-soft)}.cart-line-issue{width:100%;margin-top:8px;padding:8px 10px;border-radius:9px;background:var(--error-soft);color:var(--error-ink);display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:12px;font-weight:700}.cart-line-issue button{min-height:36px;padding:0 12px;border:1px solid var(--error-ink);border-radius:9px;background:#fff;color:var(--error-ink);font-size:11px;font-weight:800;white-space:nowrap}.cart-line-issue button:hover{background:var(--error-ink);color:#fff}.cart-line>div{display:flex;align-items:flex-start;flex-wrap:wrap}.cart-line>div>strong{font-size:13px}.cart-line>div>button{width:40px;height:40px;margin:-8px -8px -8px auto;border:0;border-radius:9px;background:transparent;color:var(--muted);padding:0;display:grid;place-items:center}.cart-line>div>button:hover{background:var(--line);color:var(--graphite)}.cart-line>div>button .icon{width:17px;height:17px}.cart-line p{width:100%;margin:2px 0 0;color:#71717a;font-size:11px}.cart-line .product-location{position:static;padding:2px 6px;margin-right:5px}.cart-line>footer{border-top:1px solid var(--line);padding-top:7px;margin-top:7px;display:flex;align-items:center;justify-content:space-between}.cart-line .counter button{width:40px;height:40px;border-radius:9px;background:#e4e4e7;color:#18181b}.cart-line .counter button:last-child{background:#000;color:#fff}.cart-line>footer>strong{font-size:13px}.cart-footer{padding:16px 20px 10px;border-top:1px solid var(--line);background:#fafafa;box-shadow:0 -8px 12px -8px #0000001a}.cart-count{display:flex;justify-content:space-between;color:#71717a;font-size:11px;padding-bottom:8px}.cart-count strong{color:#18181b}.cart-total{border-top:1px solid var(--line);padding-top:10px;display:flex;align-items:flex-end;justify-content:space-between;gap:10px}.cart-total>span{display:flex;flex-direction:column}.cart-total>span>strong{text-transform:uppercase;color:#71717a;font-size:11px;letter-spacing:.035em}.cart-total small{font-size:11px;color:var(--muted)}.cart-total output{font-size:27px;font-weight:800;line-height:1;font-variant-numeric:tabular-nums;letter-spacing:-.04em;white-space:nowrap}.checkout-button{width:100%;height:53px;margin-top:17px;border:0;border-radius:12px;background:#000;color:#fff;display:flex;align-items:center;justify-content:center;gap:12px;font-size:15px;font-weight:800;box-shadow:0 3px 5px #0002}.checkout-button:active{transform:scale(.99)}.checkout-button:disabled{background:#71717a}.mode-badge{width:max-content;max-width:100%;margin:9px auto 0;border-radius:999px;padding:3px 10px;background:var(--soft);color:#52525b;font-size:11px;font-weight:700;text-align:center}
dialog{border:0;border-radius:18px;padding:24px;width:calc(100% - 32px);max-width:530px;color:#18181b;box-shadow:0 24px 100px #0007;max-height:90vh}dialog::backdrop{background:#09090bbf;backdrop-filter:blur(3px)}dialog h2{font-size:20px;margin-bottom:4px}dialog .actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}dialog button{min-height:42px;border:1px solid var(--line);border-radius:10px;background:#fff;padding:9px 15px;font-weight:700}dialog button.primary{background:#18181b;color:#fff;border-color:#18181b}.dialog-subtitle{color:#71717a;font-size:12px}.order-details-dialog{max-width:720px;padding:0 20px 18px;overflow-x:hidden;overflow-y:auto}.order-details-dialog h2{margin:0 -20px;padding:20px 20px 2px;background:#18181b;color:#fff}.order-details-dialog>.dialog-subtitle{margin:0 -20px 20px;padding:0 20px 18px;background:#18181b;color:#a1a1aa}.order-details-table{overflow:hidden;border:1px solid var(--line);border-radius:12px}.order-details-table table{width:100%;table-layout:fixed;border-collapse:collapse}.order-details-table col.product-column{width:42%}.order-details-table th{padding:10px 12px;background:#fafafa;color:#71717a;text-transform:uppercase;font-size:10px;line-height:1.35;text-align:left;white-space:normal;overflow-wrap:anywhere}.order-details-table td{padding:11px 12px;border-top:1px solid var(--line);font-size:12px;text-align:center;overflow-wrap:anywhere}.order-details-table td:first-child{text-align:left}.order-details-table td strong,.order-details-table td small{display:block}.order-details-table td strong{overflow-wrap:anywhere}.order-details-table td small{width:max-content;max-width:100%;margin-top:3px;padding:1px 5px;border-radius:4px;background:#f4f4f5;color:#71717a;font-size:9px}.order-details-table .order-product{display:flex;flex-direction:column}.delivery-status{display:inline-block;padding:3px 7px;border-radius:6px;font-weight:800;white-space:normal}.delivery-remaining{background:var(--success-soft);border:1px solid var(--success-line);color:var(--success-ink)}.delivery-complete{background:var(--soft);border:1px solid var(--line);color:var(--muted)}.pending-summary{margin-top:16px;padding:11px 12px;border:1px solid var(--line);border-radius:10px;display:flex;justify-content:space-between;gap:12px;font-size:11px;color:#71717a}.pending-summary strong{color:#18181b;text-align:right}.review-dialog{max-width:530px;padding:0 20px 18px}.review-dialog h2{margin:0 -20px;padding:18px 20px 2px;background:#18181b;color:#fff}.review-dialog>.dialog-subtitle{margin:0 -20px 18px;padding:0 20px 16px;background:#18181b;color:#a1a1aa}.transaction-identity{padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--soft);display:flex;flex-direction:column;gap:2px;font-size:13px}.transaction-identity small,.review-products h3,.payment-options legend{text-transform:uppercase;color:#71717a;font-size:11px;font-weight:800;letter-spacing:.04em}.transaction-identity strong{font-size:13px}.review-products{margin-top:14px}.review-products h3{margin-bottom:7px}.review-products>div{padding:10px 12px;border:1px solid var(--line);border-bottom:0;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:13px}.review-products>div:nth-child(2){border-radius:12px 12px 0 0}.review-products>div:last-child{border-bottom:1px solid var(--line);border-radius:0 0 12px 12px}.review-products span{display:flex;flex-direction:column;min-width:0}.review-products small{color:#71717a;font-size:11px}.review-products>div>strong{font-variant-numeric:tabular-nums;white-space:nowrap}.review-total{margin:14px 0;padding:14px 16px;border-radius:12px;background:#18181b;color:#fff;display:flex;flex-direction:column;gap:4px}.review-total span{color:#a1a1aa;font-size:11px;font-weight:800;letter-spacing:.045em;text-transform:uppercase}.review-total strong{font-size:30px;font-weight:800;line-height:1.05;letter-spacing:-.035em;font-variant-numeric:tabular-nums}.payment-options{border:0;padding:0;margin:0;min-width:0}.payment-options legend{padding:0;margin-bottom:8px}.payment-track{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;border:1px solid var(--line);border-radius:16px;background:var(--soft)}.payment-option{min-height:56px;padding:10px 12px;border-radius:12px;display:flex;align-items:center;gap:10px;color:#52525b;cursor:pointer;transition:background .15s,color .15s,box-shadow .15s}.payment-option:hover{background:var(--line);color:var(--graphite)}.payment-option:has(input:checked){background:var(--graphite);color:#fff;box-shadow:0 1px 3px #0002}.payment-option:has(input:focus-visible){outline:3px solid #52525b;outline-offset:2px}.payment-option-mark{width:18px;height:18px;flex:none;border:2px solid currentColor;border-radius:999px;display:grid;place-items:center}.payment-option-mark::after{content:"";width:8px;height:8px;border-radius:999px;background:currentColor;transform:scale(0);transition:transform .15s}.payment-option:has(input:checked) .payment-option-mark::after{transform:scale(1)}.payment-option>span:last-child{display:flex;flex-direction:column;min-width:0;font-size:13px;line-height:1.25}.payment-option strong{font-weight:800}.payment-option small{color:var(--muted);font-size:11px}.payment-option:has(input:checked) small{color:#a1a1aa}.payment-check{margin-top:14px;min-height:56px;padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--soft);display:flex;align-items:flex-start;gap:12px;cursor:pointer;transition:border-color .15s,background .15s}.payment-check:hover{border-color:#a1a1aa}.payment-check:has(input:checked){border-color:var(--graphite);background:#fff}.payment-check:has(input:focus-visible){outline:3px solid #52525b;outline-offset:2px}.payment-check-box{width:24px;height:24px;flex:none;margin-top:1px;border:2px solid #a1a1aa;border-radius:5px;background:#fff;color:#fff;display:grid;place-items:center;transition:background .15s,border-color .15s}.payment-check-box .icon{width:16px;height:16px;opacity:0;transform:scale(.6);transition:opacity .15s,transform .15s}.payment-check:has(input:checked) .payment-check-box{border-color:var(--black);background:var(--black)}.payment-check:has(input:checked) .payment-check-box .icon{opacity:1;transform:scale(1)}.payment-check>span:last-child{display:flex;flex-direction:column;font-size:13px;line-height:1.35}.payment-check small{margin-top:3px;color:#52525b;font-size:11px}.payment-option:has(input:disabled),.payment-check:has(input:disabled){opacity:.48;cursor:not-allowed}.review-dialog .actions button{min-height:50px}.success-dialog{text-align:center;max-width:430px}.success-dialog h2{font-size:20px}.success-icon{width:62px;height:62px;margin:0 auto 12px;border-radius:50%;background:#000;color:#fff;display:grid;place-items:center}.success-icon .icon{width:31px;height:31px}.success-label{display:inline-block;border-radius:999px;padding:4px 10px;background:#f4f4f5;text-transform:uppercase;font-size:10px;font-weight:800}.receipt-card{margin:18px 0;padding:18px;border:2px solid #000;border-radius:16px;background:#fafafa}.receipt-card>small,.receipt-card>strong{display:block}.receipt-card>small{text-transform:uppercase;color:#71717a;font-size:10px;font-weight:800}.receipt-card>strong{font-size:34px;letter-spacing:-.04em}.receipt-card p{font-size:11px}.receipt-card div{padding:8px;background:#e4e4e7;border-radius:10px;font-size:11px;font-weight:700}
.content{max-width:1450px;margin:auto;padding:30px 32px}.pagehead{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:25px}.eyebrow{font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#71717a}.pagehead h1{font-size:34px;margin:4px 0}.muted,small{color:#71717a}.panel,.stat{background:#fff;border:1px solid var(--line);border-radius:16px;padding:22px}.toolbar,.row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.toolbar{align-items:end;margin-bottom:20px}.toolbar>div{flex:1;min-width:150px}.row.spread{justify-content:space-between}.field{margin-bottom:16px}.field label,label{font-size:13px;font-weight:700}.field input,.field select,.toolbar input,.toolbar select{width:100%;min-height:46px;border:1px solid #c8c5ca;border-radius:9px;background:#fff;padding:10px 12px}.full{width:100%}button.primary{background:#18181b;color:#fff;border:0}.divider{border:0;border-top:1px solid var(--line);margin:22px 0}.message{padding:13px 16px;border:1px solid var(--line);border-radius:12px;background:var(--soft);color:var(--graphite);font-size:13px;margin-bottom:16px}.message.error,.error{border-color:var(--error-line);background:var(--error-soft);color:var(--error-ink)}.message.success,.success{border-color:var(--success-line);background:var(--success-soft);color:var(--success-ink)}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:22px}.stat strong{display:block;font-size:27px}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:12px;background:#fff}table{border-collapse:collapse;width:100%}th{background:#f4f4f5;color:#71717a;font-size:11px;text-transform:uppercase;padding:13px 16px;text-align:left}td{padding:14px 16px;border-bottom:1px solid var(--line);font-size:13px}.badge{display:inline-block;border-radius:5px;padding:3px 7px;font-size:11px;background:#f4f4f5}.badge.cantina{background:#27272a;color:#fff}.badge.loja{background:#dbeafe;color:#1d4ed8}.badge.zero{background:var(--error-soft);color:var(--error-ink)}.pagination{display:flex;justify-content:flex-end;align-items:center;gap:12px;margin-top:18px}.loading{padding:30px;text-align:center;color:#71717a}#notifications{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);z-index:100;max-width:calc(100vw - 32px);border-radius:10px;background:#18181b;color:#fff;box-shadow:0 6px 24px #0004}#notifications:not(:empty){padding:13px 20px;display:flex;align-items:center;gap:14px;font-size:13px}#notifications button{flex:none;min-height:44px;padding:0 12px;border:1px solid #52525b;border-radius:9px;background:#27272a;color:#fff;font-size:12px;font-weight:800;white-space:nowrap}#notifications button:hover{background:#3f3f46}#notifications button:focus-visible{outline:3px solid #fff;outline-offset:2px}.check{display:flex;gap:10px;padding:12px;background:#f4f4f5;border-radius:9px}.check input{width:20px;height:20px}.order-title{font-size:32px}.receipt{font-size:46px;font-weight:800}.minor{font-size:12px}
@media(max-width:1440px){.cashier-grid{grid-template-columns:minmax(0,1fr) 360px}.catalog-panel{padding:18px 18px 28px}.catalog-toolbar{padding:12px}.segments button{padding:7px 12px}.cart-header,.cart-footer{padding-left:16px;padding-right:16px}}
@media(max-width:820px){.pos-header{padding:10px 14px}.cashier-main{height:auto;overflow:visible}.cashier-grid{display:block}.catalog-panel{overflow:visible;padding-bottom:110px}.pos-catalog{grid-template-columns:repeat(2,minmax(0,1fr))}.cart{position:fixed;z-index:30;left:0;right:0;bottom:0;height:min(78vh,650px);border-left:0;border-top:1px solid var(--line);border-radius:18px 18px 0 0;box-shadow:0 -8px 30px #09090b24}.cart-toggle{display:flex;width:100%;height:62px;padding:0 18px;border:0;background:#fff;border-radius:18px 18px 0 0;align-items:center;justify-content:space-between;font-weight:800}.cart-toggle>span{display:flex;align-items:center;gap:7px}.cart.collapsed{height:62px}.cart.collapsed .cart-content{display:none}.content{padding:24px 18px}.stats{grid-template-columns:1fr}}
@media(max-width:560px){.pos-header{height:62px}.pos-brand img{width:34px;height:34px}.pos-brand strong{font-size:15px}.pos-brand small{font-size:10px}.mode-nav a{padding:0 10px}.mode-nav a span{display:none}.connection-status{padding:6px}.connection-status span{display:none}.cashier-main{height:auto}.catalog-panel{padding:12px 12px 100px}.catalog-toolbar{flex-direction:column;align-items:stretch;gap:10px}.segments{display:grid;grid-template-columns:repeat(3,1fr)}.segments button{padding:7px 5px}.product-search{max-width:none}.pos-catalog{gap:10px}.pos-product{min-height:260px;padding:10px;border-radius:14px}.pos-product.is-selected{padding:9px}.pos-product-copy h3{font-size:13px}.pos-product>footer{align-items:flex-end;flex-direction:column}.pos-product>footer>strong{align-self:flex-start}.product-counter{align-self:stretch;justify-content:space-between}.product-counter button{width:40px;height:40px}.order-details-dialog{padding-left:12px;padding-right:12px}.order-details-dialog h2,.order-details-dialog>.dialog-subtitle{margin-left:-12px;margin-right:-12px;padding-left:12px;padding-right:12px}.order-details-table thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.order-details-table table,.order-details-table tbody,.order-details-table tr,.order-details-table td{display:block;width:100%}.order-details-table tbody{padding:0 10px}.order-details-table tr{padding:6px 0;border-bottom:1px solid var(--line)}.order-details-table tr:last-child{border-bottom:0}.order-details-table td{min-width:0;padding:6px 0;border-top:0;display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:right;font-size:11px}.order-details-table td::before{content:attr(data-label);flex:0 0 43%;color:#71717a;font-size:9px;font-weight:800;line-height:1.3;text-align:left;text-transform:uppercase}.order-details-table td:first-child{align-items:flex-start;text-align:right}.order-details-table td:first-child::before{align-self:center}.order-details-table .order-product{min-width:0;margin-left:auto;align-items:flex-end}.order-details-table .order-product small{margin-left:auto}.order-details-table td:first-child strong{overflow-wrap:anywhere}.pending-summary{flex-direction:column}.pending-summary strong{text-align:left}.sale-details-dialog .pending-summary{flex-direction:row;align-items:center;justify-content:space-between}.sale-details-dialog .pending-summary strong{text-align:right}.sale-details-dialog .dialog-subtitle{font-size:13px}.sale-details-dialog .order-details-table td{font-size:13px}.sale-details-dialog .order-details-table td::before{font-size:11px}.sale-details-dialog .order-details-table td small{font-size:11px}.sale-details-dialog .pending-summary{font-size:13px}.payment-track{grid-template-columns:1fr}.receipt-card>strong{font-size:29px}.pagehead{align-items:flex-start}.content{padding:20px 14px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}.page-loader img{will-change:auto}}
@media print{.pos-header,.catalog-toolbar,.cart-toggle,button,#notifications{display:none!important}.cashier-main{height:auto}.cashier-grid{display:block}.cart{position:static;height:auto;border:0}.content{padding:0}dialog{position:static;box-shadow:none}}
.unit-stock-table th:first-child,.unit-stock-table td:first-child{text-align:left!important}
@media(max-width:820px){.inventory-panel-head{align-items:stretch;flex-direction:column}.inventory-filters{grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.inventory-search{grid-column:1/-1}.unit-stock-search{width:100%}.inventory-product-table{overflow-x:auto}.unit-stock-table{overflow-x:auto}.inventory-panel{padding:16px}.inventory-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.inventory-stats .stat{min-height:88px;padding:10px 8px;text-align:center}.inventory-stats .stat .muted{font-size:10px;line-height:1.25}.inventory-stats .stat strong{font-size:22px}.inventory-tabs{margin-bottom:18px}}
@media(max-width:700px){.inventory-main{width:100%;padding:20px 14px 40px}.inventory-heading{align-items:stretch;flex-direction:column;gap:14px}.inventory-heading .products-eyebrow{display:none}.inventory-heading h1{margin-top:0;font-size:30px}.inventory-heading .products-primary{width:100%;min-height:56px}.inventory-pagination{padding:14px 0;justify-content:space-between;gap:8px}.inventory-pagination label,.inventory-pagination label select{width:100%;min-width:0}.inventory-pagination label{order:0}.inventory-pagination button{width:40px;height:40px}.inventory-pagination span{white-space:nowrap;font-size:12px}}
@media(max-width:560px){.inventory-tabs{width:100%;margin-top:-2px}.inventory-tabs button{flex:1;padding:10px 8px}.inventory-filters{gap:8px}.inventory-filter select,.inventory-search input{height:44px;font-size:13px}.inventory-product-table table,.unit-stock-table table{min-width:700px}.inventory-product-table th,.inventory-product-table td,.unit-stock-table th,.unit-stock-table td{padding:12px 10px}.inventory-pagination{justify-content:space-between;gap:6px}.inventory-pagination label{order:1;width:100%}.inventory-pagination label select{width:100%}.inventory-pagination button{flex:0 0 auto}.inventory-pagination span{font-size:12px}.unit-stock-actions{flex-direction:column;align-items:stretch}.unit-stock-actions button{width:100%}}
.inventory-main .inventory-panel{padding:0;overflow:hidden}.inventory-main .inventory-panel-head{padding:20px 22px}.inventory-main .inventory-product-table,.inventory-main .unit-stock-table{border:0;border-radius:0}.inventory-main .inventory-pagination{justify-content:center!important;min-height:72px;padding:14px 22px;border-top:1px solid #e4e4e7}.inventory-main .inventory-footer-note{margin:0;padding:14px 22px;border-top:1px solid #e4e4e7;background:#fafafa;color:#71717a;font-size:11px}
.inventory-main>.inventory-heading,.inventory-main>.inventory-tabs,.inventory-main>.inventory-stats,.inventory-main>.inventory-panel,.inventory-main>.unit-stock-section,.inventory-main>.inventory-history{width:min(100%,1280px);margin-left:auto;margin-right:auto}
@media(max-width:560px){.inventory-main .inventory-panel-head{padding:16px}.inventory-main .inventory-product-table,.inventory-main .unit-stock-table{overflow-x:auto}.inventory-main .inventory-pagination{padding:14px 16px}.inventory-main .inventory-footer-note{padding:12px 16px}}
/* Mobile inventory: cards and a focused filter sheet keep the full dataset readable. */
.inventory-filter-toggle,.inventory-filter-panel,.inventory-mobile-list{display:none}
@media(max-width:560px){
  .inventory-main .inventory-panel-head{gap:14px;margin-bottom:0}
  .inventory-main .inventory-panel-head>div:first-child{display:flex;flex-direction:column;gap:4px}
  .inventory-main .inventory-panel-head h2{font-size:20px}
  .inventory-main .inventory-panel-head p{font-size:12px}
  .inventory-main .inventory-filters{display:none!important}
  .inventory-filter-toggle{width:100%;min-height:56px;padding:12px 14px;border:1px solid #e4e1e6;border-radius:13px;background:#fbf8fc;display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left}
  .inventory-filter-toggle-label{min-width:0;display:flex;align-items:center;gap:9px}
  .inventory-filter-toggle-label>.icon{width:18px;height:18px;color:#71717a;flex:none}
  .inventory-filter-toggle-text{min-width:0;display:flex;flex-direction:column}
  .inventory-filter-toggle-text strong{color:#18181b;font-size:14px}
  .inventory-filter-toggle-text small{color:#71717a;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .inventory-filter-toggle .chevron{width:16px;height:16px;color:#71717a;flex:none;transition:transform .15s}
  .inventory-filter-toggle[aria-expanded="true"] .chevron{transform:rotate(180deg)}
  .inventory-main .inventory-product-table{display:none}
  .inventory-mobile-list{display:grid;gap:10px;padding:0 16px}
  .inventory-mobile-list>.empty{display:block;margin:0;padding:28px 14px}
  .inventory-main .inventory-panel>.empty{display:none}
  .inventory-product-card{border:1px solid #e4e4e7;border-radius:14px;background:#fff;padding:14px;box-shadow:0 1px 2px #0000000a}
  .inventory-product-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding-bottom:12px;border-bottom:1px solid #f0f0f1}
  .inventory-product-card-head h3{margin:0 0 7px;color:#18181b;font-size:14px;line-height:1.3;overflow-wrap:anywhere}
  .inventory-product-card-head .badge{font-size:10px}
  .inventory-product-card-head .products-status{flex:none;margin-top:1px}
  .inventory-product-card-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:14px 0 0}
  .inventory-product-card-metrics div{min-width:0;min-height:76px;padding:10px 5px;border-radius:10px;background:#f7f7f8;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}
  .inventory-product-card-metrics dt{color:#71717a;font-size:10px;font-weight:800;line-height:1.2}
  .inventory-product-card-metrics dd{margin:6px 0 0;color:#18181b;font-size:22px;line-height:1;font-weight:800;font-variant-numeric:tabular-nums}
  .inventory-product-card-metrics div.is-zero{background:var(--error-soft)}
  .inventory-product-card-metrics div.is-zero dt,.inventory-product-card-metrics div.is-zero dd{color:#dc2626}
  .inventory-product-card-metrics small{margin-top:4px;color:#dc2626;font-size:8px;font-weight:800;line-height:1.1}
  .inventory-main .inventory-pagination{padding:14px 16px;display:grid;grid-template-columns:40px minmax(0,1fr) 40px;grid-template-rows:auto auto;gap:9px 8px;align-items:center}
  .inventory-main .inventory-pagination button{grid-row:1;width:40px}
  .inventory-main .inventory-pagination button:first-of-type{grid-column:1}
  .inventory-main .inventory-pagination span{grid-column:2;grid-row:1;text-align:center}
  .inventory-main .inventory-pagination button:last-of-type{grid-column:3}
  .inventory-main .inventory-pagination label{grid-column:1/-1;grid-row:2}
  .inventory-filter-panel.is-expanded{display:flex;flex-direction:column;gap:14px;margin:14px 0;padding:16px;border:1px solid #e4e1e6;border-radius:13px;background:#fff}
  .inventory-mobile-search,.inventory-mobile-filter-grid label{display:flex;flex-direction:column;gap:6px;color:#52525b;font-size:11px;font-weight:800;letter-spacing:.03em;text-transform:uppercase}
  .inventory-mobile-search input,.inventory-mobile-filter-grid select{width:100%;height:46px;border:1px solid #d4d4d8;border-radius:10px;background:#fff;padding:0 12px;color:#18181b;font-size:13px;text-transform:none;letter-spacing:0}
  .inventory-mobile-filter-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px 10px}
  .inventory-filter-panel.is-expanded>button{width:100%;min-height:48px;border:1px solid #d4d4d8;border-radius:11px;background:#fff;color:#18181b;font-size:13px;font-weight:800}
  .inventory-filter-panel.is-expanded>button.primary{border-color:#18181b;background:#18181b;color:#fff}
}
.inventory-unit-mobile-list{display:none}
@media(max-width:560px){
  .inventory-main .unit-stock-section{margin-top:14px}
  .inventory-main .unit-stock-panel{padding:0}
  .inventory-main .unit-stock-panel .inventory-panel-head{padding:16px;gap:12px;margin-bottom:0}
  .inventory-main .unit-stock-panel .inventory-panel-head>div:first-child{display:flex;flex:0 0 auto;min-height:0;flex-direction:column;gap:4px}
  .inventory-main .unit-stock-panel .inventory-panel-head h2{font-size:19px}
  .inventory-main .unit-stock-panel .inventory-panel-head p{max-width:34ch;font-size:12px;line-height:1.4}
  .inventory-main .unit-stock-search{width:100%;min-width:0;flex:0 0 auto}
  .inventory-main .unit-stock-search input{height:44px;font-size:13px}
  .inventory-main .unit-stock-table{display:none}
  .inventory-unit-mobile-list{display:grid;gap:10px;padding:12px 16px 0}
  .inventory-unit-mobile-card{min-width:0;padding:14px;border:1px solid #e4e4e7;border-radius:14px;background:#fff;box-shadow:0 1px 2px #0000000a}
  .inventory-unit-mobile-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding-bottom:11px;border-bottom:1px solid #f0f0f1}
  .inventory-unit-mobile-card h3{margin:0 0 7px;color:#18181b;font-size:14px;line-height:1.3;overflow-wrap:anywhere}
  .inventory-unit-mobile-card .badge{font-size:10px}
  .inventory-unit-mobile-total{flex:none;min-width:54px;padding:5px 8px;border-radius:9px;background:#f7f7f8;text-align:center}
  .inventory-unit-mobile-total span{display:block;color:#71717a;font-size:9px;font-weight:800;line-height:1;text-transform:uppercase;letter-spacing:.04em}
  .inventory-unit-mobile-total strong{display:block;margin-top:4px;color:#18181b;font-size:20px;line-height:1;font-variant-numeric:tabular-nums}
  .inventory-unit-mobile-grid{display:grid;gap:8px;margin-top:11px}
  .inventory-unit-mobile-item{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:52px;padding:8px 8px 8px 11px;border-radius:10px;background:#f7f7f8}
  .inventory-unit-mobile-item>div{display:flex;align-items:baseline;justify-content:space-between;gap:12px;min-width:0;flex:1}
  .inventory-unit-mobile-item span{min-width:0;overflow:hidden;color:#52525b;font-size:11px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}
  .inventory-unit-mobile-item strong{font-size:18px;line-height:1;font-variant-numeric:tabular-nums}
  .inventory-unit-mobile-item .unit-stock-adjust{width:34px;height:34px;margin:0;border-radius:9px;display:grid;place-items:center;color:#2563eb;background:#fff}
  .inventory-unit-mobile-item .unit-stock-adjust .icon{width:16px;height:16px}
  .unit-stock-mobile-transfer{width:100%;min-height:42px;margin-top:10px;border-radius:10px;display:flex;align-items:center;justify-content:center;gap:6px;font-size:12px;font-weight:800}
  .unit-stock-mobile-transfer .icon{width:15px;height:15px}
  .inventory-main .unit-stock-panel>.empty{margin:12px 16px 0}
  .inventory-main .unit-stock-panel .inventory-unit-pagination{margin-top:0;padding:14px 16px}
  .inventory-main .unit-stock-panel>.inventory-footer-note{padding:12px 16px;margin:0}
}
/* Pickup workspace */
.pickup-main{min-height:calc(100vh - 68px);padding:32px 24px 48px;background:#f4f4f6;color:var(--on-surface,#1b1b1e)}
.pickup-workspace{width:min(100%,1152px);margin:0 auto;display:grid;gap:24px}
.pickup-query-card,.pickup-order-card,.pickup-items-card,.pickup-history-card{background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:0 1px 2px #0000000a}
.pickup-query-card{padding:24px}
.pickup-query-form{display:grid;grid-template-columns:minmax(320px,1fr) auto;align-items:end;gap:16px}
.pickup-query-field{min-width:0}
.pickup-query-field>label{min-height:20px;margin-bottom:7px;color:#52525b;font-size:11px;font-weight:800;letter-spacing:.045em;text-transform:uppercase}
.pickup-query-field>label{display:flex;align-items:center;justify-content:space-between;gap:12px}
.pickup-query-field>label small{color:#a1a1aa;font-size:11px;font-weight:500;letter-spacing:0;text-transform:none}
.pickup-query-input{position:relative}
.pickup-query-input>.icon{position:absolute;z-index:1;left:15px;top:50%;width:18px;height:18px;color:#a1a1aa;transform:translateY(-50%);pointer-events:none}
.pickup-query-input input{width:100%;height:50px;padding:0 16px 0 46px;border:1px solid #d4d4d8;border-radius:16px;background:#fafafa;color:#18181b;font-size:16px;font-weight:800;outline:0}
.pickup-query-input input:focus{border-color:#18181b;background:#fff;box-shadow:0 0 0 2px #18181b}
.pickup-query-input input::placeholder{color:#a1a1aa;font-weight:500}
.pickup-query-submit{height:50px;padding:0 24px;border:0;border-radius:16px;background:#09090b;color:#fff;display:flex;align-items:center;justify-content:center;gap:10px;font-size:14px;font-weight:800;white-space:nowrap;box-shadow:0 2px 4px #0002}
.pickup-query-submit:active,.pickup-confirm-button:active{transform:scale(.98)}
.pickup-query-submit .icon{width:20px;height:20px}
.pickup-order-results:not(:empty){margin-top:14px}
.pickup-lookup-message{margin:0;padding:11px 14px;border-radius:12px;background:#f4f4f5;color:#52525b;font-size:12px}
.pickup-order-matches{overflow:hidden;border:1px solid #e4e4e7;border-radius:14px;background:#fff}
.pickup-order-matches button{width:100%;min-height:56px;padding:10px 14px;border:0;border-bottom:1px solid #e4e4e7;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:16px;text-align:left}
.pickup-order-matches button:last-child{border-bottom:0}
.pickup-order-matches button:hover,.pickup-order-matches button:focus-visible{background:#fafafa}
.pickup-order-matches button>span{min-width:0;display:flex;flex-direction:column}
.pickup-order-matches button>span strong{font-size:13px}
.pickup-order-matches button small{overflow:hidden;color:#71717a;font-size:11px;text-overflow:ellipsis;white-space:nowrap}
.pickup-order-matches button>strong{flex:none;font-size:13px}
.pickup-filter-note{margin-top:16px;padding-top:13px;border-top:1px solid #f4f4f5;display:flex;align-items:center;justify-content:space-between;gap:16px;color:#71717a;font-size:11px}
.pickup-filter-note>span{min-width:0;display:flex;align-items:center;gap:7px}
.pickup-filter-note .icon{width:16px;height:16px;flex:none;color:#a1a1aa}
.pickup-filter-note strong{color:#18181b}
.pickup-filter-note>small{flex:none;padding:3px 10px;border-radius:999px;background:#f4f4f5;color:#71717a;font-size:10px;font-weight:600}
.pickup-result>.pickup-empty{min-height:220px;border:1px dashed #c8c5ca;border-radius:24px;background:#fff}
.pickup-empty{padding:36px 20px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;color:#a1a1aa}
.pickup-empty>.icon{width:42px;height:42px;margin-bottom:12px;padding:9px;border-radius:50%;background:#f4f4f5}
.pickup-empty h2{margin:0 0 5px;color:#18181b;font-size:17px}
.pickup-empty p{max-width:420px;margin:0;color:#71717a;font-size:12px}
.pickup-active{display:grid;gap:24px}
.pickup-order-card{padding:24px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.pickup-order-card h2{margin:0;color:#09090b;font-size:30px;line-height:1.2;letter-spacing:-.035em}
.pickup-order-card p{margin:5px 0 0;display:flex;align-items:center;gap:11px;flex-wrap:wrap;color:#71717a;font-size:13px}
.pickup-order-card p strong{color:#18181b}
.pickup-order-card p i{font-style:normal;color:#52525b}
.pickup-active-point{flex:none;min-width:136px;padding:11px 16px;border:1px solid #27272a;border-radius:16px;background:#18181b;color:#fff;display:flex;align-items:center;gap:11px;box-shadow:0 1px 2px #0002}
.pickup-active-point>.icon{width:20px;height:20px;color:#d4d4d8}
.pickup-active-point>span{display:flex;flex-direction:column}
.pickup-active-point small{color:#a1a1aa;font-size:9px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.pickup-active-point strong{font-size:13px}
.pickup-items-card{overflow:hidden}
.pickup-items-card>header{min-height:92px;padding:20px 24px;border-bottom:1px solid #e4e4e7;display:flex;align-items:center;justify-content:space-between;gap:16px}
.pickup-items-card>header h2{margin:0;color:#18181b;font-size:18px}
.pickup-items-card>header p{margin:2px 0 0;color:#71717a;font-size:11px}
.pickup-items-card>header>button{min-height:48px;padding:0 8px;border:0;background:transparent;color:#71717a;display:flex;align-items:center;gap:7px;font-size:11px;font-weight:700}
.pickup-items-card>header>button:hover{color:#18181b}
.pickup-items-card>header>button .icon{width:16px;height:16px}
.pickup-table-wrap{overflow:hidden}
.pickup-table-wrap table{width:100%;table-layout:fixed;border-collapse:collapse}
.pickup-table-wrap col.pickup-product-col{width:36%}
.pickup-table-wrap col.pickup-action-col{width:22%}
.pickup-table-wrap th{padding:13px 16px;border-bottom:1px solid #e4e4e7;background:#fafafa;color:#71717a;font-size:10px;line-height:1.3;font-weight:800;letter-spacing:.045em;text-align:center;text-transform:uppercase;white-space:normal}
.pickup-table-wrap th:first-child{text-align:left;padding-left:24px}
.pickup-table-wrap td{height:74px;padding:12px 16px;border-bottom:1px solid #f0f0f1;color:#52525b;font-size:13px;text-align:center;overflow-wrap:anywhere}
.pickup-table-wrap tr:last-child td{border-bottom:0}
.pickup-table-wrap td:first-child{padding-left:24px;text-align:left}
.pickup-product-name{display:flex;flex-direction:column}
.pickup-product-name strong{color:#18181b;font-size:13px}
.pickup-product-name small{margin-top:2px;color:#a1a1aa;font-size:10px}
.pickup-remaining{display:inline-block;min-width:30px;padding:3px 9px;border-radius:9px;background:#f4f4f5;color:#18181b;font-size:14px}
.pickup-remaining.zero{background:#e4e4e7;color:#71717a;font-size:12px}
.pickup-counter{width:148px;margin:auto;padding:4px;border:1px solid #e4e4e7;border-radius:13px;background:#fafafa;display:flex;align-items:center;justify-content:space-between}
.pickup-counter button{width:48px;height:48px;padding:0;border:1px solid #e4e4e7;border-radius:10px;background:#fff;color:#18181b;font-size:17px;font-weight:800}
.pickup-counter button:last-child{border-color:#09090b;background:#09090b;color:#fff}
.pickup-counter output{min-width:34px;color:#18181b;font-size:14px;font-weight:800;font-variant-numeric:tabular-nums;text-align:center}
.pickup-complete{width:max-content;max-width:100%;margin:auto;padding:7px 10px;border:1px solid var(--success-line);border-radius:9px;background:var(--success-soft);color:var(--success-ink);display:inline-flex;align-items:center;justify-content:center;gap:6px;font-size:10px;font-weight:800}
.pickup-complete .icon{width:15px;height:15px}
.pickup-items-card form>footer{min-height:96px;padding:18px 24px;border-top:1px solid #e4e4e7;background:#fafafa;display:flex;align-items:center;justify-content:space-between;gap:20px}
.pickup-items-card form>footer>p{margin:0;display:flex;align-items:center;gap:8px;color:#71717a;font-size:11px}
.pickup-items-card form>footer>p .icon{width:18px;height:18px;flex:none}
.pickup-confirm-button{min-height:56px;padding:0 28px;border:0;border-radius:16px;background:#09090b;color:#fff;display:flex;align-items:center;justify-content:center;gap:10px;font-size:14px;font-weight:800;box-shadow:0 3px 7px #0002}
.pickup-confirm-button .icon{width:20px;height:20px}
.pickup-history-card{padding:22px 24px}
.pickup-mobile-history{padding:0;overflow:hidden;border-radius:13px;background:#fbf8fc}
.pickup-mobile-history summary{min-height:68px;padding:12px 14px;display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;list-style:none}
.pickup-mobile-history summary::-webkit-details-marker{display:none}
.pickup-mobile-history-title{min-width:0;display:flex;align-items:center;gap:9px}
.pickup-mobile-history-title>.icon{width:20px;height:20px}
.pickup-mobile-history-title>span{min-width:0;display:flex;flex-direction:column}
.pickup-mobile-history-title strong{color:#18181b;font-size:13px}
.pickup-mobile-history-title small{color:#71717a;font-size:10px}
.pickup-mobile-history-chevron{width:18px;height:18px;color:#71717a;transition:transform .15s}
.pickup-mobile-history[open] .pickup-mobile-history-chevron{transform:rotate(180deg)}
.pickup-mobile-history .pickup-history-list{padding:12px;border-top:1px solid #c8c5ca;background:#fff}
.pickup-mobile-history .pickup-history-list>article{padding:11px 12px;border-radius:11px}
.pickup-mobile-history .pickup-history-list article p{gap:6px}
.pickup-mobile-history .pickup-history-complete{align-self:flex-start}
.pickup-mobile-history .pickup-empty{min-height:120px;padding:18px}
.pickup-history-list{display:grid;gap:10px}
.pickup-history-list>article{min-height:72px;padding:13px 16px;border:1px solid #e4e4e7;border-radius:15px;background:#fafafa;display:flex;align-items:center;justify-content:space-between;gap:18px}
.pickup-history-list article p{margin:0 0 3px;display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:12px}
.pickup-history-list article p>span{color:#71717a}
.pickup-history-list article p .icon{width:16px;height:16px;color:#71717a}
.pickup-history-list article .badge{position:static;padding:2px 7px;background:#18181b;color:#fff;font-size:9px}
.pickup-history-list article small{display:block;margin-top:2px;color:#71717a;font-size:11px}
.pickup-history-list article small strong{color:#18181b}
.pickup-history-list article small.order-history-actor{color:#a1a1aa;font-style:italic}
.pickup-history-complete{flex:none;padding:6px 11px;border:1px solid var(--success-line);border-radius:10px;background:var(--success-soft);color:var(--success-ink);display:flex;align-items:center;gap:6px;font-size:10px;font-weight:800}
.pickup-history-complete .icon{width:15px;height:15px}
.pickup-history-list>.pickup-empty{min-height:130px;padding:20px;border:1px dashed #d4d4d8;border-radius:14px}
.pickup-review-dialog{position:relative;max-width:560px;padding:0;overflow-x:hidden;overflow-y:auto}
.pickup-review-dialog>h2{margin:0;padding:20px 54px 2px 20px;background:#18181b;color:#fff;font-size:18px}
.pickup-review-dialog>.dialog-subtitle{margin:0;padding:0 54px 18px 20px;background:#18181b;color:#a1a1aa}
.pickup-dialog-close{position:absolute;z-index:1;right:12px;top:12px;width:44px;min-height:44px!important;padding:0!important;border:0!important;background:transparent!important;color:#a1a1aa}
.pickup-dialog-close:hover{color:#fff}
.pickup-dialog-close .icon{width:20px;height:20px}
.pickup-dialog-body{padding:20px;display:grid;gap:16px}
.pickup-review-identity{padding:13px 15px;border-radius:14px;background:#f4f4f5;display:flex;align-items:center;justify-content:space-between;gap:20px}
.pickup-review-identity>span{display:flex;flex-direction:column}
.pickup-review-identity>span:last-child{text-align:right}
.pickup-review-identity small,.pickup-review-products h3{color:#71717a;font-size:9px;font-weight:800;letter-spacing:.045em;text-transform:uppercase}
.pickup-review-identity strong{font-size:13px}
.pickup-review-products h3{margin:0 0 8px}
.pickup-review-products{min-width:0}
.pickup-review-products article{padding:12px;border:1px solid #e4e4e7;border-bottom:0;background:#fafafa;display:flex;align-items:center;justify-content:space-between;gap:14px;font-size:11px}
.pickup-review-products article:first-of-type{border-radius:13px 13px 0 0}
.pickup-review-products article:last-child{border-bottom:1px solid #e4e4e7;border-radius:0 0 13px 13px}
.pickup-review-products article>span{min-width:0;display:flex;flex-direction:column}
.pickup-review-products article>span strong{overflow-wrap:anywhere}
.pickup-review-products article small{color:#71717a}
.pickup-review-products article>strong{flex:none;padding:5px 8px;border-radius:8px;background:#e4e4e7}
.pickup-review-warning{padding:14px;border:1px solid #d4d4d8;border-radius:14px;background:#f4f4f5;display:flex;align-items:flex-start;gap:10px}
.pickup-review-warning>.icon{width:20px;height:20px;flex:none}
.pickup-review-warning>span{display:flex;flex-direction:column;font-size:11px}
.pickup-review-warning small{margin-top:3px;color:#71717a}
.pickup-review-dialog .pickup-dialog-actions{margin:0;padding:14px 20px;border-top:1px solid #e4e4e7;background:#f4f4f5}
.pickup-review-dialog .pickup-dialog-actions button{min-height:48px}
.pickup-review-dialog .pickup-dialog-actions button:last-child{display:flex;align-items:center;justify-content:center;gap:8px}
.pickup-review-dialog .pickup-dialog-actions .icon{width:18px;height:18px}
.pickup-success-dialog{max-width:440px;padding:28px;text-align:center;overflow-x:hidden}.pickup-success-dialog[open]{display:flex;flex-direction:column}.pickup-success-dialog>h2{order:3}.pickup-success-dialog>.pickup-success-icon{order:1}.pickup-success-dialog>.pickup-success-label{order:2;align-self:center}.pickup-success-dialog>p{order:4}.pickup-success-dialog>.pickup-success-message{order:5}.pickup-success-dialog>.actions{order:6}
.pickup-success-dialog>h2{margin:13px 0 4px;font-size:20px}
.pickup-success-icon{width:64px;height:64px;margin:0 auto 14px;border-radius:50%;background:#09090b;color:#fff;display:grid;place-items:center;box-shadow:0 4px 12px #0002}
.pickup-success-icon .icon{width:31px;height:31px}
.pickup-success-label{display:inline-block;padding:4px 11px;border-radius:999px;background:#f4f4f5;color:#52525b;font-size:9px;font-weight:800;letter-spacing:.05em;text-transform:uppercase}
.pickup-success-dialog>p{margin:8px 0 0;color:#52525b;font-size:13px}
.pickup-success-message{margin:17px 0;padding:15px;border:1px solid #e4e4e7;border-radius:15px;background:#fafafa;display:flex;flex-direction:column;gap:4px;font-size:11px}
.pickup-success-message strong{font-size:13px}
.pickup-success-message span{color:#71717a}
.pickup-success-dialog .actions{margin-top:0}
.pickup-success-dialog .actions button{width:100%;min-height:54px}

@media(max-width:920px){
  .pickup-main{padding:24px 18px 40px}
  .pickup-query-form{grid-template-columns:1fr auto}
  .pickup-query-field{grid-column:1/-1}
  .pickup-table-wrap col.pickup-product-col{width:32%}
  .pickup-table-wrap col.pickup-action-col{width:24%}
  .pickup-table-wrap th,.pickup-table-wrap td{padding-left:10px;padding-right:10px}
  .pickup-table-wrap th:first-child,.pickup-table-wrap td:first-child{padding-left:18px}
}
@media(max-width:700px){
  .pickup-main{padding:14px 12px 32px}
  .pickup-workspace,.pickup-active{gap:16px}
  .pickup-query-card,.pickup-order-card,.pickup-items-card,.pickup-history-card{border-radius:18px}
  .pickup-query-card{padding:16px}
  .pickup-query-form{grid-template-columns:1fr}
  .pickup-query-field{grid-column:auto}
  .pickup-query-submit{width:100%;min-height:56px}
  .pickup-filter-note{align-items:flex-start}
  .pickup-filter-note>small{display:none}
  .pickup-order-card{padding:18px;align-items:flex-start;flex-direction:column}
  .pickup-order-card h2{font-size:25px}
  .pickup-order-card p{gap:6px 9px}
  .pickup-active-point{min-width:0}
  .pickup-items-card>header{padding:16px}
  .pickup-items-card>header>button{margin-right:-6px}
  .pickup-table-wrap{padding:8px 12px}
  .pickup-table-wrap colgroup,.pickup-table-wrap thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
  .pickup-table-wrap table,.pickup-table-wrap tbody,.pickup-table-wrap tr,.pickup-table-wrap td{display:block;width:100%}
  .pickup-table-wrap tr{margin:8px 0;padding:8px 12px;border:1px solid #e4e4e7;border-radius:14px;background:#fff}
  .pickup-table-wrap tr.is-complete{background:#fafafa}
  .pickup-table-wrap td,.pickup-table-wrap td:first-child{height:auto;min-height:42px;padding:7px 0;border:0;display:grid;grid-template-columns:minmax(108px,40%) minmax(0,1fr);align-items:center;gap:12px;text-align:right}
  .pickup-table-wrap td::before{content:attr(data-label);color:#71717a;font-size:9px;font-weight:800;letter-spacing:.04em;text-align:left;text-transform:uppercase}
  .pickup-product-name{min-width:0;align-items:flex-end}
  .pickup-product-name strong{overflow-wrap:anywhere;text-align:right}
  .pickup-counter,.pickup-complete{margin:0 0 0 auto}
  .pickup-items-card form>footer{padding:16px;align-items:stretch;flex-direction:column}
  .pickup-items-card form>footer>p{align-items:flex-start}
  .pickup-confirm-button{width:100%}
  .pickup-history-card{padding:18px}
  .pickup-history-card>header{align-items:flex-start}
  .pickup-history-list>article{align-items:flex-start;flex-direction:column}
  .pickup-history-complete{align-self:flex-start}
  .pickup-review-dialog .pickup-dialog-actions{align-items:stretch;flex-direction:column-reverse}
  .pickup-review-dialog .pickup-dialog-actions button{width:100%}
}
@media(max-width:430px){
  .pickup-query-field>label{align-items:flex-start;flex-direction:column;gap:1px}
  .pickup-query-input input{font-size:14px}
  .pickup-filter-note>span{align-items:flex-start}
  .pickup-order-card p{align-items:flex-start;flex-direction:column;gap:2px}
  .pickup-order-card p i{display:none}
  .pickup-items-card>header{align-items:flex-start}
  .pickup-items-card>header>button{min-width:48px;font-size:0}
  .pickup-items-card>header>button .icon{width:20px;height:20px}
  .pickup-table-wrap{padding-left:8px;padding-right:8px}
  .pickup-table-wrap tr{padding-left:10px;padding-right:10px}
  .pickup-table-wrap td,.pickup-table-wrap td:first-child{grid-template-columns:minmax(92px,38%) minmax(0,1fr)}
  .pickup-counter{width:144px}
  .pickup-review-identity{align-items:flex-start;flex-direction:column;gap:10px}
  .pickup-review-identity>span:last-child{text-align:left}
  .pickup-review-products article{align-items:flex-start;flex-direction:column}
  .pickup-review-products article>strong{align-self:flex-start}
  .pickup-success-dialog{padding:22px 18px}
}

/* Cashier order mode and paginated order search */
.order-mode-switch{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:2px 0 14px;padding:4px;border:1px solid #e4e4e7;border-radius:14px;background:#f4f4f5}
.order-mode-switch button{min-width:0;min-height:44px;padding:8px 10px;border:0;border-radius:10px;background:transparent;color:#52525b;font-size:12px;font-weight:800;line-height:1.2}
.order-mode-switch button:hover{background:#e4e4e7;color:#18181b}.order-mode-switch button.active{background:#18181b;color:#fff;box-shadow:0 1px 3px #0002}
.cashier-order-fields{min-width:0}.cashier-order-fields .customer-field{margin-top:0}.cashier-order-fields .customer-field input,.cashier-order-fields .lookup-input input{height:44px}.cashier-order-fields .lookup-input>span{top:12px}.cashier-order-fields .lookup-row>button{min-height:44px;height:44px}.cashier-order-fields .lookup-message:empty{display:none}.cashier-order-fields .lookup-message{margin-bottom:0}
.active-order{overflow:hidden}.active-order>div{align-items:flex-start}.active-order-identity{min-width:0;display:flex;align-items:baseline;gap:5px;flex:1;flex-wrap:wrap;line-height:1.25}.active-order-identity>strong{font-size:13px;white-space:nowrap}.active-order-identity>span{min-width:0;color:#d4d4d8;font-size:14px;font-weight:600;overflow-wrap:anywhere}.active-order>div>button{flex:none;min-width:44px;min-height:44px;margin:-12px -10px -10px auto;display:grid;place-items:center}
.order-search-dialog{max-width:640px;padding:0 20px 18px;overflow-x:hidden;overflow-y:auto}.order-search-dialog>h2{margin:0 -20px;padding:20px 64px 3px 20px;background:#18181b;color:#fff}.order-search-dialog>.dialog-subtitle{margin:0 -20px;padding:0 64px 18px 20px;background:#18181b;color:#a1a1aa}.order-search-results{min-width:0;padding-top:18px}.order-search-summary{margin:0 0 10px;color:#52525b;font-size:12px;font-weight:700}.order-search-list{overflow:hidden;border:1px solid #e4e4e7;border-radius:14px;background:#fff}.order-search-list button{width:100%;min-height:64px;padding:11px 14px;border:0;border-bottom:1px solid #e4e4e7;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:18px;text-align:left}.order-search-list button:last-child{border-bottom:0}.order-search-list button:hover,.order-search-list button:focus-visible{background:#f4f4f5}.order-search-list button>span{min-width:0;display:flex;flex-direction:column;gap:2px}.order-search-list button>span strong{font-size:13px}.order-search-list button small{color:#71717a;font-size:11px;white-space:normal;overflow-wrap:anywhere}.order-search-list button>strong{flex:none;font-size:13px;white-space:nowrap}
.order-search-state{min-height:145px;padding:24px;border:1px dashed #d4d4d8;border-radius:14px;background:#fafafa;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;text-align:center;color:#71717a;font-size:12px}.order-search-state strong{color:#18181b;font-size:14px}.order-search-state .loading{padding:0}.order-search-footer{margin-top:14px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px}.order-search-footer button{min-height:44px}.order-search-footer button:last-child{justify-self:end}.order-search-footer span{color:#71717a;font-size:11px;text-align:center;white-space:nowrap}.order-search-selecting{margin:0 0 10px;padding:9px 11px;border-radius:10px;background:#f4f4f5;color:#52525b;font-size:12px;font-weight:700}.order-search-dialog>.actions button{min-height:44px}
@media(max-width:420px){.order-search-dialog{padding-left:12px;padding-right:12px}.order-search-dialog>h2,.order-search-dialog>.dialog-subtitle{margin-left:-12px;margin-right:-12px;padding-left:12px;padding-right:44px}.order-search-list button{align-items:flex-start;flex-direction:column;gap:6px}.order-search-footer{grid-template-columns:1fr 1fr}.order-search-footer span{grid-column:1/-1;grid-row:1}.order-search-footer button{width:100%}}
@media(max-width:340px){.order-mode-switch{grid-template-columns:1fr}.lookup-row{flex-direction:column}.cashier-order-fields .lookup-row>button{width:100%;justify-content:center}}


/* Cashier mobile workspace */
.mobile-event-label,.mobile-product-stock{display:none}
@media(max-width:1160px){
  body.mobile-cart-open{overflow:hidden}
  .cashier-pos-header{min-height:88px;height:auto;padding:10px 12px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}
  .cashier-pos-header .pos-brand{min-width:0;gap:9px}.cashier-pos-header .pos-brand img{width:38px;height:38px}.cashier-pos-header .pos-brand strong{font-size:15px;letter-spacing:-.05em;white-space:nowrap}.cashier-pos-header .pos-brand .desktop-brand-label{display:none}.cashier-pos-header .pos-brand .mobile-event-label{display:block;max-width:135px;margin-top:3px;color:#a1a1aa;font-size:10px;line-height:1.25;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .cashier-pos-header .header-actions{min-width:0;margin-left:0;align-items:flex-end;flex-direction:column-reverse;gap:5px}.cashier-pos-header .connection-status{min-height:22px;padding:2px 7px;font-size:9px}.cashier-pos-header .connection-status span{display:inline}.cashier-pos-header .connection-status i{width:6px;height:6px}.cashier-pos-header .mode-nav{gap:2px;padding:3px}.cashier-pos-header .mode-nav a{height:32px;min-width:62px;padding:0 8px;justify-content:center;gap:4px;font-size:10px}.cashier-pos-header .mode-nav a span{display:inline}.cashier-pos-header .mode-nav .icon{width:14px;height:14px}
  .cashier-main{width:100%;max-width:none;height:auto;min-height:calc(100dvh - 88px);overflow:visible;background:#f4f4f6}
  .cashier-grid.cashier-mobile-layout{display:block;width:100%;height:auto;min-width:0}
  .cashier-mobile-layout .catalog-panel{width:100%;padding:12px 12px calc(158px + env(safe-area-inset-bottom));overflow:visible}
  .mobile-order-card{min-width:0;margin-bottom:14px;padding:13px;border:1px solid #e4e4e7;border-radius:16px;background:#fff;box-shadow:0 1px 2px #0000000d}
  .mobile-order-card>header{margin-bottom:10px;display:flex;align-items:center;gap:7px;color:#18181b;font-size:12px;text-transform:uppercase;letter-spacing:.035em}.mobile-order-card>header>span{width:30px;height:30px;border-radius:9px;background:#f4f4f5;display:grid;place-items:center}.mobile-order-card>header .icon{width:16px;height:16px}
  .mobile-order-card .order-mode-switch{margin:0 0 11px}.mobile-order-card .cashier-order-fields{min-width:0}.mobile-order-card .customer-field{font-size:10px}.mobile-order-card .customer-field small{display:inline}.mobile-order-card .customer-field input,.mobile-order-card .lookup-input input{min-height:48px;height:48px;font-size:14px}.mobile-order-card .lookup-input>span{top:14px}.mobile-order-card .lookup-row>button{height:48px;min-height:48px;padding:0 11px}.mobile-order-card .lookup-message{margin-top:7px}.mobile-order-card .recent-orders-list button{min-height:48px}
  .mobile-catalog-heading{margin:3px 2px 9px;display:flex;align-items:center;justify-content:space-between;gap:12px}.mobile-catalog-heading h1{margin:0;color:#09090b;font-size:18px;line-height:1.2;letter-spacing:-.025em}.mobile-catalog-heading span{color:#71717a;font-size:9px;font-weight:800;letter-spacing:.06em;text-align:right;text-transform:uppercase}
  .mobile-product-search{width:100%;max-width:none;margin:0 0 11px}.mobile-product-search input{height:46px;padding-left:40px;background:#fff;font-size:13px}.mobile-product-search>button{width:40px;height:40px}
  .cashier-mobile-layout .pos-catalog{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .cashier-mobile-layout .pos-product{min-height:0;padding:10px;border-radius:16px}.cashier-mobile-layout .pos-product.is-selected{padding:9px}.cashier-mobile-layout .pos-product-visual{aspect-ratio:1.2/1;border-radius:11px}.cashier-mobile-layout .product-location{top:7px;left:7px;padding:3px 6px;font-size:9px}.cashier-mobile-layout .stock-badge{right:7px;bottom:7px;display:inline-flex;padding:3px 6px;border:0;border-radius:5px;background:#09090bd9;color:#fff;font-size:9px;font-weight:800;font-variant-numeric:tabular-nums;box-shadow:0 1px 2px #0003}.cashier-mobile-layout .pos-product-copy{padding-top:8px}.cashier-mobile-layout .pos-product-copy h3{margin-bottom:0;font-size:13px}.cashier-mobile-layout .pos-product>footer{padding-top:8px;align-items:stretch;flex-direction:column}.cashier-mobile-layout .pos-product>footer>strong{align-self:center;font-size:14px}.cashier-mobile-layout .product-counter{width:100%;justify-content:space-between}.cashier-mobile-layout .product-counter button{width:48px;height:48px;border-radius:11px}.cashier-mobile-layout .product-counter output{font-size:14px}
  .cashier-mobile-layout .pos-product.is-sold-out{grid-column:1/-1;min-height:92px;padding:9px;display:grid;grid-template-columns:74px minmax(0,1fr) auto;grid-template-rows:auto;align-items:center;gap:10px}.cashier-mobile-layout .pos-product.is-sold-out .pos-product-visual{width:74px;height:74px;aspect-ratio:auto;grid-column:1;grid-row:1}.cashier-mobile-layout .pos-product.is-sold-out .soldout-ribbon{padding:4px 6px;font-size:9px}.cashier-mobile-layout .pos-product.is-sold-out .pos-product-copy{min-width:0;padding:0;grid-column:2;grid-row:1}.cashier-mobile-layout .pos-product.is-sold-out .pos-product-copy h3{min-height:0}.cashier-mobile-layout .pos-product.is-sold-out>footer{min-width:0;margin:0;padding:0;border:0;grid-column:3;grid-row:1;align-items:flex-end}.cashier-mobile-layout .pos-product.is-sold-out .unavailable{padding:6px 7px;font-size:9px}
  .mobile-active-order{margin-top:10px;padding:9px;border:1px solid #d4d4d8;background:#fafafa;color:#18181b}.mobile-active-order .mobile-active-order-main{display:grid;grid-template-columns:36px minmax(0,1fr) auto 44px;align-items:center;gap:8px}.mobile-order-number{width:36px;height:36px;border-radius:50%;background:#e4e4e7;color:#09090b;display:grid;place-items:center;font-size:12px;font-weight:800}.mobile-active-order-identity{min-width:0;display:flex;flex-direction:column}.mobile-active-order-identity strong{font-size:13px;overflow-wrap:anywhere}.mobile-active-order-identity small{font-size:10px}.mobile-active-order .mobile-order-details{min-width:0;min-height:44px;margin:0;padding:0 8px;border:1px solid #d4d4d8;border-radius:9px;background:#fff;color:#18181b;display:flex;align-items:center;gap:4px;font-size:10px;font-weight:800}.mobile-active-order .mobile-order-details .icon{width:14px;height:14px}.mobile-active-order .mobile-order-unlink{width:44px;min-width:44px;min-height:44px;margin:0;padding:0;border:0;background:transparent;color:#71717a}.mobile-active-order footer{margin-top:7px;padding-top:7px;border-color:#e4e4e7;color:#71717a}.mobile-active-order footer>span strong{color:#18181b}
  .mobile-cart-sheet{position:fixed;z-index:50;left:50%;right:auto;bottom:0;width:min(100%,420px);height:auto;max-height:calc(100dvh - 88px);border:1px solid #d4d4d8;border-bottom:0;border-radius:24px 24px 0 0;background:#fff;box-shadow:0 -10px 30px #09090b1f;transform:translateX(-50%);overflow:hidden;display:flex;flex-direction:column;padding-bottom:env(safe-area-inset-bottom)}
  .mobile-cart-sheet.is-expanded{height:min(76dvh,680px)}.mobile-cart-sheet.is-collapsed{height:auto}
  .mobile-cart-toggle{width:100%;height:auto;min-height:78px;padding:9px 14px 8px;border:0;border-radius:24px 24px 0 0;background:#fff;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;text-align:left}.mobile-drawer-handle{grid-column:1/-1;width:40px;height:5px;margin:0 auto 2px;border-radius:999px;background:#d4d4d8}.mobile-cart-overview{min-width:0;display:flex;align-items:center;gap:9px}.mobile-cart-icon{position:relative;width:40px;height:40px;border-radius:11px;background:#09090b;color:#fff;display:grid;place-items:center}.mobile-cart-icon .icon{width:19px;height:19px}.mobile-cart-icon b{position:absolute;right:-4px;top:-5px;min-width:18px;height:18px;padding:0 4px;border:2px solid #fff;border-radius:999px;background:#2563eb;color:#fff;display:grid;place-items:center;font-size:9px;line-height:1}.mobile-cart-copy{min-width:0;display:flex;flex-direction:column}.mobile-cart-copy strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobile-cart-copy small{font-size:9px}.mobile-cart-toggle>output{font-size:13px;font-weight:800;white-space:nowrap}
  .mobile-cart-sheet .cart-content{flex:1;min-height:0;height:auto;border-top:1px solid #f4f4f5}.mobile-cart-sheet .cart-content[hidden]{display:none}.mobile-cart-list-heading{padding:10px 14px 8px;display:flex;align-items:center;justify-content:space-between}.mobile-cart-list-heading>h2{margin:0;flex:1;min-width:0;display:flex;flex-direction:column;font:inherit;outline-offset:4px}.mobile-cart-close{width:44px;min-width:44px;min-height:44px;margin-left:4px;padding:0;border:0;border-radius:9px;background:transparent;color:var(--muted);display:grid;place-items:center}.mobile-cart-close:hover{background:var(--soft);color:var(--graphite)}.mobile-cart-close .icon{width:18px;height:18px}.mobile-cart-scrim{position:fixed;inset:0;z-index:49;background:rgba(9,9,11,.35)}.mobile-cart-scrim[hidden]{display:none}.mobile-cart-list-heading span{font-size:10px;color:#71717a;text-transform:uppercase;font-weight:800}.mobile-cart-list-heading strong{font-size:11px}.mobile-cart-list-heading .clear-cart{min-width:48px;min-height:44px;padding:6px}
  .mobile-cart-sheet .cart-body{padding:0 14px 8px;overflow-y:auto}.mobile-cart-sheet .cart-empty{min-height:130px}.mobile-cart-sheet .cart-line{margin-bottom:8px;padding:9px}.mobile-cart-sheet .cart-line>div>button{width:44px;height:44px;margin-top:-7px;margin-right:-7px;display:grid;place-items:center}.mobile-cart-sheet .cart-line .counter button{width:48px;height:48px;border-radius:10px}.mobile-cart-sheet .cart-line .counter output{min-width:24px}.mobile-cart-sheet .cart-line-issue button{min-height:44px;flex:1 1 auto}.mobile-cart-sheet .cart-footer{padding:10px 14px max(10px,env(safe-area-inset-bottom));flex:none}.mobile-cart-sheet .cart-total output{font-size:23px}.mobile-cart-sheet .checkout-button{min-height:56px;height:56px;margin-top:11px}.mobile-cart-sheet .mode-badge{margin-top:7px}
  .mobile-cart-collapsed-action{padding:0 14px max(12px,env(safe-area-inset-bottom))}.mobile-cart-collapsed-action[hidden]{display:none}.mobile-cart-collapsed-action button{width:100%;min-height:52px;padding:8px 13px;border:0;border-radius:12px;background:#09090b;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;font-weight:800;box-shadow:0 3px 7px #0002}.mobile-cart-collapsed-action button>span{display:flex;align-items:center;gap:7px}.mobile-cart-collapsed-action .icon{width:18px;height:18px}.mobile-cart-collapsed-action output{font-size:13px;white-space:nowrap}
  #notifications{bottom:calc(150px + env(safe-area-inset-bottom))}
  dialog{max-height:calc(100dvh - 24px);overflow-x:hidden;overflow-y:auto}
}
@media(max-width:359px){
  .cashier-mobile-layout .pos-catalog{grid-template-columns:1fr}.cashier-mobile-layout .pos-product.is-sold-out{grid-column:1}.mobile-order-card .order-mode-switch{grid-template-columns:repeat(2,minmax(0,1fr))}.mobile-order-card .order-mode-switch button{padding-left:4px;padding-right:4px;font-size:10px}.mobile-order-card .lookup-row{flex-direction:column}.mobile-order-card .lookup-row>button{width:100%;justify-content:center}.mobile-active-order .mobile-active-order-main{grid-template-columns:34px minmax(0,1fr) 44px}.mobile-active-order .mobile-order-details{grid-column:1/-1;justify-content:center}.mobile-active-order .mobile-order-unlink{grid-column:3;grid-row:1}.mobile-cart-copy small{display:none}
}


/* Pickup mobile workspace */
.pickup-submit-label-mobile,.pickup-mobile-only,.pickup-mobile-item-count{display:none}
@media(max-width:700px){
  .pickup-pos-header{width:100%;max-width:none;min-height:88px;height:auto;margin:0;padding:10px 12px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}
  .pickup-pos-header .pos-brand{min-width:0;gap:9px}.pickup-pos-header .pos-brand img{width:38px;height:38px}.pickup-pos-header .pos-brand strong{font-size:15px;letter-spacing:-.05em;white-space:nowrap}.pickup-pos-header .pos-brand .desktop-brand-label{display:none}.pickup-pos-header .pos-brand .mobile-event-label{display:block;max-width:135px;margin-top:2px;color:#a1a1aa;font-size:10px;line-height:1.25;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .pickup-pos-header .header-actions{min-width:0;margin-left:0;align-items:flex-end;flex-direction:column-reverse;gap:5px}.pickup-pos-header .connection-status{min-height:22px;padding:2px 7px;font-size:9px}.pickup-pos-header .connection-status span{display:inline}.pickup-pos-header .connection-status i{width:6px;height:6px}.pickup-pos-header .mode-nav{gap:2px;padding:3px}.pickup-pos-header .mode-nav a{height:32px;min-width:62px;padding:0 8px;justify-content:center;gap:4px;font-size:10px}.pickup-pos-header .mode-nav a span{display:inline}.pickup-pos-header .mode-nav .icon{width:14px;height:14px}
  .pickup-main{width:100%;max-width:none;min-height:calc(100dvh - 88px);padding:0;background:#f4f4f6;overflow-x:hidden}
  .pickup-workspace{width:100%;max-width:none;min-height:calc(100dvh - 88px);margin:0;padding:14px 16px 28px;gap:14px;background:#fff}.pickup-workspace.has-active-order{padding-bottom:calc(132px + env(safe-area-inset-bottom))}
  .pickup-query-card{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
  .pickup-query-form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px}
  .pickup-query-field{grid-column:1;grid-row:1}.pickup-query-submit{grid-column:2;grid-row:1;width:auto;min-width:106px;height:48px;min-height:48px;padding:0 12px;border-radius:12px;gap:6px;font-size:13px}.pickup-submit-label-desktop{display:none}.pickup-submit-label-mobile{display:inline}
  .pickup-query-field>label{min-height:0;margin-bottom:6px;font-size:10px}.pickup-query-field>label{display:block}.pickup-query-field>label small{display:none}.pickup-query-input input{height:48px;padding-left:40px;border-radius:12px;background:#f6f2f7;font-size:14px}.pickup-query-input>.icon{left:13px;width:18px;height:18px}
  .pickup-order-results:not(:empty){margin-top:10px}.pickup-order-matches{border-radius:12px}.pickup-order-matches button{min-height:58px;padding:10px 12px}.pickup-order-matches button small{white-space:normal;overflow-wrap:anywhere}.pickup-filter-note{display:none}
  .pickup-result>.pickup-empty{min-height:190px;border-radius:16px}.pickup-empty{padding:28px 16px}
  .pickup-active{gap:16px}.pickup-order-card-desktop{display:none}.pickup-mobile-only{display:block}
  .pickup-mobile-order-card{padding:14px;border-radius:16px}.pickup-mobile-order-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.pickup-mobile-order-card h2{margin:0;font-size:21px;letter-spacing:-.025em}.pickup-mobile-order-card header p{margin:2px 0 0;color:#18181b;font-size:13px;font-weight:600}.pickup-mobile-location{flex:none;padding:4px 10px;border-radius:999px;background:#09090b;color:#fff;font-size:9px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.pickup-mobile-order-meta{margin-top:10px;padding-top:9px;border-top:1px solid #e4e1e6;display:flex}.pickup-mobile-order-meta>span{display:flex;flex-direction:column}.pickup-mobile-order-meta small{color:#78767b;font-size:9px;font-weight:700;text-transform:uppercase}.pickup-mobile-order-meta strong{color:#18181b;font-size:13px}
  .pickup-items-card{overflow:visible;border:0;border-radius:0;background:transparent;box-shadow:none}.pickup-items-card>header{min-height:0;padding:0;border:0;align-items:center}.pickup-items-card>header>div{min-width:0}.pickup-items-heading{display:flex;align-items:center;gap:7px}.pickup-items-card>header h2{font-size:14px;letter-spacing:.035em;text-transform:uppercase}.pickup-items-card>header p{display:none}.pickup-mobile-item-count{width:21px;height:21px;border-radius:50%;background:#09090b;color:#fff;align-items:center;justify-content:center;font-size:11px;font-weight:800}.pickup-items-card>header .pickup-mobile-item-count{display:inline-flex}.pickup-items-card>header>button{min-width:110px;min-height:44px;margin:0;padding:0 2px;justify-content:flex-end;color:#52525b;font-size:11px;text-decoration:underline;text-underline-offset:2px}.pickup-items-card>header>button .icon{width:14px;height:14px}
  .pickup-table-wrap{padding:0;overflow:visible}.pickup-table-wrap colgroup,.pickup-table-wrap thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.pickup-table-wrap table,.pickup-table-wrap tbody{display:block;width:100%}.pickup-table-wrap tr{width:100%;margin:10px 0 0;padding:12px;border:1px solid #c8c5ca;border-radius:13px;background:#fff;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;box-shadow:0 1px 2px #0000000a}.pickup-table-wrap tr.is-complete{background:#f6f2f7}.pickup-table-wrap td,.pickup-table-wrap td:first-child{width:auto;height:auto;min-height:0;padding:0;border:0;display:flex;align-items:center;justify-content:center;gap:2px;text-align:center}.pickup-table-wrap td::before{content:attr(data-label);color:#78767b;font-size:9px;font-weight:600;letter-spacing:0;text-align:center;text-transform:none}.pickup-table-wrap td:first-child{grid-column:1/-1;justify-content:flex-start;padding-bottom:10px}.pickup-table-wrap td:first-child::before{display:none}.pickup-product-name{min-width:0;align-items:flex-start}.pickup-product-name strong{color:#18181b;font-size:15px;line-height:1.25;text-align:left;overflow-wrap:anywhere}.pickup-product-name small{margin-top:2px;color:#71717a;font-size:10px;text-align:left}.pickup-table-wrap td:nth-child(2),.pickup-table-wrap td:nth-child(3),.pickup-table-wrap td:nth-child(4){min-height:54px;padding:5px 3px;background:#f6f2f7;flex-direction:column}.pickup-table-wrap td:nth-child(2){border-radius:8px 0 0 8px}.pickup-table-wrap td:nth-child(3){border-right:1px solid #c8c5ca;border-left:1px solid #c8c5ca}.pickup-table-wrap td:nth-child(4){border-radius:0 8px 8px 0;background:#fff}.pickup-table-wrap tr.is-complete td:nth-child(4){background:#eae7eb}.pickup-table-wrap td:nth-child(2)>strong,.pickup-table-wrap td:nth-child(3),.pickup-remaining{color:#18181b;font-size:14px;font-weight:800}.pickup-table-wrap td:nth-child(4)::before{color:#18181b;font-weight:800;text-transform:uppercase}.pickup-remaining{min-width:0;padding:0;border-radius:0;background:transparent}.pickup-remaining.zero{background:transparent;color:#78767b;font-size:14px}.pickup-table-wrap td:nth-child(5){grid-column:1/-1;min-height:58px;margin-top:10px;padding-top:9px;border-top:1px solid #e4e1e6;justify-content:space-between;text-align:left}.pickup-table-wrap td:nth-child(5)::before{font-size:12px;font-weight:700;color:#18181b}.pickup-counter{width:144px;margin:0;padding:0;border:0;background:transparent}.pickup-counter button{width:48px;height:48px;border-radius:50%;background:#eae7eb}.pickup-counter button:last-child{border-color:#09090b;background:#09090b}.pickup-counter output{min-width:28px;font-size:18px}.pickup-complete{margin:0 0 0 auto;padding:7px 12px;border-radius:999px;font-size:11px}
  .pickup-items-card form>.pickup-mobile-action-bar{position:fixed;z-index:50;left:50%;bottom:0;width:min(100%,430px);min-height:112px;margin:0;padding:12px 14px max(10px,env(safe-area-inset-bottom));border:1px solid #c8c5ca;border-bottom:0;border-radius:0;background:#fffffff2;display:flex;align-items:stretch;justify-content:flex-start;flex-direction:column;gap:6px;box-shadow:0 -8px 20px #00000014;transform:translateX(-50%);backdrop-filter:blur(8px)}.pickup-mobile-action-bar .pickup-confirm-button{order:1;width:100%;min-height:56px;border-radius:12px;font-size:15px}.pickup-mobile-action-bar>p{order:2;display:block!important;margin:0!important;color:#71717a!important;font-size:9px!important;line-height:1.3;text-align:center}.pickup-mobile-action-bar>p .icon{display:none}
  .pickup-review-dialog{max-height:calc(100dvh - 24px)}
}
@media(max-width:350px){
  .pickup-pos-header{padding-left:12px;padding-right:12px}.pickup-pos-header .mode-nav a{min-width:56px;padding:0 6px}.pickup-workspace{padding-left:12px;padding-right:12px}.pickup-query-submit{min-width:98px;padding-left:9px;padding-right:9px}.pickup-table-wrap tr{padding-left:10px;padding-right:10px}.pickup-items-card>header>button{min-width:48px;font-size:0}.pickup-items-card>header>button .icon{width:18px;height:18px}.pickup-mobile-order-meta strong{font-size:12px}
}


/* Admin pages mobile header (Produtos, Inventário, Vendas, Usuários, Unidades) */
.mobile-nav-toggle{display:none}
@media(max-width:1160px){
  .admin-pos-header{min-height:88px;height:auto;padding:10px 12px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center}
  .admin-pos-header .pos-brand{min-width:0;gap:9px}.admin-pos-header .pos-brand img{width:38px;height:38px}.admin-pos-header .pos-brand strong{font-size:15px;letter-spacing:-.05em;white-space:nowrap}.admin-pos-header .pos-brand .desktop-brand-label{display:none}.admin-pos-header .pos-brand .mobile-event-label{display:block;max-width:135px;margin-top:2px;color:#a1a1aa;font-size:10px;line-height:1.25;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .admin-pos-header .header-actions{min-width:0;margin-left:0;align-items:center;justify-content:flex-end;gap:10px}
  /* Menu em gaveta: vale para os 3 cabeçalhos (Caixa, Retirada e páginas administrativas) —
     um admin/auditor vê todos os links em qualquer página, não só nas administrativas. */
  .pos-header .header-actions .mode-nav,.pos-header .header-actions .user-chip,.pos-header .header-actions .logout-button,.pos-header .header-actions .connection-status,.pos-header .header-actions .perfil-dropdown{display:none}
  .pos-header .mobile-nav-toggle{display:flex;width:40px;height:40px;align-items:center;justify-content:center;border:1px solid #3f3f46;border-radius:12px;background:#27272a;color:#fff;flex:none}
  .pos-header .mobile-nav-toggle .icon{width:20px;height:20px}
  .mobile-nav-backdrop{position:fixed;inset:0;z-index:59;background:rgba(9,9,11,.6);backdrop-filter:blur(2px)}
  .mobile-nav-backdrop[hidden]{display:none}
  .mobile-nav-drawer{position:fixed;z-index:60;top:0;right:0;bottom:0;width:284px;max-width:82vw;background:#000;border-left:1px solid #27272a;display:flex;flex-direction:column;box-shadow:-16px 0 34px rgba(0,0,0,.35)}
  .mobile-nav-drawer[hidden]{display:none}
  .mobile-nav-drawer-head{padding:16px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #27272a}
  .mobile-nav-drawer-head .user-chip{max-width:none;padding:0;border:0;background:transparent;gap:10px}
  .mobile-nav-drawer-head .user-chip small{display:block}
  .mobile-nav-close{width:40px;height:40px;flex:none;display:flex;align-items:center;justify-content:center;border:1px solid #3f3f46;border-radius:12px;background:#27272a;color:#fff}
  .mobile-nav-list{flex:1;overflow:auto;padding:10px;display:flex;flex-direction:column;gap:4px}
  .mobile-nav-section-label{margin:10px 14px 2px;color:#71717a;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}
  .mobile-nav-list>.mobile-nav-section-label:first-child{margin-top:2px}
  .mobile-nav-link{display:flex;align-items:center;gap:12px;padding:13px 14px;border-radius:12px;text-decoration:none;color:#d4d4d8;font-size:14px;font-weight:600}
  .mobile-nav-link .icon{width:20px;height:20px;flex:none}
  .mobile-nav-link.active{background:#fff;color:#18181b;font-weight:800}
  .mobile-nav-drawer-foot{padding:14px;border-top:1px solid #27272a;display:flex;flex-direction:column;gap:10px}
  .mobile-nav-drawer-foot .connection-status{align-self:flex-start}
  .mobile-nav-drawer-foot .connection-status span{display:inline}
  .mobile-nav-drawer-foot .logout-button{width:100%;min-height:44px;border-radius:12px;font-size:13px;text-align:center}
  .mobile-nav-drawer-foot a.logout-button{min-height:50px;padding:0 16px;border-color:#fff;background:#fff;color:#18181b;display:flex;align-items:center;justify-content:center;font-weight:800;text-decoration:none;box-shadow:0 3px 7px #0002;transition:background .15s,border-color .15s,transform .12s}
  .mobile-nav-drawer-foot a.logout-button:hover{border-color:#e4e4e7;background:#e4e4e7;color:#18181b}
  .mobile-nav-drawer-foot a.logout-button:active{transform:scale(.98)}
  .mobile-nav-drawer-foot a.logout-button:focus-visible{outline-color:#fff;outline-offset:3px}
}

/* Public menu workspace */
.public-header{position:sticky;z-index:50;top:0;padding:0;background:#18181b;color:#fff;border-bottom:1px solid #3f3f46}
.public-header-inner{width:min(100%,1680px);min-height:72px;margin:0 auto;padding:12px 32px;display:grid;grid-template-columns:minmax(250px,1fr) auto minmax(250px,1fr);align-items:center;gap:24px}
.public-brand-cluster,.public-brand{min-width:0;display:flex;align-items:center}.public-brand-cluster{gap:12px}.public-brand{gap:10px;color:#fff;text-decoration:none}.public-brand img{width:38px;height:38px;object-fit:contain;filter:invert(1)}.public-brand strong{font-size:15px;letter-spacing:-.025em;white-space:nowrap}
.public-segments{display:flex;align-items:center;justify-content:center;gap:7px}.public-segments button{min-height:44px;padding:8px 18px;border:0;border-radius:999px;background:var(--soft);color:var(--muted);display:flex;align-items:center;gap:5px;font-size:13px;font-weight:700;white-space:nowrap;transition:transform .12s,background-color .12s,color .12s}.public-segments button:hover{background:#e4e4e7;color:#18181b}.public-segments button.active{background:#18181b;color:#fff;box-shadow:0 1px 2px #0004}.public-segments button:active{transform:scale(.98)}.public-segments small{color:inherit;font-size:11px;font-weight:500;opacity:.75}
.catalog-pos-header{background:#18181b}
.menu-toolbar{max-width:1680px;margin:16px auto;padding:14px 32px;display:flex;align-items:center;justify-content:space-between;gap:24px;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 1px 2px #0000000d}
.public-search{position:relative;width:min(100%,320px);height:44px;margin:0;display:flex;align-items:center}.public-search>.icon{position:absolute;left:13px;width:18px;height:18px;color:var(--muted)}.public-search input{width:100%;height:44px;padding:9px 42px;border:1px solid var(--line);border-radius:999px;background:var(--soft);color:#18181b;font-size:12px}.public-search input::placeholder{color:var(--muted)}.public-search input:focus{border-color:#18181b;outline:2px solid #18181b;outline-offset:2px}.public-search>button{position:absolute;top:0;right:0;width:44px;height:44px;padding:8px;border:0;border-radius:50%;background:transparent;color:var(--muted)}.public-search>button:hover{background:var(--line);color:#18181b}.public-search>button .icon{width:17px;height:17px}
.public-status-strip{min-height:38px;padding:8px max(32px,calc((100vw - 1680px)/2 + 32px));border-bottom:1px solid #e4e4e7;background:#fff;color:#71717a;display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:11px}.public-view-status,.public-official{display:inline-flex;align-items:center;gap:8px}.public-view-status .icon{width:15px;height:15px;color:#18181b}.public-official{font-weight:800;letter-spacing:.045em;text-transform:uppercase}.public-official i{width:8px;height:8px;border-radius:50%;background:var(--success)}
.public-main{width:min(100%,1680px);min-height:calc(100vh - 110px);margin:0 auto;padding:32px;background:#fbf8fc}.public-unit-heading{margin:0 0 20px;color:#18181b;font-size:30px;font-weight:700;line-height:1.2;letter-spacing:-.035em}.public-update-status:empty{display:none}.public-update-status:not(:empty){margin-bottom:18px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:var(--soft);color:var(--graphite);font-size:12px}.public-main .catalog{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:20px}
.public-main .product{min-width:0;border:1px solid var(--line);border-radius:16px;background:#fff;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 1px 2px #0000000a;transition:border-color .15s,box-shadow .15s,transform .15s}.public-main .product:hover{border-color:#18181b;box-shadow:0 4px 12px #0000000d;transform:translateY(-1px)}.public-main .product.is-sold-out{background:#fafafa}.public-main .product.is-sold-out .visual img{filter:grayscale(.75);opacity:.7}.public-main .product.is-sold-out .public-product-open{cursor:default}.public-main .product.is-sold-out .carousel-arrow{opacity:.75}
.public-main .product .visual{position:relative;width:100%;height:auto;aspect-ratio:1/1;border-bottom:1px solid #e4e4e7;background:#f0edf1;display:flex;align-items:center;justify-content:center;color:#71717a;font-size:12px;text-align:center;overflow:hidden}.public-main .product .visual img{width:100%;height:100%;object-fit:cover}.public-main .product .visual>.badge{position:absolute;z-index:2;top:10px;left:10px;padding:4px 8px;border-radius:5px;font-size:10px;font-weight:800;letter-spacing:.035em;text-transform:uppercase;box-shadow:0 1px 2px #0002}.public-main .product .visual>.soldout{position:absolute;z-index:3;left:50%;top:50%;padding:7px 14px;border-radius:6px;background:#dc2626;color:#fff;font-size:12px;letter-spacing:.08em;text-transform:uppercase;transform:translate(-50%,-50%);box-shadow:0 2px 6px #0003}.public-main .product .visual>.public-product-stock{position:absolute;z-index:2;right:10px;bottom:10px;display:inline-flex;padding:4px 8px;border-radius:5px;background:#09090bd9;color:#fff;font-size:10px;font-weight:800;font-variant-numeric:tabular-nums;white-space:nowrap;box-shadow:0 1px 2px #0003}
.public-main .product .body{min-height:0;padding:16px;display:flex;flex-direction:column}.public-main .product h3{margin:0;color:#18181b;font-size:17px;line-height:1.3;font-weight:800;letter-spacing:-.02em;overflow-wrap:anywhere}.public-main .product.is-sold-out h3{color:#71717a}.public-price{margin-top:8px;padding-top:0;border-top:0;display:flex;align-items:baseline;justify-content:space-between;gap:8px}.public-price span{color:#71717a;font-size:12px}.public-price strong{color:#18181b;font-size:19px;font-weight:800;font-variant-numeric:tabular-nums;white-space:nowrap}
.public-main .empty{min-height:240px;display:flex;align-items:center;justify-content:center;flex-direction:column;background:#fff}.public-foot{margin-top:28px;padding:13px 0 0;border-top:1px solid #e4e4e7;color:#71717a;display:flex;align-items:center;justify-content:space-between;gap:18px;font-size:11px}.public-foot span{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.public-foot strong{color:#18181b}.public-foot i{color:#d4d4d8;font-style:normal}.public-staff-link{color:#71717a;text-decoration:none;white-space:nowrap}.public-staff-link:hover,.public-staff-link:focus-visible{color:#18181b;text-decoration:underline}
.public-error{max-width:540px;margin:10vh auto;padding:36px;border:1px solid #e4e4e7;border-radius:16px;background:#fff;text-align:center}.public-error>span{width:52px;height:52px;margin:0 auto 16px;border-radius:50%;background:#18181b;color:#fff;display:grid;place-items:center}.public-error h1{margin-bottom:7px;font-size:24px}.public-error p{color:#71717a}.public-error button{min-height:48px;padding:10px 18px;border:0;border-radius:10px;background:#18181b;color:#fff;font-weight:800}
@media(max-width:980px){.menu-toolbar{flex-wrap:wrap;gap:12px 20px;margin:12px 20px;padding:12px 16px}.public-segments{order:2;width:100%;justify-content:flex-start;overflow-x:auto;padding-bottom:2px}.public-search{order:1;flex:1}.public-main{padding:24px 20px}.public-status-strip{padding-right:20px;padding-left:20px}.public-main .catalog{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:16px}}
@media(max-width:560px){.menu-toolbar{margin:10px 14px;padding:12px;display:flex;align-items:stretch;flex-direction:column;gap:10px}.public-search{flex:1;width:auto;max-width:none;order:1}.public-segments{order:2;width:100%;justify-content:safe center}.public-segments button{min-height:44px;padding:8px 16px}.public-status-strip{padding:8px 14px;align-items:flex-start;font-size:10px}.public-official{white-space:nowrap}.public-main{min-height:calc(100vh - 206px);padding:18px 12px}.public-unit-heading{margin-bottom:14px;font-size:22px}.public-main .catalog{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.public-main .product{border-radius:13px}.public-main .product .visual>.badge{top:7px;left:7px;padding:3px 6px;font-size:8px}.public-main .product .soldout{padding:5px 8px;font-size:9px}.public-main .product .body{padding:12px 10px}.public-main .product h3{font-size:13px}.public-price{margin-top:7px;justify-content:flex-start;gap:6px}.public-price span{font-size:10px}.public-price strong{font-size:14px}.public-main .product .visual>.public-product-stock{right:7px;bottom:7px;padding:3px 6px;font-size:9px}.carousel-count{right:auto;left:10px}.public-foot{align-items:flex-start;flex-direction:column;gap:7px}.public-error{margin:8vh auto;padding:28px 18px}}
@media(max-width:350px){.public-main{padding-right:8px;padding-left:8px}.public-main .catalog{gap:8px}.public-main .product .body{padding-right:8px;padding-left:8px}.public-price strong{font-size:13px}}

/* Sales filters and responsive report */
.toolbar button{min-height:46px;padding:10px 18px;border:1px solid var(--line);border-radius:9px;background:#fff;color:#1b1b1e;font-weight:700}
.toolbar button.primary{background:#18181b;color:#fff;border-color:#18181b}
.sales-table{overflow:hidden}
.sales-table table{table-layout:fixed}
.sales-table th:nth-child(1){width:14%}.sales-table th:nth-child(2){width:19%}.sales-table th:nth-child(3){width:37%}.sales-table th:nth-child(4){width:13%}.sales-table th:nth-child(5){width:17%}
.sales-table td{vertical-align:top;overflow-wrap:anywhere}.sales-table .items{white-space:normal}
.sales-filter-toggle{display:none}
.sales-mobile-list{display:none}
@media(max-width:560px){
  .sales-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.sales-stats .stat{min-width:0;padding:12px 8px;text-align:center}.sales-stats .stat .muted{font-size:11px;line-height:1.3}.sales-stats .stat strong{display:block;margin-top:3px;font-size:16px;white-space:nowrap;overflow:hidden}

  #sales-filter{display:none}
  #sales-filter.is-expanded{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:start;margin-bottom:14px}
  #sales-filter.is-expanded>div{min-width:0}
  #sales-filter.is-expanded>div:nth-child(-n+2){grid-column:1/-1}
  #sales-filter.is-expanded input[type="datetime-local"]{display:block;width:100%;min-width:0;max-width:100%;box-sizing:border-box;-webkit-appearance:none;appearance:none;text-align:left}
  #sales-filter.is-expanded input[type="datetime-local"]::-webkit-date-and-time-value{min-width:0;text-align:left}
  #sales-filter.is-expanded>button{grid-column:1/-1;width:100%}
  .sales-filter-toggle{width:100%;min-height:56px;margin-bottom:14px;padding:12px 14px;border:1px solid #e4e1e6;border-radius:13px;background:#fbf8fc;display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left}
  .sales-filter-toggle-label{min-width:0;display:flex;align-items:center;gap:9px}
  .sales-filter-toggle-label>.icon{width:18px;height:18px;color:#71717a;flex:none}
  .sales-filter-toggle-text{min-width:0;display:flex;flex-direction:column}
  .sales-filter-toggle-text strong{color:#18181b;font-size:14px}
  .sales-filter-toggle-text small{color:#71717a;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .sales-filter-toggle .chevron{width:16px;height:16px;color:#71717a;flex:none;transition:transform .15s}
  .sales-filter-toggle[aria-expanded="true"] .chevron{transform:rotate(180deg)}

  .sales-note{font-size:13px}

  .sales-table{display:none}
  .sales-mobile-list{display:flex;flex-direction:column;gap:10px}
  .sale-card{border:1px solid #e4e4e7;border-radius:14px;background:#fff;padding:14px}
  .sale-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
  .sale-card-id{min-width:0;display:flex;align-items:baseline;gap:6px;overflow:hidden}
  .sale-card-id strong{flex:none;font-size:16px;color:#09090b;white-space:nowrap}
  .sale-card-id span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#71717a;font-size:13px}
  .sale-card-date{display:block;margin-top:4px;color:#a1a1aa;font-size:12px}
  .payment-badge{flex:none;padding:5px 10px;border-radius:999px;font-size:11px;font-weight:800;text-transform:uppercase}
  .payment-badge.credito{background:#18181b;color:#fff}
.payment-badge.online{background:#e0e7ff;border:1px solid #a5b4fc;color:#3730a3}
  .payment-badge.dinheiro{background:var(--success-soft);border:1px solid var(--success-line);color:var(--success-ink)}
  .sale-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;padding-top:12px;border-top:1px solid #f0f0f1}
  .sale-card-bottom strong{font-size:20px;color:#09090b;white-space:nowrap;overflow:hidden}
  .sale-details-btn{flex:none;min-height:38px;padding:0 16px;border:1px solid #d4d4d8;border-radius:10px;background:#fff;color:#27272a;font-size:13px;font-weight:800}
}

/* Pedidos workspace */
.pedidos-table td{vertical-align:top}
.pedidos-table .delivery-status,.pedido-row-top>.delivery-status,.pedido-status-line .delivery-status{font-weight:400}
.pedidos-actions{display:flex;gap:8px;flex-wrap:wrap}
.pedidos-actions button{min-height:38px;padding:0 14px;border:1px solid #d4d4d8;border-radius:9px;background:#fff;color:#27272a;font-size:12px;font-weight:800}
.pedidos-actions button:hover{border-color:#18181b}
.pedidos-actions button[data-pedido-edit],.pedido-row-actions button[data-pedido-edit]{background:#18181b;color:#fff;border-color:#18181b}
.pedidos-actions button[data-pedido-edit]:hover,.pedido-row-actions button[data-pedido-edit]:hover{background:var(--black);border-color:var(--black)}
.pedidos-mobile-list{display:none}
.pedido-row-compact{border:1px solid #e4e4e7;border-radius:12px;background:#fff;padding:10px 12px}
.pedido-row-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.pedido-row-id{min-width:0;display:flex;align-items:baseline;gap:6px}
.pedido-row-id strong{font-size:14px;color:#09090b}
.pedido-row-id span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#71717a;font-size:14px}
.pedido-row-top>.delivery-status{flex:none;font-size:14px;line-height:1.25}
.pedido-row-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:6px;font-size:12px}
.pedido-row-meta strong{margin-left:auto;font-size:14px;color:#09090b}
.pedido-row-summary{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-top:8px;min-width:0}
.pedido-row-summary .muted{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
.pedido-row-summary strong{flex:none;font-size:14px;color:#09090b;white-space:nowrap;font-variant-numeric:tabular-nums}
.pedido-row-actions{display:flex;gap:6px;margin-top:8px;padding-top:8px;border-top:1px solid #f0f0f1}
.pedido-row-actions button{flex:1;min-height:44px;padding:0 10px;border:1px solid #d4d4d8;border-radius:9px;background:#fff;color:#27272a;font-size:12px;font-weight:800}
@media(max-width:560px){
  #pedidos-filter{display:none}
  #pedidos-filter.is-expanded{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;align-items:start;margin-bottom:14px;max-width:100%}
  #pedidos-filter.is-expanded>div{min-width:0}
  #pedidos-filter.is-expanded>div:nth-child(-n+2){grid-column:1/-1}
  #pedidos-filter.is-expanded input,#pedidos-filter.is-expanded select{width:100%;max-width:100%;min-width:0;box-sizing:border-box}
  #pedidos-filter.is-expanded>button{grid-column:1/-1;width:100%}
  .pedidos-table{display:none}
  .pedidos-mobile-list{display:flex;flex-direction:column;gap:8px}
  .pedido-dialog .order-details-table td{gap:10px;padding:8px 0;font-size:13px;white-space:nowrap}
  .pedido-dialog .order-details-table td::before{flex-basis:46%;font-size:11px;white-space:nowrap}
  .pedido-dialog .order-product{max-width:54%;overflow:hidden}
  .pedido-dialog .order-product strong{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .pedido-dialog .order-product small{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}
  .pedido-dialog .order-details-table td.pedido-remove-unavailable{display:none}
  .pedido-dialog .order-details-table td.pedido-remove-cell::before{color:var(--error-ink)}
}
.pedido-status-line{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 14px}
.pedido-status-line button{min-height:44px;padding:0 16px;border:0;border-radius:10px;background:#18181b;color:#fff;font-size:13px;font-weight:800}
.pedido-adjust-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%;max-width:360px;margin:24px auto 0}
.pedido-adjust-choices button{min-height:48px;padding:10px 14px;border:1px solid #d4d4d8;border-radius:10px;background:#fff;color:#18181b;font-size:13px;font-weight:800;line-height:1.25}
.pedido-adjust-choices button:hover{border-color:#18181b;background:#fafafa}
.pedido-adjust-choices button:active{transform:scale(.98)}
.pedido-adjust-note{max-width:360px;margin:14px auto 0;color:#71717a;font-size:12px;line-height:1.5;text-align:center}
.pedido-adjust-note span{display:block}
.pedido-adjust-actions{justify-content:center!important;margin-top:24px!important}
.pedido-adjust-actions [data-close]{min-width:132px;background:#fff!important;color:#18181b!important;border-color:#d4d4d8!important}
.pedido-adjust-actions [data-close]:hover{border-color:#18181b!important;background:#fafafa!important}
.pedido-dialog h2{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-top:18px;padding-bottom:18px}
.pedido-dialog-heading{order:1;min-width:0;flex:1;display:flex;flex-direction:column;gap:2px}
.pedido-dialog-order,.pedido-dialog-context{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:17px;line-height:1.3;letter-spacing:-.02em}
.pedido-dialog-context{font-weight:600}
.pedido-dialog h2>.delivery-status{order:2;flex:none;padding:3px 6px;font-size:12px;line-height:1.2}
.pedido-status-actions{margin:0 0 14px;display:flex;justify-content:flex-end}
.pedido-status-actions button{min-height:44px;padding:0 16px;border:0;border-radius:10px;background:#18181b;color:#fff;font-size:13px;font-weight:800}
.pedido-item-counter{gap:8px}
.pedido-remove-heading{color:var(--error-ink)!important}
.pedido-item-counter button{width:32px;height:32px;padding:0;display:inline-flex;align-items:center;justify-content:center;border:1px solid #d4d4d8;border-radius:8px;background:#fff;color:#18181b;font-weight:800;line-height:1}
.pedido-item-counter output{min-width:20px;text-align:center;font-weight:700;font-variant-numeric:tabular-nums}
.pedido-additions{margin-top:16px}
.pedido-additions h3{margin:0 0 8px;font-size:13px;color:#71717a;text-transform:uppercase;letter-spacing:.045em;font-weight:800}
.pedido-additions table{width:100%;border-collapse:collapse}
.pedido-additions td{padding:8px;border-bottom:1px solid var(--line);font-size:13px;vertical-align:middle}
.pedido-additions [data-pedido-add-remove]{width:32px;height:32px;padding:0;border:0;background:transparent;color:#71717a}
.pedido-additions [data-pedido-add-remove]:hover{color:var(--error-ink)}
.pedido-add-picker{display:flex;gap:8px;align-items:flex-end;flex-wrap:wrap;margin-top:16px}
.pedido-add-picker label{font-size:13px;font-weight:700}
.pedido-add-picker{flex-direction:column;align-items:stretch}
.pedido-add-picker select{min-height:46px;border:1px solid #c8c5ca;border-radius:9px;background:#fff;padding:10px 12px}
.pedido-add-picker button{min-height:44px;padding:0 16px;border:0;border-radius:10px;background:#18181b;color:#fff;font-weight:800}
.pedido-credit-summary{margin-top:14px}
.pedido-credit-summary.is-over{border-color:var(--error-line);background:var(--error-soft);color:var(--error-ink)}
.pedido-credit-summary.is-over strong{color:var(--error-ink)}

/* Product image upload */
.product-image-field{gap:8px}.product-image-preview{width:100%;min-height:180px;border:1px solid var(--line);border-radius:14px;background:#f4f4f5;display:grid;place-items:center;overflow:hidden;color:#71717a;font-size:12px;text-align:center}.product-image-preview img{width:100%;height:220px;display:block;object-fit:cover}.product-image-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.product-image-picker,.product-image-actions button{min-height:48px;padding:10px 14px;border:1px solid #d4d4d8;border-radius:10px;background:#fff;color:#18181b;display:inline-flex;align-items:center;justify-content:center;font-size:13px;font-weight:800;cursor:pointer}.product-image-picker:hover,.product-image-actions button:hover{border-color:#18181b}.product-image-actions input[type=file]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.product-image-actions input[type=file]:focus-visible+.product-image-picker,.product-image-picker:focus-within{outline:3px solid #a1a1aa;outline-offset:2px}.product-image-actions button[hidden]{display:none}.product-image-status{min-height:1.4em;margin:0;color:var(--success-ink);font-size:12px}.product-image-status.is-error{color:var(--error-ink)}
@media(max-width:560px){.product-image-preview{min-height:150px}.product-image-preview img{height:180px}.product-image-actions{align-items:stretch;flex-direction:column}.product-image-picker,.product-image-actions button{width:100%}}

/* Products workspace */
.products-main{min-height:calc(100vh - 68px);padding:32px 24px 64px;background:#f4f4f6;color:#18181b}
.products-workspace{width:min(100%,1280px);margin:0 auto;display:grid;gap:24px}
.products-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px}
.products-heading h1{margin:4px 0 5px;color:#09090b;font-size:36px;line-height:1.1;letter-spacing:-.04em}
.products-heading p,.products-panel-head p,.products-history>header p{margin:0;color:#71717a;font-size:13px}
.products-heading-copy-mobile{display:none}
.products-eyebrow{color:#71717a;font-size:10px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.products-primary{min-height:52px;padding:0 20px;border:1px solid #09090b;border-radius:14px;background:#09090b;color:#fff;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-weight:800;box-shadow:0 2px 4px #0002}
.products-primary .icon{width:18px;height:18px}
.products-panel,.products-history{overflow:hidden;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:0 1px 2px #0000000a}
.products-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.products-stat{min-height:116px;padding:22px;border:1px solid var(--line);border-radius:16px;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;box-shadow:0 1px 2px #0000000a}
.products-stat span{color:#71717a;font-size:13px}
.products-stat strong{color:#09090b;font-size:34px;line-height:1;font-variant-numeric:tabular-nums}
.products-panel-head{min-height:108px;padding:20px 22px;border-bottom:1px solid #e4e4e7;display:flex;align-items:center;justify-content:space-between;gap:24px}
.products-panel-head h2,.products-history>header h2{margin:0 0 3px;color:#18181b;font-size:19px;letter-spacing:-.02em}
.products-filters{display:flex;align-items:center;justify-content:flex-end;gap:10px}
.products-search{position:relative;width:min(280px,28vw);margin:0;display:flex;align-items:center}
.products-search>.icon{position:absolute;left:13px;width:17px;height:17px;color:#a1a1aa;pointer-events:none}
.products-search input{width:100%;height:46px;padding:0 44px 0 41px;border:1px solid #d4d4d8;border-radius:13px;background:#fafafa;color:#18181b;font-size:13px;outline:0}
.products-search input:focus{border-color:#18181b;background:#fff;box-shadow:0 0 0 2px #18181b}
.products-search>button{position:absolute;right:5px;width:36px;height:36px;padding:8px;border:0;border-radius:9px;background:transparent;color:#71717a}
.products-search>button .icon{width:17px;height:17px}
.products-filter-select{position:relative;margin:0;display:flex;align-items:center}
.products-filter-select select{height:46px;min-width:140px;padding:0 34px 0 13px;border:1px solid #d4d4d8;border-radius:13px;background:#fff;color:#27272a;font-size:13px;outline:0}
.products-filter-select select:focus{border-color:#18181b;box-shadow:0 0 0 2px #18181b}
.products-chips{padding:4px;border-radius:13px;background:#f4f4f5;display:flex;gap:3px}
.products-chips button{min-height:38px;padding:0 15px;border:0;border-radius:9px;background:transparent;color:#52525b;font-size:12px;font-weight:700}
.products-chips button.active{background:#09090b;color:#fff;box-shadow:0 1px 2px #0002}
.products-table-wrap{overflow:hidden}
.products-mobile-list{display:none}
.products-table{width:100%;table-layout:fixed;border-collapse:collapse}
.products-table th{padding:13px 16px;border-bottom:1px solid #e4e4e7;background:#fafafa;color:#71717a;font-size:10px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;white-space:normal}
.products-table th:first-child{width:27%;padding-left:22px}.products-table th:last-child{width:245px;text-align:center}
.products-table td{height:76px;padding:12px 16px;border-bottom:1px solid #f0f0f1;color:#52525b;font-size:13px;vertical-align:middle;overflow-wrap:anywhere}
.products-table tr:last-child td{border-bottom:0}.products-table tr.is-inactive{background:#fafafa}.products-table tr.is-inactive .products-product{opacity:.62}
.products-product{min-width:0;display:flex;align-items:center;gap:12px}.products-product strong{min-width:0;color:#18181b;overflow-wrap:anywhere}
.products-stock-summary{display:flex;align-items:center;min-width:0}.products-stock-summary strong{color:#18181b;font-size:16px;font-variant-numeric:tabular-nums}
.products-stock-summary strong.is-zero{color:#dc2626}
.products-thumb{width:48px;height:48px;flex:none;overflow:hidden;border:1px solid #e4e4e7;border-radius:11px;background:#f4f4f5;display:grid;place-items:center;color:#a1a1aa}
.products-thumb img{width:100%;height:100%;object-fit:cover}.products-thumb .icon{width:20px;height:20px}
.products-stock{color:#18181b;font-size:16px;font-variant-numeric:tabular-nums}.products-stock-value{display:inline-flex;align-items:baseline;justify-content:flex-end;gap:4px;white-space:nowrap}
.products-status{display:inline-flex;padding:5px 9px;border:1px solid;border-radius:999px;font-size:10px;font-weight:800;text-transform:uppercase}
.products-status.active{border-color:var(--success-line);background:var(--success-soft);color:var(--success-ink)}.products-status.inactive{border-color:#d4d4d8;background:#f4f4f5;color:#52525b}
.products-actions-cell{padding-left:0!important;padding-right:0!important;text-align:center}.products-actions{width:100%;display:grid;place-items:center;gap:8px}.products-actions button{margin:0 auto;min-height:48px;padding:0 13px;border:1px solid #d4d4d8;border-radius:11px;background:#fff;color:#27272a;font-size:11px;font-weight:800;white-space:nowrap}.products-actions button:last-child{border-color:#18181b;background:#18181b;color:#fff}
.products-pagination-bar{min-height:72px;padding:14px 22px;display:flex;align-items:center;justify-content:center;gap:16px;border-top:1px solid #e4e4e7}
.products-page-size select{height:42px;min-width:190px;padding:0 34px 0 13px;border:1px solid #d4d4d8;border-radius:11px;background:#fff;color:#27272a;font-size:12px;outline:0}
.products-page-size select:focus{border-color:#18181b;box-shadow:0 0 0 2px #18181b}
.products-pagination{display:flex;align-items:center;gap:10px;color:#71717a;font-size:12px}
.products-pagination button{width:42px;height:42px;padding:0;border:1px solid #d4d4d8;border-radius:11px;background:#fff;color:#18181b;display:grid;place-items:center}
.products-pagination button:disabled{opacity:.35;cursor:not-allowed}
.products-pagination-chevron{width:17px;height:17px}
.products-pagination-chevron.previous{transform:rotate(180deg)}
.products-preservation-note{margin:0;padding:14px 22px;border-top:1px solid #e4e4e7;background:#fafafa;color:#71717a;font-size:11px}
.products-panel>.empty{margin:22px}
.products-history-summary{min-height:112px;padding:22px;display:flex;align-items:center;justify-content:space-between;gap:20px;cursor:pointer;list-style:none}
.products-history-summary::-webkit-details-marker{display:none}
.products-history-summary>span:first-child{display:flex;flex-direction:column;gap:4px}
.products-history-summary strong{color:#18181b;font-size:19px;letter-spacing:-.02em}
.products-history-summary small{color:#71717a;font-size:13px}
.products-history-summary-icon{width:30px;height:30px;color:#a1a1aa;display:grid;place-items:center;transition:transform .2s ease}
.products-history-summary-icon .icon{width:22px;height:22px;transform:rotate(90deg)}
.products-history[open] .products-history-summary{border-bottom:1px solid #e4e4e7}
.products-history[open] .products-history-summary-icon{transform:rotate(180deg)}
.product-events{padding:4px 22px 22px}
.product-event{position:relative;padding:20px 0 20px 31px;border-bottom:1px solid #f0f0f1}.product-event:last-of-type{border-bottom:0}
.product-event::before{content:"";position:absolute;left:8px;top:31px;bottom:-31px;width:1px;background:#e4e4e7}.product-event:last-of-type::before{display:none}
.product-event-dot{position:absolute;z-index:1;left:3px;top:26px;width:11px;height:11px;border:3px solid #fff;border-radius:50%;background:#18181b;box-shadow:0 0 0 1px #d4d4d8}
.product-event-main header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.product-event-main h3{margin:3px 0 0;color:#18181b;font-size:15px;overflow-wrap:anywhere}.product-event-type{color:#71717a;font-size:11px;font-weight:800;letter-spacing:.07em;text-transform:uppercase}.product-event-main time{flex:none;color:#71717a;font-size:11px}
.product-event-main ul{margin:12px 0 10px;padding:0;display:flex;flex-wrap:wrap;gap:7px;list-style:none}.product-event-main li{padding:6px 9px;border:1px solid #e4e4e7;border-radius:9px;background:#fafafa;color:#71717a;font-size:11px}.product-event-main li strong{color:#27272a}
.product-event-main footer{display:flex;align-items:center;gap:6px;color:#71717a;font-size:10px}.product-event-main footer .icon{width:14px;height:14px}
.products-history-state{margin:18px 0 0;padding:28px 18px;border:1px dashed #d4d4d8;border-radius:14px;display:flex;align-items:center;flex-direction:column;text-align:center}.products-history-state strong{font-size:14px}.products-history-state span{margin-top:4px;color:#71717a;font-size:12px}.products-history-state button,.products-load-more{min-height:48px;margin-top:14px;padding:0 18px;border:1px solid #18181b;border-radius:11px;background:#fff;color:#18181b;font-size:12px;font-weight:800}.products-load-more{display:block;margin:18px auto 0}.products-history-inline-error{margin:12px 0;padding:10px;border-radius:9px;background:var(--error-soft);color:var(--error-ink);font-size:12px;text-align:center}
.product-history-controls{margin-top:18px;padding-top:16px;border-top:1px solid #f0f0f1;display:flex;align-items:center;justify-content:space-between;gap:12px;color:#71717a;font-size:11px;font-weight:700}
.product-history-controls label{white-space:nowrap}
.product-history-controls select{height:40px;padding:0 30px 0 10px;border:1px solid #d4d4d8;border-radius:10px;background:#fff;color:#27272a;font-size:12px;font-weight:700}
.product-history-pagination{margin-left:auto;display:flex;align-items:center;gap:8px}
.product-history-pagination button{width:40px;height:40px;border:1px solid #d4d4d8;border-radius:10px;background:#fff;color:#18181b;font-size:23px;line-height:1}
.product-history-pagination button:disabled{opacity:.35;cursor:not-allowed}
.product-editor-dialog,.stock-adjust-dialog{max-width:620px}.product-editor-dialog input,.product-editor-dialog select,.stock-adjust-dialog input{border-radius:12px}.product-editor-dialog .actions button,.stock-adjust-dialog .actions button{min-height:48px}.product-editor-dialog .actions .primary,.stock-adjust-dialog .actions .primary{min-width:150px}
@media(max-width:980px){.products-panel-head{align-items:flex-start;flex-direction:column}.products-filters{width:100%;justify-content:space-between}.products-search{width:min(420px,55vw)}.products-table th:last-child{width:205px}.products-actions{align-items:stretch;flex-direction:column}.products-actions button{width:100%}}
@media(max-width:700px){.products-main{min-height:calc(100vh - 62px);padding:20px 14px 40px}.products-workspace{gap:16px}.products-heading{align-items:stretch;flex-direction:column;gap:14px}.products-heading .products-eyebrow{display:none}.products-heading h1{margin-top:0;font-size:30px}.products-heading-copy-desktop{display:none}.products-heading-copy-mobile{display:inline}.products-primary{width:100%;min-height:56px}.products-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.products-stat{min-height:88px;padding:14px 8px;border-radius:14px}.products-stat span{font-size:11px}.products-stat strong{font-size:25px}.products-panel,.products-history{border-radius:16px}.products-panel{overflow:visible;border:0;background:transparent;box-shadow:none}.products-panel-head{min-height:0;padding:0 0 14px;border-bottom:0}.products-panel-head>div:first-child{display:none}.products-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:10px}.products-search{grid-column:1/-1;width:100%;max-width:none}.products-filter-select,.products-filter-select select{width:100%;max-width:none}.products-filter-select select{height:44px}.products-chips{display:none}.products-desktop-table{display:none}.products-mobile-list{display:grid;gap:10px}.products-mobile-card{min-width:0;min-height:96px;padding:13px;display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:11px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 1px 2px #0000000a}.products-mobile-card.is-inactive{background:#fafafa}.products-mobile-thumb{width:40px;height:40px;overflow:hidden;border-radius:9px;background:#f4f4f5;color:#a1a1aa;display:grid;place-items:center}.products-mobile-thumb img{width:100%;height:100%;object-fit:cover}.products-mobile-thumb .icon{width:18px;height:18px}.products-mobile-main{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:3px}.products-mobile-badges{display:flex;align-items:center;gap:5px;min-width:0}.products-mobile-badges .badge,.products-mobile-badges .products-status{font-size:9px;padding:3px 7px}.products-mobile-name{max-width:100%;overflow:hidden;color:#09090b;font-size:13px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.products-mobile-stock{color:#71717a;font-size:11px;line-height:1.2}.products-mobile-stock.is-zero{color:#dc2626}.products-mobile-actions{height:100%;display:flex;flex-direction:column;align-items:flex-end;justify-content:space-between;gap:6px}.products-mobile-actions>strong{color:#09090b;font-size:15px;white-space:nowrap}.products-mobile-actions button{min-height:38px;padding:0 14px;border:0;border-radius:10px;background:#09090b;color:#fff;font-size:11px;font-weight:800;white-space:nowrap}.products-mobile-card.is-inactive .products-mobile-actions button{background:#52525b}.products-pagination-bar{padding:14px 0;justify-content:space-between;gap:8px;border-top:0}.products-page-size{flex:1;min-width:0}.products-page-size select{width:100%;min-width:0;padding-left:10px}.products-pagination{gap:6px}.products-pagination span{white-space:nowrap}.products-pagination button{width:40px;height:40px}.products-preservation-note{padding:12px 0;background:transparent;border-top:0}.products-panel>.empty{margin:0}.products-history-summary{min-height:0;padding:18px 14px}.products-history-summary strong{font-size:17px}.products-history-summary small{font-size:11px;line-height:1.4}.product-events{padding:2px 14px 16px}.product-event{padding-left:25px}.product-event::before{left:6px}.product-event-dot{left:1px}.product-event-main header{flex-direction:column;gap:5px}.product-event-main time{font-size:10px}.product-event-main ul{align-items:stretch;flex-direction:column}.product-event-main li{width:100%}.product-history-controls{align-items:stretch;flex-wrap:wrap}.product-history-pagination{width:100%;margin-left:0;justify-content:space-between}.product-history-pagination span{margin:0 auto}.product-editor-dialog,.stock-adjust-dialog{padding:18px 14px}.product-editor-dialog .row{display:block}.product-editor-dialog .actions,.stock-adjust-dialog .actions{display:grid;grid-template-columns:1fr}.product-editor-dialog .actions button,.stock-adjust-dialog .actions button{width:100%;min-height:52px}}/* Login and user management */
@media(max-width:700px){.sales-pagehead{margin-bottom:8px}.sales-pagehead p{margin-bottom:0}}
.sales-pagination{justify-content:space-between;gap:16px;margin-top:18px}
.sales-page-size{flex:0 1 190px}
.sales-page-size select{width:100%;height:42px;padding:0 34px 0 13px;border:1px solid #d4d4d8;border-radius:11px;background:#fff;color:#27272a;font-size:12px;font-weight:700}
.sales-pagination-nav{display:flex;align-items:center;gap:8px;color:#71717a;font-size:12px}
.sales-pagination-nav button{width:40px;height:40px;padding:0;border:1px solid #d4d4d8;border-radius:10px;background:#fff;color:#18181b;display:grid;place-items:center}
.sales-pagination-nav button:disabled{opacity:.35;cursor:not-allowed}
.sales-pagination-chevron{width:17px;height:17px}
.sales-pagination-chevron.previous{transform:rotate(180deg)}
@media(max-width:700px){.sales-pagination{display:grid;grid-template-columns:1fr;gap:10px;margin-top:14px}.sales-page-size{width:100%;min-width:0}.sales-pagination-nav{justify-content:space-between}.sales-pagination-nav span{margin:0 auto}}
.login-header .public-header-inner{grid-template-columns:1fr;min-height:64px}
.login-main{min-height:calc(100vh - 66px);display:flex;align-items:flex-start;justify-content:center}
.login-card{width:min(100%,440px);margin:6vh auto;padding:34px 30px;border:1px solid #e4e4e7;border-radius:16px;background:#fff;box-shadow:0 1px 2px #0000000a}
.login-logo{display:block;width:72px;height:72px;object-fit:contain;margin:0 auto 20px}
.login-card h1{margin:0 0 6px;font-size:24px;letter-spacing:-.02em;text-align:center}
.login-planning-center{margin:20px 0 0}
.login-divider{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;margin:20px 0;color:#71717a;font-size:13px;font-weight:700;text-align:center}
.login-divider::before,.login-divider::after{content:"";height:1px;background:#e4e4e7}
.login-card .field{margin-bottom:14px}
.login-card #login-error{margin:0 0 14px}
.login-button{width:100%;min-height:50px;margin-top:4px;border:0;border-radius:11px;background:#18181b;color:#fff;text-decoration:none;display:flex;align-items:center;justify-content:center;gap:9px;font-size:15px;font-weight:800}
.login-button:hover{background:#09090b;color:#fff;text-decoration:none}
.login-button:focus-visible{outline:3px solid #2563eb;outline-offset:3px}
.login-button:disabled{background:#71717a}
.login-button .icon{width:18px;height:18px}
.login-foot{margin:18px 0 0;text-align:center;font-size:12px}
.login-foot a{color:#18181b;font-weight:700}
.user-chip{display:flex;align-items:center;gap:8px;max-width:190px;padding:5px 11px 5px 8px;border:1px solid #3f3f46;border-radius:999px;background:#27272a;color:#fff;font-size:12px;line-height:1.15}
.user-chip .icon{width:16px;height:16px;flex:0 0 auto;color:#a1a1aa}
.user-chip>span{min-width:0;display:flex;flex-direction:column}
.user-chip strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700}
.user-chip small{color:#a1a1aa;font-size:10px;text-transform:uppercase;letter-spacing:.04em}
.logout-button{min-height:34px;padding:0 13px;border:1px solid #3f3f46;border-radius:999px;background:transparent;color:#d4d4d8;font-size:12px;font-weight:700}
.logout-button:hover{background:#3f3f46;color:#fff}
.pagehead button{min-height:44px;padding:10px 16px;border:1px solid var(--line);border-radius:9px;background:#fff;color:#1b1b1e;font-weight:700;white-space:nowrap}
.pagehead button.primary{background:#18181b;color:#fff;border-color:#18181b}
.pagehead-actions{display:flex;gap:10px;align-items:center}
.pagehead-actions button{display:inline-flex;align-items:center;gap:7px}
.pagehead-actions .icon{width:16px;height:16px}
.users-table td{vertical-align:middle}
.users-table td button{min-height:40px;padding:0 13px;border:1px solid #d4d4d8;border-radius:9px;background:#fff;color:#27272a;font-size:12px;font-weight:800}
.badge.role-admin{background:#18181b;color:#fff}
.badge.role-auditor{background:#e0e7ff;color:#3730a3}
.badge.role-operador{background:#dcfce7;color:#166534}
.badge.provider-local{background:#f4f4f5;color:#52525b}
.badge.provider-planning_center{background:#dbeafe;color:#1d4ed8}
.user-access-units{display:block;margin-top:3px;color:#71717a;font-size:11px}
.users-mobile-list{display:none}
@media(max-width:1160px){.user-chip{max-width:150px;padding:4px 9px 4px 7px;font-size:11px}.user-chip small{font-size:9px}.logout-button{min-height:30px;padding:0 10px;font-size:11px}}
@media(max-width:560px){.login-card{margin:4vh auto;padding:26px 18px}.user-chip>span small{display:none}.user-chip{max-width:120px}.pagehead{flex-wrap:wrap}.pagehead-actions{width:100%;flex-direction:column}.pagehead button{width:100%}
.users-mobile-details{display:grid;gap:8px;margin:12px 0 0}.users-mobile-details div{display:grid;grid-template-columns:72px minmax(0,1fr);gap:8px}.users-mobile-details dt{color:#71717a;font-size:11px;font-weight:800}.users-mobile-details dd{margin:0;min-width:0;overflow-wrap:anywhere}
.users-pagehead-actions{flex-direction:row;flex-wrap:nowrap;justify-content:center}
.users-pagehead-actions #roles-help{width:44px;height:44px;flex:0 0 44px;padding:0;justify-content:center}
.users-pagehead-actions #roles-help span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.users-pagehead-actions #new-user{flex:0 1 240px;min-width:200px;justify-content:center;text-align:center}
.pedidos-pagehead-actions{flex-direction:row;flex-wrap:nowrap;justify-content:flex-end}
.pedidos-pagehead-actions #pedidos-help{width:44px;height:44px;flex:0 0 44px;padding:0;justify-content:center}
.pedidos-pagehead-actions #pedidos-help span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.users-desktop-table{display:none}
.users-mobile-list{display:grid;gap:10px}
.users-mobile-card{padding:14px;display:flex;align-items:flex-start;justify-content:space-between;gap:12px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 1px 2px #0000000a}
.users-mobile-card.is-inactive{background:#fafafa}
.users-mobile-main{min-width:0;display:flex;flex-direction:column;gap:6px}
.users-mobile-head{display:flex;align-items:center;flex-wrap:wrap;gap:7px}
.users-mobile-name{overflow:hidden;color:#09090b;font-size:14px;text-overflow:ellipsis;white-space:nowrap}
.users-mobile-access{color:#3f3f46;font-size:12px;line-height:1.4}
.users-mobile-access .badge{margin-right:4px}
.users-mobile-date{color:#a1a1aa;font-size:11px}
.users-mobile-actions{flex:0 0 auto}
.users-mobile-actions button{min-height:38px;padding:0 14px;border:0;border-radius:10px;background:#09090b;color:#fff;font-size:11px;font-weight:800;white-space:nowrap}
.users-mobile-card.is-inactive .users-mobile-actions button{background:#52525b}
.stack-table{overflow:hidden;border:0;background:transparent}.stack-table thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.stack-table table,.stack-table tbody{display:block;width:100%}.stack-table tbody{display:grid;gap:12px}.stack-table tr{display:block;width:100%;padding:5px 12px;border:1px solid var(--line);border-radius:12px;background:#fff}
.stack-table td{width:100%;min-width:0;padding:9px 0;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:right;font-size:12px}.stack-table td:last-child{border-bottom:0}
.stack-table td::before{content:attr(data-label);flex:0 0 38%;color:#71717a;font-size:9px;font-weight:800;line-height:1.35;text-align:left;text-transform:uppercase}
.unit-actions{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end}}

.field-error{margin:7px 0 0;color:var(--error-ink);font-size:12px;font-weight:700}
.field input[aria-invalid="true"]{border-color:var(--error);box-shadow:0 0 0 2px var(--error-soft)}
.unit-form-error{margin:0 0 16px}
.unit-active-field{margin-top:2px}
.unit-active-field .check{align-items:flex-start}
.unit-active-field .check>span{display:flex;flex-direction:column;gap:3px}
.unit-active-field .check small{color:#71717a;font-size:11px;font-weight:500;line-height:1.4}
.unit-active-field .check input:disabled+span{opacity:.72}
.unit-active-field .check input[aria-invalid="true"]+span{color:var(--error-ink)}
.unit-deactivation-warning{margin:8px 0 0;padding:10px 12px;font-size:12px}
.unit-default-confirm>p:first-child{margin-top:0;line-height:1.55}
.unit-default-current{padding:11px 12px;border:1px solid #e4e4e7;border-radius:9px;background:#fafafa;color:#52525b;font-size:13px}
.unit-default-confirm .message{margin-bottom:0}
.units-table td button{min-height:40px;padding:8px 12px;border:1px solid #d4d4d8;border-radius:9px;background:#fff;color:#27272a;font-size:12px;font-weight:800}
.units-table td button:active{transform:scale(.98)}
.unit-name-cell strong{overflow-wrap:anywhere}
.units-table th:last-child{text-align:center}
.units-table .unit-stock-heading,.units-table .unit-stock-cell{text-align:center}
.units-table .unit-stock-cell strong{font-variant-numeric:tabular-nums}
.unit-stock-link{display:inline-flex;align-items:baseline;justify-content:center;gap:7px;color:#18181b;text-decoration:none}.unit-stock-link span{color:#52525b;font-size:11px;font-weight:700;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}.unit-stock-link:hover span,.unit-stock-link:focus-visible span{color:#18181b}
.unit-default-badge{background:var(--success-soft);color:var(--success-ink)}
.unit-actions{display:flex;align-items:center;justify-content:center;gap:8px}.unit-actions .unit-edit-action{min-width:74px}.unit-row-actions{position:relative}.unit-row-actions>summary{min-height:40px;padding:8px 12px;border:1px solid #d4d4d8;border-radius:9px;background:#fff;color:#27272a;cursor:pointer;font-size:12px;font-weight:800;list-style:none}.unit-row-actions>summary::-webkit-details-marker{display:none}.unit-row-actions>summary::after{content:'⌄';margin-left:7px}.unit-row-actions[open]>summary::after{content:'⌃'}.unit-row-actions>div{position:absolute;z-index:3;right:0;top:calc(100% + 6px);min-width:max-content;padding:6px;border:1px solid var(--line);border-radius:10px;background:#fff;box-shadow:0 8px 20px #18181b1f;display:flex;flex-direction:column;gap:4px}.unit-row-actions>div button{width:100%;text-align:left}.unit-copy-action,.unit-open-catalog-action{white-space:nowrap}
.unit-policy-note{margin:14px 2px 0;line-height:1.5}
@media(hover:hover) and (pointer:fine){.units-table td button:hover{border-color:#18181b;background:#fafafa}}
@media(pointer:coarse){.units-table td button{min-height:44px}.unit-actions{gap:10px}}
@media(max-width:760px){
  .units-page .pagehead{align-items:stretch;flex-direction:column;margin-bottom:18px}.units-page .pagehead h1{font-size:clamp(28px,8vw,34px)}.units-page .pagehead p{max-width:48ch;margin-bottom:0}.units-page .pagehead>button{width:100%;min-height:52px}
  .units-table{overflow:visible;border:0;background:transparent}.units-table thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
  .units-table table,.units-table tbody{display:block;width:100%}.units-table tbody{display:grid;gap:12px}
  .units-table .unit-row{width:100%;min-width:0;padding:15px;border:1px solid var(--line);border-radius:14px;background:#fff;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:0 12px;box-shadow:0 1px 2px #0000000a}
  .units-table .unit-row.is-inactive{background:#fafafa}
  .units-table td{width:auto;min-width:0;padding:10px 0;border-bottom:1px solid #f0f0f1;display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:right;font-size:13px}
  .units-table td::before{content:attr(data-label);flex:0 0 auto;color:#71717a;font-size:11px;font-weight:800;line-height:1.3;text-align:left;text-transform:uppercase;letter-spacing:.04em}
  .units-table .unit-name-cell{grid-column:1;padding:0 0 12px;border-bottom:0;justify-content:flex-start;text-align:left}.units-table .unit-name-cell::before{display:none}.units-table .unit-name-cell strong{color:#09090b;font-size:16px;line-height:1.3;letter-spacing:-.02em}
  .units-table .unit-status-cell{grid-column:2;padding:0 0 12px;border-bottom:0}.units-table .unit-status-cell::before{display:none}.units-table .unit-status-cell .badge{white-space:nowrap}
  .units-table .unit-type-cell{grid-column:1}.units-table .unit-stock-cell{grid-column:2}
  .units-table .unit-stock-cell{justify-content:flex-end}.units-table .unit-stock-cell::before{margin-right:auto}
  .unit-stock-link{gap:5px}.unit-stock-link span{font-size:11px}
  .units-table .unit-catalog-cell,.units-table .unit-actions-cell{grid-column:1/-1}
  .units-table .unit-catalog-cell>button{min-width:152px}.units-table .unit-catalog-cell>.badge{max-width:min(65%,220px);white-space:normal;text-align:right}
  .units-table .unit-actions-cell{padding:12px 0 0;border-bottom:0;display:block}.units-table .unit-actions-cell::before{display:none}
  .units-table .unit-actions-cell.is-empty{display:flex}.units-table .unit-actions-cell.is-empty::before{display:block}
  .units-table .unit-actions{width:100%;display:grid;grid-template-columns:minmax(0,1fr) minmax(130px,.6fr);gap:8px}.units-table .unit-actions button,.units-table .unit-row-actions>summary{width:100%;min-width:0;min-height:46px;white-space:nowrap;line-height:1.25}.units-table .unit-row-actions>div{right:0;left:auto}.units-table .unit-copy-action{white-space:nowrap}
  .unit-policy-note{margin:14px 2px 0;padding:0 2px;font-size:11px}
}
@media(max-width:560px){
  dialog.unit-dialog{width:100%;max-width:none;max-height:calc(92dvh - env(safe-area-inset-top));margin:auto 0 0;padding:22px 16px max(16px,env(safe-area-inset-bottom));border-radius:18px 18px 0 0}
  .unit-dialog h2{margin-bottom:12px;font-size:21px;line-height:1.25}.unit-dialog .field{margin-bottom:14px}.unit-dialog .field input,.unit-dialog .field select{min-height:50px;font-size:16px}
  .unit-dialog .check{min-height:64px;padding:12px}.unit-dialog .check input{width:22px;height:22px;flex:none}
  .unit-dialog .actions{display:grid;grid-template-columns:1fr 1.35fr;gap:8px;margin-top:18px}.unit-dialog .actions button{width:100%;min-width:0;min-height:52px;padding:9px 10px}
  .unit-default-current{font-size:12px}.unit-default-confirm>p:first-child{font-size:14px}
}
@media(max-width:380px){
  .units-table .unit-actions{grid-template-columns:1fr}.units-table .unit-row-actions>div{left:0;right:auto}
  .unit-dialog .actions{grid-template-columns:1fr}
}

.badge.materials{background:#fef3c7;color:#92400e}
.badge.size{background:#ede9fe;color:#5b21b6;font-weight:800}
.inventory-zero-banner{width:min(100%,1280px);margin:-10px auto 22px;padding:12px 16px;border:1px solid var(--error-line);border-radius:14px;background:var(--error-soft);display:flex;align-items:center;gap:10px;color:var(--error-ink);font-size:13px;font-weight:800}.inventory-zero-banner .icon{flex:0 0 auto;width:18px;height:18px}
@media(max-width:560px){.inventory-zero-banner{margin:-4px auto 16px;padding:10px 13px}.inventory-product-card-metrics.materials{grid-template-columns:1fr}}

/* Cashier targets on tablet widths and dialog disabled state */
@media(max-width:1120px) and (min-width:821px){.cart-line .counter button{width:44px;height:44px}.cart-line>div>button{width:44px;height:44px}}
.review-dialog .actions .primary:disabled{opacity:1;background:var(--soft);color:#52525b;border:1px solid var(--line);box-shadow:none}
.order-search-dialog>.actions{position:sticky;bottom:-18px;margin:16px -20px -18px;padding:12px 20px;background:#fff;border-top:1px solid var(--line)}
@media(max-width:560px){.order-search-dialog>.actions{margin-left:-12px;margin-right:-12px;padding-left:12px;padding-right:12px}}

/* Product galleries */
.public-main .product{position:relative}.public-product-open{position:absolute;z-index:1;inset:0;width:100%;height:100%;padding:0;border:0;border-radius:inherit;background:transparent;cursor:zoom-in;touch-action:pan-y}.public-main .product:has(.public-product-open:focus-visible){outline:3px solid #18181b;outline-offset:3px}.public-main .product .visual>img,.public-main .product .visual>span{position:relative}.carousel-arrow,.gallery-arrow,.gallery-close{display:grid;place-items:center}.carousel-arrow{position:absolute;z-index:5;top:50%;width:44px;height:44px;padding:0;border:1px solid #ffffff73;border-radius:12px;background:#09090bcc;color:#fff;box-shadow:0 3px 7px #0004;transform:translateY(-50%);transition:background .15s,transform .15s}.carousel-arrow:hover{background:#09090b}.carousel-arrow:active{transform:translateY(-50%) scale(.96)}.carousel-arrow.previous{left:9px}.carousel-arrow.next{right:9px}.carousel-arrow.previous .icon{transform:rotate(180deg)}.carousel-arrow .icon{width:20px;height:20px}.carousel-count{position:absolute!important;z-index:5;right:10px;bottom:10px;padding:4px 8px;border-radius:7px;background:#09090bd9;color:#fff!important;font-size:10px!important;font-weight:800;font-variant-numeric:tabular-nums;box-shadow:0 2px 6px #0003}.carousel-image-error{position:absolute!important;inset:0;display:grid;place-items:center;padding:18px;background:#f0edf1}.carousel-image-error[hidden]{display:none!important}
.product-gallery-dialog{width:min(calc(100% - 32px),calc(100dvh - 156px),820px);max-width:820px;height:auto;max-height:calc(100dvh - 48px);padding:18px;border-radius:18px;background:#09090b;color:#fff;overflow:hidden}.product-gallery-dialog[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:12px}.product-gallery-dialog::backdrop{background:#09090bd9;backdrop-filter:blur(14px)}.product-gallery-dialog h2{min-width:0;margin:0;padding:2px 54px 2px 4px;overflow:hidden;color:#fff;font-size:18px;text-overflow:ellipsis;white-space:nowrap}.gallery-close{position:absolute;z-index:4;top:14px;right:14px;width:48px;min-height:48px!important;padding:0!important;border-color:#ffffff38!important;background:#18181be6!important;color:#fff}.gallery-close .icon{width:21px;height:21px}.gallery-stage{position:relative;align-self:center;min-width:0;min-height:0;aspect-ratio:1;overflow:hidden;border-radius:14px;background:#18181b;display:grid;place-items:center;touch-action:pan-y}.gallery-stage img{width:100%;height:100%;object-fit:contain}.gallery-image-error{padding:24px;color:#a1a1aa;text-align:center}.gallery-arrow{position:absolute;z-index:3;top:50%;width:52px;min-height:52px!important;padding:0!important;border-color:#ffffff4d!important;background:#09090bcc!important;color:#fff!important;transform:translateY(-50%)}.gallery-arrow.previous{left:14px}.gallery-arrow.next{right:14px}.gallery-arrow.previous .icon{transform:rotate(180deg)}.gallery-arrow .icon{width:23px;height:23px}.gallery-counter{margin:0;color:#d4d4d8;font-size:12px;font-weight:800;text-align:center;font-variant-numeric:tabular-nums}
.product-image-heading{display:flex;align-items:center;justify-content:space-between;gap:14px}.product-image-heading>div:first-child{display:flex;flex-direction:column;gap:3px}.product-image-heading strong{font-size:13px}.product-image-heading #p-image-count{color:#71717a;font-size:11px}.product-image-add input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.product-image-add input:focus-visible+.product-image-picker{outline:3px solid #a1a1aa;outline-offset:2px}.product-image-add input:disabled+.product-image-picker{opacity:.45;cursor:not-allowed}.product-image-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-image-item{min-width:0;overflow:hidden;border:1px solid #d4d4d8;border-radius:14px;background:#fff}.product-image-item.is-cover{border-color:#18181b}.product-image-item>div{position:relative;aspect-ratio:4/3;background:#f4f4f5;display:grid;place-items:center;overflow:hidden;color:#71717a;font-size:11px}.product-image-item img{width:100%;height:100%;object-fit:cover}.product-image-item>div>strong{position:absolute;left:8px;top:8px;padding:4px 7px;border-radius:6px;background:#09090be6;color:#fff;font-size:9px;letter-spacing:.04em;text-transform:uppercase}.product-image-item footer{min-height:48px;padding:5px;display:flex;align-items:center;justify-content:space-between;gap:5px}.product-image-item footer button{min-height:38px;padding:0 10px;border:0;background:transparent;color:#27272a;font-size:10px;font-weight:800}.product-image-item footer button:first-child{flex:1;text-align:left}.product-image-item footer button:last-child{width:38px;padding:0;color:#71717a}.product-image-item footer button:last-child .icon{width:17px;height:17px}.product-image-item footer button:disabled{color:#a1a1aa;cursor:default}.product-image-empty{grid-column:1/-1;min-height:150px;padding:24px;border:1px dashed #d4d4d8;border-radius:14px;background:#fafafa;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;color:#71717a;text-align:center}.product-image-empty strong{color:#27272a;font-size:13px}.product-image-empty span{font-size:11px}
@media(max-width:560px){.carousel-arrow{width:44px;height:44px}.product-gallery-dialog{width:100%;height:100dvh;max-height:none;padding:14px;border-radius:0}.product-gallery-dialog h2{padding-left:2px;font-size:15px}.gallery-close{top:10px;right:10px}.gallery-stage{border-radius:10px}.gallery-arrow{width:48px;min-height:48px!important}.gallery-arrow.previous{left:8px}.gallery-arrow.next{right:8px}.product-image-heading{align-items:stretch;flex-direction:column}.product-image-picker{width:100%}.product-image-gallery{grid-template-columns:1fr}.product-image-item>div{aspect-ratio:16/10}.product-image-empty{min-height:120px}}
@media(hover:none){.public-main .product:hover{transform:none}.carousel-arrow{background:#09090bdb}}
@media(prefers-reduced-motion:reduce){.carousel-arrow,.public-main .product{transition:none!important}}
.recent-orders-mobile{margin-top:12px;border:1px solid var(--line);border-radius:12px;background:#fff}.recent-orders-mobile>summary{min-height:44px;padding:0 12px;list-style:none;display:flex;align-items:center;gap:8px;cursor:pointer;color:#52525b;font-size:11px;font-weight:800;letter-spacing:.045em;text-transform:uppercase}.recent-orders-mobile>summary::-webkit-details-marker{display:none}.recent-orders-mobile>summary>b{min-width:22px;padding:2px 7px;border-radius:999px;background:var(--soft);color:var(--graphite);text-align:center;font-variant-numeric:tabular-nums}.recent-orders-mobile>summary .icon{width:16px;height:16px;margin-left:auto;transition:transform .15s}.recent-orders-mobile[open]>summary .icon{transform:rotate(180deg)}.recent-orders-mobile>summary:focus-visible{outline:3px solid #52525b;outline-offset:-3px;border-radius:12px}.recent-orders-mobile .recent-orders-list{padding:0 8px 8px}.recent-orders-mobile .recent-orders-empty{padding:0 12px 12px}.recent-orders-mobile .recent-orders>span{display:none}
.checklist-dropdown{border:1px solid #c8c5ca;border-radius:9px;background:#fff}.checklist-dropdown>summary{min-height:46px;padding:10px 12px;list-style:none;cursor:pointer;display:flex;align-items:center;color:var(--graphite);font-size:13px;font-weight:600}.checklist-dropdown>summary::-webkit-details-marker{display:none}.checklist-dropdown>summary::after{content:"";margin-left:auto;width:9px;height:9px;border-right:2px solid #71717a;border-bottom:2px solid #71717a;transform:rotate(45deg);transition:transform .15s}.checklist-dropdown[open]>summary::after{transform:rotate(225deg)}.checklist-dropdown-list{padding:8px;border-top:1px solid var(--line);display:flex;flex-direction:column;gap:6px;max-height:220px;overflow-y:auto}.checklist-dropdown-list .check{background:var(--soft)}
.roles-help-dialog{max-width:640px}.roles-help-table{border:1px solid var(--line);border-radius:12px;overflow:hidden}.roles-help-table table{width:100%;table-layout:fixed;border-collapse:collapse}.roles-help-table col:first-child{width:22%}.roles-help-table col:nth-child(2){width:26%}.roles-help-table th{padding:10px 12px;background:#fafafa;color:#71717a;text-transform:uppercase;font-size:10px;font-weight:800;text-align:left}.roles-help-table td{padding:11px 12px;border-top:1px solid var(--line);font-size:12px;line-height:1.45;vertical-align:top;overflow-wrap:anywhere}

/* Retirada imediata: badges de status e label imediata/parcial */
.badge.status-aberto,.delivery-status.status-aberto{background:var(--error-soft);color:var(--error-ink)}
.badge.status-aguardando-preparacao,.delivery-status.status-aguardando-preparacao{background:#fef3c7;color:#92400e}
.badge.status-aguardando-entrega,.delivery-status.status-aguardando-entrega{background:#dbeafe;color:#1d4ed8}
.badge.status-entregue,.delivery-status.status-entregue{background:var(--success-soft);color:var(--success-ink)}
.badge.label-imediata{background:#18181b;color:#fff}
.badge.label-parcial{background:#e0e7ff;color:#3730a3}
.pickup-order-title-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.pickup-order-title-row h2{margin:0}
.pickup-order-title-row .badge{font-size:12px;padding:5px 10px;font-weight:800}
.pickup-immediate-wait{display:flex;align-items:flex-start;gap:10px;padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--soft);color:#52525b;font-size:12px}
.pickup-immediate-wait strong{display:block;color:#18181b;font-size:13px}
.pickup-immediate-wait small{color:#71717a}
.pickup-items-card>header.pickup-immediate-header{justify-content:center;min-height:auto;padding:20px 24px 0;border-bottom:0}
.badge.immediate-order-status{text-transform:uppercase;font-size:14px;letter-spacing:.04em;padding:6px 16px;font-weight:800}
.pickup-immediate-items{list-style:none;margin:0;padding:16px 24px 24px;display:flex;flex-direction:column;gap:6px;font-size:13px}
.pickup-immediate-items strong{margin-right:4px}

/* Terminal de distribuição da Cantina (Retirada imediata) */
.immediate-terminal{max-width:1100px;margin:0 auto;display:grid;gap:12px}
.immediate-head{display:flex;flex-direction:column;gap:6px;margin-bottom:8px}
.immediate-head-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.immediate-head-top h1{margin:4px 0;font-size:34px}
.immediate-head-top .products-primary{flex:none;width:auto;min-height:44px;padding:0 16px}
.immediate-toggle{display:flex;align-items:center;gap:8px;min-height:40px;padding:0 14px;margin-top:2px;border:1px solid var(--line);border-radius:999px;background:#fff;font-size:12px;font-weight:700;white-space:nowrap;align-self:center}
.immediate-toggle input{width:16px;height:16px}
.immediate-filters{display:flex;gap:10px;flex-wrap:wrap}
.immediate-filters input,.immediate-filters select{min-height:44px;height:44px;box-sizing:border-box;border:1px solid #c8c5ca;border-radius:9px;background:#fff;padding:0 12px;font-size:13px}
.immediate-filters input{flex:1.5;min-width:200px}
.immediate-filters select{flex:1;min-width:170px}
@media(max-width:560px){.immediate-head-top h1{font-size:clamp(26px,8vw,34px)}}
.immediate-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:10px;align-items:start}
.immediate-row{background:#fff;border:1px solid var(--line);border-radius:14px;padding:12px 14px;display:flex;flex-direction:column;gap:8px}
.immediate-row-aberto{background:#fef2f2;border-color:var(--error-line)}
.immediate-row-stale{background:#ea580c;border-color:#9a3412}
.immediate-row-stale .immediate-row-main strong,.immediate-row-stale .immediate-row-main span,.immediate-row-stale .immediate-row-items li{color:#fff}
.immediate-row-stale .immediate-row-main small{color:#ffedd5}
.immediate-row-status{align-self:center;text-align:center;text-transform:uppercase;font-size:13px;letter-spacing:.04em;padding:5px 12px}
.immediate-row-main{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.immediate-row-main strong{font-size:15px}
.immediate-row-main span{font-size:13px;color:#27272a}
.immediate-row-main small{margin-left:auto;color:#71717a;font-size:11px}
.immediate-row-items{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:3px}
.immediate-row-items li{color:#52525b;font-size:12px;line-height:1.4}
.immediate-row-footer{display:flex;align-items:center;justify-content:center;margin-top:auto;padding-top:2px}
.immediate-row-footer button{min-height:38px;padding:0 14px;border:0;border-radius:9px;background:#18181b;color:#fff;display:flex;align-items:center;gap:6px;font-size:11px;font-weight:800}
.immediate-row-footer button .icon{width:14px;height:14px}

/* Histórico do pedido dentro do dialog de detalhes do pedido (Caixa) */
.order-details-history{margin-top:16px;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.order-details-history>summary{min-height:48px;padding:0 14px;list-style:none;cursor:pointer;display:flex;align-items:center;gap:9px;color:var(--graphite);font-size:13px;font-weight:700}
.order-details-history>summary::-webkit-details-marker{display:none}
.order-details-history>summary .icon{width:18px;height:18px;color:#71717a}
.order-details-history>summary small{margin-left:auto;padding:2px 9px;border-radius:999px;background:var(--soft);color:#71717a;font-size:10px;font-weight:700}
.order-details-history>.pickup-history-list{padding:12px;border-top:1px solid var(--line);background:#fafafa}

/* Compras autenticadas */
.shop-main{min-height:calc(100dvh - 68px);padding:30px 24px 56px;background:var(--surface)}
.shop-store,.shop-flow,.customer-order{width:min(100%,1280px);margin:0 auto}.shop-heading{margin-bottom:18px;display:flex;align-items:flex-end;justify-content:space-between;gap:18px}.shop-heading h1{margin:0 0 5px;font-size:32px;letter-spacing:-.035em}.shop-heading p{margin:0;color:var(--muted);font-size:13px}.shop-heading>button,.customer-order-back{min-height:44px;padding:0 14px;border:1px solid var(--line);border-radius:10px;background:#fff;display:inline-flex;align-items:center;gap:7px;color:var(--graphite);font-size:12px;font-weight:800;text-decoration:none}.shop-search{position:relative;display:flex;align-items:center;margin-bottom:16px}.shop-search>.icon{position:absolute;left:14px;color:#a1a1aa}.shop-search input{width:100%;height:48px;padding:0 16px 0 45px;border:1px solid var(--line);border-radius:12px;background:#fff}.shop-store-layout{display:grid;grid-template-columns:minmax(0,1fr) 390px;gap:18px;align-items:start}.shop-catalog{grid-template-columns:repeat(auto-fill,minmax(180px,1fr))}.shop-cart{position:sticky;top:86px;max-height:calc(100dvh - 104px);overflow:hidden;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 1px 2px #0000000a;display:flex;flex-direction:column}.shop-cart>header{min-height:64px;padding:0 18px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.shop-cart h2{margin:0;display:flex;align-items:center;gap:8px;font-size:16px}.shop-cart>header button{border:0;background:transparent;color:var(--muted);font-size:11px;font-weight:800}.shop-cart-list{min-height:180px;overflow:auto;padding:8px 16px}.shop-cart-empty{min-height:180px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;color:#a1a1aa;text-align:center}.shop-cart-empty .icon{width:32px;height:32px;margin-bottom:5px}.shop-cart-empty strong{color:var(--graphite);font-size:13px}.shop-cart-empty span{font-size:11px}.shop-cart>footer{padding:16px;border-top:1px solid var(--line);background:#fafafa}.shop-cart>footer>div{margin-bottom:12px;display:flex;justify-content:space-between;color:var(--muted);font-size:12px}.shop-cart>footer>div strong{color:var(--black);font-size:20px}.shop-cart>footer>button{width:100%;min-height:52px;border-radius:12px;display:flex;align-items:center;justify-content:center;gap:8px;font-size:13px;font-weight:800}.shop-cart-row{position:relative;min-height:76px;padding:12px 32px 12px 0;border-bottom:1px solid #f0f0f1;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px}.shop-cart-row:last-child{border-bottom:0}.shop-cart-row>div:first-child{min-width:0;display:flex;flex-direction:column}.shop-cart-row>div:first-child strong{font-size:12px;overflow-wrap:anywhere}.shop-cart-row small{font-size:10px}.shop-cart-row>.counter button{width:32px;height:32px;border-radius:8px;background:var(--soft)}.shop-cart-row>.counter button:last-child{background:var(--black);color:#fff}.shop-cart-row>strong{font-size:12px}.shop-cart-row>.shop-remove{position:absolute;right:0;top:8px;width:30px;height:30px;padding:5px;border:0;background:transparent;color:#a1a1aa}.shop-remove .icon{width:15px;height:15px}
.shop-stepper{max-width:900px;margin:0 auto 22px;padding:0;list-style:none;display:grid;grid-template-columns:repeat(4,1fr)}.shop-stepper li{position:relative;display:flex;align-items:center;justify-content:center;gap:7px;color:#a1a1aa;font-size:11px}.shop-stepper li:not(:last-child)::after{content:"";position:absolute;z-index:0;left:calc(50% + 58px);right:calc(-50% + 58px);top:16px;height:2px;background:#e4e4e7}.shop-stepper li.is-complete::after{background:var(--success)}.shop-stepper li>span{position:relative;z-index:1;width:32px;height:32px;border:2px solid #d4d4d8;border-radius:50%;background:var(--surface);display:grid;place-items:center;font-weight:800}.shop-stepper li>span .icon{width:16px;height:16px}.shop-stepper li.is-active,.shop-stepper li.is-complete{color:var(--graphite)}.shop-stepper li.is-active>span{border-color:var(--black);background:var(--black);color:#fff}.shop-stepper li.is-complete>span{border-color:var(--success);background:var(--success);color:#fff}.shop-flow{max-width:900px}.shop-flow-card{overflow:hidden;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:0 1px 2px #0000000a}.shop-flow-card>header{padding:24px;border-bottom:1px solid var(--line)}.shop-flow-card h1{margin:0;font-size:25px;letter-spacing:-.03em}.shop-review-list{padding:8px 24px}.shop-review-total,.shop-payment-summary{padding:18px 24px;border-top:1px solid var(--line);background:#fafafa;display:flex;align-items:center;justify-content:space-between}.shop-review-total strong,.shop-payment-summary strong{font-size:24px}.shop-flow-actions{padding:16px 24px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:10px}.shop-flow-actions button{min-height:50px;padding:0 20px;border:1px solid var(--line);border-radius:11px;background:#fff;font-size:12px;font-weight:800}.shop-flow-actions button{display:flex;align-items:center;justify-content:center;gap:7px;text-align:center}.shop-pickup-options{margin:0;padding:24px;border:0;display:grid;grid-template-columns:1fr 1fr;gap:14px}.shop-pickup-options label{min-height:150px;padding:18px;border:2px solid var(--line);border-radius:14px;display:flex;align-items:flex-start;gap:12px;cursor:pointer}.shop-pickup-options label.is-selected{border-color:var(--black);background:#fafafa}.shop-pickup-options input{width:20px;height:20px}.shop-pickup-options span{display:flex;flex-direction:column;gap:7px}.shop-pickup-options strong{font-size:15px}.shop-pickup-options small{font-size:12px;line-height:1.5}.shop-mock-notice{margin:24px;padding:18px;border:1px solid #fde68a;border-radius:14px;background:#fffbeb;color:#78350f;display:flex;align-items:flex-start;gap:12px}.shop-mock-notice p{max-width:65ch;margin:4px 0 0;font-size:12px}.shop-payment-summary{margin:20px 24px 24px;border:1px solid var(--line);border-radius:12px}.shop-flow-card>.message{margin:0 24px 24px}.shop-unavailable{width:min(100%,620px);min-height:360px;margin:30px auto;padding:40px;border:1px dashed #c8c5ca;border-radius:18px;background:#fff;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center}.shop-unavailable>.icon{width:46px;height:46px;margin-bottom:12px;color:#a1a1aa}.shop-unavailable h1{margin-bottom:7px;font-size:25px}.shop-unavailable p{max-width:52ch;color:var(--muted)}.shop-unavailable a{min-height:46px;padding:0 16px;border-radius:10px;background:var(--black);display:flex;align-items:center;color:#fff;text-decoration:none;font-size:12px;font-weight:800}
.customer-order{max-width:900px}.customer-order-back{margin-bottom:22px;font-size:13px}.customer-order .shop-stepper li{font-size:12px}.customer-order-hero{padding:30px;border:1px solid var(--line);border-radius:18px;background:#fff;text-align:center}.customer-order-hero .badge{margin-bottom:12px;padding:5px 10px;font-size:12px;font-weight:800}.customer-order-hero h1{margin:0;font-size:38px;letter-spacing:-.04em}.customer-order-hero p{margin:7px 0 0;color:var(--muted);font-size:14px;line-height:1.45}.customer-tracker,.customer-order-details{margin-top:18px;border:1px solid var(--line);border-radius:16px;background:#fff}.customer-tracker{padding:24px}.customer-tracker h2{font-size:19px}.customer-tracker ol{margin:24px 0 16px;padding:0;list-style:none;display:grid;grid-template-columns:repeat(3,1fr)}.customer-tracker li{position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;color:#a1a1aa;font-size:12px;line-height:1.35;text-align:center}.customer-tracker li:not(:last-child)::after{content:"";position:absolute;left:calc(50% + 22px);right:calc(-50% + 22px);top:18px;height:3px;background:#e4e4e7}.customer-tracker li.is-complete::after{background:var(--success)}.customer-tracker li>span{position:relative;z-index:1;width:38px;height:38px;border:2px solid #d4d4d8;border-radius:50%;background:#fff;display:grid;place-items:center;font-weight:800}.customer-tracker li.is-active,.customer-tracker li.is-complete{color:var(--graphite)}.customer-tracker li.is-active>span{border-color:var(--black);background:var(--black);color:#fff}.customer-tracker li.is-complete>span{border-color:var(--success);background:var(--success);color:#fff}.customer-tracker p{margin:0;color:var(--muted);font-size:12px;line-height:1.45;text-align:center}.customer-order-details{display:grid;grid-template-columns:1fr 1.3fr;overflow:hidden}.customer-order-details>div{padding:24px}.customer-order-details>div+div{border-left:1px solid var(--line)}.customer-order-details h2{font-size:17px}.customer-order-details>div>strong{font-size:15px}.customer-order-details p{margin:7px 0;color:#52525b;font-size:14px;line-height:1.5}.customer-order-details>div:last-child>p{display:flex;justify-content:space-between;gap:18px}.customer-order-details footer{margin-top:16px;padding-top:14px;border-top:1px solid var(--line);display:flex;justify-content:space-between}.shop-orders-dialog{max-width:620px}.shop-orders-list{display:grid;gap:8px}.shop-orders-list button{width:100%;min-height:68px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:14px;text-align:left}.shop-orders-list button>span{display:flex;flex-direction:column}.shop-orders-list button>span:last-child{align-items:flex-end}.shop-orders-list small{font-size:10px}.shop-orders-list b{color:var(--muted);font-size:10px}.online-sales-settings{margin-bottom:22px;padding:20px;border:1px solid var(--line);border-radius:16px;background:#fff}.online-sales-settings>header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.online-sales-settings h2{margin:0 0 3px;font-size:18px}.online-sales-settings header p{margin:0;color:var(--muted);font-size:12px}.online-sales-settings form{margin-top:16px;display:grid;grid-template-columns:1fr 1fr auto;gap:12px;align-items:end}.online-sales-settings label{display:flex;flex-direction:column;gap:6px}.online-sales-settings select,.online-sales-settings textarea{width:100%;border:1px solid #c8c5ca;border-radius:9px;background:#fff;padding:10px 12px}.online-sales-settings select{height:46px}.online-sales-settings .online-instructions{grid-column:1/3}.online-sales-settings textarea{resize:vertical}.online-sales-settings small{font-size:10px}.online-sales-settings form>button{min-height:46px;padding:0 16px;border-radius:10px;font-size:12px;font-weight:800}.online-sales-settings .message{grid-column:1/-1;margin:0}
@media(max-width:900px){.shop-store-layout{grid-template-columns:1fr}.shop-cart{position:static;max-height:none}.shop-cart-list{max-height:360px}.online-sales-settings form{grid-template-columns:1fr 1fr}.online-sales-settings form>button{grid-column:1/-1}.customer-order-details{grid-template-columns:1fr}.customer-order-details>div+div{border-left:0;border-top:1px solid var(--line)}}
@media(max-width:560px){.shop-main{min-height:calc(100dvh - 62px);padding:18px 12px 32px}.shop-heading{align-items:stretch;flex-direction:column}.shop-heading h1{font-size:26px}.shop-heading>button{justify-content:center}.shop-catalog{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.shop-stepper{margin-bottom:16px}.shop-stepper li{gap:4px;flex-direction:column;font-size:9px;text-align:center}.shop-stepper li:not(:last-child)::after{left:calc(50% + 18px);right:calc(-50% + 18px);top:15px}.shop-stepper li>span{width:30px;height:30px}.shop-flow-card>header{padding:18px}.shop-flow-card h1{font-size:21px}.shop-review-list{padding:6px 14px}.shop-cart-row{grid-template-columns:minmax(0,1fr) auto}.shop-cart-row>.counter{grid-column:1}.shop-cart-row>strong{grid-column:2;grid-row:2}.shop-review-total,.shop-payment-summary{padding:15px 16px}.shop-flow-actions{position:sticky;bottom:0;padding:12px;display:grid;grid-template-columns:1fr 1.4fr;background:#fff}.shop-flow-actions button{padding:0 8px}.shop-pickup-options{padding:14px;grid-template-columns:1fr}.shop-pickup-options label{min-height:118px}.shop-mock-notice{margin:16px}.shop-payment-summary{margin:16px 16px 16px}.customer-order-hero{padding:24px 16px}.customer-order-hero h1{font-size:31px}.customer-tracker{padding:18px 10px}.customer-tracker li strong{max-width:90px}.customer-order-details>div{padding:18px}.online-sales-settings{padding:16px}.online-sales-settings form{grid-template-columns:1fr}.online-sales-settings .online-instructions,.online-sales-settings form>button{grid-column:1}.online-sales-settings>header{align-items:flex-start;flex-direction:column}.shop-unavailable{min-height:320px;padding:28px 18px}}

/* Acesso compacto ao carrinho no catálogo de compras */
.shop-store{padding-bottom:112px}
.shop-store-layout{display:block}
.shop-cart-launcher{position:fixed;left:0;right:0;margin-inline:auto;bottom:max(24px,env(safe-area-inset-bottom));z-index:35;width:min(360px,calc(100vw - 48px));min-height:64px;padding:0 18px;border:0;border-radius:14px;background:#fff;color:var(--graphite);box-shadow:0 14px 36px rgba(9,9,11,.18);display:flex;align-items:center;gap:11px;text-align:left;transition:transform .15s ease-out,box-shadow .15s ease-out,background .15s ease-out}
.shop-cart-launcher>.icon:first-child{width:22px;height:22px}
.shop-cart-launcher>span{font-size:15px;font-weight:800}
.shop-cart-launcher>output{margin-left:auto;color:var(--muted);font-size:12px;font-weight:800;font-variant-numeric:tabular-nums;white-space:nowrap}
.shop-cart-launcher>.icon:last-child{width:18px;height:18px}
.shop-cart-launcher:disabled{opacity:.72;background:var(--soft);box-shadow:0 8px 24px rgba(9,9,11,.1)}
@media(hover:hover) and (pointer:fine){.shop-cart-launcher:not(:disabled):hover{transform:translateY(-2px);background:var(--soft);box-shadow:0 18px 42px rgba(9,9,11,.2)}}
@media(max-width:560px){.shop-store{padding-bottom:calc(94px + env(safe-area-inset-bottom))}.shop-cart-launcher{left:12px;right:12px;bottom:max(12px,env(safe-area-inset-bottom));width:auto;min-height:62px;padding:0 16px}.shop-cart-launcher>span{font-size:14px}}

/* Ações do checkout seguem a hierarquia monocromática da NOVA Store. */
.customer-tracker li{justify-content:flex-start}
.customer-partial-overview,.customer-pickup-history,.customer-order-summary{margin-top:18px;border:1px solid var(--line);border-radius:16px;background:#fff;overflow:hidden}
.customer-partial-overview{display:grid;grid-template-columns:1fr 1.3fr}
.customer-partial-overview>div{padding:24px}
.customer-partial-overview>div+div{border-left:1px solid var(--line)}
.customer-partial-overview h2,.customer-pickup-history h2,.customer-order-summary h2{margin:0 0 12px;font-size:19px}
.customer-partial-overview>div>strong{font-size:15px}
.customer-partial-overview>div>p{margin:7px 0 0;color:var(--muted);font-size:14px;line-height:1.55}
.customer-balance-list{display:grid;gap:8px}
.customer-balance-list p,.customer-history-list li,.customer-order-summary>p{margin:0;display:flex;align-items:center;justify-content:space-between;gap:18px;color:#52525b;font-size:14px;line-height:1.45}
.customer-balance-list strong,.customer-history-list li strong{color:var(--graphite)}
.customer-balance-complete{min-height:68px;padding:12px;border:1px solid #bbf7d0;border-radius:12px;background:#f0fdf4;display:flex;align-items:center;gap:10px;color:var(--success)}
.customer-balance-complete>.icon{flex:0 0 auto}
.customer-balance-complete span{display:flex;flex-direction:column;gap:2px}
.customer-balance-complete small{color:var(--muted);font-size:12px;line-height:1.4}
.customer-pickup-history{padding:24px}
.customer-pickup-history>header{margin-bottom:18px;display:flex;align-items:flex-start;justify-content:space-between;gap:20px}
.customer-pickup-history>header h2{margin-bottom:4px}
.customer-pickup-history>header p,.customer-pickup-history>header small{margin:0;color:var(--muted);font-size:12px;line-height:1.45}
.customer-pickup-history>header small{padding-top:4px;text-align:right}
.customer-history-list{display:grid;gap:10px}
.customer-history-list article{padding:16px;border:1px solid var(--line);border-radius:12px;background:#fafafa}
.customer-history-list article>header{margin-bottom:12px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.customer-history-list article>header>span{display:flex;align-items:center;gap:7px}
.customer-history-list article>header .icon{width:17px;height:17px;color:var(--success)}
.customer-history-list time{color:var(--muted);font-size:12px}
.customer-history-list ul{margin:0;padding:12px 0 0;border-top:1px solid var(--line);list-style:none;display:grid;gap:7px}
.customer-history-empty{min-height:150px;padding:24px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;color:var(--muted);text-align:center}
.customer-history-empty>.icon{width:28px;height:28px;margin-bottom:5px;color:#a1a1aa}
.customer-history-empty strong{color:var(--graphite);font-size:14px}
.customer-history-empty span{max-width:380px;font-size:13px;line-height:1.45}
.customer-order-summary{padding:24px}
.customer-order-summary>p{padding:4px 0}
.customer-order-summary footer{margin-top:16px;padding-top:14px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;font-size:16px}
.customer-order-summary footer strong{font-size:22px}
.shop-flow-actions button{color:var(--graphite)}
.shop-flow-actions button.primary{border-color:var(--black);background:var(--black);color:var(--white);box-shadow:0 3px 7px rgba(9,9,11,.16)}
.shop-flow-actions button.primary:active{transform:scale(.98)}
@media(max-width:900px){.customer-partial-overview{grid-template-columns:1fr}.customer-partial-overview>div+div{border-left:0;border-top:1px solid var(--line)}}
@media(max-width:560px){.customer-order .shop-stepper li{font-size:10px;line-height:1.35}.customer-partial-overview>div,.customer-pickup-history,.customer-order-summary{padding:18px}.customer-pickup-history>header{flex-direction:column;gap:7px}.customer-pickup-history>header small{padding:0;text-align:left}.customer-history-list article{padding:14px}.customer-history-list article>header{align-items:flex-start;flex-direction:column;gap:5px}}
.shop-flow-actions button.primary:disabled{border-color:var(--line);background:var(--soft);color:#52525b;box-shadow:none;opacity:1}
@media(hover:hover) and (pointer:fine){.shop-flow-actions button:not(.primary):hover{border-color:var(--graphite);background:var(--soft)}.shop-flow-actions button.primary:not(:disabled):hover{background:var(--graphite)}}

/* Meus pedidos — acesso destacado e histórico compacto do cliente. */
.shop-heading>.shop-orders-cta{border-color:var(--black);background:var(--black);color:var(--white);box-shadow:0 3px 7px rgba(9,9,11,.16);font-size:13px}
.shop-heading>.shop-orders-cta .icon{width:17px;height:17px}
.customer-orders-page{width:min(100%,900px);margin:0 auto}
.customer-orders-heading{margin-bottom:20px;display:flex;align-items:flex-end;justify-content:space-between;gap:20px}
.customer-orders-heading h1{margin:0 0 5px;font-size:32px;letter-spacing:-.035em}
.customer-orders-heading p{margin:0;color:var(--muted);font-size:14px;line-height:1.5}
.customer-orders-heading>a,.customer-orders-empty>a{min-height:44px;padding:0 15px;border-radius:10px;background:var(--black);display:inline-flex;align-items:center;justify-content:center;gap:7px;color:var(--white);font-size:13px;font-weight:800;text-decoration:none;white-space:nowrap}
.customer-orders-heading>a .icon{width:17px;height:17px}
.customer-orders-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.customer-order-card{width:100%;min-height:94px;padding:16px;border:1px solid var(--line);border-radius:14px;background:var(--white);display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;color:var(--graphite);text-align:left;transition:border-color .15s ease-out,background .15s ease-out,transform .15s ease-out}
.customer-order-card-copy{min-width:0;display:flex;align-items:flex-start;flex-direction:column;gap:10px}
.customer-order-card-copy>span{min-width:0;display:flex;flex-direction:column;gap:3px}
.customer-order-card-copy>span>strong{font-size:15px}
.customer-order-card-copy small{overflow:hidden;color:var(--muted);font-size:11px;text-overflow:ellipsis;white-space:nowrap}
.customer-order-card-copy .badge{padding:4px 8px;font-size:10px}
.customer-order-card-value{display:flex;align-items:center;gap:9px;white-space:nowrap}
.customer-order-card-value>strong{font-size:15px;font-variant-numeric:tabular-nums}
.customer-order-card-value .icon{width:16px;height:16px;color:#a1a1aa}
.customer-orders-empty{min-height:300px;padding:36px 20px;border:1px dashed #c8c5ca;border-radius:16px;background:var(--white);display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center}
.customer-orders-empty>.icon{width:38px;height:38px;margin-bottom:12px;color:#a1a1aa}
.customer-orders-empty h2{margin:0 0 6px;font-size:20px}
.customer-orders-empty p{max-width:48ch;margin:0 0 18px;color:var(--muted);font-size:13px;line-height:1.55}
.customer-orders-pagination{padding-top:20px;display:flex;justify-content:center}
.customer-orders-more{min-height:44px;padding:0 18px;border:1px solid var(--line);border-radius:10px;background:var(--white);color:var(--graphite);font-size:12px;font-weight:800}
.customer-orders-more:disabled{background:var(--soft);color:var(--muted)}
.customer-orders-error{margin:16px 0 0;padding:12px 14px;border:1px solid var(--error-line);border-radius:10px;background:var(--error-soft);color:var(--error-ink);font-size:12px;text-align:center}
@media(hover:hover) and (pointer:fine){.shop-heading>.shop-orders-cta:hover,.customer-orders-heading>a:hover,.customer-orders-empty>a:hover{background:var(--graphite)}.customer-order-card:hover{border-color:var(--graphite);background:#fafafa;transform:translateY(-1px)}.customer-orders-more:not(:disabled):hover{border-color:var(--graphite);background:var(--soft)}}
@media(max-width:700px){.customer-orders-grid{grid-template-columns:1fr}}
@media(max-width:560px){.customer-orders-heading{align-items:stretch;flex-direction:column;gap:14px}.customer-orders-heading h1{font-size:27px}.customer-orders-heading>a{width:100%}.customer-order-card{min-height:90px;padding:14px}.customer-order-card-copy small{font-size:12px}.customer-orders-empty{min-height:280px;padding:30px 18px}}
/* Pagamento com cartão (Stripe Elements) */
.shop-card-field{margin:0 24px 24px;display:grid;gap:8px}
.shop-card-field>span{font-size:12px;font-weight:800;color:#3f3f46}
.shop-card-element{padding:14px;border:1px solid var(--line);border-radius:12px;background:#fff;min-height:46px}
.shop-payment-note{margin:0 24px 24px;padding:12px 14px;border:1px solid #bfdbfe;border-radius:12px;background:#eff6ff;color:#1e3a8a;display:flex;align-items:flex-start;gap:10px;font-size:12px}
.shop-payment-note .icon{flex:none;width:16px;height:16px;margin-top:1px}
.shop-card-field>label{font-size:12px;font-weight:800;color:#3f3f46}
.shop-payment-element{min-height:120px}
.shop-express{margin:0 24px 8px}
.shop-express[hidden]{display:none}
.shop-or{margin:14px 0 4px;display:flex;align-items:center;gap:12px;color:var(--muted);font-size:12px}
.shop-or::before,.shop-or::after{content:"";flex:1;height:1px;background:var(--line)}
.shop-powered{margin:0;padding:10px 24px 16px;display:flex;align-items:center;justify-content:center;gap:12px;color:#6b7280;font-size:12px}
.shop-powered strong{color:#3f3f46;font-weight:800;letter-spacing:-.01em}
.shop-powered i{width:1px;height:14px;background:var(--line)}
.shop-powered a{color:#6b7280;text-decoration:none}
.shop-powered a:hover{color:var(--graphite);text-decoration:underline}
/* Stepper: no desktop o texto e a linha dividem a mesma linha; em larguras médias usa o layout empilhado do mobile */
@media(min-width:900px){.shop-stepper li{justify-content:flex-start;padding-right:14px}.shop-stepper li:not(:last-child)::after{position:static;flex:1;left:auto;right:auto;top:auto;min-width:24px;margin-left:6px}}
@media(min-width:561px) and (max-width:899px){.shop-stepper li{gap:4px;flex-direction:column;font-size:10px;line-height:1.35;text-align:center}.shop-stepper li:not(:last-child)::after{left:calc(50% + 18px);right:calc(-50% + 18px);top:15px}}
.sales-stats{grid-template-columns:repeat(4,1fr)}
@media(max-width:820px){.sales-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){
.toolbar input[type="date"],.toolbar input[type="datetime-local"]{display:block;width:100%;min-width:0;max-width:100%;box-sizing:border-box;-webkit-appearance:none;appearance:none;text-align:left}
.toolbar input[type="date"]::-webkit-date-and-time-value,.toolbar input[type="datetime-local"]::-webkit-date-and-time-value{min-width:0;text-align:left}
.pagehead:has(.pedidos-pagehead-actions){position:relative}
.pagehead:has(.pedidos-pagehead-actions) h1{padding-right:56px}
.pagehead:has(.pedidos-pagehead-actions) .pedidos-pagehead-actions{position:absolute;top:2px;right:0;width:auto}
}
