/* =========================================================
   ATTRIBUTE SLIDER - ALTERNATIVE IMAGE DESIGN

   Elementor > Avanzato > Classi CSS:
   attribute-slider-overlay
========================================================= */

.attribute-slider-overlay .categorie-grid .categorie-page {
    margin: -1px;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 15px !important;
    padding: 12px 0 20px !important;
}

.attribute-slider-overlay .categorie-grid .categorie-page > .wd-col,
.attribute-slider-overlay .categorie-grid .categorie-page > .categorie-grid-item {
    max-width: none !important;
    overflow: hidden !important;
    border-radius: 0 !important;
}

.attribute-slider-overlay .categorie-grid .product-category,
.attribute-slider-overlay .categorie-grid .product-category .wd-cat-inner,
.attribute-slider-overlay .categorie-grid .product-category:hover .wd-cat-inner {
    overflow: hidden !important;
    border-radius: 0 !important;
}

.attribute-slider-overlay .categorie-grid .product-category .wd-cat-inner,
.attribute-slider-overlay .categorie-grid .product-category:hover .wd-cat-inner {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: auto !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
    border-radius: 0 !important;
}

.attribute-slider-overlay .categorie-grid .wd-cat-thumb,
.attribute-slider-overlay .categorie-grid .wd-cat-image {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 3 !important;
    margin: 0 !important;
    overflow: hidden !important;
    border-radius: 0 !important;
}

.attribute-slider-overlay .categorie-grid .wd-cat-thumb img,
.attribute-slider-overlay .categorie-grid .category-image img,
.attribute-slider-overlay .categorie-grid .category-image-wrapp img {
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 4 / 3 !important;
    object-fit: cover !important;
    border-radius: 0 !important;
}

.attribute-slider-overlay .categorie-grid .wd-cat-content,
.attribute-slider-overlay .categorie-grid .wd-cat-content.wd-fill {
    position: relative !important;
    z-index: 2 !important;
    inset: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: auto !important;
    min-height: 55px !important;
    padding: 14px 10px !important;
    background: transparent !important;
    color: #111111 !important;
    text-align: center !important;
    pointer-events: none;
    border-radius: 0 !important;
}

.attribute-slider-overlay .categorie-grid .wd-cat-header,
.attribute-slider-overlay .categorie-grid .wd-cat-content a,
.attribute-slider-overlay .categorie-grid .wd-cat-content .wd-cat-header a {
    margin: 0 !important;
    padding: 0 !important;
    color: #111111 !important;
    font-family: var(--font-family) !important;
    font-size: clamp(16px, 1.35vw, 23px) !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
    text-align: center !important;
    text-transform: uppercase;
    text-shadow: none !important;
}

.attribute-slider-overlay .categorie-grid .wd-cat-count,
.attribute-slider-overlay .categorie-grid .wd-cat-count a {
    margin-top: 8px !important;
    color: #111111 !important;
}

@media (max-width: 767px) {
    .attribute-slider-overlay .categorie-grid .categorie-page {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
        padding: 10px 0 18px !important;
    }

    .attribute-slider-overlay .categorie-grid .wd-cat-content,
    .attribute-slider-overlay .categorie-grid .wd-cat-content.wd-fill {
        min-height: 48px !important;
        padding: 10px 8px !important;
    }

    .attribute-slider-overlay .categorie-grid .wd-cat-header,
    .attribute-slider-overlay .categorie-grid .wd-cat-content a,
    .attribute-slider-overlay .categorie-grid .wd-cat-content .wd-cat-header a {
        font-size: 14px !important;
    }
}


