:root {
  --fpmm-ink: #0f172a;
  --fpmm-slate-700: #334155;
  --fpmm-slate-500: #64748b;
  --fpmm-border: #e2e8f0;
  --fpmm-soft: #f8fafc;
  --fpmm-white: #ffffff;
  --fpmm-gold: #f5c344;
  --fpmm-coral: #f28482;
  --fpmm-orchid: #b567c2;
  --fpmm-gradient: linear-gradient(135deg, #f5c344 0%, #f28482 50%, #b567c2 100%);
  --fpmm-shadow: 0 24px 70px rgba(15, 23, 42, .14), 0 4px 14px rgba(15, 23, 42, .06);
}

.fpmm-header,
.fpmm-header * { box-sizing: border-box; }
.fpmm-header { position: relative; z-index: 99990; width: 100%; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--fpmm-ink); }
.fpmm-header--sticky { position: sticky; top: 0; }
body.admin-bar .fpmm-header--sticky { top: 32px; }
.fpmm-bar { position: relative; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(226,232,240,.9); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.fpmm-inner { max-width: 1480px; height: 74px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 26px; }
.fpmm-brand { flex: 0 0 auto; min-width: 146px; }
.fpmm-custom-logo .custom-logo-link { display: flex; align-items: center; }
.fpmm-custom-logo img,
.fpmm-uploaded-logo { width: auto; max-width: 178px; max-height: 44px; display: block; }
.fpmm-menu-logo-link { display: inline-flex; align-items: center; text-decoration: none; }
.fpmm-fallback-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fpmm-ink); }
.fpmm-brand-mark { width: 36px; height: 42px; display: grid; place-items: center; border-radius: 10px 10px 10px 4px; background: var(--fpmm-gradient); color: #fff; font-size: 23px; font-weight: 700; position: relative; box-shadow: 0 8px 20px rgba(181,103,194,.22); }
.fpmm-brand-mark:after { content: ""; position: absolute; top: 0; right: 0; border-style: solid; border-width: 0 0 11px 11px; border-color: transparent transparent rgba(255,255,255,.72) transparent; }
.fpmm-brand-word { font-size: 20px; font-weight: 650; letter-spacing: -.035em; }

.fpmm-desktop { min-width: 0; display: flex; align-items: stretch; height: 100%; gap: 4px; }
.fpmm-direct-link,
.fpmm-nav-button { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 74px; padding: 0 13px; border: 0; background: transparent; color: var(--fpmm-ink); text-decoration: none; font: inherit; font-size: 13px; font-weight: 600; white-space: nowrap; cursor: pointer; }
.fpmm-direct-link:after,
.fpmm-nav-button:after { content: ""; position: absolute; left: 13px; right: 13px; bottom: -1px; height: 2px; transform: scaleX(0); transform-origin: center; background: var(--fpmm-gradient); transition: transform .2s ease; }
.fpmm-direct-link:hover:after,
.fpmm-direct-link:focus-visible:after,
.fpmm-direct-link.is-current:after,
.fpmm-nav-button:hover:after,
.fpmm-nav-button:focus-visible:after,
.fpmm-nav-button[aria-expanded="true"]:after { transform: scaleX(1); }
.fpmm-direct-link:hover,
.fpmm-nav-button:hover,
.fpmm-nav-button[aria-expanded="true"] { color: #020617; }
.fpmm-nav-button svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .2s ease; }
.fpmm-nav-button[aria-expanded="true"] svg { transform: rotate(180deg); }

.fpmm-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.fpmm-mobile-toggle { width: 46px; height: 46px; border: 2px solid transparent !important; border-radius: 14px; background: linear-gradient(#fff,#fff) padding-box, var(--fpmm-gradient) border-box !important; display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; cursor: pointer; box-shadow: 0 10px 24px rgba(15,23,42,.08); }
.fpmm-mobile-toggle span { width: 20px; height: 2px; background: var(--fpmm-ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.fpmm-mobile-toggle[aria-expanded="true"] { background: var(--fpmm-gradient) !important; }
.fpmm-mobile-toggle[aria-expanded="true"] span { background: #fff; }
.fpmm-mobile-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.fpmm-mobile-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.fpmm-mobile-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.fpmm-panel { position: absolute; left: 50%; transform: translateX(-50%) translateY(8px); top: calc(100% + 12px); width: min(1180px, calc(100vw - 32px)); background: var(--fpmm-white); border: 1px solid rgba(226,232,240,.92); border-radius: 22px; box-shadow: var(--fpmm-shadow); opacity: 0; pointer-events: none; transition: opacity .18s ease, transform .18s ease; overflow: hidden; }
.fpmm-panel.is-open { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.fpmm-panel[hidden] { display: none; }
.fpmm-panel--small { width: min(680px, calc(100vw - 32px)); padding: 18px; }
.fpmm-small-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
.fpmm-small-grid--business { grid-template-columns: repeat(2, minmax(0,1fr)); }
.fpmm-business-head { margin: -18px -18px 14px; padding: 22px 24px; background: radial-gradient(circle at 20% 0%, rgba(245,195,68,.28), transparent 42%), radial-gradient(circle at 70% 0%, rgba(181,103,194,.22), transparent 48%), #fbfdff; border-bottom: 1px solid var(--fpmm-border); }
.fpmm-business-head strong { display: block; max-width: 540px; margin-top: 5px; font-size: 17px; line-height: 1.35; }
.fpmm-eyebrow { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .13em; background: linear-gradient(90deg, var(--fpmm-gold), var(--fpmm-coral), var(--fpmm-orchid)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.fpmm-tool-link { min-width: 0; display: flex; align-items: flex-start; gap: 11px; padding: 12px; border-radius: 14px; color: var(--fpmm-ink); text-decoration: none; transition: background .16s ease, transform .16s ease; }
.fpmm-tool-link:hover,
.fpmm-tool-link:focus-visible { background: var(--fpmm-soft); transform: translateY(-1px); }
.fpmm-tool-link.is-current { background: linear-gradient(90deg, rgba(245,195,68,.12), rgba(242,132,130,.09), rgba(181,103,194,.1)); }
.fpmm-tool-icon { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(145deg, rgba(245,195,68,.22), rgba(242,132,130,.17), rgba(181,103,194,.2)); color: var(--fpmm-ink); }
.fpmm-tool-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.fpmm-tool-copy { min-width: 0; flex: 1; display: block; }
.fpmm-tool-title { display: flex; align-items: center; gap: 7px; font-size: 13px; line-height: 1.25; font-weight: 650; }
.fpmm-tool-desc { display: block; margin-top: 3px; color: var(--fpmm-slate-500); font-size: 11.5px; line-height: 1.4; }
.fpmm-tool-arrow { margin-left: auto; opacity: 0; transform: translateX(-4px); color: var(--fpmm-orchid); transition: opacity .16s ease, transform .16s ease; }
.fpmm-tool-link:hover .fpmm-tool-arrow { opacity: 1; transform: translateX(0); }
.fpmm-popular { display: inline-flex; align-items: center; padding: 2px 6px; border-radius: 999px; background: rgba(181,103,194,.11); color: #8b3fa0; font-size: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }

.fpmm-panel--mega { padding: 0; }
.fpmm-mega-top { display: flex; align-items: end; justify-content: space-between; gap: 28px; padding: 24px 26px 20px; border-bottom: 1px solid var(--fpmm-border); background: radial-gradient(circle at 8% -30%, rgba(245,195,68,.22), transparent 34%), radial-gradient(circle at 48% -40%, rgba(242,132,130,.16), transparent 38%), radial-gradient(circle at 85% -35%, rgba(181,103,194,.18), transparent 36%), #fff; }
.fpmm-mega-top h2 { margin: 5px 0 0; font-size: 20px; line-height: 1.25; letter-spacing: -.025em; }
.fpmm-search { width: min(330px, 100%); height: 44px; border: 1px solid var(--fpmm-border); border-radius: 12px; background: rgba(255,255,255,.92); display: flex; align-items: center; gap: 9px; padding: 0 13px; box-shadow: 0 5px 16px rgba(15,23,42,.04); }
.fpmm-search:focus-within { border-color: rgba(181,103,194,.65); box-shadow: 0 0 0 4px rgba(181,103,194,.1); }
.fpmm-search svg { width: 18px; height: 18px; fill: none; stroke: var(--fpmm-slate-500); stroke-width: 1.8; stroke-linecap: round; }
.fpmm-search input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: var(--fpmm-ink); font: inherit; font-size: 13px; }
.fpmm-search input::placeholder { color: #94a3b8; }
.fpmm-mega-grid { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0; max-height: min(66vh, 620px); overflow-y: auto; padding: 10px; }
.fpmm-category { min-width: 0; padding: 14px 16px 18px; border-right: 1px solid #eef2f7; border-bottom: 1px solid #eef2f7; }
.fpmm-category:nth-child(3n) { border-right: 0; }
.fpmm-category-head { min-height: 62px; margin-bottom: 5px; }
.fpmm-category-head h3 { margin: 0 0 4px; font-size: 13px; font-weight: 700; letter-spacing: -.01em; }
.fpmm-category-head p { margin: 0; color: var(--fpmm-slate-500); font-size: 10.5px; line-height: 1.42; }
.fpmm-category-links { display: grid; gap: 1px; }
.fpmm-category.is-filtered-empty { display: none; }
.fpmm-no-results { grid-column: 1 / -1; padding: 60px 20px; text-align: center; color: var(--fpmm-slate-500); font-size: 14px; }
.fpmm-mega-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 24px; border-top: 1px solid var(--fpmm-border); background: var(--fpmm-soft); }
.fpmm-privacy { display: flex; align-items: center; gap: 11px; }
.fpmm-privacy-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--fpmm-ink); color: #fff; }
.fpmm-privacy-icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fpmm-privacy strong,
.fpmm-privacy small { display: block; }
.fpmm-privacy strong { font-size: 12px; }
.fpmm-privacy small { margin-top: 2px; color: var(--fpmm-slate-500); font-size: 10.5px; }
.fpmm-view-all { display: inline-flex; align-items: center; gap: 7px; color: var(--fpmm-ink); text-decoration: none; font-size: 12px; font-weight: 700; white-space: nowrap; }
.fpmm-view-all span { color: var(--fpmm-orchid); transition: transform .16s ease; }
.fpmm-view-all:hover span { transform: translateX(3px); }

.fpmm-mobile-panel { display: none; }

@media (max-width: 1180px) {
  .fpmm-inner { gap: 14px; padding: 0 18px; }
  .fpmm-brand { min-width: 125px; }
  .fpmm-custom-logo img { max-width: 150px; }
  .fpmm-direct-link, .fpmm-nav-button { padding: 0 9px; font-size: 12px; }
}

@media (max-width: 1024px) {
  body.admin-bar .fpmm-header--sticky { top: 46px; }
  .fpmm-inner { height: 68px; }
  .fpmm-desktop { display: none; }
  .fpmm-actions { margin-left: auto; }
  .fpmm-mobile-toggle { display: flex; }
  .fpmm-panel { display: none !important; }
  .fpmm-mobile-panel { position: fixed; inset: 0; z-index: 100120; display: block; overflow-y: auto; padding: calc(18px + env(safe-area-inset-top)) 18px calc(110px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, #ffffff 0%, #fcfbff 100%); box-shadow: none; }
  .fpmm-mobile-panel[hidden] { display: none; }
  .fpmm-mobile-search-wrap { position: sticky; top: 0; z-index: 4; padding: 10px 0 14px; background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.92)); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
  .fpmm-search--mobile { width: 100%; }
  .fpmm-mobile-quick { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; padding: 4px 0 18px; }
  .fpmm-tool-link--compact { align-items: center; min-height: 58px; padding: 11px 12px; background: #fff; border: 1px solid var(--fpmm-border); box-shadow: 0 10px 24px rgba(15,23,42,.05); }
  .fpmm-tool-link--compact .fpmm-tool-icon { width: 32px; height: 32px; border-radius: 9px; }
  .fpmm-tool-link--compact .fpmm-tool-title { font-size: 12px; }
  .fpmm-tool-link--compact .fpmm-tool-arrow { display: none; }
  .fpmm-mobile-groups { display: grid; gap: 12px; }
  .fpmm-mobile-group { border: 1px solid var(--fpmm-border); border-radius: 18px; background: #fff; box-shadow: 0 12px 28px rgba(15,23,42,.06); overflow: hidden; }
  .fpmm-mobile-group-toggle { width: 100%; min-height: 66px; padding: 0 18px; border: 0; background: transparent; display: flex; align-items: center; justify-content: space-between; color: var(--fpmm-ink); font: inherit; font-size: 14px; font-weight: 750; cursor: pointer; letter-spacing: -.01em; }
  .fpmm-mobile-group-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .2s ease; }
  .fpmm-mobile-group-toggle[aria-expanded="true"] { background: linear-gradient(135deg, rgba(245,195,68,.10), rgba(242,132,130,.06), rgba(181,103,194,.08)); }
  .fpmm-mobile-group-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .fpmm-mobile-group-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; padding: 0 16px 16px; }
  .fpmm-mobile-group-links[hidden] { display: none; }

  .fpmm-mobile-panel .fpmm-mobile-quick .fpmm-tool-link--compact,
  .fpmm-mobile-panel .fpmm-mobile-group,
  .fpmm-mobile-panel .fpmm-mobile-group-toggle,
  .fpmm-mobile-panel .fpmm-mobile-group-links .fpmm-tool-link--compact {
    background: #fff !important;
    color: var(--fpmm-ink) !important;
  }
  .fpmm-mobile-panel .fpmm-mobile-group-toggle[aria-expanded="true"] {
    background: linear-gradient(135deg, rgba(245,195,68,.10), rgba(242,132,130,.07), rgba(181,103,194,.09)) !important;
  }
  .fpmm-mobile-panel .fpmm-mobile-group-toggle > span { display: inline-flex; align-items: center; gap: 11px; }
  .fpmm-mobile-panel .fpmm-mobile-group-toggle > span:before { content: ""; width: 11px; height: 11px; flex: 0 0 11px; border-radius: 4px; background: var(--fpmm-gradient); box-shadow: 0 0 0 5px rgba(242,132,130,.08); }
  .fpmm-mobile-panel .fpmm-mobile-group-links { border-top: 1px solid rgba(226,232,240,.8); padding-top: 14px; }
  .fpmm-mobile-panel .fpmm-mobile-group-links .fpmm-tool-link--compact { border: 1px solid var(--fpmm-border) !important; border-radius: 14px !important; box-shadow: 0 8px 20px rgba(15,23,42,.045) !important; }
  body.fpmm-menu-open { overflow: hidden; }
}


  .fpmm-mobile-head { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 0 12px; background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.94)); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
  .fpmm-mobile-brand { min-width: 0; }
  .fpmm-mobile-brand .custom-logo-link { display: flex; align-items: center; }
  .fpmm-mobile-brand .custom-logo, .fpmm-mobile-brand .fpmm-uploaded-logo { max-width: 170px; max-height: 46px; width: auto; height: auto; }
  .fpmm-mobile-close { width: 46px; height: 46px; flex: 0 0 46px; border: 2px solid transparent !important; border-radius: 14px; background: linear-gradient(#fff,#fff) padding-box, var(--fpmm-gradient) border-box !important; color: var(--fpmm-ink) !important; font-size: 32px; line-height: 1; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(15,23,42,.08); cursor: pointer; }
  .fpmm-mobile-bottom { padding: 18px 0 18px; display: grid; gap: 12px; }
  .fpmm-mobile-trust { display: flex; align-items: flex-start; gap: 12px; padding: 16px; border-radius: 18px; background: linear-gradient(135deg, rgba(245,195,68,.08), rgba(242,132,130,.06), rgba(181,103,194,.08)); border: 1px solid rgba(181,103,194,.16); }
  .fpmm-mobile-trust-icon { width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center; border-radius: 12px; background: var(--fpmm-ink); color: #fff; }
  .fpmm-mobile-trust-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .fpmm-mobile-trust strong, .fpmm-mobile-trust small { display: block; }
  .fpmm-mobile-trust strong { font-size: 13px; }
  .fpmm-mobile-trust small { margin-top: 3px; color: var(--fpmm-slate-500); font-size: 12px; line-height: 1.45; }
  .fpmm-mobile-browse { display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--fpmm-border); background: #fff; color: var(--fpmm-ink); text-decoration: none; font-size: 13px; font-weight: 700; box-shadow: 0 10px 24px rgba(15,23,42,.05); }
  .fpmm-mobile-browse span { color: var(--fpmm-orchid); }

@media (max-width: 620px) {
  .fpmm-inner { padding: 0 14px; }
  .fpmm-brand { min-width: 0; }
  .fpmm-custom-logo img { max-width: 138px; max-height: 38px; }
  .fpmm-brand-word { font-size: 18px; }
  .fpmm-mobile-quick { grid-template-columns: 1fr; }
  .fpmm-mobile-group-links { grid-template-columns: 1fr; }
  .fpmm-tool-link--compact { min-height: 54px; }
  .fpmm-mobile-close { width: 42px; height: 42px; flex-basis: 42px; font-size: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .fpmm-header *, .fpmm-header *:before, .fpmm-header *:after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* Hello Elementor / Elementor integration */
.fpmm-elementor-host {
  position: relative;
  width: 100%;
  max-width: none;
  overflow: visible !important;
}

.elementor-widget-freepdf_mega_menu,
.elementor-widget-freepdf_mega_menu > .elementor-widget-container {
  width: 100%;
  max-width: none !important;
  overflow: visible !important;
}

/* Break the navigation bar out of a constrained Elementor container. */
.fpmm-elementor-host > .fpmm-header {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
}

.elementor-location-header,
.elementor-location-header .elementor-container,
.elementor-location-header .elementor-widget-wrap,
.elementor-location-header .e-con,
.elementor-location-header .e-con-inner {
  overflow: visible !important;
}

.elementor-location-header .elementor-widget-freepdf_mega_menu {
  z-index: 99990;
}

/* Protect the menu from Elementor Global Style button/link/input rules. */
.fpmm-header a { text-decoration: none; }
.fpmm-header button,
.fpmm-header input {
  font-family: inherit;
  text-transform: none;
  letter-spacing: normal;
}
.fpmm-header button {
  box-shadow: none;
}
.fpmm-header input[type="search"] {
  -webkit-appearance: none;
  appearance: none;
}
.fpmm-header h2,
.fpmm-header h3,
.fpmm-header p {
  margin-top: 0;
}

/* Elementor editor keeps the widget selectable without clipping dropdown previews. */
.elementor-editor-active .elementor-widget-freepdf_mega_menu,
.elementor-editor-active .elementor-widget-freepdf_mega_menu > .elementor-widget-container {
  overflow: visible !important;
}

@supports (width: 100dvw) {
  .fpmm-elementor-host > .fpmm-header {
    width: 100dvw;
    max-width: 100dvw;
    margin-left: calc(50% - 50dvw);
  }
}


/* ==========================================================================\n   FreePDF Mega Menu v1.2.0 — Glass Header + Private-by-Design Navigation\n   ========================================================================== */

/* Floating glass pill on desktop and mobile. */
.fpmm-header {
  padding: 12px 16px 0;
  background: transparent !important;
}
.fpmm-header--sticky {
  top: 0;
}
body.admin-bar .fpmm-header--sticky { top: 32px; }
.fpmm-bar {
  width: min(1320px, 100%);
  margin: 0 auto;
  border: 1px solid rgba(255,255,255,.72) !important;
  border-radius: 22px !important;
  background: rgba(255,255,255,.76) !important;
  box-shadow: 0 14px 40px rgba(15,23,42,.11), inset 0 0 0 1px rgba(242,132,130,.10) !important;
  backdrop-filter: blur(20px) saturate(165%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(165%) !important;
}
.fpmm-inner { height: 66px; padding: 0 18px; }

/* Elementor must not turn menu triggers into boxed buttons. */
.fpmm-header .fpmm-nav-button,
.fpmm-header button.fpmm-nav-button {
  appearance: none !important;
  -webkit-appearance: none !important;
  border: 0 !important;
  outline: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--fpmm-ink) !important;
  padding: 0 12px !important;
  min-height: 66px !important;
}
.fpmm-header .fpmm-direct-link { min-height: 66px; }
.fpmm-nav-button:focus,
.fpmm-nav-button:focus-visible { outline: none !important; box-shadow: none !important; }

/* The burger exists only at tablet/mobile sizes. */
.fpmm-header .fpmm-mobile-toggle { display: none !important; }
.fpmm-mobile-toggle span {
  display: block !important;
  width: 20px !important;
  height: 2px !important;
  min-height: 2px !important;
  border: 0 !important;
  background: var(--fpmm-ink) !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Dropdown surfaces match the premium glass language. */
.fpmm-panel {
  border: 1px solid rgba(255,255,255,.76) !important;
  background: rgba(255,255,255,.88) !important;
  backdrop-filter: blur(22px) saturate(155%) !important;
  -webkit-backdrop-filter: blur(22px) saturate(155%) !important;
  box-shadow: 0 26px 70px rgba(15,23,42,.16), inset 0 0 0 1px rgba(181,103,194,.08) !important;
}

/* One clean search control — no Elementor square inside it. */
.fpmm-header .fpmm-search {
  border: 1px solid rgba(181,103,194,.22) !important;
  border-radius: 18px !important;
  background: rgba(255,255,255,.72) !important;
  box-shadow: 0 10px 28px rgba(15,23,42,.05), inset 0 0 0 1px rgba(245,195,68,.08) !important;
}
.fpmm-header .fpmm-search input,
.fpmm-header .fpmm-search input[type="search"] {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--fpmm-ink) !important;
}
.fpmm-header .fpmm-search input:focus { border: 0 !important; outline: 0 !important; box-shadow: none !important; }

/* Browse-all destination card. */
.fpmm-mobile-browse,
.fpmm-view-all {
  border-color: rgba(181,103,194,.16) !important;
}

@media (max-width: 1024px) {
  body.admin-bar .fpmm-header--sticky { top: 46px; }
  .fpmm-header { padding: 10px 12px 0; }
  .fpmm-bar {
    width: 100%;
    border-radius: 22px !important;
    background: rgba(255,255,255,.78) !important;
    box-shadow: 0 12px 34px rgba(15,23,42,.12), inset 0 0 0 1px rgba(242,132,130,.10) !important;
  }
  .fpmm-inner { height: 62px; padding: 0 14px; }
  .fpmm-header .fpmm-mobile-toggle {
    display: flex !important;
    width: 44px !important;
    height: 44px !important;
    flex: 0 0 44px !important;
    border: 1px solid rgba(181,103,194,.22) !important;
    border-radius: 15px !important;
    background: rgba(255,255,255,.68) !important;
    box-shadow: 0 8px 22px rgba(15,23,42,.08) !important;
  }
  .fpmm-header .fpmm-mobile-toggle[aria-expanded="true"] { background: rgba(255,255,255,.82) !important; }
  .fpmm-header .fpmm-mobile-toggle[aria-expanded="true"] span { background: var(--fpmm-ink) !important; }

  /* Full-screen menu, with a floating glass header pill of its own. */
  .fpmm-mobile-panel {
    inset: 0 !important;
    padding: 96px 14px 32px !important;
    background:
      radial-gradient(circle at 15% 0%, rgba(245,195,68,.10), transparent 30%),
      radial-gradient(circle at 65% 0%, rgba(242,132,130,.08), transparent 34%),
      radial-gradient(circle at 95% 10%, rgba(181,103,194,.10), transparent 32%),
      rgba(248,250,252,.96) !important;
  }
  .fpmm-mobile-head {
    position: fixed !important;
    top: calc(10px + env(safe-area-inset-top));
    left: 12px;
    right: 12px;
    z-index: 100130 !important;
    min-height: 64px;
    padding: 8px 10px 8px 14px !important;
    border: 1px solid rgba(255,255,255,.76) !important;
    border-radius: 22px !important;
    background: rgba(255,255,255,.76) !important;
    box-shadow: 0 14px 38px rgba(15,23,42,.12), inset 0 0 0 1px rgba(242,132,130,.09) !important;
    backdrop-filter: blur(20px) saturate(165%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(165%) !important;
  }
  body.admin-bar .fpmm-mobile-head { top: calc(56px + env(safe-area-inset-top)); }
  .fpmm-mobile-close {
    width: 44px !important;
    height: 44px !important;
    flex: 0 0 44px !important;
    border: 1px solid rgba(181,103,194,.22) !important;
    border-radius: 15px !important;
    background: rgba(255,255,255,.72) !important;
    color: var(--fpmm-ink) !important;
    box-shadow: 0 8px 22px rgba(15,23,42,.07) !important;
    font-size: 28px !important;
  }
  .fpmm-mobile-search-wrap {
    position: static !important;
    padding: 4px 0 16px !important;
    background: transparent !important;
    backdrop-filter: none !important;
  }
  .fpmm-search--mobile { min-height: 58px !important; padding: 0 18px !important; }

  /* Quick tools: soft premium cards. */
  .fpmm-mobile-panel .fpmm-mobile-quick .fpmm-tool-link--compact {
    border: 1px solid rgba(181,103,194,.13) !important;
    border-radius: 20px !important;
    background: rgba(255,255,255,.80) !important;
    box-shadow: 0 12px 30px rgba(15,23,42,.055) !important;
  }

  /* Accordions now use the same visual language as Private by design. */
  .fpmm-mobile-groups { gap: 12px !important; }
  .fpmm-mobile-panel .fpmm-mobile-group {
    border: 1px solid rgba(181,103,194,.15) !important;
    border-radius: 22px !important;
    background: linear-gradient(135deg, rgba(245,195,68,.075), rgba(242,132,130,.055), rgba(181,103,194,.075)) !important;
    box-shadow: 0 12px 30px rgba(15,23,42,.055) !important;
    overflow: hidden !important;
  }
  .fpmm-mobile-panel .fpmm-mobile-group-toggle,
  .fpmm-mobile-panel button.fpmm-mobile-group-toggle {
    min-height: 68px !important;
    width: 100% !important;
    padding: 0 18px !important;
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--fpmm-ink) !important;
    text-align: left !important;
  }
  .fpmm-mobile-panel .fpmm-mobile-group-toggle[aria-expanded="true"] {
    background: rgba(255,255,255,.24) !important;
  }
  .fpmm-mobile-panel .fpmm-mobile-group-toggle > span:before {
    width: 12px !important;
    height: 12px !important;
    border-radius: 5px !important;
    background: var(--fpmm-gradient) !important;
    box-shadow: 0 0 0 5px rgba(242,132,130,.07) !important;
  }
  .fpmm-mobile-panel .fpmm-mobile-group-links {
    gap: 8px !important;
    padding: 2px 12px 14px !important;
    border-top: 0 !important;
  }
  .fpmm-mobile-panel .fpmm-mobile-group-links .fpmm-tool-link--compact {
    min-height: 52px !important;
    border: 1px solid rgba(255,255,255,.82) !important;
    border-radius: 15px !important;
    background: rgba(255,255,255,.70) !important;
    box-shadow: 0 7px 18px rgba(15,23,42,.035) !important;
  }

  .fpmm-mobile-trust {
    border-radius: 22px !important;
    background: linear-gradient(135deg, rgba(245,195,68,.08), rgba(242,132,130,.06), rgba(181,103,194,.08)) !important;
    border: 1px solid rgba(181,103,194,.15) !important;
    box-shadow: 0 12px 30px rgba(15,23,42,.05) !important;
  }
  .fpmm-mobile-browse {
    border-radius: 18px !important;
    background: rgba(255,255,255,.76) !important;
    border: 1px solid rgba(181,103,194,.14) !important;
    box-shadow: 0 10px 24px rgba(15,23,42,.04) !important;
  }
}

@media (max-width: 620px) {
  .fpmm-mobile-panel { padding-left: 12px !important; padding-right: 12px !important; }
  .fpmm-mobile-brand .fpmm-uploaded-logo,
  .fpmm-mobile-brand .custom-logo { max-width: 165px !important; max-height: 44px !important; }
}
