:root {
--luxe-gap: 8px;
--luxe-radius: 12px;
--luxe-radius-small: 8px;
--luxe-transition: all 0.3s ease;
--luxe-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
--luxe-shadow-hover: 0 10px 15px -3px rgb(0 0 0 / 0.1);
--luxe-overlay-bg: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
--luxe-caption-color: #ffffff;
--luxe-caption-bg: rgba(0, 0, 0, 0.8);
--luxe-button-bg: #ffffff;
--luxe-button-text: #222222;
--luxe-accent: #3b82f6;
--luxe-skeleton-bg: #e5e7eb;
--luxe-skeleton-shine: #f3f4f6;
} .pswp {
z-index: 2000000 !important;
} body.luxe-gallery-modal-open {
overflow: hidden !important;
position: fixed;
width: 100%;
height: 100%;
} .luxe-gallery-container {
max-width: 1280px;
margin: 0 auto;
font-family: sans-serif;
} .luxe-gallery-title {
margin: 0 0 16px 0;
font-size: 28px;
font-weight: 600;
line-height: 1.3;
color: inherit;
}
.luxe-gallery-title.h1 { font-size: 36px; }
.luxe-gallery-title.h3 { font-size: 24px; }
.luxe-gallery-title.h4 { font-size: 20px; }
.luxe-gallery-title.h5 { font-size: 18px; }
.luxe-gallery-title.h6 { font-size: 16px; } .luxe-gallery-hero-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
grid-template-rows: repeat(2, 1fr);
gap: 8px;
height: 55vh;
min-height: 450px;
position: relative;
border-radius: 12px;
overflow: hidden;
}
.luxe-gallery-hero-grid .hero-image-item {
overflow: hidden;
}
.luxe-gallery-hero-grid .hero-image-item a {
display: block;
width: 100%;
height: 100%;
} .luxe-gallery-image-wrapper {
width: 100%;
height: 100%;
display: block;
}
.luxe-gallery-image-wrapper picture {
display: block;
width: 100%;
height: 100%;
}
.luxe-gallery-hero-grid .hero-image-item img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.3s ease;
}
.luxe-gallery-hero-grid .hero-image-item a:hover img {
transform: scale(1.05);
} .luxe-gallery-hero-grid .item-1 { grid-column: 1 / 3; grid-row: 1 / 3; }
.luxe-gallery-hero-grid .item-2 { grid-column: 3 / 4; grid-row: 1 / 2; }
.luxe-gallery-hero-grid .item-3 { grid-column: 4 / 5; grid-row: 1 / 2; }
.luxe-gallery-hero-grid .item-4 { grid-column: 3 / 4; grid-row: 2 / 3; }
.luxe-gallery-hero-grid .item-5 { grid-column: 4 / 5; grid-row: 2 / 3; }
.luxe-gallery-hero-grid .show-all-photos {
position: absolute;
bottom: 24px;
right: 24px;
padding: 8px 16px;
background: var(--luxe-button-bg, #fff);
color: var(--luxe-button-text, #222);
border: 1px solid var(--luxe-button-text, #222);
border-radius: 8px;
cursor: pointer;
font-size: 14px;
font-weight: 600;
transition: var(--luxe-transition);
display: inline-flex;
align-items: center;
gap: 8px;
}
.luxe-gallery-hero-grid .show-all-photos svg {
flex-shrink: 0;
}
.luxe-gallery-hero-grid .show-all-photos:hover {
transform: scale(1.02);
box-shadow: var(--luxe-shadow);
} .luxe-gallery-virtual-tour-btn {
position: absolute;
bottom: 24px;
left: 24px;
padding: 8px 16px;
background: var(--luxe-button-bg, #fff);
color: var(--luxe-button-text, #222);
border: 1px solid var(--luxe-button-text, #222);
border-radius: 8px;
cursor: pointer;
font-size: 14px;
font-weight: 600;
text-decoration: none;
display: inline-flex;
align-items: center;
gap: 8px;
transition: var(--luxe-transition);
z-index: 10;
}
.luxe-gallery-virtual-tour-btn:hover {
transform: scale(1.02);
box-shadow: var(--luxe-shadow);
}
.luxe-gallery-virtual-tour-btn svg {
width: 16px;
height: 16px;
} .luxe-gallery-mobile-slider {
display: none; position: relative;
}
.luxe-gallery-mobile-slider .swiper {
width: 100%;
height: 50vh;
border-radius: 12px;
}
.luxe-gallery-mobile-slider .swiper-slide img {
width: 100%;
height: 100%;
object-fit: cover;
}
.luxe-gallery-mobile-slider .show-all-photos-mobile {
position: absolute;
bottom: 35px;
left: 50%;
transform: translateX(-50%);
padding: 8px 16px;
background: rgba(255, 255, 255, 0.9);
border: 1px solid #222;
border-radius: 8px;
cursor: pointer;
font-size: 14px;
font-weight: 600;
z-index: 10;
}
.luxe-gallery-mobile-slider .swiper-pagination-bullet {
background-color: #fff;
opacity: 0.6;
}
.luxe-gallery-mobile-slider .swiper-pagination-bullet-active {
opacity: 1;
background-color: #fff;
} .luxe-gallery-full-view {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: #fff;
z-index: 999999; overflow-y: auto;
overflow-x: hidden;
padding: 0 40px 40px 40px; box-sizing: border-box;
visibility: hidden;
opacity: 0;
pointer-events: none;
transition: opacity 0.3s ease, visibility 0.3s ease;
}
.luxe-gallery-full-view.is-visible {
visibility: visible;
opacity: 1;
pointer-events: auto;
}
.back-to-grid-view {
position: absolute;
top: 50%;
left: 16px;
transform: translateY(-50%);
background: #f0f0f1;
border: 1px solid #ddd;
border-radius: 50%;
width: 40px;
height: 40px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
padding: 0;
z-index: 10;
}
.back-to-grid-view:hover {
background: #e5e5e5;
}
.back-to-grid-view svg {
color: #333;
}
.luxe-gallery-full-view .luxe-gallery-categories-wrapper {
margin: 0 auto;
}
.luxe-gallery-category-nav {
position: fixed;
top: 0;
left: 0;
right: 0;
background: #fff;
border-bottom: 1px solid #ddd;
margin-bottom: 0;
z-index: 1000000; padding: 16px 40px 16px 70px; box-sizing: border-box;
display: none; }
.luxe-gallery-full-view.is-visible .luxe-gallery-category-nav {
display: block;
} .luxe-gallery-full-view .luxe-gallery-categories-wrapper {
padding-top: 140px; }
.luxe-gallery-category-nav.is-sticky {
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.luxe-gallery-category-nav ul {
list-style: none;
padding: 0 0 8px 0;
margin: 0;
display: flex;
gap: 10px;
overflow-x: auto;
white-space: nowrap;
-ms-overflow-style: none; scrollbar-width: none; }
.luxe-gallery-category-nav ul::-webkit-scrollbar {
display: none; }
.luxe-gallery-category-nav a {
text-decoration: none;
color: #777;
padding: 8px;
display: flex;
flex-direction: column;
align-items: center;
gap: 12px;
border-bottom: 2px solid transparent;
border-radius: 8px;
min-width: 110px;
transition: all 0.2s ease-in-out;
}
.luxe-gallery-category-nav a:hover {
color: #222;
transform: translateY(-2px);
}
.luxe-gallery-category-nav a.active {
color: #222;
border-bottom-color: #222;
background-color: transparent;
}
.luxe-gallery-category-nav a:focus {
outline: none;
box-shadow: none;
}
.luxe-gallery-category-nav img {
width: 175px;
height: 175px;
border-radius: 8px;
object-fit: cover;
}
.luxe-gallery-category-nav span {
font-weight: 600;
font-size: 16px;
}
.luxe-gallery-category-section {
scroll-margin-top: 180px; }
.luxe-gallery-category-section:first-of-type {
scroll-margin-top: 160px;
}
.luxe-gallery-category-section h2 {
font-size: 24px;
margin-bottom: 24px;
}
.luxe-gallery-category-section .image-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 16px;
}
.luxe-gallery-category-section .grid-image-item {
width: 100%;
aspect-ratio: 4 / 3;
overflow: hidden;
border-radius: 8px;
}
.luxe-gallery-category-section .grid-image-item img {
width: 100%;
height: 100%;
object-fit: cover;
}  .luxe-gallery-columns-1 .luxe-gallery-hero-grid {
grid-template-columns: 1fr;
grid-template-rows: 1fr;
}
.luxe-gallery-columns-2 .luxe-gallery-hero-grid {
grid-template-columns: repeat(2, 1fr);
grid-template-rows: auto;
}
.luxe-gallery-columns-3 .luxe-gallery-hero-grid {
grid-template-columns: repeat(3, 1fr);
grid-template-rows: auto;
}
.luxe-gallery-columns-5 .luxe-gallery-hero-grid {
grid-template-columns: repeat(5, 1fr);
grid-template-rows: auto;
}
.luxe-gallery-columns-6 .luxe-gallery-hero-grid {
grid-template-columns: repeat(6, 1fr);
grid-template-rows: auto;
} .luxe-gallery-columns-1 .item-1,
.luxe-gallery-columns-1 .item-2,
.luxe-gallery-columns-1 .item-3,
.luxe-gallery-columns-1 .item-4,
.luxe-gallery-columns-1 .item-5,
.luxe-gallery-columns-2 .item-1,
.luxe-gallery-columns-2 .item-2,
.luxe-gallery-columns-2 .item-3,
.luxe-gallery-columns-2 .item-4,
.luxe-gallery-columns-2 .item-5,
.luxe-gallery-columns-3 .item-1,
.luxe-gallery-columns-3 .item-2,
.luxe-gallery-columns-3 .item-3,
.luxe-gallery-columns-3 .item-4,
.luxe-gallery-columns-3 .item-5,
.luxe-gallery-columns-5 .item-1,
.luxe-gallery-columns-5 .item-2,
.luxe-gallery-columns-5 .item-3,
.luxe-gallery-columns-5 .item-4,
.luxe-gallery-columns-5 .item-5,
.luxe-gallery-columns-6 .item-1,
.luxe-gallery-columns-6 .item-2,
.luxe-gallery-columns-6 .item-3,
.luxe-gallery-columns-6 .item-4,
.luxe-gallery-columns-6 .item-5 {
grid-column: auto;
grid-row: auto;
} .luxe-gallery-item {
position: relative;
overflow: hidden;
border-radius: var(--luxe-radius-small);
background: #f3f4f6;
transition: var(--luxe-transition);
cursor: pointer;
}
.luxe-gallery-item:hover {
transform: translateY(-2px);
box-shadow: var(--luxe-shadow-hover);
}
.luxe-gallery-item img {
width: 100%;
height: 100%;
object-fit: cover;
transition: var(--luxe-transition);
}
.luxe-gallery-item:hover img {
transform: scale(1.05);
} .luxe-gallery-caption {
position: absolute;
bottom: 0;
left: 0;
right: 0;
padding: 1rem;
color: var(--luxe-caption-color);
background: var(--luxe-caption-bg);
transform: translateY(100%);
transition: transform 0.3s ease;
font-size: 0.875rem;
line-height: 1.4;
}
.luxe-gallery-item:hover .luxe-gallery-caption,
.hero-image-item:hover .luxe-gallery-caption {
transform: translateY(0);
} .luxe-gallery-masonry {
column-count: 3;
column-gap: var(--luxe-gap);
}
.luxe-gallery-masonry .luxe-gallery-item {
break-inside: avoid;
margin-bottom: var(--luxe-gap);
aspect-ratio: auto;
} .luxe-gallery-justified {
display: flex;
flex-wrap: wrap;
gap: var(--luxe-gap);
}
.luxe-gallery-justified .luxe-gallery-item {
flex: 1 1 auto;
height: 200px;
min-width: 150px;
aspect-ratio: auto;
} .luxe-gallery-skeleton {
position: relative;
overflow: hidden;
background: var(--luxe-skeleton-bg);
}
.luxe-gallery-skeleton::after {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(
90deg,
transparent,
var(--luxe-skeleton-shine),
transparent
);
animation: luxe-skeleton-shimmer 1.5s infinite;
}
@keyframes luxe-skeleton-shimmer {
100% { left: 100%; }
} .luxe-gallery-blur-up {
filter: blur(20px);
transform: scale(1.1);
transition: filter 0.5s ease, transform 0.5s ease;
}
.luxe-gallery-blur-up.loaded {
filter: blur(0);
transform: scale(1);
} .hero-image-item.is-loading,
.grid-image-item.is-loading {
background: var(--luxe-skeleton-bg);
position: relative;
overflow: hidden;
}
.hero-image-item.is-loading::after,
.grid-image-item.is-loading::after {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(
90deg,
transparent,
rgba(255, 255, 255, 0.4),
transparent
);
animation: luxe-skeleton-shimmer 1.5s infinite;
}
.hero-image-item img.loaded,
.grid-image-item img.loaded {
opacity: 1;
} .hero-image-item img[data-src]:not(.loaded),
.grid-image-item img[data-src]:not(.loaded) {
opacity: 0;
} .luxe-gallery-loading {
position: relative;
min-height: 400px;
}
.luxe-gallery-loading::after {
content: '';
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 40px;
height: 40px;
border: 3px solid var(--luxe-skeleton-bg);
border-top-color: var(--luxe-accent);
border-radius: 50%;
animation: luxe-spin 1s linear infinite;
}
@keyframes luxe-spin {
to { transform: translate(-50%, -50%) rotate(360deg); }
} .luxe-gallery-zoom {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 48px;
height: 48px;
background: rgba(255, 255, 255, 0.9);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
transition: opacity 0.3s ease;
pointer-events: none;
z-index: 10;
}
.luxe-gallery-item:hover .luxe-gallery-zoom,
.hero-image-item:hover .luxe-gallery-zoom {
opacity: 1;
}
.luxe-gallery-zoom svg {
width: 24px;
height: 24px;
fill: #1f2937;
} .alignwide .luxe-gallery-container {
max-width: 1200px;
margin-inline: auto;
}
.alignfull .luxe-gallery-container {
max-width: 100%;
} @media (max-width: 768px) {
.luxe-gallery-hero-grid {
display: none;
}
.luxe-gallery-mobile-slider {
display: block;
}
.luxe-gallery-columns-6 .luxe-gallery-hero-grid,
.luxe-gallery-columns-5 .luxe-gallery-hero-grid,
.luxe-gallery-columns-4 .luxe-gallery-hero-grid,
.luxe-gallery-columns-3 .luxe-gallery-hero-grid,
.luxe-gallery-columns-2 .luxe-gallery-hero-grid {
display: grid;
grid-template-columns: 1fr;
height: auto;
min-height: auto;
}
.luxe-gallery-masonry {
column-count: 1;
}
}
@media (min-width: 1128px) {
.luxe-gallery-full-view {
padding-left: 120px;
padding-right: 120px;
}
} @media (max-width: 1024px) {
.luxe-gallery-full-view {
padding: 0 24px 24px 24px;
}
.luxe-gallery-category-nav {
padding: 12px 24px 12px 60px;
}
.back-to-grid-view {
left: 12px;
width: 36px;
height: 36px;
}
.luxe-gallery-full-view .luxe-gallery-categories-wrapper {
padding-top: 120px;
}
.luxe-gallery-category-nav a {
min-width: 100px;
gap: 8px;
padding: 6px;
}
.luxe-gallery-category-nav img {
width: 80px;
height: 80px;
}
.luxe-gallery-category-section {
scroll-margin-top: 130px;
}
} @media (max-width: 768px) {
.luxe-gallery-full-view {
padding: 0 12px 16px 12px;
}
.luxe-gallery-category-nav {
padding: 8px 12px 8px 50px;
}
.back-to-grid-view {
left: 8px;
width: 32px;
height: 32px;
}
.back-to-grid-view svg {
width: 16px;
height: 16px;
}
.luxe-gallery-full-view .luxe-gallery-categories-wrapper {
padding-top: 95px;
}
.luxe-gallery-category-nav ul {
gap: 8px;
}
.luxe-gallery-category-nav a {
min-width: auto;
gap: 4px;
padding: 4px;
font-size: 11px;
}
.luxe-gallery-category-nav img {
width: 60px;
height: 60px;
flex-shrink: 0;
}
.luxe-gallery-category-nav span {
font-size: 11px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 60px;
}
.luxe-gallery-category-section {
scroll-margin-top: 120px;
}
.luxe-gallery-category-section h2 {
font-size: 18px;
}
.luxe-gallery-category-section .image-grid {
grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
gap: 8px;
}
} @media (max-width: 480px) {
.luxe-gallery-justified .luxe-gallery-item {
width: 100%;
height: 250px;
}
.luxe-gallery-full-view {
padding: 0 10px 10px 10px;
}
.luxe-gallery-category-nav {
padding: 6px 10px 6px 44px;
}
.back-to-grid-view {
left: 6px;
width: 28px;
height: 28px;
}
.luxe-gallery-full-view .luxe-gallery-categories-wrapper {
padding-top: 75px;
}
.luxe-gallery-category-nav ul {
gap: 6px;
}
.luxe-gallery-category-nav a {
gap: 3px;
padding: 3px;
}
.luxe-gallery-category-nav img {
width: 50px;
height: 50px;
}
.luxe-gallery-category-nav span {
font-size: 10px;
max-width: 50px;
}
.luxe-gallery-category-section {
scroll-margin-top: 100px;
}
.luxe-gallery-category-section .image-grid {
grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
gap: 6px;
}
} .pswp__img {
object-fit: contain;
} .pswp-custom-counter {
color: #fff !important;
font-size: 14px !important;
font-weight: 500 !important;
text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5) !important;
line-height: 32px !important;
padding: 0 12px !important;
} .pswp__top-bar .pswp-custom-counter {
position: absolute !important;
top: 15px !important;
left: 20px !important;
}
.pswp__counter-current {
font-weight: 600;
}
.pswp__counter-total {
opacity: 0.8;
} .pswp__button.pswp__button--arrow--prev,
.pswp__button.pswp__button--arrow--next {
position: absolute !important;
top: 50% !important;
transform: translateY(-50%) !important;
width: 60px !important;
height: 60px !important;
background: rgba(0, 0, 0, 0.3) !important;
border: none !important;
border-radius: 50% !important;
cursor: pointer !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
transition: all 0.2s ease !important;
z-index: 1000 !important;
opacity: 0.9 !important;
}
.pswp__button.pswp__button--arrow--prev {
left: 20px !important;
right: auto !important;
}
.pswp__button.pswp__button--arrow--next {
right: 20px !important;
left: auto !important;
}
.pswp__button.pswp__button--arrow--prev:hover,
.pswp__button.pswp__button--arrow--next:hover {
background: rgba(0, 0, 0, 0.5) !important;
opacity: 1 !important;
}
.pswp__button--arrow--prev svg,
.pswp__button--arrow--next svg {
color: #fff;
filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
} .pswp__button--arrow--next .pswp__icn {
transform: none !important;
} @media (max-width: 768px) {
.pswp__button--arrow--prev,
.pswp__button--arrow--next {
width: 45px;
height: 45px;
background: rgba(0, 0, 0, 0.2);
}
.pswp__button--arrow--prev {
left: 10px;
}
.pswp__button--arrow--next {
right: 10px;
}
.pswp__counter {
font-size: 14px;
top: 15px;
left: 15px;
}
} .pswp__button--arrow--prev:focus,
.pswp__button--arrow--next:focus {
outline: 2px solid #fff;
outline-offset: 2px;
} .pswp__button--share {
width: 44px !important;
height: 44px !important;
background: transparent !important;
cursor: pointer !important;
}
.pswp__button--share:hover {
opacity: 0.8 !important;
}
.pswp__button--share svg {
width: 24px;
height: 24px;
fill: currentColor;
} @keyframes luxe-fade-in {
from {
opacity: 0;
transform: translateX(-50%) translateY(10px);
}
to {
opacity: 1;
transform: translateX(-50%) translateY(0);
}
}
@keyframes luxe-fade-out {
from {
opacity: 1;
transform: translateX(-50%) translateY(0);
}
to {
opacity: 0;
transform: translateX(-50%) translateY(10px);
}
}
.luxe-gallery-share-notification {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
} @media print {
.luxe-gallery-category-nav,
.luxe-gallery-zoom,
.show-all-photos,
.show-all-photos-mobile,
.back-to-grid-view {
display: none;
}
.luxe-gallery-item,
.hero-image-item {
break-inside: avoid;
page-break-inside: avoid;
}
} .luxe-gallery-item:focus-within,
.hero-image-item:focus-within {
outline: 2px solid #3b82f6;
outline-offset: 2px;
}
.luxe-gallery-link:focus,
.hero-image-item a:focus {
outline: none;
} @media (prefers-contrast: high) {
.luxe-gallery-item,
.hero-image-item {
border: 2px solid currentColor;
}
.show-all-photos,
.show-all-photos-mobile {
border-width: 2px;
}
} @media (prefers-reduced-motion: reduce) {
.luxe-gallery-item,
.luxe-gallery-item img,
.hero-image-item img,
.luxe-gallery-caption,
.luxe-gallery-zoom,
.luxe-gallery-full-view {
transition: none;
}
@keyframes luxe-spin {
to { transform: none; }
}
} @media (prefers-color-scheme: dark) {
.luxe-gallery-full-view {
background: #1a1a1a;
color: #f0f0f0;
}
.luxe-gallery-category-nav {
background: #1a1a1a;
border-bottom-color: #333;
}
.luxe-gallery-category-nav.is-sticky {
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.luxe-gallery-category-nav a {
color: #999;
}
.luxe-gallery-category-nav a:hover,
.luxe-gallery-category-nav a.active {
color: #fff;
border-bottom-color: #fff;
}
.back-to-grid-view {
background: #2a2a2a;
border-color: #444;
}
.back-to-grid-view svg {
color: #f0f0f0;
}
.luxe-gallery-item {
background: #2a2a2a;
}
.luxe-gallery-skeleton,
.hero-image-item.is-loading,
.grid-image-item.is-loading {
background: #2a2a2a;
}
}