:root {
  --hp-mobile-bar-height: 62px;
}

@media (max-width: 767px) {
  body.hipopo-site-v3 {
    padding-bottom: calc(var(--hp-mobile-bar-height) + env(safe-area-inset-bottom, 0px));
  }

  body.hipopo-site-v3 .joinchat,
  body.hipopo-site-v3 .joinchat__button,
  body.hipopo-site-v3 #joinchat,
  body.hipopo-site-v3 #ht-ctc-chat,
  body.hipopo-site-v3 .ht-ctc-chat,
  body.hipopo-site-v3 .ht_ctc_chat_data,
  body.hipopo-site-v3 .ccw_plugin,
  body.hipopo-site-v3 .qlwapp,
  body.hipopo-site-v3 #qlwapp,
  body.hipopo-site-v3 .qlwapp-container,
  body.hipopo-site-v3 .qlwapp__container,
  body.hipopo-site-v3 .qlwapp__button,
  body.hipopo-site-v3 .qlwapp-button,
  body.hipopo-site-v3 [class*="whatsapp-chat"],
  body.hipopo-site-v3 [id*="whatsapp"],
  body.hipopo-site-v3 .ht-ctc-amp-chat,
  body.hipopo-site-v3 #chaty-widget,
  body.hipopo-site-v3 .chaty-widget {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    max-width: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    position: fixed !important;
    left: -9999px !important;
    bottom: -9999px !important;
    z-index: -1 !important;
  }

  .hp-mobile-bottom-bar {
    position: fixed;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 100100;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: stretch;
    min-height: var(--hp-mobile-bar-height);
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid rgba(5, 142, 232, 0.16);
    box-shadow: 0 -8px 28px rgba(0, 72, 135, 0.1);
    backdrop-filter: blur(12px);
    font-family: "Heebo", "Rubik", "Assistant", Arial, sans-serif;
  }

  body.hipopo-thursday-live .hp-mobile-bottom-bar {
    background: rgba(11, 21, 38, 0.96);
    border-top-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.28);
  }

  .hp-mobile-bottom-bar__item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-height: 48px;
    padding: 2px 4px;
    border: 0;
    background: transparent;
    color: #4d6f92;
    font: inherit;
    text-decoration: none !important;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  body.hipopo-thursday-live .hp-mobile-bottom-bar__item {
    color: #9eb8d4;
  }

  .hp-mobile-bottom-bar__item.is-active,
  .hp-mobile-bottom-bar__item:active {
    color: #058ee8;
  }

  body.hipopo-thursday-live .hp-mobile-bottom-bar__item.is-active,
  body.hipopo-thursday-live .hp-mobile-bottom-bar__item:active {
    color: #5dd8ff;
  }

  .hp-mobile-bottom-bar__item--wa {
    color: #1faa53;
  }

  body.hipopo-thursday-live .hp-mobile-bottom-bar__item--wa {
    color: #5ee87a;
  }

  .hp-mobile-bottom-bar__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    line-height: 1;
  }

  .hp-mobile-bottom-bar__svg {
    display: block;
    width: 20px;
    height: 20px;
  }

  .hp-mobile-bottom-bar__item--wa .hp-mobile-bottom-bar__svg {
    width: 21px;
    height: 21px;
  }

  .hp-mobile-bottom-bar__label {
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
  }

  .hp-mobile-bottom-bar__badge {
    position: absolute;
    top: 2px;
    left: 50%;
    margin-left: 8px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ff69c2, #ee147f);
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    line-height: 18px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(238, 20, 127, 0.28);
  }

  .hp-mobile-bottom-bar__badge[hidden] {
    display: none !important;
  }

  body.hp-cart-open .hp-mobile-bottom-bar,
  body.hp-menu-open .hp-mobile-bottom-bar {
    z-index: 100050;
  }

  body.hipopo-site-v3 .hp-mobile-drawer,
  body.hipopo-site-v3 .hp-mobile-drawer--portaled {
    z-index: 100350 !important;
  }

  body.hp-menu-open.hipopo-site-v3 .elementor-location-header,
  body.hp-menu-open.hipopo-site-v3 .hp-codex-header,
  body.hp-menu-open.hipopo-site-v3 .hp-topbar {
    z-index: 1000 !important;
  }
}

@media (min-width: 768px) {
  .hp-mobile-bottom-bar {
    display: none !important;
  }
}
