/* ===== Category Page Styles (Page-Specific Only) ===== */

.category-section {
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
    background: #fff8f9;
  }
  
  /* Header area */
  .cat-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    padding-top: 1rem;
  }
  
  /* Grid for category cards */
  .category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, max-content)); 
    gap: 2rem;
    padding-bottom: 1.5rem;
    justify-content: center; /* centers cards when few items */
  }
  
  /* Category Card */
  .category-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
  }
  
  .category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
  }
  
  .category-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
  }
  
  /* Title */
  .category-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #c777b9;
    margin: 1rem 0;
  }
  
  /* Mobile tweaks */
  @media (max-width: 600px) {
    .category-grid {
      gap: 1.2rem;
    }
  
    .category-card h3 {
      font-size: 1rem;
    }
  }
  