.gallery-lightbox [hidden]{display:none!important}.gallery-lightbox [data-gallery-status]{margin:20px;text-align:center}.gallery-lightbox [data-gallery-retry]{margin:0 auto 20px}.gallery-lightbox{position:fixed;inset:0;z-index:20000;height:100vh;height:100dvh;width:100vw;overflow:hidden;padding:max(14px,env(safe-area-inset-top)) max(14px,env(safe-area-inset-right)) max(14px,env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left));background:#191919eb;color:#fff}.gallery-lightbox.is-open{display:block}.gallery-lightbox__shell{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:12px;height:100%;min-height:0;min-width:0;width:min(100%,1180px);margin-inline:auto;overflow:hidden;border:1px solid rgba(199,160,99,.28);border-radius:18px;background:#191919b8;box-shadow:0 30px 90px #0000006b}.gallery-lightbox__header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;min-width:0;padding:16px 18px 0}.gallery-lightbox__category{margin:0 0 6px;color:#c7a063;font-size:.74rem;font-weight:900;letter-spacing:.18em;text-transform:uppercase}.gallery-lightbox__title{margin:0;color:#fff;font-size:clamp(1.05rem,2vw,1.7rem);font-weight:900;line-height:1.2;overflow-wrap:anywhere}.gallery-lightbox__meta{display:inline-flex;align-items:center;gap:10px;flex-shrink:0}.gallery-lightbox__counter{border:1px solid rgba(199,160,99,.32);border-radius:999px;padding:8px 12px;background:#ffffff14;color:#ffffffdb;font-size:.82rem;font-weight:900;white-space:nowrap}.gallery-lightbox__close,.gallery-lightbox__nav{display:grid;place-items:center;border:1px solid rgba(199,160,99,.4);border-radius:999px;background:#ffffff1a;color:#c7a063;box-shadow:0 12px 34px #00000038;transition:transform .18s ease,border-color .18s ease,background .18s ease}.gallery-lightbox__close{width:44px;height:44px;font-size:1.75rem;font-weight:900;line-height:1}.gallery-lightbox__nav{width:46px;height:46px}.gallery-lightbox__nav svg{width:20px;height:20px}.gallery-lightbox__close:hover,.gallery-lightbox__nav:hover,.gallery-lightbox__thumb:hover{transform:translateY(-2px);border-color:#c7a063db;background:#ffffff29}.gallery-lightbox__nav.is-disabled{pointer-events:none;opacity:.35}.gallery-lightbox__stage{display:grid;grid-template-columns:52px minmax(0,1fr) 52px;align-items:center;gap:12px;min-height:0;min-width:0;height:100%;padding:0 18px}.gallery-lightbox__image-frame{position:relative;display:grid;place-items:center;justify-self:center;align-self:center;min-height:0;min-width:0;width:-moz-fit-content;width:fit-content;height:-moz-fit-content;height:fit-content;max-width:100%;max-height:100%;overflow:visible;border:1px solid rgba(255,255,255,.13);border-radius:16px;background:#ffffff0b}.gallery-lightbox__image-frame img{display:block;width:auto;height:auto;max-width:min(70vw,960px);max-height:min(58vh,620px);cursor:zoom-in;transform-origin:center;transition:opacity .18s ease;-webkit-user-select:none;-moz-user-select:none;user-select:none}.gallery-lightbox__thumbs{display:flex;gap:10px;min-width:0;max-width:100%;overflow-x:auto;overflow-y:hidden;padding:0 18px 16px;scrollbar-width:thin;scrollbar-color:rgba(199,160,99,.75) transparent}.gallery-lightbox__thumb{width:62px;height:46px;flex:0 0 auto;overflow:hidden;border:2px solid transparent;border-radius:10px;background:#ffffff14;padding:0;opacity:.68;transition:opacity .18s ease,border-color .18s ease,transform .18s ease}.gallery-lightbox__thumb.is-active{border-color:#c7a063;opacity:1}.gallery-lightbox__thumb img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.gallery-lightbox.is-image-expanded .gallery-lightbox__image-frame{position:fixed;inset:max(16px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));z-index:4;width:auto;height:auto;max-width:none;max-height:none;overflow:hidden;border-color:#c7a0633d;background:#191919e0;box-shadow:0 30px 90px #00000080}.gallery-lightbox.is-image-expanded .gallery-lightbox__image-frame img{max-width:calc(100vw - 48px);max-height:calc(100vh - 48px);max-height:calc(100dvh - 48px);cursor:zoom-out}@media(max-width:720px){.gallery-lightbox{padding:8px}.gallery-lightbox__shell{border-radius:14px;gap:10px}.gallery-lightbox__header{padding:12px 12px 0}.gallery-lightbox__counter{display:none}.gallery-lightbox__stage{grid-template-columns:1fr;padding:0 12px;height:100%}.gallery-lightbox__image-frame img{max-width:84vw;max-height:56vh}.gallery-lightbox.is-image-expanded .gallery-lightbox__image-frame img{max-width:calc(100vw - 28px);max-height:calc(100vh - 28px);max-height:calc(100dvh - 28px)}.gallery-lightbox__nav{position:absolute;top:50%;z-index:2;width:42px;height:42px;transform:translateY(-50%)}.gallery-lightbox__nav:hover{transform:translateY(calc(-50% - 2px))}.gallery-lightbox__nav--prev{left:16px}.gallery-lightbox__nav--next{right:16px}.gallery-lightbox__thumbs{padding:0 12px 12px}}@media(max-height:720px){.gallery-lightbox{padding:8px}.gallery-lightbox__shell{gap:8px;border-radius:14px}.gallery-lightbox__header{padding:10px 12px 0}.gallery-lightbox__title{font-size:1rem}.gallery-lightbox__category{margin-bottom:3px;font-size:.62rem}.gallery-lightbox__close{width:38px;height:38px;font-size:1.45rem}.gallery-lightbox__counter{padding:6px 10px}.gallery-lightbox__thumb{width:52px;height:38px}.gallery-lightbox__thumbs{padding-bottom:10px}.gallery-lightbox__stage{height:100%}}@media(max-height:640px){.gallery-lightbox__thumbs{display:none}.gallery-lightbox__shell{grid-template-rows:auto minmax(0,1fr)}}@media(prefers-reduced-motion:reduce){.gallery-lightbox__close,.gallery-lightbox__nav,.gallery-lightbox__thumb{transition:none}}
