/* Header layout and autocomplete. Preserve the approved mobile layout.
   Desktop: brand | search | saved-toy cart. */
.header-main > .search{isolation:isolate}
.header-main .vh-search-suggestions{
 padding:6px;
 max-height:min(60vh,430px);
 overflow-y:auto;
 overscroll-behavior:contain;
 background:#fff;
 border:1px solid #d9e9e1;
 border-radius:14px;
 box-shadow:0 16px 44px rgba(20,62,43,.20);
}
.header-main .vh-search-suggestions .vh-search-hit{
 display:flex;align-items:center;gap:11px;
 min-height:63px;padding:7px 9px;
 border-bottom:1px solid #f0f3f1;
 text-decoration:none;border-radius:9px;
 font-size:inherit;
}
.header-main .vh-search-suggestions .vh-search-hit:hover,
.header-main .vh-search-suggestions .vh-search-hit:focus-visible{
 background:#edf8f1;outline:2px solid transparent;
}
.vh-search-hit-image{
 display:grid;place-items:center;flex:0 0 49px;width:49px;height:49px;
 background:#f7f9f8;border-radius:8px;overflow:hidden;
}
.vh-search-hit-image img{width:100%;height:100%;object-fit:contain;display:block}
.vh-search-hit-image svg{width:22px;height:22px;color:#91b5a4}
.vh-search-hit-info{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}
.vh-search-hit-name{color:#29453c;line-height:1.3;font-size:12px;font-weight:850;overflow-wrap:anywhere}
.vh-search-hit-price{color:#228250;font-size:13px;font-weight:900}
.header-main .vh-search-suggestions .vh-search-all{
 display:block;text-align:center;margin-top:5px;
 padding:12px 8px;border:0;background:#eef8f1;
 color:#217548;font-weight:900;border-radius:9px;font-size:12px
}
.header-main .vh-search-suggestions .vh-search-empty{
 padding:14px 10px;color:#637c71;font-size:12px;line-height:1.5
}
/* PC only: an explicit, evenly aligned three-column header. */
@media(min-width:951px){
 .header-main{
  display:grid;
  grid-template-columns:minmax(235px,310px) minmax(250px,1fr) auto;
  column-gap:clamp(18px,2.5vw,42px);
  align-items:center;
 }
 .header-main > .logo.vh-brand-logo{
  grid-column:1;grid-row:1;width:100%;max-width:310px;
  min-width:0;justify-self:start;align-self:center;
 }
 .header-main > .search{
  grid-column:2;grid-row:1;min-width:0;width:100%;
  max-width:none;justify-self:stretch;align-self:center;
 }
 .header-main > a.vh-cart-header-link{
  grid-column:3;grid-row:1;justify-self:end;align-self:center;
  white-space:nowrap;
 }
 .header-main > .vh-mobile-menu{display:none}
}
/* Approved Modroočko-style mobile layout comes from vh-mobile-header.css
   and vh-cart.css: brand, basket, menu above full-width search. */
@media(max-width:699px){
 .header-main > .search:focus-within{z-index:540}
 .header-main .vh-search-suggestions{
  position:fixed;
  top:var(--vh-search-top,124px);
  left:12px;right:12px;
  width:auto;max-width:none;
  max-height:min(60vh,440px);
  z-index:550;margin:0;
 }
}
