.phone-full-menu-toggle, .phone-site-menu, .phone-menu-whatsapp {display:none}

@media (width < 1200px) {
  .compact-site-header .compact-mobile-toggle,
  .compact-site-header .compact-navigation,
  .anjia-contact-mobile-bar {display:none!important}
  body.anjia-contact-action-widget-enabled {padding-bottom:0}
  .compact-site-header .compact-header-row {grid-template-columns:minmax(0,1fr) auto}
  .compact-site-header .compact-actions {grid-column:2;gap:6px}
  .compact-site-header .phone-full-menu-toggle {
    display:inline-flex;align-items:center;justify-content:center;min-height:44px;
    padding:0 10px;border:1px solid #d9e5ed;border-radius:8px;background:white;color:#073b87;
    font-family:inherit;font-size:14px;font-weight:700;cursor:pointer;
  }
  .phone-site-menu[open] {
    --phone-menu-ink:#102b49;
    --phone-menu-blue:#073b87;
    --phone-menu-line:#dee7ef;
    display:flex;flex-direction:column;position:fixed;inset:0;
    width:100%;max-width:none;height:100%;height:100dvh;max-height:none;
    box-sizing:border-box;margin:0;padding:0;border:0;background:#fff;
    color:var(--phone-menu-ink);overflow:hidden;
  }
  .phone-site-menu::backdrop {background:#fff}
  html.phone-menu-open, html.phone-menu-open body {overflow:hidden;overscroll-behavior:none}
  .phone-menu-top {
    display:flex;align-items:center;justify-content:space-between;flex:none;
    min-height:68px;gap:12px;border-bottom:1px solid var(--phone-menu-line);
    padding:env(safe-area-inset-top,0px) max(16px,env(safe-area-inset-right,0px)) 0 max(18px,env(safe-area-inset-left,0px));
  }
  .phone-menu-top h2 {margin:0;font-size:23px;line-height:1.2;color:var(--phone-menu-ink);font-weight:800}
  .phone-menu-close {
    display:inline-flex;align-items:center;justify-content:center;gap:7px;
    min-width:44px;min-height:44px;padding:0 11px;border:1px solid var(--phone-menu-line);
    border-radius:7px;background:white;color:var(--phone-menu-blue);font:inherit;font-size:14px;font-weight:700;cursor:pointer;
  }
  .phone-menu-close span {font-size:22px;line-height:1}
  .phone-menu-links {
    flex:1 1 auto;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;
    padding:5px max(18px,env(safe-area-inset-right,0px)) calc(18px + env(safe-area-inset-bottom,0px)) max(18px,env(safe-area-inset-left,0px));
    scroll-padding-block:10px;
  }
  .phone-menu-row {
    display:flex;align-items:center;justify-content:space-between;box-sizing:border-box;min-height:53px;
    width:100%;padding:8px 2px;gap:8px;border:0;border-bottom:1px solid var(--phone-menu-line);text-align:left;
    font-size:16px;font-weight:730;line-height:1.35;background:white;color:var(--phone-menu-ink);
  }
  .phone-menu-row:where(a,button) {cursor:pointer}
  .phone-menu-split {padding:0;align-items:stretch}
  .phone-menu-split > a {flex:1;display:flex;align-items:center;padding:8px 2px;color:inherit}
  .phone-menu-expand {color:inherit;font-family:inherit}
  .phone-menu-expand i {
    display:block;width:8px;height:8px;border:solid currentColor;border-width:0 1.6px 1.6px 0;
    transform:translateY(-2px) rotate(45deg);margin-inline:10px;flex:none;
  }
  .phone-menu-expand[aria-expanded=true] {color:var(--phone-menu-blue)}
  .phone-menu-expand[aria-expanded=true] i {transform:translateY(2px) rotate(225deg)}
  .phone-menu-split .phone-menu-expand {
    display:grid;place-items:center;min-width:48px;min-height:52px;border:0;padding:0;
    background:white;color:var(--phone-menu-blue);cursor:pointer;
  }
  .phone-menu-children {
    padding:4px 0 6px 13px;border-bottom:1px solid var(--phone-menu-line);background:#f7f9fc;
  }
  .phone-menu-children[hidden] {display:none!important}
  .phone-menu-children a {
    display:flex;align-items:center;min-height:44px;padding:7px 12px 7px 0;box-sizing:border-box;
    color:#203f60;font-size:14px;font-weight:600;line-height:1.4;
  }
  .phone-menu-quote {color:var(--phone-menu-blue);font-weight:800}
  .phone-full-menu-toggle, .phone-site-menu a, .phone-site-menu button {-webkit-tap-highlight-color:transparent}
  .phone-site-menu a:active, .phone-site-menu button:active {background:#eef3f8}
  .phone-site-menu a:focus-visible, .phone-site-menu button:focus-visible {outline:2px solid #a77506;outline-offset:-2px}
  .phone-menu-whatsapp.anjia-contact-mobile-chat {
    display:inline-flex;bottom:calc(14px + env(safe-area-inset-bottom,0px));min-height:44px;
  }
  html.phone-menu-open .phone-menu-whatsapp {visibility:hidden!important;pointer-events:none!important}
}

/* The original floating WhatsApp styles only apply through 767 px. */
@media (767px < width < 1200px) {
  .phone-menu-whatsapp.anjia-contact-mobile-chat {
    position:fixed;z-index:9989;right:max(12px,env(safe-area-inset-right,0px));
    align-items:center;gap:7px;border-radius:999px;padding:9px 13px;
    color:#fff;background:#167447;box-shadow:0 10px 24px rgba(13,100,57,.28);
    font-size:12px;font-weight:900;text-decoration:none;
  }
  .phone-menu-whatsapp.anjia-contact-mobile-chat:is(:hover,:focus-visible) {color:#fff;background:#0d6439}
  .phone-menu-whatsapp svg {
    width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;
  }
}
