/* YoYo — стили 12 вариантов шапки витрины (0.82.0). Общие для витрины и превью в админке.
   Цвета шапки фиксированные фирменные: тёмно-синий #0B1B4D, синий #2563EB, светлая — белая.
   На телефоне (≤719px) — выбранный вариант; на ПК (≥720px) — одна строка, вариант 0. */
.top.hv{color:#fff}
.top.hv.hv-t-navy{background:#0B1B4D}
.top.hv.hv-t-blue{background:#2563EB}
.top.hv.hv-t-grad{background:linear-gradient(160deg,#0B1B4D 0%,#1D4ED8 100%)}
.top.hv.hv-t-light{background:var(--surface,#fff);color:var(--ink,#111633);border-bottom:1px solid var(--line,#E6ECFB)}
.top.hv .top-in{display:flex;flex-direction:column;gap:8px;padding:10px 12px}
.top.hv .hv-row{display:flex;align-items:center;gap:10px;min-height:36px;min-width:0}
.top.hv .hv-row.hv-short{padding-bottom:16px}
.top.hv .logo{display:flex;align-items:center;flex:0 0 auto}
.top.hv .logo .yoyo-logo{display:inline-block;width:64px;vertical-align:middle}
.top.hv .logo.hv-white .yoyo-logo svg *{stroke:#fff!important;fill:#fff!important}
.top.hv .hv-mark{width:30px;height:30px;border-radius:50%;border:6px solid #2563EB;box-sizing:border-box;flex:0 0 auto;position:relative}
.top.hv .hv-mark.w{border-color:#fff}
.top.hv .hv-mark:after{content:'';position:absolute;right:-6px;top:-6px;width:9px;height:9px;background:#0B1B4D;border-radius:2px}
.top.hv.hv-t-light .hv-mark:after{background:var(--surface,#fff)}
.top.hv .hv-pin{width:18px;height:18px;flex:0 0 auto}
.top.hv .hv-chev{width:16px;height:16px;flex:0 0 auto;opacity:.6}
.top.hv .hv-lupa{width:18px;height:18px;flex:0 0 auto;color:#6B7280}
/* поиск: общее поле, внутри лупа + input (витрина) или текст (превью) */
.top.hv .search-row.hv-srch{display:flex;align-items:center;gap:9px;background:#fff;color:#6B7280;border-radius:12px;padding:0 10px;margin:0;position:relative;width:100%;box-sizing:border-box;min-height:42px}
.top.hv .search-row.hv-srch input{flex:1;min-width:0;border:0;outline:0;background:transparent;padding:11px 26px 11px 0;font-size:15px;color:#111633}
.top.hv .search-row.hv-srch .hv-ph{flex:1;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:11px 0}
.top.hv .search-row.hv-srch .s-x{position:absolute;right:8px;top:50%;transform:translateY(-50%);width:28px;height:28px;border-radius:50%;background:#EEF2FA;color:#6B7280;font-size:16px;line-height:1;display:none;border:0}
.top.hv .search-row.hv-srch.has .s-x{display:flex;align-items:center;justify-content:center}
.top.hv .search-row.hv-srch.inline{flex:1;min-height:38px}
.top.hv .search-row.hv-srch.grey{background:#F0F3FA}
.top.hv .search-row.hv-srch.big{padding:6px 10px;gap:8px;min-height:50px}
.top.hv .search-row.hv-srch.shadow{box-shadow:0 8px 22px rgba(11,27,77,.22)}
.top.hv .hv-float{margin:-22px 0 0;position:relative}
/* локация — две строки */
.top.hv .hv-locB{display:flex;align-items:center;gap:8px;margin-left:auto;background:rgba(255,255,255,.12);color:#fff;border:0;border-radius:11px;padding:6px 10px;min-width:0;text-align:left;max-width:64%;flex:0 1 auto}
.top.hv .hv-locB.dark{background:rgba(11,27,77,.55)}
.top.hv .hv-locB .t{display:flex;flex-direction:column;min-width:0}
.top.hv .hv-locB b{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.top.hv .hv-locB i{font-style:normal;font-size:11px;color:rgba(255,255,255,.65);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* локация — строкой (светлые) */
.top.hv .hv-locT{display:flex;align-items:center;gap:7px;background:none;border:0;color:var(--ink,#111633);padding:0 2px;font-size:13.5px;text-align:left;width:100%;min-width:0}
.top.hv .hv-locT b{font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.top.hv .hv-locT i{font-style:normal;color:#6B7280;white-space:nowrap}
.top.hv .hv-locT .hv-pin{color:#2563EB}.top.hv .hv-locT .hv-chev{margin-left:auto;color:#6B7280}
.top.hv .hv-locT.thin{font-size:13px;color:#4B5563}.top.hv .hv-locT.thin .hv-pin{margin-left:auto}
/* адресная строка сверху */
.top.hv .hv-topline{display:flex;align-items:center;gap:7px;background:none;border:0;color:rgba(255,255,255,.78);font-size:12.5px;padding:0 2px;width:100%;text-align:left;min-width:0}
.top.hv .hv-topline span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.top.hv .hv-topline b{color:#fff}.top.hv .hv-topline .hv-chev{margin-left:auto}
/* чип внутри поиска */
.top.hv .hv-inchip{display:flex;align-items:center;gap:5px;background:#EAF0FF;color:#0B1B4D;border:0;border-radius:9px;padding:7px 9px;font-size:12.5px;font-weight:800;white-space:nowrap;max-width:46%}
.top.hv .hv-inchip b{overflow:hidden;text-overflow:ellipsis}.top.hv .hv-inchip .hv-pin{width:15px;height:15px;color:#2563EB}
/* сегмент Самовывоз | Доставка */
.top.hv .hv-seg{margin-left:auto;display:flex;background:rgba(255,255,255,.12);border-radius:11px;padding:3px;cursor:pointer}
.top.hv .hv-seg span{padding:6px 11px;border-radius:9px;font-size:12.5px;font-weight:800;color:rgba(255,255,255,.7)}
.top.hv[data-state="pickup"] .hv-seg .p,.top.hv[data-state="courier"] .hv-seg .c{background:#fff;color:#0B1B4D}
.top.hv .hv-locLine{display:flex;align-items:center;gap:8px;background:none;border:0;color:#fff;padding:0 2px;text-align:left;font-size:13px;width:100%;min-width:0}
.top.hv .hv-locLine b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.top.hv .hv-locLine i{font-style:normal;color:rgba(255,255,255,.6);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.top.hv .hv-locLine .hv-chev{margin-left:auto}
/* карточка (градиент) */
.top.hv .hv-locCard{display:flex;align-items:center;gap:10px;background:#fff;color:#111633;border:0;border-radius:12px;padding:9px 12px;text-align:left;width:100%;min-width:0}
.top.hv .hv-locCard .hv-pin{color:#2563EB;width:22px;height:22px}.top.hv .hv-locCard .t{display:flex;flex-direction:column;flex:1;min-width:0}
.top.hv .hv-locCard b{font-size:13.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top.hv .hv-locCard i{font-style:normal;font-size:12px;color:#6B7280}
.top.hv .hv-locCard em{font-style:normal;color:#2563EB;font-weight:800;font-size:12.5px;white-space:nowrap}
/* компакт */
.top.hv .hv-circ{width:38px;height:38px;border-radius:50%;background:#2563EB;color:#fff;border:0;display:flex;align-items:center;justify-content:center;flex:0 0 auto}
.top.hv .hv-under{background:none;border:0;font-size:12px;color:rgba(255,255,255,.7);padding:0 2px;text-align:left;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.top.hv .hv-under b{color:#fff}
/* плитки */
.top.hv .hv-tiles{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.top.hv .hv-tile{border:1.5px solid rgba(255,255,255,.18);background:rgba(255,255,255,.06);color:#fff;border-radius:12px;padding:8px 10px;text-align:left;display:flex;flex-direction:column;gap:2px;min-width:0}
.top.hv .hv-tile i{font-style:normal;font-size:11px;opacity:.7}.top.hv .hv-tile b{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.top.hv[data-state="pickup"] .hv-tile.p,.top.hv[data-state="courier"] .hv-tile.c{background:#fff;color:#0B1B4D;border-color:#fff}
/* крот */
.top.hv .hv-krot{width:34px;height:34px;border-radius:50%;background:#2563EB;flex:0 0 auto;position:relative}
.top.hv .hv-krot:before{content:'';position:absolute;left:8px;top:10px;width:6px;height:6px;border-radius:50%;background:#fff;box-shadow:12px 0 0 #fff}
.top.hv .hv-krot:after{content:'';position:absolute;left:14px;top:20px;width:6px;height:4px;border-radius:0 0 6px 6px;background:#F9A8D4}
.top.hv .hv-bubble{flex:1;display:flex;align-items:center;gap:4px;background:#fff;color:#111633;border:0;border-radius:12px;padding:8px 10px;font-size:12.5px;text-align:left;min-width:0;position:relative}
.top.hv .hv-bubble:before{content:'';position:absolute;left:-6px;top:12px;border:6px solid transparent;border-right-color:#fff;border-left:0}
.top.hv .hv-bubble b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top.hv .hv-bubble .hv-chev{margin-left:auto;color:#6B7280}
/* иконки ПК: на телефоне их заменяет нижняя панель */
.top.hv .hv-icons{display:flex;align-items:center;gap:8px;margin-left:auto;flex:0 0 auto}
.top.hv .hv-locB + .hv-icons{margin-left:0}
@media(max-width:719px){.top.hv .hv-icons{display:none}}
@media(min-width:720px){
  .top.hv .top-in{padding:12px 16px;max-width:1160px;margin:0 auto}
  .top.hv .logo .yoyo-logo{width:82px}
  .top.hv .hv-locB{margin-left:0;max-width:300px}
  .top.hv .search-row.hv-srch.inline{min-height:42px}
}
/* превью в админке: та же шапка внутри рамки телефона */
.hv-preview{border-radius:18px;overflow:hidden;border:1px solid var(--line,#E6ECFB);background:#F4F7FF}
.hv-preview .top{position:static}
.hv-preview .below{padding:10px 12px 12px}
.hv-preview .chips{display:flex;gap:6px;overflow:hidden}.hv-preview .chip{padding:6px 11px;border-radius:999px;background:#fff;border:1px solid #E6ECFB;font-size:12px;font-weight:700;white-space:nowrap;color:#111633}
.hv-preview .chip.on{background:#0B1B4D;color:#fff;border-color:#0B1B4D}
.hv-preview .cards{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}.hv-preview .pc{height:70px;border-radius:12px;background:#fff;border:1px solid #E6ECFB}
.top.hv .hv-bell{display:none;position:relative;flex:0 0 40px;width:40px;height:40px;align-items:center;justify-content:center;border:0;background:none;color:#fff;padding:0}
.top.hv .hv-bell svg{width:26px;height:26px}
.top.hv .hv-bell i{position:absolute;top:6px;right:7px;width:9px;height:9px;border-radius:50%;background:#F5334F;box-shadow:0 0 0 2px #0B1B4D}
@media(max-width:719px){.top.hv .hv-bell{display:flex}}
/* пустая строка подсказок поиска не должна добавлять высоту (давала полосу 16px под поиском) */
.top.hv .recent:empty{display:none}
/* Вариант 3 на телефоне — точно по образцу владельца 29.09 (390 пт): шапка 71px,
   строка адреса 16px (текст 11.5px), поиск 36px со скруглением 10px, лого 59px,
   колокольчик у правого края, снизу скругление 9px. */
@media(max-width:719px){
  .top.hv.hv-3{border-radius:0 0 9px 9px}
  .top.hv.hv-3 .top-in{gap:6px;padding:5px 16px 8.7px 15px}
  .top.hv.hv-3 .hv-topline{height:16px;gap:7.25px;padding:0;font-size:11.5px;color:rgba(255,255,255,.72)}
  .top.hv.hv-3 .hv-topline .hv-pin{margin-left:-1.75px}
  .top.hv.hv-3 .hv-topline b{font-weight:600}
  .top.hv.hv-3 .hv-topline .hv-chev{margin-right:-5.5px}
  .top.hv.hv-3 .hv-row{gap:11px;min-height:35.7px}
  .top.hv.hv-3 .logo{margin-right:3.4px}
  .top.hv.hv-3 .logo .yoyo-logo{width:59px}
  .top.hv.hv-3 .search-row.hv-srch.inline{min-height:35.7px;height:35.7px;border-radius:10px;padding:0 10px 0 8.2px;gap:8.8px}
  .top.hv.hv-3 .search-row.hv-srch .hv-lupa{width:17px;height:17px;color:#565E76}
  .top.hv.hv-3 .search-row.hv-srch input{padding:0 26px 0 0;height:35.7px}
  .top.hv.hv-3 .search-row.hv-srch input::placeholder{font-size:12px;color:#565E76}
  .top.hv.hv-3 .hv-bell{flex:0 0 30px;width:30px;height:35.7px;margin-right:-5.4px}
  .top.hv.hv-3 .hv-bell i{top:5px;right:3px;width:6px;height:6px;box-shadow:none}
}
