.pamac-product__zoom { display:block; height:100%; width:100%; cursor:zoom-in; position:relative; }
.pamac-product__zoom::after { content:''; position:absolute; right:12px; bottom:12px; width:36px; height:36px; border-radius:50%; background:linear-gradient(#fff,#fff) center / 14px 2px no-repeat, linear-gradient(#fff,#fff) center / 2px 14px no-repeat, #7c411e; pointer-events:none; }
.pamac-product__zoom:focus-visible { outline:4px solid #d12e26; outline-offset:-4px; }
html.pamac-lightbox-open { overflow:hidden; }
dialog.pamac-lightbox { box-sizing:border-box; position:fixed; inset:0; margin:auto; padding:0; width:min(1100px,calc(100vw - 40px)); max-width:none; max-height:calc(100dvh - 40px); border:0; border-radius:8px; background:#fff; color:#2d2926; box-shadow:0 16px 70px #0007; overflow:auto; }
.pamac-lightbox::backdrop { background:rgba(30,22,18,.85); }
.pamac-lightbox * { box-sizing:border-box; }
.pamac-lightbox__panel { padding:16px; }
.pamac-lightbox__header { display:flex; position:static; align-items:center; justify-content:space-between; gap:16px; width:100%; margin:0 0 12px; }
.pamac-lightbox__header h2 { margin:0; color:#7c411e; font-size:clamp(18px,2.4vw,26px); line-height:1.25; letter-spacing:normal; text-transform:none; }
.pamac-lightbox button { display:grid; place-items:center; min-width:44px; min-height:44px; padding:4px 12px; border:1px solid #eadfd9; border-radius:4px; background:#faf6f3; color:#7c411e; cursor:pointer; font:28px/1 sans-serif; flex-shrink:0; }
.pamac-lightbox button:hover { background:#eadfd9; }
.pamac-lightbox button:focus-visible { outline:3px solid #d12e26; outline-offset:2px; }
.pamac-lightbox__stage { position:relative; display:grid; place-items:center; height:min(68dvh,760px); min-height:100px; background:#fff; }
.pamac-lightbox__image { display:block; width:100%; height:100%; max-height:min(68dvh,760px); object-fit:contain; }
.pamac-lightbox__image[hidden] { display:none; }
.pamac-lightbox__status { position:absolute; text-align:center; padding:20px; color:#5f5752; }
.pamac-lightbox__status:empty { display:none; }
.pamac-lightbox__nav { display:flex; position:static; align-items:center; justify-content:space-between; gap:16px; margin:12px 0 0; }
.pamac-lightbox__counter { font-size:14px; color:#5f5752; }
@media(max-width:600px) {
 dialog.pamac-lightbox { width:calc(100vw - 24px); max-height:calc(100dvh - 24px); }
 .pamac-lightbox__panel { padding:12px; }
 .pamac-lightbox__stage, .pamac-lightbox__image { height:55dvh; max-height:55dvh; }
}
