.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  background-color: #fff;
  border-top: 1px solid #ecedf6;
  z-index: 991;
  padding: 9px 9px 18px;
  height: 70px;
  display: none;
}

.bottom_nav-link {
  flex: 1;
  padding: 0 10px;
  display: flex;
  align-items: center;
  /* justify-content: center; */
  flex-direction: column;
  gap: 5px;
  background-color: transparent;
  border: none;
  color: var(--text-color);
  opacity: 0.7;
  cursor: pointer;
  text-transform: capitalize;
  transition: all 0.3s ease-in-out;
  font-size: 20px;
  text-decoration: none;
  outline: none !important;
}
.bottom_nav-link:focus,
.bottom_nav-link:hover{
  color: var(--text-color);
  opacity: 0.7;
}
.bottom_nav-link i{
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bottom_nav-link .text {
  font-size: 10px;
  font-family: var(--font-bold);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 15px;
  width: 100%;
}

.bottom_nav-home {
  display: none;
}

:has(.tf-filter) .bottom_nav-home {
  display: flex;
}

:has(.tf-filter) .bottom_nav-shop {
  display: none;
}

.bottom_nav-filter {
  display: none;
}
.bottom_nav-filter.close_filter i::before {
  content: "\f00d";
}
:has(.tf-filter) .bottom_nav-filter {
  display: flex;
}

.back-btn {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin-inline-end: 25px;
  position: relative;
  z-index: 6;
}
.common-home .back-btn {
  display: none;
}
html[dir="ltr"] .back-btn > i::before {
  content: "\f060";
}
.filter-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  opacity: 0.5;
  display: none;
  z-index: 99;
}
#xs-button-cart {
  bottom: 70px;
  margin: 40px -20px 0;
  width: calc(100% + 40px);
}

.search-title {
  display: none;
  font-size: 20px;
  font-weight: 800;
  padding: 20px 0;
  margin: 0;
  font-family: var(--font-bold);
  text-align: center;
}
@media (max-width: 767px) {
  .cartList{
    /* padding-bottom: 70px; */
  }
  .back-btn {
    display: flex;
  }
  .common-home .back-btn {
    display: none;
  }
  .bottom-nav {
    display: flex;
  }
  body:has(.bottom-nav) {
    padding-bottom: 70px;
  }
  .open-search,
  .account {
    display: none;
  }
  .logo {
    margin-inline-end: auto;
  }

  .filters-mobile-btn {
    display: none;
  }

  .filters-cont {
    z-index: 99;
    top: 0;
    height: calc(100vh - 60px);
  }
  html[dir="ltr"] .filters-cont {
    left: -100vw;
  }

  html[dir="rtl"] .filters-cont {
    right: -100vw;
  }

  html[dir="ltr"] .filters-cont.active {
    left: 0;
  }

  html[dir="rtl"] .filters-cont.active {
    right: 0;
  }
  .tf-filter.panel {
    width: 300px;
    /* height: 100vh; */
    max-height: 100vh;
    padding: 0;
  }
  aside#column-left,
  aside#column-right {
    margin-top: 30px;
  }
  .sticky-header {
    z-index: 99;
  }

  .search {
    position: fixed;
    inset-block: 0;
    height: 100vh;
    transform: none;
    background-color: #fff;
    z-index: 999;
  }
  .search.show-search-box {
    transform: none;
  }
  .search-input-wrapper {
    height: 60px;
    width: calc(100% + 40px);
    margin: 0 -20px;
    border-top: 1px solid #f4f4f4;
    border-bottom: 1px solid #f4f4f4;
    padding: 0 30px;
  }
  .search .search-title {
    display: block;
  }
  .close-searh-btn {
    transform: none;
    top: -41px;
    inset-inline-end: 20px;
  }
  .close-searh-btn .icon {
    font-size: 24px;
  }
  ul.result_search {
    inset-inline-start: 0;
    top: calc(100% + 1px);
    max-height: calc(100vh - 123px);
    margin: 0;
  }
  ul.result_search > li .price-cont {
    width: 145px;
  }
  ul.result_search .search-name-cont {
    max-width: calc(100% - 150px);
  }
  body:has(.search.show-search-box){
    overflow: hidden !important;
  }
}

@media (max-width: 767px) {
  .download-footer-item {
    display: none;
  }
}