/* =========================================================
   PlatterWala Website — Category Slider
   Step 4.1
========================================================= */

.pw-cat-section{
    width:100%;
    background:#fff;
    border-bottom:1px solid #eeeeee;
    font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
    position:relative;
    z-index:20;
}

.pw-cat-scroll{
    width:100%;
    max-width:1480px;
    margin:0 auto;
    padding:14px 20px 12px;
    display:flex;
    align-items:stretch;
    gap:10px;
    overflow-x:auto;
    overflow-y:hidden;
    scroll-behavior:smooth;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
}

.pw-cat-scroll::-webkit-scrollbar{
    display:none;
}

.pw-cat-item{
    flex:0 0 82px;
    min-width:82px;
    min-height:112px;
    padding:7px 5px 9px;
    border:1px solid transparent;
    border-radius:14px;
    background:#fff;
    color:#171717;
    cursor:pointer;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:flex-start;
    gap:7px;
    transition:.18s ease;
}

.pw-cat-item:hover{
    background:#fff8f3;
}

.pw-cat-item.is-active{
    border-color:#ff6b00;
    background:#fffaf7;
}

.pw-cat-image{
    width:68px;
    height:68px;
    flex:0 0 68px;
    border-radius:50%;
    overflow:hidden;
    background:#f4f4f4;
    display:grid;
    place-items:center;
    box-shadow:0 1px 5px rgba(0,0,0,.08);
}

.pw-cat-image img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
}

.pw-cat-emoji,
.pw-cat-all-icon{
    font-size:36px;
    line-height:1;
}

.pw-cat-item strong{
    max-width:78px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    color:#181818;
    font-size:13px;
    line-height:1.1;
    font-weight:700;
}

.pw-cat-item.is-active strong{
    color:#ff6b00;
}

@media (max-width:1000px){
    .pw-cat-scroll{
        padding-left:14px;
        padding-right:14px;
        gap:8px;
    }
}

@media (max-width:767px){

    .pw-cat-scroll{
        padding:10px 10px 9px;
        gap:6px;
    }

    .pw-cat-item{
        flex-basis:74px;
        min-width:74px;
        min-height:92px;
        padding:5px 3px 7px;
        border-radius:12px;
        gap:5px;
    }

    .pw-cat-image{
        width:58px;
        height:58px;
        flex-basis:58px;
    }

    .pw-cat-emoji,
    .pw-cat-all-icon{
        font-size:30px;
    }

    .pw-cat-item strong{
        font-size:11px;
        max-width:70px;
    }
}
