.floating-sales-cart{position:fixed;right:16px;bottom:52px;z-index:40;width:min(440px,calc(100vw - 24px));max-height:calc(100dvh - 110px);display:flex;flex-direction:column;border:1px solid #cbd5e1;border-radius:10px;background:#fff;box-shadow:0 12px 36px #0f172a38;overflow:hidden;color:#0f172a}.floating-cart-header{display:flex;flex:none;align-items:center;gap:8px;padding:8px 10px;min-height:42px;background:#f1f5f9;border-bottom:1px solid #e2e8f0;cursor:move;touch-action:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;font-size:13px}.floating-cart-header strong{flex:1}.floating-cart-header>button{width:26px;height:26px;display:grid;place-items:center;border-radius:4px;cursor:pointer;background:transparent}.floating-cart-header>button:hover{background:#e2e8f0}.floating-cart-header button:focus-visible{outline:2px solid #2563eb;outline-offset:1px}.floating-cart-grip{color:#94a3b8}.cart-timer{font-size:11px;font-variant-numeric:tabular-nums;color:#64748b}.cart-timer.urgent{color:#dc2626;font-weight:600}.floating-cart-body,.compact-cart{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}.compact-cart-items{flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain;padding:8px}.compact-cart-item{padding:8px 10px;border:1px solid #e2e8f0;border-radius:6px;background:#fff}.compact-cart-item+.compact-cart-item{margin-top:6px}.cart-item-top{display:flex;align-items:center;gap:8px;font-size:11px}.cart-item-top>span{margin-left:auto}.floating-sales-cart .cart-remove{width:24px;height:24px;padding:4px;color:#dc2626;flex:none}.cart-item-route{margin:3px 0;font-size:12px;line-height:17px;font-weight:600;overflow-wrap:anywhere}.cart-item-time{display:flex;flex-wrap:wrap;justify-content:space-between;gap:3px 8px;font-size:10px;color:#64748b}.cart-item-tag{font-size:10px;color:#7c3aed;margin:2px 0}.cart-item-prices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 14px;margin:7px 0 4px;font-size:10px}.cart-item-prices>div{display:flex;justify-content:space-between;gap:6px;min-width:0}.cart-item-prices dt{color:#64748b}.cart-item-prices dd{margin:0;white-space:nowrap;font-variant-numeric:tabular-nums}.cart-discount{color:#15803d}.cart-item-total{display:flex;justify-content:space-between;padding-top:5px;border-top:1px solid #f1f5f9;font-size:11px}.compact-cart-summary{flex:none;padding:8px 12px;border-top:1px solid #e2e8f0;background:#f8fafc;display:flex;flex-direction:column;gap:4px;font-size:11px}.compact-cart-summary>div{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 8px}.compact-cart-summary .cart-grand-total{padding-top:5px;border-top:1px solid #e2e8f0;font-size:14px;font-weight:700}.compact-cart-actions{flex:none;display:flex;flex-wrap:wrap;gap:8px;padding:8px 12px;border-top:1px solid #e2e8f0}.floating-sales-cart .compact-cart-actions>button{width:160px;max-width:100%;height:32px;min-height:32px;padding:0 10px;gap:5px;font-size:11px;font-weight:500;background:#334155;color:#fff;box-shadow:none}.floating-sales-cart .compact-cart-actions>button:hover{background:#1e293b}.floating-sales-cart .compact-cart-actions>button:disabled{background:#e2e8f0;color:#64748b;opacity:1}.cart-empty{padding:20px 10px;text-align:center;font-size:12px;color:#64748b}@media (max-height:500px){.floating-sales-cart{bottom:8px;max-height:calc(100dvh - 16px)}.compact-cart-summary{padding:5px 10px}}@media (max-width:380px){.cart-item-prices{grid-template-columns:1fr}.floating-sales-cart .compact-cart-actions>button{flex:1;width:auto}}
