.categories-section{
direction:rtl;
padding:40px 15px;
background:#fff;
}

.categories-inner{
max-width:1300px;
margin:auto;
}

.categories-head{
display:flex;
align-items:flex-end;
justify-content:space-between;
margin-bottom:28px;
}

.categories-subtitle{
display:block;
font-size:13px;
color:#ef394e;
font-weight:700;
margin-bottom:6px;
}

.categories-head h2{
margin:0;
font-size:24px;
font-weight:800;
color:#222;
padding-right:10px;
border-right:4px solid #ef394e;
}

.categories-more{
font-size:13px;
font-weight:700;
color:#ef394e;
text-decoration:none;
background:rgba(239,57,78,.08);
border:1px solid rgba(239,57,78,.18);
padding:8px 14px;
border-radius:999px;
transition:.2s;
}

.categories-more:hover{
background:#ef394e;
color:#fff;
}


/* grid */

.categories-grid{
display:grid;
grid-template-columns:repeat(auto-fill,minmax(130px,1fr));
gap:20px;
}


/* card */

.cat-card{
text-decoration:none;
display:flex;
flex-direction:column;
align-items:center;
gap:12px;
padding:18px 10px;
border-radius:16px;
background:#fafafa;
transition:.25s;
border:1px solid #eee;
}

.cat-card:hover{
transform:translateY(-4px);
box-shadow:0 10px 25px rgba(0,0,0,.08);
border-color:#ef394e33;
background:#fff;
}

.cat-image{
width:70px;
height:70px;
border-radius:50%;
overflow:hidden;
background:#f1f1f1;
display:flex;
align-items:center;
justify-content:center;
}

.cat-image img{
width:100%;
height:100%;
object-fit:cover;
}

.cat-title{
margin:0;
font-size:14px;
font-weight:700;
color:#333;
text-align:center;
line-height:1.6;
}


/* responsive */

@media (max-width:768px){

.categories-grid{
grid-template-columns:repeat(3,1fr);
gap:16px;
}

.cat-image{
width:60px;
height:60px;
}

.cat-title{
font-size:13px;
}

.categories-head h2{
font-size:20px;
}

}

@media (max-width:420px){

.categories-grid{
grid-template-columns:repeat(2,1fr);
}

.categories-more{
display:none;
}

}