
/* ══════════════════════════════════════════════════════════════
   ПОИСК: верхняя полоса шапки (десктоп) + нижняя (мобильные)
   ══════════════════════════════════════════════════════════════ */

/* ── ДЕСКТОП: поле в верхней полосе ── */
.vip-search--top{
    display: flex;
    align-items: center;
    margin-right: 24px;
    order: -1;
}
.vip-search--top form{
    display: flex;
    align-items: center;
    height: 32px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 4px;
    background: rgba(255,255,255,.04);
    overflow: hidden;
    transition: border-color .2s, background .2s;
}
.vip-search--top form:focus-within{
    border-color: #FE4819;
    background: rgba(255,255,255,.08);
}
.vip-search--top input{
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 300;
    padding: 0 12px;
    width: 190px;
    height: 100%;
}
.vip-search--top input::placeholder{
    color: rgba(255,255,255,.4);
}
.vip-search--top button{
    flex: 0 0 34px;
    width: 34px;
    height: 100%;
    border: 0;
    background: #FE4819;
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: filter .2s;
}
.vip-search--top button:hover{
    filter: brightness(115%);
}
.vip-search--top button svg{
    width: 16px;
    height: 16px;
    display: block;
}

/* на мобильных верхняя полоса скрыта вместе с .header-top */
@media (max-width: 991px){
    .vip-search--top{ display: none; }
}

/* ── МОБИЛЬНЫЕ: иконка в нижней полосе ── */
.vip-search--bottom{
    display: none;
    position: relative;
    margin-left: 12px;
}
.vip-search--bottom .vip-search-toggle{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 4px;
    background: rgba(255,255,255,.05);
    color: #fff;
    cursor: pointer;
    transition: border-color .2s, color .2s;
}
.vip-search--bottom .vip-search-toggle svg{
    width: 18px;
    height: 18px;
    display: block;
}
.vip-search--bottom.is-open .vip-search-toggle{
    border-color: #FE4819;
    color: #FE4819;
}
.vip-search--bottom form{
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(320px, calc(100vw - 40px));
    display: flex;
    align-items: center;
    height: 46px;
    border: 1px solid #3a3a3a;
    border-radius: 4px;
    background: #232323;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .2s, transform .2s, visibility .2s;
    z-index: 1001;
}
.vip-search--bottom.is-open form{
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.vip-search--bottom input{
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    padding: 0 14px;
    height: 100%;
}
.vip-search--bottom input::placeholder{
    color: rgba(255,255,255,.42);
}
.vip-search--bottom button[type="submit"]{
    flex: 0 0 46px;
    width: 46px;
    height: 100%;
    border: 0;
    background: #FE4819;
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
}

@media (max-width: 991px){
    .vip-search--bottom{ display: block; }
}

/* нижняя полоса шапки — порядок элементов */
@media (min-width: 992px){
    .header-bottom-inner{ flex-wrap: nowrap !important; }
    .header-bottom-inner .header-logo{ flex: 0 0 auto; order: 1; }
    .header-bottom-inner .top-menu-wrapper{
        width: auto !important;
        flex: 1 1 auto;
        min-width: 0;
        order: 2;
    }
    .header-bottom-inner .menu-button{ order: 4; }
}

/* страница результатов */
.vip-search-page{ padding: 70px 0 90px; }
.vip-search-page__title{
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 32px;
}
.vip-search-page__title::after{
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #FE4819;
    margin-top: 18px;
}
.vip-search-info{
    font-size: 15px;
    color: rgba(255,255,255,.6);
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    margin-bottom: 8px;
}
.vip-search-info b{ color: #fff; font-weight: 700; }
.vip-search-list{ display: block; }
.vip-search-item{
    padding: 24px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.vip-search-item h3{
    margin: 0 0 8px;
    font-size: 19px;
    line-height: 1.35;
    font-weight: 700;
}
.vip-search-item h3 a{
    color: #fff;
    text-decoration: none;
    transition: color .18s;
}
.vip-search-item h3 a:hover{ color: #FE4819; }
.vip-search-item p{
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255,255,255,.62);
}
.vip-search-item mark{
    background: rgba(254,72,25,.28);
    color: #fff;
    padding: 0 2px;
    border-radius: 2px;
}
.vip-search-empty{
    padding: 28px 0;
    font-size: 17px;
    color: rgba(255,255,255,.6);
}
.vip-search-pager{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    padding-top: 32px;
}
.vip-search-pager a,
.vip-search-pager span{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    transition: border-color .18s, color .18s;
}
.vip-search-pager a:hover{ border-color: #FE4819; color: #FE4819; }
.vip-search-pager .is-active{
    background: #FE4819;
    border-color: #FE4819;
    color: #fff;
}
@media (max-width: 767px){
    .vip-search-page{ padding: 40px 0 60px; }
    .vip-search-item{ padding: 18px 0; }
    .vip-search-item h3{ font-size: 17px; }
}
@media (max-width: 1199px) and (min-width: 992px){
    .vip-search--top input{ width: 150px; }
    .vip-search--top{ margin-right: 16px; }
}
