.wpgcp-popover,
.wpgcp-popover * {
box-sizing: border-box;
}
.wpgcp-popover {
position: fixed;
bottom: 0;
z-index: 2147483647;
max-height: 100vh;
background-color: #ffffff;
box-shadow: 0 -16px 48px rgb(0 0 0 / 25%), 0 0 0 2160px rgb(0 0 0 / 25%);
padding: 2em;
margin: 2em;
border-radius: 24px;
}
.wpgcp-popover--grid-container {
display: grid;
grid-gap: 2em;
grid-template-columns: 1fr auto auto 1fr;
align-items: center;
}
@media all and (max-width: 768px) {
.wpgcp-popover--grid-container {
grid-template-columns: 1fr;
}
}
.wpgcp-popover--grid-container svg {
width: 48px;
background-color: #dfe6e9;
padding: 4px;
border-radius: 100%;
}
.wpgcp-popover--actions {
display: flex;
flex-wrap: wrap;
gap: 1em;
}
.wpgcp-popover--actions a {
padding: 8px 24px;
border: 2px solid #2d3436;
background: transparent;
cursor: pointer;
text-decoration: none;
transition: all 0.3s ease;
position: relative;
display: inline-flex;
flex-direction: column;
align-items: center;
justify-content: center;
background: #2d3436;
color: #fff;
z-index: 1;
}
.wpgcp-popover--actions a.faded {
border-color: #636e72;
background: transparent;
border: 0 none;
color: #636e72;
}
.wpgcp-popover--actions a:after {
position: absolute;
content: "";
width: 0;
height: 100%;
top: 0;
right: 0;
z-index: -1;
background: #dfe6e9;
transition: all 0.3s ease;
}
.wpgcp-popover--actions a:hover {
color: #000;
}
.wpgcp-popover--actions a:hover:after {
left: 0;
width: 100%;
}
.wpgcp-popover--actions a:active {
top: 2px;
}.lightbox-overlay {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.9);
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
z-index: 9999;
}
.lightbox-image-container {
display: flex;
align-items: center;
justify-content: center;
height: 80vh; overflow: hidden;
}
.lightbox-main {
max-height: 80vh;
width: auto;
height: auto;
display: block;
margin: 0 auto;
object-fit: contain; transition: opacity 0.3s ease;
}
.lightbox-thumbs-wrapper {
max-width: 50vw;
overflow: hidden;
scroll-behavior: smooth;
-webkit-overflow-scrolling: touch;
white-space: nowrap;
}
.lightbox-thumbs {
display: flex;
flex-wrap: nowrap;
overflow-x: hidden;
margin-top: 1rem;
gap: 0.5rem;
scroll-behavior: smooth;
}
.lightbox-thumbs img {
height: 60px;
width: auto;
cursor: pointer;
border: 2px solid transparent;
}
.lightbox-thumbs img.active {
border-color: white;
}
.lightbox-nav,
.lightbox-share,
.lightbox-close {
position: absolute;
top: 1rem;
font-size: 36px;
color: white;
cursor: pointer;
opacity: 0.5;
transition: opacity 0.2s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.lightbox-nav:hover,
.lightbox-share:hover,
.lightbox-close:hover {
opacity: 1;
}
.lightbox-close {
right: 1rem;
}
.lightbox-nav.left {
left: 1rem;
top: 50%;
transform: translateY(-50%);
}
.lightbox-nav.right {
right: 1rem;
top: 50%;
transform: translateY(-50%);
}
.lightbox-share {
background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.25));
border-radius: 48px;
backdrop-filter: blur(4px);
left: 50%;
transform: translateX(-50%);
top: 0;
padding: 1rem;
bottom: auto;
display: flex;
gap: 1rem;
}
.lightbox-share a {
color: white;
text-decoration: none;
font-size: 1rem;
transition: all 0.2s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.lightbox-share a:hover {
color: white;
transform: scale(1.1);
opacity: 0.8;
}
.share-overlay {
position: absolute;
top: 8px;
right: 8px;
background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.25));
border-radius: 48px;
backdrop-filter: blur(4px);
padding: 4px 6px;
display: flex;
gap: 4px;
font-size: 12px;
z-index: 1;
}
.share-overlay a {
color: #ffffff;
text-decoration: none;
transition: all 0.2s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.share-overlay a:hover {
color: #ffffff;
transform: scale(1.1);
opacity: 0.8;
}