/* =========================================================
   EICHENREICH24 – PRODUKTDETAIL V3
   CLEAN / NUR EINE REGELBASIS
========================================================= */

body.er24-product-detail {
    --er-blue: #5878B5;
    --er-blue-dark: #45659F;
    --er-blue-soft: #EDF3FC;

    --er-text: #202938;
    --er-muted: #667286;
    --er-line: #DCE4EF;
    --er-light: #F7F9FC;

    color: var(--er-text);
}


/* =========================================================
   HELLO ELEMENTOR 1140PX LIMIT KOMPLETT AUFHEBEN
========================================================= */

body.er24-product-detail:not([class*="elementor-page-"]) .site-main,
body.er24-product-detail .site-main,
body.er24-product-detail main.site-main,
body.er24-product-detail #primary,
body.er24-product-detail .content-area,
body.er24-product-detail .site-content {
    width: 100% !important;
    max-width: none !important;

    margin-left: 0 !important;
    margin-right: 0 !important;

    padding-left: 0 !important;
    padding-right: 0 !important;

    float: none !important;
}


body.er24-product-detail #secondary,
body.er24-product-detail .sidebar,
body.er24-product-detail .widget-area {
    display: none !important;
}


/* =========================================================
   BREADCRUMB
========================================================= */

body.er24-product-detail .woocommerce-breadcrumb {
    width: min(1360px, calc(100vw - 50px)) !important;
    max-width: 1360px !important;

    margin:
        28px auto
        24px !important;

    padding: 0 !important;

    color: var(--er-muted);

    font-size: 12px;
    line-height: 1.5;
}


body.er24-product-detail .woocommerce-breadcrumb a {
    color: var(--er-blue) !important;

    text-decoration: none !important;
}


/* =========================================================
   PRODUKT-CONTAINER
   WICHTIG: KEIN GRID – NATIVES WOOCOMMERCE FLOAT-LAYOUT
========================================================= */

body.er24-product-detail div.product {

    width: min(1360px, calc(100vw - 50px)) !important;
    max-width: 1360px !important;

    margin:
        0 auto
        76px !important;

    padding: 0 !important;

    display: block !important;

    float: none !important;
}


/* Native Clearfix sauber erhalten */

body.er24-product-detail div.product::before,

body.er24-product-detail div.product::after {
    content: " " !important;

    display: table !important;
}


body.er24-product-detail div.product::after {
    clear: both !important;
}


/* =========================================================
   GALERIE LINKS – 54%
========================================================= */

body.er24-product-detail div.product
div.images,

body.er24-product-detail div.product
.woocommerce-product-gallery {

    width: calc(54% - 24px) !important;
    max-width: calc(54% - 24px) !important;

    margin:
        0
        48px
        0
        0 !important;

    padding: 0 !important;

    float: left !important;

    clear: none !important;

    opacity: 1 !important;

    min-width: 0;
}


/* =========================================================
   KAUFBOX RECHTS – 46%
========================================================= */

body.er24-product-detail div.product
div.summary,

body.er24-product-detail div.product
.summary.entry-summary {

    width: calc(46% - 24px) !important;
    max-width: calc(46% - 24px) !important;

    margin: 0 !important;

    padding: 31px !important;

    float: right !important;

    clear: none !important;

    box-sizing: border-box !important;

    border:
        1px solid
        var(--er-line);

    border-radius: 7px;

    background: #fff;

    box-shadow:
        0 16px 40px
        rgba(32, 41, 56, .055);

    position: sticky;

    top: 126px;
}


/* =========================================================
   GALERIE
========================================================= */

body.er24-product-detail
.woocommerce-product-gallery__wrapper {

    width: 100% !important;

    margin: 0 !important;
}


/* Hauptbild */

body.er24-product-detail
.woocommerce-product-gallery__image {

    width: 100% !important;

    overflow: hidden;

    border:
        1px solid
        var(--er-line);

    border-radius: 7px;

    background:
        var(--er-light);
}


body.er24-product-detail
.woocommerce-product-gallery__image a {

    display: block;

    width: 100%;
}


/* echtes Bild */

body.er24-product-detail
.woocommerce-product-gallery__image img {

    display: block !important;

    width: 100% !important;
    height: 650px !important;

    max-width: 100% !important;

    margin: 0 auto !important;

    object-fit: contain !important;
    object-position: center center !important;

    background:
        var(--er-light);
}


/* =========================================================
   ZOOM
========================================================= */

body.er24-product-detail
.woocommerce-product-gallery__trigger {

    top: 14px !important;
    right: 14px !important;

    width: 42px !important;
    height: 42px !important;

    border:
        1px solid
        var(--er-line) !important;

    border-radius:
        5px !important;

    background:
        #fff !important;

    box-shadow:
        none !important;
}


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

body.er24-product-detail
.flex-control-thumbs {

    display: grid !important;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 9px;

    width: 100% !important;

    margin:
        10px
        0
        0 !important;

    padding: 0 !important;

    list-style: none !important;
}


body.er24-product-detail
.flex-control-thumbs li {

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    float: none !important;
}


body.er24-product-detail
.flex-control-thumbs img {

    display: block;

    width: 100% !important;

    aspect-ratio: 1 / 1;

    object-fit: cover;

    border:
        1px solid
        transparent;

    border-radius: 5px;

    opacity: .72;

    cursor: pointer;

    transition:
        opacity .2s ease,
        border-color .2s ease;
}


body.er24-product-detail
.flex-control-thumbs
img.flex-active,

body.er24-product-detail
.flex-control-thumbs
img:hover {

    opacity: 1;

    border-color:
        var(--er-blue);
}


/* =========================================================
   PRODUKTTITEL
========================================================= */

body.er24-product-detail
.product_title {

    display: block !important;

    margin:
        0
        0
        20px !important;

    padding: 0 !important;

    color:
        var(--er-text) !important;

    font-size:
        clamp(
            31px,
            2.45vw,
            43px
        ) !important;

    line-height:
        1.14 !important;

    font-weight:
        560 !important;

    letter-spacing:
        -.03em;

    text-align: left;
}


/* =========================================================
   PREIS
========================================================= */

body.er24-product-detail
.summary
.price {

    margin:
        0
        0
        18px !important;

    color:
        var(--er-text) !important;

    font-size:
        30px !important;

    line-height: 1.1;

    font-weight: 600;
}


body.er24-product-detail
.summary
.price ins {

    color:
        var(--er-blue-dark);

    text-decoration: none;
}


body.er24-product-detail
.summary
.price del {

    margin-right: 7px;

    color: #9BA5B3;

    font-size: 17px;

    font-weight: 400;
}


/* =========================================================
   BESTAND
========================================================= */

body.er24-product-detail
.stock {

    width: fit-content;

    margin:
        0
        0
        17px !important;

    padding:
        7px
        10px;

    border-radius: 4px;

    background:
        var(--er-blue-soft);

    color:
        var(--er-blue-dark) !important;

    font-size:
        12px !important;

    font-weight: 600;
}


/* =========================================================
   KURZBESCHREIBUNG
========================================================= */

body.er24-product-detail
.woocommerce-product-details__short-description {

    margin:
        0
        0
        23px;

    color:
        var(--er-muted);

    font-size: 15px;

    line-height: 1.7;
}


/* =========================================================
   WARENKORB
========================================================= */

body.er24-product-detail
form.cart {

    width: 100% !important;

    display: flex !important;

    align-items: stretch;

    gap: 9px;

    margin:
        22px
        0
        0 !important;

    padding:
        21px
        0
        0 !important;

    border-top:
        1px solid
        var(--er-line);
}


body.er24-product-detail
.quantity {

    width: 64px !important;

    flex:
        0 0 64px;

    margin: 0 !important;
}


body.er24-product-detail
.quantity
.qty {

    width: 64px !important;
    height: 52px !important;

    margin: 0 !important;

    border:
        1px solid
        var(--er-line) !important;

    border-radius:
        5px !important;

    background:
        #fff !important;

    color:
        var(--er-text);

    box-shadow:
        none !important;
}


/* BUTTON – NIE BEWEGEN */

body.er24-product-detail
.single_add_to_cart_button {

    width: auto !important;

    min-width: 0 !important;
    min-height: 52px !important;

    flex:
        1 1 auto !important;

    margin: 0 !important;

    padding:
        0
        20px !important;

    border:
        1px solid
        var(--er-blue) !important;

    border-radius:
        5px !important;

    background:
        var(--er-blue) !important;

    color:
        #fff !important;

    font-size:
        14px !important;

    line-height:
        1 !important;

    font-weight:
        600 !important;

    text-transform:
        none !important;

    white-space:
        nowrap;

    box-shadow:
        none !important;

    transform:
        none !important;

    transition:
        background-color .2s ease,
        border-color .2s ease;
}


body.er24-product-detail
.single_add_to_cart_button:hover {

    border-color:
        var(--er-blue-dark) !important;

    background:
        var(--er-blue-dark) !important;

    transform:
        none !important;
}


/* =========================================================
   VARIATIONEN
========================================================= */

body.er24-product-detail
.variations {

    width: 100%;

    margin-bottom:
        17px !important;
}


body.er24-product-detail
.variations th,

body.er24-product-detail
.variations td {

    display: block;

    width: 100%;

    padding:
        0 !important;
}


body.er24-product-detail
.variations label {

    display: block;

    margin-bottom:
        7px;

    color:
        var(--er-text);

    font-size:
        13px;

    font-weight: 600;
}


body.er24-product-detail
.variations select {

    width: 100%;

    min-height: 48px;

    margin-bottom:
        13px;

    padding:
        0
        12px;

    border:
        1px solid
        var(--er-line);

    border-radius: 5px;

    background:
        #fff;
}


/* =========================================================
   VORTEILE
========================================================= */

.er24pd-benefits {

    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 7px;

    margin-top: 20px;
}


.er24pd-benefit {

    min-width: 0;

    display: flex;
    align-items: center;

    gap: 8px;

    padding: 11px;

    border-radius: 5px;

    background:
        var(--er-blue-soft);
}


.er24pd-benefit-icon {

    width: 30px;
    height: 30px;

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

    flex:
        0 0 30px;

    border-radius: 4px;

    background: #fff;

    color:
        var(--er-blue);

    font-size: 12px;
}


.er24pd-benefit strong {

    display: block;

    color:
        var(--er-text);

    font-size: 11px;

    line-height: 1.25;

    font-weight: 650;
}


.er24pd-benefit small {

    display: block;

    margin-top: 2px;

    color:
        var(--er-muted);

    font-size: 9px;

    line-height: 1.3;
}


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

body.er24-product-detail
.product_meta {

    margin-top:
        22px;

    padding-top:
        17px;

    border-top:
        1px solid
        var(--er-line);

    color:
        var(--er-muted);

    font-size: 12px;

    line-height: 1.7;
}


body.er24-product-detail
.product_meta > span {

    display: block;
}


body.er24-product-detail
.product_meta a {

    color:
        var(--er-blue) !important;

    text-decoration:
        none !important;
}


/* =========================================================
   TABS – UNTER OBERER ZWEISPALTIGER EBENE
========================================================= */

body.er24-product-detail div.product
> .woocommerce-tabs {

    width: 100% !important;

    max-width: none !important;

    clear: both !important;

    margin:
        68px
        0
        0 !important;

    padding-top:
        54px;

    border-top:
        1px solid
        var(--er-line);
}


body.er24-product-detail
.woocommerce-tabs
.tabs {

    display: flex;

    gap: 8px;

    margin:
        0
        0
        26px !important;

    padding: 0 !important;

    list-style:
        none !important;
}


body.er24-product-detail
.woocommerce-tabs
.tabs::before,

body.er24-product-detail
.woocommerce-tabs
.tabs::after {

    display:
        none !important;
}


body.er24-product-detail
.woocommerce-tabs
.tabs li {

    margin: 0 !important;
    padding: 0 !important;

    border:
        1px solid
        var(--er-line) !important;

    border-radius:
        5px !important;

    background:
        #fff !important;
}


body.er24-product-detail
.woocommerce-tabs
.tabs li::before,

body.er24-product-detail
.woocommerce-tabs
.tabs li::after {

    display:
        none !important;
}


body.er24-product-detail
.woocommerce-tabs
.tabs li a {

    display: block;

    padding:
        12px
        17px !important;

    color:
        var(--er-text) !important;

    font-size: 13px;

    font-weight: 600;

    text-decoration:
        none !important;
}


body.er24-product-detail
.woocommerce-tabs
.tabs li.active {

    border-color:
        var(--er-blue) !important;

    background:
        var(--er-blue) !important;
}


body.er24-product-detail
.woocommerce-tabs
.tabs li.active a {

    color:
        #fff !important;
}


/* Panel */

body.er24-product-detail
.woocommerce-Tabs-panel {

    margin: 0 !important;

    padding:
        32px !important;

    border-radius: 6px;

    background:
        var(--er-light);

    color:
        var(--er-muted);

    font-size: 15px;

    line-height: 1.8;
}


body.er24-product-detail
.woocommerce-Tabs-panel h2 {

    margin:
        0
        0
        18px;

    color:
        var(--er-text);

    font-size: 29px;

    font-weight: 560;
}


/* =========================================================
   ÄHNLICHE PRODUKTE
========================================================= */

body.er24-product-detail div.product
> .related.products,

body.er24-product-detail div.product
> .up-sells {

    width: 100% !important;

    max-width: none !important;

    clear: both !important;

    margin:
        68px
        0
        0 !important;

    padding: 0 !important;
}


body.er24-product-detail
.related.products > h2,

body.er24-product-detail
.up-sells > h2 {

    margin:
        0
        0
        28px !important;

    padding: 0 !important;

    color:
        var(--er-text) !important;

    font-size:
        clamp(
            31px,
            2.7vw,
            43px
        ) !important;

    line-height: 1.1 !important;

    font-weight: 560 !important;

    letter-spacing:
        -.03em !important;

    text-align:
        left !important;
}


/* GRID */

body.er24-product-detail
.related.products
ul.products,

body.er24-product-detail
.up-sells
ul.products {

    display: grid !important;

    grid-template-columns:
        repeat(
            4,
            minmax(0, 1fr)
        ) !important;

    gap: 16px !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    list-style: none !important;
}


/* CARD */

body.er24-product-detail
.related.products
li.product,

body.er24-product-detail
.up-sells
li.product {

    width: 100% !important;

    max-width: none !important;

    min-width: 0;

    display: flex !important;

    flex-direction: column;

    margin: 0 !important;
    padding: 0 !important;

    float: none !important;

    overflow: hidden;

    border:
        1px solid
        var(--er-line) !important;

    border-radius:
        7px !important;

    background:
        #fff !important;

    box-shadow:
        none !important;

    transform:
        none !important;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}


body.er24-product-detail
.related.products
li.product:hover,

body.er24-product-detail
.up-sells
li.product:hover {

    border-color:
        #CBD6E5 !important;

    box-shadow:
        0 12px 30px
        rgba(32,41,56,.055) !important;

    transform:
        none !important;
}


/* RELATED BILDER */

body.er24-product-detail
.related.products
li.product img,

body.er24-product-detail
.up-sells
li.product img {

    display: block;

    width: 100% !important;
    height: auto !important;

    aspect-ratio:
        4 / 3;

    margin: 0 !important;

    object-fit:
        cover !important;

    background:
        var(--er-light);
}


/* RELATED TITEL */

body.er24-product-detail
.related.products
.woocommerce-loop-product__title,

body.er24-product-detail
.up-sells
.woocommerce-loop-product__title {

    min-height: 78px;

    margin: 0 !important;

    padding:
        18px
        18px
        8px !important;

    color:
        var(--er-text) !important;

    font-size:
        16px !important;

    line-height:
        1.4 !important;

    font-weight:
        560 !important;

    text-align:
        left !important;

    display:
        -webkit-box;

    -webkit-line-clamp:
        3;

    -webkit-box-orient:
        vertical;

    overflow:
        hidden;
}


/* Theme Pink etc. raus */

body.er24-product-detail
.related.products
li.product a,

body.er24-product-detail
.up-sells
li.product a {

    color:
        var(--er-text) !important;

    text-decoration:
        none !important;

    transform:
        none !important;
}


/* RELATED PREIS */

body.er24-product-detail
.related.products
li.product
.price,

body.er24-product-detail
.up-sells
li.product
.price {

    display: block !important;

    margin-top:
        auto !important;

    padding:
        3px
        18px
        17px !important;

    color:
        var(--er-text) !important;

    font-size:
        18px !important;

    font-weight:
        600 !important;
}


/* RELATED BUTTON */

body.er24-product-detail
.related.products
li.product
.button,

body.er24-product-detail
.up-sells
li.product
.button {

    width:
        calc(
            100% - 36px
        );

    min-height:
        44px;

    display:
        inline-flex !important;

    align-items:
        center;

    justify-content:
        center;

    margin:
        0
        18px
        18px !important;

    padding:
        0
        13px !important;

    border:
        1px solid
        var(--er-blue) !important;

    border-radius:
        5px !important;

    background:
        var(--er-blue) !important;

    color:
        #fff !important;

    font-size:
        13px !important;

    font-weight:
        600 !important;

    text-transform:
        none !important;

    text-decoration:
        none !important;

    box-shadow:
        none !important;

    transform:
        none !important;
}


body.er24-product-detail
.related.products
li.product
.button:hover,

body.er24-product-detail
.up-sells
li.product
.button:hover {

    background:
        var(--er-blue-dark) !important;

    border-color:
        var(--er-blue-dark) !important;

    color:
        #fff !important;

    transform:
        none !important;
}


body.er24-product-detail
.added_to_cart {

    display:
        none !important;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    body.er24-product-detail div.product,

    body.er24-product-detail
    .woocommerce-breadcrumb {

        width:
            calc(
                100vw - 40px
            ) !important;
    }


    body.er24-product-detail div.product
    div.images,

    body.er24-product-detail div.product
    .woocommerce-product-gallery {

        width:
            calc(
                52% - 15px
            ) !important;

        max-width:
            calc(
                52% - 15px
            ) !important;

        margin-right:
            30px !important;
    }


    body.er24-product-detail div.product
    div.summary,

    body.er24-product-detail div.product
    .summary.entry-summary {

        width:
            calc(
                48% - 15px
            ) !important;

        max-width:
            calc(
                48% - 15px
            ) !important;

        padding:
            24px !important;
    }


    body.er24-product-detail
    .woocommerce-product-gallery__image
    img {

        height:
            550px !important;
    }


    .er24pd-benefits {

        grid-template-columns:
            1fr;
    }


    body.er24-product-detail
    .related.products
    ul.products,

    body.er24-product-detail
    .up-sells
    ul.products {

        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            ) !important;
    }

}


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

@media (max-width: 767px) {

    body.er24-product-detail div.product,

    body.er24-product-detail
    .woocommerce-breadcrumb {

        width:
            calc(
                100vw - 32px
            ) !important;
    }


    body.er24-product-detail div.product
    div.images,

    body.er24-product-detail div.product
    .woocommerce-product-gallery,

    body.er24-product-detail div.product
    div.summary,

    body.er24-product-detail div.product
    .summary.entry-summary {

        width:
            100% !important;

        max-width:
            100% !important;

        float:
            none !important;

        clear:
            both !important;

        margin:
            0 !important;
    }


    body.er24-product-detail div.product
    div.summary,

    body.er24-product-detail div.product
    .summary.entry-summary {

        margin-top:
            25px !important;

        position:
            static;

        top:
            auto;

        padding:
            21px !important;
    }


    body.er24-product-detail
    .woocommerce-product-gallery__image
    img {

        height:
            auto !important;

        aspect-ratio:
            1 / 1;

        object-fit:
            contain !important;
    }


    body.er24-product-detail
    .flex-control-thumbs {

        grid-template-columns:
            repeat(
                4,
                minmax(0,1fr)
            );
    }


    body.er24-product-detail
    .product_title {

        font-size:
            30px !important;
    }


    .er24pd-benefits {

        grid-template-columns:
            1fr;
    }


    body.er24-product-detail
    .related.products
    ul.products,

    body.er24-product-detail
    .up-sells
    ul.products {

        grid-template-columns:
            1fr !important;
    }

}


/* =========================================================
   ER24 PRODUKTDETAIL V3.0.1
   VIEWPORT-ZENTRIERUNG
========================================================= */

/*
 * Hello Elementor hält den WooCommerce-Inhalt intern
 * weiterhin in einem schmaleren, zentrierten Parent.
 *
 * Die 1360px Breite stimmt bereits – sie muss nur
 * relativ zur Browsermitte statt zum Parent zentriert werden.
 */

body.er24-product-detail div.product {

    position: relative !important;

    left: 50% !important;

    width:
        min(
            1360px,
            calc(100vw - 50px)
        ) !important;

    max-width:
        1360px !important;

    margin-left:
        0 !important;

    margin-right:
        0 !important;

    transform:
        translateX(-50%) !important;
}


/* Breadcrumb exakt gleiche Flucht */

body.er24-product-detail
.woocommerce-breadcrumb {

    position: relative !important;

    left: 50% !important;

    width:
        min(
            1360px,
            calc(100vw - 50px)
        ) !important;

    max-width:
        1360px !important;

    margin-left:
        0 !important;

    margin-right:
        0 !important;

    transform:
        translateX(-50%) !important;
}


/* Tablet */

@media (max-width: 1050px) {

    body.er24-product-detail div.product,

    body.er24-product-detail
    .woocommerce-breadcrumb {

        width:
            calc(100vw - 40px)
            !important;
    }

}


/* Mobil */

@media (max-width: 767px) {

    body.er24-product-detail div.product,

    body.er24-product-detail
    .woocommerce-breadcrumb {

        width:
            calc(100vw - 32px)
            !important;
    }

}


/* =========================================================
   ER24 PRODUCT DETAIL V3.0.2
   FINAL MAX WIDTH 1350PX
========================================================= */


/* =========================================================
   HELLO ELEMENTOR PARENT FREIGEBEN
========================================================= */

body.er24-product-detail .site-main,
body.er24-product-detail main.site-main,
body.er24-product-detail #primary,
body.er24-product-detail .content-area,
body.er24-product-detail .site-content {

    width:100% !important;
    max-width:none !important;

    margin-left:auto !important;
    margin-right:auto !important;

    padding-left:0 !important;
    padding-right:0 !important;
}


/* =========================================================
   BREADCRUMB
========================================================= */

body.er24-product-detail
.woocommerce-breadcrumb {

    position:static !important;

    left:auto !important;

    width:min(1350px,calc(100% - 50px)) !important;
    max-width:1350px !important;

    margin:
        28px auto
        24px !important;

    transform:none !important;
}


/* =========================================================
   KOMPLETTER PRODUKTBEREICH
========================================================= */

body.er24-product-detail div.product {

    position:static !important;

    left:auto !important;

    width:min(1350px,calc(100% - 50px)) !important;
    max-width:1350px !important;

    margin:
        0 auto
        76px !important;

    transform:none !important;

    box-sizing:border-box !important;
}


/* =========================================================
   GALERIE / SUMMARY INNERHALB DER 1350PX
========================================================= */

body.er24-product-detail div.product
div.images,

body.er24-product-detail div.product
.woocommerce-product-gallery {

    width:calc(52% - 22px) !important;
    max-width:calc(52% - 22px) !important;

    margin:
        0
        44px
        0
        0 !important;

    float:left !important;
}


body.er24-product-detail div.product
div.summary,

body.er24-product-detail div.product
.summary.entry-summary {

    width:calc(48% - 22px) !important;
    max-width:calc(48% - 22px) !important;

    margin:0 !important;

    float:right !important;

    box-sizing:border-box !important;
}


/* =========================================================
   BILD NICHT ÜBER CONTAINER HINAUS
========================================================= */

body.er24-product-detail
.woocommerce-product-gallery,

body.er24-product-detail
.woocommerce-product-gallery__wrapper,

body.er24-product-detail
.woocommerce-product-gallery__image {

    max-width:100% !important;
}


body.er24-product-detail
.woocommerce-product-gallery__image img {

    width:100% !important;
    max-width:100% !important;

    height:auto !important;
    max-height:700px !important;

    object-fit:contain !important;
}


/* =========================================================
   TABS
========================================================= */

body.er24-product-detail div.product
> .woocommerce-tabs {

    width:100% !important;
    max-width:100% !important;

    clear:both !important;

    margin-left:0 !important;
    margin-right:0 !important;

    transform:none !important;
}


/* =========================================================
   RELATED / UPSELLS
========================================================= */

body.er24-product-detail div.product
> .related.products,

body.er24-product-detail div.product
> .up-sells {

    width:100% !important;
    max-width:100% !important;

    clear:both !important;

    margin-left:0 !important;
    margin-right:0 !important;

    transform:none !important;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width:1099px) {

    body.er24-product-detail
    .woocommerce-breadcrumb,

    body.er24-product-detail div.product {

        width:calc(100% - 32px) !important;
        max-width:1350px !important;
    }


    body.er24-product-detail div.product
    div.images,

    body.er24-product-detail div.product
    .woocommerce-product-gallery {

        width:calc(51% - 14px) !important;
        max-width:calc(51% - 14px) !important;

        margin-right:28px !important;
    }


    body.er24-product-detail div.product
    div.summary,

    body.er24-product-detail div.product
    .summary.entry-summary {

        width:calc(49% - 14px) !important;
        max-width:calc(49% - 14px) !important;
    }

}


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

@media (max-width:767px) {

    body.er24-product-detail
    .woocommerce-breadcrumb,

    body.er24-product-detail div.product {

        width:calc(100% - 32px) !important;
    }


    body.er24-product-detail div.product
    div.images,

    body.er24-product-detail div.product
    .woocommerce-product-gallery,

    body.er24-product-detail div.product
    div.summary,

    body.er24-product-detail div.product
    .summary.entry-summary {

        width:100% !important;
        max-width:100% !important;

        float:none !important;

        margin-left:0 !important;
        margin-right:0 !important;
    }


    body.er24-product-detail div.product
    div.summary,

    body.er24-product-detail div.product
    .summary.entry-summary {

        margin-top:24px !important;
    }

}


/* =========================================================
   ER24 PRODUCT DETAIL V3.0.4
   HAUPTBILD FÜLLT BOX KOMPLETT
========================================================= */

body.er24-product-detail
.woocommerce-product-gallery__image {

    width:100% !important;

    height:700px !important;

    overflow:hidden !important;

    background:#F7F9FC !important;
}


body.er24-product-detail
.woocommerce-product-gallery__image > a {

    display:block !important;

    width:100% !important;
    height:100% !important;
}


body.er24-product-detail
.woocommerce-product-gallery__image img {

    display:block !important;

    width:100% !important;
    height:100% !important;

    max-width:none !important;
    max-height:none !important;

    margin:0 !important;

    object-fit:cover !important;
    object-position:center center !important;
}


/* Tablet */

@media (max-width:1099px) {

    body.er24-product-detail
    .woocommerce-product-gallery__image {

        height:580px !important;
    }

}


/* Mobile */

@media (max-width:767px) {

    body.er24-product-detail
    .woocommerce-product-gallery__image {

        height:auto !important;

        aspect-ratio:1 / 1 !important;
    }


    body.er24-product-detail
    .woocommerce-product-gallery__image img {

        width:100% !important;
        height:100% !important;

        object-fit:cover !important;
    }

}


/* =========================================================
   ER24 PRODUCT DETAIL V3.0.5
   SUMMARY MITTIG + NICHT STICKY
========================================================= */

@media (min-width:768px) {

    body.er24-product-detail
    div.product {

        display:grid !important;

        grid-template-columns:
            minmax(0,1.08fr)
            minmax(0,.92fr) !important;

        column-gap:44px !important;

        align-items:start !important;
    }


    /* WooCommerce Clearfix darf keinen Grid-Platz belegen */

    body.er24-product-detail
    div.product::before,

    body.er24-product-detail
    div.product::after {

        display:none !important;
        content:none !important;
    }


    /* =====================================================
       GALERIE LINKS
    ===================================================== */

    body.er24-product-detail
    div.product
    > .woocommerce-product-gallery,

    body.er24-product-detail
    div.product
    > div.images {

        grid-column:1 !important;
        grid-row:1 !important;

        width:100% !important;
        max-width:100% !important;

        margin:0 !important;

        float:none !important;

        align-self:start !important;
    }


    /* =====================================================
       RECHTE BOX MITTIG
    ===================================================== */

    body.er24-product-detail
    div.product
    > .summary.entry-summary,

    body.er24-product-detail
    div.product
    > div.summary {

        grid-column:2 !important;
        grid-row:1 !important;

        width:100% !important;
        max-width:100% !important;

        margin:0 !important;

        float:none !important;

        position:static !important;
        top:auto !important;

        align-self:center !important;

        transform:none !important;
    }


    /* =====================================================
       TABS DANACH ÜBER VOLLE BREITE
    ===================================================== */

    body.er24-product-detail
    div.product
    > .woocommerce-tabs {

        grid-column:1 / -1 !important;
        grid-row:2 !important;

        width:100% !important;

        margin-top:54px !important;
    }


    /* =====================================================
       RELATED / UPSELLS
    ===================================================== */

    body.er24-product-detail
    div.product
    > .related.products,

    body.er24-product-detail
    div.product
    > .up-sells {

        grid-column:1 / -1 !important;

        width:100% !important;
    }

}


/* =========================================================
   MOBILE WIEDER NORMAL UNTEREINANDER
========================================================= */

@media (max-width:767px) {

    body.er24-product-detail
    div.product {

        display:block !important;
    }


    body.er24-product-detail
    div.product
    > .summary.entry-summary,

    body.er24-product-detail
    div.product
    > div.summary {

        position:static !important;

        width:100% !important;

        margin-top:24px !important;
    }

}


/* =========================================================
   ER24 PRODUCT DETAIL V3.0.6
   SUMMARY OBEN + LUPE ZENTRIERT
========================================================= */


/* =========================================================
   RECHTE PRODUKTBOX OBEN BÜNDIG
========================================================= */

@media (min-width:768px) {

    body.er24-product-detail
    div.product
    > .summary.entry-summary,

    body.er24-product-detail
    div.product
    > div.summary {

        align-self:start !important;

        position:static !important;
        top:auto !important;

        margin-top:0 !important;

        transform:none !important;
    }

}


/* =========================================================
   ZOOM-BUTTON / LUPE EXAKT ZENTRIEREN
========================================================= */

body.er24-product-detail
.woocommerce-product-gallery__trigger {

    width:44px !important;
    height:44px !important;

    top:14px !important;
    right:14px !important;

    display:flex !important;

    align-items:center !important;
    justify-content:center !important;

    padding:0 !important;
    margin:0 !important;

    border:1px solid var(--er-line) !important;
    border-radius:5px !important;

    background:#fff !important;

    line-height:1 !important;

    text-indent:0 !important;

    box-sizing:border-box !important;
}


/* WooCommerce Lupen-Kreis */

body.er24-product-detail
.woocommerce-product-gallery__trigger::before {

    position:absolute !important;

    top:50% !important;
    left:50% !important;

    width:13px !important;
    height:13px !important;

    margin:0 !important;

    border:2px solid #202938 !important;
    border-radius:50% !important;

    transform:
        translate(-58%,-58%) !important;

    box-sizing:border-box !important;
}


/* Lupen-Griff */

body.er24-product-detail
.woocommerce-product-gallery__trigger::after {

    position:absolute !important;

    top:50% !important;
    left:50% !important;

    width:7px !important;
    height:2px !important;

    margin:0 !important;

    border:0 !important;

    border-radius:2px !important;

    background:#202938 !important;

    transform:
        translate(2px,5px)
        rotate(45deg) !important;

    transform-origin:center !important;
}


/* eventuell vorhandenes Woo-Icon ausblenden */

body.er24-product-detail
.woocommerce-product-gallery__trigger
img,

body.er24-product-detail
.woocommerce-product-gallery__trigger
svg {

    display:none !important;
}



/* =========================================================
   ER24 PRODUCT DETAIL V3.0.7
   FLEXSLIDER FIX – NÄCHSTE BILDER NICHT MEHR WEISS
========================================================= */

/*
 * WICHTIG:
 * FlexSlider setzt für jeden Slide eine eigene Pixelbreite.
 * Diese Breite darf NICHT mit width:100% !important
 * überschrieben werden.
 */

body.er24-product-detail
.woocommerce-product-gallery
.flex-viewport {

    height:700px !important;

    overflow:hidden !important;

    background:#F7F9FC !important;
}


/* Slide-Breite wieder FlexSlider überlassen */

body.er24-product-detail
.woocommerce-product-gallery__image {

    width:auto !important;

    height:700px !important;

    max-width:none !important;

    margin:0 !important;

    overflow:hidden !important;

    background:#F7F9FC !important;
}


/* Link füllt den jeweiligen Slide */

body.er24-product-detail
.woocommerce-product-gallery__image > a {

    display:block !important;

    width:100% !important;
    height:100% !important;
}


/* Bild füllt den Slide komplett */

body.er24-product-detail
.woocommerce-product-gallery__image img {

    display:block !important;

    width:100% !important;
    height:100% !important;

    max-width:none !important;
    max-height:none !important;

    margin:0 !important;

    object-fit:cover !important;
    object-position:center center !important;
}


/* FlexSlider Wrapper nicht manipulieren */

body.er24-product-detail
.woocommerce-product-gallery__wrapper {

    max-width:none !important;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width:1099px) {

    body.er24-product-detail
    .woocommerce-product-gallery
    .flex-viewport,

    body.er24-product-detail
    .woocommerce-product-gallery__image {

        height:580px !important;
    }

}


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

@media (max-width:767px) {

    body.er24-product-detail
    .woocommerce-product-gallery
    .flex-viewport {

        height:auto !important;

        aspect-ratio:1 / 1 !important;
    }


    body.er24-product-detail
    .woocommerce-product-gallery__image {

        height:100% !important;
    }


    body.er24-product-detail
    .woocommerce-product-gallery__image img {

        object-fit:cover !important;
    }

}



/* =========================================================
   ER24 PRODUCT DETAIL V3.0.8
   STABILE PRODUKTGALERIE OHNE FLEXSLIDER-VERSCHIEBUNG
========================================================= */


/* =========================================================
   VIEWPORT FEST
========================================================= */

body.er24-product-detail
.woocommerce-product-gallery
.flex-viewport {

    width:100% !important;
    height:700px !important;

    overflow:hidden !important;

    background:#F7F9FC !important;

    border-radius:7px !important;
}


/* =========================================================
   FLEXSLIDER WRAPPER NICHT MEHR VERSCHIEBEN
========================================================= */

body.er24-product-detail
.woocommerce-product-gallery
.woocommerce-product-gallery__wrapper {

    width:100% !important;
    height:700px !important;

    margin:0 !important;

    transform:none !important;
    transition:none !important;

    display:block !important;
}


/* =========================================================
   ALLE SLIDES VERSTECKEN
========================================================= */

body.er24-product-detail
.woocommerce-product-gallery
.woocommerce-product-gallery__image {

    display:none !important;

    width:100% !important;
    height:700px !important;

    max-width:100% !important;

    margin:0 !important;

    float:none !important;

    overflow:hidden !important;

    background:#F7F9FC !important;
}


/* =========================================================
   ERSTEN SLIDE ALS FESTE HAUPTBILDFLÄCHE VERWENDEN
========================================================= */

body.er24-product-detail
.woocommerce-product-gallery
.woocommerce-product-gallery__image:first-child {

    display:block !important;
}


/* =========================================================
   HAUPTBILD FÜLLT DIE BOX IMMER KOMPLETT
========================================================= */

body.er24-product-detail
.woocommerce-product-gallery
.woocommerce-product-gallery__image:first-child > a {

    display:block !important;

    width:100% !important;
    height:100% !important;
}


body.er24-product-detail
.woocommerce-product-gallery
.woocommerce-product-gallery__image:first-child img {

    display:block !important;

    width:100% !important;
    height:100% !important;

    max-width:none !important;
    max-height:none !important;

    margin:0 !important;

    object-fit:cover !important;
    object-position:center center !important;
}


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

body.er24-product-detail
.flex-control-thumbs img {

    cursor:pointer !important;
}


body.er24-product-detail
.flex-control-thumbs img.flex-active {

    opacity:1 !important;

    border-color:#5878B5 !important;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width:1099px) {

    body.er24-product-detail
    .woocommerce-product-gallery
    .flex-viewport,

    body.er24-product-detail
    .woocommerce-product-gallery
    .woocommerce-product-gallery__wrapper,

    body.er24-product-detail
    .woocommerce-product-gallery
    .woocommerce-product-gallery__image {

        height:580px !important;
    }

}


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

@media (max-width:767px) {

    body.er24-product-detail
    .woocommerce-product-gallery
    .flex-viewport,

    body.er24-product-detail
    .woocommerce-product-gallery
    .woocommerce-product-gallery__wrapper,

    body.er24-product-detail
    .woocommerce-product-gallery
    .woocommerce-product-gallery__image {

        height:auto !important;

        aspect-ratio:1 / 1 !important;
    }


    body.er24-product-detail
    .woocommerce-product-gallery
    .woocommerce-product-gallery__image:first-child img {

        position:absolute !important;

        inset:0 !important;

        width:100% !important;
        height:100% !important;

        object-fit:cover !important;
    }


    body.er24-product-detail
    .woocommerce-product-gallery
    .woocommerce-product-gallery__image:first-child {

        position:relative !important;
    }

}



/* =========================================================
   ER24 PRODUCT DETAIL V3.0.10
   ÄHNLICHE PRODUKTE – GRID + KARTEN FINAL
========================================================= */


/* =========================================================
   WOO CLEARFIX DARF KEINE LEERE GRID-KACHEL ERZEUGEN
========================================================= */

body.er24-product-detail
.related.products
ul.products::before,

body.er24-product-detail
.related.products
ul.products::after,

body.er24-product-detail
.up-sells
ul.products::before,

body.er24-product-detail
.up-sells
ul.products::after {

    display:none !important;
    content:none !important;
}


/* =========================================================
   IMMER 4 SAUBERE KARTEN PRO REIHE
========================================================= */

body.er24-product-detail
.related.products
ul.products,

body.er24-product-detail
.up-sells
ul.products {

    display:grid !important;

    grid-template-columns:
        repeat(4,minmax(0,1fr)) !important;

    grid-auto-flow:row !important;

    gap:20px !important;

    width:100% !important;

    margin:0 !important;
    padding:0 !important;
}


body.er24-product-detail
.related.products
ul.products
li.product,

body.er24-product-detail
.up-sells
ul.products
li.product {

    grid-column:auto !important;

    width:100% !important;
    max-width:none !important;

    margin:0 !important;

    float:none !important;

    display:flex !important;
    flex-direction:column !important;

    overflow:hidden;

    border:1px solid var(--er-line) !important;
    border-radius:7px !important;

    background:#fff !important;
}


/* =========================================================
   PRODUKTBILD
========================================================= */

body.er24-product-detail
.related.products
li.product img,

body.er24-product-detail
.up-sells
li.product img {

    width:100% !important;

    aspect-ratio:4 / 3 !important;

    object-fit:cover !important;

    margin:0 !important;
}


/* =========================================================
   KATEGORIE "EICHENBRETTER"
   NICHT MEHR GANZ LINKS AM RAND
========================================================= */

body.er24-product-detail
.related.products
.er24sa-category,

body.er24-product-detail
.up-sells
.er24sa-category {

    margin:0 !important;

    padding:
        16px
        16px
        5px !important;

    color:var(--er-blue) !important;

    font-size:10px !important;
    line-height:1.3 !important;

    font-weight:700 !important;

    letter-spacing:.05em !important;

    text-transform:uppercase !important;
}


/* =========================================================
   TITEL
========================================================= */

body.er24-product-detail
.related.products
.woocommerce-loop-product__title,

body.er24-product-detail
.up-sells
.woocommerce-loop-product__title {

    min-height:76px !important;

    padding:
        3px
        16px
        8px !important;

    margin:0 !important;

    font-size:16px !important;
    line-height:1.38 !important;

    color:var(--er-text) !important;

    font-weight:560 !important;
}


/* =========================================================
   PREIS
========================================================= */

body.er24-product-detail
.related.products
li.product
.price,

body.er24-product-detail
.up-sells
li.product
.price {

    margin-top:auto !important;

    padding:
        4px
        16px
        16px !important;

    color:var(--er-text) !important;

    font-size:18px !important;

    font-weight:650 !important;
}


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

body.er24-product-detail
.related.products
li.product
.button,

body.er24-product-detail
.up-sells
li.product
.button {

    width:calc(100% - 32px) !important;

    min-height:46px !important;

    margin:
        0
        16px
        16px !important;

    display:flex !important;

    align-items:center !important;
    justify-content:center !important;

    border:1px solid var(--er-blue) !important;
    border-radius:5px !important;

    background:var(--er-blue) !important;

    color:#fff !important;

    font-size:13px !important;

    font-weight:650 !important;

    transform:none !important;
}


body.er24-product-detail
.related.products
li.product
.button:hover,

body.er24-product-detail
.up-sells
li.product
.button:hover {

    background:var(--er-blue-dark) !important;

    border-color:var(--er-blue-dark) !important;

    transform:none !important;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width:1099px) {

    body.er24-product-detail
    .related.products
    ul.products,

    body.er24-product-detail
    .up-sells
    ul.products {

        grid-template-columns:
            repeat(2,minmax(0,1fr)) !important;
    }

}


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

@media (max-width:767px) {

    body.er24-product-detail
    .related.products
    ul.products,

    body.er24-product-detail
    .up-sells
    ul.products {

        grid-template-columns:
            1fr !important;
    }

}



/* =========================================================
   ER24 PRODUCT DETAIL V3.0.11
   WARENKORB-ERFOLGSMELDUNG
========================================================= */

body.er24-product-detail
.woocommerce-message {

    width:
        min(
            1350px,
            calc(100% - 50px)
        ) !important;

    max-width:
        1350px !important;

    min-height:
        58px;

    margin:
        20px
        auto
        30px !important;

    padding:
        16px
        190px
        16px
        48px !important;

    box-sizing:
        border-box !important;

    position:
        relative;

    border:
        1px solid
        #DCE4EF !important;

    border-top:
        1px solid
        #DCE4EF !important;

    border-radius:
        7px !important;

    background:
        #EDF3FC !important;

    color:
        #202938 !important;

    font-size:
        14px !important;

    line-height:
        1.5 !important;

    box-shadow:
        none !important;
}


/* =========================================================
   GRÜNES WOOCOMMERCE ICON → BLAU
========================================================= */

body.er24-product-detail
.woocommerce-message::before {

    top:
        50% !important;

    left:
        18px !important;

    color:
        #5878B5 !important;

    transform:
        translateY(-50%);

}


/* WooCommerce grünen Rand sicher neutralisieren */

body.er24-product-detail
.woocommerce-message::after {

    display:
        none !important;

    content:
        none !important;
}


/* =========================================================
   "WARENKORB ANZEIGEN" BUTTON
========================================================= */

body.er24-product-detail
.woocommerce-message
.button {

    position:
        absolute !important;

    top:
        50% !important;

    right:
        14px !important;

    min-height:
        40px !important;

    display:
        inline-flex !important;

    align-items:
        center !important;

    justify-content:
        center !important;

    margin:
        0 !important;

    padding:
        0
        18px !important;

    border:
        1px solid
        #5878B5 !important;

    border-radius:
        5px !important;

    background:
        #5878B5 !important;

    color:
        #fff !important;

    font-size:
        13px !important;

    font-weight:
        650 !important;

    text-decoration:
        none !important;

    box-shadow:
        none !important;

    transform:
        translateY(-50%) !important;
}


body.er24-product-detail
.woocommerce-message
.button:hover {

    border-color:
        #45659F !important;

    background:
        #45659F !important;

    color:
        #fff !important;

    transform:
        translateY(-50%) !important;
}


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

@media (max-width:767px) {

    body.er24-product-detail
    .woocommerce-message {

        width:
            calc(100% - 32px) !important;

        margin:
            16px
            auto
            24px !important;

        padding:
            15px
            16px
            15px
            44px !important;
    }


    body.er24-product-detail
    .woocommerce-message
    .button {

        position:
            static !important;

        width:
            100% !important;

        margin-top:
            12px !important;

        transform:
            none !important;
    }


    body.er24-product-detail
    .woocommerce-message
    .button:hover {

        transform:
            none !important;
    }

}


/* =========================================================
   ER24 PRODUCT DETAIL V3.0.12
   VORTEILE RAUS + MWST
========================================================= */


/* =========================================================
   DIE DREI VORTEILSBOXEN KOMPLETT AUSBLENDEN
========================================================= */

body.er24-product-detail
.er24pd-benefits {

    display:none !important;

    margin:0 !important;
    padding:0 !important;
}


/* =========================================================
   MWST DIREKT UNTER PREIS
========================================================= */

body.er24-product-detail
.er24pd-tax-info {

    margin:
        -8px
        0
        18px !important;

    color:
        var(--er-muted) !important;

    font-size:
        12px !important;

    line-height:
        1.45 !important;

    font-weight:
        400 !important;
}



/* =========================================================
   ER24 PRODUCT DETAIL V3.0.13
   ARTIKELNUMMER + LIEFERZEIT
========================================================= */

body.er24-product-detail
.er24pd-product-info {

    display:grid;

    grid-template-columns:
        auto
        minmax(180px,1fr);

    gap:12px;

    align-items:stretch;

    margin:
        18px
        0
        4px !important;
}


/* =========================================================
   ARTIKELNUMMER
========================================================= */

body.er24-product-detail
.er24pd-product-info__number {

    min-width:120px;

    display:flex;

    align-items:center;

    gap:8px;

    padding:
        12px
        14px;

    border:
        1px solid
        var(--er-line);

    border-radius:
        5px;

    background:
        #fff;

    color:
        var(--er-text);

    font-size:
        13px;
}


body.er24-product-detail
.er24pd-product-info__label {

    color:
        var(--er-muted);

    font-weight:
        500;
}


body.er24-product-detail
.er24pd-product-info__number strong {

    color:
        var(--er-text);

    font-weight:
        650;
}


/* =========================================================
   LIEFERZEIT
========================================================= */

body.er24-product-detail
.er24pd-delivery {

    min-width:0;

    display:flex;

    align-items:center;

    gap:10px;

    padding:
        10px
        13px;

    border-radius:
        5px;

    background:
        var(--er-blue-soft);
}


body.er24-product-detail
.er24pd-delivery__icon {

    width:32px;
    height:32px;

    flex:
        0 0 32px;

    display:inline-flex;

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

    border-radius:
        4px;

    background:
        #fff;

    color:
        var(--er-blue);

    font-size:
        13px;
}


body.er24-product-detail
.er24pd-delivery__text {

    min-width:0;

    display:block;
}


body.er24-product-detail
.er24pd-delivery__text strong {

    display:block;

    color:
        var(--er-text);

    font-size:
        12px;

    line-height:
        1.3;

    font-weight:
        650;
}


body.er24-product-detail
.er24pd-delivery__text small {

    display:block;

    margin-top:
        2px;

    color:
        var(--er-muted);

    font-size:
        11px;

    line-height:
        1.3;
}


/* =========================================================
   ALTE DOPPELTE ARTIKELNUMMER UNTEN AUSBLENDEN
   KATEGORIE BLEIBT SICHTBAR
========================================================= */

body.er24-product-detail
.product_meta
.sku_wrapper {

    display:none !important;
}


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

@media (max-width:767px) {

    body.er24-product-detail
    .er24pd-product-info {

        grid-template-columns:
            1fr;

        gap:
            8px;
    }


    body.er24-product-detail
    .er24pd-product-info__number {

        min-width:
            0;
    }

}



/* =========================================================
   ER24 PRODUCT DETAIL V3.0.14
   BESTANDSMENGE AUSBLENDEN
========================================================= */

/* "978 vorrätig" usw. komplett ausblenden */

body.er24-product-detail
.stock.in-stock {

    display:none !important;
}


/* Ausverkauft darf weiterhin sichtbar sein */

body.er24-product-detail
.stock.out-of-stock {

    display:block !important;
}

