.elementor-66648 .elementor-element.elementor-element-94508af{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}/* Start custom CSS for html, class: .elementor-element-265d67c *//* WRAPPER */
.my-cat-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0px;
    justify-content: center;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
}

/* DESKTOP: 2 ROWS WITH 8 ITEMS EACH */
.my-cat-row {
    display: grid;
    grid-template-columns: repeat(8, 148.5px);
    justify-content: center;
    gap: 0px;
    width: 100%;
    box-sizing: border-box;
}

/* BOX DESIGN */
.cat-box {
    width: 148.5px;
    height: 148.5px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    text-decoration: none;
    color: #000000;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    padding: 0px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
}

/* IMAGE PART */
.cat-box .image-part {
    width: 80px;
    height: 80px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    margin-top: 15px;
}

.cat-box img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

/* TEXT PART */
.cat-box .text-part {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 5px 0px 5px;
    box-sizing: border-box;
    background: #ffffff;
    border-top: none;
}

.cat-box .title {
    font-size: 11px;
    text-align: center;
    line-height: 1.3;
    font-weight: 500;
    color: #333333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    width: 100%;
    max-height: 32px;
    margin-top: 5px;
}

/* HOVER EFFECT */
.cat-box:hover {
    background: #f8f8f8;
    border-color: #cccccc;
}

.cat-box:hover img {
    transform: scale(1.05);
}

/* TABLET */
@media (max-width: 1024px) {
    .my-cat-row {
        grid-template-columns: repeat(4, 148.5px);
    }
}

/* MOBILE — WORKING CAROUSEL */
@media (max-width: 768px) {
    .my-cat-wrapper {
        width: 100%;
        padding: 15px 0;
        margin: 0;
        overflow: visible;
    }
    
    .my-cat-row {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        gap: 0px;
        padding: 10px 0;
        scrollbar-width: none;
        -ms-overflow-style: none;
        justify-content: flex-start;
        align-items: flex-start;
        margin: 0;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        width: 100%;
        height: auto;
        white-space: nowrap;
    }
    
    .my-cat-row::-webkit-scrollbar {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
    }

    .cat-box {
        flex: 0 0 auto !important;
        width: 100px !important;
        height: 120px !important;
        margin: 0 !important;
        border: 1px solid #e0e0e0 !important;
        border-right: none !important;
        display: inline-flex !important;
    }

    /* First item */
    .cat-box:first-child {
        margin-left: 15px !important;
        border-left: 1px solid #e0e0e0 !important;
    }

    /* Last item */
    .cat-box:last-child {
        margin-right: 15px !important;
        border-right: 1px solid #e0e0e0 !important;
    }

    .cat-box .image-part {
        width: 55px;
        height: 55px;
        margin-top: 8px;
    }
    
    .cat-box img {
        width: 55px;
        height: 55px;
    }
    
    .cat-box .text-part {
        padding: 6px 4px 0px 4px;
    }
    
    .cat-box .title {
        font-size: 9px;
        line-height: 1.2;
        max-height: 28px;
        white-space: normal;
    }
}

/* SMALL MOBILE */
@media (max-width: 480px) {
    .cat-box {
        width: 90px !important;
        height: 110px !important;
    }

    .cat-box:first-child {
        margin-left: 10px !important;
    }

    .cat-box:last-child {
        margin-right: 10px !important;
    }

    .cat-box .image-part {
        width: 50px;
        height: 50px;
        margin-top: 6px;
    }
    
    .cat-box img {
        width: 50px;
        height: 50px;
    }
    
    .cat-box .title {
        font-size: 8px;
        max-height: 26px;
    }
}

/* IMPORTANT: Force carousel behavior */
@media (max-width: 768px) {
    .my-cat-row {
        display: flex !important;
        flex-direction: row !important;
    }
    
    .cat-box {
        float: none !important;
        display: inline-flex !important;
    }
}

/* Scroll snap for better UX */
.my-cat-row {
    scroll-snap-type: x mandatory;
}

.cat-box {
    scroll-snap-align: start;
}/* End custom CSS */