﻿/**********************OnlyActiveAndDiscounted************************/
.only-active-check-label::after,
.only-dis-check-label::after {
  content: '';
  position: absolute;
  width: 1.4rem;
  height: 1.4rem;
  transition: all .2s;
  border-radius: 50%;
  background: var(--White);
  top: 0.2rem;
  left: 0.1rem;
}

.only-active-check-label::before,
.only-dis-check-label::before {
  content: '';
  position: absolute;
  left: -0.3rem;
  top: 0;
  border-radius: calc(var(--b-radius) * 4);
  transition: background-color .2s;
  width: 3.5rem;
  height: 1.8rem;
  background: #d1d1d6;
  display: inline-block;
  transition: all 0.4s;
  -webkit-border-radius: calc(var(--b-radius) * 4);
  -moz-border-radius: calc(var(--b-radius) * 4);
  -ms-border-radius: calc(var(--b-radius) * 4);
  -o-border-radius: calc(var(--b-radius) * 4);
}

.only-active-check:checked+label::after,
.only-dis-check:checked+label::after {
  left: 1.5rem;
  border: 0.1em solid var(--accent-color);
}

.only-active-check:checked+label::before,
.only-dis-check:checked+label::before {
  background-color: var(--GBlue);
}



.productstabinfo .SideBar.active {
  right: 0
}

.productstabinfo :where(select, input) {
  border-color: transparent;

}

.pagination {
  list-style: none;
}

.pagination .page-item {
  padding: 0.5rem 1rem;
  border-radius: 0.6rem;
  background: var(--BorderLgrey);
  margin: 0 0.2em;

}

.pagination .page-item:hover {
  background: var(--accent-color2);

}

.pagination .page-item:hover .page-link {
  color: var(--White) !important;
}

.pagination .page-item .page-link {
  color: var(--MGrey)
}

.pagination .page-item.active {
  background: var(--accent-color2);
  color: var(--Black);

}

.pagination .page-item.active .page-link {
  color: var(--Black);
}


.SeoDescription {
  max-height: 30rem;
}

.check-moding select {
  width: 100%;
}

@media(min-width:768px) {
  .p-lg-relative {
    position: relative;
  }
}

@media screen and (min-width:960px) {
  .col-lg-25 {
    flex: 0 0 auto;
    width: 20%;
  }
}

.ShopFilter ul.fancytree-container {
  background: unset;
  border: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.irs--round .irs-bar {
  background: var(--accent-color);
}

.irs--round .irs-handle {
  border: 0.5em solid var(--White);
  background: var(--accent-color);
  cursor: pointer;
}

.irs--round .irs-handle:hover {
  border: 0.5em solid var(--White);
  background: var(--accent-color);
}

.Price .offer {
  background: #ED384E;
  line-height: 1.5;
  border-radius: calc(var(--b-radius)*3);
  padding: 0 0.7rem;
}

.h-50 {
  height: 50%;
}

.ShopFilter .FilterHead strong:before {
  /* content: ""; */
  width: 0.8rem;
  height: 0.8rem;
  position: absolute;
  right: 0.5rem;
  top: 1.5rem;
  transform: rotate(45deg);
  border: 0.1em solid var(--accent-color);
  border-top: none;
  border-right: none;
}

.offer-Price-color {
  color: #cccccc !important;
}


.ui-fancytree .fancytree-icon {
  display: none;
}

.ButtonLinkDetail {
  border-radius: var(--b-radius);
}

.ButtonLinkDetail:hover {
  color: var(--accent-color3) !important;
}

.ItemInnerProduct img {
  border-radius: var(--b-radius);
}

.ItemPriceProduct {
  right: 0;
  left: 0;
  top: 0;

}



.ButtonLinkDetail svg {
  max-width: 1.2rem;
  max-height: 1.14rem;
}

.SideBarListProduct {
  border-radius: var(--b-radius);
}

.ItemSortProducts svg {
  max-width: 1.14rem;
}

.SideBarListProduct span {
  color: var(--MGrey) !important;
  font-weight: normal;

}

.ItemRateProduct svg {
  max-width: 1.01rem;
}

.BoxProductList .pagination {
  display: flex;
  align-items: center;
  margin-top: 3rem;
  gap: 0.2rem
}

@media(max-width:768px) {
  /* .productstabinfo .SideBar {
    top: 0;
    right: -100%;
    background: var(--White);
    height: 100vh;
    transition: all ease-in-out 0.4s;
    display: block;
    padding: 0;
    z-index: 22;
  } */

  .productstabinfo .SideBar.active {
    right: 0
  }

  .productstabinfo .SideBar:after {
    content: '';
    position: fixed;
    height: 100vh;
    width: 100vw;
    background: rgba(0, 0, 0, 0.2);
    z-index: -1;
    display: block;
    right: 0;
    top: 0;
    backdrop-filter: blur(3px);
    opacity: 0;
    transition: all ease-in-out 0.5s;
    visibility: hidden;
  }

  .productstabinfo .SideBar.active:after {
    opacity: 1;
    visibility: visible;
  }

  /* .productstabinfo .SideBar #listfilters {
    padding-top: 10vh;
    position: relative;
    z-index: 22222222;
    background: var(--White);
    padding: 10vh 0.5rem;
    height: 100vh;
    width: 100%;
    overflow: auto;
  } */

  .CloseFilter-BTN {
    left: -3rem;
    top: 15vh;
    writing-mode: vertical-rl;
    border-radius: 0.5rem 0 0 0.5rem;
  }

}

/* behizakList  */
.behizak-productlist {

  .TopbannerImage {
    border-radius: 0.8rem;
  }

  .FilterHead {
    display: flex;
    align-items: center;

    strong {
      white-space: nowrap;
    }
  }

  #discountbox {
    .FilterBody {
      width: 40%;
    }
  }

  .FilterBody {

    .form-builder-input {
      background-color: transparent;
    }
  }

  .sortorder {
    border: 0.1rem solid var(--CustomColor8);
  }

  .ItemInnerProduct {
    overflow: hidden;
    border: 1px solid var(--CustomColor8);
    border-radius: 0.66rem;
  }

}

.ItemPriceProduct {

  /* flex-direction: row-reverse;
        display: flex;
        justify-content: space-between; */
  svg {
    fill: var(--CustomColor10);
    width: 1.5rem;
  }
}

.circleBox {
  img {
    width: 4.26rem;
    height: 4.26rem;
    border-radius: 50%;
  }

  span {
    border-radius: 100%;
    width: 5.26rem;
    height: 5.26rem;
  }
}


.pagination {
  direction: ltr;

  .page-item {}
}

.pagination-sm {
  direction: ltr;
}




}


.CategoriesDescription {
  direction: ltr;

  * {
    direction: rtl;
  }
}

.CategoriesDescription {
  direction: ltr;

  * {
    direction: rtl;
  }
}

.CategoriesDescription {
  height: 20rem;
  overflow-y: scroll;

}

.CategoriesDescription::-webkit-scrollbar-track {
  border-radius: 1rem;
  border: 0.1rem solid #E7EEEE;
}

.CategoriesDescription::-webkit-scrollbar {
  width: 0.6rem;

}

.CategoriesDescription::-webkit-scrollbar-thumb {
  border-radius: 0.5rem;
  background-color: var(--CustomColor2);
}




/**********************OnlyActiveAndDiscounted************************/
.form-switch {
  position: relative;
  padding-left: 2.6rem;



  .only-active-check-label::after,
  .form-check-label::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    transition: all .2s;
    border-radius: 50%;
    background: var(--White);
    top: calc(50% - 6px);
    left: 2px;
  }

  .only-active-check-label::before,
  .form-check-label::before {
    content: '';
    position: absolute;
    left: 0rem;
    top: calc(50% - 8px);
    border-radius: calc(var(--b-radius) * 4);
    transition: background-color .2s;
    width: 31px;
    height: 16px;
    background: #d1d1d6;
    display: inline-block;
    transition: all 0.4s;
    -webkit-border-radius: calc(var(--b-radius) * 4);
    -moz-border-radius: calc(var(--b-radius) * 4);
    -ms-border-radius: calc(var(--b-radius) * 4);
    -o-border-radius: calc(var(--b-radius) * 4);
  }

  .form-check-input {
    visibility: hidden;
    position: absolute;
  }

  .form-check-input:checked+label::after,
  .only-dis-check:checked+label::after {
    left: 17px;
    background: #fff;
  }

  .form-check-input:checked+label::before,
  .only-dis-check:checked+label::before {
    background-color: var(--accent-color);
  }
}


@supports (-webkit-appearance: none) or (-moz-appearance: none) {
  .form-check {
    display: flex;
    align-items: center;
    margin-bottom: 0.6rem;

    &:last-child {
      margin-bottom: 0;
    }
  }

  .form-check input[type=checkbox] {
    --active: var(--White);
    --active: var(--success-2);
    --focus: 2px rgba(39, 94, 254, .3);
    --border: #BBC1E1;
    --border-hover: var(--White);
    --border-hover: var(--success-2);
    --disabled: #F6F8FF;
    --disabled-inner: #E1E6F9;
    -webkit-appearance: none;
    -moz-appearance: none;
    height: 21px;
    outline: none;
    display: inline-block;
    vertical-align: top;
    position: relative;
    margin: 0;
    cursor: pointer;
    border: 1px solid var(--bc, var(--border));
    background: var(--b, var(--background));
    transition: background 0.3s, border-color 0.3s, box-shadow 0.2s;
  }

  .form-check input[type=checkbox]:after {
    content: "";
    display: block;
    left: 0;
    top: 0;
    position: absolute;
    transition: transform var(--d-t, 0.3s) var(--d-t-e, ease), opacity var(--d-o, 0.2s);
  }

  .form-check input[type=checkbox]:checked {
    --b: var(--active);
    --bc: var(--active);
    --d-o: .3s;
    --d-t: .6s;
    --d-t-e: cubic-bezier(.2, .85, .32, 1.2);
  }

  .form-check input[type=checkbox]:disabled {
    --b: var(--disabled);
    cursor: not-allowed;
    opacity: 0.9;
  }

  .form-check input[type=checkbox]:disabled:checked {
    --b: var(--disabled-inner);
    --bc: var(--border);
  }

  .form-check input[type=checkbox]:disabled+label {
    cursor: not-allowed;
  }

  .form-check input[type=checkbox]:hover:not(:checked):not(:disabled) {
    --bc: var(--border-hover);
  }

  .form-check input[type=checkbox]:focus {
    box-shadow: 0 0 0 var(--focus);
  }

  .form-check input[type=checkbox]:not([role=switch]) {
    width: 1.07rem;
    height: 1.07rem;
  }

  .form-check input[type=checkbox]:not([role=switch]):after {
    opacity: var(--o, 0);
  }

  .form-check input[type=checkbox]:not([role=switch]):checked {
    --o: 1;
  }

  .form-check input[type=checkbox]+label {
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
    margin-right: .5rem;
  }

  .form-check input[type=checkbox]:not([role=switch]) {
    border-radius: 2rem;
  }

  .form-check input[type=checkbox]:not([role=switch]):after {
    width: 5px;
    height: 9px;
    border: 1px solid var(--White);
    border-top: 0;
    border-left: 0;
    left: 5px;
    top: 2px;
    transform: rotate(var(--r, 20deg));
  }

  .form-check input[type=checkbox]:not([role=switch]):checked {
    --r: 43deg;
  }
}

.form-check * {
  box-sizing: inherit;
}

.form-check *:before,
.form-check *:after {
  box-sizing: inherit;
}

@media screen and (max-width: 576px) {
  .ItemInnerProduct {
    .boximage {
      width: 110px;

    }
  }
}


.ItemInnerProduct {
  .boximage {
    height: 100%;
    display: block;
    aspect-ratio: 1;

    img {
      width: 100%;
      height: 100%;
      display: block;
      aspect-ratio: 1;
      object-fit: cover;
    }

    .offer {
      left: 50%;
      bottom: 0;
      transform: translate(-50%, -50%);

    }
  }
}

@media(max-width:768px) {
  .dec {
    flex: 1;
  }

  /* .ItemDescProduct {
    p {
      display: block;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      width: 200px;
    }
  } */
  .behizak-productlist .ItemInnerProduct {
    border: none;
    border-bottom: 1px solid var(--CustomColor8);
    border-radius: 0;
  }
}