.sh-gallery-block,
.sh-gallery-full {
--sh-gallery-accent: #c5a059;
--sh-gallery-text: #1a1a1a;
--sh-gallery-muted: #6b6b6b;
--sh-gallery-bg: transparent;
font-family: inherit;
color: var(--sh-gallery-text);
margin: 1.5rem 0;
background: transparent;
}
.sh-gallery-full {
width: 100%;
max-width: 1400px;
margin-left: auto;
margin-right: auto;
}
.sh-gallery-full .sh-gallery-section + .sh-gallery-section {
margin-top: 2.5rem;
padding-top: 2.5rem;
border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.sh-gallery-full .sh-gallery-section--exhibition + .sh-gallery-section--exhibition {
margin-top: 0;
padding-top: 0;
border-top: none;
} .sh-gallery-nav {
position: sticky;
top: var(--sh-gallery-nav-top, 100px);
z-index: 40;
background: rgba(255, 255, 255, 0.98);
backdrop-filter: blur(15px);
-webkit-backdrop-filter: blur(15px);
border-bottom: 1px solid rgba(0, 0, 0, 0.06);
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
margin-bottom: 2.5rem;
padding: 0.75rem 0;
}
.sh-gallery-nav__wrap {
display: flex;
align-items: center;
gap: 12px;
max-width: 1500px;
margin: 0 auto;
padding: 0 16px;
}
.sh-gallery-nav__scroll {
flex-shrink: 0;
display: flex;
align-items: center;
justify-content: center;
width: 38px;
height: 38px;
padding: 0;
border: 1px solid rgba(0, 0, 0, 0.08);
border-radius: 50%;
background: #fff;
cursor: pointer;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
transition: border-color 0.2s ease, box-shadow 0.2s ease;
-webkit-appearance: none;
appearance: none;
}
.sh-gallery-nav__scroll svg {
width: 12px;
height: 12px;
fill: var(--sh-gallery-muted);
transition: fill 0.2s ease;
}
.sh-gallery-nav__scroll:hover,
.sh-gallery-nav__scroll:focus-visible {
border-color: var(--sh-gallery-accent);
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
outline: none;
}
.sh-gallery-nav__scroll:hover svg,
.sh-gallery-nav__scroll:focus-visible svg {
fill: var(--sh-gallery-accent);
}
.sh-gallery-nav__scroll[hidden] {
display: none !important;
}
.sh-gallery-nav__container {
flex: 1;
min-width: 0;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
scroll-behavior: smooth;
-ms-overflow-style: none;
scrollbar-width: none;
}
.sh-gallery-nav__container::-webkit-scrollbar {
display: none;
}
.sh-gallery-nav__list {
display: flex;
list-style: none;
padding: 0 8px;
margin: 0;
white-space: nowrap;
justify-content: center;
width: 100%;
gap: 0.5rem;
}
.sh-gallery-nav__list.is-scrollable {
justify-content: flex-start;
}
.sh-gallery-nav__list li {
flex-shrink: 0;
}
.sh-gallery-nav__link {
display: inline-block;
text-decoration: none;
font-size: 13px;
font-weight: 600;
color: var(--sh-gallery-muted);
text-transform: uppercase;
letter-spacing: 0.08em;
padding: 10px 20px;
border: 1px solid rgba(0, 0, 0, 0.1);
border-radius: 999px;
background: transparent;
transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.sh-gallery-nav__link:hover {
color: var(--sh-gallery-text);
border-color: rgba(0, 0, 0, 0.18);
}
.sh-gallery-nav__link.is-active {
color: #fff;
background: var(--sh-gallery-accent);
border-color: var(--sh-gallery-accent);
} .sh-gallery-section--exhibition {
width: 100%;
max-width: 1400px;
margin-left: auto;
margin-right: auto;
margin-bottom: 3.5rem;
scroll-margin-top: calc(var(--sh-gallery-nav-top, 100px) + 80px);
}
.sh-gallery-section__head {
width: 100%;
text-align: center;
margin-bottom: 1.75rem;
}
.sh-gallery-section__head-inner {
width: 100%;
max-width: 36rem;
margin: 0 auto;
}
.sh-gallery-section__eyebrow {
display: block;
font-size: 11px;
font-weight: 600;
color: var(--sh-gallery-muted);
letter-spacing: 0.2em;
text-transform: uppercase;
margin-bottom: 0.85rem;
}
.sh-gallery-section__title {
margin: 0 0 1rem;
font-size: clamp(1.5rem, 3vw, 2.25rem);
font-weight: 600;
color: var(--sh-gallery-text);
letter-spacing: -0.02em;
line-height: 1.2;
}
.sh-gallery-section__line {
width: 40px;
height: 2px;
background-color: var(--sh-gallery-accent);
margin: 0 auto 1.25rem;
}
.sh-gallery-section__actions {
display: flex;
justify-content: center;
}
.sh-gallery-section__all-btn {
margin-top: 0.25rem;
}
.sh-gallery-section__body {
width: 100%;
margin: 0 auto;
background: #fff;
border-radius: 8px;
padding: 12px 0;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
border: 1px solid rgba(0, 0, 0, 0.06);
}
.sh-gallery-section--exhibition .sh-gallery-strip-wrap {
margin: 0;
} .sh-gallery-section--compact .sh-gallery-section__head {
text-align: left;
margin-bottom: 1.25rem;
padding-bottom: 1rem;
border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.sh-gallery-section--compact .sh-gallery-section__toolbar {
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
flex-wrap: wrap;
}
.sh-gallery-section--compact .sh-gallery-section__meta {
flex: 1 1 auto;
min-width: 0;
}
.sh-gallery-section--compact .sh-gallery-section__title {
margin: 0;
font-size: clamp(1.25rem, 2.5vw, 1.5rem);
font-weight: 600;
text-align: left;
line-height: 1.2;
}
.sh-gallery-section--compact .sh-gallery-section__eyebrow {
display: block;
margin-top: 0.35rem;
margin-bottom: 0;
font-size: 0.7rem;
text-align: left;
}
.sh-gallery-section--compact .sh-gallery-section__line,
.sh-gallery-section--compact .sh-gallery-section__head-inner {
display: none;
}
.sh-gallery-section--compact .sh-gallery-section__actions {
flex-shrink: 0;
margin: 0 0 0 auto;
}
.sh-gallery-full--compact .sh-gallery-section--compact .sh-gallery-strip__outer--arrows {
padding-left: 32px;
padding-right: 32px;
}
@media (max-width: 991px) {
.sh-gallery-nav {
top: var(--sh-gallery-nav-top, 72px);
}
.sh-gallery-nav__wrap {
gap: 8px;
padding: 0 12px;
}
.sh-gallery-nav__scroll {
width: 32px;
height: 32px;
}
.sh-gallery-nav__scroll svg {
width: 10px;
height: 10px;
}
.sh-gallery-nav__link {
font-size: 10px;
padding: 8px 14px;
letter-spacing: 0.06em;
}
.sh-gallery-section--exhibition {
margin-bottom: 3rem;
scroll-margin-top: calc(var(--sh-gallery-nav-top, 72px) + 64px);
}
.sh-gallery-section--compact .sh-gallery-section__toolbar {
align-items: center;
}
.sh-gallery-section--compact .sh-gallery-section__actions {
margin-left: auto;
justify-content: flex-end;
}
}
.sh-gallery-empty {
color: var(--sh-gallery-muted);
font-size: 0.95rem;
} .sh-gallery-all-cta-block {
margin: 1.25rem 0 0;
}
.sh-gallery-all-cta-wrap {
width: 100%;
}
.sh-gallery-all-cta {
appearance: none;
display: flex;
align-items: center;
justify-content: center;
gap: 0.65rem;
width: 100%;
box-sizing: border-box;
margin: 0;
padding: 1rem 1.5rem;
border: 1px solid #b0976d;
border-radius: 8px;
background: #fff;
color: #333f48;
font-family: inherit;
font-size: 0.8125rem;
font-weight: 600;
letter-spacing: 0.04em;
text-transform: uppercase;
line-height: 1.3;
cursor: pointer;
transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.sh-gallery-all-cta__label {
text-align: center;
}
.sh-gallery-all-cta__arrow {
flex-shrink: 0;
display: block;
}
.sh-gallery-all-cta:hover,
.sh-gallery-all-cta:focus-visible {
background: #faf8f5;
border-color: #9a8260;
color: #333f48;
outline: none;
}
.sh-gallery-all-cta:focus-visible {
box-shadow: 0 0 0 2px rgba(176, 151, 109, 0.35);
}
@media (max-width: 767px) {
.sh-gallery-all-cta {
min-height: 44px;
padding: 0.875rem 1.25rem;
font-size: 0.75rem;
}
} .sh-gallery-strip__header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
margin-bottom: 1rem;
flex-wrap: wrap;
}
.sh-gallery-strip__title {
margin: 0;
font-size: clamp(1.25rem, 2.5vw, 1.75rem);
font-weight: 600;
letter-spacing: -0.02em;
}
.sh-gallery-strip__all-btn {
appearance: none;
border: 1px solid var(--sh-gallery-accent);
background: transparent;
color: var(--sh-gallery-accent);
font-size: 0.875rem;
font-weight: 600;
padding: 0.5rem 1rem;
border-radius: 999px;
cursor: pointer;
transition: background 0.2s ease, color 0.2s ease;
white-space: nowrap;
}
.sh-gallery-strip__all-btn:hover,
.sh-gallery-strip__all-btn:focus-visible {
background: var(--sh-gallery-accent);
color: #fff;
outline: none;
}
.sh-gallery-strip__count {
font-weight: 400;
opacity: 0.85;
} .sh-gallery-strip-wrap,
.sh-gallery-strip__outer,
.sh-gallery-strip {
background: transparent;
}
.sh-gallery-strip__outer {
position: relative;
}
.sh-gallery-strip__outer--arrows {
padding-left: 52px;
padding-right: 52px;
}
.sh-gallery-strip__outer--arrows.sh-gallery-strip__outer--no-scroll {
padding-left: 0;
padding-right: 0;
}
.sh-gallery-strip__outer--no-scroll .sh-gallery-strip__arrow {
display: none !important;
}
.sh-gallery-strip__arrow {
position: absolute;
top: 50%;
transform: translateY(-50%);
z-index: 5;
width: 44px;
height: 44px;
margin: 0;
padding: 0;
border: 1px solid rgba(0, 0, 0, 0.1);
border-radius: 50%;
background: rgba(255, 255, 255, 0.85);
box-shadow: none;
color: var(--sh-gallery-text);
cursor: pointer;
display: none;
align-items: center;
justify-content: center;
line-height: 1;
-webkit-appearance: none;
appearance: none;
transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}
.sh-gallery-strip__arrow .sh-gallery-strip__arrow-icon {
display: block;
width: 24px;
height: 24px;
flex-shrink: 0;
pointer-events: none;
}
.sh-gallery-strip__arrow:hover:not(:disabled),
.sh-gallery-strip__arrow:focus-visible:not(:disabled) {
background: var(--sh-gallery-accent);
color: #fff;
outline: none;
}
.sh-gallery-strip__arrow:disabled {
opacity: 0.4;
cursor: default;
}
.sh-gallery-strip__arrow--prev {
left: 0;
}
.sh-gallery-strip__arrow--next {
right: 0;
}
@media (min-width: 768px) {
.sh-gallery-strip__outer--arrows .sh-gallery-strip__arrow {
display: flex;
}
} .sh-gallery-strip {
display: flex;
gap: var(--sh-gallery-gap, 16px);
overflow-x: auto;
overflow-y: hidden;
scroll-snap-type: x mandatory;
scroll-behavior: smooth;
-webkit-overflow-scrolling: touch;
padding: 4px 2px;
scrollbar-width: none;
-ms-overflow-style: none;
}
.sh-gallery-strip::-webkit-scrollbar {
display: none;
width: 0;
height: 0;
} .sh-gallery-card {
flex: 0 0 auto;
scroll-snap-align: start;
margin: 0;
width: calc(var(--sh-gallery-height, 280px) * 4 / 3);
max-width: 85vw;
}
.sh-gallery-card__btn {
display: block;
width: 100%;
height: var(--sh-gallery-height, 280px);
padding: 0;
border: none;
border-radius: var(--sh-gallery-radius, 12px);
overflow: hidden;
cursor: pointer;
background: transparent;
box-shadow: none;
transition: opacity 0.2s ease;
}
@media (hover: hover) {
.sh-gallery-card__btn:hover,
.sh-gallery-card__btn:focus-visible {
opacity: 0.92;
outline: 2px solid var(--sh-gallery-accent);
outline-offset: 2px;
}
}
.sh-gallery-card__btn:focus-visible {
outline: 2px solid var(--sh-gallery-accent);
outline-offset: 2px;
}
.sh-gallery-card__img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
.sh-gallery-card__caption {
margin-top: 0.5rem;
font-size: 0.8rem;
color: var(--sh-gallery-muted);
line-height: 1.4;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.sh-gallery-strip-wrap {
max-width: 100%;
overflow: hidden;
background: transparent;
} .sh-gallery-strip__outer--fade::before,
.sh-gallery-strip__outer--fade::after {
display: none;
} .sh-gallery-lightbox {
--sh-lb-header: calc(env(safe-area-inset-top, 0px) + 52px);
--sh-lb-footer: calc(100px + env(safe-area-inset-bottom, 0px) + 24px);
position: fixed;
inset: 0;
z-index: 100000;
display: flex;
flex-direction: column;
background: rgba(0, 0, 0, 0.92);
opacity: 0;
visibility: hidden;
transition: opacity 0.3s ease, visibility 0.3s ease;
padding: 0;
box-sizing: border-box;
height: 100dvh;
height: 100vh;
font-family: inherit;
overflow: hidden;
}
.sh-gallery-lightbox.is-open {
display: grid;
grid-template-rows: 1fr auto;
opacity: 1;
visibility: visible;
}
.sh-gallery-lightbox__counter {
position: fixed;
top: max(16px, env(safe-area-inset-top, 0px));
left: 50%;
transform: translateX(-50%);
z-index: 100002;
margin: 0;
padding: 0;
font-size: 0.9375rem;
font-weight: 500;
color: rgba(255, 255, 255, 0.92);
background: transparent;
border-radius: 0;
pointer-events: none;
letter-spacing: 0.06em;
}
.sh-gallery-lightbox__counter:empty {
display: none;
}
.sh-gallery-lightbox__close {
position: fixed;
top: max(16px, env(safe-area-inset-top, 0px));
right: max(16px, env(safe-area-inset-right, 0px));
z-index: 100002;
width: 48px;
height: 48px;
margin: 0;
padding: 0;
border: none;
border-radius: 50%;
background: rgba(255, 255, 255, 0.95);
color: #1a1a1a;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
-webkit-appearance: none;
appearance: none;
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
transition: background 0.2s ease, transform 0.2s ease;
}
.sh-gallery-lightbox__close-icon {
display: block;
width: 22px;
height: 22px;
pointer-events: none;
}
.sh-gallery-lightbox__close:hover,
.sh-gallery-lightbox__close:focus-visible {
background: #fff;
transform: scale(1.04);
outline: none;
}
.sh-gallery-lightbox__shell {
grid-row: 1;
min-height: 0;
display: flex;
flex-direction: column;
width: 100%;
max-width: 1600px;
margin: 0 auto;
padding: var(--sh-lb-header) 12px 8px;
box-sizing: border-box;
}
.sh-gallery-lightbox__bar {
grid-row: 2;
flex-shrink: 0;
display: flex;
flex-direction: column;
align-items: stretch;
gap: 0;
width: 100%;
max-width: none;
margin: 0;
min-height: 96px;
padding: 10px 12px max(32px, calc(env(safe-area-inset-bottom, 0px) + 24px));
box-sizing: border-box;
background: rgba(0, 0, 0, 0.96);
border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.sh-gallery-lightbox--single {
--sh-lb-footer: calc(env(safe-area-inset-bottom, 0px) + 16px);
}
.sh-gallery-lightbox--single .sh-gallery-lightbox__bar {
display: none;
}
.sh-gallery-lightbox__stage {
position: relative;
flex: 1;
display: flex;
align-items: center;
justify-content: center;
min-width: 0;
min-height: 0;
width: 100%;
height: 100%;
overflow: hidden;
}
.sh-gallery-lightbox__swipe-hint {
display: none;
margin: 0;
padding: 0;
font-size: 0.75rem;
font-weight: 500;
color: rgba(255, 255, 255, 0.75);
text-align: center;
letter-spacing: 0.02em;
opacity: 1;
transition: opacity 0.4s ease;
}
.sh-gallery-lightbox__swipe-hint.is-hint-hidden {
opacity: 0;
visibility: hidden;
height: 0;
overflow: hidden;
}
.sh-gallery-lightbox__img {
display: block;
position: relative;
z-index: 2;
max-width: 100%;
max-height: calc(100dvh - var(--sh-lb-header) - var(--sh-lb-footer));
max-height: calc(100vh - var(--sh-lb-header) - var(--sh-lb-footer));
width: auto !important;
height: auto !important;
margin: 0 auto;
object-fit: contain;
border-radius: 0;
box-shadow: none;
transition: opacity 0.25s ease;
}
@media (prefers-reduced-motion: reduce) {
.sh-gallery-lightbox__img {
transition: none;
}
}
.sh-gallery-lightbox__img.is-loading {
opacity: 0.4;
}
.sh-gallery-lightbox__img.is-changing {
opacity: 0;
}
.sh-gallery-lightbox__nav {
position: absolute;
top: 50%;
z-index: 5;
width: 44px;
height: 44px;
min-width: 44px;
min-height: 44px;
margin: 0;
padding: 0;
border: none;
border-radius: 50%;
background: rgba(255, 255, 255, 0.95);
color: #1a1a1a;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transform: translateY(-50%);
box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
-webkit-appearance: none;
appearance: none;
transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.sh-gallery-lightbox__nav--prev {
left: 8px;
}
.sh-gallery-lightbox__nav--next {
right: 8px;
}
.sh-gallery-lightbox__nav-icon {
display: block;
width: 24px;
height: 24px;
pointer-events: none;
}
.sh-gallery-lightbox__nav:hover,
.sh-gallery-lightbox__nav:focus-visible {
background: #fff;
color: #1a1a1a;
outline: none;
transform: translateY(-50%) scale(1.05);
box-shadow: 0 6px 28px rgba(0, 0, 0, 0.45);
}
.sh-gallery-lightbox__nav[hidden] {
display: none !important;
} .sh-gallery-lightbox__thumbs {
flex: 0 0 auto;
width: 100%;
min-width: 0;
display: flex;
gap: 10px;
justify-content: flex-start;
align-items: center;
padding: 4px 0 0;
overflow-x: auto;
scroll-snap-type: x proximity;
scrollbar-width: none;
-ms-overflow-style: none;
box-sizing: border-box;
-webkit-overflow-scrolling: touch;
}
.sh-gallery-lightbox__thumbs::-webkit-scrollbar {
display: none;
}
.sh-gallery-lightbox__thumbs[hidden] {
display: none !important;
}
@media (min-width: 768px) {
.sh-gallery-lightbox {
--sh-lb-header: 56px;
--sh-lb-footer: 120px;
}
.sh-gallery-lightbox__shell {
padding: var(--sh-lb-header) 48px 16px;
}
.sh-gallery-lightbox__nav {
width: 56px;
height: 56px;
min-width: 56px;
min-height: 56px;
}
.sh-gallery-lightbox__nav--prev {
left: 16px;
}
.sh-gallery-lightbox__nav--next {
right: 16px;
}
.sh-gallery-lightbox__img {
max-width: min(96vw, 1400px);
}
.sh-gallery-lightbox__bar {
flex-direction: row;
align-items: center;
max-width: 1600px;
margin: 0 auto;
min-height: 0;
padding: 8px 16px 20px;
background: transparent;
border-top: none;
}
.sh-gallery-lightbox__swipe-hint {
display: none !important;
}
.sh-gallery-lightbox__thumbs {
flex: 1;
min-width: 0;
}
}
.sh-gallery-lightbox__thumb {
flex: 0 0 auto;
scroll-snap-align: center;
width: 88px;
height: 66px;
min-height: 48px;
margin: 0;
padding: 0;
border: 2px solid transparent;
border-radius: 8px;
overflow: hidden;
cursor: pointer;
background: rgba(255, 255, 255, 0.06);
opacity: 0.5;
transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
-webkit-appearance: none;
appearance: none;
}
.sh-gallery-lightbox__thumb img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
pointer-events: none;
}
.sh-gallery-lightbox__thumb:hover {
opacity: 0.85;
}
.sh-gallery-lightbox__thumb.is-active {
opacity: 1;
border-color: var(--sh-gallery-accent, #c5a059);
transform: scale(1.05);
} @media (min-width: 768px) and (max-width: 1023px) {
.sh-gallery-block,
.sh-gallery-full {
--sh-gallery-height-mobile: 240px;
}
.sh-gallery-card {
width: min(72vw, 320px);
max-width: none;
}
.sh-gallery-card__btn {
height: var(--sh-gallery-height-mobile, 240px);
}
} @media (max-width: 767px) {
.sh-gallery-block,
.sh-gallery-full {
margin: 1rem 0;
--sh-gallery-height-mobile: 200px;
}
.sh-gallery-full .sh-gallery-section + .sh-gallery-section {
margin-top: 1.75rem;
padding-top: 1.75rem;
}
.sh-gallery-strip__header {
flex-direction: column;
align-items: stretch;
gap: 0.65rem;
margin-bottom: 0.75rem;
padding-inline: 16px;
}
.sh-gallery-strip__title {
font-size: 1.125rem;
}
.sh-gallery-strip__all-btn {
align-self: flex-start;
min-height: 44px;
padding: 0.6rem 1.1rem;
}
.sh-gallery-strip__outer--arrows {
padding-left: 0;
padding-right: 0;
}
.sh-gallery-strip {
scroll-padding-inline: 16px;
padding-inline: 16px;
gap: 12px;
}
.sh-gallery-card {
width: min(82vw, 300px);
max-width: none;
scroll-snap-align: center;
}
.sh-gallery-card__btn {
height: var(--sh-gallery-height-mobile, 200px);
}
.sh-gallery-card__caption {
-webkit-line-clamp: 1;
font-size: 0.75rem;
} .sh-gallery-lightbox {
--sh-lb-header: calc(env(safe-area-inset-top, 0px) + 48px);
--sh-lb-footer: 0px;
z-index: 999999;
isolation: isolate;
}
.sh-gallery-lightbox.is-open {
display: flex !important;
flex-direction: column !important;
background: #000 !important;
touch-action: manipulation;
overscroll-behavior: none;
}
.sh-gallery-lightbox__counter {
top: max(12px, env(safe-area-inset-top, 0px));
}
.sh-gallery-lightbox__close {
z-index: 1000002;
touch-action: manipulation;
-webkit-tap-highlight-color: transparent;
}
.sh-gallery-lightbox__counter {
z-index: 1000002;
}
.sh-gallery-lightbox__swipe-hint {
display: none !important;
}
.sh-gallery-lightbox__shell {
flex: 1 1 auto;
min-height: 0;
width: 100%;
max-width: none;
margin: 0;
padding: var(--sh-lb-header) 0 0;
display: flex;
flex-direction: column;
}
.sh-gallery-lightbox__stage {
flex: 1;
min-height: 0;
width: 100%;
height: 100%;
display: grid;
place-items: center;
padding: 0 52px;
box-sizing: border-box;
overflow: hidden;
touch-action: pan-y;
}
.sh-gallery-lightbox__img {
float: none !important;
margin: 0 auto !important;
transform: none !important;
position: static !important;
left: auto !important;
right: auto !important;
max-width: 100% !important;
max-height: 100% !important;
width: auto !important;
height: auto !important;
object-fit: contain !important;
touch-action: manipulation;
}
.sh-gallery-lightbox__nav {
touch-action: manipulation;
-webkit-tap-highlight-color: transparent;
}
.sh-gallery-lightbox__nav--prev {
left: 4px;
}
.sh-gallery-lightbox__nav--next {
right: 4px;
}
.sh-gallery-lightbox__bar {
flex: 0 0 auto;
grid-row: auto;
min-height: 0;
padding: 8px 12px max(48px, calc(env(safe-area-inset-bottom, 0px) + 28px));
background: #000;
border-top: 1px solid rgba(255, 255, 255, 0.08);
overscroll-behavior: contain;
flex-shrink: 0;
}
.sh-gallery-lightbox__thumbs {
padding: 4px 4px 0;
scroll-padding-inline: 12px;
gap: 8px;
touch-action: pan-x;
overscroll-behavior-x: contain;
overflow-y: hidden;
}
.sh-gallery-lightbox__thumb {
width: 64px;
height: 48px;
}
}
html.sh-gallery-modal-open,
body.sh-gallery-modal-open {
overflow: hidden;
}
html.sh-gallery-modal-open {
overscroll-behavior: none;
}
body.sh-gallery-modal-open {
position: fixed;
width: 100%;
height: 100%;
}