/* --- Overlay de Búsqueda --- */
.vertex-ai-overlay-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 100000;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 10vh;
    overflow-y: auto;
}
.vertex-ai-overlay-content {
    background-color: white;
    padding: 2em;
    border-radius: 8px;
    width: 90%;
    max-width: 800px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.vertex-ai-close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 35px;
    line-height: 1;
    border: none;
    background: none;
    cursor: pointer;
    color: #888;
}
#vertex-ai-search-input {
    width: 100%;
    padding: 15px;
    font-size: 1.2em;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 1em;
}
#vertex-ai-results-container .vertex-ai-result-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: inherit;
}
#vertex-ai-results-container .vertex-ai-result-item:hover { background-color: #f9f9f9; }
#vertex-ai-results-container img { width: 60px; height: 60px; object-fit: cover; margin-right: 15px; }
#vertex-ai-results-container h4 { margin: 0; }
#vertex-ai-results-container .price { margin: 0; color: #555; }

/* --- Carrusel de Recomendaciones --- */
.vertex-ai-recommendations-widget { position: relative; }
.vertex-ai-carousel .swiper-slide { text-align: center; }
.vertex-ai-carousel .swiper-slide img { width: 100%; height: auto; margin-bottom: 10px; }
.vertex-ai-carousel .swiper-slide h5 { font-size: 1em; margin: 0 0 5px 0; }
.vertex-ai-carousel .swiper-button-next, .vertex-ai-carousel .swiper-button-prev { color: #333; }
.vertex-ai-carousel-loader {
    display: none; /* Se muestra con JS */
    text-align: center; padding: 2em;
}