/* Product page: the pictures with their small ones, and the choice buttons (colour, size...). */
.pgal-main{position:relative;border-radius:var(--radius,8px);overflow:hidden;background:var(--bg,#f4f4f4);display:flex;align-items:center;justify-content:center}
.pgal-main:not(.sm-gallery) img{width:100%;height:auto;display:block}
.pgal-main.sm-gallery img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}
.pgal-thumbs{display:flex;gap:8px;margin-top:10px;overflow-x:auto;padding-bottom:4px}
.pgal-thumbs a{flex:0 0 auto;width:64px;height:64px;border:2px solid var(--line,#ddd);border-radius:8px;overflow:hidden;background:#fff;display:block}
.pgal-thumbs a img{width:100%;height:100%;object-fit:cover;display:block}
.pgal-thumbs a[aria-current="true"]{border-color:var(--accent,#2563eb)}
.pgal-thumbs a:focus-visible,.vp-o:focus-visible{outline:2px solid var(--accent,#2563eb);outline-offset:2px}
.vp{margin:12px 0}
.vp-g{border:0;padding:0;margin:0 0 12px}
.vp-g legend{font-weight:700;margin-bottom:6px;padding:0}
.vp-cur{font-weight:400;margin-inline-start:6px;opacity:.75}
.vp-o{font:inherit;min-width:44px;padding:7px 14px;margin:0 0 6px;margin-inline-end:6px;border:1px solid var(--line,#ccc);border-radius:8px;background:var(--panel,#fff);color:inherit;cursor:pointer}
.vp-o:hover{border-color:var(--accent,#2563eb)}
.vp-o[aria-pressed="true"]{border-color:var(--accent,#2563eb);box-shadow:inset 0 0 0 1px var(--accent,#2563eb);font-weight:700}
.vp-o.na{opacity:.35;cursor:not-allowed;text-decoration:line-through}
.vp-o.oos{opacity:.6;text-decoration:line-through}
.vp-g.invalid{outline:1px solid #c0392b;border-radius:8px;padding:6px}
.vp-msg{min-height:1.4em;margin:4px 0 0;font-size:.9em;color:var(--muted,#666)}
.vp-msg.bad{color:#c0392b}
