/* Mobile WeChat Quick-Connect Floating Action Bar for hondabyhenry.ca zh/ pages */
@media (max-width: 768px) {
  .m-wechat-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 56px;
    background: #111111;
    border-top: 1px solid #333333;
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 9999;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.2);
  }
  .m-wechat-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    background: transparent;
    border: none;
    padding: 6px 0;
    cursor: pointer;
  }
  .m-wechat-btn:not(:last-child) {
    border-right: 1px solid #222222;
  }
  .m-wechat-btn .icon {
    font-size: 16px;
    margin-bottom: 2px;
  }
  .m-wechat-btn.call-btn {
    background: #cc0000;
    color: #ffffff;
  }

  /* Modal Backdrop */
  .m-qr-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.75);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
  }
  .m-qr-modal.active {
    display: flex;
  }
  .m-qr-box {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    max-width: 320px;
    width: 100%;
    text-align: center;
    position: relative;
  }
  .m-qr-box h3 {
    margin: 0 0 8px;
    font-size: 18px;
    color: #111;
  }
  .m-qr-box p {
    margin: 0 0 16px;
    font-size: 13px;
    color: #666;
  }
  .m-qr-box img {
    width: 200px;
    height: 200px;
    border-radius: 12px;
    display: block;
    margin: 0 auto 16px;
    border: 1px solid #eee;
  }
  .m-qr-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: transparent;
    border: none;
    font-size: 22px;
    color: #999;
    cursor: pointer;
  }
}

@media (min-width: 769px) {
  .m-wechat-bar, .m-qr-modal {
    display: none !important;
  }
}
