.categories-container {
display: flex;
flex-wrap: wrap;
gap: 20px;
justify-content: center;
width: 100%;
}

.categories-box {
background: white;
border-radius: 12px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
width: 100%;
max-width: 320px;
overflow: hidden;
transition: transform 0.3s, box-shadow 0.3s;
}

.categories-box:hover {
transform: translateY(-5px);
box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.categories-header {
background: #3498db;
color: white;
padding: 18px 20px;
font-size: 1.3rem;
font-weight: 600;
display: flex;
align-items: center;
gap: 10px;
}

.categories-header i {
font-size: 1.5rem;
}

#categoriesContent {
padding: 15px 0;
width: 100%;
}

#categoriesContent ul {
list-style: none;
padding: 0;
margin: 0;
}

#categoriesContent li {
position: relative;
border-bottom: 1px solid #f1f2f6;
}

#categoriesContent li:last-child {
border-bottom: none;
}

#categoriesContent a {
    display: flex;
    align-items: center;
    padding: 14px 10px;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

#categoriesContent a:hover {
background-color: #f8f9fb;
color: #3498db;
padding-left: 25px;
}

#categoriesContent a:hover .cate_text_top {
color: #3498db;
}

#categoriesContent .category-top {
font-weight: 600;
}

.cate_text_top {
transition: color 0.3s;
margin-left: 8px;
}

.categories_sub ul {
padding-left: 20px;
display: none;
}

.categories_sub.active > ul {
display: block;
}

.has-submenu::after {
content: '\f105';
font-family: 'Font Awesome 6 Free';
font-weight: 900;
position: absolute;
right: 20px;
top: 50%;
transform: translateY(-50%);
transition: transform 0.3s;
}

.categories_sub.active > a.has-submenu::after {
transform: translateY(-50%) rotate(90deg);
}

.cate_icons {
width: 30px;
height: 30px;
object-fit: contain;
border-radius: 4px;
margin-right: 10px;
}

.menu_sub_sub a {
font-size: 0.9rem;
color: #7f8c8d;
}

.menu_sub_sub a:hover {
color: #3498db;
}

.footer {
margin-top: 30px;
text-align: center;
color: #7f8c8d;
font-size: 0.9rem;
}
