/* CP367: scale the shared header as one unit and keep the seasonal strip
   directly between the header and the homepage Hero. */
@media (min-width: 901px) {
  html body.pg-visual-system .page .pg-site-header {
    height: 96px !important;
    min-height: 96px !important;
    padding-inline: clamp(22px, 3vw, 48px) !important;
  }

  html body.pg-visual-system .page .pg-site-header .header-inner {
    width: min(100%, 1680px) !important;
    max-width: 1680px !important;
    height: 96px !important;
    min-height: 96px !important;
    gap: clamp(16px, 2vw, 32px) !important;
  }

  html body.pg-visual-system .page .pg-site-header .header-inner > a.logo {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 0 !important;
    height: 62px !important;
    min-height: 62px !important;
    margin: 0 !important;
  }

  html body.pg-visual-system .page .pg-site-header .header-inner > a.logo picture {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    height: 62px !important;
    max-height: 62px !important;
  }

  html body.pg-visual-system .page .pg-site-header .header-inner > a.logo img {
    width: auto !important;
    max-width: 225px !important;
    height: 62px !important;
    max-height: 62px !important;
  }

  html body.pg-visual-system .page .pg-site-header .desktop-nav {
    gap: clamp(9px, 1.15vw, 18px) !important;
  }

  html body.pg-visual-system .page .pg-site-header .desktop-nav > a,
  html body.pg-visual-system .page .pg-site-header .pg-mega-trigger {
    min-height: 54px !important;
    font-size: clamp(13px, .98vw, 15px) !important;
  }

  html body.pg-visual-system .page .pg-site-header .header-actions {
    gap: clamp(12px, 1.35vw, 20px) !important;
  }

  html body.pg-visual-system .page .pg-site-header .lang-switch,
  html body.pg-visual-system .page .pg-site-header .lang-switch a {
    font-size: 14px !important;
  }

  html body.pg-visual-system .page .pg-site-header .btn-primary,
  html body.pg-visual-system .page .pg-site-header .desktop-only {
    min-height: 52px !important;
    padding-inline: 18px !important;
    font-size: 14px !important;
  }
}

@media (max-width: 900px) {
  html body.pg-visual-system .page .pg-site-header {
    height: 84px !important;
    min-height: 84px !important;
    padding-inline: clamp(10px, 3.3vw, 18px) !important;
  }

  html body.pg-visual-system .page .pg-site-header .header-inner {
    height: 84px !important;
    min-height: 84px !important;
    gap: clamp(6px, 2vw, 11px) !important;
    padding-inline: 0 !important;
  }

  html body.pg-visual-system .page .pg-site-header .header-inner > a.logo {
    flex: 0 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: calc(100vw - 190px) !important;
    height: 48px !important;
    min-height: 48px !important;
    margin: 0 !important;
  }

  html body.pg-visual-system .page .pg-site-header .header-inner > a.logo picture {
    flex: 0 1 auto !important;
    width: auto !important;
    max-width: 100% !important;
    height: 48px !important;
    max-height: 48px !important;
  }

  html body.pg-visual-system .page .pg-site-header .header-inner > a.logo img {
    flex: 0 1 auto !important;
    width: auto !important;
    max-width: 100% !important;
    height: clamp(38px, 11.3vw, 46px) !important;
    max-height: 46px !important;
  }

  html body.pg-visual-system .page .pg-site-header .header-actions {
    flex: 0 0 auto !important;
    gap: clamp(6px, 1.8vw, 10px) !important;
  }

  html body.pg-visual-system .page .pg-site-header .lang-switch {
    gap: 5px !important;
    font-size: clamp(12px, 3.2vw, 14px) !important;
  }

  html body.pg-visual-system .page .pg-site-header .lang-switch a {
    font-size: inherit !important;
  }

  html body.pg-visual-system .page .pg-site-header .btn-primary {
    min-width: 76px !important;
    min-height: 48px !important;
    padding-inline: clamp(7px, 2.2vw, 12px) !important;
    font-size: clamp(11px, 3vw, 13px) !important;
    line-height: 1.15 !important;
    white-space: normal !important;
    text-align: center !important;
  }

  html body.pg-visual-system .page .pg-site-header .burger-btn {
    flex: 0 0 46px !important;
    width: 46px !important;
    height: 46px !important;
    min-height: 46px !important;
    font-size: 25px !important;
  }
}

@media (max-width: 360px) {
  html body.pg-visual-system .page .pg-site-header .header-inner > a.logo {
    max-width: calc(100vw - 202px) !important;
  }

  html body.pg-visual-system .page .pg-site-header .header-inner > a.logo img {
    height: 38px !important;
    max-height: 38px !important;
  }

  html body.pg-visual-system .page .pg-site-header .header-actions {
    gap: 5px !important;
  }

  html body.pg-visual-system .page .pg-site-header .btn-primary {
    min-width: 70px !important;
    padding-inline: 6px !important;
    font-size: 10.5px !important;
  }

  html body.pg-visual-system .page .pg-site-header .burger-btn {
    flex-basis: 44px !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
  }
}

/* Override the older compact-header rules so the mobile CTA scales with the
   taller header instead of remaining at its former 44px/10px size. */
@media (min-width: 361px) and (max-width: 900px) {
  html body.pg-visual-system .page .pg-site-header .header-inner .header-actions > a.btn-primary {
    display: flex !important;
    min-height: 48px !important;
    height: 48px !important;
    font-size: clamp(11px, 3vw, 13px) !important;
    line-height: 1.1 !important;
  }
}

@media (min-width: 600px) and (max-width: 900px) {
  html body.pg-visual-system .page .pg-site-header .header-inner .header-actions > a.btn-primary {
    min-width: 104px !important;
    max-width: none !important;
    padding-inline: 12px !important;
    font-size: 13px !important;
  }
}

/* Tablet widths cannot fit the full desktop navigation and commercial actions. */
@media (min-width: 901px) and (max-width: 1100px) {
  html body.pg-visual-system .page .pg-site-header {
    height: 84px !important;
    min-height: 84px !important;
    padding-inline: 24px !important;
    overflow: visible !important;
  }

  html body.pg-visual-system .page .pg-site-header .header-inner {
    height: 84px !important;
    min-height: 84px !important;
    gap: 14px !important;
  }

  html body.pg-visual-system .page .pg-site-header .header-inner > a.logo,
  html body.pg-visual-system .page .pg-site-header .header-inner > a.logo picture {
    height: 54px !important;
    min-height: 54px !important;
  }

  html body.pg-visual-system .page .pg-site-header .header-inner > a.logo img {
    max-width: 200px !important;
    height: 54px !important;
    max-height: 54px !important;
  }

  html body.pg-visual-system .page .pg-site-header .desktop-nav {
    display: none !important;
  }

  html body.pg-visual-system .page .pg-site-header .header-actions {
    flex: 0 0 auto !important;
    gap: 8px !important;
    margin-left: auto !important;
  }

  html body.pg-visual-system .page .pg-site-header .header-actions > a.btn-primary {
    display: none !important;
  }

  html body.pg-visual-system .page .pg-site-header .pg-header-whatsapp-label {
    display: none !important;
  }

  html body.pg-visual-system .page .pg-site-header .burger-btn {
    display: inline-flex !important;
    flex: 0 0 46px !important;
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    min-height: 46px !important;
  }

  html body.pg-visual-system .page .pg-site-header.menu-open .desktop-nav {
    display: flex !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1101 !important;
    width: 100% !important;
    max-width: none !important;
    max-height: calc(100dvh - 84px) !important;
    overflow: auto !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    padding: 16px 24px !important;
    border-bottom: 1px solid rgba(195, 210, 227, .14) !important;
    background: #020811 !important;
    box-shadow: 0 18px 42px rgba(0, 0, 0, .42) !important;
  }

  html body.pg-visual-system .page .pg-site-header.menu-open .desktop-nav > a,
  html body.pg-visual-system .page .pg-site-header.menu-open .desktop-nav .pg-mega-trigger {
    display: flex !important;
    width: 100% !important;
    min-height: 48px !important;
    justify-content: flex-start !important;
    padding: 10px 14px !important;
    border: 1px solid rgba(195, 210, 227, .12) !important;
    border-radius: 9px !important;
    background: #0A1119 !important;
    color: #F3F6F8 !important;
    text-align: left !important;
  }

  html body.pg-visual-system .page .pg-site-header.menu-open .desktop-nav .pg-mega-trigger {
    justify-content: space-between !important;
  }

  html body.pg-visual-system .page .pg-site-header.menu-open .pg-mega-wrap {
    width: 100% !important;
  }

  html body.pg-visual-system .page .pg-site-header.menu-open .pg-mega-panel {
    position: static !important;
    width: 100% !important;
    max-height: none !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    margin-top: 8px !important;
    padding: 12px !important;
    box-shadow: none !important;
    translate: none !important;
  }
}

/* The strip already sits immediately above the Hero; keep that zero-gap
   relationship while the taller header moves both downward as a unit. */
html body.pg-visual-system .page .pg-holiday-site-banner {
  display: block !important;
  margin: 0 !important;
  margin-block-end: 0 !important;
}

html body.pg-visual-system .page .pg-holiday-site-banner > a {
  margin-block: 0 !important;
}
