.fh-bottom-nav {
  display: none !important;
}

.fh-bottom-nav svg {
  width: 22px !important;
  height: 22px !important;
  max-width: 22px !important;
  max-height: 22px !important;
  display: block !important;
  flex: 0 0 auto !important;
}

@media (max-width: 767px) {
  body {
    padding-bottom: calc(82px + env(safe-area-inset-bottom, 0px));
  }

  body.woocommerce-checkout {
    padding-bottom: 0;
  }

  .fh-bottom-nav {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    z-index: 9998;
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: center;
    gap: 4px;
    min-height: 66px;
    padding: 8px;
    border: 1px solid rgba(149, 27, 40, 0.16);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
  }

  .fh-bottom-nav,
  .fh-bottom-nav * {
    box-sizing: border-box;
  }

  .fh-bottom-nav__item {
    position: relative;
    min-width: 0;
    min-height: 50px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 6px 4px;
    border-radius: 12px;
    color: var(--fh-charcoal, #181818);
    font-size: 10.5px;
    font-weight: 850;
    line-height: 1;
    text-align: center;
    text-decoration: none !important;
    transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
  }

  .fh-bottom-nav__item:hover,
  .fh-bottom-nav__item:focus,
  .fh-bottom-nav__item.is-active {
    background: var(--fh-red-soft, #f8ecee);
    color: var(--fh-red, #951b28);
    text-decoration: none !important;
  }

  .fh-bottom-nav__item:focus-visible {
    outline: 3px solid rgba(184, 115, 51, 0.22);
    outline-offset: 2px;
  }

  .fh-bottom-nav__icon {
    position: relative;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: currentColor;
  }

  .fh-bottom-nav__icon svg {
    width: 21px !important;
    height: 21px !important;
    max-width: 21px !important;
    max-height: 21px !important;
    display: block !important;
  }

  .fh-bottom-nav__label {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .fh-bottom-nav__item--whatsapp {
    color: #ffffff;
  }

  .fh-bottom-nav__item--whatsapp .fh-bottom-nav__icon {
    width: 46px;
    height: 46px;
    margin-top: -24px;
    border: 4px solid #ffffff;
    border-radius: 50%;
    background: var(--fh-whatsapp, #25d366);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.28);
  }

  .fh-bottom-nav__item--whatsapp:hover,
  .fh-bottom-nav__item--whatsapp:focus {
    background: transparent;
    color: var(--fh-red, #951b28);
  }

  .fh-bottom-nav__item--whatsapp:hover .fh-bottom-nav__icon,
  .fh-bottom-nav__item--whatsapp:focus .fh-bottom-nav__icon {
    background: #128c7e;
    color: #ffffff;
    transform: translateY(-1px);
  }

  .fh-bottom-nav-cart-count {
    position: absolute;
    top: -6px;
    right: -8px;
    min-width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    border: 2px solid #ffffff;
    border-radius: 999px;
    background: var(--fh-red, #951b28);
    color: #ffffff;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
  }

  .fh-bottom-nav-cart-count[hidden] {
    display: none !important;
  }

  .admin-bar .fh-bottom-nav {
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 360px) {
  .fh-bottom-nav {
    left: 6px;
    right: 6px;
    bottom: calc(6px + env(safe-area-inset-bottom, 0px));
    padding: 7px 5px;
    border-radius: 14px;
  }

  .fh-bottom-nav__item {
    font-size: 9.8px;
  }
}
