/* One shared lockup for Aki Fest and Aki Market. */
header { top: 14px; }
header .bar {
  position: relative;
  height: 68px;
  min-height: 68px;
  padding-right: 72px;
  padding-left: 72px;
  justify-content: center;
}

header .brand {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  display: grid !important;
  grid-template-columns: auto auto auto;
  grid-template-rows: auto auto;
  align-items: center;
  justify-items: center;
  column-gap: 5px;
  row-gap: 3px;
  width: max-content;
  margin: 0 !important;
  padding: 0 !important;
  color: #241109 !important;
  font: 800 1.28rem/1 system-ui, "Noto Sans Armenian", sans-serif !important;
  letter-spacing: -.045em;
  transform: translate(-50%, -50%) !important;
}

header .brand > span {
  display: block !important;
  color: #241109 !important;
  font-size: 1em !important;
  letter-spacing: .02em;
}

header .brand > span:first-child,
header .brand > i { color: #eb6515 !important; }
header .brand > i { font-size: .88em; font-style: normal; text-shadow: none; }

header .brand-city {
  display: block !important;
  grid-column: 1 / -1;
  grid-row: 2;
  justify-self: center;
  margin: 0;
  padding: 0;
  color: #995226 !important;
  font: 600 .47rem/1 system-ui, "Noto Sans Armenian", sans-serif !important;
  letter-spacing: .19em;
}

header .brand::after { display: none !important; }

#marketplaceSwitch,
header > .container > .bar > .back-main,
header .actions .hamburger,
header .actions .menu {
  display: grid !important;
  width: 40px;
  height: 40px;
  min-width: 40px;
  margin: 0;
  padding: 0;
  place-items: center;
  border: 1px solid #f2cfae;
  border-radius: 12px;
  background: #fffdf9;
  color: #8d3008;
}

#marketplaceSwitch,
header > .container > .bar > .back-main {
  position: absolute;
  left: 14px;
  top: 50%;
  font-size: 0;
  text-decoration: none;
  transform: translateY(-50%);
}

#marketplaceSwitch { font-size: 1.08rem; }
header > .container > .bar > .back-main::before { content: '⌂'; font: 900 1.16rem/1 system-ui, sans-serif; }

header .actions {
  position: absolute !important;
  right: 14px;
  top: 50%;
  gap: 0 !important;
  transform: translateY(-50%);
}

header .actions > :not(.hamburger):not(.menu) { display: none !important; }

#marketplaceSwitch:hover,
header > .container > .bar > .back-main:hover,
header .actions .hamburger:hover,
header .actions .menu:hover { border-color: #eb6515; background: #fff0dd; }

body.night header .brand { color: #fff3e8 !important; }
body.night header .brand > span { color: #fff3e8 !important; }
body.night header .brand > span:first-child,
body.night header .brand > i { color: #ffad59 !important; }
body.night header .brand-city { color: #dba77a !important; }
body.night #marketplaceSwitch,
body.night header > .container > .bar > .back-main,
body.night header .actions .hamburger,
body.night header .actions .menu { border-color: #713414; background: #351b0f; color: #ffc28c; }

@media (max-width: 700px) {
  header { top: 8px; }
  header .bar { height: 68px; min-height: 68px; padding-right: 55px; padding-left: 55px; }
  header .brand { column-gap: 3px; row-gap: 3px; font-size: 1.02rem !important; }
  header .brand-city { font-size: .42rem !important; letter-spacing: .16em; }
  #marketplaceSwitch,
  header > .container > .bar > .back-main,
  header .actions .hamburger,
  header .actions .menu { width: 38px; height: 38px; min-width: 38px; }
  #marketplaceSwitch,
  header > .container > .bar > .back-main { left: 10px; }
  header .actions { right: 10px; }
}

@media (max-width: 370px) {
  header .brand { font-size: .91rem !important; }
}
