/* Theme Studio — Nordia search results page */

.tf-search-results__title {
    margin: 0 0 1.5rem;
    color: var(--black, #111111);
    line-height: 1.2;
}

.tf-search-results__form {
    display: block;
    flex: none;
    max-width: none;
    width: 100%;
    margin: 0 0 1.25rem;
}

.tf-search-results__field {
    position: relative;
}

.tf-search-results__icon {
    position: absolute;
    left: 1.125rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    font-size: 1rem;
    width: 1rem;
    color: var(--black, #111111);
    pointer-events: none;
    line-height: 1;
}

/* Higher specificity than shared storefront-pages.css .tf-search-results__input */
.tf-search-results .tf-search-results__input.form-control {
    flex: none;
    height: 3.25rem;
    padding: 0.75rem 1.25rem 0.75rem 2.875rem;
    border: 1px solid var(--black, #111111);
    border-radius: 999px;
    background: var(--white, #ffffff);
    color: var(--black, #111111);
    font-size: 0.95rem;
    line-height: 1.4;
    box-shadow: none;
}

.tf-search-results .tf-search-results__input.form-control:focus {
    border-color: var(--black, #111111);
    box-shadow: none;
    outline: none;
}

.tf-search-results .tf-search-results__input.form-control::placeholder {
    color: var(--text-2, #999999);
}

.tf-search-results__recent {
    margin: 0 0 1.25rem;
}

.tf-search-results__recent[hidden] {
    display: none !important;
}

.tf-search-results__recent-label {
    margin: 0 0 0.75rem;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-2, #999999);
    line-height: 1.3;
}

.tf-search-results__recent-list {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.tf-search-results__recent-list::-webkit-scrollbar {
    display: none;
}

.tf-search-results__chip {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    gap: 0.35rem;
    max-width: 12rem;
    padding: 0.4rem 0.55rem 0.4rem 0.75rem;
    border-radius: 999px;
    background: var(--bg, #f2efe8);
    color: var(--black, #111111);
    line-height: 1.2;
}

.tf-search-results__chip-term {
    border: 0;
    background: none;
    padding: 0;
    margin: 0;
    font: inherit;
    font-size: 0.8125rem;
    color: inherit;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.tf-search-results__chip-del {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.1rem;
    height: 1.1rem;
    border: 0;
    padding: 0;
    margin: 0;
    background: none;
    color: var(--text-2, #999999);
    cursor: pointer;
    line-height: 1;
}

.tf-search-results__chip-del:hover,
.tf-search-results__chip-term:hover {
    color: var(--black, #111111);
}

.tf-search-results__chip-del .bi {
    font-size: 0.95rem;
    line-height: 1;
}

.tf-search-results__meta {
    margin: 0 0 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--line-6, #e5e5e5);
}

.tf-search-results__meta--bare {
    padding-top: 1.25rem;
    margin-bottom: 1.25rem;
}

.tf-search-results__count {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-2, #999999);
    line-height: 1.4;
}

.tf-search-results__prompt {
    padding-top: 1.25rem;
    border-top: 1px solid var(--line-6, #e5e5e5);
}

.tf-search-results__prompt-text {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--text-2, #999999);
    line-height: 1.5;
}

.tf-search-results__body[aria-busy="true"] {
    opacity: 0.55;
    pointer-events: none;
    transition: opacity 150ms ease;
}

@media (min-width: 992px) {
    .tf-search-results__title {
        margin-bottom: 1.75rem;
    }

    .tf-search-results__form {
        margin-bottom: 1.5rem;
    }

    .tf-search-results__recent {
        margin-bottom: 1.5rem;
    }

    .tf-search-results__meta,
    .tf-search-results__meta--bare {
        margin-bottom: 1.5rem;
        padding-top: 1.5rem;
    }

    .tf-search-results__prompt {
        padding-top: 1.5rem;
    }
}
