/* Estilos para el grid de categorías */
.wccg-category-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 20px;
}
.wccg-category-item:nth-child(17) {
    display: none !important;
}

.wccg-category-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Sombra inicial */
    transition: box-shadow 0.5s ease, transform 0.5s ease; /* Transición suave */
}

.wccg-category-item:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4); /* Sombra más pronunciada */
    transform: scale(1.1); /* Zoom */
}

.wccg-category-link {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 300px;
    width: 100%;
    position: relative;
    overflow: hidden;
    padding: 20px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #DDE4E8;
    text-decoration: none;
    color: #fff;
}

/* Overlay oscuro para mejorar visibilidad de los textos */
.wccg-category-link::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(25, 29, 38, 0.43); /* Gris oscuro opaco */
    z-index: 1;
    pointer-events: none;
}

/* Contenido por encima del overlay */
.wccg-category-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff !important;
    padding: 20px;
    border-radius: 8px;
}

/* Título en blanco, grande, centrado */
.wccg-category-content h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    text-align: center;
    font-family: 'poppins', sans-serif;
    text-transform: uppercase;
    color: #fff !important;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

/* Info extra también en blanco */
.wccg-more-info {
    font-size: 0.95em;
    text-align: center;
    color: #fff !important;
    text-shadow: 0 1px 4px rgba(0,0,0,0.13);
}

.wccg-arrow {
    font-size: 1.2em;
    margin-left: 5px;
}

/* Responsive */
@media (max-width:768px){
    .wccg-category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-top: 20px;
    }
}
@media (min-width:768px) and (max-width:1000px) {
    .wccg-category-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        margin-top: 20px;
    }
}
