/* CAMBIO (backend): estilos de la búsqueda conectada al backend (tarjetas con imagen y mensajes).
   Archivo nuevo: no modifica styles.css. Si se prefiere, su contenido se puede pasar al final de styles.css.
   El campo de presupuesto ya tiene sus estilos en styles.css. */

.product-visual img { width: 100%; height: 172px; object-fit: contain; background: white; }
.card-actions a.button { text-decoration: none; }

.search-status { margin: 0 0 16px; font-size: 13px; color: var(--muted); }
.search-status.loading::before {
  content: ""; display: inline-block; width: 13px; height: 13px; margin-right: 8px; vertical-align: -2px;
  border: 2px solid var(--green-soft); border-top-color: var(--green); border-radius: 50%;
  animation: girar .8s linear infinite;
}
.search-status.error { color: #B54E51; }
.search-notices { margin: 0 0 16px; font-size: 12px; color: #8A7A3E; line-height: 1.6; }

@keyframes girar { to { transform: rotate(360deg); } }

@media (max-width: 620px) {
  .product-visual img { height: 135px; }
}
