#root header:not(.no-print) > div:first-child {
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

#root header:not(.no-print) > div:first-child > div:first-child {
  flex: 0 1 auto !important;
  justify-content: center;
  min-height: 44px;
  padding: 3px 12px !important;
  gap: 0 !important;
}

#root header:not(.no-print) > div:first-child > div:nth-child(2) {
  align-items: center;
}

#root header:not(.no-print) > div:nth-child(2) {
  margin-right: max(12px, calc((100vw - 72rem) / 2 + 12px));
}

#root header img.kind-chaya-logo {
  display: block;
  width: auto !important;
  height: 42px !important;
  max-width: 100% !important;
  max-height: 42px !important;
  border-radius: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  object-fit: contain !important;
}

#root header img.kind-chaya-logo + div {
  display: none;
}

#root [class~="top-[68px]"] {
  top: calc(66px + max(8px, env(safe-area-inset-top, 0px))) !important;
}

#root [class~="top-[118px]"] {
  top: calc(118px + max(8px, env(safe-area-inset-top, 0px))) !important;
}

@media (max-width: 420px) {
  #root header:not(.no-print) > div:first-child {
    padding: 6px 10px !important;
    gap: 6px !important;
  }

  #root header:not(.no-print) > div:first-child > div:first-child {
    min-height: 44px;
    padding: 3px 8px !important;
  }

  #root header img.kind-chaya-logo {
    height: 36px !important;
    max-height: 36px !important;
  }

  #root [class~="top-[68px]"] {
    top: calc(58px + max(8px, env(safe-area-inset-top, 0px))) !important;
  }

  #root [class~="top-[118px]"] {
    top: calc(110px + max(8px, env(safe-area-inset-top, 0px))) !important;
  }
}

@media (max-width: 360px) {
  #root header:not(.no-print) > div:first-child {
    padding: 6px 8px !important;
    gap: 4px !important;
  }

  #root header:not(.no-print) > div:first-child > div:first-child {
    padding: 4px 6px !important;
  }

  #root header img.kind-chaya-logo {
    height: 32px !important;
    max-height: 32px !important;
  }
}
