/* Flowvy v2.0.1: Theme chrome only. Builder BODY/Section CSS remains unchanged. */
.flowvy-site .site-header{overflow:visible;isolation:isolate}
.flowvy-site .nav-shell{overflow:visible}
.flowvy-site .desktop-nav{position:relative;z-index:80;overflow:visible}
.flowvy-site .desktop-nav .menu{overflow:visible}
.flowvy-site .desktop-nav .menu li{position:relative}
.flowvy-site .desktop-nav .menu-item-has-children>a::after{content:'+';display:inline-block;font-weight:650;font-size:15px;line-height:1;opacity:.85;margin-left:3px;transform:none}
.flowvy-site .desktop-nav .sub-menu,
.flowvy-site.flowvy-has-mega .desktop-nav .flowvy-mega-item>.sub-menu{position:absolute;left:0;right:auto;top:100%;transform:none;min-width:220px;width:max-content;max-width:min(350px,calc(100vw - 24px));z-index:10000;flex-direction:column;align-items:stretch;gap:0;padding:9px;border:1px solid #DCEAF4;border-radius:13px;box-shadow:0 16px 42px #087CD223;background:#fff;white-space:normal}
.flowvy-site .desktop-nav .sub-menu li,.flowvy-site .desktop-nav .sub-menu li>a{width:100%}
.flowvy-site .desktop-nav .sub-menu li>a{padding:11px 13px;white-space:normal}
.flowvy-site .desktop-nav li:hover>.sub-menu,.flowvy-site .desktop-nav li:focus-within>.sub-menu,.flowvy-site .desktop-nav li.fy-open>.sub-menu,
.flowvy-site.flowvy-has-mega .desktop-nav .flowvy-mega-item:hover>.sub-menu,.flowvy-site.flowvy-has-mega .desktop-nav .flowvy-mega-item:focus-within>.sub-menu,.flowvy-site.flowvy-has-mega .desktop-nav .flowvy-mega-item.fy-open>.sub-menu{display:block}
.flowvy-site .desktop-nav .sub-menu .sub-menu,.flowvy-site.flowvy-has-mega .desktop-nav .flowvy-mega-item>.sub-menu .sub-menu{position:absolute;left:100%;top:0;min-width:210px;width:max-content;max-width:min(340px,calc(100vw - 30px));padding:9px;display:none;border:1px solid #DCEAF4;box-shadow:0 16px 42px #087CD223;background:#fff}
.flowvy-site .desktop-nav .sub-menu li:hover>.sub-menu,.flowvy-site .desktop-nav .sub-menu li:focus-within>.sub-menu,.flowvy-site .desktop-nav .sub-menu li.fy-open>.sub-menu{display:block!important}
/* No gap from parent hover box to child submenu; transparent bridge protects small pointer jitter. */
.flowvy-site .desktop-nav .menu>li.menu-item-has-children::after{content:'';position:absolute;top:calc(100% - 2px);height:5px;left:0;right:0;pointer-events:auto}
.flowvy-site .fy-mobile-search{display:none}
.flowvy-site .fy-mobile-bottom-nav,.flowvy-site .fy-mobile-zalo{display:none}
/* Header fixed: Builder canvas starts at natural document origin, never underneath an injected title bar. */
.flowvy-site .fy-builder-main,.flowvy-site .fy-builder-main>.rvb-frontend-canvas{margin-top:0!important;padding-top:0!important;min-height:0;display:flow-root}
.flowvy-site .fy-builder-main>.rvb-frontend-canvas:first-child{margin-top:0!important}
.flowvy-site .flowvy-page-title{position:absolute!important;inset:auto!important;width:1px!important;height:1px!important;margin:0!important;padding:0!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important;pointer-events:none!important}
@media(max-width:1024px){
 .flowvy-site .fy-mobile-search{display:flex;flex:1 1 140px;min-width:100px;max-width:330px;margin-left:auto;order:2}
 .flowvy-site .fy-mobile-search form{margin:0;width:100%;display:flex;align-items:center;position:relative}
 .flowvy-site .fy-mobile-search input[type=search]{height:37px;width:100%;min-width:0;border:1px solid #e6e0ed;border-radius:10px;padding:8px 35px 8px 12px;font-size:12px;background:#fff;color:#243140;outline-offset:2px}
 .flowvy-site .fy-mobile-search button{height:32px;min-width:32px;right:2px;top:2px;position:absolute;border:0;background:transparent;color:#243140;padding:0;display:grid;place-items:center;font-size:0}
 .flowvy-site .fy-mobile-search button::after{content:'⌕';font-size:23px;line-height:1}
 .flowvy-site .nav-shell.container{display:flex;align-items:center;gap:11px;justify-content:space-between}
 .flowvy-site .nav-shell>.brand,.flowvy-site .nav-shell>.custom-logo-link{order:1;min-width:0;max-width:38%}
 .flowvy-site .nav-shell>.menu-toggle{order:3;flex:0 0 42px;min-width:42px;height:42px;display:flex;align-items:center;justify-content:center}
 .flowvy-site .mobile-nav .fy-submenu-toggle{font-size:20px;transform:none;right:2px}
 .flowvy-site .mobile-nav li.fy-open>.fy-submenu-toggle{transform:none}
 .flowvy-site .mobile-nav .menu-item-has-children>a{padding-right:52px}
 .flowvy-site .mobile-nav .menu-item-has-children>a::after{content:none}
 .flowvy-site .mobile-nav .sub-menu{position:static!important;left:auto;top:auto;transform:none!important;border:0;box-shadow:none;min-width:0;width:100%;max-width:none}
 .flowvy-site .mobile-nav li.fy-open>.sub-menu{display:block}
 .flowvy-site .fy-mobile-bottom-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));position:fixed;inset:auto 0 0 0;bottom:0;width:100%;z-index:9998;background:rgba(255,255,255,.97);border-top:1px solid #e8e3f0;box-shadow:0 -4px 20px #087CD20A;padding:8px max(6px,env(safe-area-inset-left)) calc(7px + env(safe-area-inset-bottom)) max(6px,env(safe-area-inset-right));min-height:64px;gap:2px;backdrop-filter:blur(14px)}
 .flowvy-site .fy-mobile-bottom-link{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px;min-height:45px;font-size:10px;font-weight:600;white-space:nowrap;color:#243140;text-decoration:none;border-radius:9px}
 .flowvy-site .fy-mobile-bottom-link svg{flex:0 0 auto}
 .flowvy-site .fy-mobile-bottom-link:focus-visible,.flowvy-site .fy-mobile-bottom-link:hover{background:#EFF8FE}
 .flowvy-site .fy-mobile-bottom-link.fy-disabled{opacity:.35;cursor:not-allowed}
 .flowvy-site{padding-bottom:calc(66px + env(safe-area-inset-bottom))}
 .flowvy-site .fy-mobile-zalo{display:flex;align-items:center;justify-content:center;position:fixed;right:14px;bottom:calc(83px + env(safe-area-inset-bottom));z-index:9997;width:54px;height:54px;border-radius:50%;background:#0068ff;color:#fff;font-size:13px;font-weight:800;box-shadow:0 7px 21px #0068ff4d;text-decoration:none}
 .flowvy-site .back-top{bottom:calc(144px + env(safe-area-inset-bottom));right:16px}
 .flowvy-site .mobile-nav:not([hidden]){display:flex!important;position:absolute;top:100%;left:0;right:0;flex-direction:column;max-height:calc(100dvh - 160px);overflow-y:auto;z-index:10000;background:white}
 .flowvy-site .mobile-nav[hidden]{display:none!important}
}
@media(max-width:900px){.flowvy-site .fy-mobile-search{display:flex}.flowvy-site .nav-shell>.menu-toggle{display:flex}}
@media(min-width:1025px){.flowvy-site .fy-mobile-search{display:none!important}.flowvy-site .fy-mobile-bottom-nav,.flowvy-site .fy-mobile-zalo{display:none!important}}
@media(max-width:360px){.flowvy-site .nav-shell.container{gap:7px}.flowvy-site .nav-shell>.brand{font-size:19px}.flowvy-site .fy-mobile-search input[type=search]{font-size:11px}}
/* WordPress selected static front page: the first authored Section is the first visible block. */
.flowvy-site .flowvy-frontpage-content,.flowvy-site .flowvy-frontpage-content>.rvb-frontend-canvas{margin:0!important;padding:0!important;min-height:0}
/* Honor custom mobile breakpoints 768/900/1024 without extra mobile chrome on desktop. */
@media(min-width:901px) and (max-width:1024px){
 .flowvy-site:not(.flowvy-mobile-at-1024) .fy-mobile-search,.flowvy-site:not(.flowvy-mobile-at-1024) .fy-mobile-bottom-nav,.flowvy-site:not(.flowvy-mobile-at-1024) .fy-mobile-zalo{display:none!important}
 .flowvy-site:not(.flowvy-mobile-at-1024) .nav-shell>.menu-toggle{display:none!important}
 .flowvy-site:not(.flowvy-mobile-at-1024){padding-bottom:0}
 .flowvy-site:not(.flowvy-mobile-at-1024) .back-top{bottom:24px}
}
@media(min-width:769px) and (max-width:900px){
 .flowvy-site.flowvy-mobile-at-768 .fy-mobile-search,.flowvy-site.flowvy-mobile-at-768 .fy-mobile-bottom-nav,.flowvy-site.flowvy-mobile-at-768 .fy-mobile-zalo{display:none!important}
 .flowvy-site.flowvy-mobile-at-768 .nav-shell>.menu-toggle{display:none!important}
 .flowvy-site.flowvy-mobile-at-768{padding-bottom:0}
 .flowvy-site.flowvy-mobile-at-768 .back-top{bottom:24px}
}

/* ECC mobile-nav repair: honor the selected 768 / 900 / 1024 breakpoint.
   Base stylesheet toggles desktop chrome at 900px regardless of admin setting. */
@media(min-width:901px) and (max-width:1024px){
 .flowvy-site.flowvy-mobile-at-1024 .desktop-nav,
 .flowvy-site.flowvy-mobile-at-1024 .nav-actions{display:none!important}
}
@media(min-width:769px) and (max-width:900px){
 .flowvy-site.flowvy-mobile-at-768 .desktop-nav,
 .flowvy-site.flowvy-mobile-at-768 .nav-actions{display:flex!important}
 .flowvy-site.flowvy-mobile-at-768 .desktop-nav .menu{display:flex!important}
}

/* v2.0.4 — native no-JavaScript mobile hamburger, isolated to Theme header.
   <summary> works before/devoid of the footer scripts, even on Builder pages. */
.flowvy-site .nav-shell > .fy-menu-native{display:none;margin:0;padding:0;min-width:0}
.flowvy-site .fy-menu-native > summary.menu-toggle{list-style:none;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;user-select:none}
.flowvy-site .fy-menu-native > summary.menu-toggle::-webkit-details-marker{display:none}
.flowvy-site .fy-menu-native > summary.menu-toggle::marker{content:''}
.flowvy-site .fy-menu-native:not([open]) > #mobile-nav{display:none!important}
@media(max-width:1024px){
 body.flowvy-site #site-header{z-index:10050!important;overflow:visible!important}
 .flowvy-site .nav-shell > .fy-menu-native{display:block;order:3;flex:0 0 42px;width:42px;align-self:center}
 .flowvy-site .nav-shell > .fy-menu-native > summary.menu-toggle{display:flex!important;align-items:center;justify-content:center;flex-direction:column;gap:6px;width:42px;height:42px;position:relative;z-index:2}
 .flowvy-site .fy-menu-native[open] > #mobile-nav{display:flex!important;visibility:visible!important;pointer-events:auto!important;position:absolute!important;top:100%!important;left:0!important;right:0!important;width:100%!important;max-height:calc(100dvh - 125px);overflow:auto;overscroll-behavior:contain;background:#fff;z-index:10055!important}
 .flowvy-site .fy-menu-native[open] > summary.menu-toggle span:first-child{transform:translateY(8px) rotate(45deg)}
 .flowvy-site .fy-menu-native[open] > summary.menu-toggle span:nth-child(2){opacity:0}
 .flowvy-site .fy-menu-native[open] > summary.menu-toggle span:last-child{transform:translateY(-8px) rotate(-45deg)}
}
@media(min-width:1025px){.flowvy-site .nav-shell>.fy-menu-native{display:none!important}}
@media(min-width:901px) and (max-width:1024px){.flowvy-site:not(.flowvy-mobile-at-1024) .nav-shell>.fy-menu-native{display:none!important}}
@media(min-width:769px) and (max-width:900px){.flowvy-site.flowvy-mobile-at-768 .nav-shell>.fy-menu-native{display:none!important}}
/* Overlay stays above the Page Builder canvas but below the native Theme menu. */
@media(max-width:1024px){
 body.flowvy-site .fy-mobile-overlay.active{z-index:10049!important;pointer-events:auto}
 body.flowvy-site .fy-menu-native > summary.menu-toggle{pointer-events:auto!important}
}
