Hi!
I have an issue with my header search icon where it will sometimes move when I click in and out of the search. How do I fix that?
<svg class="svg-icon svg-icon--search " aria-hidden="true" id="" focusable="false" role="presentation" xmlns="http://www.w3.org/2000/svg" data-icon-theme="option_1" width="24" height="24" viewBox="0 0 24 24"> <title></title> <g id="Search" transform="translate(23253.262 10695.262)"> <rect id="Rectangle_2" data-name="Rectangle 2918" width="24" height="24" transform="translate(-23253.262 -10695.262)" fill="none"></rect> <path id="search-plus" d="M19.845,19.4l-.442.442a.469.469,0,0,1-.664,0l-5.548-5.518c-.09-.09.37.27.37-.187a8.128,8.128,0,1,1,2.677-6.029,9.212,9.212,0,0,1-2.1,5.451c.457,0-.09-.5,0-.409l5.7,5.587A.469.469,0,0,1,19.845,19.4ZM14.988,8.111a6.877,6.877,0,1,0-6.877,6.877A6.872,6.872,0,0,0,14.988,8.111Z" transform="translate(-23251.57 -10693.086)"></path> </g> </svg>
<div class="wt-header__search__form">
<label class="wt-header__icon wt-header__search__label" for="search-shop">
<svg class="svg-icon svg-icon--search " aria-hidden="true" id="" focusable="false" role="presentation" xmlns="http://www.w3.org/2000/svg" data-icon-theme="option_1" width="24" height="24" viewBox="0 0 24 24"> <title></title> <g id="Search" transform="translate(23253.262 10695.262)"> <rect id="Rectangle_2" data-name="Rectangle 2918" width="24" height="24" transform="translate(-23253.262 -10695.262)" fill="none"></rect> <path id="search-plus" d="M19.845,19.4l-.442.442a.469.469,0,0,1-.664,0l-5.548-5.518c-.09-.09.37.27.37-.187a8.128,8.128,0,1,1,2.677-6.029,9.212,9.212,0,0,1-2.1,5.451c.457,0-.09-.5,0-.409l5.7,5.587A.469.469,0,0,1,19.845,19.4ZM14.988,8.111a6.877,6.877,0,1,0-6.877,6.877A6.872,6.872,0,0,0,14.988,8.111Z" transform="translate(-23251.57 -10693.086)"></path> </g> </svg>
<span class="visually-hidden">Search</span>
</label>
<input type="text" placeholder="" id="search-shop" name="q" class="wt-header__search__field" aria-controls="predictive-search-results-list" aria-autocomplete="list" aria-haspopup="listbox" aria-expanded="false" spellcheck="false" tabindex="-1" role="combobox" autocorrect="off" autocomplete="off" autocapitalize="off" data-search="true" aria-label="Search">
<div class="wt-header__search__clear-button__container">
<div class="wt-header__search__clear-button" role="button" aria-label="Remove all" tabindex="-1">
<svg class="svg-icon svg-icon--close " aria-hidden="true" id="" focusable="false" role="presentation" xmlns="http://www.w3.org/2000/svg" data-icon-theme="option_1" width="72" height="72" viewBox="0 0 72 72"> <title></title> <g transform="rotate(-90 -0.00000157361 72)" id="Close"> <rect x="0" y="72" fill="none" height="72" width="72" id="Rectangle_29"></rect> <path d="m58.76152,133.58844l-22.762,-22.577l-22.762,22.577a1.413,1.413 0 0 1 -1.994,0l-0.828,-0.824a1.381,1.381 0 0 1 0,-1.976l22.973,-22.787l-22.973,-22.788a1.387,1.387 0 0 1 0,-1.98l0.828,-0.824a1.422,1.422 0 0 1 1.994,0l22.764,22.579l22.76,-22.579a1.425,1.425 0 0 1 2,0l0.828,0.824a1.39,1.39 0 0 1 0,1.98l-22.969,22.788l22.969,22.787a1.389,1.389 0 0 1 0,1.979l-0.828,0.82a1.415,1.415 0 0 1 -2,0l0,0.001z" id="Union_1"></path> </g> </svg>
</div>
</div>
<button aria-label="Search" class="wt-header__search__button" tabindex="-1">
<svg class="svg-icon svg-icon--search " aria-hidden="true" id="" focusable="false" role="presentation" xmlns="http://www.w3.org/2000/svg" data-icon-theme="option_1" width="24" height="24" viewBox="0 0 24 24"> <title></title> <g id="Search" transform="translate(23253.262 10695.262)"> <rect id="Rectangle_2" data-name="Rectangle 2918" width="24" height="24" transform="translate(-23253.262 -10695.262)" fill="none"></rect> <path id="search-plus" d="M19.845,19.4l-.442.442a.469.469,0,0,1-.664,0l-5.548-5.518c-.09-.09.37.27.37-.187a8.128,8.128,0,1,1,2.677-6.029,9.212,9.212,0,0,1-2.1,5.451c.457,0-.09-.5,0-.409l5.7,5.587A.469.469,0,0,1,19.845,19.4ZM14.988,8.111a6.877,6.877,0,1,0-6.877,6.877A6.872,6.872,0,0,0,14.988,8.111Z" transform="translate(-23251.57 -10693.086)"></path> </g> </svg>
</button>
<button aria-label="Close search" class="wt-header__search__close" tabindex="-1">
<svg class="svg-icon svg-icon--close " aria-hidden="true" id="" focusable="false" role="presentation" xmlns="http://www.w3.org/2000/svg" data-icon-theme="option_1" width="72" height="72" viewBox="0 0 72 72"> <title></title> <g transform="rotate(-90 -0.00000157361 72)" id="Close"> <rect x="0" y="72" fill="none" height="72" width="72" id="Rectangle_29"></rect> <path d="m58.76152,133.58844l-22.762,-22.577l-22.762,22.577a1.413,1.413 0 0 1 -1.994,0l-0.828,-0.824a1.381,1.381 0 0 1 0,-1.976l22.973,-22.787l-22.973,-22.788a1.387,1.387 0 0 1 0,-1.98l0.828,-0.824a1.422,1.422 0 0 1 1.994,0l22.764,22.579l22.76,-22.579a1.425,1.425 0 0 1 2,0l0.828,0.824a1.39,1.39 0 0 1 0,1.98l-22.969,22.788l22.969,22.787a1.389,1.389 0 0 1 0,1.979l-0.828,0.82a1.415,1.415 0 0 1 -2,0l0,0.001z" id="Union_1"></path> </g> </svg>
</button>
</div>
<div class="wt-header__search__results">
-
<a class="card__title" href="/"> Home</a> </li><li class="search-result-top__item collection-list__item"></li><li class="search-result-top__item collection-list__item"><img class="card__img" srcset=" //cdn.shopify.com/s/files/1/0899/4275/3650/files/Screenshot_2025-08-14_125903.png?v=1766006467&width=375 375w, //cdn.shopify.com/s/files/1/0899/4275/3650/files/Screenshot_2025-08-14_125903.png?v=1766006467&width=1000 1000w " sizes="(min-width: 1000px) 620px, 100vw" src="//cdn.shopify.com/s/files/1/0899/4275/3650/files/Screenshot_2025-08-14_125903.png?v=1766006467&width=1000" alt="" loading="eager" width="500" height="500"> <div class="card__badges"> </div> </picture> </a> </div> <a href="/products/omega" tabindex="-1" data-omit-tabindex="" class="card"> <h3 class="card__title"> Omega </h3> </a></li><li class="search-result-top__item collection-list__item"><img class="card__img" srcset=" //cdn.shopify.com/s/files/1/0899/4275/3650/files/Screenshot_2025-08-19_122332.png?v=1765469294&width=375 375w, //cdn.shopify.com/s/files/1/0899/4275/3650/files/Screenshot_2025-08-19_122332.png?v=1765469294&width=1000 1000w " sizes="(min-width: 1000px) 620px, 100vw" src="//cdn.shopify.com/s/files/1/0899/4275/3650/files/Screenshot_2025-08-19_122332.png?v=1765469294&width=1000" alt="" loading="eager" width="486" height="487"> <div class="card__badges"> </div> </picture> </a> </div> <a href="/products/sleep" tabindex="-1" data-omit-tabindex="" class="card"> <h3 class="card__title"> Sleep </h3> </a></li><li class="search-result-top__item collection-list__item"><img class="card__img" srcset=" //cdn.shopify.com/s/files/1/0899/4275/3650/files/Screenshot_2025-08-14_125652.png?v=1766006533&width=375 375w, //cdn.shopify.com/s/files/1/0899/4275/3650/files/Screenshot_2025-08-14_125652.png?v=1766006533&width=1000 1000w " sizes="(min-width: 1000px) 620px, 100vw" src="//cdn.shopify.com/s/files/1/0899/4275/3650/files/Screenshot_2025-08-14_125652.png?v=1766006533&width=1000" alt="" loading="eager" width="500" height="500"> <div class="card__badges"> </div> </picture> </a> </div> <a href="/products/greens" tabindex="-1" data-omit-tabindex="" class="card"> <h3 class="card__title"> Greens </h3> </a></li><li class="search-result-top__item collection-list__item"> <a class="card__title" href="/pages/ingredients"> Learn More</a> </li><li class="search-result-top__item collection-list__item"> <a class="card__title" href="/pages/faq"> FAQ</a> </li><li class="search-result-top__item collection-list__item"> <a class="card__title" href="/pages/about-us"> About Us</a> </li><li class="search-result-top__item collection-list__item"> <a class="card__title" href="/pages/contact-us"> Contact Us</a> </li></ul>
<li class="wt-header__panel__item wt-header__panel__item--account">
<a href="/account" class="wt-header__panel__link wt-icon">
ACCOUNT
<span class="wt-header__panel__label"></span>
</a>
</li>