/**
 * Brimar_LiveSearchStorefront - Live Search autocomplete skin.
 *
 */
.search-autocomplete {
    border: 1px solid rgb(231, 231, 231);
    border-radius: 2px;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    overflow: hidden;
}

@media (width < 64rem) {
    .search-autocomplete > div {
        max-height: 50vh;
    }
}

.search-autocomplete > div > div > p > strong {
    display: block;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgb(231, 231, 231);
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgb(55, 65, 81);
}

/* ---------------------------------------------------------------------------
 * Suggestion rows.
 * ------------------------------------------------------------------------ */
.search-autocomplete li button:not(.flex) {
    padding: 8px;
    border-radius: 2px;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #000;
    transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.search-autocomplete li button:not(.flex):hover,
.search-autocomplete li button:not(.flex):focus-visible {
    background-color: rgb(243, 244, 246);
    color: rgb(4, 120, 87);
}

/* ---------------------------------------------------------------------------
 * Product rows.
 * ------------------------------------------------------------------------ */
.search-autocomplete li button.flex {
    align-items: center;
    gap: 12px;
    padding: 8px;
    border-radius: 2px;
    transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.search-autocomplete li button.flex:hover,
.search-autocomplete li button.flex:focus-visible {
    background-color: rgb(243, 244, 246);
}

/* The template ships 48px thumbnails; sign artwork needs more room to read. */
.search-autocomplete li button.flex img {
    width: 56px;
    height: 56px;
    flex: none;
    padding: 2px;
    border: 1px solid rgb(231, 231, 231);
    border-radius: 2px;
    background-color: #fff;
    object-fit: contain;
}

.search-autocomplete li button.flex strong {
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
    color: #000;
}

/* Second paragraph in the text column is the price. */
.search-autocomplete li button.flex p + p {
    margin-top: 2px;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    color: rgb(17, 24, 39);
}

.search-autocomplete > button {
    margin-top: 0;
    padding: 12px;
    border-top: 1px solid rgb(231, 231, 231);
    background-color: rgb(4, 120, 87);
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    color: #fff;
    transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.search-autocomplete > button:hover,
.search-autocomplete > button:focus-visible {
    background-color: rgb(6, 95, 70);
    font-weight: 500;
    color: #fff;
}
