/* MarketKit 2.0.5 — equal-height delivery box and search; retain 2.0.4 location functionality. */
body.mk-shell .mk-header .mk-delivery-group {
  display:flex!important; align-items:center!important; gap:6px!important;
  flex:0 1 auto!important; min-width:0!important; max-width:285px!important; height:52px!important; min-height:52px!important;
}
body.mk-shell .mk-header .mk-delivery-group > .mk-delivery-location {
  flex:1 1 auto!important; min-width:0!important; max-width:none!important;
  align-items:center!important; text-decoration:none!important;
}
body.mk-shell .mk-header .mk-delivery-copy {
  display:flex!important; flex-direction:column!important; align-items:flex-start!important;
  justify-content:center!important; gap:0!important; min-width:0!important;
  overflow:hidden!important; white-space:normal!important; line-height:1.25!important;
}
body.mk-shell .mk-header .mk-delivery-copy > :is(small,strong,.mk-delivery-street) {
  display:block!important; max-width:100%!important; overflow:hidden!important;
  text-overflow:ellipsis!important; white-space:nowrap!important; line-height:1.2!important; margin:0!important; padding:0!important;
}
body.mk-shell .mk-header .mk-delivery-street[hidden] {display:none!important;}
body.mk-shell .mk-header .mk-delivery-street {
  font-style:normal!important; font-size:10px!important; font-weight:550!important;
  color:#667e9f!important; text-align:start!important;
}
body.mk-shell.mk-premium-20 .mk-header .mk-delivery-group {max-width:min(292px,29vw)!important;}
body.mk-shell.mk-premium-20 .mk-header .mk-delivery-group > .mk-delivery-location {
  max-width:none!important; min-height:52px!important; max-height:52px!important; height:52px!important; padding:4px 9px!important; overflow:hidden!important;
}
body.mk-shell.mk-premium-20 .mk-header .mk-delivery-group .mk-delivery-copy > strong {
  max-width:100%!important; font-size:12px!important; line-height:1.2!important;
}
body.mk-shell.mk-premium-20 .mk-header .mk-delivery-copy > small {font-size:9px!important; line-height:1.2!important;}
body.mk-shell.mk-premium-20 .mk-header .mk-delivery-auto {
  flex:0 0 34px!important; width:34px!important; height:40px!important; min-height:40px!important;
  display:grid!important; place-items:center!important; padding:0!important;
  border:1px solid #d8e3f4!important; border-radius:12px!important;
  background:#f7faff!important; color:#2558d8!important; cursor:pointer!important;
  box-shadow:none!important;
}
body.mk-shell.mk-premium-20 .mk-header .mk-delivery-auto:hover,
body.mk-shell.mk-premium-20 .mk-header .mk-delivery-auto:focus-visible {
  background:#e8f1ff!important; border-color:#a7c6fc!important; outline:2px solid transparent!important;
}
body.mk-shell.mk-premium-20 .mk-header .mk-delivery-auto .mk-icon {
  width:18px!important; height:18px!important; min-width:18px!important;
}
/* At tablet/phone widths the header is a 3-area grid; reserve its delivery area for the group. */
@media(max-width:991px) {
  body.mk-identity .mk-header .mk-delivery-group {
    grid-area:delivery!important; justify-self:start!important; max-width:100%!important;
    min-width:0!important;
  }
  body.mk-identity .mk-header .mk-delivery-group > .mk-delivery-location {
    grid-area:auto!important; max-width:100%!important;
  }
  body.mk-shell.mk-premium-20 .mk-header .mk-delivery-auto {display:none!important;}
  body.mk-shell.mk-premium-20 .mk-header .mk-delivery-group {max-width:100%!important; height:44px!important; min-height:44px!important;}
  body.mk-shell.mk-premium-20 .mk-header .mk-delivery-group > .mk-delivery-location {height:44px!important; min-height:44px!important; max-height:44px!important; padding:3px 8px!important;}

}
@media(max-width:767px) {
  body.mk-shell.mk-premium-20 .mk-header .mk-delivery-group > .mk-delivery-location {
    padding:3px 7px!important; min-height:44px!important; height:44px!important; max-height:44px!important;
  }
  body.mk-shell.mk-premium-20 .mk-header .mk-delivery-copy {gap:0!important;}
  body.mk-shell.mk-premium-20 .mk-header .mk-delivery-copy > small {font-size:8px!important;}
  body.mk-shell.mk-premium-20 .mk-header .mk-delivery-copy > strong {font-size:10px!important;}
  body.mk-shell.mk-premium-20 .mk-header .mk-delivery-street {font-size:8px!important;}
}
/* Tight mobile grid: do not let a long street collide with account/cart icons. */
@media(max-width:767px) {
  body.mk-identity .mk-header .mk-delivery-group {
    width:100%!important; max-width:100%!important; min-width:0!important;
    overflow:hidden!important;
  }
  body.mk-identity .mk-header .mk-delivery-group > .mk-delivery-location {
    min-width:0!important; width:100%!important; max-width:100%!important;
    overflow:hidden!important; flex:1 1 0!important;
  }
  body.mk-identity .mk-header .mk-delivery-group > .mk-delivery-location > svg.mk-icon:last-child {
    display:none!important;
  }
}
@media(max-width:430px) {
  body.mk-shell.mk-premium-20 .mk-header .mk-header-actions > a.mk-header-action {
    flex:0 0 43px!important; width:43px!important; min-width:43px!important;
  }
  body.mk-shell.mk-premium-20 .mk-header .mk-header-actions {gap:0!important;}
}
/* The legacy premium header had moved actions into delivery's grid cell on phones.
   Restore the intended named areas so a two-line address never hides the cart. */
@media(max-width:991px) {
  body.mk-shell.mk-identity.mk-premium-20 .mk-header .mk-header-main > .mk-header-actions {
    grid-area:actions!important; justify-self:end!important; min-width:0!important;
  }
}
@media(max-width:767px) {
  body.mk-shell.mk-identity.mk-premium-20 .mk-header .mk-header-actions > .mk-orders-action {
    display:none!important;
  }
}
