/* Native in-page photo viewer. Existing image DOM positions and navigation stay intact. */
html.photo-viewer-active,body.photo-viewer-active{overflow:hidden;overscroll-behavior:none}
.beauty-brand img.photo-viewer-expandable{cursor:zoom-in}
.beauty-brand img.photo-viewer-keyboard-focus{outline:3px solid #9B6D89;outline-offset:5px}
body#top.beauty-brand button.photo-viewer-launch{
 position:absolute;width:1px;height:1px;min-width:1px;min-height:1px;
 margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);
 white-space:nowrap;border:0;outline:0;
}
body#top.beauty-brand dialog.photo-viewer-dialog{
 position:fixed;inset:0;margin:auto;padding:0;
 width:min(94vw,1200px);max-width:calc(100vw - 24px);
 height:min(92vh,980px);height:min(92dvh,980px);max-height:calc(100dvh - 24px);
 border:1px solid #d8d1d4;border-radius:8px;background:#FFFFFF;color:#000000;
 box-shadow:0 20px 80px rgba(83,61,75,.15);overflow:hidden;
}
.photo-viewer-dialog::backdrop{background:rgba(247,241,243,.94);backdrop-filter:blur(3px)}
.photo-viewer-dialog:not([open]){display:none}
.photo-viewer-dialog .photo-viewer-shell{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:16px;height:100%;padding:24px}
.photo-viewer-dialog .photo-viewer-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px}
body#top.beauty-brand .photo-viewer-dialog #photo-viewer-title{margin:0;font-family:'Roboto',Arial,sans-serif;font-size:clamp(1.125rem,2vw,1.5rem);font-weight:700;line-height:1.3;letter-spacing:.01em;text-transform:uppercase;color:#000000}
body#top.beauty-brand .photo-viewer-dialog button.photo-viewer-close{
 display:inline-flex;align-items:center;justify-content:center;gap:12px;flex:none;
 min-width:100px;min-height:44px;margin:0;padding:10px 16px;
 border:1px solid #9B6D89;border-radius:28px;background:#9B6D89;color:#FFFFFF;
 font:inherit;font-size:1rem;line-height:1.2;cursor:pointer;
}
body#top.beauty-brand .photo-viewer-dialog button.photo-viewer-close:hover,
body#top.beauty-brand .photo-viewer-dialog button.photo-viewer-close:focus-visible{background:#FFFFFF;color:#000000;border-color:#9B6D89}
body#top.beauty-brand .photo-viewer-dialog button.photo-viewer-close>*{color:inherit}
.photo-viewer-dialog .photo-viewer-stage{display:flex;align-items:center;justify-content:center;min-width:0;min-height:0;overflow:hidden;background:#FFFFFF}
body#top.beauty-brand .photo-viewer-dialog img.photo-viewer-image{display:block;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;cursor:default}
body#top.beauty-brand .photo-viewer-dialog .photo-viewer-description{max-height:25vh;overflow:auto;padding-top:16px;border-top:1px solid #d8d1d4}
body#top.beauty-brand .photo-viewer-dialog .photo-viewer-description,
body#top.beauty-brand .photo-viewer-dialog .photo-viewer-description *{text-transform:none}
body#top.beauty-brand .photo-viewer-dialog .photo-viewer-description p{margin:0;font-size:.9375rem;line-height:1.6;max-width:none;color:#535249}
body#top.beauty-brand .photo-viewer-dialog .photo-viewer-description .photo-viewer-help{margin-top:8px;font-size:.8125rem;color:#66635f}
@media(max-width:760px){
 body#top.beauty-brand dialog.photo-viewer-dialog{width:calc(100vw - 24px);height:calc(100vh - 24px);height:calc(100dvh - 24px);max-height:calc(100dvh - 24px)}
 .photo-viewer-dialog .photo-viewer-shell{padding:16px;gap:12px}
 .photo-viewer-dialog .photo-viewer-toolbar{gap:12px}
 body#top.beauty-brand .photo-viewer-dialog .photo-viewer-description{padding-top:12px;max-height:27dvh}
}
@media(prefers-reduced-motion:reduce){.photo-viewer-dialog,.photo-viewer-dialog *{scroll-behavior:auto}}
