/* market/market-header.css — 3 иконки в тёмной шапке ТОЛЬКО на маркете (карточки + витрина).
   Цвет иконок/поиска = currentColor (JS синхронит его с цветом меню → корректно и на тёмной, и на светлой sticky-шапке).
   Поиск выезжает влево на ширину меню, перекрывая пункты. Общую шапку /uslugi/* не трогает. */
.mkt-hicons{position:relative;display:inline-flex;align-items:center;gap:2px;text-decoration:none!important}
.mkt-hicons.menu-top-link,.mkt-hicons.menu-top-link:hover{text-decoration:none!important} /* глушим подчёркивание от .menu-top-link — берём только цвет+переход */
.mkt-hicons a,.mkt-hicons button{width:42px;height:42px;border-radius:50%;border:0;background:transparent;color:inherit;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:background .15s;text-decoration:none;padding:0;-webkit-tap-highlight-color:transparent}
.mkt-hicons a:hover,.mkt-hicons button:hover{background:rgba(130,130,130,.18)}
.mkt-hicons button.is-active{background:rgba(130,130,130,.22)}
.mkt-hicons svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}

/* инлайн-поиск: выезжает влево от иконок, поверх пунктов меню */
.mkt-hsearch{position:absolute;right:100%;margin-right:6px;top:50%;transform:translateY(-50%);
  display:flex;align-items:center;gap:4px;height:42px;box-sizing:border-box;
  width:min(62vw,660px);max-width:0;overflow:hidden;opacity:0;
  border-radius:21px;border:0;background:rgba(130,130,130,.16);
  -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);white-space:nowrap;
  transition:max-width .3s cubic-bezier(.4,0,.2,1),opacity .2s ease,padding .3s ease;padding:0}
.mkt-hsearch.on{max-width:min(62vw,660px);opacity:1;padding:0 8px 0 18px}
.mkt-hsearch input{flex:1;border:0;outline:0;background:transparent;color:currentColor;font:500 15px 'Lab Grotesque',Arial,sans-serif;min-width:0}
.mkt-hsearch input::placeholder{color:currentColor;opacity:.55}
.mkt-hsearch__go{flex:0 0 auto;width:32px;height:32px;border-radius:50%;border:0;background:transparent;color:currentColor;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:background .15s}
.mkt-hsearch__go:hover{background:rgba(130,130,130,.2)}
.mkt-hsearch__go svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* пока поиск открыт — прячем пункты меню (их перекрывает строка поиска) */
.mkt-searching .header-flex-menu__body{opacity:0;pointer-events:none;transition:opacity .2s ease}
.header-flex-menu__body{transition:opacity .2s ease}

@media(max-width:900px){ .mkt-hsearch,.mkt-hsearch.on{width:min(70vw,340px);max-width:0} .mkt-hsearch.on{max-width:min(70vw,340px)} }
