/* EcuadorUtil Home Universal Search 2.0 */

.eu-home-v8{
    overflow:visible;
}

.eu-home-v8 .euv8-hero{
    position:relative;
    z-index:20;
    overflow:visible !important;
}

.eu-home-v8 .euv8-hero-inner,
.eu-home-v8 .euv8-hero-copy{
    overflow:visible !important;
}

.eu-home-v8 .euv8-search{
    position:relative;
    z-index:300;
    overflow:visible !important;
}

.eu-home-v8 .euv8-search .smart-search-results{
    position:absolute !important;
    top:calc(100% + 10px) !important;
    left:0 !important;
    right:0 !important;

    z-index:5000 !important;

    display:none;
    width:100%;
    max-height:min(58vh,520px);

    overflow-x:hidden !important;
    overflow-y:auto !important;
    overscroll-behavior:contain;

    border:1px solid #d9e5de;
    border-radius:18px;

    background:#fff;

    box-shadow:
        0 22px 60px rgba(13,27,56,.18),
        0 4px 14px rgba(13,27,56,.06);

    scrollbar-width:thin;
}

.eu-home-v8
.euv8-search
.smart-search-results.is-expanded{
    max-height:min(68vh,640px);
}

.eu-home-search-state{
    padding:20px;
    color:#61758b;
    font-size:.92rem;
    line-height:1.5;
}

.eu-home-search-result{
    display:block;

    padding:15px 18px;

    border-bottom:1px solid #edf2ef;

    background:#fff;
    color:inherit;

    text-decoration:none;
}

.eu-home-search-result:last-child{
    border-bottom:0;
}

.eu-home-search-result:hover,
.eu-home-search-result:focus-visible,
.eu-home-search-result.is-active{
    background:#f2fbf6;
    outline:0;
    box-shadow:inset 3px 0 0 #079348;
}

.eu-home-search-result-top{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:12px;
}

.eu-home-search-result strong{
    min-width:0;

    color:#0d1b38;

    font-size:.96rem;
    line-height:1.3;
}

.eu-home-search-badge{
    flex:0 0 auto;

    padding:4px 8px;

    border-radius:999px;

    background:#eaf8f0;
    color:#057c3b;

    font-size:.66rem;
    font-weight:850;
    line-height:1.2;
}

.eu-home-search-meta{
    display:block;

    margin-top:4px;

    color:#079348;

    font-size:.75rem;
    font-weight:800;
}

.eu-home-search-result p{
    margin:6px 0 0;

    color:#61758b;

    font-size:.83rem;
    line-height:1.45;
}

.eu-home-search-expanded-head{
    position:sticky;
    top:0;
    z-index:6;

    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;

    padding:13px 16px;

    border-bottom:1px solid #dfe9e3;

    background:rgba(255,255,255,.97);

    color:#0d1b38;

    backdrop-filter:blur(10px);
}

.eu-home-search-expanded-head strong{
    font-size:.88rem;
}

.eu-home-search-close{
    width:34px;
    height:34px;

    flex:0 0 34px;

    border:0;
    border-radius:50%;

    background:#eef4f1;
    color:#29445f;

    font-size:1.3rem;
    line-height:1;

    cursor:pointer;
}

.eu-home-search-group{
    border-bottom:1px solid #e8efeb;
}

.eu-home-search-group:last-child{
    border-bottom:0;
}

.eu-home-search-group-title{
    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:12px;

    padding:10px 16px;

    background:#f8fbf9;
    color:#29445f;
}

.eu-home-search-group-title strong{
    font-size:.76rem;
    font-weight:900;
    letter-spacing:.035em;
    text-transform:uppercase;
}

.eu-home-search-group-title span{
    min-width:24px;

    padding:3px 7px;

    border-radius:999px;

    background:#e7f6ed;
    color:#057c3b;

    font-size:.68rem;
    font-weight:900;
    text-align:center;
}

body.eu-search-open
.eu-home-v8
.euv8-hero{
    z-index:300;
}

.eu-home-v8 > section:not(.euv8-hero){
    position:relative;
    z-index:1;
}

body.eu-search-open .eu-chat-launch{
    opacity:.16;
    pointer-events:none;
}

@media(max-width:680px){

    .eu-home-v8 .euv8-search{
        z-index:500;
    }

    .eu-home-v8
    .euv8-search
    .smart-search-results{
        top:calc(100% + 8px) !important;

        left:0 !important;
        right:0 !important;

        width:100%;

        max-height:56vh;

        border-radius:15px;
    }

    .eu-home-v8
    .euv8-search
    .smart-search-results.is-expanded{
        max-height:64vh;
    }

    .eu-home-search-result{
        padding:14px 15px;
    }

    .eu-home-search-result strong{
        font-size:.92rem;
    }

    .eu-home-search-result p{
        font-size:.79rem;
    }

    .eu-home-search-badge{
        font-size:.61rem;
    }

    body.eu-search-open .eu-chat-launch{
        opacity:0 !important;
        visibility:hidden !important;
        pointer-events:none !important;
    }
}
