/* Поиск в шапке — единый стиль для всех страниц сайта */
.amm-headsearch{display:flex;align-items:stretch;margin-left:auto;margin-right:14px;max-width:300px;flex:1 1 200px}
.amm-headsearch input,.amm-headsearch button{box-sizing:border-box;height:38px}
.amm-headsearch input{flex:1;min-width:120px;border:1px solid #d9d9e0;border-right:0;border-radius:8px 0 0 8px;
  padding:0 14px;font-size:13px;outline:none;background:#fff;color:#212529;font-family:"Roboto",sans-serif}
.amm-headsearch input:focus{border-color:#f7b801}
.amm-headsearch button{width:46px;border:0;background:#f7b801;color:#1c1b22;cursor:pointer;
  border-radius:0 8px 8px 0;font-size:15px;display:flex;align-items:center;justify-content:center;padding:0}
.amm-headsearch button:hover{filter:brightness(.95)}
@media(max-width:991px){.amm-headsearch{display:none}}

/* ===== Варианты дизайна поиска в шапке (1–5) ===== */
/* hs1 = базовый (выше). */

/* hs2 — пилюля */
.amm-headsearch.hs2 input{border-radius:21px 0 0 21px;padding-left:18px}
.amm-headsearch.hs2 button{border-radius:0 21px 21px 0;width:48px}

/* hs3 — тёмный/обводка (под тёмную шапку) */
.amm-headsearch.hs3 input{background:transparent;border:1px solid rgba(255,255,255,.45);border-right:0;color:#fff}
.amm-headsearch.hs3 input::placeholder{color:rgba(255,255,255,.65)}
.amm-headsearch.hs3 input:focus{border-color:#f7b801}
.amm-headsearch.hs3 button{background:#fff;color:#2a2834}

/* hs4 — минимал, подчёркивание, иконка внутри */
.amm-headsearch.hs4{position:relative}
.amm-headsearch.hs4 input{background:transparent;border:0;border-bottom:1.5px solid rgba(255,255,255,.5);
  border-radius:0;color:#fff;padding:0 30px 0 2px}
.amm-headsearch.hs4 input::placeholder{color:rgba(255,255,255,.6)}
.amm-headsearch.hs4 input:focus{border-bottom-color:#f7b801}
.amm-headsearch.hs4 button{position:absolute;right:0;top:0;background:transparent;color:#f7b801;width:30px}

/* hs5 — раздельные скруглённые поле и кнопка */
.amm-headsearch.hs5{gap:6px}
.amm-headsearch.hs5 input{border:1px solid #d9d9e0;border-radius:10px}
.amm-headsearch.hs5 button{border-radius:10px;width:42px}

/* переключатель поиска */
.amm-hs-switch{position:fixed;left:50%;bottom:18px;transform:translateX(-50%);z-index:10005;display:flex;gap:6px;
  background:#fff;border:1px solid #e3e3e8;border-radius:40px;padding:7px 10px;box-shadow:0 8px 30px rgba(0,0,0,.18);font-family:"Roboto",sans-serif}
.amm-hs-switch span{font-size:12px;color:#6c757d;align-self:center;margin:0 6px 0 4px}
.amm-hs-switch button{width:34px;height:34px;border:0;border-radius:50%;cursor:pointer;font-weight:700;font-size:14px;background:#f0f0f3;color:#2a2834}
.amm-hs-switch button.on{background:#2a2834;color:#fff}
