/* Floating cart: styles copied from CNC/floating_cart.php (inline <style> there), scoped under .floating-cart so the
   generic .badge / .cart-icon names don't leak into other markup. Invalid values from the original
   ("#4ac1b8; #007bff;", "//#dc3545") were reduced to the value that actually applied (#4ac1b8). */
.floating-cart{position:fixed;bottom:20px;right:20px;z-index:1000}
.floating-cart .cart-icon{display:flex;align-items:center;justify-content:center;width:60px;height:60px;background-color:#4ac1b8;color:white;border-radius:50%;box-shadow:0 4px 12px rgba(0,0,0,.2);text-decoration:none;font-size:28px;transition:all .3s ease;position:relative;border-bottom:0}
.floating-cart .cart-icon:hover{background-color:#0056b3;transform:scale(1.1)}
.floating-cart .cart-icon.has-items{background-color:#28a745}
.floating-cart .badge{position:absolute;top:-8px;right:-8px;background-color:#4ac1b8;color:white;font-size:14px;font-weight:bold;width:24px;height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 6px rgba(0,0,0,.3);line-height:1}
@media (max-width:768px){.floating-cart{bottom:80px;right:15px}.floating-cart .cart-icon{width:55px;height:55px;font-size:24px}}
/* Mini cart panel (new; shop-only) */
.floating-cart-panel{position:absolute;right:0;bottom:72px;width:min(22rem,90vw);max-height:60vh;overflow:auto;background:#2e3141;color:#e0e0e0;border-radius:8px;box-shadow:0 10px 30px rgba(0,0,0,.5);padding:1em}
.floating-cart-panel[hidden]{display:none}
.floating-cart-panel .fc-title{font-weight:bold;margin:0 0 .5em}
.floating-cart-panel .fc-lines{list-style:none;margin:0;padding:0}
.floating-cart-panel .fc-lines li{display:flex;align-items:center;gap:.4em;padding:.35em 0;border-bottom:1px solid rgba(255,255,255,.1);font-size:.9em}
.floating-cart-panel .fc-lines .fc-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.floating-cart-panel .fc-lines button{min-width:1.8em;height:1.8em;line-height:1;padding:0 .4em;font-size:.9em;box-shadow:none}
.floating-cart-panel .fc-subtotal{margin:.6em 0 .3em;text-align:right}
.floating-cart-panel .fc-msg{min-height:1em;font-size:.85em;color:#4ac1b8;margin:0 0 .5em}
.quick-add{margin:.5em 0 0}
