/* Product header: one aligned row, then a compact menu when space is limited. */
.product-page .announcement {
  height: auto;
  min-height: 40px;
  padding: 9px max(5%, calc((100% - 1400px) / 2));
  gap: 24px;
  font-size: 12px;
  line-height: 1.6;
  font-weight: 700;
  letter-spacing: .06em;
}
.product-page .announcement span + span { font-size: 12px; letter-spacing: 0; }
.product-page .pd-site-header { background: #fff; border-bottom: 1px solid #dce3e8; }
.pd-header-inner {
  width: min(1400px, 90%);
  margin-inline: auto;
  min-height: 90px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  padding-block: 18px;
}
.pd-header-brand { display: flex; flex-direction: column; gap: 7px; color: #172b3b; }
.pd-header-wordmark { font-size: 24px; font-weight: 800; letter-spacing: .13em; line-height: 1.15; }
.pd-header-caption { font-size: 10px; line-height: 1.5; font-weight: 650; letter-spacing: .065em; color: #40515e; }
.product-page .pd-site-header .pd-header-nav {
  display: flex;
  position: static;
  grid-column: auto;
  grid-row: auto;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  gap: 24px;
  padding: 0;
  margin: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}
.product-page .pd-header-nav > a,
.product-page .pd-header-nav > details > summary {
  display: block;
  padding: 14px 0;
  color: #213746;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.4;
  white-space: nowrap;
  border: 0;
}
.pd-header-nav .pd-nav-current { box-shadow: inset 0 -2px #274e6b; }
.pd-header-nav > a:hover { color: #145680; }
.product-page .pd-header-nav .nav-dropdown-menu { top: calc(100% + 12px); width: 320px; }
.product-page .pd-header-nav .nav-dropdown-menu a { font-size: 14px !important; line-height: 1.6; white-space: normal; }
.pd-header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 20px; }
.pd-header-email, .pd-header-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  color: #213746;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.5;
  white-space: nowrap;
}
.pd-header-email svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.6; flex-shrink: 0; }
.pd-header-whatsapp .brand-app-icon { width: 28px; height: 28px; min-width: 28px; }
.pd-header-socials { display: flex; align-items: center; gap: 10px; padding-left: 20px; border-left: 1px solid #dce3e8; }
.pd-header-socials a { width: 30px; height: 44px; display: grid; place-items: center; }
.pd-header-socials .brand-app-icon { width: 28px; height: 28px; }
.pd-header-actions a:hover { opacity: .8; }
.product-page .pd-header-toggle { display: none; }
.product-page main [id] { scroll-margin-top: 115px; }

@media (max-width: 1439px) {
  .pd-header-inner { gap: 24px; }
  .product-page .pd-site-header .pd-header-nav { gap: 22px; }
  .pd-header-email > span { display: none; }
  .pd-header-email { width: 28px; }
  .pd-header-actions { gap: 15px; }
  .pd-header-socials { padding-left: 15px; }
}
@media (max-width: 1100px) {
  .pd-header-inner { grid-template-columns: minmax(0, 1fr) auto auto; min-height: 82px; gap: 20px; padding-block: 14px; }
  .product-page .pd-header-toggle {
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 6px;
    width: 36px;
    height: 44px;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
  }
  .product-page .pd-header-toggle span { width: 22px; height: 2px; background: #213746; }
  .product-page .pd-header-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .product-page .pd-header-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .product-page .pd-site-header .pd-header-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 14px 5% 22px;
    border-bottom: 1px solid #dce3e8;
    box-shadow: 0 14px 25px #172b3b0d;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100svh - 100px);
    overflow-y: auto;
  }
  .product-page .pd-site-header .pd-header-nav.is-open { display: flex; }
  .product-page .pd-header-nav > a, .product-page .pd-header-nav > details > summary { padding: 14px 0; border-bottom: 1px solid #e9eef1; }
  .pd-header-nav .pd-nav-current { box-shadow: none; }
  .product-page .pd-header-nav .nav-dropdown-menu {
    position: static;
    display: none;
    width: auto;
    margin: 0;
    padding: 5px 15px;
    border: 0;
    background: #f1f5f7;
    box-shadow: none;
    transform: none;
  }
  .product-page .pd-header-nav .nav-dropdown[open] .nav-dropdown-menu { display: grid; }
  .product-page .announcement { justify-content: center; }
  .product-page .announcement span + span { display: none; }
}
@media (max-width: 700px) {
  .pd-header-inner { width: calc(100% - 40px); min-height: 80px; padding-block: 12px; gap: 12px; }
  .pd-header-wordmark { font-size: 21px; letter-spacing: .11em; }
  .pd-header-caption { max-width: 190px; font-size: 10px; line-height: 1.4; letter-spacing: .02em; }
  .pd-header-brand { gap: 5px; }
  .pd-header-socials, .pd-header-whatsapp > span { display: none; }
  .pd-header-actions { gap: 8px; }
  .pd-header-email, .pd-header-whatsapp { width: 32px; }
  .product-page .announcement { padding: 9px 20px; font-size: 11px; letter-spacing: .025em; }
}
@media (max-width: 370px) {
  .pd-header-inner { width: calc(100% - 32px); gap: 8px; }
  .pd-header-wordmark { font-size: 19px; }
  .pd-header-actions { gap: 5px; }
}
