html, body, .t-records {
    max-width: 100% !important;
    overflow-x: hidden !important;
    position: relative !important;
}

<div class="artist-search-wrap" id="artistSearchWrap">
  <div class="artist-search-box">
    <input type="text" id="artistSearchInput" class="artist-search-input" placeholder="Поиск художника по имени / Search artist..." autocomplete="off">
    <button type="button" id="artistSearchClear" class="artist-search-clear" aria-label="Очистить поиск" title="Очистить">&times;</button>
  </div>
  <div id="artistSearchEmpty" class="artist-search-empty">Художники не найдены / No artists found</div>
</div>


  .artist-search-wrap {
    max-width: 1160px;
    margin: 20px auto 35px auto;
    padding: 0 20px;
    box-sizing: border-box;
    clear: both;
  }
  .artist-search-box {
    position: relative;
    width: 100%;
  }
  .artist-search-input {
    width: 100%;
    padding: 15px 48px 15px 20px;
    font-size: 16px;
    font-family: inherit;
    background: #ffffff;
    color: #000000;
    border: 1px solid #cccccc;
    border-radius: 6px;
    outline: none;
    box-sizing: border-box;
  }
  .artist-search-input:focus {
    border-color: #000000;
  }
  .artist-search-clear {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border: none;
    background: transparent;
    color: #777777;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0;
    z-index: 5;
  }
  .artist-search-clear:hover {
    color: #000000;
  }
  .artist-search-clear.is-visible {
    display: flex !important;
  }
  .artist-search-empty {
    text-align: center;
    padding: 30px 0;
    font-size: 18px;
    color: #666666;
    display: none;
  }

  /* Сетка результатов поиска */
  .artists-search-grid {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 20px;
    max-width: 1200px;
    margin: 0 auto 60px auto;
    padding: 0 20px;
    box-sizing: border-box;
  }
  .artists-search-grid.is-active {
    display: grid !important;
  }
  .artists-search-grid > div,
  .artists-search-grid > li {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    display: block !important;
  }
  @media (max-width: 960px) {
    .artists-search-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  @media (max-width: 640px) {
    .artists-search-grid {
      grid-template-columns: 1fr;
    }
  }
</style>