/* Widget 17 — header, v2 (v2_kit.header / header_phone).
   Desktop 84 tall: wordmark, menu, language button, Get the app.
   Below 900: 64 tall, wordmark, Get the app and the menu button; the menu opens a panel. */

.hc-header {
  position: relative;
  z-index: 50;
  background: var(--hc-band);
  box-shadow: inset 0 -1px 0 var(--hc-hair);
}
.hc-header__inner {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 56px;
  max-width: var(--hc-shell);
  height: 84px;
  margin: 0 auto;
  padding: 0 var(--hc-gutter);
}

.hc-wordmark {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: var(--hc-text);
  text-decoration: none;
  flex-shrink: 0;
}
.hc-wordmark:hover { color: var(--hc-text); }
.hc-wordmark img { display: block; width: 26px; height: 31px; }
.hc-wordmark span {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 3.6px;
  text-transform: uppercase;
  line-height: 1;
}

.hc-header__nav { flex-grow: 1; }
.hc-header__menu {
  display: flex;
  gap: 36px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hc-header__menu a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  font-weight: 500;
  color: var(--hc-text);
  text-decoration: none;
  white-space: nowrap;
}
.hc-header__menu .current-menu-item > a,
.hc-header__menu a[aria-current] { color: var(--hc-accent); }

.hc-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hc-header__lang { position: relative; }
.hc-header__lang-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 16px;
  border: 1px solid var(--hc-line);
  border-radius: 999px;
  background: transparent;
  color: var(--hc-text);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}
.hc-header__chev { display: flex; color: var(--hc-muted); transition: transform 0.15s; }
.hc-header__lang-btn[aria-expanded="true"] .hc-header__chev { transform: rotate(180deg); }

.hc-header__lang-list {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  margin: 0;
  padding: 8px;
  list-style: none;
  border-radius: 16px;
  background: var(--hc-card);
  box-shadow: inset 0 0 0 1px var(--hc-hair), var(--hc-shadow-card);
}
.hc-header__lang-list[hidden] { display: none; }
.hc-header__lang-list a,
.hc-header__panel-langs a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  color: var(--hc-text);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}
.hc-header__lang-list a:hover { background: var(--hc-alt); opacity: 1; }
.hc-header__lang-list a[aria-current],
.hc-header__panel-langs a[aria-current] { color: var(--hc-accent); font-weight: 600; }

.hc-header__menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--hc-line);
  border-radius: 999px;
  background: transparent;
  color: var(--hc-text);
  cursor: pointer;
}

.hc-header__panel {
  box-sizing: border-box;
  padding: 4px 20px 20px;
  background: var(--hc-band);
  box-shadow: inset 0 -1px 0 var(--hc-hair);
}
.hc-header__panel[hidden] { display: none; }
.hc-header__panel .hc-header__menu {
  flex-direction: column;
  gap: 0;
}
.hc-header__panel .hc-header__menu a {
  min-height: 52px;
  font-size: 17px;
  box-shadow: inset 0 -1px 0 var(--hc-hair);
}
.hc-header__panel-langs {
  display: flex;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.hc-header__panel-langs a {
  padding: 0 16px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--hc-line);
}

@media (max-width: 900px) {
  .hc-header__inner {
    height: 64px;
    gap: 16px;
    justify-content: space-between;
    padding: 0 20px;
  }
  .hc-header__nav,
  .hc-header__lang { display: none; }
  .hc-header__actions { gap: 8px; }
  .hc-header__menu-btn { display: flex; }
}
@media (min-width: 901px) {
  .hc-header__panel { display: none; }
}
