.categories{

    margin-top:70px;

}

.section-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:30px;

    gap:12px;

}

.section-header h2{

    font-size:1.9rem;

    letter-spacing:-0.02em;

}

.section-button{

    width:46px;

    height:46px;

    display:grid;

    place-items:center;

    background:white;

    border:1px solid rgba(0,0,0,.1);

    border-radius:50%;

    box-shadow:0 10px 20px rgba(0,0,0,.06);

    cursor:pointer;

    transition:.2s ease;

}

.section-button:hover{

    transform:translateX(2px);

    border-color:rgba(0,0,0,.15);

}

.categories-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:25px;

}

.category-card{

    border-radius:24px;

    overflow:hidden;

    position:relative;

    min-height:240px;

    cursor:pointer;

    box-shadow:0 16px 40px rgba(0,0,0,.08);

}

.category-card img{

    width:100%;

    height:100%;

    object-fit:cover;

}

.category-overlay{

    position:absolute;

    inset:0;

    background:linear-gradient(180deg,transparent 45%,rgba(0,0,0,.55) 100%);

}

.category-body{

    position:absolute;

    bottom:20px;

    left:20px;

    display:flex;

    align-items:center;

    gap:14px;

}

.category-body span{

    color:white;

    font-size:1.1rem;

    font-weight:700;

}

.category-icon{

    width:46px;

    height:46px;

    border-radius:50%;

    background:rgba(255,255,255,.14);

    display:grid;

    place-items:center;

}

.category-icon span{

    color:white;

    font-size:1.2rem;

}

@media (max-width:1024px){

    .categories-grid{

        grid-template-columns:repeat(3,1fr);

    }

}

@media (max-width:768px){

    .section-header{

        flex-wrap:wrap;
        gap:8px;

    }

    .categories-grid{

        grid-template-columns:repeat(2,1fr);

    }

}

@media (max-width:480px){

    .categories-grid{

        grid-template-columns:1fr;

    }

}
.category-card--no-image{
    background:linear-gradient(135deg,#0077b6,#00b4d8);
}
.empty-message{
    grid-column:1 / -1;
    color:#6b7280;
    text-align:center;
    padding:30px 0;
}
