/* Custom Bottom Navigation Styles */
.bottom-navigation-wrap {
  display: none;
}

.bottom-navigation-items .cart-badge {
  background-color: red;
  color: white;
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 12px;
  position: absolute;
  top: -10px;
  right: -10px;
}

.cart-badge:empty {
  display: none;
}

@media screen and (max-width: 992px) {
  .bottom-navigation-wrap {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0; /* Adjust for RTL if necessary */
    background: #fff;
    width: 100%;
    min-width: 320px;
    z-index: 7;
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
  }

  .bottom-navigation-items {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    list-style: none;
    margin: 0;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
  }

  .bottom-navigation-items li {
    flex: 1;
    text-align: center;
  }

  .bottom-navigation-items li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #6d9900 !important; /* Text color */
    font-size: 14px;
    transition: color 0.3s ease, transform 0.3s ease;
    position: relative;
  }

  .bottom-navigation-items li a:hover,
  .bottom-navigation-items li a.active {
    color: #4a7c00 !important; /* Slightly darker color on hover */
    transform: scale(1.1);
  }

  .bottom-navigation-items li a i {
    font-size: 24px;
    color: #6d9900 !important; /* Icon color */
  }

  .bottom-navigation-items li a span {
    display: block;
    font-size: 12px;
    margin-top: 4px;
  }

  .bottom-navigation-items li a .count {
    position: absolute;
    font-size: 10px;
    line-height: 16px;
    top: 0;
    height: 16px;
    width: 16px;
    color: #fff;
    background: #e23e1d;
    text-align: center;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    right: 12px;
  }

  .rtl .bottom-navigation-wrap {
    right: 0;
    left: auto;
  }

  .rtl .bottom-navigation-items li a .count {
    left: 12px;
    right: auto;
  }

  .bottom-navigation-items li .bottom-navigation-cart svg {
    height: 26px;
    width: 26px;
  }
}

@media screen and (max-width: 375px) {
  .bottom-navigation-items li {
    flex: 1;
    min-width: 50px;
    max-width: 50px;
  }

  .bottom-navigation-items li a .count {
    right: 5px;
  }

  .rtl .bottom-navigation-items li a .count {
    left: 5px;
    right: auto;
  }
}

