/* Second mobile header row; keep the existing logo row and content offset. */
@media (max-width:1023.98px) {
  :root { --kw-header-h:128px; }
  .kw-mheader { grid-template-rows:72px 56px; }
  .kw-iconbtn { height:72px; }
  .kw-mheader .kw-mheader__logo { min-height:72px; min-width:0; max-width:100%; }
  .kw-mheader__logo .kw-store-logo { max-width:min(180px, 100%); }
  .kw-mheader .kw-msearch { grid-column:1 / -1; align-self:start; position:relative; display:flex; height:44px; margin:0 12px 12px; min-width:0; background:#fff; border:1px solid var(--kw-line); }
  .kw-mheader .kw-msearch input { flex:1; width:0; min-width:0; height:42px; margin:0; padding:8px 12px; border:0; border-radius:0; color:var(--kw-ink); background:#fff; font:500 16px/1.3 var(--kw-body); }
  .kw-mheader .kw-msearch button { display:grid; place-items:center; flex:0 0 44px; padding:0; border:0; border-radius:0; color:#fff; background:var(--kw-cobalt); }
  .kw-msearch button svg { width:20px; height:20px; }
  .kw-msearch:focus-within { outline:2px solid var(--kw-cobalt); outline-offset:2px; }
  .kw-dsearch { overflow:visible; }
  .kw-dsearch__results { position:absolute; z-index:10020; top:calc(100% + 8px); right:0; left:0; max-height:min(560px, calc(100vh - 150px)); overflow:auto; padding:7px; color:var(--kw-ink); background:#fff; border:1px solid var(--kw-line); border-radius:2px; box-shadow:0 18px 42px rgba(16,25,46,.24); }
  .kw-dsearch__results[hidden] { display:none !important; }
  .kw-dsearch__empty { display:block; padding:20px 14px; color:var(--kw-muted); font:500 13px/1.4 var(--kw-body); }
  .kw-dsearch__result { display:grid; grid-template-columns:52px minmax(0, 1fr) auto; gap:12px; align-items:center; min-height:64px; padding:7px; color:var(--kw-ink); border-radius:2px; text-decoration:none; }
  .kw-dsearch__result:hover,.kw-dsearch__result:focus { background:#f1f5ff; outline:0; }
  .kw-dsearch__image { width:52px; height:52px; object-fit:contain; background:#f5f6f8; }
  .kw-dsearch__title { display:block; font:700 12px/1.25 var(--kw-display); letter-spacing:.035em; text-transform:uppercase; }
  .kw-dsearch__category { display:block; margin-top:4px; color:var(--kw-muted); font:500 10px/1.2 var(--kw-display); letter-spacing:.06em; text-transform:uppercase; }
  .kw-dsearch__price { color:var(--kw-cobalt); font:700 14px/1 var(--kw-display); white-space:nowrap; }
  .kw-msearch .kw-dsearch__results { max-height:calc(100dvh - 152px); overscroll-behavior:contain; }
  .kw-msearch .kw-dsearch__result { grid-template-columns:44px minmax(0,1fr) auto; gap:8px; }
  .kw-msearch .kw-dsearch__image { width:44px; height:44px; }
  .kw-msearch .kw-dsearch__title { overflow-wrap:anywhere; }
}
