/* Product Categories Page Styles */

.category-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.2);
}

.category-icon {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 0.75rem;
}

.category-title {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.category-count {
    font-size: 0.8rem;
    padding: 0.3rem 0.6rem;
}

.subcategories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0 0.25rem;
}

.subcategory-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 0.75rem;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    text-decoration: none;
    color: #495057;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.subcategory-link:hover {
    background: #f8f9fa;
    border-color: #adb5bd;
    transform: translateY(-2px);
}

.subcategory-link .badge {
    font-size: 0.75rem;
}

/* Gradient variations for RadzenColumn */
.rz-g > div:nth-child(5n+1) .category-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.rz-g > div:nth-child(5n+2) .category-card {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.rz-g > div:nth-child(5n+3) .category-card {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.rz-g > div:nth-child(5n+4) .category-card {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.rz-g > div:nth-child(5n+5) .category-card {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .category-card {
        padding: 2rem 1rem;
        min-height: 160px;
    }

    .category-icon {
        font-size: 3rem;
    }

    .category-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .category-card {
        padding: 1.5rem 1rem;
        min-height: 140px;
    }

    .category-icon {
        font-size: 2.5rem;
    }

    .category-title {
        font-size: 1rem;
    }
}
