.woo-cat-grid-d21b22b6 {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
}

@media(min-width: 768px) {
    .woo-cat-grid-d21b22b6 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(min-width: 1024px) {
    .woo-cat-grid-d21b22b6 {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }
}

.woo-cat-card-d21b22b6 {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.woo-cat-img-wrap-d21b22b6 {
    position: relative;
    display: block;
    width: 100%;
    padding-top: 130%;
    overflow: hidden;
}

.woo-cat-img-d21b22b6 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}

.woo-badge-d21b22b6 {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff;
    text-transform: uppercase;
    background-color: #111;
}

.woo-cat-content-d21b22b6 {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    z-index: 2;
}

/* Overlay Layout Styles */
.woo-cat-layout-overlay .woo-cat-card-d21b22b6 {
    background: transparent;
}

.woo-cat-layout-overlay .woo-cat-img-wrap-d21b22b6::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.3);
    z-index: 1;
    transition: background-color 0.3s ease;
}

.woo-cat-layout-overlay .woo-cat-content-d21b22b6 {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    padding: 30px;
}

.woo-cat-layout-overlay .woo-cat-title-d21b22b6 a,
.woo-cat-layout-overlay .woo-cat-count-d21b22b6 {
    color: #fff;
}

/* Typography elements */
.woo-cat-count-d21b22b6 {
    font-size: 11px;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.woo-cat-title-d21b22b6 {
    font-size: 16px;
    margin: 0;
    font-family: "Times New Roman", serif;
    font-weight: 400;
}

.woo-cat-title-d21b22b6 a {
    color: #111;
    text-decoration: none;
    transition: color 0.3s ease;
    pointer-events: auto;
}