/* Solo personalización de Preventas: el header y las tarjetas usan estilos de Catálogo. */
.pre-catalog-page .pre-filters{align-items:end;margin:24px 0 26px}
.pre-catalog-page .pre-filters label{min-width:170px}
.pre-catalog-page .pre-filters input,.pre-catalog-page .pre-filters select{max-width:100%;width:100%}
.pre-catalog-page .pre-filters .catalog-action{min-height:42px}
.pre-header-cart{background:transparent;border:1px solid var(--gold,#ffb000);border-radius:9px;color:var(--gold,#ffb000);padding:10px 12px;font-size:13px;font-weight:700;white-space:nowrap;cursor:pointer}
.pre-header-cart #cart-count{display:inline-flex;justify-content:center;align-items:center;min-width:22px;padding:1px 5px;border-radius:12px;background:var(--gold,#ffb000);color:#13110c;margin-left:3px}
.pre-catalog-page .pre-buy{width:100%;margin-top:13px;min-height:40px;background:var(--gold,#ffb000);color:#121212;font-weight:800}
.pre-catalog-page .pre-old-price{display:block;color:#999;font-size:14px;margin-top:7px}
.pre-backdrop{position:fixed;inset:0;background:#000b;z-index:10000}
.pre-backdrop[hidden]{display:none}
.pre-drawer{margin-left:auto;background:#151620;color:#fff;width:min(100%,450px);height:100%;overflow:auto;padding:25px;display:flex;flex-direction:column;gap:18px;font:15px/1.5 system-ui,-apple-system,Segoe UI,sans-serif}
.pre-drawer button{cursor:pointer}
.pre-drawer-title{display:flex;align-items:center;justify-content:space-between;gap:10px}
.pre-drawer-title h2{font-size:21px;margin:0}
.pre-drawer-title button{background:transparent;border:0;color:white;font-size:25px}
.pre-cart-line{border-bottom:1px solid #333;padding:14px 0}
.pre-cart-item{display:flex;gap:12px;align-items:flex-start}
.pre-cart-thumb{flex:0 0 74px;width:74px;height:84px;border:1px solid #353742;border-radius:9px;background:#242630;object-fit:contain}
.pre-cart-placeholder{display:grid;place-items:center;font-size:26px}
.pre-cart-item-detail{min-width:0;flex:1;display:grid;gap:6px}
.pre-cart-item-detail b{line-height:1.3;overflow-wrap:anywhere}
.pre-cart-item-detail small{color:#c6c6d0}
.pre-cart-line label{display:flex;align-items:center;gap:10px;font-size:13px}
.pre-cart-line input{width:75px;background:#252633;color:white;border:1px solid #444;padding:7px;border-radius:5px}
.pre-cart-line button{background:transparent;border:0;color:#f28d8d;text-align:left;padding:0;justify-self:start}
.pre-cart-footer{display:grid;gap:12px;margin-top:auto}
.pre-cart-footer p{font-size:12px;color:#aaa}
.pre-cart-footer strong{font-size:21px;text-align:right}
.pre-primary{padding:12px;background:var(--gold,#ffb000);color:#13100c;border:0;border-radius:9px;font-weight:800}
#pre-message{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);padding:12px 18px;background:#202432;color:#fff;border:1px solid #555;border-radius:12px;z-index:10001;display:none;max-width:90vw}
@media(max-width:700px){.pre-cart-thumb{flex-basis:64px;width:64px;height:76px}.pre-drawer{padding:16px}.pre-catalog-page .pre-filters label{min-width:135px}}
