html {
    scroll-behavior: smooth;
}

/*
|--------------------------------------------------------------------------
| Espacio superior antes del ID
|--------------------------------------------------------------------------
*/

[id] {
    scroll-margin-top: 90px;
}

/*
|--------------------------------------------------------------------------
| Contenedor
|--------------------------------------------------------------------------
*/

.asr-search-wrapper {
    width: 100%;
    max-width: 500px;
    margin: 20px auto;
    position: relative !important;
    z-index: 999999999 !important;
    overflow: visible !important;
}

.column,
.column_attr,
.section_wrapper,
.mcb-wrap,
.mcb-wrap-inner {
    overflow: visible !important;
}

/*
|--------------------------------------------------------------------------
| Formulario
|--------------------------------------------------------------------------
*/

#asr-search-form {
    display: flex;
    gap: 10px;
}

#asr-search-input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
}

#asr-search-form button {
    padding: 10px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    background: #0073aa;
    color: #fff;
    font-size: 16px;
    transition: 0.2s;
    height: 46px;
}

#asr-search-form button:hover {
    background: #005177;
}

#asr-search-message {
    margin-top: 10px;
    color: red;
    font-size: 14px;
}

/*
|--------------------------------------------------------------------------
| Autocompletado
|--------------------------------------------------------------------------
*/

#asr-autocomplete {
    position: absolute;
    top: calc(80% + 8px);
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 170px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
    display: none;
    z-index: 9999999999;
}

.asr-autocomplete-item {
    padding: 2px 14px;
    cursor: pointer;
    transition: .15s;
    font-size: 15px;
}

.asr-autocomplete-item:hover {
    background: #f5f5f5;
}

/*
|--------------------------------------------------------------------------
| Highlight del resultado encontrado
|--------------------------------------------------------------------------
*/

.asr-highlight {
    position: relative;
    z-index: 999;
    animation: asrHighlight 4s ease;
    box-shadow: 0 0 0 4px rgba(22, 212, 0, 0.7);
    border-radius: 0px;
}

@keyframes asrHighlight {

    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(22, 212, 0, 0);
    }

    30% {
        transform: scale(1.01);
        box-shadow: 0 0 25px 8px rgba(22, 212, 0, 0.9);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(22, 212, 0, 0);
    }

}