
/* Active inventory keyword search */
.ih-keyword-search  input,
.ih-keyword-search  button{
    font-family: var(--font-primary), sans-serif;
}
.ih-keyword-search {
    display: flex;
    align-items: stretch;
    gap: 8px;
    width: 100%;
    margin: 0 0 20px;

}
.ih-keyword-search__input {
    flex: 1;
    min-height: 48px;
    padding: 0 16px;
    border: 1px solid #d8d8d8;
    background: #fff;
    color: #111;
    font-size: 16px;
    line-height: 48px;
    border-radius: 0;
    box-sizing: border-box;
}
.ih-keyword-search__submit,
.ih-keyword-search__clear {
    min-height: 48px;
    padding: 0 18px;
    border: 1px solid #111;
    background: #111;
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    line-height: 1;
    border-radius: 0;
    box-sizing: border-box;
    cursor: pointer;
}
.ih-keyword-search__clear {
    background: #fff;
    color: #111;
}
@media (max-width: 767px) {
    .ih-keyword-search {
        flex-direction: column;
    }
}

.ih-keyword-search-wrap {
    width: 100%;
    margin: 0 0 0;
}

.ih-keyword-search {
    position: relative;
    width: 100%;
}

.ih-keyword-search__bar {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 58px;
    background: #fff;
    border: 1px solid #d8d8d8;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.ih-keyword-search__icon {
    width: 58px;
    min-width: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #111;
}

.ih-keyword-search__input {
    flex: 1;
    height: 58px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #111;
    font-size: 15px;
    padding: 0 12px;
}

.ih-keyword-search__input::placeholder {
    color: #777;
}

.ih-keyword-search__clear-btn {
    width: 44px;
    min-width: 44px;
    height: 58px;
    border: 0;
    background: transparent;
    color: #777;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    display: none;
}

.ih-keyword-search.has-value .ih-keyword-search__clear-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ih-keyword-search__submit {
    height: 58px;
    min-width: 120px;
    border: 0;
    background: linear-gradient(180deg, #A00C01 0%, #DA291C 64%);
    color: #fff;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.08em;
    cursor: pointer;
}

.ih-keyword-search__dropdown {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 1px);
    background: #fff;
    border: 1px solid #d8d8d8;
    border-top: 0;
    z-index: 20;
    padding: 16px 0;
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.1);
}

.ih-keyword-search.is-open .ih-keyword-search__dropdown {
    display: block;
}

.ih-keyword-search__dropdown-title {
    padding: 0 22px 10px;
    color: #d71920;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.ih-keyword-search__dropdown button {
    display: block;
    width: 100%;
    border: 0;
    background: transparent;
    text-align: left;
    padding: 8px 22px;
    color: #111;
    font-size: 14px;
    cursor: pointer;
}

.ih-keyword-search__dropdown button:hover {
    background: #f3f3f3;
}

.ih-keyword-search__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.ih-keyword-search__chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 0 14px;
    background: #111;
    color: #fff;
    border-radius: 20px;
    font-size: 14px;
}

.ih-keyword-search__chip a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    line-height: 1;
}

@media (max-width: 767px) {
    .ih-keyword-search {
        max-width: none;
    }

    .ih-keyword-search__bar {
        min-height: 56px;
    }

    .ih-keyword-search__input {
        height: 56px;
        font-size: 14px;
    }

    .ih-keyword-search__submit {
        min-width: 96px;
        height: 56px;
    }

    .ih-keyword-search__icon {
        width: 50px;
        min-width: 50px;
    }

    .ih-keyword-search__clear-btn {
        height: 56px;
    }
}