.pl-example-gallery-section{margin:0!important;padding:0!important}
.pl-family .pl-gallery-trigger{display:block;position:relative;text-decoration:none;color:#fff}
.pl-family .pl-gallery-trigger img{width:100%;height:auto;aspect-ratio:1;object-fit:contain}
.pl-family .pl-gallery-badge{position:absolute;bottom:10px;right:10px;background:#27493b;color:#fff;padding:6px 10px;border-radius:20px;font-size:12px;line-height:1.4;box-shadow:0 1px 6px #0002}
.pl-family .pl-gallery-previews{display:flex;gap:8px;padding:10px 12px;overflow-x:auto;align-items:center;background:#fff}
.pl-family .pl-gallery-thumb{display:block;flex:0 0 48px;width:48px;height:48px;padding:0;border:1px solid #dce4de;border-radius:5px;overflow:hidden;background:#f7f7f4;color:#27493b;font-size:12px;text-decoration:none}
.pl-family .pl-gallery-thumb img{display:block;width:100%;height:100%;aspect-ratio:auto;object-fit:contain}
.pl-family .pl-gallery-more{display:flex;align-items:center;justify-content:center}
#pl-photo-gallery{position:fixed;inset:0;box-sizing:border-box;width:min(1000px,calc(100vw - 32px));max-width:100%;height:min(850px,calc(100dvh - 32px));max-height:calc(100dvh - 32px);margin:auto;padding:20px;border:0;border-radius:14px;background:#fff;color:#27493b;overflow:auto;box-shadow:0 12px 70px #0005;z-index:999999}
#pl-photo-gallery:not([open]){display:none}
#pl-photo-gallery[open]{display:flex;flex-direction:column;gap:12px}
#pl-photo-gallery::backdrop{background:rgba(15,30,24,.78)}
#pl-photo-gallery .pl-gallery-head{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-shrink:0}
#pl-photo-gallery h2{margin:0;font-size:20px;line-height:1.3;color:#27493b}
#pl-photo-gallery button{position:static;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:44px;min-height:44px;width:auto;height:auto;margin:0;padding:8px 12px;border:1px solid #cad7cd;border-radius:7px;background:#f0f4ee;color:#27493b;font:inherit;line-height:1.2;cursor:pointer;box-shadow:none;transform:none}
#pl-photo-gallery button::before,#pl-photo-gallery button::after{display:none}
#pl-photo-gallery .pl-gallery-stage{display:flex;align-items:center;justify-content:center;flex:1;min-height:0;background:#f7f7f4;border-radius:8px;overflow:hidden;touch-action:pan-y}
#pl-photo-gallery .pl-gallery-stage img{display:block;width:100%;height:100%;max-height:100%;object-fit:contain;margin:0}
#pl-photo-gallery .pl-gallery-controls{display:flex;align-items:center;justify-content:center;gap:20px;flex-shrink:0}
#pl-photo-gallery .pl-gallery-count{min-width:60px;text-align:center;font-size:14px}
#pl-photo-gallery .pl-gallery-strip{display:flex;gap:8px;overflow-x:auto;flex-shrink:0;padding:3px}
#pl-photo-gallery .pl-gallery-strip button{flex:0 0 62px;width:62px;height:62px;padding:3px}
#pl-photo-gallery .pl-gallery-strip img{width:100%;height:100%;object-fit:contain}
#pl-photo-gallery .pl-gallery-strip button[aria-current="true"]{border:2px solid #27493b;background:#e1e9df}
#pl-photo-gallery :focus-visible,.pl-family .pl-gallery-trigger:focus-visible,.pl-family .pl-gallery-thumb:focus-visible{outline:3px solid #b87826;outline-offset:3px}
@media(max-width:760px){#pl-photo-gallery{width:calc(100vw - 16px);height:calc(100dvh - 16px);max-height:calc(100dvh - 16px);padding:12px}#pl-photo-gallery h2{font-size:17px}#pl-photo-gallery .pl-gallery-strip button{flex-basis:54px;width:54px;height:54px}}

