.recommended-category {
    display: flex;
    flex-direction: column;
    padding: 20px;
    /* background-color: #f5f5f5; */
    /* margin: 0 0 30px; */
}



.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
}

.category-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    padding: 10px;
}

.category-header {
    background-color: #026900;
    color: white;
    padding: 15px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.category-subtitle {
    font-size: 18px;
    margin-bottom: 5px;
}

.category-title {
    font-size: 24px;
    font-weight: bold;
}

.category-icon {
    margin-top: 10px;
    font-size: 24px;
}

.category-image img {
    width: 100%;
    max-height: 200px;
    object-fit: contain;
}

.category-description {
    padding: 15px;
    background-color: #fff;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.category-description h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.category-description p {
    font-size: 14px;
    color: #777;
    margin-bottom: 15px;
}

.category-link {
    font-size: 14px;
    color: #026900;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.category-link ion-icon {
    margin-left: 5px;
}

/* Hacer la grid responsive */
@media (max-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }

    .category-card {
        width: 100%;
    }
}

/* skeleton */
.skeleton-loader {
    animation: pulse 1.5s infinite ease-in-out;
}

.skeleton {
    background-color: #e0e0e0;
    border-radius: 4px;
}

.skeleton-title {
    width: 60%;
    height: 24px;
    margin-bottom: 8px;
}

.skeleton-subtitle {
    width: 30%;
    height: 16px;
    margin-bottom: 8px;
}

.skeleton-img {
    width: 100%;
    height: 150px;
    margin-bottom: 12px;
}

.skeleton-text {
    width: 100%;
    height: 16px;
    margin-bottom: 6px;
}

.skeleton-link {
    width: 80px;
    height: 20px;
    margin-top: 10px;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}