/* Extend the existing member shell to the requested pages. */
body:has(#app .website-wrapper:is([ww-page-id="e37ce1d5-653d-44dc-9312-73e529a93f09"], [ww-page-id="088cf070-151e-4a15-8ae9-a28fe61f88d7"], [ww-page-id="cc74e4f7-5088-4929-8c72-270c2b59c630"], [ww-page-id="63882941-1b59-4262-adff-b717348eed8c"])) :is(#nfn-profile-header, #nfn-profile-footer),
body:has(#nfn-wishlist) :is(#nfn-profile-header, #nfn-profile-footer) {
  display: block;
}

/* The wishlist had a separate brand/back strip; the shared menu replaces it. */
body:has(#nfn-wishlist) #nfn-wishlist .top { display: none !important; }
body:has(#nfn-wishlist) #nfn-wishlist { min-height: calc(100dvh - 88px); padding-top: 56px; }

/* The help-offer heading, eyebrow and description share one card with the form. */
body:has(#app .website-wrapper[ww-page-id="088cf070-151e-4a15-8ae9-a28fe61f88d7"]) .ww-section:has(> .section-base > form.ww-form-container) {
  padding: clamp(32px, 5vw, 80px) 20px !important;
  justify-content: center !important;
}
body:has(#app .website-wrapper[ww-page-id="088cf070-151e-4a15-8ae9-a28fe61f88d7"]) .ww-section > .section-base:has(> form.ww-form-container) {
  width: min(100%, 760px) !important;
  max-width: 760px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 0 !important;
  margin: 0 auto !important;
  padding: clamp(24px, 4vw, 40px) !important;
  border: 1px solid #dde2de;
  border-radius: 18px;
  background: #fff;
  box-sizing: border-box;
}
body:has(#app .website-wrapper[ww-page-id="088cf070-151e-4a15-8ae9-a28fe61f88d7"]) .ww-section > .section-base:has(> form.ww-form-container) > :is(h1, p) {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}
body:has(#app .website-wrapper[ww-page-id="088cf070-151e-4a15-8ae9-a28fe61f88d7"]) .ww-section > .section-base:has(> form.ww-form-container) > p[data-ww-uid="8dd97b5e-4de1-45bd-81af-4fdb8d18beb3"] {
  margin: 0 0 14px !important;
}
body:has(#app .website-wrapper[ww-page-id="088cf070-151e-4a15-8ae9-a28fe61f88d7"]) .ww-section > .section-base:has(> form.ww-form-container) > p[data-ww-uid="8ade9a7d-9aeb-4eef-b4e6-eaf97f8d7e75"] {
  margin: 12px 0 0 !important;
}
body:has(#app .website-wrapper[ww-page-id="088cf070-151e-4a15-8ae9-a28fe61f88d7"]) .ww-section > .section-base:has(> form.ww-form-container) > form.ww-form-container {
  width: 100% !important;
  max-width: none !important;
  margin: 28px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  box-sizing: border-box;
}

@media (max-width: 700px) {
  body:has(#nfn-wishlist) #nfn-wishlist { min-height: calc(100dvh - 72px); padding-top: 32px; }
  body:has(#app .website-wrapper[ww-page-id="088cf070-151e-4a15-8ae9-a28fe61f88d7"]) .ww-section:has(> .section-base > form.ww-form-container) { padding: 24px 16px !important; }
  body:has(#app .website-wrapper[ww-page-id="088cf070-151e-4a15-8ae9-a28fe61f88d7"]) .ww-section > .section-base:has(> form.ww-form-container) { border-radius: 16px; }
}
