/* Xemry 3.9 — WordPress Appearance > Menus: desktop and mobile. */
body.xm-refined .xm-desktop-links>.xm-wp-primary-menu{display:flex!important;justify-content:center;align-items:center;gap:clamp(12px,1.4vw,27px);flex-wrap:nowrap}
body.xm-refined .xm-desktop-links .xm-wp-primary-menu>li{position:relative!important;white-space:nowrap}
body.xm-refined .xm-desktop-links .xm-wp-primary-menu>li>a{white-space:nowrap}
body.xm-refined .xm-desktop-links .xm-wp-primary-menu .sub-menu{
  display:none!important;position:absolute!important;left:0!important;top:100%!important;z-index:1100;
  min-width:220px;max-width:min(325px,90vw);padding:10px!important;margin:0!important;
  border:1px solid #dce7de;border-radius:7px;background:#fff;box-shadow:0 18px 42px #0c29242a;
  flex-direction:column!important;align-items:stretch!important;gap:0!important;
}
body.xm-refined .xm-desktop-links .xm-wp-primary-menu .sub-menu>li{position:relative!important;display:block!important;white-space:normal!important;width:100%}
body.xm-refined .xm-desktop-links .xm-wp-primary-menu .sub-menu a{
  display:block!important;padding:10px 12px!important;font-size:12px!important;
  line-height:1.45!important;white-space:normal!important;border-radius:4px
}
body.xm-refined .xm-desktop-links .xm-wp-primary-menu .sub-menu a:hover,
body.xm-refined .xm-desktop-links .xm-wp-primary-menu .sub-menu a:focus-visible{background:#edf5ee!important}
body.xm-refined .xm-desktop-links .xm-wp-primary-menu .menu-item-has-children:hover>.sub-menu,
body.xm-refined .xm-desktop-links .xm-wp-primary-menu .menu-item-has-children:focus-within>.sub-menu{display:flex!important}
body.xm-refined .xm-desktop-links .xm-wp-primary-menu .sub-menu .sub-menu{left:100%!important;top:0!important}
body.xm-refined .xm-mobile-drawer .xm-wordpress-mobile-menu{list-style:none!important;padding:0!important;margin:0!important}
body.xm-refined .xm-mobile-drawer .xm-wordpress-mobile-menu>li{position:relative;list-style:none!important;border-bottom:1px solid #e5eee6}
body.xm-refined .xm-mobile-drawer .xm-wordpress-mobile-menu>li>a{
  display:block!important;min-height:48px;padding:13px 50px 13px 3px!important;
  color:#214334!important;font:800 13px/1.5 var(--xm-sans)!important;text-decoration:none!important;
  overflow-wrap:anywhere;
}
body.xm-refined .xm-mobile-drawer .xm-wordpress-mobile-menu .sub-menu{display:none!important;padding:2px 0 13px 15px!important;margin:0!important;border-left:2px solid #d1e1d6}
body.xm-refined .xm-mobile-drawer .xm-wordpress-mobile-menu .xm-submenu-open>.sub-menu{display:block!important}
body.xm-refined .xm-mobile-drawer .xm-wordpress-mobile-menu .sub-menu li{position:relative;list-style:none!important;padding:0!important;margin:0!important}
body.xm-refined .xm-mobile-drawer .xm-wordpress-mobile-menu .sub-menu a{display:block!important;padding:11px 44px 11px 13px!important;color:#355c49!important;font:700 12px/1.5 var(--xm-sans)!important;text-decoration:none!important}
body.xm-refined .xm-mobile-drawer .xm-wordpress-mobile-menu .xm-wp-submenu-toggle{
  position:absolute;right:0;top:3px;z-index:2;display:grid;place-items:center;
  width:42px;height:42px;border:0;background:#edf4ee;color:#1e5942;border-radius:5px;
  font-size:21px;line-height:1;cursor:pointer
}
body.xm-refined .xm-mobile-drawer .xm-wordpress-mobile-menu .xm-wp-submenu-toggle:focus-visible{outline:2px solid #176747;outline-offset:2px}
body.xm-refined .xm-mobile-support-nav .xm-menu-help{padding:0!important;margin:0!important;list-style:none}
body.xm-refined .xm-mobile-support-nav .xm-menu-help .sub-menu{padding-left:13px!important;margin:0!important}
body.xm-refined .xm-footer .xm-footer-menu{list-style:none;padding:0;margin:0}
body.xm-refined .xm-footer .xm-footer-menu li{list-style:none}
body.xm-refined .xm-footer .xm-footer-menu .sub-menu{padding:7px 0 0 12px;list-style:none}
@media(max-width:1000px){body.xm-refined .xm-desktop-links>.xm-wp-primary-menu{gap:clamp(8px,1vw,13px)}}
@media(max-width:900px){body.xm-refined .xm-desktop-links{display:none!important}}

/* Xemry 3.9.2: expose the parent theme's existing currency switcher without changing currency logic. */
body.xm-refined .xm-currency-slot{flex:0 0 auto;min-width:0;display:flex;align-items:center}
body.xm-refined .xm-currency-slot .luania-currency-switcher{display:block;margin:0!important;padding:0!important;line-height:1}
body.xm-refined .xm-currency-slot .luania-currency-switcher select{
  appearance:auto;box-sizing:border-box;display:block;min-height:35px;min-width:82px;max-width:110px;
  padding:6px 7px!important;background:#f7faf7!important;color:#1f5140!important;
  border:1px solid #d9e6dc!important;border-radius:6px!important;
  font:700 11px/1.3 var(--xm-sans)!important;letter-spacing:.02em;cursor:pointer
}
body.xm-refined .xm-currency-slot .luania-currency-switcher select:focus-visible{
  outline:2px solid #24694f!important;outline-offset:2px
}
body.xm-refined .xm-currency-slot--mobile{display:none}
@media(max-width:1010px){
  body.xm-refined .xm-currency-slot--desktop{display:none!important}
  body.xm-refined .xm-currency-slot--mobile{display:block;margin:18px 0 4px}
  body.xm-refined .xm-currency-slot--mobile .xm-menu-group-title{margin:22px 0 12px}
  body.xm-refined .xm-currency-slot--mobile .luania-currency-switcher select{
    width:100%!important;min-height:46px;max-width:none!important;padding:10px 12px!important;font-size:13px!important
  }
}
