.pi-00567dd1-wrapper {
    display: flex;
    gap: 15px;
    flex-direction: column;
    position: relative;
}
.pi-00567dd1-pos-left {
    flex-direction: row-reverse;
}
.pi-00567dd1-pos-right {
    flex-direction: row;
}
.pi-00567dd1-main {
    flex: 1;
    overflow: hidden;
    position: relative;
}
.pi-00567dd1-image {
    cursor: default;
}
.pi-00567dd1-wrapper[data-lightbox="true"] .pi-00567dd1-image {
    cursor: pointer;
}
.pi-00567dd1-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.1s ease;
}
.pi-00567dd1-thumbs {
    display: flex;
    gap: 10px;
}
.pi-00567dd1-pos-left .pi-00567dd1-thumbs,
.pi-00567dd1-pos-right .pi-00567dd1-thumbs {
    flex-direction: column;
    width: 100px;
}
.pi-00567dd1-thumb {
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.6;
    transition: all 0.3s ease;
}
.pi-00567dd1-thumb.active,
.pi-00567dd1-thumb:hover {
    border-color: #333;
    opacity: 1;
}
.pi-00567dd1-thumb img {
    width: 100%;
    height: auto;
    display: block;
}

/* Lightbox Styles */
.pi-00567dd1-lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.9);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}
body.admin-bar .pi-00567dd1-lightbox-overlay {
    top: var(--wp-admin--admin-bar--height, 32px);
    height: calc(100vh - var(--wp-admin--admin-bar--height, 32px));
}
.pi-00567dd1-lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    line-height: 1;
}
.pi-00567dd1-lightbox-content {
    max-width: 90%;
    max-height: 90%;
}
.pi-00567dd1-lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}