.content-area {
  /* width: calc(100% - var(--side-nav-width)); */
  /* margin-left: var(--side-nav-width); */
  width: 100%;
  /* overflow: auto; */
  padding-top: 0px;
  margin-top: 0;
  /* height: 100vh; */
  padding: 0 0px;
  max-width: 100%;
  overflow-x: hidden;
  /* padding-top: 90px; */
  padding-top: 95px;
  position: relative;
  min-height: calc(100vh);
}

main {
  min-height: 100vh;
}

.filter-visible .content-area {
  /* padding-left: var(--side-nav-width); */
}


.side-nav {
  position: fixed;
  min-height: 100%;
  /* height: 100%; */
  width: var(--side-nav-width);
  transition: width .25s ease;
  z-index: 1082;
  border-right: 1px solid #f5f5f5;
  transition: .25s ease;
  /* background-color: #fff; */
  left: calc(var(--side-nav-width) * -1);
  top: 0;

  height: 100vh;
  /* Fallback for browsers that do not support Custom Properties */
  height: calc(var(--vh, 1vh) * 100);
  /* background-color: #fff; */
}







@media (min-width: 991px) {
  .filter-visible .side-nav {
    left: 0;
    top: 0;
  }
}

@media (max-width: 767.98px) {
  .content-area {
    width: calc(100%);
    margin-left: 0;
    padding: 0;
  }

  .filter-visible .side-nav,
  .side-nav {
    left: calc(var(--side-nav-width) * -1);
    top: 0;
  }

  .filter-visible .content-area {
    padding: 0 0px;
    padding-top: 90px;
  }


  .filter-form {
    height: 100vh;
    /* Fallback for browsers that do not support Custom Properties */
    height: calc(var(--vh, 1vh) * 100);
    background-color: #fff;
  }


}


.show-side-nav .side-nav {
  left: 0;
  top: 0;
}


.show-side-nav.side-nav-on .side-nav {
  width: var(--side-nav-width);
}

.side-nav-right {
  height: 100%;
  right: calc(var(--side-nav-right-width) * -1);
  left: auto !important;
  width: var(--side-nav-right-width);
  top: 0;
  background-color: #fff;
}

.show-side-nav-right .side-nav-right {
  right: 0px;
  display: block !important;
}

.side-nav ul.side-nav-scrollbar-overlay {
  width: 100%;
  /* height: 100vh; */
  height: calc(100vh - 90px);
  background-color: #fff;
}





/*Bottom bar*/

.bbar {
  position: fixed;
  bottom: 30px;
  display: block;
  width: auto;
  margin: 0 auto;
  background-color: #ffffff;
  height: calc(var(--bottom-bar-height) + 10px);
  left: 50%;
  transform: translateX(-50%);
  border-radius: 15px;
  box-shadow: 0 .225rem .5rem rgba(0, 0, 0, .15);
  z-index: 8;
  border: 3px solid rgba(var(--bs-primary-rgb), 0.3);
}

.filter-visible .bbar {
  /* margin-left: 160px; */
}

@media (min-width: 991px) {
  .filter-visible .bbar .navtabs .item.toggle-side-nav {
    display: none;
  }

  .filter-visible .float-btn.filter {
    display: none;
  }
}

.bbar .navtabs {
  margin: 0;
  display: inline-block;
  width: 100%;
  padding: 0 0px;
  white-space: nowrap;
}

.bbar .navtabs .item {
  /* float: left; */
  display: inline-block;
  margin: 0 0px;
  padding: 0 20px 0 2px;
  border-right: 1px solid #eee;
  cursor: pointer;
}

.bbar .navtabs .item:last-child {
  border: none;
  padding-left: 5px;
}

.bbar .navtabs .item a.link {
  line-height: var(--bottom-bar-height);
}

.bbar .navtabs .item.sorting {
  line-height: var(--bottom-bar-height);
}

.bbar .navtabs .item.sorting a {
  line-height: calc(var(--bottom-bar-height) - 28px);
}

.bbar .navtabs .item.sorting li {
  line-height: calc(var(--bottom-bar-height) - 18px);
}

.bbar .navtabs .item.sorting a.nav-link {
  padding: 0;
}

.bbar .navtabs .item:hover .link {
  color: var(--primary-color);
}



.bbar .navtabs .item a.link,
.bbar .navtabs .item a.nav-link {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  font-size: 16px;
}

.bbar .navtabs .item a.nav-link small {
  font-weight: 400;
  font-size: 13px;
}

.bbar .navtabs .btn-tab {
  position: relative;
  top: 2px;
  padding-right: 15px;
}

.bbar .navtabs .btn-tab .tit {
  position: relative;
  top: 0px;
  margin-right: 5px;
}

.bbar .navtabs .btn-tab:hover .tit {
  color: var(--primary-color);
}

.bbar .navtabs .btn-tab .btn-icon {
  height: 40px;
  width: 40px;
  margin: 5px 2px;
  text-align: center;
  line-height: 40px;
  display: inline-block;
  background-color: rgba(var(--bs-primary-rgb), 0.1);
  border-radius: 10px;
  /* box-shadow: 0 .225rem .5rem rgba(0, 0, 0, .15); */
}

.bbar .navtabs .btn-tab svg {
  height: 22px;
  color: #fff;
  color: var(--primary-color);
}

.bbar .navtabs .btn-tab .badge {
  padding: 4px 6px;
  top: -5px;
  left: 28px;
  font-size: 12px;
  line-height: 12px;
  font-weight: 400;
}

.bbar ul li {
  list-style-type: none;
}

.filter-visible .bbar {
  /* display: none; */
}


@media (max-width: 767.98px) {
  .filter-visible .bbar {
    margin-left: 0px;
  }

}

@media (max-width: 574.98px) {
  :root {
    --bottom-bar-height: 40px;
  }

  .bbar {
    bottom: 20px;
  }

  .bbar .navtabs .btn-tab svg {
    height: 18px;
  }

  .bbar .navtabs .btn-tab .btn-icon {
    height: 36px;
    width: 36px;
    margin: 2px;
  }
  

.bbar .navtabs .item a.link,
.bbar .navtabs .item a.nav-link {
  font-size: 14px;
}


}



/* floating buttons*/

.float-btn.cart,
.float-btn.filter,
.float-btn.call {
  position: fixed;
  right: 45px;
  bottom: 60px;
  width: 60px;
  height: 60px;
  background-color: rgba(var(--bs-accent2-rgb), 1);
  z-index: 9;
  border-radius: 30px;
  border: 3px solid rgba(0, 0, 0, .10);
  box-shadow: 0 .425rem .9rem rgba(0, 0, 0, .20);
  padding: 3px;
  color: #fff;
  cursor: pointer;
  /* overflow: hidden; */
  transition: all .2s ease-out;
}

.float-btn.filter {
  left: 45px;
  right: auto;
}

/* .float-btn.cart{
  
} */

.float-btn .i {
  position: absolute;
  display: inline-block;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0);
  width: 50px;
  height: 50px;
  top: 2px;
  left: 2px;
  text-align: center;
  line-height: 50px;
  transition: all .2s ease-out;
}

.float-btn svg {
  width: 26px;
  height: 26px;
  stroke: #ffffff;
}

.float-btn:hover {
  /* box-shadow: 0 .625rem .9rem rgba(0, 0, 0, .30); */
}


.float-btn.call .tit {
  display: none;
  padding-left: 62px;
  font-size: 13px;
  white-space: nowrap;
  color: #ffffff;
}

.float-btn.call .num {
  display: none;
  padding-left: 62px;
  white-space: nowrap;
  font-weight: 500;
  color: #ffffff;
}

.float-btn.call:hover {
  width: 190px;
}

.float-btn:hover .tit,
.float-btn:hover .num {
  display: inline-block;
}

.float-btn:hover .i {
  background-color: rgba(0, 0, 0, .10);
}

.float-btn .tip {
  position: absolute;
  width: auto;
  bottom: -32px;
  white-space: nowrap;
  font-size: 13px;
  left: -13px;
  background-color: rgba(50, 50, 50, .90);
  padding: 2px 5px;
  border-radius: 3px;
  color: #eee;
  left: 50%;
  transform: translateX(-50%);
}

.float-btn .badge {
  padding: 6px 6px;
  top: -5px;
  left: 36px;
  font-size: 12px;
  line-height: 12px;
  font-weight: 400;
  background-color: rgba(50, 50, 50, .90);
}


@media (max-width: 574.98px) {
  .float-btn.call {
    position: fixed;
    right: 20px;
    bottom: 15px;
    transform: scale(.8);
    display: none;
  }

  .float-btn.filter {
    position: fixed;
    left: 20px;
    right: auto;
    bottom: 35px;
    transform: scale(.8);
    /* display: none; */
  }


  .float-btn.cart {
    position: fixed;
    left: auto;
    right: 20px;
    bottom: 35px;
    transform: scale(.8);
  }

}