/* The Pro entry comes first, before Comment ça marche, in both menus. */
.qp-phone-header a.qp-nav-pro,
.mobile-nav-panel a.qp-nav-pro-mobile,
#mobile-menu a.qp-nav-pro-mobile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  box-sizing: border-box;
  padding: 12px 18px;
  border: 1px solid #e4d8ff;
  border-radius: 999px;
  background: #f3edff;
  color: #7545ce;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease;
}
.qp-phone-header a.qp-nav-pro { margin-right: 10px; }
.mobile-nav-panel a.qp-nav-pro-mobile,
#mobile-menu a.qp-nav-pro-mobile { justify-content: flex-start; }
.qp-phone-header a.qp-nav-pro:focus-visible,
.mobile-nav-panel a.qp-nav-pro-mobile:focus-visible,
#mobile-menu a.qp-nav-pro-mobile:focus-visible {
  outline: 2px solid #7545ce;
  outline-offset: 3px;
}
@media (hover: hover) {
  .qp-phone-header a.qp-nav-pro:hover,
  .mobile-nav-panel a.qp-nav-pro-mobile:hover,
  #mobile-menu a.qp-nav-pro-mobile:hover {
    background: #ebe0ff;
    border-color: #cdb5fa;
    color: #6337b6;
  }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .qp-phone-header a.qp-nav-pro { padding-inline: 14px; margin-right: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .qp-phone-header a.qp-nav-pro,
  .mobile-nav-panel a.qp-nav-pro-mobile,
  #mobile-menu a.qp-nav-pro-mobile { transition: none; }
}

/* Shared labels in legacy footers and native hidden state for both menus. */
.qp-footer-pro-link { font: inherit; color: inherit; text-decoration: none; }
footer:not(.footer) .qp-footer-pro-link { font-size: 14px; color: #cbd5e1; }
.qp-footer-pro-link:hover { text-decoration: underline; }
.qp-footer-pro-access { margin: 20px auto 0; padding-inline: 24px; text-align: center; }
#mobile-nav-panel[hidden], #mobile-menu[hidden] { display: none !important; }
#mobile-menu[aria-modal="true"] { max-height: calc(100dvh - 64px); overflow-y: auto; }
