
body.er24-shop-archive {
    --er-blue:#5878B5;
    --er-blue-dark:#45659F;
    --er-blue-soft:#EDF3FC;
    --er-text:#202938;
    --er-muted:#667286;
    --er-line:#DCE4EF;
    --er-light:#F7F9FC;
}

body.er24-shop-archive:not([class*="elementor-page-"]) .site-main,
body.er24-shop-archive .site-main,
body.er24-shop-archive main.site-main {
    width:min(1360px,calc(100% - 50px)) !important;
    max-width:1360px !important;
    margin:0 auto !important;
    padding:30px 0 78px !important;
    float:none !important;
}

body.er24-shop-archive #primary,
body.er24-shop-archive .content-area {
    width:100% !important;
    max-width:none !important;
    float:none !important;
}

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

body.er24-shop-archive .woocommerce-breadcrumb {
    margin:0 0 22px !important;
    color:var(--er-muted) !important;
    font-size:12px !important;
    line-height:1.5 !important;
}

body.er24-shop-archive .woocommerce-breadcrumb a {
    color:var(--er-blue) !important;
    text-decoration:none !important;
}

body.er24-shop-archive .woocommerce-products-header {
    margin:0 0 15px !important;
}

body.er24-shop-archive .woocommerce-products-header__title,
body.er24-shop-archive h1.page-title {
    margin:0 0 14px !important;
    color:var(--er-text) !important;
    font-size:clamp(36px,3vw,50px) !important;
    line-height:1.08 !important;
    font-weight:560 !important;
    letter-spacing:-.035em !important;
}

body.er24-shop-archive .woocommerce-result-count {
    margin:10px 0 28px !important;
    color:var(--er-muted) !important;
    font-size:14px !important;
    line-height:48px !important;
}

body.er24-shop-archive .woocommerce-ordering {
    margin:10px 0 28px !important;
}

body.er24-shop-archive .woocommerce-ordering select {
    min-width:300px;
    height:48px;
    padding:0 42px 0 14px;
    border:1px solid var(--er-line) !important;
    border-radius:5px !important;
    background:#fff !important;
    color:var(--er-text) !important;
    font-size:14px !important;
    box-shadow:none !important;
    outline:none !important;
}

body.er24-shop-archive .woocommerce-ordering select:focus {
    border-color:var(--er-blue) !important;
}

body.er24-shop-archive ul.products {
    clear:both !important;
    display:grid !important;
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:22px !important;
    width:100% !important;
    margin:0 !important;
    padding:0 !important;
}

body.er24-shop-archive ul.products li.product {
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    display:flex !important;
    flex-direction:column !important;
    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-shop-archive ul.products li.product:hover {
    border-color:#CBD6E5 !important;
    box-shadow:0 12px 30px rgba(32,41,56,.055) !important;
    transform:none !important;
}

body.er24-shop-archive ul.products li.product .woocommerce-LoopProduct-link {
    flex:1;
    display:flex !important;
    flex-direction:column !important;
    color:var(--er-text) !important;
    text-decoration:none !important;
}

body.er24-shop-archive ul.products li.product img {
    display:block !important;
    width:100% !important;
    height:auto !important;
    aspect-ratio:1/1;
    margin:0 !important;
    object-fit:cover !important;
    object-position:center !important;
    background:var(--er-light) !important;
    transition:transform .4s ease;
}

body.er24-shop-archive ul.products li.product:hover img {
    transform:scale(1.025);
}

body.er24-shop-archive .er24sa-category {
    margin:18px 18px 5px !important;
    color:var(--er-blue) !important;
    font-size:11px !important;
    line-height:1.3 !important;
    font-weight:650 !important;
    text-transform:uppercase;
    letter-spacing:.045em;
}

body.er24-shop-archive .woocommerce-loop-product__title {
    min-height:76px;
    margin:0 !important;
    padding:2px 18px 8px !important;
    color:var(--er-text) !important;
    font-size:17px !important;
    line-height:1.38 !important;
    font-weight:560 !important;
    letter-spacing:-.015em !important;
    text-align:left !important;
    display:-webkit-box !important;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

body.er24-shop-archive ul.products li.product a {
    color:var(--er-text) !important;
    text-decoration:none !important;
}

body.er24-shop-archive ul.products li.product .price {
    display:block !important;
    margin-top:auto !important;
    padding:3px 18px 18px !important;
    color:var(--er-text) !important;
    font-size:19px !important;
    line-height:1.2 !important;
    font-weight:600 !important;
}

body.er24-shop-archive ul.products li.product .price .amount {
    color:var(--er-text) !important;
}

body.er24-shop-archive ul.products li.product .price del {
    color:#9BA5B3 !important;
    font-size:13px !important;
}

body.er24-shop-archive ul.products li.product .price ins {
    color:var(--er-blue-dark) !important;
    text-decoration:none !important;
}

body.er24-shop-archive ul.products li.product .button {
    width:calc(100% - 36px) !important;
    min-height:46px !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    margin:0 18px 18px !important;
    padding:0 14px !important;
    border:1px solid var(--er-blue) !important;
    border-radius:5px !important;
    background:var(--er-blue) !important;
    color:#fff !important;
    font-size:13px !important;
    line-height:1 !important;
    font-weight:600 !important;
    text-transform:none !important;
    text-decoration:none !important;
    box-shadow:none !important;
    transform:none !important;
    transition:background-color .2s ease,border-color .2s ease;
}

body.er24-shop-archive ul.products li.product .button:hover {
    border-color:var(--er-blue-dark) !important;
    background:var(--er-blue-dark) !important;
    color:#fff !important;
    transform:none !important;
}

body.er24-shop-archive .added_to_cart {
    display:none !important;
}

body.er24-shop-archive .onsale {
    top:12px !important;
    left:12px !important;
    right:auto !important;
    min-width:auto !important;
    min-height:auto !important;
    margin:0 !important;
    padding:7px 10px !important;
    border-radius:4px !important;
    background:var(--er-blue) !important;
    color:#fff !important;
    font-size:10px !important;
    line-height:1 !important;
    font-weight:650 !important;
}

body.er24-shop-archive .woocommerce-pagination {
    margin-top:48px !important;
}

body.er24-shop-archive .woocommerce-pagination ul.page-numbers {
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:7px !important;
    border:0 !important;
}

body.er24-shop-archive .woocommerce-pagination ul.page-numbers li {
    border:0 !important;
}

body.er24-shop-archive .woocommerce-pagination .page-numbers li a,
body.er24-shop-archive .woocommerce-pagination .page-numbers li span {
    min-width:42px;
    height:42px;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    padding:0 10px !important;
    border:1px solid var(--er-line) !important;
    border-radius:5px !important;
    background:#fff !important;
    color:var(--er-text) !important;
    font-size:13px !important;
    text-decoration:none !important;
}

body.er24-shop-archive .woocommerce-pagination .page-numbers .current {
    border-color:var(--er-blue) !important;
    background:var(--er-blue) !important;
    color:#fff !important;
}

@media (max-width:1099px) {
    body.er24-shop-archive:not([class*="elementor-page-"]) .site-main,
    body.er24-shop-archive .site-main,
    body.er24-shop-archive main.site-main {
        width:calc(100% - 32px) !important;
    }

    body.er24-shop-archive ul.products {
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    }
}

@media (max-width:767px) {
    body.er24-shop-archive .woocommerce-products-header__title,
    body.er24-shop-archive h1.page-title {
        font-size:34px !important;
    }

    body.er24-shop-archive .woocommerce-result-count,
    body.er24-shop-archive .woocommerce-ordering {
        width:100% !important;
        float:none !important;
        margin:0 0 14px !important;
    }

    body.er24-shop-archive .woocommerce-result-count {
        line-height:1.5 !important;
    }

    body.er24-shop-archive .woocommerce-ordering select {
        width:100% !important;
        min-width:0 !important;
    }

    body.er24-shop-archive ul.products {
        grid-template-columns:1fr !important;
        gap:16px !important;
    }

    body.er24-shop-archive .woocommerce-loop-product__title {
        min-height:0 !important;
        font-size:20px !important;
    }

    body.er24-shop-archive ul.products li.product .button {
        min-height:50px !important;
        font-size:15px !important;
    }
}


/* =========================================================
   ER24 SHOP ARCHIVE V1.1.0
   FINAL CARD DESIGN
========================================================= */


/* =========================================================
   GRID ETWAS LUFTIGER
========================================================= */

body.er24-shop-archive ul.products {

    gap:
        24px !important;
}


/* =========================================================
   ECHTE PRODUKTKARTE
========================================================= */

body.er24-shop-archive ul.products
li.product {

    position:
        relative !important;

    display:
        flex !important;

    flex-direction:
        column !important;

    height:
        100% !important;

    overflow:
        hidden !important;

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

    border-radius:
        8px !important;

    background:
        #fff !important;

    box-shadow:
        0 6px 22px
        rgba(32,41,56,.045) !important;

    transform:
        none !important;
}


/* KEIN HOVER-LIFT */

body.er24-shop-archive ul.products
li.product:hover {

    border-color:
        #C8D4E5 !important;

    box-shadow:
        0 10px 28px
        rgba(32,41,56,.075) !important;

    transform:
        none !important;
}


/* =========================================================
   PRODUKTLINK = INHALTSBEREICH DER KARTE
========================================================= */

body.er24-shop-archive ul.products
li.product
a.woocommerce-LoopProduct-link {

    width:
        100% !important;

    flex:
        1 1 auto !important;

    display:
        flex !important;

    flex-direction:
        column !important;

    margin:
        0 !important;

    padding:
        0 !important;

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

    background:
        #fff !important;

    text-decoration:
        none !important;
}


/* =========================================================
   BILD
========================================================= */

body.er24-shop-archive ul.products
li.product
a.woocommerce-LoopProduct-link
img {

    width:
        100% !important;

    height:
        auto !important;

    aspect-ratio:
        1 / 1 !important;

    display:
        block !important;

    margin:
        0 !important;

    object-fit:
        cover !important;

    border-radius:
        0 !important;

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


/* =========================================================
   KATEGORIE
========================================================= */

body.er24-shop-archive ul.products
li.product
.er24sa-category {

    margin:
        0 !important;

    padding:
        18px
        18px
        5px !important;

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

    font-size:
        10px !important;

    line-height:
        1.3 !important;

    font-weight:
        700 !important;

    letter-spacing:
        .055em !important;

    text-transform:
        uppercase !important;
}


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

body.er24-shop-archive ul.products
li.product
.woocommerce-loop-product__title {

    min-height:
        82px !important;

    margin:
        0 !important;

    padding:
        4px
        18px
        10px !important;

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

    font-size:
        17px !important;

    line-height:
        1.38 !important;

    font-weight:
        560 !important;

    letter-spacing:
        -.015em !important;

    text-align:
        left !important;

    display:
        -webkit-box !important;

    -webkit-line-clamp:
        3;

    -webkit-box-orient:
        vertical;

    overflow:
        hidden !important;
}


/* =========================================================
   PREIS IMMER SAUBER UNTEN
========================================================= */

body.er24-shop-archive ul.products
li.product
.price {

    width:
        100% !important;

    display:
        block !important;

    margin-top:
        auto !important;

    margin-bottom:
        0 !important;

    padding:
        4px
        18px
        18px !important;

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

    font-size:
        18px !important;

    line-height:
        1.2 !important;

    font-weight:
        650 !important;
}


body.er24-shop-archive ul.products
li.product
.price
.amount {

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


/* =========================================================
   BUTTON – VOLLE BREITE UNTEN IN DER KARTE
========================================================= */

body.er24-shop-archive ul.products
li.product
a.button,

body.er24-shop-archive ul.products
li.product
button.button {

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

    min-width:
        0 !important;

    min-height:
        48px !important;

    display:
        flex !important;

    align-items:
        center !important;

    justify-content:
        center !important;

    margin:
        0
        18px
        18px !important;

    padding:
        0
        16px !important;

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

    border-radius:
        5px !important;

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

    background-image:
        none !important;

    color:
        #fff !important;

    font-family:
        inherit !important;

    font-size:
        14px !important;

    line-height:
        1 !important;

    font-weight:
        650 !important;

    text-align:
        center !important;

    text-transform:
        none !important;

    text-decoration:
        none !important;

    box-shadow:
        none !important;

    transform:
        none !important;

    opacity:
        1 !important;
}


body.er24-shop-archive ul.products
li.product
a.button:hover,

body.er24-shop-archive ul.products
li.product
button.button:hover {

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

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

    background-image:
        none !important;

    color:
        #fff !important;

    transform:
        none !important;
}


/* =========================================================
   WOOCOMMERCE DEFAULT-FARBEN RADIKAL RAUS
========================================================= */

body.er24-shop-archive ul.products
li.product
a,

body.er24-shop-archive ul.products
li.product
a:visited {

    text-decoration:
        none !important;
}


body.er24-shop-archive ul.products
li.product
.woocommerce-loop-product__title,

body.er24-shop-archive ul.products
li.product
.price,

body.er24-shop-archive ul.products
li.product
.price span,

body.er24-shop-archive ul.products
li.product
.price bdi {

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


/* =========================================================
   SALE BADGE
========================================================= */

body.er24-shop-archive ul.products
li.product
.onsale {

    top:
        12px !important;

    left:
        12px !important;

    right:
        auto !important;

    z-index:
        5;

    padding:
        7px
        10px !important;

    border-radius:
        4px !important;

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

    color:
        #fff !important;

    font-size:
        10px !important;

    font-weight:
        700 !important;
}


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

@media (max-width:767px) {

    body.er24-shop-archive ul.products
    li.product
    .woocommerce-loop-product__title {

        min-height:
            0 !important;

        font-size:
            20px !important;
    }


    body.er24-shop-archive ul.products
    li.product
    a.button {

        min-height:
            52px !important;

        font-size:
            15px !important;
    }

}


/* =========================================================
   ER24 SHOP ARCHIVE V1.1.2
   WOOCOMMERCE GRID CLEARFIX FIX
========================================================= */

body.er24-shop-archive
ul.products::before,

body.er24-shop-archive
ul.products::after {

    display: none !important;

    content: none !important;
}


/* Grid sicher ab Spalte 1 starten */

body.er24-shop-archive
ul.products {

    grid-auto-flow: row !important;
}


body.er24-shop-archive
ul.products
li.product {

    grid-column: auto !important;
}

