/* Общий поиск в шапке av55 (16.11.2026) — local/av55-search. Форма .av55-gs, подсказки .av55-gs-drop, выдача /search/. */
.av55-gs { position: relative; display: flex; align-items: center; }
.av55-gs input[type="search"] {
    width: 190px; height: 34px; padding: 0 34px 0 12px; border: 1px solid rgba(0,0,0,.15); border-radius: 17px;
    background: #fff; color: #222; font-size: 14px; outline: none; transition: width .2s, border-color .2s; -webkit-appearance: none;
}
.av55-gs input[type="search"]:focus, .av55-gs.is-open input[type="search"] { width: 320px; border-color: #e8442a; }
.av55-gs input::-webkit-search-cancel-button { -webkit-appearance: none; }
.av55-gs button { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border: 0; background: none; color: #555; cursor: pointer; padding: 0; display: flex; align-items: center; justify-content: center; }
.av55-gs-drop {
    position: absolute; right: 0; top: calc(100% + 6px); z-index: 1000; width: 440px; max-height: 70vh; overflow: auto;
    background: #fff; border-radius: 14px; box-shadow: 0 12px 40px rgba(0,0,0,.18); padding: 6px 0; text-align: left;
}
.av55-gs-grp + .av55-gs-grp { border-top: 1px solid #f0f0f0; }
.av55-gs-gt { padding: 8px 14px 2px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #9a9ea6; }
.av55-gs-item { display: flex; gap: 10px; align-items: center; padding: 6px 14px; color: #222 !important; text-decoration: none !important; }
.av55-gs-item:hover, .av55-gs-item.is-active { background: #fff3ef; }
.av55-gs-item img, .av55-gs-item .av55-gs-noimg { flex: 0 0 56px; width: 56px; height: 37px; object-fit: cover; border-radius: 6px; background: #f2f2f2; }
.av55-gs-item span { display: flex; flex-direction: column; min-width: 0; }
.av55-gs-item b { font-weight: 600; font-size: 14px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.av55-gs-item small { font-size: 12px; color: #8b909a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.av55-gs-all { display: block; margin: 4px 8px 2px; padding: 9px 10px; border-radius: 10px; background: linear-gradient(90deg, #fdbf00, #d71200); color: #fff !important; font-weight: 600; font-size: 14px; text-decoration: none !important; text-align: center; }
.av55-gs-all.is-active, .av55-gs-all:hover { filter: brightness(1.05); }

/* мобильная строка (вне разделов «Артисты» и «Площадки», у них своя): лупа в шапке перед кнопкой звонка, по нажатию
   строка раскрывается под шапкой поверх страницы — заголовки страниц не перекрываются */
.av55-gs-m, .av55-gs-mbtn { display: none; }
@media (max-width: 767px) {
    .av55-gs-mbtn {
        display: flex; align-items: center; justify-content: center; flex: 0 0 40px; width: 40px; height: 40px; margin: 22px 8px 0 0;   /* как у кнопки звонка .av55mm-hphone */
        border: 1px solid rgba(255,255,255,.55); border-radius: 50%; background: transparent; color: #fff; padding: 0; cursor: pointer;
    }
    .av55-gs-mbtn.is-on { background: #fff; color: #d71200; border-color: #fff; }
    .av55-gs-m.is-shown { display: block; position: absolute; left: 0; right: 0; top: 100%; z-index: 20; padding: 10px 12px 12px; background: #fff; box-shadow: 0 10px 24px rgba(0,0,0,.18); }
    .av55-gs-m .av55-gs { width: 100%; }
    .av55-gs-m .av55-gs input[type="search"], .av55-gs-m .av55-gs input[type="search"]:focus { width: 100%; height: 44px; border-radius: 22px; font-size: 16px; }
    .av55-gs-m .av55-gs-drop { left: 0; right: 0; width: auto; max-height: 65vh; }
}

/* выдача /search/ */
.av55-gs-page { padding: 24px 0 48px; }
.av55-gs-page h1 { margin: 0 0 16px; }
.av55-gs-page .av55-gs-big { max-width: 720px; margin-bottom: 18px; }
.av55-gs-page .av55-gs-big input[type="search"], .av55-gs-page .av55-gs-big input[type="search"]:focus { width: 100%; height: 48px; border-radius: 24px; font-size: 16px; padding-left: 18px; }
.av55-gs-page .av55-gs-big .av55-gs-drop { left: 0; right: 0; width: auto; }
.av55-gs-intent { color: #6b7079; margin: 0 0 12px; }
.av55-gs-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.av55-gs-nav a { padding: 7px 14px; border: 1px solid #e3e3e3; border-radius: 18px; color: #222; text-decoration: none; font-size: 14px; }
.av55-gs-nav a small { color: #9a9ea6; margin-left: 4px; }
.av55-gs-sec { margin: 0 0 36px; scroll-margin-top: 90px; }
.av55-gs-sh { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 0 0 14px; }
.av55-gs-sh h2 { margin: 0; font-size: 26px; }
.av55-gs-sh span { color: #8b909a; font-size: 14px; }
.av55-gs-sh a { margin-left: auto; font-size: 14px; }
.av55-gs-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.av55-gs-row { display: flex; gap: 14px; align-items: center; padding: 10px; border-radius: 14px; background: #fff; box-shadow: 0 2px 14px rgba(0,0,0,.06); color: #222 !important; text-decoration: none !important; }
.av55-gs-row:hover { box-shadow: 0 6px 20px rgba(0,0,0,.1); }
.av55-gs-row img, .av55-gs-row .av55-gs-noimg { flex: 0 0 128px; width: 128px; height: 84px; object-fit: cover; border-radius: 10px; background: #f2f2f2; }
.av55-gs-row span { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.av55-gs-row b { font-size: 16px; line-height: 1.3; }
.av55-gs-row small { font-size: 13px; color: #6b7079; line-height: 1.4; }
.av55-gs-none { font-size: 16px; color: #555; }
@media (max-width: 767px) {
    .av55-gs-list { grid-template-columns: 1fr; }
    .av55-gs-row img, .av55-gs-row .av55-gs-noimg { flex-basis: 96px; width: 96px; height: 64px; }
    .av55-gs-sh h2 { font-size: 22px; }
    .av55-gs-sh a { margin-left: 0; width: 100%; }
}
.header-top-right .header-search.av55-gs-wrap { width: auto; }
