.category_list {
    gap: 10px;
}

.cat_items img {
    width: 100%;
    object-fit: contain;
    padding: 10px;
    aspect-ratio: 1/1;
    max-height: 200px;
}

.cat_items {
    /* display: flex;
    flex-direction: column; */
    align-items: center;
    background: #fff;
    border-radius: 8px;
    text-decoration: none;
    overflow: hidden;
    border: 1px solid #F1EEEE;
    display: flex;
    flex-direction: column;
}

.cat_items h3 {
    font-weight: 600;
    font-size: 14px;
    line-height: 100%;
    /* or 14px */
    letter-spacing: 0.01em;
    /* Barva pisave - Temno modra */
    color: #3D4251;
}

.sub_c_title_wrapper {
    padding: 8px 10px;
    background-color: #DFDFDF;
    display: block;
    width: 100%;
    flex-grow: 1;
}

.sub_c_title_wrapper h3:after {
    content: "";
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='9' viewBox='0 0 10 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.21895 7.72744L6.71414 5.19343L0.000390779 5.19343L0.000390848 3.63548L6.71414 3.63548L4.21895 1.10147L5.30355 -1.90007e-07L9.65039 4.41446L5.30355 8.82891L4.21895 7.72744Z' fill='%233D4251'/%3E%3C/svg%3E%0A");
    background-repeat: no-repeat no-repeat;
    background-position: center center;
    background-size: 10px;
    display: inline-block;
    width: 10px;
    height: 9px;
    margin-top: 2px;
}

.sub_c_title_wrapper h3 {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 5px;
    margin-bottom: 0 !important;
}

.show_more_cats {
    margin-top: 30px;
    font-weight: 600;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0.01em;
    color: #3952A4;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    cursor: pointer;
}

.show_more_cats:after {
    content: "";
    background-image: url("data:image/svg+xml,%3Csvg width='8' height='5' viewBox='0 0 8 5' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.90078 0.217226C7.26728 -0.166305 7.84524 -0.0148416 7.97626 0.495795C8.04408 0.759306 7.96278 0.98163 7.78121 1.17251C7.17586 1.80937 6.57346 2.44932 5.96938 3.08751C5.50262 3.58087 5.03586 4.07424 4.567 4.56627C4.27086 4.87717 3.90225 4.8785 3.60653 4.56672C2.53443 3.43649 1.46443 2.30362 0.392742 1.17295C0.197277 0.967015 0.120187 0.727862 0.2116 0.449293C0.29838 0.184896 0.486262 0.0356461 0.749128 0.00420192C0.967762 -0.0219278 1.14385 0.0759479 1.29634 0.238041C1.9653 0.948857 2.63679 1.65657 3.30786 2.36473C3.34703 2.40592 4.00167 3.05031 4.08382 3.1318C4.08508 3.13312 4.08887 3.12958 4.08719 3.13047C4.08382 3.1318 6.21581 0.933357 6.90078 0.21634L6.90078 0.217226Z' fill='%233952A4'/%3E%3C/svg%3E%0A");
    background-repeat: no-repeat no-repeat;
    background-position: center center;
    background-size: 8px;
    width: 8px;
    height: 9px;
    display: inline-block;
}

@media (min-width: 992px) {
    .cat_items h3 {
        font-size: 18px;
    }
    .sub_c_title_wrapper {
        padding: 20px 25px;
    }
}

@media (max-width:991px) {
    .category_list .cat_items:nth-child(n+5) {
        display: none;
    }
}

@media (min-width: 992px) and (max-width: 1280px) {
    .category_list .cat_items:nth-child(n+7) {
        display: none;
    }
}

@media (min-width: 1281px) {
    .category_list .cat_items:nth-child(n+9) {
        display: none;
    }
}


/* SUBCATEGORIES END */