/* Contenedor general */
.catalog-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    font-family: 'Poppins', sans-serif;
    color: #222;
  }
  
  /* Barra filtros */
  .filters-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-start;
    margin-bottom: 1.5rem;
  }
  
  .filters-bar input[type="text"],
  .filters-bar select {
    padding: 8px 12px;
    font-size: 1rem;
    border: 1.5px solid #ccc;
    border-radius: 6px;
    min-width: 200px;
    max-width: 280px;
    transition: border-color 0.3s ease;
  }
  
  .filters-bar input[type="text"]:focus,
  .filters-bar select:focus {
    border-color: #ff007f;
    outline: none;
  }
  
  #btnClearFilters {
    background-color: #ff007f;
    color: white;
    border: none;
    padding: 9px 20px;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    min-width: 120px;
  }
  
  #btnClearFilters:hover {
    background-color: #d6006c;
  }
  
  /* Grid perfiles */
  .catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
  }
  
  /* Card perfil */
  .profile-card {
    background: white;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease;
    max-width: 320px;
    margin: 0 auto;
  }
  
  .profile-card:hover {
    transform: translateY(-6px);
  }
  
  .profile-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
  }
  
  .profile-info {
    padding: 1rem 1.2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .profile-info h3 {
    margin: 0 0 0.5rem;
    font-size: 1.2rem;
    color: #ff007f;
  }
  
  .profile-info p {
    margin: 0.2rem 0;
    font-size: 0.95rem;
    color: #555;
  }
  
  .profile-info .skills {
    font-style: italic;
    color: #ff66a1;
    margin-bottom: 1rem;
  }
  
  .btn-view {
    align-self: flex-start;
    background-color: #ff007f;
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
  }
  
  .btn-view:hover {
    background-color: #d6006c;
  }
  
  /* Paginación */
  .pagination {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 10px;
  }
  
  .page-btn {
    border: 1.5px solid #ccc;
    background: white;
    padding: 0.5rem 0.9rem;
    cursor: pointer;
    border-radius: 6px;
    font-weight: 600;
    color: #222;
    transition: all 0.3s ease;
    min-width: 38px;
    user-select: none;
  }
  
  .page-btn:hover:not(:disabled) {
    background-color: #ff007f;
    color: white;
    border-color: #ff007f;
  }
  
  .page-btn:disabled {
    cursor: default;
    opacity: 0.5;
  }
  
  .page-btn.active {
    background-color: #ff007f;
    color: white;
    border-color: #ff007f;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .filters-bar {
      justify-content: center;
    }
  
    .profile-card {
      max-width: 100%;
      margin: 0;
    }
  }
  
  @media (max-width: 400px) {
    .filters-bar input[type="text"],
    .filters-bar select,
    #btnClearFilters {
      min-width: 100%;
    }
  
    .filters-bar {
      gap: 8px;
    }
  }