.wc-helper-category-loop {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.wc-helper-category-item {
    text-align: center;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 220px;
    background-color: #fff;
    padding: 0.5rem;
    border-radius: 0.5rem;
    box-shadow: 0px 6px 10px -4px rgba(0, 0, 0, 0.2);
}

.wc-helper-category-item img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    border-radius:0.25rem;
    overflow:hidden;
}

.wc-helper-category-name {
    font-size: 0.7rem; /* Small */
    display:block;
    background-color: #04ab9e;
    color:#fff !important;
    padding: 5px 15px;
    border-radius: 4px; /* Rounded corners */
    margin: 0;
    font-weight: bold;
    transition: background-color 0.3s;
    width:100%;
}

@media screen and (min-width:1920px){
    .wc-helper-category-item {
        width: calc((100% / 7) - 20px);
    }
    .wc-helper-category-name {
        font-size: 0.9rem;
    }
}
@media (max-width:600px) {
    .wc-helper-category-loop {
        gap: 10px;
    }
    .wc-helper-category-item {
        width: calc(50% - 10px);
    }
}
@media (min-width: 600px) and (max-width: 1024px) {
    .wc-helper-category-loop {
        gap: 10px;
    }
    .wc-helper-category-item {
        width: calc(25% - 10px);
    }
}
/* Cart Icon Shortcode */
.wc-helper-cart-icon-wrapper {
    display: inline-block;
    position: relative;
    text-decoration: none;
    vertical-align: middle;
}

.wc-helper-cart-icon-svg {
    width: 24px;
    height: auto;
    display: block;
}

.wc-helper-cart-count {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #d9534f;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 10px;
    line-height: 1;
    font-weight: bold;
    width: 18px;
    height: 18px;
    text-align: center;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}
