/* iMarcaTec · carro compartido (se carga igual en todas las páginas) */
.imt-veil{position:fixed;inset:0;background:rgba(10,4,32,.55);z-index:9990;opacity:0;pointer-events:none;transition:opacity .2s}
.imt-veil.on{opacity:1;pointer-events:auto}
.imt-cart{position:fixed;top:0;right:0;bottom:0;width:min(420px,100%);z-index:9991;background:#fff;color:#1d1538;display:flex;flex-direction:column;transform:translateX(105%);transition:transform .25s;box-shadow:-20px 0 60px -20px rgba(0,0,0,.5);padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px);font-family:'Poppins',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;font-size:14px;line-height:1.5;text-align:left}
.imt-cart.on{transform:none}
.imt-cart *{box-sizing:border-box}
.imt-hd{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-bottom:1px solid #d9d2ee}
.imt-hd h3{font-size:18px;font-weight:700;margin:0;letter-spacing:-.01em}
.imt-x{background:none;border:0;font-size:26px;line-height:1;cursor:pointer;color:#64597f;padding:4px 8px;font-family:inherit}
.imt-body{flex:1;overflow:auto;padding:16px 20px}
.imt-empty{color:#64597f;font-size:14px;padding:30px 0;text-align:center}
.imt-grp{font-size:11.5px;letter-spacing:.16em;text-transform:uppercase;color:#6a4cff;font-weight:600;margin:14px 0 8px}
.imt-grp:first-child{margin-top:0}
.imt-line{display:grid;grid-template-columns:1fr auto;gap:4px 12px;padding:12px 0;border-bottom:1px solid #e4dff2}
.imt-nm{font-weight:600;font-size:14px}
.imt-pr{font-weight:700;font-size:14px;text-align:right}
.imt-pr s{font-weight:400;color:#8a82a3;margin-right:6px;font-size:12.5px}
.imt-pr .gr{color:#17803d}
.imt-ds{grid-column:1/-1;font-size:12.5px;color:#64597f;font-weight:300}
.imt-ds .ok{color:#17803d;font-weight:600}
.imt-ct{grid-column:1/-1;display:flex;gap:10px;align-items:center;font-size:12.5px}
.imt-qty{display:inline-flex;align-items:center;border:1px solid #d9d2ee;border-radius:8px}
.imt-qty button{width:28px;height:28px;border:0;background:none;cursor:pointer;font-size:16px;font-family:inherit}
.imt-qty span{min-width:24px;text-align:center;font-weight:600;font-size:13px}
.imt-lnk{background:none;border:0;color:#64597f;text-decoration:underline;cursor:pointer;font-size:12.5px;font-family:inherit;padding:0}
.imt-ft{border-top:1px solid #d9d2ee;padding:16px 20px;background:#f5f2fc;display:grid;gap:10px}
.imt-tot{display:flex;justify-content:space-between;align-items:baseline;font-size:14px}
.imt-tot b{font-size:22px;letter-spacing:-.02em}
.imt-tot.m b{font-size:15px}
.imt-ft small{color:#64597f;font-size:12px;line-height:1.4}
.imt-go{display:flex;align-items:center;justify-content:center;font-weight:600;font-size:14px;padding:13px 20px;border-radius:12px;background:linear-gradient(90deg,#6a4cff,#e8509f);color:#fff;text-decoration:none;box-shadow:0 10px 28px -12px rgba(232,80,159,.8)}
.imt-go.alt{background:#fff;color:#1d1538;border:1.5px solid #d9d2ee;box-shadow:none}
.imt-toast{position:fixed;left:50%;bottom:calc(86px + env(safe-area-inset-bottom,0px));transform:translate(-50%,20px);z-index:9995;background:#0f0626;color:#fff;padding:10px 16px;border-radius:12px;font-family:'Poppins',system-ui,sans-serif;font-size:13.5px;display:flex;gap:14px;align-items:center;opacity:0;pointer-events:none;transition:all .25s;box-shadow:0 10px 30px -10px rgba(0,0,0,.6);max-width:calc(100% - 32px)}
.imt-toast.on{opacity:1;transform:translate(-50%,0);pointer-events:auto}
.imt-toast button{background:none;border:0;color:#ff9ccb;font-weight:600;cursor:pointer;font-size:13.5px;font-family:inherit}
.imt-fab{position:fixed;right:max(16px,env(safe-area-inset-right,0px));bottom:calc(16px + env(safe-area-inset-bottom,0px));z-index:9980;display:inline-flex;align-items:center;gap:8px;border:0;border-radius:999px;padding:12px 18px;background:linear-gradient(90deg,#6a4cff,#e8509f);color:#fff;font:600 14px 'Poppins',system-ui,sans-serif;cursor:pointer;box-shadow:0 14px 34px -12px rgba(232,80,159,.9)}
.imt-cnt{min-width:20px;height:20px;border-radius:10px;background:#0f0626;color:#fff;font-size:11.5px;display:inline-grid;place-items:center;padding:0 5px}
.imt-hbtn{display:inline-flex;align-items:center;gap:8px;background:rgba(255,255,255,.08);color:#fff;border:1px solid rgba(255,255,255,.3);border-radius:12px;padding:10px 13px;font:600 13px 'Poppins',system-ui,sans-serif;cursor:pointer}
.imt-hbtn:hover{background:rgba(255,255,255,.14)}
.imt-hbtn .imt-cnt{background:#e8509f}
.imt-chip{display:inline-flex;align-items:center;gap:6px;font:500 13px 'Poppins',system-ui,sans-serif;padding:8px 13px;border-radius:999px;border:1px solid rgba(255,255,255,.25);background:transparent;color:#fff;cursor:pointer}
.imt-chip::before{content:"+";font-weight:700;color:#e8509f}
.imt-chip:hover{background:rgba(255,255,255,.1)}
.imt-chip[aria-pressed="true"]{background:linear-gradient(90deg,#6a4cff,#e8509f);border-color:transparent}
.imt-chip[aria-pressed="true"]::before{content:"✓";color:#fff}
[data-toggle][aria-pressed="true"]:not(.imt-chip){box-shadow:inset 0 0 0 2px currentColor}
@media (max-width:560px){.imt-hbtn .lb{display:none}}
@media (prefers-reduced-motion:reduce){.imt-cart,.imt-veil,.imt-toast{transition:none}}
