/**
 * TEMPORARY (Helix / Mahdi): hide Login + Free Trial / Sign-up CTAs until finalize.
 * Revert: remove enqueue block marked TEMP-HIDE-AUTH-CTAS in functions.php
 *         and delete this file (or restore functions.php from backup).
 * Date: 2026-10-01
 *
 * Do NOT hide Elementor containers a25f5ea / 6cc8e52 — seo-profile-v7.js mounts
 * the logged-in profile bar into those nodes.
 */

/* ===== Header / sticky header Elementor Log In + Start Free Trial widgets ===== */
#pxl-header-elementor .elementor-element-213450c,  /* main: Log In */
#pxl-header-elementor .elementor-element-193812e,  /* main: Start Free Trial */
#pxl-header-elementor .elementor-element-42b25b1,  /* sticky: Log In */
#pxl-header-elementor .elementor-element-a2cfed7 { /* sticky: Start Free Trial */
  display: none !important;
}

/* ===== Header / mobile: any link to app login or trial signup ===== */
#pxl-header-elementor a[href*="/login"],
#pxl-header-elementor a[href*="/signup"],
#pxl-header-mobile a[href*="/login"],
#pxl-header-mobile a[href*="/signup"],
header a[href*="/login"],
header a[href*="signup?free_trial"],
header a[href*="/signup"] {
  display: none !important;
}

/* ===== Mobile guest auth menu (seo-profile-v7.js) — href-based so logged-in Dashboard/Profile stay ===== */
.seo-mobile-auth-menu a[href*="/login"],
.seo-mobile-auth-menu a[href*="/signup"] {
  display: none !important;
}
.seo-mobile-auth-menu > li.menu-item:has(a[href*="/login"]),
.seo-mobile-auth-menu > li.menu-item:has(a[href*="/signup"]) {
  display: none !important;
}

/* ===== Site-wide Free Trial / auth CTA buttons (landing body) ===== */
a.elementor-button[href*="/login"],
a.elementor-button[href*="signup?free_trial"],
a.elementor-button[href*="/signup"],
a.sa-panel__cta[href*="/signup"],
a.sa-lai__btn[href*="/signup"],
a.sa-lai__btn[href*="free_trial"],
.btn-user__sign-in,
.btn-user__sign-up,
.pxl-hasnt-login {
  display: none !important;
}

/* Theme login/register popup shells (not the WP admin login) */
.pxl-user-popup,
.pxl-user-register,
.pxl-user-login {
  display: none !important;
}

/* Feature list items that deep-link only to trial signup — keep text, block click */
.aiLinks a[href*="signup?free_trial"],
.aiLinks a[href*="/signup"] {
  pointer-events: none !important;
  cursor: default !important;
}
