/* בר פון: בורר שלטים בדף מוצר של שלט PS5 (inc/pads.php + assets/pads.js) */
.bpx-pads{margin:4px 0 16px}
.bpx-pads-h{margin:0 0 8px;font-size:15px;line-height:1.4;color:#374151}
.bpx-pads-h b{color:#111827;font-weight:700}
.bpx-pads .bpx-pads-l{display:grid;grid-template-columns:repeat(auto-fit,minmax(56px,1fr));gap:8px;max-width:420px;max-width:min(420px,calc(var(--bpx-pads-n,6) * 88px));margin:0;padding:0;list-style:none}
.bpx-pads .bpx-pads-l>li{margin:0;padding:0;list-style:none}
.bpx-pads .bpx-pads-t{position:relative;display:flex;align-items:center;justify-content:center;aspect-ratio:4/3;border:1px solid #d1d5db;border-radius:10px;background:#fff;overflow:hidden;text-decoration:none;color:#111827;-webkit-tap-highlight-color:transparent;touch-action:manipulation;transition:border-color .15s ease,box-shadow .15s ease,transform .1s ease;box-sizing:border-box}
.bpx-pads .bpx-pads-t img{display:block;width:100%;height:100%;max-width:none;object-fit:cover;pointer-events:none}
.bpx-pads .bpx-pads-t img.is-raw{object-fit:contain;padding:2px;box-sizing:border-box}
.bpx-pads .bpx-pads-t[aria-current="page"]{border-color:var(--pal-purple,#5b21b6);box-shadow:0 0 0 1px var(--pal-purple,#5b21b6)}
@media (hover:hover){
.bpx-pads .bpx-pads-t:hover{border-color:#9ca3af}
.bpx-pads .bpx-pads-t[aria-current="page"]:hover{border-color:var(--pal-purple,#5b21b6)}
}
.bpx-pads .bpx-pads-t:active{transform:scale(.96)}
.bpx-pads .bpx-pads-t:focus:not(:focus-visible){outline:none}
.bpx-pads .bpx-pads-t:focus-visible{outline:2px solid var(--pal-purple,#5b21b6);outline-offset:2px}
.bpx-pads .bpx-pads-t.is-out img{opacity:.4}
.bpx-pads .bpx-pads-t.is-out::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(to top left,transparent calc(50% - 1px),#9ca3af calc(50% - 1px),#9ca3af calc(50% + 1px),transparent calc(50% + 1px));pointer-events:none}
.bpx-pads-x{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;padding:0 4px;font-size:11px;line-height:1.25;text-align:center}
.bpx-pads .bpx-pads-t.is-loading img{opacity:.5}
.bpx-pads .bpx-pads-t.is-loading::before{content:"";position:absolute;top:50%;left:50%;width:18px;height:18px;margin:-9px 0 0 -9px;border:2px solid rgba(91,33,182,.25);border-top-color:var(--pal-purple,#5b21b6);border-radius:50%;opacity:0;animation:bpx-pads-spin .7s linear infinite,bpx-pads-in 0s linear .15s forwards;z-index:1}
@keyframes bpx-pads-spin{to{transform:rotate(360deg)}}
@keyframes bpx-pads-in{to{opacity:1}}
.bpx-pads-busy .summary>.price,.bpx-pads-busy .summary form.cart,.bpx-pads-busy .summary .product_meta,.bpx-pads-busy .summary .bpx-shortdesc{opacity:.45;transition:opacity .15s ease .12s}
.bpx-pads-busy .woocommerce-product-gallery{pointer-events:none}
.bpx-pads-live{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media (max-width:359px){
.bpx-pads .bpx-pads-l{grid-template-columns:repeat(auto-fit,minmax(46px,1fr));gap:6px}
.bpx-pads .bpx-pads-t{aspect-ratio:auto;height:44px}
.bpx-pads .bpx-pads-t img{object-fit:contain}
}
@media (prefers-reduced-motion:reduce){
.bpx-pads .bpx-pads-t,.bpx-pads-busy .summary *{transition:none!important}
.bpx-pads .bpx-pads-t:active{transform:none}
.bpx-pads .bpx-pads-t.is-loading::before{animation:bpx-pads-in 0s linear .15s forwards}
}
