/**
 * Hero search dropdown.
 *
 * The input and its pill wrapper are the theme's; this only styles the panel
 * that drops out of it, and inherits the theme's radius and shadow language
 * rather than inventing its own.
 */

.esim-suggest-host {
    position: relative;
}

.esim-suggest {
    position: absolute;
    z-index: 30;
    top: calc(100% + .5rem);
    left: 0;
    right: 0;
    max-height: min(60vh, 26rem);
    overflow-y: auto;
    padding: .35rem;
    background: #fff;
    color: #1d1d1d;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .18);
    text-align: left;
}

.esim-suggest[hidden] {
    display: none;
}

.esim-suggest-group {
    padding: .5rem .75rem .25rem;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    opacity: .55;
}

.esim-suggest-item {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .55rem .75rem;
    border-radius: 10px;
    color: inherit;
    text-decoration: none;
}

.esim-suggest-item:hover,
.esim-suggest-item.is-active {
    background: rgba(0, 0, 0, .06);
    color: inherit;
}

.esim-suggest-item.is-empty {
    display: block;
    opacity: .7;
}

.esim-suggest-flag {
    flex: 0 0 auto;
    width: 22px;
    height: 16px;
    object-fit: cover;
    border-radius: 3px;
}

.esim-suggest-name {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.esim-suggest-meta {
    flex: 0 0 auto;
    font-size: .8rem;
    opacity: .6;
    white-space: nowrap;
}

@media (max-width: 575.98px) {
    .esim-suggest-meta {
        display: none;
    }
}
