/* Ajustar imágenes en resultados de búsqueda */
.search-results .elementor-widget-theme-archive-title ~ * img,
.search-results .elementor-posts-container .elementor-post__thumbnail img,
.search-results ul.products li.product img,
body.search-results .site-main img {
    max-width: 300px !important;
    height: auto !important;
    margin: 0 auto;
    display: block;
}

/* Alargar el cuadro de búsqueda principal y el botón en el header */
.elementor-widget-search-form form {
    display: flex;
    width: 100%;
    max-width: 500px; /* Aumenta el ancho máximo del contenedor del buscador */
    margin-left: auto; /* Empuja el buscador hacia la derecha */
}

.elementor-widget-search-form input[type="search"] {
    width: 100% !important;
    flex-grow: 1;
    min-width: 300px; /* Ancho mínimo más largo para el input */
}

.elementor-widget-search-form .elementor-search-form__submit {
    min-width: 120px; /* Alarga el botón de buscar */
    padding: 0 20px;
}
