/* Trend Closet shared header component. */
.tc-header-note {
  background: #302a2a;
  color: rgba(255, 255, 255, .86);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
  padding: 7px 12px;
}

.tc-site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  color: #20243d;
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid rgba(221, 224, 240, .86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.tc-site-header-inner {
  width: min(1120px, calc(100% - 48px));
  min-height: 64px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  position: relative;
}

.tc-header-menu-check {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.tc-header-menu-button {
  width: 44px;
  height: 44px;
  border: 1px solid #dde0f0;
  border-radius: 999px;
  background: #fff;
  display: grid;
  place-content: center;
  gap: 4px;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(37, 42, 80, .08);
}

.tc-header-menu-button span,
.tc-header-menu-button::before,
.tc-header-menu-button::after {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #20243d;
  display: block;
}

.tc-header-brand {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.tc-header-logo {
  color: #6558a6;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 31px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.tc-header-tagline {
  max-width: 190px;
  border-left: 1px solid #dfe1f1;
  padding-left: 12px;
  color: #737891;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 9px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: .04em;
}

.tc-header-nav {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: min(280px, calc(100vw - 44px));
  padding: 10px;
  border: 1px solid #dde0f0;
  border-radius: 18px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 24px 64px rgba(37, 42, 80, .13);
  display: none;
}

.tc-header-menu-check:checked ~ .tc-header-nav {
  display: grid;
  gap: 2px;
}

.tc-header-nav a {
  border-radius: 12px;
  padding: 10px 12px;
  color: #20243d;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.25;
  text-decoration: none;
}

.tc-header-nav a:hover,
.tc-header-nav a[aria-current="page"] {
  background: #eeecff;
  color: #6558a6;
}

.tc-header-nav a[data-highlight="true"] {
  color: #fff;
  background: #313758;
}

@media (min-width: 880px) {
  .tc-site-header-inner {
    grid-template-columns: minmax(260px, auto) 1fr auto;
  }

  .tc-header-menu-button {
    display: none;
  }

  .tc-header-brand {
    justify-self: start;
  }

  .tc-header-nav {
    position: static;
    width: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    display: flex;
    justify-self: end;
    align-items: center;
    gap: 6px;
  }

  .tc-header-nav a {
    padding: 8px 11px;
    font-size: 13px;
  }

  .tc-header-nav a[data-highlight="true"] {
    border-radius: 999px;
    padding-inline: 14px;
  }
}

@media (max-width: 520px) {
  .tc-header-note {
    font-size: 11px;
    padding: 6px 10px;
  }

  .tc-site-header-inner {
    width: min(100% - 24px, 520px);
    min-height: 62px;
    grid-template-columns: 42px minmax(0, 1fr) 42px;
  }

  .tc-header-menu-button {
    width: 42px;
    height: 42px;
  }

  .tc-header-logo {
    font-size: clamp(25px, 8vw, 31px);
  }

  .tc-header-tagline {
    max-width: 148px;
    padding-left: 10px;
    font-size: 8px;
  }
}
