/* ==========================================================================
   components/quote-drawer.css
   Panel lateral de cotización (carrito).
   ========================================================================== */
.drawer { position: fixed; inset: 0; z-index: 80; background: rgba(0,0,0,.55); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .4s; }
.drawer.open { opacity: 1; pointer-events: auto; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: #0f0f14; border-left: 1px solid var(--line); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .55s var(--ease); }
.drawer.open .drawer__panel { transform: none; }
.drawer__panel > header { display: flex; justify-content: space-between; align-items: center; padding: 20px; border-bottom: 1px solid var(--line); font-family: var(--font-d); font-size: 1.1rem; }
.drawer__list { list-style: none; margin: 0; padding: 12px 20px; overflow: auto; flex: 1; display: grid; gap: 10px; align-content: start; }
.drawer__list li { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); animation: stepIn .4s var(--ease); }
.d-ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: rgba(227,38,43,.15); color: var(--red-2); flex: none; }
.d-name { flex: 1; min-width: 0; line-height: 1.25; }
.d-name b { font-size: .86rem; display: block; }
.d-name small { color: var(--muted); font-size: .74rem; }
.qty { display: flex; align-items: center; gap: 6px; }
.qty button { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: rgba(255,255,255,.07); }
.qty span { min-width: 18px; text-align: center; font-weight: 700; font-size: .9rem; }
.d-del { color: var(--muted); width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; }
.d-del:hover { color: var(--red-2); background: rgba(227,38,43,.1); }
.drawer__empty { padding: 0 20px; color: var(--muted); }
.drawer__panel > footer { padding: 20px; border-top: 1px solid var(--line); }
