/* GRID */
.wc-cat-grid {
    display: grid;
    gap: 32px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    align-items: start;
    justify-items: center;
}

/* 2 items naast elkaar op mobiel */
@media (max-width: 768px) {
    .wc-cat-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

/* CARD */
.wc-cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
    width: 100%;
    max-width: 240px;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    transition: transform 0.25s ease;
}

.wc-cat-card:hover {
    transform: translateY(-3px);
}

/* THUMB */
.wc-cat-thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 12px;
    background-color: #f3eee9; /* zachte beige achtergrond */
}

/* Afbeelding */
.wc-cat-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .25s ease;
}

.wc-cat-card:hover .wc-cat-thumb img {
    transform: scale(1.02);
}

/* Titel */
.wc-cat-title {
    margin-top: 12px;
    text-align: center;
    font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
    font-weight: 500;
    font-size: 1.05rem;
    line-height: 1.4;
    color: #000;
}

/* → pijltje */
.wc-cat-title::after {
    content: " →";
    font-weight: 400;
}

/* Optioneel: subtiele overgang bij hover */
.wc-cat-card:hover .wc-cat-title {
    text-decoration: underline;
}
