.pro {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 250px;
    height: 450px; /* altura fija para igualarlas */
    padding: 15px;
    margin: 10px;
    border-radius: 20px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    background-color: #fff;
    transition: transform 0.3s ease;
}

.pro:hover {
    transform: translateY(-5px);
}

.pro img {
    width: 100%;
    max-height: 180px;
    object-fit: contain;
}

.descreption {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.descreption h5 {
    min-height: 40px;
}

.pro h4 {
    margin: 10px 0;
    color: #28a745;
}

.pro button {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-top: auto;
    margin-bottom: 10px;
}

.pro button:hover {
    background-color: #218838;
    transform: scale(1.05);
}

.pro button:active {
    transform: scale(0.95);
}

.filtro-categorias {
    text-align: center;
    margin: 40px 0 20px;
    padding-top: 60px; /* Añade espacio debajo del navbar fijo */
}

.filtro-categorias label {
    font-weight: bold;
    font-size: 1.1rem;
    color: #333;
    margin-right: 10px;
}

.filtro-categorias select {
    padding: 10px 16px;
    font-size: 1rem;
    border: 2px solid #ffc107; /* Amarillo vibrante */
    border-radius: 10px;
    background-color: #ffffff;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.filtro-categorias select:hover {
    background-color: #fff9e6;
    border-color: #ffca28;
}

.filtro-categorias select:focus {
    outline: none;
    border-color: #ffb300;
    box-shadow: 0 0 6px #ffeb3b88;
}

@media (max-width: 768px) {
  #navbar {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    padding: 20px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-200%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease-in-out;
    z-index: 998;
  }

  #navbar.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  #mobile {
    display: block;
    font-size: 1.6rem;
    cursor: pointer;
    z-index: 999;
  }

  #navbar li {
    margin: 10px 0;
  }
}