/* e-drive Center Suche - Live-Vorschau */

.edc-suche-wrapper {
    position: absolute;
    z-index: 9999;
    left: 0;
    right: 0;
    top: 100%;
    text-align: left;
    display: none;
}

.edc-suche-result.card {
    width: 100%;
    max-height: 70vh;
    overflow-y: auto;
    padding: .5rem 0;
    border: 1px solid #e0e0e0;
    box-shadow: 0 10px 25px -12px rgba(0, 0, 0, .45);
    background: #fff;
    border-radius: .25rem;
}

.edc-suche-heading {
    padding: .5rem 1rem;
    font-weight: 600;
    color: #555;
    font-size: .9rem;
}

.edc-suche-heading--manufacturer {
    border-top: 1px solid #eee;
    margin-top: .25rem;
}

.edc-suche-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.edc-suche-item + .edc-suche-item {
    border-top: 1px solid #f0f0f0;
}

.edc-suche-link {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .4rem 1rem;
    color: #222;
    text-decoration: none;
}

.edc-suche-link:hover {
    background: #f6f6f6;
    color: #000;
}

.edc-suche-img {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.edc-suche-img img {
    max-width: 100%;
    max-height: 40px;
    height: auto;
    width: auto;
}

.edc-suche-img--manufacturer img {
    max-height: 28px;
}

.edc-suche-artnr {
    flex: 0 0 auto;
    color: #888;
    font-size: .85rem;
    min-width: 70px;
}

.edc-suche-name {
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.edc-suche-price {
    flex: 0 0 auto;
    font-weight: 600;
    white-space: nowrap;
}

.edc-suche-more {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .6rem 1rem;
    border-top: 1px solid #eee;
}

.edc-suche-more-count {
    font-weight: 600;
    color: #555;
}

.edc-suche-more .edc-suche-submit {
    flex: 0 0 auto;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .edc-suche-wrapper {
        min-width: 480px;
    }
}
