.ffphm-header{background:var(--ffphm-d-bg);border-bottom:1px solid var(--ffphm-d-border);position:relative;z-index:var(--ffphm-z);box-shadow:0 12px 28px rgba(15,23,42,.06)}.ffphm-sticky{position:sticky;top:0}.ffphm-inner{max-width:var(--ffphm-max);margin:0 auto;padding:var(--ffphm-d-pad);display:flex;align-items:center;gap:var(--ffphm-gap)}.ffphm-logo{display:inline-flex;align-items:center;text-decoration:none;color:var(--ffphm-d-text);font-weight:800;font-size:22px;line-height:1}.ffphm-logo img{max-height:44px;width:auto;display:block}.ffphm-desktop-menu{flex:1}.ffphm-menu{display:flex;align-items:center;gap:4px;list-style:none;margin:0;padding:0}.ffphm-menu a{display:block;color:var(--ffphm-d-text);text-decoration:none;font-weight:700;padding:10px 12px;border-radius:12px}.ffphm-menu a:hover{background:rgba(37,99,235,.08);color:var(--ffphm-d-accent)}.ffphm-actions{display:flex;align-items:center;gap:10px}.ffphm-icon-btn{width:44px;height:44px;border-radius:999px;background:var(--ffphm-icon-bg);color:var(--ffphm-icon-color);border:1px solid var(--ffphm-icon-border);display:inline-flex;align-items:center;justify-content:center;text-decoration:none;position:relative;cursor:pointer;box-shadow:var(--ffphm-icon-shadow);transition:.18s ease;padding:0;line-height:1}.ffphm-icon-btn:hover{transform:translateY(-1px);color:var(--ffphm-d-accent);border-color:rgba(37,99,235,.25)}.ffphm-icon-btn .ffphm-svg,.ffphm-svg{width:21px;height:21px;display:block;color:currentColor;fill:none!important;stroke:currentColor;overflow:visible}.ffphm-icon-btn svg path,.ffphm-icon-btn svg circle,.ffphm-icon-btn svg line,.ffphm-icon-btn svg polyline{vector-effect:non-scaling-stroke}.ffphm-notify{background:linear-gradient(135deg,#ef4444,#b91c1c)!important;color:#fff!important;border-color:rgba(255,255,255,.18)!important}.ffphm-notify:hover{color:#fff!important}.ffphm-dark-toggle{background:linear-gradient(135deg,#fff,#eef2ff)}body.ffphm-dark .ffphm-dark-toggle{background:linear-gradient(135deg,#111827,#334155);color:#fde68a}.ffphm-notify span{position:absolute;top:-6px;right:-6px;background:var(--ffphm-badge-bg);color:var(--ffphm-badge-color);font-size:11px;font-weight:900;border-radius:999px;min-width:19px;height:19px;display:flex;align-items:center;justify-content:center;padding:0 5px;border:2px solid var(--ffphm-d-bg)}.ffphm-profile-wrap{position:relative}.ffphm-profile-btn{height:44px;border-radius:999px;border:1px solid var(--ffphm-icon-border);background:var(--ffphm-icon-bg);color:var(--ffphm-icon-color);display:flex;align-items:center;gap:8px;padding:0 13px;cursor:pointer;font-weight:800;box-shadow:var(--ffphm-icon-shadow);line-height:1}.ffphm-profile-btn img{border-radius:999px;width:28px;height:28px}.ffphm-profile-dropdown{display:none;position:absolute;right:0;top:calc(100% + 10px);min-width:205px;background:#fff;border:1px solid #e5e7eb;border-radius:18px;box-shadow:0 20px 50px rgba(15,23,42,.15);padding:8px}.ffphm-profile-wrap:hover .ffphm-profile-dropdown,.ffphm-profile-wrap.ffphm-open .ffphm-profile-dropdown{display:block}.ffphm-profile-dropdown a{display:flex;align-items:center;gap:9px;text-decoration:none;color:#111827;padding:11px 12px;border-radius:12px;font-weight:700}.ffphm-profile-dropdown a:hover{background:#f3f4f6}.ffphm-profile-dropdown svg{width:18px;height:18px;flex:0 0 18px;color:#64748b}.ffphm-login{height:44px;display:inline-flex;align-items:center;gap:8px;border-radius:999px;padding:0 16px;background:var(--ffphm-d-accent);color:#fff!important;text-decoration:none;font-weight:900;box-shadow:0 12px 24px rgba(37,99,235,.25)}.ffphm-login svg{width:18px;height:18px}.ffphm-search-panel{display:none;max-width:var(--ffphm-max);margin:0 auto;padding:0 22px 14px}.ffphm-search-panel.ffphm-open{display:block}.ffphm-search-panel form{display:flex;gap:10px}.ffphm-search-panel input{flex:1;padding:12px 14px;border:1px solid var(--ffphm-d-border);border-radius:14px}.ffphm-search-panel button{border:0;border-radius:14px;background:var(--ffphm-d-accent);color:#fff;font-weight:800;padding:0 18px}.ffphm-mobile-toggle{display:none}.ffphm-mobile-drawer,.ffphm-drawer-overlay{display:none}
body.ffphm-dark{background:#0f172a;color:#e5e7eb}body.ffphm-dark .ffphm-header{background:#111827;border-color:#374151}body.ffphm-dark .ffphm-menu a,body.ffphm-dark .ffphm-logo{color:#f9fafb}body.ffphm-dark .ffphm-icon-btn,body.ffphm-dark .ffphm-profile-btn{background:#1f2937;color:#f9fafb;border-color:#334155}
@media(max-width:768px){.ffphm-desktop-menu{display:none}.ffphm-mobile-toggle{display:inline-flex}.ffphm-inner{padding:var(--ffphm-m-pad)}.ffphm-profile-btn span{display:none}.ffphm-actions>.ffphm-dark-toggle{display:inline-flex}.ffphm-mobile-drawer{position:fixed;top:0;right:-340px;width:min(320px,88vw);height:100vh;background:var(--ffphm-m-bg);color:var(--ffphm-m-text);z-index:calc(var(--ffphm-z) + 5);display:block;transition:.25s ease;box-shadow:-20px 0 50px rgba(0,0,0,.25);padding:18px;overflow:auto}.ffphm-mobile-drawer.ffphm-open{right:0}.ffphm-drawer-overlay{position:fixed;inset:0;background:rgba(0,0,0,.48);z-index:calc(var(--ffphm-z) + 4)}.ffphm-drawer-overlay.ffphm-open{display:block}.ffphm-drawer-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.ffphm-drawer-close{background:transparent;border:0;color:var(--ffphm-m-text)}.ffphm-drawer-close svg{width:24px;height:24px;fill:none!important;stroke:currentColor}.ffphm-drawer-menu .ffphm-menu{display:block}.ffphm-drawer-menu .ffphm-menu a{color:var(--ffphm-m-text);padding:12px 10px;border-radius:12px}.ffphm-drawer-menu .ffphm-menu a:hover{background:rgba(255,255,255,.1);color:#fff}.ffphm-drawer-actions{border-top:1px solid rgba(255,255,255,.14);margin-top:14px;padding-top:14px;display:grid;gap:10px}.ffphm-drawer-actions .ffphm-icon-btn,.ffphm-drawer-actions .ffphm-profile-btn,.ffphm-drawer-actions .ffphm-login{width:100%;height:46px;border-radius:15px;justify-content:flex-start;padding:0 14px;background:rgba(255,255,255,.08)!important;border-color:rgba(255,255,255,.16)!important;color:var(--ffphm-m-text)!important;box-shadow:none}.ffphm-drawer-actions .ffphm-notify::after{content:'Notifications';font-weight:800;margin-left:10px}.ffphm-drawer-actions .ffphm-profile-btn span{display:inline}.ffphm-drawer-actions .ffphm-profile-wrap{width:100%}.ffphm-drawer-actions .ffphm-profile-dropdown{display:block;position:static;background:transparent;border:0;box-shadow:none;padding:6px 0 0}.ffphm-drawer-actions .ffphm-profile-dropdown a{color:var(--ffphm-m-text);background:rgba(255,255,255,.06);margin-top:6px}.ffphm-drawer-actions .ffphm-profile-dropdown a svg{color:var(--ffphm-m-accent)}.ffphm-actions>.ffphm-notify,.ffphm-actions>.ffphm-profile-wrap{display:none}}

/* v1.2.0 mobile menu/categories/social polish */
.ffphm-mobile-actions{display:none}.ffphm-login-icon svg{width:20px;height:20px}.ffphm-profile-icon-only img{width:28px;height:28px;border-radius:999px;display:block}.ffphm-drawer-head .ffphm-logo{color:var(--ffphm-m-text)}.ffphm-drawer-head .ffphm-logo img{max-height:40px}.ffphm-drawer-section{margin-top:16px;padding-top:15px;border-top:1px solid var(--ffphm-drawer-border)}.ffphm-drawer-section h3{margin:0 0 12px;font-size:15px;line-height:1.2;font-weight:900;color:var(--ffphm-m-text)}.ffphm-cat-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}.ffphm-cat-list a,.ffphm-cat-menu .ffphm-cat-menu a{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ffphm-drawer-card-text);background:var(--ffphm-drawer-card-bg);border:1px solid var(--ffphm-drawer-border);border-radius:14px;padding:11px 12px;font-weight:800}.ffphm-cat-list a:hover,.ffphm-cat-menu a:hover{border-color:var(--ffphm-m-accent);color:#fff}.ffphm-cat-list em{margin-left:auto;min-width:32px;height:24px;border-radius:999px;background:rgba(255,255,255,.10);display:inline-flex;align-items:center;justify-content:center;font-style:normal;font-size:12px;font-weight:900}.ffphm-cat-dot{width:9px;height:9px;border-radius:999px;background:var(--ffphm-m-accent);box-shadow:0 0 0 4px rgba(244,63,94,.13);flex:0 0 9px}.ffphm-cat-menu ul{display:grid!important;gap:8px;list-style:none;margin:0;padding:0}.ffphm-cat-menu li{margin:0}.ffphm-drawer-social{padding-bottom:10px}.ffphm-social-icons{display:flex;flex-wrap:wrap;gap:10px}.ffphm-social-icons a{width:42px;height:42px;border-radius:999px;background:var(--ffphm-social-bg);color:var(--ffphm-social-color);border:1px solid var(--ffphm-drawer-border);display:inline-flex;align-items:center;justify-content:center;text-decoration:none;box-shadow:0 10px 24px rgba(0,0,0,.16);transition:.18s ease}.ffphm-social-icons a:hover{transform:translateY(-2px);background:var(--ffphm-m-accent);color:#fff}.ffphm-social-icons svg{width:20px;height:20px;display:block}.ffphm-mobile-drawer{width:min(var(--ffphm-drawer-width),88vw);padding:var(--ffphm-drawer-pad)}
@media(max-width:768px){.ffphm-inner{justify-content:space-between}.ffphm-logo{flex:0 0 auto;max-width:45%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ffphm-desktop-actions{display:none!important}.ffphm-mobile-actions{display:flex;align-items:center;justify-content:flex-end;gap:var(--ffphm-mobile-gap);margin-left:auto}.ffphm-mobile-actions .ffphm-icon-btn{display:inline-flex!important;width:44px;height:44px;flex:0 0 44px}.ffphm-mobile-actions .ffphm-profile-icon-only{padding:0}.ffphm-drawer-actions .ffphm-notify::after{content:'Notifications';font-weight:900;margin-left:10px}.ffphm-drawer-actions .ffphm-login-icon::after{content:'Login';font-weight:900;margin-left:10px}.ffphm-drawer-actions .ffphm-profile-icon-only{display:none!important}}


/* v1.2.1 safe fixes: full theme header hide support + mobile header overflow protection */
.ffphm-header,.ffphm-header *{box-sizing:border-box}.ffphm-header{width:100%;max-width:100%;overflow:visible}.ffphm-inner{width:100%;max-width:var(--ffphm-max)}
@media(max-width:768px){
  .ffphm-header{overflow:hidden}
  .ffphm-inner{max-width:100%;min-width:0;padding-left:12px!important;padding-right:12px!important;gap:6px!important;flex-wrap:nowrap;justify-content:space-between}
  .ffphm-logo{flex:1 1 auto;min-width:0;max-width:none!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .ffphm-logo img{max-width:100%;height:auto;max-height:42px;object-fit:contain}
  .ffphm-mobile-actions{flex:0 0 auto;min-width:0;gap:6px!important;max-width:calc(100% - 120px)}
  .ffphm-mobile-actions .ffphm-icon-btn{width:38px!important;height:38px!important;flex:0 0 38px!important;min-width:38px!important}
  .ffphm-mobile-actions .ffphm-icon-btn .ffphm-svg,.ffphm-mobile-actions .ffphm-svg{width:19px!important;height:19px!important}
  .ffphm-mobile-actions .ffphm-profile-icon-only img{width:26px!important;height:26px!important}
}
@media(max-width:380px){
  .ffphm-inner{padding-left:10px!important;padding-right:10px!important;gap:5px!important}
  .ffphm-logo img{max-height:38px}
  .ffphm-mobile-actions{gap:5px!important;max-width:calc(100% - 105px)}
  .ffphm-mobile-actions .ffphm-icon-btn{width:35px!important;height:35px!important;flex-basis:35px!important;min-width:35px!important}
  .ffphm-mobile-actions .ffphm-icon-btn .ffphm-svg,.ffphm-mobile-actions .ffphm-svg{width:18px!important;height:18px!important}
  .ffphm-mobile-actions .ffphm-profile-icon-only img{width:24px!important;height:24px!important}
}


/* v1.2.2 safe fixes: tablet uses mobile header, stronger theme hide, and logged-out mobile overflow control */
.ffphm-header{isolation:isolate}
@media(max-width:1023px){
  .ffphm-desktop-menu{display:none!important}
  .ffphm-desktop-actions{display:none!important}
  .ffphm-mobile-toggle{display:inline-flex!important}
  .ffphm-mobile-actions{display:flex!important;align-items:center;justify-content:flex-end;margin-left:auto;flex:0 0 auto;min-width:0;max-width:calc(100% - 150px);gap:6px!important}
  .ffphm-header{width:100%;max-width:100%;overflow:hidden}
  .ffphm-inner{width:100%;max-width:100%;min-width:0;box-sizing:border-box;padding:12px!important;display:flex;align-items:center;justify-content:space-between;gap:6px!important;flex-wrap:nowrap;overflow:hidden}
  .ffphm-logo{flex:1 1 auto;min-width:0;max-width:160px!important;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
  .ffphm-logo img{display:block;max-width:100%;width:auto;height:auto;max-height:42px;object-fit:contain}
  .ffphm-mobile-actions .ffphm-icon-btn{display:inline-flex!important;width:38px!important;height:38px!important;min-width:38px!important;flex:0 0 38px!important;padding:0!important}
  .ffphm-mobile-actions .ffphm-svg,.ffphm-mobile-actions .ffphm-icon-btn .ffphm-svg{width:19px!important;height:19px!important}
  .ffphm-mobile-actions .ffphm-login-icon svg{width:19px!important;height:19px!important}
  .ffphm-mobile-actions .ffphm-profile-icon-only img{width:26px!important;height:26px!important;border-radius:999px}
  .ffphm-mobile-drawer{display:block;position:fixed;top:0;right:-340px;width:min(var(--ffphm-drawer-width),88vw);height:100vh;z-index:calc(var(--ffphm-z) + 5);overflow:auto}
  .ffphm-mobile-drawer.ffphm-open{right:0}
  .ffphm-drawer-overlay{position:fixed;inset:0;z-index:calc(var(--ffphm-z) + 4)}
}
@media(max-width:380px){
  .ffphm-inner{padding-left:10px!important;padding-right:10px!important;gap:5px!important}
  .ffphm-logo{max-width:145px!important}
  .ffphm-logo img{max-height:38px}
  .ffphm-mobile-actions{gap:5px!important;max-width:calc(100% - 135px)}
  .ffphm-mobile-actions .ffphm-icon-btn{width:35px!important;height:35px!important;min-width:35px!important;flex-basis:35px!important}
  .ffphm-mobile-actions .ffphm-svg,.ffphm-mobile-actions .ffphm-icon-btn .ffphm-svg{width:18px!important;height:18px!important}
  .ffphm-mobile-actions .ffphm-login-icon svg{width:18px!important;height:18px!important}
  .ffphm-mobile-actions .ffphm-profile-icon-only img{width:24px!important;height:24px!important}
}
@media(min-width:381px) and (max-width:430px){
  .ffphm-logo{max-width:165px!important}
}
@media(min-width:431px) and (max-width:1023px){
  .ffphm-logo{max-width:220px!important}
  .ffphm-mobile-actions{max-width:calc(100% - 210px)}
}

/* v1.2.3 final premium responsive repair: no strip, centered desktop, tablet=mobile */
.ffphm-header,.ffphm-header *,.ffphm-mobile-drawer,.ffphm-mobile-drawer *{box-sizing:border-box}
.ffphm-header{width:100%;max-width:100%;background:var(--ffphm-d-bg);border-bottom:1px solid var(--ffphm-d-border);box-shadow:0 14px 34px rgba(15,23,42,.07);overflow:visible;isolation:isolate;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.ffphm-inner{width:100%;max-width:var(--ffphm-max);margin:0 auto;padding:var(--ffphm-d-pad);display:grid;grid-template-columns:minmax(180px,260px) minmax(0,1fr) minmax(180px,260px);align-items:center;gap:18px;overflow:visible}
.ffphm-logo{min-width:0;color:var(--ffphm-d-text);font-size:24px;font-weight:850;letter-spacing:-.035em;line-height:1;text-decoration:none}
.ffphm-logo img{max-height:46px;width:auto;display:block;object-fit:contain}
.ffphm-desktop-menu{display:flex!important;justify-content:center;align-items:center;min-width:0;overflow:visible;flex:initial}
.ffphm-desktop-menu .ffphm-menu{display:flex;align-items:center;justify-content:center;gap:10px;list-style:none;margin:0;padding:0;min-width:0}
.ffphm-menu li{position:relative;margin:0;padding:0;list-style:none}
.ffphm-menu a{display:flex;align-items:center;gap:7px;min-height:42px;padding:10px 13px;border-radius:14px;color:var(--ffphm-d-text);font-size:15px;font-weight:760;letter-spacing:-.015em;line-height:1;text-decoration:none;white-space:nowrap;transition:background .18s ease,color .18s ease,transform .18s ease}
.ffphm-menu a:hover,.ffphm-menu .current-menu-item>a,.ffphm-menu .current_page_item>a,.ffphm-menu .current-menu-ancestor>a{background:rgba(16,185,129,.09);color:var(--ffphm-d-accent)}
.ffphm-menu a:hover{transform:translateY(-1px)}
.ffphm-menu .menu-item-has-children>a::after{content:"";width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-2px);margin-left:3px;opacity:.9}
.ffphm-menu .sub-menu{display:block!important;position:absolute;top:calc(100% + 12px);left:50%;min-width:220px;margin:0;padding:8px;list-style:none;background:#fff;border:1px solid rgba(226,232,240,.95);border-radius:18px;box-shadow:0 24px 60px rgba(15,23,42,.16);opacity:0;visibility:hidden;transform:translate(-50%,8px);transition:.18s ease;z-index:calc(var(--ffphm-z) + 10)}
.ffphm-menu li:hover>.sub-menu,.ffphm-menu li:focus-within>.sub-menu{opacity:1;visibility:visible;transform:translate(-50%,0)}
.ffphm-menu .sub-menu .sub-menu{top:-8px;left:calc(100% + 10px);transform:translate(8px,0)}
.ffphm-menu .sub-menu li:hover>.sub-menu,.ffphm-menu .sub-menu li:focus-within>.sub-menu{transform:translate(0,0)}
.ffphm-menu .sub-menu a{justify-content:flex-start;min-height:40px;padding:11px 12px;border-radius:12px;font-size:14px;font-weight:720;color:#111827}
.ffphm-menu .sub-menu a:hover{background:#f0fdf4;color:var(--ffphm-d-accent);transform:none}
.ffphm-actions{display:flex;align-items:center;gap:10px}
.ffphm-desktop-actions{justify-content:flex-end;min-width:0}
.ffphm-icon-btn{width:42px;height:42px;min-width:42px;border-radius:999px;background:var(--ffphm-icon-bg);color:var(--ffphm-icon-color);border:1px solid var(--ffphm-icon-border);display:inline-flex;align-items:center;justify-content:center;text-decoration:none;position:relative;cursor:pointer;box-shadow:var(--ffphm-icon-shadow);transition:.18s ease;padding:0;line-height:1;overflow:visible}
.ffphm-icon-btn:hover{transform:translateY(-1px);color:var(--ffphm-d-accent);border-color:rgba(16,185,129,.28)}
.ffphm-icon-btn .ffphm-svg,.ffphm-svg{width:20px;height:20px;display:block;color:currentColor;fill:none!important;stroke:currentColor;overflow:visible;stroke-linecap:round;stroke-linejoin:round}
.ffphm-notify{background:var(--ffphm-icon-bg)!important;color:var(--ffphm-icon-color)!important;border-color:var(--ffphm-icon-border)!important}
.ffphm-notify span{position:absolute;top:-7px;right:-6px;background:var(--ffphm-badge-bg);color:var(--ffphm-badge-color);font-size:10.5px;font-weight:900;border-radius:999px;min-width:18px;height:18px;display:flex;align-items:center;justify-content:center;padding:0 5px;border:2px solid var(--ffphm-d-bg);line-height:1}
.ffphm-login{height:42px;display:inline-flex;align-items:center;gap:8px;border-radius:999px;padding:0 16px;background:var(--ffphm-d-accent);color:#fff!important;text-decoration:none;font-size:14px;font-weight:850;box-shadow:0 12px 24px rgba(16,185,129,.22);white-space:nowrap}
.ffphm-login svg{width:18px;height:18px}
.ffphm-profile-btn{height:42px;border-radius:999px;border:1px solid var(--ffphm-icon-border);background:var(--ffphm-icon-bg);color:var(--ffphm-icon-color);display:flex;align-items:center;gap:8px;padding:0 12px;cursor:pointer;font-size:14px;font-weight:800;box-shadow:var(--ffphm-icon-shadow);line-height:1;white-space:nowrap}
.ffphm-profile-btn img{border-radius:999px;width:28px;height:28px}
.ffphm-profile-dropdown{right:0;top:calc(100% + 12px);min-width:210px;background:#fff;border:1px solid rgba(226,232,240,.95);border-radius:18px;box-shadow:0 24px 60px rgba(15,23,42,.16);padding:8px;z-index:calc(var(--ffphm-z) + 11)}
.ffphm-profile-dropdown a{display:flex;align-items:center;gap:10px;text-decoration:none;color:#111827;padding:11px 12px;border-radius:12px;font-size:14px;font-weight:720}
.ffphm-profile-dropdown a:hover{background:#f8fafc;color:var(--ffphm-d-accent)}
.ffphm-search-panel{max-width:var(--ffphm-max);margin:0 auto;padding:0 22px 14px;background:transparent}
.ffphm-search-panel form{display:flex;gap:10px}
.ffphm-search-panel input{flex:1;min-width:0;padding:13px 14px;border:1px solid var(--ffphm-d-border);border-radius:14px;background:#fff;color:#111827;outline:none}
.ffphm-search-panel button{border:0;border-radius:14px;background:var(--ffphm-d-accent);color:#fff;font-weight:850;padding:0 18px}
.ffphm-disable-desktop{display:none!important}
@media(max-width:1023px){
  .ffphm-disable-desktop.ffphm-enable-mobile{display:block!important}
  .ffphm-header{background:var(--ffphm-d-bg);border-bottom:1px solid var(--ffphm-d-border);box-shadow:0 10px 24px rgba(15,23,42,.06);overflow:visible!important;min-height:0}
  .ffphm-header::before,.ffphm-header::after,.ffphm-inner::before,.ffphm-inner::after,.ffphm-mobile-actions::before,.ffphm-mobile-actions::after{display:none!important;content:none!important;background:transparent!important}
  .ffphm-inner{max-width:100%;width:100%;display:flex!important;align-items:center;justify-content:space-between;gap:8px!important;flex-wrap:nowrap;padding:11px 12px!important;overflow:visible!important;background:transparent!important;min-height:0}
  .ffphm-logo{flex:1 1 auto;min-width:0;max-width:none!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:21px;font-weight:850;color:var(--ffphm-d-text)}
  .ffphm-logo img{max-width:100%;max-height:40px;width:auto;height:auto;object-fit:contain}
  .ffphm-desktop-menu,.ffphm-desktop-actions{display:none!important}
  .ffphm-mobile-actions{display:flex!important;align-items:center;justify-content:flex-end;gap:6px!important;margin:0!important;flex:0 0 auto;min-width:0;max-width:68%;overflow:visible!important;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
  .ffphm-mobile-actions .ffphm-icon-btn{display:inline-flex!important;width:38px!important;height:38px!important;min-width:38px!important;flex:0 0 38px!important;padding:0!important;margin:0!important;background:var(--ffphm-icon-bg)!important;color:var(--ffphm-icon-color)!important;border:1px solid var(--ffphm-icon-border)!important;box-shadow:var(--ffphm-icon-shadow)!important;overflow:visible!important}
  .ffphm-mobile-actions .ffphm-svg,.ffphm-mobile-actions .ffphm-icon-btn .ffphm-svg{width:19px!important;height:19px!important}
  .ffphm-mobile-actions .ffphm-profile-icon-only{padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;overflow:visible!important}
  .ffphm-mobile-actions .ffphm-profile-icon-only img{width:34px!important;height:34px!important;border-radius:999px;display:block;border:2px solid rgba(255,255,255,.9);box-shadow:0 6px 16px rgba(15,23,42,.12)}
  .ffphm-mobile-actions .ffphm-notify span{top:-7px;right:-7px;border-color:var(--ffphm-d-bg)}
  .ffphm-search-panel{padding:0 12px 12px;background:var(--ffphm-d-bg)}
  .ffphm-search-panel form{gap:8px}
  .ffphm-search-panel input{padding:12px 13px}
  .ffphm-mobile-drawer{display:block!important;position:fixed;top:0;right:-360px;width:min(var(--ffphm-drawer-width),88vw);height:100vh;background:var(--ffphm-m-bg);color:var(--ffphm-m-text);z-index:calc(var(--ffphm-z) + 5);transition:right .25s ease;box-shadow:-24px 0 60px rgba(0,0,0,.28);padding:var(--ffphm-drawer-pad);overflow:auto}
  .ffphm-mobile-drawer.ffphm-open{right:0}
  .ffphm-drawer-overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,.48);z-index:calc(var(--ffphm-z) + 4)}
  .ffphm-drawer-overlay.ffphm-open{display:block!important}
  .ffphm-drawer-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
  .ffphm-drawer-close{width:40px;height:40px;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);color:var(--ffphm-m-text);display:inline-flex;align-items:center;justify-content:center;padding:0}
  .ffphm-drawer-menu .ffphm-menu{display:grid!important;gap:7px;list-style:none;margin:0;padding:0;justify-content:stretch}
  .ffphm-drawer-menu .ffphm-menu a{width:100%;justify-content:flex-start;color:var(--ffphm-m-text);background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08);padding:13px 12px;border-radius:14px;font-size:15px;font-weight:800}
  .ffphm-drawer-menu .ffphm-menu a:hover{background:rgba(255,255,255,.11);color:#fff;transform:none}
  .ffphm-drawer-menu .ffphm-menu .sub-menu{position:static;display:grid!important;opacity:1;visibility:visible;transform:none;min-width:0;background:transparent;border:0;box-shadow:none;padding:7px 0 0 14px;margin:0;gap:6px}
  .ffphm-drawer-menu .ffphm-menu .sub-menu a{font-size:14px;background:rgba(255,255,255,.04);min-height:38px;padding:10px 12px;color:var(--ffphm-m-text)}
  .ffphm-drawer-actions{border-top:1px solid rgba(255,255,255,.14);margin-top:15px;padding-top:15px;display:grid;gap:10px}
  .ffphm-drawer-actions .ffphm-icon-btn,.ffphm-drawer-actions .ffphm-profile-btn,.ffphm-drawer-actions .ffphm-login{width:100%;height:46px;border-radius:15px;justify-content:flex-start;padding:0 14px;background:rgba(255,255,255,.08)!important;border-color:rgba(255,255,255,.16)!important;color:var(--ffphm-m-text)!important;box-shadow:none}
  .ffphm-drawer-actions .ffphm-profile-wrap{width:100%}
  .ffphm-drawer-actions .ffphm-profile-dropdown{display:block;position:static;background:transparent;border:0;box-shadow:none;padding:6px 0 0;min-width:0}
  .ffphm-drawer-actions .ffphm-profile-dropdown a{color:var(--ffphm-m-text);background:rgba(255,255,255,.06);margin-top:6px}
  .ffphm-disable-mobile{display:none!important}
}
@media(max-width:430px){
  .ffphm-inner{padding-left:10px!important;padding-right:10px!important;gap:6px!important}
  .ffphm-logo{font-size:20px;max-width:calc(100% - 184px)!important}
  .ffphm-logo img{max-height:38px}
  .ffphm-mobile-actions{max-width:184px;gap:5px!important}
  .ffphm-mobile-actions .ffphm-icon-btn{width:35px!important;height:35px!important;min-width:35px!important;flex-basis:35px!important}
  .ffphm-mobile-actions .ffphm-svg,.ffphm-mobile-actions .ffphm-icon-btn .ffphm-svg{width:18px!important;height:18px!important}
  .ffphm-mobile-actions .ffphm-profile-icon-only img{width:31px!important;height:31px!important}
}
@media(max-width:360px){
  .ffphm-logo{max-width:calc(100% - 166px)!important}
  .ffphm-mobile-actions{max-width:166px;gap:4px!important}
  .ffphm-mobile-actions .ffphm-icon-btn{width:32px!important;height:32px!important;min-width:32px!important;flex-basis:32px!important}
  .ffphm-mobile-actions .ffphm-profile-icon-only img{width:29px!important;height:29px!important}
}
@media(min-width:1024px){
  .ffphm-mobile-actions{display:none!important}
  .ffphm-enable-desktop.ffphm-disable-mobile{display:block!important}
  .ffphm-menu>.menu-item>a{position:relative}
  .ffphm-menu>.current-menu-item>a::before,.ffphm-menu>.current_page_item>a::before,.ffphm-menu>.current-menu-ancestor>a::before{content:"";position:absolute;left:14px;right:14px;bottom:3px;height:2px;border-radius:99px;background:var(--ffphm-d-accent)}
}
@media(min-width:1024px) and (max-width:1180px){
  .ffphm-inner{grid-template-columns:minmax(150px,220px) minmax(0,1fr) minmax(150px,220px);gap:12px}
  .ffphm-desktop-menu .ffphm-menu{gap:4px}
  .ffphm-menu a{font-size:14px;padding-left:10px;padding-right:10px}
  .ffphm-profile-btn span{max-width:92px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
}

/* v1.2.4 final desktop balance patch: Bengali long menu safe center layout */
@media(min-width:1024px){
  .ffphm-header{overflow:visible!important}
  .ffphm-inner{
    display:grid!important;
    grid-template-columns:minmax(110px,220px) minmax(0,1fr) minmax(120px,230px)!important;
    align-items:center!important;
    gap:10px!important;
    overflow:visible!important;
  }
  .ffphm-logo{justify-self:start;min-width:0;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .ffphm-logo img{max-width:100%;height:auto;object-fit:contain}
  .ffphm-desktop-menu{width:100%;min-width:0;display:flex!important;justify-content:center!important;align-items:center!important;overflow:visible!important}
  .ffphm-desktop-menu .ffphm-menu{
    width:auto!important;
    max-width:100%!important;
    display:flex!important;
    justify-content:center!important;
    align-items:center!important;
    gap:2px!important;
    flex-wrap:nowrap!important;
    white-space:nowrap!important;
    overflow:visible!important;
  }
  .ffphm-menu li{position:relative;flex:0 0 auto;margin:0!important;padding:0!important}
  .ffphm-menu>li>a,
  .ffphm-menu>.menu-item>a{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:7px!important;
    min-height:42px!important;
    padding:9px 9px!important;
    border-radius:13px!important;
    font-size:14px!important;
    line-height:1.15!important;
    font-weight:800!important;
    letter-spacing:-.015em!important;
    white-space:nowrap!important;
  }
  .ffphm-menu a svg,.ffphm-menu a .ffphm-svg{width:18px!important;height:18px!important;flex:0 0 18px!important}
  .ffphm-desktop-actions{justify-self:end;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:7px!important;min-width:0;max-width:230px;overflow:visible!important}
  .ffphm-desktop-actions .ffphm-icon-btn{width:39px!important;height:39px!important;min-width:39px!important}
  .ffphm-desktop-actions .ffphm-svg{width:18px!important;height:18px!important}
  .ffphm-profile-btn{height:39px!important;max-width:118px!important;padding:0 10px!important;gap:7px!important;font-size:13px!important}
  .ffphm-profile-btn span{display:inline-block;max-width:70px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .ffphm-login{height:39px!important;padding:0 13px!important;font-size:13px!important}
  .ffphm-menu .sub-menu{
    position:absolute!important;
    left:0!important;
    top:calc(100% + 10px)!important;
    z-index:calc(var(--ffphm-z) + 20)!important;
    min-width:215px!important;
    display:grid!important;
    gap:4px!important;
    padding:9px!important;
    margin:0!important;
    list-style:none!important;
    background:#fff!important;
    border:1px solid rgba(226,232,240,.96)!important;
    border-radius:16px!important;
    box-shadow:0 24px 60px rgba(15,23,42,.18)!important;
    opacity:0!important;
    visibility:hidden!important;
    transform:translateY(8px)!important;
    pointer-events:none!important;
    transition:opacity .16s ease,transform .16s ease,visibility .16s ease!important;
  }
  .ffphm-menu li:hover>.sub-menu,
  .ffphm-menu li:focus-within>.sub-menu{
    opacity:1!important;
    visibility:visible!important;
    transform:translateY(0)!important;
    pointer-events:auto!important;
  }
  .ffphm-menu .sub-menu a{
    width:100%!important;
    min-height:38px!important;
    justify-content:flex-start!important;
    padding:10px 11px!important;
    border-radius:11px!important;
    font-size:13.5px!important;
    font-weight:750!important;
    color:var(--ffphm-d-text)!important;
    background:transparent!important;
  }
  .ffphm-menu .sub-menu a:hover{background:rgba(16,185,129,.09)!important;color:var(--ffphm-d-accent)!important}
  .ffphm-menu .sub-menu .sub-menu{left:calc(100% + 8px)!important;top:0!important}
}
@media(min-width:1024px) and (max-width:1199px){
  .ffphm-inner{grid-template-columns:minmax(86px,145px) minmax(0,1fr) minmax(92px,190px)!important;gap:6px!important;padding-left:10px!important;padding-right:10px!important}
  .ffphm-logo{max-width:145px!important}
  .ffphm-desktop-menu .ffphm-menu{gap:0!important}
  .ffphm-menu>li>a,.ffphm-menu>.menu-item>a{font-size:12.5px!important;padding-left:6px!important;padding-right:6px!important;gap:5px!important;min-height:38px!important;font-weight:760!important}
  .ffphm-menu a svg,.ffphm-menu a .ffphm-svg{width:16px!important;height:16px!important;flex-basis:16px!important}
  .ffphm-desktop-actions{gap:5px!important;max-width:190px!important}
  .ffphm-desktop-actions .ffphm-icon-btn{width:35px!important;height:35px!important;min-width:35px!important}
  .ffphm-desktop-actions .ffphm-svg{width:16px!important;height:16px!important}
  .ffphm-profile-btn{height:35px!important;max-width:90px!important;padding:0 7px!important;font-size:12px!important}
  .ffphm-profile-btn img{width:24px!important;height:24px!important}
  .ffphm-profile-btn span{max-width:42px!important}
  .ffphm-login{height:35px!important;padding:0 10px!important;font-size:12px!important}
}
@media(min-width:1200px) and (max-width:1360px){
  .ffphm-inner{grid-template-columns:minmax(120px,190px) minmax(0,1fr) minmax(125px,210px)!important;gap:8px!important}
  .ffphm-menu>li>a,.ffphm-menu>.menu-item>a{font-size:13.5px!important;padding-left:8px!important;padding-right:8px!important}
  .ffphm-desktop-actions{max-width:210px!important;gap:6px!important}
  .ffphm-profile-btn{max-width:105px!important}
  .ffphm-profile-btn span{max-width:58px!important}
}


/* v1.2.5 desktop custom links/category buttons */
.ffphm-custom-links{display:none!important}
@media(min-width:1024px){
  .ffphm-desktop-menu{gap:4px!important}
  .ffphm-desktop-menu>.ffphm-menu{flex:0 0 auto!important}
  .ffphm-custom-links{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:2px!important;
    margin:0!important;
    padding:0!important;
    list-style:none!important;
    flex-wrap:nowrap!important;
    white-space:nowrap!important;
  }
  .ffphm-custom-link-item{position:relative!important;margin:0!important;padding:0!important;flex:0 0 auto!important}
  .ffphm-custom-link-item>a{
    color:var(--item-color,var(--ffphm-custom-link-color))!important;
    background:var(--item-bg,var(--ffphm-custom-link-bg))!important;
    font-size:var(--item-font-size,var(--ffphm-custom-link-font-size))!important;
    font-weight:var(--item-font-weight,var(--ffphm-custom-link-font-weight))!important;
    font-style:var(--item-font-style,var(--ffphm-custom-link-font-style))!important;
    padding:var(--ffphm-custom-link-padding)!important;
    border-radius:var(--ffphm-custom-link-radius)!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:7px!important;
    min-height:42px!important;
    line-height:1.15!important;
    text-decoration:none!important;
    border:1px solid rgba(226,232,240,.9)!important;
    box-shadow:0 8px 24px rgba(15,23,42,.05)!important;
    white-space:nowrap!important;
  }
  .ffphm-custom-link-item>a:hover{
    color:var(--ffphm-custom-link-hover-color)!important;
    background:var(--ffphm-custom-link-hover-bg)!important;
    transform:translateY(-1px)!important;
  }
  .ffphm-custom-link-icon{width:var(--item-icon-size,var(--ffphm-custom-link-icon-size))!important;height:var(--item-icon-size,var(--ffphm-custom-link-icon-size))!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 var(--item-icon-size,var(--ffphm-custom-link-icon-size))!important}
  .ffphm-custom-link-icon .ffphm-svg{width:100%!important;height:100%!important;display:block!important}
}
@media(max-width:1023px){.ffphm-custom-links{display:none!important}}
@media(min-width:1024px) and (max-width:1199px){
  .ffphm-custom-link-item>a{min-height:36px!important;padding:7px 7px!important;font-size:min(var(--item-font-size,var(--ffphm-custom-link-font-size)),12px)!important;gap:5px!important}
  .ffphm-custom-link-icon{width:16px!important;height:16px!important;flex-basis:16px!important}
}


/* v1.2.7 theme menu admin controls: desktop only */
@media(min-width:1024px){
  .ffphm-desktop-menu .ffphm-theme-menu{
    gap:var(--ffphm-theme-menu-gap)!important;
    margin:var(--ffphm-theme-menu-margin)!important;
  }
  .ffphm-theme-menu>li>a,
  .ffphm-theme-menu>.menu-item>a{
    color:var(--ffphm-theme-menu-text-color)!important;
    font-size:var(--ffphm-theme-menu-font-size)!important;
    font-weight:var(--ffphm-theme-menu-font-weight)!important;
    font-style:var(--ffphm-theme-menu-font-style)!important;
    padding:var(--ffphm-theme-menu-padding)!important;
    border-radius:var(--ffphm-theme-menu-radius)!important;
  }
  .ffphm-theme-menu>li>a:hover,
  .ffphm-theme-menu>.menu-item>a:hover{
    color:var(--ffphm-theme-menu-hover-color)!important;
    background:var(--ffphm-theme-menu-hover-bg)!important;
  }
  .ffphm-theme-menu>.current-menu-item>a,
  .ffphm-theme-menu>.current_page_item>a,
  .ffphm-theme-menu>.current-menu-ancestor>a{
    color:var(--ffphm-theme-menu-active-color)!important;
    background:var(--ffphm-theme-menu-active-bg)!important;
  }
  .ffphm-theme-menu .sub-menu{
    min-width:var(--ffphm-theme-menu-dropdown-width)!important;
    background:var(--ffphm-theme-menu-dropdown-bg)!important;
  }
  .ffphm-theme-menu .sub-menu a{
    color:var(--ffphm-theme-menu-dropdown-text-color)!important;
    font-size:var(--ffphm-theme-menu-dropdown-font-size)!important;
    padding:var(--ffphm-theme-menu-dropdown-padding)!important;
  }
  .ffphm-theme-menu .sub-menu a:hover{
    color:var(--ffphm-theme-menu-dropdown-hover-color)!important;
    background:var(--ffphm-theme-menu-dropdown-hover-bg)!important;
  }
}

/* v1.2.9 brand/logo/title controls */
.ffphm-brand{display:inline-flex;align-items:center;gap:var(--ffphm-brand-gap);min-width:0;max-width:100%;text-decoration:none!important;color:var(--ffphm-brand-title-color)!important;line-height:1.1}
.ffphm-brand:hover{color:var(--ffphm-brand-title-hover)!important}
.ffphm-brand-vertical{flex-direction:column;align-items:flex-start;gap:max(4px,calc(var(--ffphm-brand-gap) / 2))}
.ffphm-brand-align-center{align-items:center}.ffphm-brand-align-start{align-items:flex-start}.ffphm-brand-align-end{align-items:flex-end}
.ffphm-brand-logo{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:var(--ffphm-brand-logo-w-d);height:var(--ffphm-brand-logo-h-d);overflow:hidden;border-radius:var(--ffphm-brand-logo-radius)}
.ffphm-brand-logo img{width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;border-radius:var(--ffphm-brand-logo-radius)}
.ffphm-brand-text{display:flex;flex-direction:column;justify-content:center;min-width:0;gap:3px;overflow:var(--ffphm-brand-text-overflow,visible)}
.ffphm-brand-title{display:block;color:var(--ffphm-brand-title-color);font-size:var(--ffphm-brand-title-size-d);font-weight:var(--ffphm-brand-title-weight);font-style:var(--ffphm-brand-title-style);letter-spacing:var(--ffphm-brand-title-letter);white-space:var(--ffphm-brand-text-wrap,normal);overflow:var(--ffphm-brand-text-overflow,visible);text-overflow:var(--ffphm-brand-text-ellipsis,clip);line-height:1.12}
.ffphm-brand:hover .ffphm-brand-title{color:var(--ffphm-brand-title-hover)}
.ffphm-brand-tagline{display:block;color:var(--ffphm-brand-tagline-color);font-size:var(--ffphm-brand-tagline-size-d);font-weight:var(--ffphm-brand-tagline-weight);letter-spacing:0;white-space:var(--ffphm-brand-text-wrap,normal);overflow:var(--ffphm-brand-text-overflow,visible);text-overflow:var(--ffphm-brand-text-ellipsis,clip);line-height:1.18}
.ffphm-brand-logo_only .ffphm-brand-text,.ffphm-brand-title_only .ffphm-brand-logo{display:none!important}
@media(max-width:1023px){
  .ffphm-brand-logo{width:var(--ffphm-brand-logo-w-t);height:var(--ffphm-brand-logo-h-t)}
  .ffphm-brand-title{font-size:var(--ffphm-brand-title-size-t)}
  .ffphm-brand-tagline{font-size:var(--ffphm-brand-tagline-size-t)}
}
@media(max-width:767px){
  .ffphm-brand-logo{width:var(--ffphm-brand-logo-w-m);height:var(--ffphm-brand-logo-h-m)}
  .ffphm-brand-title{font-size:var(--ffphm-brand-title-size-m)}
  .ffphm-brand-tagline{font-size:var(--ffphm-brand-tagline-size-m)}
}

/* v1.2.10 Desktop True Center Menu Patch
   Keeps the WordPress/theme menu visually centered in the header while logo stays left and actions stay right. */
@media(min-width:1024px){
  .ffphm-inner{
    position:relative!important;
    display:grid!important;
    grid-template-columns:minmax(160px,1fr) minmax(0,auto) minmax(160px,1fr)!important;
    align-items:center!important;
  }
  .ffphm-inner>.ffphm-brand,
  .ffphm-inner>.ffphm-logo{
    grid-column:1!important;
    justify-self:start!important;
    align-self:center!important;
    position:relative!important;
    z-index:3!important;
  }
  .ffphm-desktop-actions{
    grid-column:3!important;
    justify-self:end!important;
    align-self:center!important;
    position:relative!important;
    z-index:3!important;
  }
  .ffphm-desktop-menu{
    grid-column:1 / -1!important;
    justify-self:center!important;
    align-self:center!important;
    position:absolute!important;
    left:50%!important;
    top:50%!important;
    transform:translate(-50%,-50%)!important;
    width:auto!important;
    max-width:calc(100% - 470px)!important;
    min-width:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:4px!important;
    overflow:visible!important;
    z-index:2!important;
    pointer-events:auto!important;
  }
  .ffphm-desktop-menu>.ffphm-menu,
  .ffphm-desktop-menu>.ffphm-custom-links{
    flex:0 1 auto!important;
    min-width:0!important;
    max-width:100%!important;
    justify-content:center!important;
  }
  .ffphm-desktop-menu .ffphm-menu{
    overflow:visible!important;
  }
}
@media(min-width:1024px) and (max-width:1199px){
  .ffphm-inner{
    grid-template-columns:minmax(120px,1fr) minmax(0,auto) minmax(150px,1fr)!important;
    gap:8px!important;
  }
  .ffphm-desktop-menu{
    max-width:calc(100% - 330px)!important;
  }
  .ffphm-desktop-menu .ffphm-theme-menu,
  .ffphm-desktop-menu .ffphm-custom-links{
    gap:min(var(--ffphm-theme-menu-gap),3px)!important;
  }
}
@media(min-width:1200px) and (max-width:1365px){
  .ffphm-desktop-menu{max-width:calc(100% - 410px)!important}
}
@media(min-width:1366px){
  .ffphm-desktop-menu{max-width:calc(100% - 500px)!important}
}


/* v1.2.11 Brand width/overflow safety patch
   Prevents Logo + Title + Tagline from clipping and keeps desktop menu safe from overlap. */
.ffphm-brand{
  width:auto!important;
  max-width:var(--ffphm-brand-area-w-d)!important;
  flex:0 1 var(--ffphm-brand-area-w-d)!important;
  overflow:hidden!important;
}
.ffphm-brand-text{
  width:auto!important;
  max-width:calc(var(--ffphm-brand-area-w-d) - var(--ffphm-brand-logo-w-d) - var(--ffphm-brand-gap) - 4px)!important;
  flex:1 1 auto!important;
}
.ffphm-brand-title{max-width:var(--ffphm-brand-title-max-d)!important}
.ffphm-brand-tagline{max-width:var(--ffphm-brand-tagline-max-d)!important}
.ffphm-brand-vertical .ffphm-brand-text{
  max-width:var(--ffphm-brand-area-w-d)!important;
  width:100%!important;
}
@media(min-width:1024px){
  .ffphm-inner>.ffphm-brand,.ffphm-inner>.ffphm-logo{
    width:var(--ffphm-brand-area-w-d)!important;
    max-width:var(--ffphm-brand-area-w-d)!important;
  }
  .ffphm-desktop-menu{
    max-width:calc(100% - var(--ffphm-brand-area-w-d) - 230px)!important;
  }
}
@media(min-width:1024px) and (max-width:1199px){
  .ffphm-desktop-menu{
    max-width:calc(100% - var(--ffphm-brand-area-w-d) - 185px)!important;
  }
}
@media(max-width:1023px){
  .ffphm-brand{
    max-width:var(--ffphm-brand-area-w-t)!important;
    flex-basis:var(--ffphm-brand-area-w-t)!important;
  }
  .ffphm-brand-text{
    max-width:calc(var(--ffphm-brand-area-w-t) - var(--ffphm-brand-logo-w-t) - var(--ffphm-brand-gap) - 4px)!important;
  }
  .ffphm-brand-title{max-width:var(--ffphm-brand-title-max-t)!important}
  .ffphm-brand-tagline{max-width:var(--ffphm-brand-tagline-max-t)!important}
  .ffphm-brand-vertical .ffphm-brand-text{max-width:var(--ffphm-brand-area-w-t)!important}
}
@media(max-width:767px){
  .ffphm-brand{
    max-width:var(--ffphm-brand-area-w-m)!important;
    flex-basis:var(--ffphm-brand-area-w-m)!important;
  }
  .ffphm-brand-text{
    max-width:calc(var(--ffphm-brand-area-w-m) - var(--ffphm-brand-logo-w-m) - var(--ffphm-brand-gap) - 4px)!important;
  }
  .ffphm-brand-title{max-width:var(--ffphm-brand-title-max-m)!important}
  .ffphm-brand-tagline{max-width:var(--ffphm-brand-tagline-max-m)!important}
  .ffphm-brand-vertical .ffphm-brand-text{max-width:var(--ffphm-brand-area-w-m)!important}
}
.ffphm-brand-title,.ffphm-brand-tagline{
  white-space:var(--ffphm-brand-text-wrap)!important;
}


/* v1.2.12 Brand full-text wrap patch: default shows full Bangla title/tagline instead of cutting with ... */
.ffphm-brand{height:auto!important;align-items:center!important}
.ffphm-brand-text{height:auto!important;overflow:var(--ffphm-brand-text-overflow,visible)!important}
.ffphm-brand-title,.ffphm-brand-tagline{white-space:var(--ffphm-brand-text-wrap,normal)!important;overflow:var(--ffphm-brand-text-overflow,visible)!important;text-overflow:var(--ffphm-brand-text-ellipsis,clip)!important;word-break:normal!important;overflow-wrap:break-word!important}
.ffphm-brand-title{line-height:1.12!important}
.ffphm-brand-tagline{line-height:1.18!important}
@media(min-width:1024px){.ffphm-brand{min-height:max(var(--ffphm-brand-logo-h-d),calc(var(--ffphm-brand-title-size-d) + var(--ffphm-brand-tagline-size-d) + 8px))!important}}


/* v1.2.13 Action icon hover color controls
   Prevents global/theme hover CSS from making search/bell/profile icons white or invisible. */
.ffphm-header .ffphm-icon-btn,
.ffphm-header a.ffphm-icon-btn,
.ffphm-header button.ffphm-icon-btn{
  background:var(--ffphm-icon-bg)!important;
  color:var(--ffphm-icon-color)!important;
  border-color:var(--ffphm-icon-border)!important;
}
.ffphm-header .ffphm-icon-btn:hover,
.ffphm-header .ffphm-icon-btn:focus,
.ffphm-header a.ffphm-icon-btn:hover,
.ffphm-header button.ffphm-icon-btn:hover{
  background:var(--ffphm-icon-hover-bg)!important;
  color:var(--ffphm-icon-hover-color)!important;
  border-color:var(--ffphm-icon-hover-border)!important;
}
.ffphm-header .ffphm-icon-btn:hover .ffphm-svg,
.ffphm-header .ffphm-icon-btn:focus .ffphm-svg{
  color:var(--ffphm-icon-hover-color)!important;
  stroke:currentColor!important;
}
.ffphm-header .ffphm-notify,
.ffphm-header a.ffphm-notify{
  background:var(--ffphm-icon-bg)!important;
  color:var(--ffphm-icon-color)!important;
  border-color:var(--ffphm-icon-border)!important;
}
.ffphm-header .ffphm-notify:hover,
.ffphm-header a.ffphm-notify:hover{
  background:var(--ffphm-icon-hover-bg)!important;
  color:var(--ffphm-icon-hover-color)!important;
  border-color:var(--ffphm-icon-hover-border)!important;
}
.ffphm-header .ffphm-profile-btn{
  background:var(--ffphm-profile-btn-bg)!important;
  color:var(--ffphm-profile-btn-color)!important;
  border-color:var(--ffphm-icon-border)!important;
}
.ffphm-header .ffphm-profile-btn:hover,
.ffphm-header .ffphm-profile-wrap:hover .ffphm-profile-btn{
  background:var(--ffphm-profile-btn-hover-bg)!important;
  color:var(--ffphm-profile-btn-hover-color)!important;
  border-color:var(--ffphm-icon-hover-border)!important;
}
.ffphm-header .ffphm-profile-btn:hover .ffphm-svg,
.ffphm-header .ffphm-profile-wrap:hover .ffphm-profile-btn .ffphm-svg{
  color:var(--ffphm-profile-btn-hover-color)!important;
}


/* v1.2.14 - Mobile drawer full color controls */
@media(max-width:1023px){
  .ffphm-mobile-drawer{
    background:var(--ffphm-m-bg)!important;
    color:var(--ffphm-m-text)!important;
  }
  .ffphm-drawer-overlay.ffphm-open{
    background:var(--ffphm-drawer-overlay-bg)!important;
  }
  .ffphm-drawer-section,
  .ffphm-drawer-actions{
    border-color:var(--ffphm-drawer-border)!important;
  }
  .ffphm-drawer-section h3,
  .ffphm-drawer-social h3{
    color:var(--ffphm-drawer-section-title)!important;
  }
  .ffphm-drawer-menu .ffphm-menu a,
  .ffphm-cat-list a,
  .ffphm-cat-menu .ffphm-menu a,
  .ffphm-cat-menu a{
    background:var(--ffphm-drawer-item-bg)!important;
    color:var(--ffphm-drawer-item-text)!important;
    border:1px solid var(--ffphm-drawer-item-border)!important;
    border-radius:var(--ffphm-drawer-item-radius)!important;
    padding:var(--ffphm-drawer-item-padding)!important;
    gap:var(--ffphm-drawer-item-gap)!important;
    font-size:var(--ffphm-drawer-item-font-size)!important;
    font-weight:var(--ffphm-drawer-item-font-weight)!important;
  }
  .ffphm-drawer-menu .ffphm-menu a svg,
  .ffphm-cat-list a svg,
  .ffphm-cat-menu a svg,
  .ffphm-drawer-menu .ffphm-menu a i,
  .ffphm-cat-list a i,
  .ffphm-cat-menu a i{
    color:var(--ffphm-drawer-item-icon)!important;
  }
  .ffphm-drawer-menu .ffphm-menu .current-menu-item>a,
  .ffphm-drawer-menu .ffphm-menu .current_page_item>a,
  .ffphm-drawer-menu .ffphm-menu a[aria-current="page"]{
    background:var(--ffphm-drawer-item-active-bg)!important;
    color:var(--ffphm-drawer-item-active-text)!important;
  }
  .ffphm-drawer-menu .ffphm-menu .current-menu-item>a svg,
  .ffphm-drawer-menu .ffphm-menu .current_page_item>a svg,
  .ffphm-drawer-menu .ffphm-menu a[aria-current="page"] svg{
    color:var(--ffphm-drawer-item-active-text)!important;
  }
  .ffphm-drawer-menu .ffphm-menu a:hover,
  .ffphm-cat-list a:hover,
  .ffphm-cat-menu a:hover{
    background:var(--ffphm-drawer-item-hover-bg)!important;
    color:var(--ffphm-drawer-item-hover-text)!important;
    border-color:var(--ffphm-drawer-item-hover-bg)!important;
  }
  .ffphm-drawer-menu .ffphm-menu a:hover svg,
  .ffphm-cat-list a:hover svg,
  .ffphm-cat-menu a:hover svg{
    color:var(--ffphm-drawer-item-hover-text)!important;
  }
  .ffphm-drawer-actions .ffphm-icon-btn,
  .ffphm-drawer-actions .ffphm-profile-btn,
  .ffphm-drawer-actions .ffphm-login,
  .ffphm-drawer-actions .ffphm-profile-dropdown a{
    background:var(--ffphm-drawer-login-bg)!important;
    color:var(--ffphm-drawer-login-text)!important;
    border:1px solid var(--ffphm-drawer-item-border)!important;
    border-radius:var(--ffphm-drawer-item-radius)!important;
  }
  .ffphm-drawer-actions .ffphm-icon-btn:hover,
  .ffphm-drawer-actions .ffphm-profile-btn:hover,
  .ffphm-drawer-actions .ffphm-login:hover,
  .ffphm-drawer-actions .ffphm-profile-dropdown a:hover{
    background:var(--ffphm-drawer-login-hover-bg)!important;
    color:var(--ffphm-drawer-login-hover-text)!important;
  }
  .ffphm-drawer-close{
    background:var(--ffphm-drawer-close-bg)!important;
    color:var(--ffphm-drawer-close-color)!important;
    border:1px solid var(--ffphm-drawer-item-border)!important;
    border-radius:999px!important;
    width:46px!important;
    height:46px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
  }
  .ffphm-drawer-close:hover{
    background:var(--ffphm-drawer-close-hover-bg)!important;
    color:var(--ffphm-drawer-close-hover-color)!important;
  }
  .ffphm-social-icons a{
    background:var(--ffphm-social-bg)!important;
    color:var(--ffphm-social-color)!important;
  }
  .ffphm-social-icons a:hover{
    background:var(--ffphm-social-hover-bg)!important;
    color:var(--ffphm-social-hover-color)!important;
  }
}

/* v1.2.16 header background image controls */
.ffphm-header{background-color:var(--ffphm-d-bg);background-clip:border-box}
@media(max-width:1023px){.ffphm-header,.ffphm-inner{background-clip:border-box}.ffphm-inner{background:transparent!important}}
