/* Re-assert new chrome after bootstrap / old CSS. Scoped to chrome roots. */

.site-header {
  display: block;
  width: 100%;
  align-items: stretch;
  background: var(--surface);
  box-shadow: var(--shadow-header);
  position: relative;
  z-index: 40;
}

.site-header .container,
.site-footer .container,
.catalog-overlay .container {
  width: min(var(--container), calc(100% - 40px));
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  margin-left: auto;
  margin-right: auto;
}

.site-header .logo,
.site-footer .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 180px;
  height: 70px;
  flex-shrink: 0;
  background-image: none;
  margin-right: 0;
}

.site-header .logo__mark,
.site-footer .logo__mark {
  width: 81px;
  height: 66px;
  object-fit: contain;
  display: block;
  max-width: 100%;
}

.site-header .btn,
.site-footer .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: var(--btn-gradient, linear-gradient(90deg, #e53935 0%, #ff6f3c 100%));
  color: #fff;
  border: none;
  border-radius: var(--round-sm);
  font-weight: 500;
  font-size: 14px;
  padding: 12px;
  white-space: nowrap;
  cursor: pointer;
}

.site-header .btn--catalog {
  height: 50px;
  padding: 12px 20px;
  font-size: 16px;
  flex-shrink: 0;
  background: var(--btn-gradient, linear-gradient(90deg, #e53935 0%, #ff6f3c 100%));
}

.site-header .badge,
.bottom-nav .badge {
  position: absolute;
  top: -5px;
  left: 30px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  background: var(--primary);
  color: #fff;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 500;
  line-height: 16px;
  text-align: center;
}

.bottom-nav .badge {
  left: 50%;
  top: -5px;
  transform: translateX(6px);
}

.site-header a,
.site-footer a,
.bottom-nav a,
.catalog-overlay a {
  color: inherit;
  text-decoration: none;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-header button,
.site-footer button,
.bottom-nav button,
.new-modal__close {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
}

.new-modal button.btn,
#townsConfirm,
.site-ack .btn {
  background: var(--btn-gradient, linear-gradient(90deg, #e53935 0%, #ff6f3c 100%));
  color: #fff;
}

.site-header .btn,
.site-footer .btn,
.new-modal .btn,
.site-ack .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: var(--btn-gradient, linear-gradient(90deg, #e53935 0%, #ff6f3c 100%));
  color: #fff;
  border: none;
  border-radius: var(--round-sm);
  font-weight: 500;
  font-size: 14px;
  padding: 12px;
  white-space: nowrap;
  cursor: pointer;
}

.site-header img,
.site-footer img,
.catalog-overlay img,
.bottom-nav img {
  display: block;
  max-width: 100%;
}

.site-header .header-mobile__logo img,
.site-header .mobile-menu img,
.site-header .icon-loc img,
.site-header .icon-hamburger,
.site-header .search__submit-icon,
.site-header .search__loupe img {
  max-width: none;
}

.site-header .btn:hover,
.site-footer .btn:hover,
.new-modal button.btn:hover,
.new-modal .btn:hover,
#townsConfirm:hover,
.site-ack .btn:hover {
  background: var(--primary-dark, #c62828);
  color: #fff;
}

.site-header .search {
  height: 50px;
  background: var(--primary, #e53935);
}

.site-header .icon-loc {
  overflow: visible;
}

@media (min-width: 901px) {
  .header-mobile,
  .bottom-nav,
  .mobile-only,
  .mobile-menu {
    display: none !important;
  }
}
