/* Agentra V4 — header 3 cấp, search mobile, bottom nav 4 PAGE thật */
.site-header{position:sticky;top:0;z-index:100;overflow:visible}
.header-row{overflow:visible}
.header-search{display:none}
.desktop-links{align-self:stretch;display:flex;align-items:center}
.desktop-links .menu,.mobile-nav .menu{list-style:none;margin:0;padding:0}
.menu--desktop{display:flex;align-items:center;gap:19px;height:100%}
.menu--desktop .menu-item{position:relative;list-style:none}
.menu--desktop > .menu-item{height:100%;display:flex;align-items:center}
.menu-link-row{display:flex;align-items:center}
.menu--desktop > .menu-item > a,.menu--desktop > .menu-item > .menu-link-row > a{font-size:14px;font-weight:600;white-space:nowrap;display:inline-flex;align-items:center;min-height:46px}
.menu--desktop a:hover,.menu--desktop a:focus-visible{color:var(--forest)}
.menu--desktop .submenu-toggle{border:0;background:none;color:var(--ink);font-size:20px;font-weight:500;width:28px;min-height:44px;line-height:1;display:inline-flex;align-items:center;justify-content:center;padding:0 3px;cursor:pointer}
.menu--desktop .submenu-toggle:hover{color:var(--forest)}
.menu--desktop .sub-menu{display:block;position:absolute;top:100%;left:0;min-width:230px;margin:0;padding:10px;border:1px solid #e7e9e3;border-radius:0 0 14px 14px;background:#fff;box-shadow:0 18px 32px rgba(10,20,10,.11);opacity:0;visibility:hidden;pointer-events:none;transform:none;z-index:110;list-style:none;transition:opacity .15s ease,visibility .15s ease}
.menu--desktop .sub-menu .menu-item{width:100%;height:auto}
.menu--desktop .sub-menu .menu-link-row{justify-content:space-between}
.menu--desktop .sub-menu a{display:block;padding:12px 11px;line-height:1.25;border-radius:7px;font-size:13px;font-weight:500;white-space:nowrap}
.menu--desktop .sub-menu a:hover,.menu--desktop .sub-menu .menu-item:focus-within > a{background:var(--cream)}
.menu--desktop .sub-menu .menu-item-has-children > .menu-link-row > a{flex:1}
.menu--desktop .sub-menu .sub-menu{top:-10px;left:calc(100% - 2px);border-radius:12px}
.menu--desktop .menu-item:hover > .sub-menu,.menu--desktop .menu-item:focus-within > .sub-menu,.menu--desktop .menu-item.is-expanded > .sub-menu{opacity:1;visibility:visible;pointer-events:auto}
.menu--desktop .menu-item.is-expanded > .menu-link-row .submenu-toggle{color:var(--forest)}
/* Không có khoảng hở hover: menu con tiếp xúc trực tiếp với item cha, kể cả cấp 3. */
.mobile-bottom-nav,.floating-zalo{display:none}
@media(min-width:861px) and (max-width:1120px){.menu--desktop{gap:9px}.menu--desktop > .menu-item > a,.menu--desktop > .menu-item > .menu-link-row > a{font-size:12px}.header-row{gap:12px}.header-actions{gap:9px}.header-actions .button-small{font-size:12px;padding:10px 12px}.brand{font-size:25px}.brand-flower{font-size:31px}}
@media(max-width:860px){
 body{padding-bottom:calc(67px + env(safe-area-inset-bottom))}
 .desktop-links,.header-actions{display:none}
 .site-header .header-row{display:flex;align-items:center;gap:10px;min-height:70px}
 .site-header .brand{flex:0 0 auto;white-space:nowrap;font-size:25px}
 .site-header .brand-flower{font-size:29px}
 .header-search{display:flex;flex:1 1 auto;min-width:0;max-width:600px;align-items:center;border:1px solid #e7e7e4;border-radius:10px;background:#f7f5f3;height:43px;overflow:hidden}
 .header-search input{flex:1;min-width:0;width:100%;border:0;background:transparent;outline:0;font-size:13px;color:var(--ink);padding:0 0 0 12px}
 .header-search button{width:40px;min-width:40px;height:41px;border:0;background:transparent;color:var(--ink);display:flex;align-items:center;justify-content:center}
 .header-search svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round}
 .site-header .menu-toggle{display:flex;flex:0 0 44px;width:44px;height:44px;align-items:center;justify-content:center;z-index:103}
 .mobile-nav{display:none;position:absolute;top:100%;left:0;right:0;background:white;box-shadow:0 16px 30px #1020101c;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:10px 20px 22px;max-height:calc(100dvh - 210px);overflow-y:auto;overscroll-behavior:contain;z-index:102}
 .mobile-nav.is-open{display:block}
 .menu--mobile>.menu-item{border-bottom:1px solid #eeedea}
 .menu--mobile .menu-link-row{display:flex;align-items:center;justify-content:space-between;min-height:48px}
 .menu--mobile .menu-link-row>a{flex:1;min-width:0;padding:14px 0;font-size:15px;font-weight:600}
 .menu--mobile .menu-item>a{display:block;padding:14px 0;font-size:15px;font-weight:600}
 .menu--mobile .submenu-toggle{display:flex;align-items:center;justify-content:center;width:44px;height:44px;flex:0 0 44px;color:var(--ink);border:1px solid #e9e6df;background:#f7f5f3;border-radius:8px;font-size:21px;line-height:1}
 .menu--mobile .menu-item>.sub-menu{display:none;position:static;visibility:visible;pointer-events:auto;opacity:1;transform:none;box-shadow:none;border:0;border-left:2px solid var(--mint);background:#faf9f6;border-radius:0;margin:0 0 8px 10px;padding:3px 10px 4px 12px;min-width:0;max-width:none}
 .menu--mobile .menu-item.is-expanded > .sub-menu{display:block}
 .menu--mobile .menu-item.is-expanded > .menu-link-row > .submenu-toggle{background:var(--mint);border-color:var(--mint)}
 .menu--mobile .sub-menu .menu-item>a,.menu--mobile .sub-menu .menu-link-row>a{font-size:14px;font-weight:500;padding:12px 0}
 .menu--mobile .sub-menu .menu-item{border-bottom:1px solid #eeedea}
 .mobile-bottom-nav{position:fixed;bottom:0;left:0;right:0;z-index:85;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));height:calc(65px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);background:#fff;box-shadow:0 -4px 18px rgba(0,0,0,.08);border-top:1px solid #e7e8e4}
 .bottom-nav-item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;min-height:55px;text-align:center;color:#575450;font-size:11px;font-weight:600;line-height:1.1;padding:5px 0}
 .bottom-nav-item svg{width:21px;height:21px;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;fill:none;flex:none}
 .bottom-nav-item[aria-current="page"]{color:var(--forest)}
 .bottom-nav-item[aria-current="page"] svg{stroke-width:2.25}
 .floating-zalo{display:flex;position:fixed;right:15px;bottom:calc(79px + env(safe-area-inset-bottom));z-index:86;align-items:center;justify-content:center;gap:6px;border-radius:40px;padding:10px 13px;background:#0068ff;color:#fff;font-size:13px;font-weight:700;box-shadow:0 5px 16px #0052cd4c;min-height:44px;min-width:66px}
 .floating-zalo svg{width:19px;height:19px;stroke:#fff;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
}
@media(max-width:390px){.site-header .header-row{gap:7px}.site-header .brand{font-size:21px}.site-header .brand-flower{font-size:24px}.site-header .header-search{height:39px}.header-search input{font-size:12px;padding-left:8px}.header-search button{min-width:32px;width:32px}}
@media(min-width:861px){.floating-zalo{display:flex;position:fixed;right:18px;bottom:22px;z-index:86;align-items:center;gap:7px;border-radius:25px;padding:12px 15px;background:#0068ff;color:#fff;box-shadow:0 6px 20px #0068ff36;font-size:13px;font-weight:700}.floating-zalo svg{width:19px;height:19px;fill:none;stroke:#fff;stroke-width:1.9}}

/* Remove inherited bullets and prevent decorative markers in nested mobile menu. */
.mobile-nav .sub-menu, .mobile-nav .sub-menu li, .desktop-links .sub-menu, .desktop-links .sub-menu li{list-style:none;list-style-type:none;}
.mobile-nav .sub-menu li::marker, .desktop-links .sub-menu li::marker{content:"";}

/* Unavailable mobile items stay in the four-slot layout without linking to fake URLs. */
@media(max-width:860px){.bottom-nav-item--unavailable{opacity:.42;cursor:not-allowed;pointer-events:none}}
