/* Desktop search for Header Style 1, with the category search's 6px corners. */
.stvm-header [hidden] {
    display: none !important;
}

.stvm-search-toggle,
.stvm-search-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: var(--tp-grey-1);
    color: var(--tp-common-black);
    cursor: pointer;
}

.stvm-search-toggle:hover,
.stvm-search-close:hover {
    color: var(--tp-theme-1);
}

.stvm-search-toggle:focus-visible,
.stvm-search-close:focus-visible,
.stvm-search-panel input:focus-visible {
    outline: 2px solid var(--tp-theme-1);
    outline-offset: 3px;
}

.stvm-search-panel .header__search-input input {
    padding-right: 60px;
    border-radius: 6px;
}

.stvm-search-panel input::-webkit-search-cancel-button {
    -webkit-appearance: none;
}

.stvm-search-close {
    position: absolute;
    top: 0;
    right: 5px;
    background: transparent;
}

.stvm-search-ready .stvm-search-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding-top: 20px;
    z-index: 1;
}
