:root {
  --hy-navy: #0B1F33;
  --hy-blue: #1E4E79;
  --hy-orange: #F97316;
  --hy-line: #DDE5ED;
  --hy-white: #fff;
}

.hy-topbar,
.hy-site-header,
.hy-site-header * {
  box-sizing: border-box;
}

[data-shared-header] {
  display: contents;
}

.hy-topbar {
  background: #081827;
  color: #C7D3DF;
  font-family: Inter, Roboto, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.35;
}

.hy-header-wrap {
  width: min(1760px, calc(100% - 40px));
  margin: 0 auto;
}

.hy-topbar-row {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.hy-topbar strong {
  color: var(--hy-white);
}

.hy-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--hy-line);
  font-family: Inter, Roboto, Arial, sans-serif;
}

.hy-header-row {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
}

.hy-brand {
  flex: 0 0 350px;
  max-width: 350px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--hy-navy);
  text-decoration: none;
  white-space: nowrap;
}

.hy-brand-logo {
  width: 64px;
  height: auto;
  max-height: 60px;
  display: block;
  object-fit: contain;
  flex: 0 0 auto;
}

.hy-brand-name {
  color: var(--hy-navy);
  font-size: 18px;
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: 0;
}

.hy-nav {
  flex: 1 1 auto;
  min-width: 0;
  overflow: visible;
}

.hy-site-header .hy-nav-list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: clamp(12px, 1.05vw, 20px);
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--hy-navy);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 850;
  letter-spacing: 0;
  white-space: nowrap;
}

.hy-site-header .hy-nav-link {
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.hy-site-header .hy-nav-link:hover,
.hy-site-header .hy-nav-link:focus-visible {
  color: var(--hy-blue);
}

.hy-actions {
  flex: 0 0 auto;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  min-width: max-content;
  white-space: nowrap;
}

.hy-language-menu {
  flex: 0 0 auto;
  position: relative;
  color: var(--hy-navy);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 850;
  letter-spacing: 0;
}

.hy-language-menu--mobile {
  display: none;
}

.hy-language-trigger {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--hy-blue);
  cursor: pointer;
  list-style: none;
  user-select: none;
  white-space: nowrap;
}

.hy-language-trigger::-webkit-details-marker {
  display: none;
}

.hy-language-trigger::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.hy-language-menu[open] .hy-language-trigger,
.hy-language-trigger:hover,
.hy-language-trigger:focus-visible {
  border-color: var(--hy-line);
  background: #F4F6F8;
  color: var(--hy-navy);
}

.hy-language-list {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 1010;
  width: 172px;
  margin: 0;
  padding: 7px;
  border: 1px solid var(--hy-line);
  border-radius: 8px;
  background: var(--hy-white);
  box-shadow: 0 18px 42px rgba(11, 31, 51, .14);
  list-style: none;
}

.hy-language-option {
  display: block;
  padding: 9px 10px;
  border-radius: 6px;
  color: var(--hy-navy);
  text-decoration: none;
  white-space: nowrap;
}

.hy-language-option:hover,
.hy-language-option:focus-visible {
  background: #F4F6F8;
  color: var(--hy-blue);
}

.hy-language-option.is-active {
  color: var(--hy-blue);
  font-weight: 900;
}

.hy-language-option.is-disabled {
  color: #8A97A3;
  cursor: not-allowed;
  opacity: .72;
}

.hy-footer-languages {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(221, 229, 237, .22);
  color: inherit;
  font-family: Inter, Roboto, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

.hy-footer-languages strong {
  margin-right: 8px;
}

.hy-footer-language {
  color: inherit;
  text-decoration: none;
}

.hy-footer-language:hover,
.hy-footer-language:focus-visible,
.hy-footer-language.is-active {
  color: var(--hy-orange);
}

.hy-footer-language.is-disabled {
  opacity: .6;
}

.hy-footer-language-separator {
  margin: 0 8px;
  opacity: .55;
}

.hy-cta {
  flex: 0 0 auto;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 6px;
  background: var(--hy-orange);
  color: var(--hy-white);
  text-decoration: none;
  font-size: 13px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: 0;
  white-space: nowrap;
}

.hy-cta:hover,
.hy-cta:focus-visible {
  background: #ea650d;
  color: var(--hy-white);
}

.hy-menu-toggle {
  flex: 0 0 auto;
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--hy-line);
  border-radius: 6px;
  background: var(--hy-white);
  color: var(--hy-navy);
  padding: 0;
}

.hy-menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 6px 0 currentColor, 0 -6px 0 currentColor;
}

@media (max-width: 1560px) {
  .hy-header-wrap {
    width: min(1480px, calc(100% - 36px));
  }

  .hy-header-row {
    gap: 11px;
  }

  .hy-brand {
    flex-basis: 305px;
    max-width: 305px;
    gap: 11px;
  }

  .hy-brand-logo {
    width: 57px;
    max-height: 52px;
  }

  .hy-brand-name {
    font-size: 17px;
  }

  .hy-site-header .hy-nav-list {
    gap: clamp(9px, .82vw, 14px);
    font-size: 12px;
  }

  .hy-actions {
    gap: 7px;
  }

  .hy-cta {
    min-height: 44px;
    padding: 0 11px;
    font-size: 12px;
  }
}

@media (max-width: 1320px) {
  .hy-header-wrap {
    width: min(1260px, calc(100% - 28px));
  }

  .hy-brand {
    flex-basis: 255px;
    max-width: 255px;
    gap: 9px;
  }

  .hy-brand-logo {
    width: 52px;
    max-height: 44px;
  }

  .hy-brand-name {
    font-size: 15.5px;
  }

  .hy-site-header .hy-nav-list {
    gap: clamp(7px, .62vw, 10px);
    font-size: 10.8px;
    font-weight: 850;
  }

  .hy-language-menu {
    font-size: 12px;
  }

  .hy-cta {
    min-height: 42px;
    padding: 0 10px;
    font-size: 11.8px;
  }
}

@media (max-width: 1199px) and (min-width: 900px) {
  .hy-header-wrap {
    width: calc(100% - 24px);
  }

  .hy-topbar-row {
    flex-wrap: wrap;
    gap: 6px 18px;
  }

  .hy-header-row {
    min-height: 78px;
    gap: 10px;
  }

  .hy-brand {
    flex-basis: 254px;
    max-width: 254px;
    gap: 8px;
  }

  .hy-brand-logo {
    width: 48px;
    max-height: 40px;
  }

  .hy-brand-name {
    font-size: 14.5px;
  }

  .hy-site-header .hy-nav-list {
    gap: 5px;
    font-size: 11px;
  }

  .hy-actions {
    gap: 8px;
  }

  .hy-language-menu {
    font-size: 11px;
  }

  .hy-language-trigger {
    padding: 0 8px;
  }

  .hy-cta {
    min-height: 40px;
    padding: 0 10px;
    font-size: 11.5px;
  }
}

body:has(.product-showcase-section) .hero,
body:has(.product-main) .hero {
  padding-top: 72px;
  padding-bottom: 72px;
}

body:has(.product-showcase-section) .hero-grid,
body:has(.product-main) .hero-grid {
  gap: 44px;
}

body:has(.product-showcase-section) .hero h1,
body:has(.product-main) .hero h1 {
  font-size: clamp(38px, 4.7vw, 52px);
  line-height: 1.08;
}

body:has(.product-showcase-section) .hero p,
body:has(.product-main) .hero p {
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.48;
}

body:has(.product-showcase-section) .hero .kicker,
body:has(.product-main) .hero .kicker {
  font-size: clamp(14px, 1.2vw, 18px);
}

@media (max-width: 1000px) {
  body:has(.product-showcase-section) .hero,
  body:has(.product-main) .hero {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  body:has(.product-showcase-section) .hero h1,
  body:has(.product-main) .hero h1 {
    font-size: clamp(32px, 8vw, 42px);
  }

  body:has(.product-showcase-section) .hero p,
  body:has(.product-main) .hero p {
    font-size: 17px;
  }
}

@media (max-width: 899px) {
  .hy-topbar-row {
    min-height: auto;
    padding: 9px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .hy-header-row {
    min-height: 68px;
    flex-wrap: wrap;
    gap: 10px 12px;
    padding: 8px 0;
  }

  .hy-brand {
    flex: 0 0 auto;
    max-width: none;
  }

  .hy-actions {
    margin-left: auto;
  }

  .hy-menu-toggle {
    display: inline-flex;
  }

  .hy-nav {
    order: 5;
    flex: 1 0 100%;
    display: none;
    border-top: 1px solid var(--hy-line);
    margin-top: 6px;
    padding-top: 8px;
    overflow: visible;
  }

  .hy-site-header.is-open .hy-nav {
    display: block;
  }

  .hy-site-header .hy-nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    font-size: 14px;
  }

  .hy-site-header .hy-nav-link {
    display: block;
    padding: 10px 0;
  }

  .hy-language-menu--desktop {
    display: none;
  }

  .hy-language-menu--mobile {
    display: block;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--hy-line);
    font-size: 14px;
  }

  .hy-language-menu--mobile .hy-language-trigger {
    width: 100%;
    justify-content: space-between;
    padding: 0;
    color: var(--hy-navy);
  }

  .hy-language-menu--mobile .hy-language-list {
    position: static;
    width: 100%;
    margin-top: 8px;
    box-shadow: none;
  }
}

@media (max-width: 620px) {
  .hy-header-wrap {
    width: calc(100% - 28px);
  }

  .hy-brand-logo {
    width: 44px;
    max-height: 36px;
  }

  .hy-brand-name {
    font-size: 14px;
  }

  .hy-actions {
    gap: 8px;
  }

  .hy-cta {
    min-height: 38px;
    padding: 0 10px;
    max-width: 132px;
    white-space: normal;
    text-align: center;
  }
}

@media (max-width: 460px) {
  .hy-brand-name {
    max-width: 116px;
    white-space: normal;
  }

  .hy-cta {
    display: none;
  }
}
