/* Gemeinsame Lightbox-Steuerung fuer alle Produktseiten. */
.netmail-beta-shell .netmail-product-window a,
.netmail-beta-shell .netmail-product-window img[role="button"] {
    display: block;
    cursor: zoom-in;
}

.netmail-beta-shell .netmail-product-window a:focus-visible,
.netmail-beta-shell .netmail-product-window img[role="button"]:focus-visible {
    outline: 3px solid var(--netmail-blue, #087fb2);
    outline-offset: 2px;
}

.netmail-beta-shell .netmail-lightbox {
    box-sizing: border-box;
    width: min(94vw, 1580px);
    max-width: none;
    max-height: 92vh;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 1rem;
    background: #101a22;
    color: #fff;
    box-shadow: 0 35px 90px rgba(0, 0, 0, 0.45);
}

.netmail-beta-shell .netmail-lightbox::backdrop {
    background: rgba(4, 14, 22, 0.82);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.netmail-beta-shell .netmail-lightbox figure {
    margin: 0;
}

.netmail-beta-shell .netmail-lightbox img {
    display: block;
    width: 100%;
    max-height: calc(92vh - 3.3rem);
    object-fit: contain;
    background: #101a22;
}

.netmail-beta-shell .netmail-lightbox figcaption {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    min-height: 3.3rem;
    padding: 0.85rem 4rem 0.85rem 1.1rem;
    color: #dce9f1;
    font-size: 0.9rem;
}

.netmail-beta-shell .netmail-lightbox-count {
    color: #9db6c6;
    white-space: nowrap;
}

.netmail-beta-shell .netmail-lightbox-close,
.netmail-beta-shell .netmail-lightbox-nav {
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
    position: absolute;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 50%;
    background: rgba(5, 20, 30, 0.82);
    color: #fff;
    cursor: pointer;
    font-size: 0;
    line-height: 0;
}

.netmail-beta-shell .netmail-lightbox-close {
    top: 0.6rem;
    right: 0.65rem;
    width: 2.5rem;
    height: 2.5rem;
}

.netmail-beta-shell .netmail-lightbox-nav {
    top: 50%;
    width: 2.9rem;
    height: 2.9rem;
    transform: translateY(-50%);
}

.netmail-beta-shell .netmail-lightbox-nav[data-netmail-lightbox-prev] {
    left: 0.65rem;
}

.netmail-beta-shell .netmail-lightbox-nav[data-netmail-lightbox-next] {
    right: 0.65rem;
}

.netmail-beta-shell .netmail-lightbox-nav[hidden] {
    display: none;
}

.netmail-beta-shell .netmail-lightbox-close:hover,
.netmail-beta-shell .netmail-lightbox-close:focus-visible,
.netmail-beta-shell .netmail-lightbox-nav:hover,
.netmail-beta-shell .netmail-lightbox-nav:focus-visible {
    background: var(--netmail-blue, #087fb2);
    outline: 2px solid rgba(255, 255, 255, 0.9);
    outline-offset: 2px;
}

.netmail-beta-shell .netmail-lightbox-close svg,
.netmail-beta-shell .netmail-lightbox-nav svg {
    display: block;
    flex: 0 0 auto;
    overflow: visible;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.35;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}

.netmail-beta-shell .netmail-lightbox-close svg {
    width: 1.15rem;
    height: 1.15rem;
}

.netmail-beta-shell .netmail-lightbox-nav svg {
    width: 1.25rem;
    height: 1.25rem;
}

@media (max-width: 640px) {
    .netmail-beta-shell .netmail-lightbox {
        width: 96vw;
        max-height: 90vh;
        border-radius: 0.75rem;
    }

    .netmail-beta-shell .netmail-lightbox img {
        max-height: calc(90vh - 4.2rem);
    }

    .netmail-beta-shell .netmail-lightbox figcaption {
        min-height: 4.2rem;
        padding: 0.7rem 3.5rem 0.7rem 0.85rem;
        font-size: 0.8rem;
    }

    .netmail-beta-shell .netmail-lightbox-close {
        top: 0.4rem;
        right: 0.4rem;
    }

    .netmail-beta-shell .netmail-lightbox-nav[data-netmail-lightbox-prev] {
        left: 0.4rem;
    }

    .netmail-beta-shell .netmail-lightbox-nav[data-netmail-lightbox-next] {
        right: 0.4rem;
    }
}
