.Modal.PhotoPopup{--photo-popup-pad:2.4rem;--photo-popup-nav:5.2rem;--photo-popup-max-height:calc(100dvh - var(--photo-popup-pad) * 2);--photo-popup-max-width:calc(100vw - var(--photo-popup-pad) * 4 - var(--photo-popup-nav) * 2);padding:2.4rem;padding:var(--photo-popup-pad);touch-action:none}@media (width<=768px){.Modal.PhotoPopup{--photo-popup-pad:1.6rem;--photo-popup-nav:4rem;--photo-popup-max-width:calc(100vw - var(--photo-popup-pad) * 2)}}.Modal.PhotoPopup>.Modal__close{top:var(--photo-popup-pad);right:var(--photo-popup-pad);z-index:2;width:var(--photo-popup-nav);height:var(--photo-popup-nav);color:var(--color-main-ink);background-color:var(--color-main-white);backdrop-filter:none;position:absolute}@media (hover:hover){.Modal.PhotoPopup>.Modal__close:hover{color:var(--color-main-white);background-color:var(--color-main-gold)}}.Modal.PhotoPopup>.Modal__close .CloseButton__icon{width:2rem;height:2rem}.Modal.PhotoPopup>.PhotoPopup__prev,.Modal.PhotoPopup>.PhotoPopup__next{z-index:2;width:var(--photo-popup-nav);height:var(--photo-popup-nav);color:var(--color-main-ink);background-color:var(--color-main-white);backdrop-filter:none;transition:color var(--transition-duration), background-color var(--transition-duration);position:absolute;top:50%;transform:translateY(-50%)}.Modal.PhotoPopup>.PhotoPopup__prev:focus-visible,.Modal.PhotoPopup>.PhotoPopup__next:focus-visible{outline-color:var(--color-main-ink)}@media (hover:hover){.Modal.PhotoPopup>.PhotoPopup__prev:hover:not(:disabled),.Modal.PhotoPopup>.PhotoPopup__next:hover:not(:disabled){color:var(--color-main-white);background-color:var(--color-main-gold)}}@media (width<=768px){.Modal.PhotoPopup>.PhotoPopup__prev,.Modal.PhotoPopup>.PhotoPopup__next{top:auto;bottom:var(--photo-popup-pad);transform:none}}@media (prefers-reduced-motion:reduce){.Modal.PhotoPopup>.PhotoPopup__prev,.Modal.PhotoPopup>.PhotoPopup__next{transition:none}}.Modal.PhotoPopup>.PhotoPopup__prev{left:var(--photo-popup-pad);box-shadow:0 .2rem 1rem #0000001a}.Modal.PhotoPopup>.PhotoPopup__next{right:var(--photo-popup-pad)}.Modal.PhotoPopup>.Modal__card{background-color:#0000;width:fit-content;min-width:0;max-width:100%;height:auto;max-height:none;padding:0;overflow:visible}.Modal.PhotoPopup>.Modal__card>.Modal__body{min-width:0;max-width:100%;display:flex}.PhotoPopup__frame{background-color:var(--color-main-ink);border-radius:.6rem;min-width:0;max-width:100%;overflow:hidden}.PhotoPopup__slide{min-width:0;max-width:100%;display:flex}.PhotoPopup__slide[hidden]{display:none}.PhotoPopup__sheet{display:contents}.PhotoPopup__photo{width:min(var(--photo-popup-max-width), calc(var(--photo-popup-max-height) * var(--photo-popup-width) / var(--photo-popup-height)));max-width:var(--photo-popup-max-width);max-height:var(--photo-popup-max-height);aspect-ratio:var(--photo-popup-width) / var(--photo-popup-height);-o-object-fit:contain;object-fit:contain;flex-shrink:0}.Modal.PhotoPopup.isSheet{--photo-popup-sheet:2.4rem}@media (width<=768px){.Modal.PhotoPopup.isSheet{--photo-popup-sheet:1.2rem}}.PhotoPopup.isSheet .PhotoPopup__frame{background-color:#0000;border-radius:0;overflow:visible}.PhotoPopup.isSheet .PhotoPopup__sheet{box-sizing:border-box;max-width:100%;padding:var(--photo-popup-sheet);background-color:var(--color-main-white);border-radius:.6rem;flex-shrink:0;display:flex;overflow:hidden}.PhotoPopup.isSheet .PhotoPopup__photo{width:min(calc(var(--photo-popup-max-width) - var(--photo-popup-sheet) * 2), calc((var(--photo-popup-max-height) - var(--photo-popup-sheet) * 2) * var(--photo-popup-width) / var(--photo-popup-height)));max-width:calc(var(--photo-popup-max-width) - var(--photo-popup-sheet) * 2);max-height:calc(var(--photo-popup-max-height) - var(--photo-popup-sheet) * 2);background-color:var(--color-main-white)}.PhotoPopup__counter{display:none}@media (width<=768px){.Modal.PhotoPopup>.PhotoPopup__counter{right:calc(var(--photo-popup-pad) + var(--photo-popup-nav) + .8rem);bottom:var(--photo-popup-pad);left:calc(var(--photo-popup-pad) + var(--photo-popup-nav) + .8rem);z-index:2;height:var(--photo-popup-nav);letter-spacing:-.02em;color:var(--color-main-white);pointer-events:none;justify-content:center;align-items:center;font-size:1.4rem;font-weight:400;line-height:1.1;display:flex;position:absolute}}
