.pixels-search-host {
    position: relative;
}

.pixels-search-suggestions[hidden] {
    display: none !important;
}

.pixels-search-suggestions {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    width: 100%;
    min-width: 280px;
    padding: 22px 20px;
    background: #fff;
    color: #111;
    border-radius: 12px;
    box-shadow: 0 3px 12px #0003;
    z-index: 1050;
    text-align: left;
    max-height: min(560px, 65vh);
    overflow-y: auto;
    overscroll-behavior: contain;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    text-transform: none;
    margin-left: 0px;
}

.pixels-search-suggestions h3 {
    color: #111;
    font-size: 18px;
    margin: 0 0 14px;
}

.pixels-search-promotions {
    display: grid;
    gap: 12px;
    margin-bottom: 32px;
}

.pixels-search-promotion {
    display: flex;
    align-items: center;
    gap: 16px;
}

.pixels-search-bolt {
    color: #ffbc00;
    font: bold 32px/1 sans-serif;
    flex-shrink: 0;
}

.pixels-search-suggestions .pixels-search-promotion a {
    color: #111;
    padding: 0;
    text-transform: none;
}

.pixels-search-categories {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.pixels-search-suggestions .pixels-search-category {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-width: 0;
    padding: 20px 12px;
    min-height: 130px;
    background: #eee;
    border-radius: 10px;
    color: #111;
    text-decoration: none;
    text-transform: none;
    transition: background .2s;
}

.pixels-search-suggestions .pixels-search-category:hover,
.pixels-search-suggestions .pixels-search-category:focus-visible {
    background: #e2e2e2;
}

.pixels-search-suggestions .pixels-search-category img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 5px;
    margin: 0;
    filter: none;
}

/* Override the header menu image spin inside search category cards. */
.pixels-search-suggestions a.pixels-search-category:hover img,
.pixels-search-suggestions a.pixels-search-category:focus-visible img {
    animation: none;
    transform: none;
}

.pixels-search-category span {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
}

.pixels-search-host .searchform {
    margin-bottom: 0;
}

@media (max-width: 549px) {
    .pixels-search-suggestions {
        padding: 16px;
        min-width: 0;
        font-size: 14px;
    }

    .pixels-search-categories {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .pixels-search-suggestions .pixels-search-category {
        padding: 14px 8px;
        min-height: 110px;
    }

    .pixels-search-suggestions h3 {
        font-size: 18px;
    }
}