/* ========================================================
   FIRELAX - Category Grid Component Styles
   ======================================================== */

/* Category Cards Grid */
.category-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 0;
}

.category-card-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: white;
    border-radius: 16px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.category-card-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(254, 175, 57, 0.15);
    border-color: rgba(254, 175, 57, 0.3);
}

.category-card-item:hover .category-card-icon {
    background: linear-gradient(135deg, #feaf39 0%, #ff8c00 100%);
    transform: scale(1.1);
}

.category-card-item:hover .category-card-icon i {
    color: white;
}

.category-card-item:hover .category-card-arrow {
    transform: translateX(5px);
    color: #feaf39;
}

.category-card-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(254, 175, 57, 0.15) 0%, rgba(254, 175, 57, 0.08) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.category-card-icon i {
    font-size: 1.5rem;
    color: #feaf39;
    transition: color 0.3s ease;
}

.category-card-content {
    flex: 1;
    min-width: 0;
}

.category-card-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1d23;
    margin: 0 0 0.25rem 0;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.category-card-count {
    font-size: 0.875rem;
    color: #6c757d;
    font-weight: 500;
}

.category-card-arrow {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.category-card-arrow i {
    font-size: 0.875rem;
    color: #6c757d;
}

/* Responsive */
@media (max-width: 1200px) {
    .category-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .category-cards-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .category-card-item {
        padding: 1rem 1.25rem;
    }
    
    .category-card-icon {
        width: 48px;
        height: 48px;
        min-width: 48px;
    }
    
    .category-card-icon i {
        font-size: 1.25rem;
    }
}
