/*----------------------------------------------------------------
                                GLOBAL
----------------------------------------------------------------*/
body.wb-rtl .direction-auto {
  direction: rtl !important;
}

body.wb-ltr .direction-auto {
  direction: ltr !important;
}

body.wb-rtl .text-align-auto {
  text-align: right !important;
}

body.wb-ltr .text-align-auto {
  text-align: left !important;
}

/*----------------------------------------------------------------
                                HEADER
----------------------------------------------------------------*/
body.wb-rtl .header-7 .cart-dropdown,
body.wb-rtl .header-7 .compare-dropdown {
  padding-right: 2.3rem;
  padding-left: 0;
}

body.wb-rtl .menu .megamenu.megamenu-md {
  right: -10rem;
  left: auto;
}
body.wb-rtl .social-icons-color .social-icon:not(:last-child),
body.wb-rtl .social-icons-simple .social-icon:not(:last-child) {
  margin-left: 2rem;
  margin-right: 0;
}
.search__results {
  position: absolute;
  top: 10px;
  padding: 5px;
  border-radius: 15px;
  z-index: 9999999;
  background: #e7e7e7;
  border: none;
  border-top: none;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 40rem;
  overflow: auto;
}

.search__results::-webkit-scrollbar {
  width: 5px;
}

.search__results::-webkit-scrollbar-thumb {
  background: var(--wb-primary-color);
}

.search__item {
  display: flex;
  align-items: center;
  cursor: pointer;
  color: #000;
  font-size: 13px;
  text-align: right;
  margin: 0 0 7px 0;
  background: #fff;
  border-radius: 10px;
  padding: 5px;
  width: 100%;
  gap: 7px;
  justify-content: start;
}

.search__results .search__item .search__img {
  border: 1px solid #e9e9e9;
  width: 5rem;
  height: auto;
  border-radius: 8px;
  padding: 3px;
}

.noitem {
  display: none;
  width: 270px;
  height: 80px;
  position: absolute;
  top: 30px;
  padding: 5px;
  z-index: 9999999;
  background: #fff;
  border: 1px solid var(--wb-primary-color);
  border-top: none;
  left: 0px;
  text-align: center;
  border-radius: 1px 1px 20px 20px;
  box-shadow: 0px 22px 20px #00000012;
}

/*----------------------------------------------------------
                    PAGINATION
----------------------------------------------------------*/
.pagination {
  display: flex;
  padding-left: 0;
  list-style: none;
}

.page-item .page-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  border: 0;
  background: #f4f4f4;
  color: #000000;
  width: 40px;
  text-align: center;
  line-height: 1.25;
}

.page-item.disabled {
  opacity: 0.5;
  cursor: auto;
}

.page-item {
  cursor: pointer;
}

.page-item.active .page-link {
  background: #222222;
  color: #fff;
}

.page-item .text-perv {
  display: none;
}

.page-item .page-link .text-next {
  display: none;
}

.shop-container div.shop-color span.color {
  display: inline-block;
  position: relative;
  margin: 3px 5px 3px 0;
  padding: 0 5px;
  border-radius: 50%;
  background-color: transparent;
  background-size: cover;
  font-size: 1.8rem;
  font-family: inherit;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  width: 2rem;
  height: 2rem;
  color: #222;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
  border: 1px solid #e1e1e1;
  opacity: 0.5;
}
