pahajim-product-rail{display:block;min-width:0;width:100%;margin-block:.6rem 1.25rem;--card-width:clamp(138px,17vw,182px)}
.pr-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:.45rem}
.pr-header:has(.pr-controls[hidden]):not(:has(.pr-title)){display:none}
.pr-header .pr-title{margin:0}.pr-controls{display:flex;gap:.4rem;margin-inline-start:auto}.pr-controls[hidden]{display:none}
.pr-page{background:white;border:1px solid #cfc9be;border-radius:50%;width:2.5rem;height:2.5rem;line-height:1;cursor:pointer;color:#302f2c;font-size:1.6rem}
.pr-page:disabled{opacity:.35;cursor:default}[dir=rtl] .pr-page{transform:rotate(180deg)}
.pdp-section .pr-track{display:flex;align-items:stretch;list-style:none;gap:.8rem;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x proximity;padding:.25rem .2rem .75rem;margin:0;scrollbar-width:thin}
.pdp-section .pr-track>li{list-style:none;flex:0 0 var(--card-width);min-width:0;max-width:var(--card-width);margin:0;padding:0;scroll-snap-align:start;line-height:1.25;white-space:normal}
.pr-tile{display:flex;flex-direction:column;align-items:stretch;gap:.28rem;color:inherit;text-decoration:none;border-radius:6px;text-align:start}
.pr-tile:focus-visible,.pr-page:focus-visible{outline:2px solid #383b30;outline-offset:2px}
.pr-img{position:relative;display:grid;place-items:center;aspect-ratio:1;width:100%;padding:.45rem;background:white;border:1px solid #ddd8ce;border-radius:6px;overflow:hidden;box-sizing:border-box}
.pdp-section .pr-img img{display:block;width:100%;height:100%;object-fit:contain;min-width:0;min-height:0;max-width:100%;margin:0}
.pr-tile[href]:hover .pr-img{border-color:#686458}.pr-tile[href]:hover .pr-name{text-decoration:underline;text-underline-offset:.19em}
.pr-current .pr-img{outline:2px solid #313329;outline-offset:-2px}
.pr-selected{position:absolute;inset-inline-start:.35rem;bottom:.35rem;border-radius:.2rem;padding:.1rem .35rem;background:#30332b;color:white;font-size:.7rem;font-weight:600}
.pr-name,.pr-detail,.pr-note{overflow-wrap:anywhere}.pr-name{font-size:.99rem}.pr-detail,.pr-note{font-size:.83rem;color:#605a51}.pr-note{font-style:italic}
@media(max-width:620px){pahajim-product-rail{--card-width:clamp(128px,39vw,160px)}.pdp-section .pr-track{gap:.55rem}.pr-page{height:2.75rem;width:2.75rem}}
.pr-reference-photos{min-width:0}.pr-reference-photos figure{display:grid;place-items:center;min-height:280px;aspect-ratio:1.25;margin:0;border:1px solid #ddd8ce;border-radius:6px;background:white}
.pr-reference-photos figure img{height:auto;width:auto;max-width:95%;max-height:32rem}.pr-reference-source a{color:inherit;text-underline-offset:.2em}
