/**
 * Local_DesignerApp — Cart multi-slide print-preview thumbnails.
 *
 * Lays the per-slide preview chips out side by side with the "Seite x" caption
 * centered below each image (instead of the default vertical stack with the label
 * to the right). Scoped to .local-designer-multithumb so it cannot leak into other
 * cart item options.
 */
.local-designer-multithumb .multi-side-thumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 18px;
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
}

.local-designer-multithumb .multi-side-thumbs > li {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.local-designer-multithumb .multi-side-thumb-img,
.local-designer-multithumb .multi-side-thumb-placeholder {
    display: block;
    margin: 0 0 6px;
}

.local-designer-multithumb .slide-label {
    display: block;
    font-size: 1.2rem;
    line-height: 1.2;
    color: #333;
}

/* Click-to-zoom affordance + lightbox overlay (cart-multithumb-lightbox.js). */
.local-designer-multithumb .multi-side-thumb-img,
.local-designer-multithumb .personalization-preview-img {
    cursor: zoom-in;
}

.ld-lightbox {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ld-lightbox__backdrop {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.75);
}

.ld-lightbox__content {
    position: relative;
    max-width: 92vw;
    max-height: 92vh;
    padding: 16px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ld-lightbox__img {
    max-width: 86vw;
    max-height: 78vh;
    object-fit: contain;
}

.ld-lightbox__caption {
    margin-top: 10px;
    font-size: 1.6rem;
    color: #333;
}

.ld-lightbox__close {
    position: absolute;
    top: 4px;
    right: 10px;
    padding: 0;
    background: none;
    border: 0;
    font-size: 28px;
    line-height: 1;
    color: #333;
    cursor: pointer;
}
