.zp_modulo_featured_categories_single {
    padding: 0 5px;
}

.zp_modulo_featured_categories_single .zp_inner {
    position: relative;
    width: 100%;
    height: 279px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.4s ease-in-out;
}

.zp_modulo_featured_categories_single .zp_inner:hover {
    border-radius: 0;
}

.zp_featured_category_icon {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1;
}
.zp_featured_category_icon::after {
    content: '';
    position: absolute;
    height: 100%;
    width: 100%;
    display: block;
    top: 0;
    left: 0;
    /* transform: translate(50%, -50%); */
    box-shadow: inset 0px 0px 100px 100px rgba(0,0,0,0.5);
    transition: box-shadow 0.4s ease-in-out; 
}
.zp_featured_category_icon img {
    height: 115%;
    width: auto;
    position: absolute;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
    transition: transform 0.6s ease-in-out;
    transform-origin: center;
    image-rendering: -webkit-optimize-contrast;
}

.zp_featured_category_icon img.mobile {
    display: none;
}

.zp_featured_category_name {
    text-decoration: none;
    position: relative;
    z-index: 2;
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    text-align: center;
    transition: color 0.4s ease-in-out; 
    font-weight: 900;
}

.zp_modulo_featured_categories_single .zp_inner:hover .zp_featured_category_icon img {
    transform: translate(50%, -50%) scale(1.1);
}

.zp_modulo_featured_categories_single .zp_inner:hover .zp_featured_category_icon::after {
    box-shadow: inset 0px 0px 100px 100px rgba(163,163,163,0.6);
}

.zp_modulo_featured_categories_single .zp_inner:hover .zp_featured_category_name {
    color: #3D3D3B;
}
.zp_modulo_featured_categories_block {
    padding: 30px 47px;
    position: relative;
    margin-bottom: 30px;
}

.zp_modulo_featured_categories_slider_wrapper {
    position: relative;
    padding: 0 47px;
    margin-right: -47px;
    margin-left: -47px;
    width: 100%;
}

.zp_modulo_featured_categories_title {
    padding: 20px 16px 30px;
    font-size: 25px;
    line-height: 1;
    font-weight: 900;
    color: #444444;
}

.zp_modulo_featured_categories_block::after,
.zp_modulo_featured_categories_block::before {
    content: '';
    display: block;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
}

.zp_modulo_featured_categories_block::before {
    top: -10px;
    right: 25px;
    height: 20px;
    width: 4px;
    background-image: url('/wp-content/uploads/2019/12/3dots.svg');
}
.zp_modulo_featured_categories_block::after {
    left: 30px;
    bottom: -30px;
    height: 40px;
    width: 40px;
    background-image: url('/wp-content/uploads/2019/12/dots_special_offers.svg');
}

.zp_modulo_featured_categories_block.has-title::before {
    display: none;
}

.zp_modulo_featured_categories_block.has-title::after {
    top: 20px;
    right: 20px;
    left: unset;
    bottom: unset;
}

.zp_modulo_featured_categories_block .slick-arrow {
    background-image: url('/wp-content/uploads/2019/11/arrow_right.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    height: 31px;
    width: 15px;
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transform-origin: top;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
}

.zp_modulo_featured_categories_block .zp-arrow_prev {
    left: 16px;
    transform: rotate(-180deg) translateY(-50%);
}

.zp_modulo_featured_categories_block .slick-arrow:hover {
    transform: translateY(-50%) translateX(-3px);
}
.zp_modulo_featured_categories_block .zp-arrow_prev:hover {
    transform: rotate(-180deg) translateY(-50%) translateX(-3px);
}

.zp_modulo_featured_categories_block .zp-arrow_next {
    right: 16px;
}

@media only screen and (max-width: 767px) {
    .zp_modulo_featured_categories {
        width: 100vw;
        transform: translateX(-50%);
        margin-left: 50%;
    }
    .zp_modulo_featured_categories_block {
        padding: 40px 0;
    }
    .zp_modulo_featured_categories_slider {
        display: block;
        white-space: nowrap;
        overflow-x: scroll;
        overflow-y: hidden;
        padding: 0 16px;
        
    }
    .zp_modulo_featured_categories_slider::-webkit-scrollbar {
        display: none;
    }
    .zp_modulo_featured_categories_slider {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .zp_modulo_featured_categories_single {
        display: inline-block;
    }

    .zp_modulo_featured_categories_single .zp_inner {
        width: 270px;
        height: 233px;
    }

    .zp_featured_category_icon img.mobile {
        display: inline-block;
    }

    .zp_modulo_featured_categories_block::before {
        display: none;
    }
    .zp_modulo_featured_categories_block::after {
        left: initial;
        bottom: initial;
        top: -20px;
        right: 26px;
    }
}