/* Поиск из шапки (Алекс 14.10): кнопка-лупа рядом с пунктами меню, окно чуть ниже шапки. Подключает build_netlify overlay_search. */
[data-record-type="838"] { display: none !important; }          /* большая строка поиска Tilda на главной — заменена кнопкой */
.vm-sbtn { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border: 0;
  border-radius: 50%; background: #fff; color: #000; cursor: pointer; text-decoration: none; box-sizing: border-box;
  transition: transform .16s, box-shadow .16s; }
.vm-sbtn:hover { box-shadow: 0 0 0 3px rgba(242,132,97,.55); }
.vm-sbtn:active { transform: scale(.94); }
.vm-sbtn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.vm-sbtn.vm-abs { position: absolute; z-index: 5; }
.top-ic a.vm-sbtn { display: inline-flex; line-height: 1; }                 /* в нашей шапке рядом с иконками канала и ЛитРес */
.vm-sbtn.vm-float { position: fixed; top: 14px; right: 14px; z-index: 9998; box-shadow: 0 2px 10px rgba(0,0,0,.18); }
.vm-spop { position: fixed; z-index: 10000; width: min(420px, calc(100vw - 32px)); box-sizing: border-box; padding: 12px;
  background: #fff; color: #000; border-radius: 8px; box-shadow: 0 14px 36px rgba(0,0,0,.22), 0 0 0 1px rgba(0,0,0,.06);
  font: 400 15px/1.45 "Mulish", Arial, sans-serif; text-align: left; }
.vm-spop[hidden] { display: none; }
.vm-spop form { display: flex; gap: 8px; margin: 0; }
.vm-spop input { flex: 1 1 auto; min-width: 0; height: 42px; padding: 0 12px; border: 1px solid #ddd; border-radius: 6px;
  font: 400 16px/1 "Mulish", Arial, sans-serif; color: #000; background: #fff; outline: none; box-sizing: border-box; }
.vm-spop input:focus { border-color: #f28461; box-shadow: 0 0 0 3px rgba(242,132,97,.25); }
.vm-spop button[type=submit] { flex: none; height: 42px; padding: 0 16px; border: 0; border-radius: 6px; background: #f28461; color: #fff;
  font: 700 13px/1 "Mulish", Arial, sans-serif; letter-spacing: .02em; text-transform: uppercase; cursor: pointer; }
.vm-spop button[type=submit]:hover { background: #ff5a25; }
.vm-sres { margin: 0; padding: 0; list-style: none; max-height: min(60vh, 420px); overflow-y: auto; }
.vm-sres:not(:empty) { margin-top: 8px; border-top: 1px solid #eee; }
.vm-sres li { margin: 0; padding: 0; border-bottom: 1px solid #f0f0f0; }
.vm-sres a { display: block; padding: 9px 4px; color: #000; text-decoration: none; }
.vm-sres a:hover, .vm-sres a:focus { background: #fff4ef; outline: none; }
.vm-sres b { display: block; font-weight: 700; font-size: 15px; }
.vm-sres span { display: block; font-size: 13px; color: #666; }
.vm-sres mark { background: #fde7c8; color: inherit; }
.vm-sres .vm-sall a { color: #c9471c; font-weight: 700; font-size: 14px; }
.vm-snote { margin: 8px 4px 0; font-size: 13px; color: #666; }
.vm-snote:empty { display: none; }
