.brand-logo {
  width: 92px;
  height: 92px;
  display: block;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .3);
  image-rendering: auto;
  transform: translateZ(0);
}

.brand strong {
  font-size: 20px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .16em;
}

.brand strong em {
  font-size: 10px;
  color: #ff6c7b !important;
  display: inline-block;
  margin-left: 5px;
  padding: 2px 6px;
  border: 1px solid rgba(255, 108, 123, 0.42);
  border-radius: 6px;
  background: rgba(237, 51, 77, 0.13);
  line-height: 1;
}

.brand small {
  margin-top: 5px;
  font-size: 12px;
}

.brand {
  gap: 16px;
}

.brand > span,
.brand-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
}

.brand small { display: block; }

body { font-size: 13px; }
body * { font-size: max(13px, 1em); }
.brand strong em, .brand-badge { font-size: 10px !important; }
@media (max-width: 640px) {
  body { font-size: 14px; }
  body * { font-size: max(14px, 1em); }
}

header.site-header,
body > header {
  height: 104px !important;
  min-height: 104px;
}

.card-logo {
  width: 96px;
  height: 96px;
  display: block;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 13px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .3);
  margin-bottom: 14px;
  image-rendering: auto;
  transform: translateZ(0);
}

.login-card .product-name {
  width: 96px;
  text-align: center;
}

@media (max-width: 640px) {
  header.site-header,
  body > header {
    height: 92px !important;
    min-height: 92px;
  }

  .site-header .brand-logo,
  body > header .brand-logo {
    width: 80px;
    height: 80px;
  }

  .site-header .brand strong,
  body > header .brand strong {
    font-size: 17px;
    letter-spacing: .13em;
    white-space: nowrap;
  }

  .site-header .brand strong em,
  body > header .brand strong em {
    font-size: 9px;
    margin-left: 4px;
    padding: 2px 5px;
  }

  .site-header .brand small,
  body > header .brand small {
    display: block !important;
    margin-top: 4px;
    font-size: 10px;
    white-space: nowrap;
  }

  .site-header .brand,
  body > header .brand {
    gap: 12px;
  }
}
