/* Administrator-owned shopping identity, shared across marketplace and commerce pages. */

header.hg-platform-header {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto 24px;
  padding: 0;
  border: 1px solid #dbe3ed;
  border-radius: 16px;
  background: #fff;
  color: #001d6e;
  overflow: hidden;
  font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  line-height: 1.5;
}

.hg-platform-header * {
  box-sizing: border-box;
}

.hg-platform-header .hg-platform-cover {
  height: 145px;
  background: linear-gradient(120deg,#001d6e,#7fb5ff);
  overflow: hidden;
}

.hg-platform-header .hg-platform-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0;
}

.hg-platform-header .hg-platform-bar {
  position: relative;
  min-height: 64px;
  padding: 14px 24px 14px 108px;
}

.hg-platform-header .hg-platform-logo {
  display: grid;
  place-items: center;
  position: absolute;
  left: 24px;
  top: -34px;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  overflow: hidden;
  background: #001d6e;
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  text-decoration: none;
}

.hg-platform-header .hg-platform-logo:has(img) {
  background: transparent;
}

.hg-platform-header .hg-platform-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  margin: 0;
}

header.hg-platform-header .hg-platform-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px 16px;
  font-size: 13px;
  font-weight: 650;
}

header.hg-platform-header .hg-platform-nav a {
  color: #001d6e;
  text-decoration: none;
  line-height: 1.4;
}

header.hg-platform-header a.hg-platform-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 15px;
  border: 1px solid #b9cbe4;
  border-radius: 9px;
  background: #fff;
  color: #001d6e;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
}

header.hg-platform-header a.hg-platform-button--solid {
  background: #001d6e;
  color: #fff;
  border-color: #001d6e;
}

.hg-platform-header a:focus-visible {
  outline: 3px solid #001d6e;
  outline-offset: 3px;
}

.hg-platform-header .hg-platform-heading {
  padding: 10px 24px 24px;
}

.hg-platform-header .hg-platform-heading .hg-platform-title {
  margin: 0 0 8px;
  font: inherit;
  font-size: clamp(25px,3vw,38px);
  font-weight: 800;
  line-height: 1.2;
}

.hg-platform-header .hg-platform-title a {
  color: #001d6e;
  text-decoration: none;
}

.hg-platform-header .hg-platform-heading>p:not(.hg-platform-title) {
  margin: 0;
  max-width: 70ch;
  color: #536b83;
  font-size: 14px;
  line-height: 1.6;
}

.hg-platform-header--right .hg-platform-logo {
  left: auto;
  right: 24px;
}

.hg-platform-header--right .hg-platform-bar {
  padding-left: 24px;
  padding-right: 108px;
}

.hg-platform-header--right .hg-platform-nav {
  justify-content: flex-start;
}

.hg-platform-header--center .hg-platform-logo {
  left: calc(50% - 34px);
}

.hg-platform-header--center .hg-platform-bar {
  padding: 44px 24px 14px;
}

.hg-platform-header--center .hg-platform-nav {
  justify-content: center;
}

@media(max-width:600px) {
  header.hg-platform-header {
    border-radius: 12px;
  }

  .hg-platform-header .hg-platform-cover {
    height: 105px;
  }

  .hg-platform-header .hg-platform-bar {
    padding: 12px 12px 12px 80px;
  }

  .hg-platform-header .hg-platform-logo {
    width: 56px;
    height: 56px;
    left: 12px;
    top: -28px;
  }

  header.hg-platform-header .hg-platform-nav {
    gap: 8px 10px;
    font-size: 12px;
  }

  header.hg-platform-header a.hg-platform-button {
    font-size: 12px;
    padding: 8px 10px;
    min-height: 38px;
  }

  .hg-platform-header .hg-platform-heading {
    padding: 8px 14px 20px;
  }

  .hg-platform-header--right .hg-platform-logo {
    left: auto;
    right: 12px;
  }

  .hg-platform-header--right .hg-platform-bar {
    padding-left: 12px;
    padding-right: 80px;
  }

  .hg-platform-header--center .hg-platform-logo {
    left: calc(50% - 28px);
  }

  .hg-platform-header--center .hg-platform-bar {
    padding: 40px 12px 12px;
  }
}

/* PATCH032: short mobile navigation; seller CTA travels with the store name. */
.hg-platform-header .hg-platform-mobile-offers,.hg-platform-header .hg-platform-mobile-heading { display: none; }
@media(max-width:600px) {
  .hg-platform-header .hg-platform-bar { display: flex; flex-direction: column; align-items: stretch; gap: 8px; min-height: 58px; }
  header.hg-platform-header .hg-platform-nav { justify-content: flex-start; gap: 7px 13px; }
  .hg-platform-header .hg-platform-desktop-kind, .hg-platform-header .hg-platform-desktop-seller { display: none !important; }
  .hg-platform-header .hg-platform-mobile-offers { display: inline-flex; }
  .hg-platform-header .hg-platform-mobile-heading {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
    gap: 7px; padding: 9px 12px 0; min-width: 0;
  }
  .hg-platform-header .hg-platform-mobile-name {
    color: #001d6e; font-size: 18px; font-weight: 800; line-height: 1.25;
    text-decoration: none; min-width: 0; overflow-wrap: anywhere; flex: 1 1 130px;
  }
  header.hg-platform-header a.hg-platform-mobile-seller {
    font-size: 11px; line-height: 1.2; min-height: 35px; padding: 7px 9px; white-space: nowrap;
  }
  .hg-platform-header .hg-platform-heading .hg-platform-title { display: none; }
  .hg-platform-header .hg-platform-heading { padding-top: 3px; }
}

@media(max-width:600px) { .hg-platform-header .hg-platform-mobile-name { margin:0; } .hg-platform-header .hg-platform-mobile-name a { color:inherit; text-decoration:none; } }
