.site_search .search-toggle {
    cursor: pointer;
    border: 0;
    background: transparent;
    color: inherit;
    padding: 0;
    display: flex;
    align-items: center;
    height: 100%;
}
.site_search .search-toggle:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}
/* Full-width search overlay, matching the original group website header. */
.search-form-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--search-panel-color, var(--metalite-group));
    padding: 45px 30px;
    z-index: 99998;
    transform: translateY(-100%);
    visibility: hidden;
    transition: transform 300ms ease, visibility 300ms;
}
.admin-bar .search-form-wrapper {
    top: var(--wp-admin--admin-bar--height, 32px);
}
.search-form-wrapper.active {
    transform: translateY(0);
    visibility: visible;
    box-shadow: 0 2px 5px rgba(0,0,0,.2);
}
.search-form-wrapper .search-panel-content {
    position: relative;
    max-width: var(--widthdesktop);
    margin: 0 auto;
    padding-right: 40px;
}
.search-form-wrapper .search-form {
    position: relative;
    margin: 0;
    width: 100%;
}
.search-form-wrapper .search-field {
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: 60px;
    margin: 0;
    padding: 0 60px 0 20px;
    border: 0;
    border-radius: 0;
    outline: none;
    background: #fff;
    color: #333;
    font-family: inherit;
    font-size: 22px;
    font-weight: 300;
    line-height: 60px;
}
.search-form-wrapper .search-field::placeholder {
    color: #777;
    opacity: 1;
}
.search-form-wrapper .search-submit,
.search-form-wrapper .search-close {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
    width: 60px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #333;
    cursor: pointer;
}
.search-form-wrapper .search-close {
    right: -10px;
    width: 40px;
    color: #fff;
}
.search-form-wrapper .dashicons {
    width: 24px;
    height: 24px;
    font-size: 24px;
}
.search-form-wrapper .search-close .dashicons {
    font-size: 28px;
    width: 28px;
    height: 28px;
    transition: transform 300ms ease;
}
.search-form-wrapper .search-close:hover .dashicons {
    transform: rotate(180deg);
}
.search-form-wrapper button:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: -4px;
}
@media (max-width: 600px) {
    .search-form-wrapper { padding: 30px 20px; }
    .search-form-wrapper .search-field { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
    .search-form-wrapper,
    .search-form-wrapper .search-close .dashicons { transition: none; }
}

