.bookme-brand-logo {
  display: block !important;
  width: 110px !important;
  max-width: 110px !important;
  height: 42px !important;
  object-fit: contain !important;
  object-position: center !important;
  filter: brightness(0) invert(1) drop-shadow(0 1px 1px #511b2a) drop-shadow(0 3px 7px rgba(81,27,42, .38)) !important;
}

.bookme-brand-wordmark {
  display: inline-block;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .16em;
  white-space: nowrap;
  text-shadow: 0 2px 8px rgba(81,27,42, .45);
}

.bookme-wordmark-logo {
  display: block !important;
  width: 156px !important;
  max-width: 31vw !important;
  height: 58px !important;
  object-fit: contain !important;
  object-position: center !important;
  background: transparent !important;
  border: 0 !important;
  filter: none !important;
}

.premium-header-inner > a:first-child,
.legal-header .brand,
body[data-gm-shell] .gm-header-brand,
body[data-gm-shell] header h1 {
  font-size: 0 !important;
}

header .brand-emblem[hidden] {
  display: none !important;
}

.premium-header .premium-header-inner {
  min-height: 56px;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}

@media (max-width: 640px) {
  .bookme-brand-logo {
    width: 88px !important;
    max-width: 88px !important;
    height: 38px !important;
  }
  .bookme-brand-wordmark { font-size: 23px; letter-spacing: .13em; }
  .bookme-wordmark-logo { width: 124px !important; max-width: 34vw !important; height: 46px !important; }
}

#language-select,
#welcome-language,
#legal-language,
.lang-select,
.gm-shell-language {
  box-sizing: border-box !important;
  width: 76px !important;
  min-width: 76px !important;
  max-width: 76px !important;
  height: 42px !important;
  min-height: 42px !important;
  margin: 0 !important;
  padding: 0 22px 0 12px !important;
  border: 1px solid rgba(112,38,56, .16) !important;
  border-radius: 0 !important;
  color: #604b54 !important;
  background-color: rgba(255,253,248, .96) !important;
  box-shadow: none !important;
  color-scheme: light !important;
  font: 700 13px/40px Inter, system-ui, sans-serif !important;
  cursor: pointer;
}

#language-select option,
#welcome-language option,
#legal-language option,
.lang-select option,
.gm-shell-language option {
  color: #35232a !important;
  background: #fffdf8 !important;
  color-scheme: light !important;
}

.gm-shell-language {
  margin-inline-start: auto !important;
}

.gm-shell-language + .gm-shell-logout {
  margin-inline-start: 8px !important;
}

#logout-button,
#gm-shell-logout,
.gm-shell-logout {
  box-sizing: border-box !important;
  display: inline-flex !important;
  width: auto !important;
  min-width: 88px !important;
  height: 42px !important;
  min-height: 42px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 0 14px !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid rgba(112,38,56, .16) !important;
  border-radius: 0 !important;
  color: #604b54 !important;
  background: transparent !important;
  box-shadow: none !important;
  font: 600 13px/40px Inter, system-ui, sans-serif !important;
  white-space: nowrap !important;
}

#logout-button:hover,
#logout-button:focus,
#gm-shell-logout:hover,
#gm-shell-logout:focus,
.gm-shell-logout:hover,
.gm-shell-logout:focus {
  color: #702638 !important;
  border-color: rgba(112,38,56, .38) !important;
  background: rgba(112,38,56, .05) !important;
  outline: none !important;
}

@media (max-width: 640px) {
  #logout-button,
  #gm-shell-logout,
  .gm-shell-logout {
    width: 42px !important;
    min-width: 42px !important;
    padding: 0 !important;
    overflow: hidden !important;
    font-size: 0 !important;
  }

  #logout-button::before,
  #gm-shell-logout::before,
  .gm-shell-logout::before {
    content: "↪" !important;
    display: block !important;
    font: 700 20px/1 Inter, system-ui, sans-serif !important;
  }
}

#language-select:hover,
#language-select:focus,
#welcome-language:hover,
#welcome-language:focus,
#legal-language:hover,
#legal-language:focus,
.lang-select:hover,
.lang-select:focus,
.gm-shell-language:hover,
.gm-shell-language:focus {
  color: #702638 !important;
  border-color: rgba(112,38,56, .38) !important;
  background-color: #fffdf8 !important;
  outline: none !important;
}
