/* PC Builder (2026-10-15) - sits on top of shop.css */
.bld{padding:1.6rem 0 0}
.bld-head{display:flex;justify-content:space-between;align-items:flex-end;gap:1.5rem;flex-wrap:wrap;margin-bottom:1.3rem}
.bld-head h1{font-size:clamp(1.7rem,4vw,2.6rem);color:#fff;line-height:1.1;margin-bottom:.4rem}
.bld-head h1 em{font-style:normal;color:var(--red)}
.bld-head p{color:var(--muted);max-width:52rem;font-size:.95rem}
.bld-quick{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}
.bld-quick span{font-size:.72rem;letter-spacing:1.5px;text-transform:uppercase;color:var(--muted);font-weight:700;margin-right:.2rem}
.bld-quick .btn{padding:.5rem .8rem;font-size:.85rem}
.bld-layout{display:grid;grid-template-columns:330px 1fr;gap:1.2rem;align-items:start}
.bld-slots{position:sticky;top:84px;display:grid;gap:.45rem}
.bld-tabs{display:flex;gap:.3rem;margin-bottom:.3rem}
.bld-tabs button{flex:1;background:transparent;border:1.5px solid var(--border);border-radius:8px;color:var(--muted);font:inherit;font-weight:700;font-size:.82rem;letter-spacing:.5px;text-transform:uppercase;padding:.5rem;cursor:pointer}
.bld-tabs button.on{border-color:var(--red);color:var(--red);background:rgba(255,212,0,.08)}
.slot{display:grid;grid-template-columns:46px 1fr auto;gap:.7rem;align-items:center;text-align:left;background:var(--surface);border:1.5px solid var(--border);border-radius:12px;padding:.6rem .7rem;cursor:pointer;font:inherit;color:var(--text);transition:.15s;min-height:66px}
.slot:hover{border-color:#555}
.slot.on{border-color:var(--red);box-shadow:0 0 0 2px rgba(255,212,0,.18)}
.slot.filled .slot-ic{background:var(--red)}
.slot.filled .slot-ic svg{fill:#000}
.slot-ic{width:46px;height:46px;border-radius:10px;background:#0d0d0d;border:1px solid var(--border);display:grid;place-items:center}
.slot-ic svg{width:24px;height:24px;fill:var(--muted)}
.slot-body{min-width:0;display:flex;flex-direction:column;gap:2px}
.slot-name{font-weight:800;color:#fff;font-size:.9rem;letter-spacing:.3px}
.slot-pick{font-size:.78rem;color:var(--muted);letter-spacing:.5px;text-transform:uppercase;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.3}
.slot.filled .slot-pick{text-transform:none;letter-spacing:0;color:var(--text)}
.slot-price{font-weight:800;color:#fff;font-size:.9rem;text-align:right;white-space:nowrap}
.bld-note{font-size:.78rem;color:var(--muted);margin-top:.4rem}
.bld-main{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:1rem;min-height:60vh}
.bld-listhead{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;margin-bottom:.8rem}
.bld-listhead h2{font-size:1.25rem;color:#fff;display:inline-block;margin-right:.6rem}
.bld-count{font-size:.8rem;color:var(--muted)}
.bld-tools{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap}
.bld-search{display:flex;align-items:center;gap:.4rem;background:#0d0d0d;border:1.5px solid var(--border);border-radius:8px;padding:0 .6rem}
.bld-search svg{width:16px;height:16px;fill:var(--muted)}
.bld-search input{background:transparent;border:0;color:var(--text);font:inherit;font-size:.9rem;padding:.5rem 0;width:150px;outline:none}
.bld-search:focus-within{border-color:var(--red)}
.bld-tools select{background:#0d0d0d;color:var(--text);border:1.5px solid var(--border);border-radius:8px;padding:.5rem .6rem;font:inherit;font-size:.9rem}
.bld-compat{display:flex;align-items:center;gap:.4rem;font-size:.88rem;color:var(--text);cursor:pointer;white-space:nowrap}
.bld-compat input{accent-color:#ffd400;width:16px;height:16px;margin:0}
.bld-issues{display:grid;gap:.3rem;margin-bottom:.8rem}
.bld-issues p{margin:0;padding:.55rem .8rem;border-radius:8px;font-size:.88rem;font-weight:600}
.bld-issues .err{background:rgba(251,113,133,.12);border:1px solid rgba(251,113,133,.5);color:#fb7185}
.bld-issues .warn{background:rgba(251,191,36,.1);border:1px solid rgba(251,191,36,.45);color:#fbbf24}
.bld-list{display:grid;gap:.6rem}
.bld-empty{text-align:center;padding:3rem 1rem;color:var(--muted)}
.bld-empty svg{width:48px;height:48px;fill:var(--red);margin-bottom:.6rem}
.bld-empty h3{color:#fff;margin-bottom:.3rem}
.bld-row{display:grid;grid-template-columns:84px 1fr auto;gap:.9rem;align-items:center;background:#0d0d0d;border:1.5px solid var(--border);border-radius:12px;padding:.7rem}
.bld-row.picked{border-color:var(--red);background:rgba(255,212,0,.05)}
.bld-row.bad{opacity:.75}
.bld-img{width:84px;height:84px;background:#fff;border-radius:8px;display:grid;place-items:center;padding:6px;overflow:hidden}
.bld-img img{width:100%;height:100%;object-fit:contain}
.bld-img:has(.ph-mini){background:#161616;padding:0}
.bld-info{min-width:0}
.bld-name{color:#fff;font-weight:600;font-size:.93rem;line-height:1.3;display:block;margin-bottom:.35rem}
.bld-name:hover{color:var(--red)}
.bld-chips{display:flex;flex-wrap:wrap;gap:.3rem;margin-bottom:.35rem}
.bld-chips span{font-size:.72rem;font-weight:700;color:var(--text);background:#1a1a1a;border:1px solid var(--border);border-radius:5px;padding:1px 7px}
.bld-meta{display:flex;align-items:center;gap:.7rem;flex-wrap:wrap}
.bld-bad{color:#fb7185;font-size:.8rem;font-weight:600;margin:.3rem 0 0}
.bld-buy{display:flex;flex-direction:column;align-items:flex-end;gap:.45rem;min-width:140px}
.bld-price{display:flex;flex-direction:column;align-items:flex-end;gap:.1rem;text-align:right}
.bld-price b{color:#fff;font-size:1.1rem;font-weight:800}
.bld-row .btn-add{min-width:110px;justify-content:center}
.bld-row .btn-add.on{background:#25d366}
.bld-more{justify-self:center;margin-top:.4rem}
.bld-bar{position:sticky;bottom:0;z-index:40;margin-top:1.2rem;background:rgba(10,10,10,.95);backdrop-filter:blur(10px);border-top:1px solid var(--border);padding:.7rem 0}
.bld-bar-in{display:flex;align-items:center;gap:1.2rem;flex-wrap:wrap}
.bld-total{display:flex;align-items:baseline;gap:.5rem}
.bld-total span{font-size:.72rem;letter-spacing:1.5px;text-transform:uppercase;color:var(--muted);font-weight:700}
.bld-total b{font-size:1.6rem;color:var(--red);font-family:var(--font-display);font-weight:800}
.bld-total small{color:var(--muted);font-size:.8rem}
.bld-power{display:inline-flex;align-items:center;gap:.35rem;color:var(--muted);font-size:.85rem;font-weight:600}
.bld-power svg{width:16px;height:16px;fill:var(--red)}
.bld-status{font-size:.88rem;font-weight:700}
.bld-status.ok{color:#5ee08f}.bld-status.warn{color:#fbbf24}.bld-status.err{color:#fb7185}
.bld-actions{margin-left:auto;display:flex;gap:.5rem;flex-wrap:wrap}
.bld-actions .btn{padding:.6rem .9rem;font-size:.88rem}
.bld-actions .btn svg{width:16px;height:16px}
.bld-actions .btn:disabled{opacity:.5;cursor:not-allowed;transform:none}
@media(max-width:900px){
  .bld-layout{grid-template-columns:1fr}
  .bld-slots{position:static;grid-template-columns:1fr 1fr;gap:.4rem}
  .bld-tabs,.bld-note{grid-column:1/-1}
  .slot{min-height:58px;grid-template-columns:38px 1fr;padding:.5rem}
  .slot-ic{width:38px;height:38px}
  .slot-price{grid-column:2;text-align:left;font-size:.8rem}
  .bld-row{grid-template-columns:64px 1fr}
  .bld-img{width:64px;height:64px}
  .bld-buy{grid-column:1/-1;flex-direction:row;justify-content:space-between;align-items:center}
  .bld-price{flex-direction:row;align-items:baseline;gap:.5rem}
  .bld-bar-in{gap:.6rem}
  .bld-actions{margin-left:0;width:100%}
  .bld-actions .btn{flex:1;justify-content:center}
}
@media(max-width:560px){.bld-slots{grid-template-columns:1fr}.bld-search input{width:110px}}
.bld-warn{color:#fbbf24;font-size:.8rem;font-weight:600;margin:.3rem 0 0}
