/* Montex — carrito flotante + panel lateral. Carrito propio (localStorage 'cart_montex'),
   nada compartido con CV ni Bolsas De Colombia. */
.cart-fab {
  position: fixed; right: 18px; bottom: 84px; width: 52px; height: 52px;
  background: var(--acento); border-radius: 50%; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 30px rgba(0,0,0,0.28); z-index: 140;
}
.cart-fab svg { width: 24px; height: 24px; }
.cart-fab svg path, .cart-fab svg circle { stroke: #fff; }
.cart-fab .cart-count {
  position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 4px;
  border-radius: 10px; background: #fff; color: var(--acento); font-size: 0.72rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}
.cart-fab .cart-count.oculto { display: none; }

.cart-overlay {
  position: fixed; inset: 0; background: rgba(20,16,10,0.45); z-index: 200;
  display: none; align-items: stretch; justify-content: flex-end;
}
.cart-overlay.open { display: flex; }
.cart-panel {
  width: min(420px, 100vw); height: 100%; background: #fff; display: flex; flex-direction: column;
  box-shadow: -10px 0 40px rgba(0,0,0,0.25);
}
.cart-panel-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--card-border);
}
.cart-panel-head h2 { margin: 0; font-size: 1.1rem; }
.cart-close { background: none; border: none; font-size: 1.4rem; cursor: pointer; color: var(--texto-muted); line-height: 1; }
.cart-items { flex: 1; overflow-y: auto; padding: 1rem 1.25rem; }
.cart-vacio { color: var(--texto-muted); text-align: center; padding: 3rem 1rem; font-size: 0.92rem; }
.cart-item { display: flex; gap: 0.75rem; padding: 0.85rem 0; border-bottom: 1px solid var(--card-border); }
.cart-item img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; background: var(--madera-clara); flex-shrink: 0; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-info .nombre { font-weight: 700; font-size: 0.92rem; margin: 0 0 0.15rem; }
.cart-item-info .detalle { font-size: 0.78rem; color: var(--texto-muted); margin: 0 0 0.3rem; }
.cart-item-info .precio { font-weight: 700; color: var(--acento); font-size: 0.88rem; }
.cart-item-quitar { background: none; border: none; color: #b45309; font-size: 0.75rem; cursor: pointer; padding: 0; text-decoration: underline; }
.cart-panel-foot { padding: 1rem 1.25rem 1.25rem; border-top: 1px solid var(--card-border); }
.cart-subtotal { display: flex; justify-content: space-between; font-weight: 800; font-size: 1.05rem; margin-bottom: 0.85rem; }
.cart-panel-foot .btn { width: 100%; }
