/* =========================================================
   Müller Produkt-Lightbox 2026
   ========================================================= */

#mueller-product-lightbox-overlay {
    position: fixed;
    inset: 0;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 34px;

    background:
        radial-gradient(
            circle at center,
            rgba(20,20,20,0.82),
            rgba(0,0,0,0.94)
        );

    backdrop-filter: blur(12px);

    z-index: 999999;
}

#mueller-product-lightbox-overlay.is-open {
    display: flex;
}

.mueller-product-lightbox-inner {
    position: relative;

    width: 100%;
    max-width: 1460px;
    max-height: 94vh;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #111111 0%,
            #0d0d0d 100%
        );

    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;

    box-shadow:
        0 35px 90px rgba(0,0,0,0.62);

    isolation: isolate;
}

.mueller-product-lightbox-grid {
    display: grid;
    grid-template-columns: 56% 44%;
    min-height: 820px;
}

/* =========================================================
   LINKE PRODUKTBÜHNE
   ========================================================= */

.mueller-product-lightbox-image-col {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    padding: 72px 55px 120px 55px;

    background:
        linear-gradient(
            rgba(8,8,8,0.42),
            rgba(8,8,8,0.58)
        ),
        url('/wp-content/uploads/2026/05/produkt_bg.png');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.mueller-product-lightbox-image-col::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 50% 46%,
            rgba(255,255,255,0.10),
            rgba(255,255,255,0.02) 34%,
            rgba(0,0,0,0) 64%
        );

    opacity: 0.7;

    pointer-events: none;
}

.mueller-product-lightbox-image-col::after {
    content: "";

    position: absolute;

    left: 12%;
    right: 12%;
    bottom: 12%;

    height: 18%;

    background:
        radial-gradient(
            ellipse at center,
            rgba(0,0,0,0.68),
            rgba(0,0,0,0) 72%
        );

    filter: blur(18px);

    pointer-events: none;
}

.mueller-product-lightbox-image-wrap {
    position: relative;
    z-index: 2;

    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;
}

#mueller-product-lightbox-image {
    display: block;

    width: auto;

    max-width: 118%;
    max-height: 76vh;

    object-fit: contain;

    mix-blend-mode: normal;

    transform: scale(1.12) translateY(10px);

    filter:
        drop-shadow(0 38px 50px rgba(0,0,0,0.72));
}

/* =========================================================
   THUMBNAILS
   ========================================================= */

.mueller-product-lightbox-thumbs {
    position: absolute;

    left: 54px;
    right: 54px;
    bottom: 36px;

    z-index: 5;

    display: flex;
    gap: 14px;
}

.mueller-product-lightbox-thumb {
    width: 96px;
    height: 82px;

    border-radius: 10px;

    background: rgba(255,255,255,0.04);

    border: 1px solid rgba(255,255,255,0.10);

    overflow: hidden;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;
}

.mueller-product-lightbox-thumb:hover {
    transform: translateY(-2px);

    border-color: rgba(225,37,27,0.75);

    background: rgba(255,255,255,0.08);
}

.mueller-product-lightbox-thumb img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    mix-blend-mode: multiply;
}

/* =========================================================
   RECHTE CONTENT-SPALTE
   ========================================================= */

.mueller-product-lightbox-content-col {
    position: relative;

    padding: 68px 58px 54px 58px;

    overflow-y: auto;

    color: #ffffff;

    background:
        linear-gradient(
            180deg,
            rgba(18,18,18,0.96),
            rgba(10,10,10,0.98)
        );
}

.mueller-product-lightbox-content-col::-webkit-scrollbar {
    width: 8px;
}

.mueller-product-lightbox-content-col::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.10);
    border-radius: 20px;
}

/* =========================================================
   META
   ========================================================= */

.mueller-product-lightbox-manufacturer {
    margin-bottom: 16px;

    color: #e1251b;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 1px;
    text-transform: uppercase;
}

.mueller-product-lightbox-title {
    margin: 0 0 26px 0;

    font-size: 56px;
    line-height: 1.03;
    font-weight: 800;

    letter-spacing: -1.4px;

    color: #ffffff;
}

/* =========================================================
   BADGES
   ========================================================= */

.mueller-product-lightbox-badges {
    margin: 0 0 34px 0;
}

.mueller-product-lightbox-badge-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.mueller-product-lightbox-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    min-height: 46px;

    padding: 10px 15px;

    background: rgba(255,255,255,0.06);

    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 9px;

    color: #ffffff;

    font-size: 13px;
    font-weight: 700;
    line-height: 1.1;

    box-shadow:
        0 8px 22px rgba(0,0,0,0.22);

    backdrop-filter: blur(8px);
}

.mueller-product-lightbox-badge img {
    display: block;

    width: 24px;
    height: 24px;

    object-fit: contain;
}

/* =========================================================
   BESCHREIBUNG
   ========================================================= */

.mueller-product-lightbox-description {
    color: rgba(255,255,255,0.88);

    font-size: 16px;
    line-height: 1.82;
}

.mueller-product-lightbox-description strong,
.mueller-product-lightbox-description b {
    color: #ffffff;
}

/* Alte HTML-Styles aus Shopware neutralisieren */

.mueller-product-lightbox-description span,
.mueller-product-lightbox-description div,
.mueller-product-lightbox-description p {
    color: rgba(255,255,255,0.88) !important;
    font-family: inherit !important;
}

.mueller-product-lightbox-description span[style*="font-weight:bold"],
.mueller-product-lightbox-description strong,
.mueller-product-lightbox-description b {
    color: #ffffff !important;
    font-weight: 800 !important;
}

/* =========================================================
   CLOSE BUTTON
   ========================================================= */

.mueller-product-lightbox-close {
    position: absolute;

    top: 22px;
    right: 22px;

    width: 52px;
    height: 52px;

    border: none;
    border-radius: 50%;

    background: rgba(255,255,255,0.08);

    color: #ffffff;

    font-size: 34px;
    line-height: 1;

    cursor: pointer;

    z-index: 30;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.mueller-product-lightbox-close:hover {
    background: #e1251b;

    transform: scale(1.05);
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 1180px) {

    .mueller-product-lightbox-grid {
        grid-template-columns: 1fr;
    }

    .mueller-product-lightbox-image-col {
        min-height: 48vh;
        padding-bottom: 120px;
    }

    .mueller-product-lightbox-content-col {
        padding: 42px 30px 50px 30px;
    }

    .mueller-product-lightbox-title {
        font-size: 38px;
    }

    #mueller-product-lightbox-image {
        max-width: 108%;
        max-height: 48vh;

        transform: scale(1.02);
    }
}

@media (max-width: 700px) {

    #mueller-product-lightbox-overlay {
        padding: 0;
    }

    .mueller-product-lightbox-inner {
        width: 100%;
        height: 100%;

        max-height: none;

        border-radius: 0;
    }

    .mueller-product-lightbox-image-col {
        padding: 28px 20px 110px 20px;
    }

    .mueller-product-lightbox-title {
        font-size: 30px;
        line-height: 1.06;
    }

    .mueller-product-lightbox-description {
        font-size: 15px;
        line-height: 1.72;
    }

    .mueller-product-lightbox-thumb {
        width: 74px;
        height: 64px;
    }

    .mueller-product-lightbox-thumbs {
        left: 20px;
        right: 20px;
        bottom: 24px;
    }

    .mueller-product-lightbox-badge {
        min-height: 40px;

        padding: 8px 11px;

        font-size: 12px;
    }

    .mueller-product-lightbox-badge img {
        width: 21px;
        height: 21px;
    }
}