body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-image: url("images/Beautiful-Gradient-Wallpaper.jpg");
    background-size: cover;
    background-position: center;
}

.container {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px;
    margin: 50px auto;
    max-width: 800px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.search-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.search-bar button {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-bar button:hover {
    background-color: #45a049;
}

.search-bar input {
    padding: 10px;
    width: 60%;
    border: 2px solid #ccc;
    border-radius: 5px;
    margin: 0 10px; /* Espacio entre el botón de inicio y el campo de búsqueda */
}

#inventory {
    display: flex;
    flex-direction: column; /* Cambiar a columna para evitar problemas de alineación */
}

.product {
    display: flex;
    align-items: center;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 5px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 120px; /* Mantener altura uniforme para todos los productos */
}

.product:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border: 2px solid #4CAF50;
}

.product img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
    margin-right: 20px;
}

.product-info {
    flex-grow: 1;
}

.product-info h3 {
    margin: 0 0 10px 0;
}

.product-price {
    font-weight: bold;
}

.availability {
    color: green;
}

#no-results {
    text-align: center;
    color: red;
}

footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9em;
    color: #333;
    font-family: 'Arial', sans-serif;
    font-size: 20px;
    font-weight: bold;
    font-style: italic;
}
.productos-disponibles {
    font-size: 1.2em; /* Ajusta el tamaño según lo necesites */
    text-align: center; /* Asegúrate de que el texto esté centrado */
    color: #333; /* Puedes cambiar el color si lo deseas */
    margin: 20px 0; /* Espaciado arriba y abajo */
}

.no-disponible {
    color: red;
}