/*
=========================================================
QUEEN DIAMOND – SALE V1.1 CLEAN REFINED
Global category polish + Recently Viewed Slider styling
Magento 1 / le-santana
=========================================================
*/

/* ======================================================
   1) CATEGORY HEADING / SALE-KACHEL
   Gilt bewusst für alle Kategorie-Seiten.
   ====================================================== */

body.catalog-category-view .magicat-container.block .block-title.cat_heading,
body.catalog-category-view .magicat-container .block-title.cat_heading,
body.catalog-category-view .block-title.cat_heading {
    position: relative !important;
    margin: 0 0 14px !important;
    padding: 0 !important;

    background: linear-gradient(180deg, #fbfdff 0%, #f5f8fb 100%) !important;

    border: 1px solid #d9e3ec !important;
    border-radius: 12px !important;

    box-shadow: 0 2px 10px rgba(37, 67, 92, 0.04) !important;

    overflow: hidden !important;
}

/* Alte/dicke Theme-Linie über der Kachel entfernen */
body.catalog-category-view .magicat-container.block .block-title.cat_heading:before,
body.catalog-category-view .magicat-container .block-title.cat_heading:before,
body.catalog-category-view .block-title.cat_heading:before {
    display: none !important;
    content: none !important;
}

/* Kategorieüberschrift */
body.catalog-category-view .magicat-container.block .block-title.cat_heading h1,
body.catalog-category-view .magicat-container .block-title.cat_heading h1,
body.catalog-category-view .block-title.cat_heading h1 {
    display: block !important;

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

    margin: 0 !important;
    padding: 18px 12px 16px !important;

    color: #3a6288 !important;
    background: transparent !important;
    border: 0 !important;

    font-family: "Trajan Pro", Georgia, "Times New Roman", serif !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    line-height: 1.12 !important;
    letter-spacing: 0.9px !important;

    text-align: center !important;
    text-transform: uppercase !important;

    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;

    box-sizing: border-box !important;
}

/* Verhindert alte Theme-Ränder / obere Balken */
body.catalog-category-view .col-left .block,
body.catalog-category-view .sidebar .block,
body.catalog-category-view .magicat-container.block {
    border-top: 0 !important;
    box-shadow: none !important;
}


/* ======================================================
   2) CATEGORY PRODUCT CARDS
   Grid-Geometrie bleibt unberührt.
   ====================================================== */

body.catalog-category-view .category-products .products-grid li.item,
body.catalog-category-view .category-products .products-grid .item {
    overflow: hidden !important;

    border-color: #d9e3ec !important;
    border-radius: 12px !important;

    box-shadow: 0 3px 12px rgba(36, 68, 96, 0.05) !important;

    transition:
        transform .22s ease,
        box-shadow .22s ease,
        border-color .22s ease !important;
}

body.catalog-category-view .category-products .products-grid li.item:hover,
body.catalog-category-view .category-products .products-grid .item:hover {
    transform: translateY(-2px) !important;

    border-color: #bfd1df !important;

    box-shadow: 0 10px 24px rgba(38, 65, 90, 0.10) !important;
}

/* Bild dezent animieren */
body.catalog-category-view .category-products .products-grid li.item .product-image img,
body.catalog-category-view .category-products .products-grid .item .product-image img {
    transition: transform .24s ease !important;
}

body.catalog-category-view .category-products .products-grid li.item:hover .product-image img,
body.catalog-category-view .category-products .products-grid .item:hover .product-image img {
    transform: scale(1.012) !important;
}

/* Produktname sauber begrenzen */
body.catalog-category-view .category-products .products-grid .product-name,
body.catalog-category-view .category-products .products-grid h2.product-name {
    width: 100% !important;
    max-width: 100% !important;

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

    overflow: hidden !important;
    box-sizing: border-box !important;
}

body.catalog-category-view .category-products .products-grid .product-name a,
body.catalog-category-view .category-products .products-grid h2.product-name a {
    display: -webkit-box !important;

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

    min-height: 70px !important;

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

    overflow: hidden !important;

    color: #214f7b !important;

    line-height: 1.20 !important;
    text-align: center !important;

    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;

    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 3 !important;
}

/* Preisbereiche ruhig halten */
body.catalog-category-view .category-products .price-box {
    text-align: center !important;
}

body.catalog-category-view .category-products .old-price,
body.catalog-category-view .category-products .special-price {
    white-space: nowrap !important;
}

/* Buttons minimal edler */
body.catalog-category-view .category-products .products-grid .button,
body.catalog-category-view .category-products .products-grid button.button {
    transition:
        background .20s ease,
        box-shadow .20s ease,
        transform .20s ease !important;
}

body.catalog-category-view .category-products .products-grid .button:hover,
body.catalog-category-view .category-products .products-grid button.button:hover {
    box-shadow: 0 5px 12px rgba(47, 93, 135, 0.15) !important;
}


/* ======================================================
   3) RECENTLY VIEWED SLIDER
   Passend zu product_viewed.phtml aus Sale V1 Clean.
   ====================================================== */

.qd-rv-slider {
    margin: 12px 0 0 !important;

    background: #ffffff !important;

    border: 1px solid #d9e3ec !important;
    border-radius: 12px !important;

    box-shadow: 0 2px 10px rgba(37, 67, 92, 0.04) !important;

    overflow: hidden !important;
    box-sizing: border-box !important;
}

.qd-rv-slider .qd-rv-head {
    margin: 0 !important;
    padding: 14px 12px 12px !important;

    color: #3a6288 !important;

    background: linear-gradient(180deg, #fbfdff 0%, #f5f8fb 100%) !important;

    border: 0 !important;
    border-bottom: 1px solid #e6edf3 !important;

    box-shadow: none !important;

    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.20 !important;

    text-align: center !important;

    overflow: hidden !important;
}

/* Inhalt */
.qd-rv-stage {
    position: relative !important;
    min-height: 330px !important;

    background: #ffffff !important;
}

.qd-rv-slide {
    display: none !important;

    width: 100% !important;

    padding: 16px 14px 12px !important;

    text-align: center !important;

    box-sizing: border-box !important;
}

.qd-rv-slide.is-active {
    display: block !important;
}

/* Bild */
.qd-rv-image {
    display: flex !important;

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

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

    margin: 0 0 12px !important;

    overflow: hidden !important;

    background: #ffffff !important;

    border: 0 !important;
    border-radius: 9px !important;

    box-sizing: border-box !important;
}

.qd-rv-image img {
    display: block !important;

    width: auto !important;
    height: auto !important;

    max-width: 180px !important;
    max-height: 158px !important;

    margin: auto !important;

    object-fit: contain !important;

    transition: transform .22s ease !important;
}

.qd-rv-slide:hover .qd-rv-image img {
    transform: scale(1.035) !important;
}

/* Produktname */
.qd-rv-name {
    display: -webkit-box !important;

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

    min-height: 50px !important;

    margin: 0 auto 10px !important;

    overflow: hidden !important;

    color: #315d86 !important;

    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 11.5px !important;
    font-weight: 400 !important;
    line-height: 1.30 !important;

    text-align: center !important;
    text-decoration: none !important;

    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;

    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 3 !important;
}

/* Preise */
.qd-rv-price {
    display: flex !important;

    min-height: 28px !important;

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

    flex-wrap: wrap !important;

    gap: 5px 7px !important;
}

.qd-rv-old {
    color: #9fa7ad !important;

    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 9px !important;
    font-weight: 400 !important;
    line-height: 1 !important;

    text-decoration: line-through !important;

    white-space: nowrap !important;
}

.qd-rv-final {
    color: #4b9b13 !important;

    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    line-height: 1 !important;

    white-space: nowrap !important;
}

/* Slider-Navigation */
.qd-rv-controls {
    display: grid !important;

    grid-template-columns: 36px 1fr 36px !important;

    gap: 8px !important;

    align-items: center !important;

    padding: 10px 12px 11px !important;

    background: #fbfdff !important;

    border: 0 !important;
    border-top: 1px solid #edf2f6 !important;

    box-sizing: border-box !important;
}

.qd-rv-prev,
.qd-rv-next {
    display: flex !important;

    width: 34px !important;
    height: 32px !important;

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

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

    cursor: pointer !important;

    color: #315d86 !important;
    background: #ffffff !important;

    border: 1px solid #d5e1ea !important;
    border-radius: 8px !important;

    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 19px !important;
    line-height: 1 !important;

    box-shadow: none !important;

    transition:
        color .18s ease,
        background .18s ease,
        border-color .18s ease,
        box-shadow .18s ease !important;
}

.qd-rv-prev:hover,
.qd-rv-next:hover {
    color: #ffffff !important;

    background: #5d8fbd !important;

    border-color: #5d8fbd !important;

    box-shadow: 0 4px 10px rgba(47, 93, 135, .13) !important;
}

.qd-rv-counter {
    color: #7b8d9c !important;

    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 10px !important;
    line-height: 1 !important;

    text-align: center !important;
}

/* optionaler Link */
.qd-rv-all {
    display: block !important;

    padding: 0 12px 11px !important;

    color: #315d86 !important;

    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 9px !important;

    text-align: center !important;
    text-decoration: none !important;
}


/* ======================================================
   4) SIDEBAR / FILTER CLEANUP
   Keine Funktionalität verändern.
   ====================================================== */

body.catalog-category-view .col-left .block,
body.catalog-category-view .sidebar .block {
    border-color: #d9e3ec !important;
}

body.catalog-category-view .col-left .block-title,
body.catalog-category-view .sidebar .block-title {
    box-shadow: none !important;
}

/* Harte Theme-Linien unter einzelnen Sidebar-Boxen reduzieren */
body.catalog-category-view .col-left > .block:after,
body.catalog-category-view .sidebar > .block:after {
    box-shadow: none !important;
}


/* ======================================================
   5) MOBILE
   ====================================================== */

@media only screen and (max-width: 767px) {

    /* Kategorieheading kompakter */
    body.catalog-category-view .magicat-container.block .block-title.cat_heading,
    body.catalog-category-view .magicat-container .block-title.cat_heading,
    body.catalog-category-view .block-title.cat_heading {
        margin: 8px 10px 10px !important;

        border-radius: 9px !important;

        box-shadow: none !important;
    }

    body.catalog-category-view .magicat-container.block .block-title.cat_heading h1,
    body.catalog-category-view .magicat-container .block-title.cat_heading h1,
    body.catalog-category-view .block-title.cat_heading h1 {
        padding: 12px 10px 10px !important;

        font-size: 16px !important;
        line-height: 1.14 !important;
        letter-spacing: .7px !important;
    }

    /* Recently Viewed in der Sidebar mobil weiterhin raus */
    .qd-rv-slider {
        display: none !important;
    }

    /* Produktname mobil nicht unnötig hoch ziehen */
    body.catalog-category-view .category-products .products-grid .product-name a,
    body.catalog-category-view .category-products .products-grid h2.product-name a {
        width: 94% !important;
        max-width: 94% !important;

        min-height: 0 !important;

        -webkit-line-clamp: 4 !important;
    }

    /* Hover-Translation auf Touch vermeiden */
    body.catalog-category-view .category-products .products-grid li.item:hover,
    body.catalog-category-view .category-products .products-grid .item:hover {
        transform: none !important;
    }

    body.catalog-category-view .category-products .products-grid li.item:hover .product-image img,
    body.catalog-category-view .category-products .products-grid .item:hover .product-image img {
        transform: none !important;
    }
}


/* ======================================================
   6) V1.2 – GLOBAL CARD BORDER CLEANUP
   Entfernt die alten Theme-Rahmen an Kategorie-/Auswahl-
   kacheln (z.B. Diamantohrstecker, Anhänger) sowie an den
   Produktkarten. Die optische Trennung erfolgt nur noch
   über Rundung + sehr weichen Schatten.
   ====================================================== */

/* EasyCatalog / Auswahlkacheln */
body.catalog-category-view .easycatalogimg .easycatalog-grid li.item,
body.catalog-category-view .easycatalogimg .easycatalog-grid li.item .itemInner,
body.catalog-category-view .easycatalogimg .easycatalog-grid .item,
body.catalog-category-view .easycatalogimg .easycatalog-grid .item .itemInner {
    border: 0 !important;
    outline: 0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background: #fff !important;
    box-shadow: 0 3px 12px rgba(36, 68, 96, .07) !important;
}

/* Manche alten Themes zeichnen den Rahmen über Link/Bildcontainer */
body.catalog-category-view .easycatalogimg .easycatalog-grid li.item > a,
body.catalog-category-view .easycatalogimg .easycatalog-grid li.item .product-image,
body.catalog-category-view .easycatalogimg .easycatalog-grid li.item .category-image,
body.catalog-category-view .easycatalogimg .easycatalog-grid .item > a,
body.catalog-category-view .easycatalogimg .easycatalog-grid .item .product-image,
body.catalog-category-view .easycatalogimg .easycatalog-grid .item .category-image {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

/* Hover nur als sanfte Anhebung */
body.catalog-category-view .easycatalogimg .easycatalog-grid li.item:hover,
body.catalog-category-view .easycatalogimg .easycatalog-grid li.item:hover .itemInner,
body.catalog-category-view .easycatalogimg .easycatalog-grid .item:hover,
body.catalog-category-view .easycatalogimg .easycatalog-grid .item:hover .itemInner {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 24px rgba(38, 65, 90, .11) !important;
}

/* Produktkarten in Sale / Kategorien: keine sichtbare Kontur mehr */
body.catalog-category-view .category-products .products-grid li.item,
body.catalog-category-view .category-products .products-grid .item,
body.catalog-category-view .category-products .products-grid li.item .item-inner,
body.catalog-category-view .category-products .products-grid li.item .itemInner,
body.catalog-category-view .category-products .products-grid .item .item-inner,
body.catalog-category-view .category-products .products-grid .item .itemInner {
    border: 0 !important;
    outline: 0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background: #fff !important;
}

/* Falls das Theme den Rahmen über Bild- oder Infoflächen zeichnet */
body.catalog-category-view .category-products .products-grid .product-image,
body.catalog-category-view .category-products .products-grid .product-image a,
body.catalog-category-view .category-products .products-grid .product-info,
body.catalog-category-view .category-products .products-grid .actions {
    border-left: 0 !important;
    border-right: 0 !important;
    outline: 0 !important;
}

/* Der Schatten trennt die Karte optisch – ohne Doppelrahmen */
body.catalog-category-view .category-products .products-grid li.item,
body.catalog-category-view .category-products .products-grid .item {
    box-shadow: 0 3px 12px rgba(36, 68, 96, .065) !important;
}

body.catalog-category-view .category-products .products-grid li.item:hover,
body.catalog-category-view .category-products .products-grid .item:hover {
    box-shadow: 0 10px 24px rgba(38, 65, 90, .11) !important;
}

/* Linke Kategorie-Bezeichnung unten (Diamantohrstecker / Diamantanhänger / Sale)
   nur eine einzige feine Kontur – keine Doppelrahmen */
body.catalog-category-view .magicat-container.block .block-title.cat_heading,
body.catalog-category-view .magicat-container .block-title.cat_heading,
body.catalog-category-view .block-title.cat_heading {
    border: 1px solid #dde7ef !important;
    outline: 0 !important;
    box-shadow: none !important;
}

body.catalog-category-view .magicat-container.block,
body.catalog-category-view .magicat-container,
body.catalog-category-view .col-left .magicat-container {
    outline: 0 !important;
    box-shadow: none !important;
}

/* Mobil keine Hover-Verschiebung */
@media only screen and (max-width: 767px) {
    body.catalog-category-view .easycatalogimg .easycatalog-grid li.item:hover,
    body.catalog-category-view .easycatalogimg .easycatalog-grid li.item:hover .itemInner,
    body.catalog-category-view .easycatalogimg .easycatalog-grid .item:hover,
    body.catalog-category-view .easycatalogimg .easycatalog-grid .item:hover .itemInner {
        transform: none !important;
    }
}


/* ======================================================
   7) V1.3 – HARD CLEAN DER ALTEN THEME-RAHMEN
   Die verbliebenen grauen Kanten kommen bei diesem Theme
   häufig nicht vom eigentlichen border, sondern von
   Wrappern / inneren Boxen / pseudo elements.
   ====================================================== */

/* ---------- Produkt-/Auswahlraster komplett entrahmen ---------- */
body.catalog-category-view .main .products-grid,
body.catalog-category-view .main .products-grid > li,
body.catalog-category-view .main .products-grid > li.item,
body.catalog-category-view .main .products-grid > li > div,
body.catalog-category-view .main .products-grid > li > div > div,
body.catalog-category-view .main .products-grid .item-inner,
body.catalog-category-view .main .products-grid .itemInner,
body.catalog-category-view .main .products-grid .product-block,
body.catalog-category-view .main .products-grid .product-container,
body.catalog-category-view .main .products-grid .product-wrapper,
body.catalog-category-view .main .products-grid .product-box,
body.catalog-category-view .main .products-grid .product-info,
body.catalog-category-view .main .products-grid .product-image,
body.catalog-category-view .main .products-grid .product-image a {
    border: 0 !important;
    outline: 0 !important;
}

/* Alte graue Hintergrund-Schalen entfernen */
body.catalog-category-view .main .products-grid > li,
body.catalog-category-view .main .products-grid > li.item,
body.catalog-category-view .main .products-grid > li > div,
body.catalog-category-view .main .products-grid .item-inner,
body.catalog-category-view .main .products-grid .itemInner,
body.catalog-category-view .main .products-grid .product-block,
body.catalog-category-view .main .products-grid .product-container,
body.catalog-category-view .main .products-grid .product-wrapper,
body.catalog-category-view .main .products-grid .product-box {
    background: transparent !important;
}

/* Die eigentliche sichtbare Karte bleibt weiß */
body.catalog-category-view .main .products-grid .product-image,
body.catalog-category-view .main .products-grid .product-info,
body.catalog-category-view .main .products-grid .actions {
    background: #fff !important;
}

/* Theme-Pseudo-Rahmen ebenfalls eliminieren */
body.catalog-category-view .main .products-grid > li:before,
body.catalog-category-view .main .products-grid > li:after,
body.catalog-category-view .main .products-grid > li.item:before,
body.catalog-category-view .main .products-grid > li.item:after,
body.catalog-category-view .main .products-grid .item-inner:before,
body.catalog-category-view .main .products-grid .item-inner:after,
body.catalog-category-view .main .products-grid .itemInner:before,
body.catalog-category-view .main .products-grid .itemInner:after,
body.catalog-category-view .main .products-grid .product-block:before,
body.catalog-category-view .main .products-grid .product-block:after,
body.catalog-category-view .main .products-grid .product-container:before,
body.catalog-category-view .main .products-grid .product-container:after {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

/* Keine inneren Schatten, die wie graue Rahmen wirken */
body.catalog-category-view .main .products-grid > li > div,
body.catalog-category-view .main .products-grid > li > div > div,
body.catalog-category-view .main .products-grid .item-inner,
body.catalog-category-view .main .products-grid .itemInner,
body.catalog-category-view .main .products-grid .product-block,
body.catalog-category-view .main .products-grid .product-container,
body.catalog-category-view .main .products-grid .product-wrapper,
body.catalog-category-view .main .products-grid .product-box,
body.catalog-category-view .main .products-grid .product-image,
body.catalog-category-view .main .products-grid .product-info {
    box-shadow: none !important;
}

/* ---------- EasyCatalog / Schliff-Auswahl ---------- */
body.catalog-category-view .easycatalogimg,
body.catalog-category-view .easycatalogimg .easycatalog-grid,
body.catalog-category-view .easycatalogimg .easycatalog-grid > li,
body.catalog-category-view .easycatalogimg .easycatalog-grid > li > div,
body.catalog-category-view .easycatalogimg .easycatalog-grid .item,
body.catalog-category-view .easycatalogimg .easycatalog-grid .itemInner,
body.catalog-category-view .easycatalogimg .easycatalog-grid .item-inner,
body.catalog-category-view .easycatalogimg .easycatalog-grid a,
body.catalog-category-view .easycatalogimg .easycatalog-grid .product-image,
body.catalog-category-view .easycatalogimg .easycatalog-grid .category-image {
    border: 0 !important;
    outline: 0 !important;
}

body.catalog-category-view .easycatalogimg .easycatalog-grid > li,
body.catalog-category-view .easycatalogimg .easycatalog-grid > li > div,
body.catalog-category-view .easycatalogimg .easycatalog-grid .item,
body.catalog-category-view .easycatalogimg .easycatalog-grid .itemInner,
body.catalog-category-view .easycatalogimg .easycatalog-grid .item-inner {
    background: transparent !important;
    box-shadow: none !important;
}

/* Nur EINE sehr weiche Karte um die sichtbare Auswahl */
body.catalog-category-view .easycatalogimg .easycatalog-grid > li > a,
body.catalog-category-view .easycatalogimg .easycatalog-grid .item > a {
    display: block !important;
    overflow: hidden !important;
    background: #fff !important;
    border: 0 !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 14px rgba(31, 67, 99, .055) !important;
    transition: transform .20s ease, box-shadow .20s ease !important;
}

body.catalog-category-view .easycatalogimg .easycatalog-grid > li > a:hover,
body.catalog-category-view .easycatalogimg .easycatalog-grid .item > a:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 9px 22px rgba(31, 67, 99, .095) !important;
}

/* ---------- Sale Produktkarten ---------- */
/* Außen keine graue Schale / Kontur mehr */
body.catalog-category-view .category-products .products-grid > li,
body.catalog-category-view .category-products .products-grid > li.item {
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

/* Einzige optische Karte ist der erste innere Wrapper */
body.catalog-category-view .category-products .products-grid > li > div,
body.catalog-category-view .category-products .products-grid > li.item > div {
    overflow: hidden !important;
    background: #fff !important;
    border: 0 !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 14px rgba(31, 67, 99, .055) !important;
    transition: transform .20s ease, box-shadow .20s ease !important;
}

body.catalog-category-view .category-products .products-grid > li:hover > div,
body.catalog-category-view .category-products .products-grid > li.item:hover > div {
    transform: translateY(-2px) !important;
    box-shadow: 0 9px 22px rgba(31, 67, 99, .095) !important;
}

/* Kein zusätzliches Anheben des li – sonst Doppelbewegung */
body.catalog-category-view .category-products .products-grid > li:hover,
body.catalog-category-view .category-products .products-grid > li.item:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* ---------- Linke Kategorie-Kachel ---------- */
/* Außenwrapper ohne zweite Kontur */
body.catalog-category-view .magicat-container.block,
body.catalog-category-view .col-left .magicat-container.block,
body.catalog-category-view .sidebar .magicat-container.block {
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* Nur die eigentliche Überschrift bekommt den feinen Rahmen */
body.catalog-category-view .magicat-container.block .block-title.cat_heading,
body.catalog-category-view .magicat-container .block-title.cat_heading,
body.catalog-category-view .block-title.cat_heading {
    border: 1px solid #e0e8ef !important;
    box-shadow: none !important;
}

/* Mobile: keine Touch-Hover-Verschiebung */
@media only screen and (max-width: 767px) {
    body.catalog-category-view .easycatalogimg .easycatalog-grid > li > a:hover,
    body.catalog-category-view .easycatalogimg .easycatalog-grid .item > a:hover,
    body.catalog-category-view .category-products .products-grid > li:hover > div,
    body.catalog-category-view .category-products .products-grid > li.item:hover > div {
        transform: none !important;
    }
}
