.woocommerce-sibling-categories {
    margin-bottom: 30px;
    /*padding: 20px;*/
    /*border: 1px solid #ddd;*/
    /*border-radius: 5px;*/
    /*background: #f9f9f9;*/
}

.woocommerce-sibling-categories h2 {
    font-size: 24px;
    margin-bottom: 15px;
}

/* Sử dụng CSS Grid để chia thành 4 cột */
.sibling-categories-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 cột bằng nhau */
    gap: 15px;
    padding: 0;
    list-style: none;
    margin-bottom: 0;
}

.sibling-categories-list li {
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #fff;
    text-align: center;
    font-weight: bold;
    font-size: 13px
}

.sibling-categories-list li a {
    text-decoration: none;
    color: #0f4fb0;
    display: block;
}

.sibling-categories-list li:hover {
    background-color: #0f4fb0;
    border: 1px solid #0f4fb0;
}
.sibling-categories-list li:hover a{color: #fff;}
/* Responsive: Khi màn hình nhỏ hơn 768px, hiển thị 2 cột */
@media (max-width: 768px) {
    .sibling-categories-list {
        grid-template-columns: repeat(2, 1fr);
    }
    .archive main .col.large-3.hide-for-medium{
    flex-basis: 100%;
    max-width: 100%;
}
.archive main .col.large-9{
    flex-basis: 100%;
    max-width: 100%;
}
    .archive main .col.large-3, .category-page-row .col.large-3{
        flex-basis: 100%;
        max-width: 100%;
    }
    .archive main .col.large-9, .category-page-row .col.large-9 {
        flex-basis: 100%;
        max-width: 100%;
    }
}

/* Responsive: Khi màn hình nhỏ hơn 480px, hiển thị 1 cột */
@media (max-width: 480px) {
    .sibling-categories-list {
        grid-template-columns: repeat(1, 1fr);
    }
    
}
@media screen and (min-width: 850px){
    .archive main .col.large-3, .category-page-row .col.large-3{
        flex-basis: 20%;
        max-width: 20%;
    }
    .archive main .col.large-9, .category-page-row .col.large-9 {
        flex-basis: 80%;
        max-width: 80%;
    }
}