/* ===== PHNX Typography & Font Loading ===== */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  /* Typography */
  --font-ui: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  --font-luxe: "Fraunces", Georgia, "Times New Roman", serif;
  
  /* Colors */
  --tb-max: 1200px;
  --gold: 212,175,55;
  --bar-bg: linear-gradient(180deg, #0b1220 0%, #0e172a 55%, #0b1220 100%);
}

/* Base font family reset */
* {
  font-family: var(--font-ui);
}

/* ===== PHNX Utility Bar (Top Bar) — sleek luxe ===== */

/* baseline helpers */
html, body { margin: 0; padding: 0; font-family: var(--font-ui); }
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}

/* bar background spans full width; subtle gold detailing */
.top-bar{
  background: var(--bar-bg);
  color:#fff;
  position:relative;
  z-index:100;
  width:100%;
  border-bottom:1px solid rgba(var(--gold), .28);
  box-shadow: 0 10px 15px -10px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.06);
}
.top-bar { --bar-bg: rgba(6, 47, 116, 0.91); }

.top-bar::before{
  content:"";
  position:absolute; inset:0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  opacity:.08;
  pointer-events:none;
}
.top-bar::after{
  content:"";
  position:absolute; left:0; right:0; bottom:0; height:1px;
  background: linear-gradient(90deg,
    rgba(var(--gold),0) 0%,
    rgba(var(--gold),.6) 35%,
    rgba(255,255,255,.7) 50%,
    rgba(var(--gold),.6) 65%,
    rgba(var(--gold),0) 100%);
  opacity:.55;
  pointer-events:none;
}

.top-bar-container{ position:relative; z-index:2; }

.top-bar-content{
  max-width: var(--tb-max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 14px;
}

/* LEFT — contact chips */
.top-bar-left{ display:flex; justify-content:flex-start; }
.contact-links{ display:flex; gap:10px; min-width:0; }

.contact-item{
  display:inline-flex; align-items:center; gap:8px;
  padding:5px 10px; min-height:32px; font-size:12.75px;
  color:#fff; text-decoration:none; border-radius:999px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04), 0 6px 14px -10px rgba(0,0,0,.5);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  font-family: var(--font-ui);
}
.contact-item:hover{ transform: translateY(-1px); background: rgba(255,255,255,.10); }
.contact-icon{ display:grid; place-items:center; width:18px; height:18px; border-radius:999px; background:rgba(255,255,255,.12); }
.contact-icon svg{ width:11px; height:11px; display:block; }
.contact-text{ font-variant-numeric: tabular-nums; letter-spacing:.15px; }

/* CENTER — UK hours (single line chip) */
.top-bar-center{ display:flex; justify-content:center; min-width:0; }

.business-hours{
  display:inline-flex; align-items:center; gap:8px;
  padding:4px 10px; border-radius:12px; line-height:1; white-space:nowrap;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.14);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04),
              0 6px 14px -10px rgba(0,0,0,.5),
              0 0 0 1px rgba(var(--gold), .16);
  font-family: var(--font-ui);
}
.hours-icon{ width:18px; height:18px; display:grid; place-items:center; border-radius:999px; background:rgba(255,255,255,.12); }
.hours-icon svg{ width:10px; height:10px; }
.hours-content{ display:inline-flex; align-items:baseline; gap:8px; }
.hours-label{ font-size:11px; letter-spacing:.35px; text-transform:uppercase; opacity:.95; font-weight:600; font-family: var(--font-luxe); }
.hours-time{ font-size:13px; font-weight:700; font-variant-numeric: tabular-nums; letter-spacing:.2px; font-family: var(--font-luxe); }
.hours-status{ font-size:11px; font-weight:600; }
.business-hours[data-status="open"] .hours-status{ color:#10b981; }
.business-hours[data-status="closed"] .hours-status{ color:#ef4444; }

/* RIGHT — socials */
.top-bar-right{ display:flex; justify-content:flex-end; align-items:flex-end; gap:12px; }
.social-links {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  justify-content: flex-end; /* ← Add this */
}
.follow-label {
  font-size: 13px;
  color: #cbd5e1; /* soft grey/white text */
  opacity: 0.9;
  font-weight: 500;
}

.social-link{
  width:30px; height:30px; border-radius:999px;
  display:inline-flex; align-items:center; justify-content:center;
  color:#fff; text-decoration:none;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.14);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04), 0 6px 14px -10px rgba(0,0,0,.5);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.social-link:hover{
  transform: translateY(-1px) scale(1.02);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06),
              0 10px 22px -14px rgba(0,0,0,.55),
              0 0 0 1px rgba(var(--gold), .22);
}
.social-link[data-brand="linkedin"]:hover{ background:#0077b5; border-color:#0077b5; }
.social-link[data-brand="facebook"]:hover{ background:#1877f2; border-color:#1877f2; }
.social-link[data-brand="x"]:hover{ background:#000;    border-color:#133b74; }
.social-link[data-brand="instagram"]:hover{ background:linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); border-color:#e6683c; }
.social-link[data-brand="youtube"]:hover{ background:#ff0000; border-color:#ff0000; }
.social-link[data-brand="pinterest"]:hover{ background:#bd081c; border-color:#bd081c; }

/* elegant separators flanking the center chip */
.top-bar-left::after,
.top-bar-right::before{
  content:""; display:inline-block;
  width:1px; height:18px; margin:0 8px;
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(var(--gold), .45), rgba(255,255,255,.12));
  border-radius:1px;
}

/* subtle moving sheen for luxe vibe */
.top-bar-container{ position:relative; }
.top-bar-container::before{
  content:""; position:absolute; top:0; left:-25%; width:35%; height:100%;
  background: linear-gradient(110deg, rgba(255,255,255,.08), rgba(255,255,255,0) 60%);
  transform: skewX(-15deg);
  filter: blur(8px);
  pointer-events:none;
  animation: phnxSheen 7s linear infinite;
}
@keyframes phnxSheen{
  0%{ transform: translateX(-120%) skewX(-15deg); }
  100%{ transform: translateX(220%)  skewX(-15deg); }
}

/* responsive niceties */
@media (max-width: 900px){
  .top-bar-content{ padding:4px 12px; }
  .contact-item{ padding:5px 8px; min-height:30px; font-size:12.5px; }
  .hours-label{ display:none; }
  .social-link{ width:28px; height:28px; }
}

/* ===================================
   HEADER STYLES
   =================================== */
.phnx-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    padding: 20px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-family: var(--font-ui);
}

.phnx-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.02), rgba(124, 58, 237, 0.02));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.phnx-header.scrolled {
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
}

.phnx-header.scrolled::before {
    opacity: 1;
}

.phnx-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.phnx-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* ===================================
   BRAND STYLES
   =================================== */
.phnx-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    transition: transform 0.3s ease;
    margin-left: 14px;
}

.phnx-brand:hover {
    transform: scale(1.02);
}

.phnx-logo {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.phnx-logo::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

.phnx-logo:hover::before {
    animation: logoShine 0.6s ease;
}

@keyframes logoShine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.phnx-logo span {
    color: white;
    font-weight: 800;
    font-size: 22px;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    font-family: var(--font-ui);
}

.phnx-custom-logo img {
    max-height: 52px;
    width: auto;
    border-radius: 8px;
}

.phnx-brand-text h1 {
    font-size: 14px;
    font-weight: 700;
    background: linear-gradient(135deg, #1e3a8a 0%, #7c2d92 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.5px;
    font-family: var(--font-luxe);
}

.phnx-brand-text h1 a {
    text-decoration: none;
    background: linear-gradient(135deg, #1e3a8a 0%, #7c2d92 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.phnx-brand-text h1 a:hover {
    background: linear-gradient(135deg, #2563eb 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.phnx-brand-text p {
    font-family: var(--font-ui);
    font-size: 11px;
    color: #6b7280;
    margin: 2px 0 0 0;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ===================================
   DESKTOP NAVIGATION
   =================================== */
.phnx-nav-desktop {
    display: flex;
    align-items: center;
    gap: 40px;
}

.phnx-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.phnx-menu li {
    position: relative;
}

.phnx-menu a {
    color: #374151;
    text-decoration: none;
    font-size: 15px;
    padding: 12px 16px;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
    overflow: hidden;
    font-family: var(--font-ui);
    font-weight: 600;
    letter-spacing: 0.3px;
}

.phnx-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    transition: left 0.3s ease;
    z-index: -1;
}

.phnx-menu a:hover::before,
.phnx-menu .current-menu-item a::before {
    left: 0;
}

.phnx-menu a:hover,
.phnx-menu .current-menu-item a {
    color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

/* Dropdown Arrow */
.phnx-menu .menu-item-has-children > a::after {
    content: '▼';
    font-size: 10px;
    margin-left: 6px;
    transition: transform 0.3s ease;
}

.phnx-menu .menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
}

/* ===================================
   DROPDOWN STYLES - FIXED VERSION
   =================================== */
.phnx-menu .sub-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid #e5e7eb;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 280px;
    padding: 12px;
    z-index: 9999;
    pointer-events: none;
    display: block;
}

/* Show submenu on hover of parent li - CRITICAL FIX */
.phnx-menu li.menu-item-has-children:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* Third level dropdowns - appear to the right */
.phnx-menu .sub-menu .menu-item-has-children .sub-menu {
    top: 0;
    left: calc(100% + 8px);
}

/* Arrow for main dropdown */
.phnx-menu .sub-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 24px;
    width: 16px;
    height: 16px;
    background: white;
    border: 1px solid #e5e7eb;
    border-bottom: none;
    border-right: none;
    transform: rotate(45deg);
}

/* Arrow for third level (right-side) dropdowns */
.phnx-menu .sub-menu .sub-menu::before {
    top: 16px;
    left: -8px;
    transform: rotate(-45deg);
    border: 1px solid #e5e7eb;
    border-top: none;
    border-right: none;
}

.phnx-menu .sub-menu li {
    display: block;
    width: 100%;
    margin: 0;
}

.phnx-menu .sub-menu a {
    display: block;
    padding: 14px 18px;
    color: #374151;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    margin: 2px 0;
    transform: none;
    box-shadow: none;
}

.phnx-menu .sub-menu a::before {
    display: none;
}

.phnx-menu .sub-menu a:hover {
    color: #2563eb;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.1);
}

/* Ensure third level menus work properly */
.phnx-menu .sub-menu .menu-item-has-children:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* ===================================
   CTA BUTTON
   =================================== */
.phnx-cta-button {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    color: white;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    font-family: var(--font-ui);
}

.phnx-cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.1));
    transition: left 0.6s ease;
}

.phnx-cta-button:hover::before {
    left: 100%;
}

.phnx-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.4);
    color: white;
}

.phnx-cta-button:active {
    transform: translateY(-1px);
}

/* ===================================
   MOBILE STYLES
   =================================== */
.phnx-mobile-toggle {
    display: none;
    background: none;
    border: none;
    padding: 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-direction: column;
    gap: 4px;
}

.phnx-mobile-toggle:hover {
    background: #f3f4f6;
}

.phnx-hamburger {
    display: block;
    width: 24px;
    height: 3px;
    background: #374151;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.phnx-mobile-toggle[aria-expanded="true"] .phnx-hamburger:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.phnx-mobile-toggle[aria-expanded="true"] .phnx-hamburger:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.phnx-mobile-toggle[aria-expanded="true"] .phnx-hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.phnx-mobile-menu {
    display: none;
    background: white;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    margin-top: 1px;
}

.phnx-mobile-menu.active {
    display: block;
    animation: slideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.phnx-mobile-menu-items {
    list-style: none;
    margin: 0;
    padding: 0;
}

.phnx-mobile-menu-items li {
    margin: 0;
}

.phnx-mobile-menu-items a {
    display: block;
    color: #374151;
    text-decoration: none;
    padding: 16px 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 16px;
    margin: 4px 16px;
    position: relative;
    overflow: hidden;
    font-family: var(--font-ui);
    letter-spacing: 0.2px;
}

.phnx-mobile-menu-items a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    transition: left 0.3s ease;
    z-index: -1;
}

.phnx-mobile-menu-items a:hover::before,
.phnx-mobile-menu-items .current-menu-item a::before {
    left: 0;
}

.phnx-mobile-menu-items a:hover,
.phnx-mobile-menu-items .current-menu-item a {
    color: #2563eb;
    transform: translateX(8px);
}

.phnx-cta-button-mobile {
    display: block;
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    color: white;
    padding: 16px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    margin: 20px 16px 0;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
    font-family: var(--font-ui);
}

.phnx-cta-button-mobile:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.4);
    color: white;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1024px) {
    .phnx-nav-desktop {
        display: none;
    }
    
    .phnx-mobile-toggle {
        display: flex;
    }
    
    .phnx-container {
        padding: 0 16px;
    }
}

@media (max-width: 768px) {
    .top-bar {
        padding: 8px 0;
        font-size: 13px;
    }
    
    .top-bar-content {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .phnx-header {
        padding: 16px 0;
    }
    
    .phnx-header.scrolled {
        padding: 12px 0;
    }
    
    .phnx-brand {
        gap: 12px;
        margin-left: 10px;
    }
    
    .phnx-logo {
        width: 44px;
        height: 44px;
    }
    
    .phnx-logo span {
        font-size: 18px;
    }
    
    .phnx-brand-text h1 {
        font-size: 22px;
    }
    
    .phnx-brand-text p {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .phnx-container {
        padding: 0 12px;
    }
    
    .phnx-brand-text h1 {
        font-size: 18px;
    }
    
    .phnx-mobile-menu-items a {
        font-size: 15px;
        padding: 14px 16px;
    }
}

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   ACCESSIBILITY & FOCUS STATES
   =================================== */
.phnx-menu a:focus,
.phnx-cta-button:focus,
.phnx-mobile-toggle:focus,
.phnx-mobile-menu-items a:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* Better focus for dropdown menus */
.phnx-menu .menu-item-has-children > a:focus + .sub-menu,
.phnx-menu .menu-item-has-children:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* code override to improve menu items */

/* ===== Compact submenus (override) ===== */

/* bring submenu closer to parent and make it slimmer */
/* tighter spacing between dropdown items */
.phnx-menu .sub-menu li { margin: 5px !important; }              /* remove gaps */
.phnx-menu .sub-menu a  { padding: 8px 14px !important;        /* was 14px 18px */
                           line-height: 1.2 !important; }       /* closer lines */

/* ================================
   Dropdown hover grace delay
   ================================ */

/* Base state: hidden with slight delay before hiding */
.phnx-menu .sub-menu {
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px) scale(0.98);
  transition:
    opacity 0.2s ease,
    transform 0.5s ease,
    visibility 0s linear 0.4s; /* waits 0.2s before hiding */
  pointer-events: none;
  top: calc(100% + 2px) /*!important;*/
}

/* Show on hover instantly */
.phnx-menu li.menu-item-has-children:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  transition-delay: 0s;
  pointer-events: auto;
}

/* Flyout (sub-submenu) */
.phnx-menu .sub-menu .sub-menu {
  top: 0;
  left: calc(100% + 8px);
  transform: translateX(6px) scale(0.98);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0s linear 0.2s;
}

/* Show flyout on hover instantly */
.phnx-menu .sub-menu li.menu-item-has-children:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0) scale(1);
  transition-delay: 0s;
  pointer-events: auto;
}


