/* Estilos del Botón Principal */
.bvw-search-button {
    cursor: pointer;
    padding: 10px 20px;
    font-size: 16px;
    border: 1px solid #ccc;
    background-color: #f0f0f0;
    border-radius: 5px;
}

/* Contenedor del Modal */
#bvw-search-modal-container {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    align-items: center;
    justify-content: center;
}

/* Contenido del Modal */
#bvw-search-modal {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    margin-top: 700px !important;
    max-width: 800px;
    min-height: 500px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

#bvw-close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    background: none;
    border: none;
    cursor: pointer;
}

#bvw-upload-area, #bvw-loader {
    text-align: center;
    padding-top: 100px;
}
#bvw-preview-image {
    max-width: 200px;
    max-height: 200px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
}

/* Grid de Resultados */
#bvw-results-area h2 {
    text-align: center;
    margin-bottom: 20px;
}
.bvw-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}
.bvw-product-card {
    border: 1px solid #eee;
    text-align: center;
}
.bvw-product-card a {
    text-decoration: none;
    color: inherit;
}
.bvw-product-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    object-fit: cover;
}
.bvw-product-card h3 {
    font-size: 14px;
    margin: 5px 0;
    padding: 0 5px;
}
.bvw-product-card .price {
    font-weight: bold;
    color: #333;
}

/* Arreglo para dar espacio superior a los resultados */
#bvw-results-area {
    padding-top: 20px !important;
}
