﻿@charset "UTF-8";
.toggle-basket {
  background-color: #1e713b;
  color: #fff;
  float: left;
  cursor: pointer;
  padding-left: 16px;
  position: fixed;
  padding-right: 20px;
  z-index: 99;
  bottom: 35px;
  left: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  line-height: 60px;
}
.toggle-basket:before {
  content: "\f07a";
  font-size: 22px;
  transform: rotateY(180deg);
  color: #fff;
  font-family: "FontAwesome";
}
.toggle-basket span {
  /* display: inline-block;*/
  position: relative;
  font-size: 14px;
  top: -6px;
  position: absolute;
  left: 9px;
  background-color: #f00;
  line-height: 12px;
  padding: 4px 6px;
  border-radius: 100%;
  color: #fff;
}
.toggle-basket.active + div {
  transform: translateX(0);
  opacity: 1;
  background-color: rgba(0, 0, 0, 0.6);
  transition: transform 0.5s, opacity 0.4s, -webkit-transform 0.5s, background-color 0.2s 400ms;
}
.toggle-basket.active + div li {
  position: relative;
}
.toggle-basket.sticky {
  position: fixed;
  top: 3px;
  margin: 0;
  z-index: 1000;
}

.noscroll {
  overflow: hidden;
}

.basket-preview {
  background-color: #fff;
  bottom: 0px;
  left: 0px;
  position: fixed;
  z-index: 998;
  font-size: 13px;
  font-weight: 100;
  -webkit-transform: translateX(-100%);
  transform: translateX(-100%);
  -webkit-transition: opacity 0.4s, -webkit-transform 0.5s;
  transition: opacity 0.4s, -webkit-transform 0.5s;
  transition: transform 0.5s, opacity 0.4s;
  transition: transform 0.5s, opacity 0.4s, -webkit-transform 0.5s, background-color 0;
  opacity: 0;
  overflow: hidden;
  padding: 15px;
  height: 290px;
  color: #333;
  height: 100%;
  padding-bottom: 0px;
  border-bottom: unset;
  line-height: normal;
  padding: 0;
  background-color: rgba(0, 0, 0, 0);
  display: flex;
  justify-content: flex-end;
}
.basket-preview__wrapper {
  background: white;
  padding: 10px;
  position: relative;
}
.basket-preview .basket__extra-title {
  display: inherit;
  color: #479c1b;
}
.basket-preview:before {
  background-color: rgba(0, 0, 0, 0.4);
  width: 100%;
  height: 100%;
  position: fixed;
  z-index: 10;
  display: none;
  top: 0;
}
.basket-preview i.fa-plus, .basket-preview i.fa-minus {
  color: #919191;
  display: block;
  height: 100%;
  padding: 7px 3px;
  cursor: pointer;
  font-weight: normal;
  font-size: 12px;
}
.basket-preview i.fa-plus:before, .basket-preview i.fa-minus:before {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  height: 100%;
}
.basket-preview ul {
  list-style: none;
}
.basket-preview #basket-preview {
  height: 77vh;
  overflow: auto;
  direction: ltr;
}
@media (max-width: 992px) {
  .basket-preview #basket-preview {
    padding-right: 9px;
  }
}
@media (max-width: 425px) {
  .basket-preview #basket-preview {
    padding-right: 0px;
  }
}
.basket-preview #basket-preview > div {
  direction: rtl;
}
.basket-preview #basket-preview::-webkit-scrollbar {
  width: 6px;
}
.basket-preview #basket-preview::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  width: 3px;
}
.basket-preview #basket-preview::-webkit-scrollbar-thumb {
  background-color: #6a6a6a;
}
.basket-preview #basket-preview .checkout-btn {
  border: 2px solid #fff;
  background-color: #08aa00;
  bottom: 10px;
  color: #fff;
  line-height: 30px;
  text-align: center;
  padding: 0 10px;
  z-index: 10;
  border-radius: 4px;
}
.basket-preview #basket-preview .checkout-btn:hover, .basket-preview #basket-preview .checkout-btn:focus {
  text-decoration: none;
  background-color: #079100;
}
.basket-preview #basket-preview > span {
  background-color: #e0dddd;
  height: 32px;
  line-height: 30px;
  border-radius: 2px;
  display: block;
}
.basket-preview #basket-preview .row {
  min-height: 44px;
  /*line-height: 44px;*/
  padding: 2px 0;
  padding-bottom: 6px;
  transition: all 0.3s ease-in-out;
}
.basket-preview #basket-preview .row:hover, .basket-preview #basket-preview .row:focus {
  background-color: #f7f7f7;
}
.basket-preview #basket-preview .row .basket__pre-order-price {
  color: #777;
  font-family: tahoma;
  font-size: 10px;
}
.basket-preview #basket-preview .row .basket__custom-products {
  color: #555;
  font-size: 11px;
  font-family: Tahoma;
  display: block;
}
.basket-preview #basket-preview .row > div {
  height: 100%;
  padding-right: 0px;
  z-index: 10;
  font-size: 12px;
}
.basket-preview #basket-preview .row > div:nth-child(1) img {
  width: 77px;
  height: 77px;
}
.basket-preview #basket-preview .row > div:nth-child(2) {
  z-index: 0;
}
.basket-preview #basket-preview .row > div:nth-child(2) > div {
  line-height: 16px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.basket-preview #basket-preview .row > div:nth-child(2) > div div.min-max-btn > div {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #d3d3d3;
  border-radius: 24px;
  padding: 0px 5px;
  width: 67px;
}
.basket-preview #basket-preview .row > div:nth-child(2) > div div.price {
  color: #000;
  font-weight: bold;
  font-size: 15px;
  text-overflow: unset;
  margin-top: 5px;
  padding: 0px;
  padding-right: 0px;
  text-align: right;
}
@media (max-width: 992px) {
  .basket-preview #basket-preview .row > div:nth-child(2) > div div.price {
    font-size: 14px;
  }
}
.basket-preview #basket-preview .row > div:nth-child(2) > div div.price span {
  color: #8c8c8c;
  font-size: 11px;
  font-weight: normal;
}
.basket-preview #basket-preview .row a {
  color: #a6a6a6;
  display: block;
  overflow: hidden;
  text-align: right;
  font-size: 12px;
  line-height: 20px;
  min-height: 45px;
}
.basket-preview #basket-preview .row a:hover, .basket-preview #basket-preview .row a:focus {
  text-decoration: none;
}
.basket-preview #basket-preview > .row {
  cursor: pointer;
  padding-top: 11px;
  margin: 0;
}
.basket-preview #basket-preview > .row > div:nth-child(2) {
  padding-right: 11px;
}
@media (max-width: 425px) {
  .basket-preview #basket-preview > .row > div:nth-child(2) {
    padding-right: 3px;
  }
}
.basket-preview #basket-preview > .row:last-child {
  background-color: #1b1b1b;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 7px 15px;
  margin-bottom: 0px;
  height: 10vh;
}
.basket-preview #basket-preview > .row:last-child a {
  color: #fff;
  display: block;
  overflow: hidden;
  text-align: right;
  font-size: 14px;
  line-height: 20px;
  border: unset;
  padding: 15px 18px;
  border-radius: 10px;
}
@media (max-width: 992px) {
  .basket-preview #basket-preview > .row:last-child a {
    font-size: 13px;
    line-height: 23px;
    padding: 8px 13px;
    border-radius: 10px;
    min-height: 24px;
  }
}
@media (max-width: 425px) {
  .basket-preview #basket-preview > .row:last-child a {
    font-size: 11px;
    padding: 8px;
  }
}
.basket-preview #basket-preview > .row:last-child a:hover, .basket-preview #basket-preview > .row:last-child a:focus {
  text-decoration: none;
  background-color: #15bd0d;
}
.basket-preview #basket-preview > .row:last-child > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
}
.basket-preview #basket-preview > .row:last-child > div .basket-items-count {
  color: #6d6d6d;
  font-size: 13px;
  margin-bottom: 4px;
}
.basket-preview #basket-preview > .row:last-child > div .basket-items-count .js__basket__total-count {
  display: inline-block;
}
@media (max-width: 992px) {
  .basket-preview #basket-preview > .row:last-child > div .basket-items-count {
    font-size: 13px;
    margin-bottom: 0px;
  }
}
.basket-preview div.btn-delete:before {
  content: "\e204";
  cursor: pointer;
  font-family: "IconFont";
  font-size: 20px;
  position: relative;
  top: 5px;
  color: #f00;
}
.basket-preview div.btn-delete:hover {
  color: #d52527;
}
.basket-preview input {
  width: 25px;
  line-height: 28px;
  text-align: center;
  border: 0 none;
  color: black;
  height: 100%;
  font-size: 13px;
  font-weight: bold;
}
.basket-preview .basket-preview__report {
  color: #fff;
  font-size: 14px;
}
@media (max-width: 992px) {
  .basket-preview .basket-preview__report {
    font-size: 14px;
  }
}
.basket-preview .price {
  color: #d52527;
}
.basket-preview .basket-preview__header {
  border-bottom: 1px solid #ddd;
  margin: 0 0 15px;
}
.basket-preview .basket-preview__header > div:first-child {
  border-bottom: 1px solid #1e713b;
  position: relative;
  top: 1px;
  padding: 0px 10px;
  padding-bottom: 12px;
  font-size: 14px;
  font-weight: 500;
}
.basket-preview .basket-preview__header > div:last-child i {
  position: absolute;
  left: 10px;
  font-style: normal;
  cursor: pointer;
  background-color: #292929;
  color: #fff;
  padding: 7px 13px 7px;
  border-radius: 20px;
  top: -5px;
}
@media (max-width: 992px) {
  .basket-preview .basket-preview__header > div:last-child i {
    top: -35px;
    left: 0px;
  }
}
.basket-preview .basket-preview__header > div:last-child i:before {
  content: "بازگشت";
  font-family: IRANYekanX;
}
.basket-preview .basket-preview__header > div:last-child i:after {
  content: "\e0c3";
  position: relative;
  font-family: "IconFont";
  font-size: 18px;
  line-height: 10px;
  top: 5px;
  left: -4px;
}

.basket {
  width: 100%;
  font-size: 12px;
  line-height: 30px;
  font-weight: 100;
  background-color: #fff;
  padding: 10px 35px;
  border-radius: 6px;
}
@media (max-width: 768px) {
  .basket .basket__header,
  .basket .basket__body,
  .basket .basket-wrap__empty {
    padding: 0;
  }
}
.basket .basket__header {
  border-bottom: 1px solid #787A87;
}
@media (max-width: 768px) {
  .basket .basket__header {
    display: none;
  }
}
.basket .basket__header [class*=col-] {
  font-size: 94%;
  white-space: nowrap;
  height: 30px;
  line-height: 30px;
  color: #787A87;
}
.basket .basket__custom-products {
  color: #A8A8A8;
  text-align: right;
}
.basket .basket__custom-products span {
  display: inline-block;
}
.basket .basket__custom-products span:nth-child(2n+1) {
  padding-left: 4px;
}
.basket .basket__custom-products i {
  font-size: 14px !important;
}
.basket .basket__pre-order-price {
  color: #777;
}
.basket .basket__body__has-child > div,
.basket .basket__body__has-child > a {
  line-height: 22px;
  width: 100%;
}
.basket .basket__body__has-child > a {
  display: block;
  color: #111;
}
.basket .basket__body__has-child.basket__body__price span {
  color: #858585;
  font-size: 11px;
  margin-right: 2px;
}
@media (min-width: 768px) {
  .basket [class*=col-] {
    border-left: 0 none;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .basket [class*=col-].body__title, .basket [class*=col-].h__title {
    justify-content: flex-start;
  }
}
@media (max-width: 768px) {
  .basket .basket__body .row {
    border: 1px solid #ddd;
    margin: 10px;
    padding: 0;
    position: relative;
    background-color: #fff;
  }
}
.basket .basket__body > span {
  border: 1px dashed #ccc;
  height: 32px;
  line-height: 30px;
  border-radius: 2px;
  display: block;
  margin-top: 15px;
  color: #f90;
}
@media (max-width: 768px) {
  .basket .basket__body .basket__item > div.row > div {
    margin: 1px 0;
    padding-right: 0;
    background-color: #f9f9f9;
    height: auto;
    line-height: 30px;
  }
  .basket .basket__body .basket__item > div.row > div:before {
    background-color: #f0f0f0;
    content: attr(data-title);
    float: right;
    height: 30px;
    margin-left: 10px;
    text-indent: 6px;
    width: 80px;
  }
  .basket .basket__body .basket__item > div.row > div img {
    max-width: 160px;
    margin: auto;
  }
  .basket .basket__body .basket__item > div.row > div:nth-child(1) {
    line-height: 0;
  }
  .basket .basket__body .basket__item > div.row > div:nth-child(1):before {
    content: "";
    float: none;
    width: 0;
    border: 0 none;
  }
  .basket .basket__body .basket__item > div.row > div:nth-child(5) {
    padding-left: 15px;
  }
  .basket .basket__body .basket__item > div.row > div input {
    width: 50px;
    height: 30px;
  }
  .basket .basket__body .basket__item > div.row > div:last-of-type {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    display: none;
  }
  .basket .basket__body .basket__item > div.row > div:last-of-type:before {
    width: 44px;
    margin: 0;
    padding: 0;
    background-color: transparent;
  }
  .basket .basket__body .body__report .row {
    height: 32px;
  }
  .basket .basket__body .body__report .row > [class*=col-] {
    height: 30px;
    line-height: 30px;
  }
  .basket .basket__body .body__report .row > [class*=col-]:nth-child(2) {
    background-color: #F0F0F0;
  }
}
.basket .basket__body [class*=col-] {
  overflow: hidden;
  height: 120px;
  border-top: 0 none;
}
.basket .basket__body [class*=col-].body__img {
  margin: 10px 0;
}
.basket .basket__body [class*=col-] input {
  border: 0 none;
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.1) inset;
  height: 100%;
  width: 100%;
}
.basket .basket__body [class*=col-] i {
  font-size: 22px;
}
.basket .basket__body [class*=col-] i.fa-trash {
  color: #d52527;
  cursor: pointer;
}
.basket .basket__body [class*=col-] i.fa-plus, .basket .basket__body [class*=col-] i.fa-minus {
  font-size: 10px;
  cursor: pointer;
}
.basket .basket__body .body__price {
  padding: 0;
  font-weight: bold;
}
.basket .basket__body .body__title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.basket .basket__body .body__title a {
  color: #333;
  font-weight: bold;
}
.basket .basket__item {
  border-bottom: 1px solid #ECECEC;
}
@media (min-width: 768px) {
  .basket .body__report {
    padding: 15px 0;
  }
  .basket .body__report [class*=col-] {
    height: 32px;
    line-height: 18px;
    justify-content: flex-end;
    font-weight: bold;
  }
}
@media (max-width: 768px) {
  .basket .body__report > .row {
    margin-bottom: 5px;
    margin-top: 0;
  }
  .basket .body__report > .row > div {
    display: inline-block;
  }
  .basket .body__report > .row > div:nth-child(2) {
    width: 110px;
    padding: 0 10px 0 0;
  }
}
.basket .basket-wrap__empty {
  border: 1px solid #ccc;
  height: 60px;
  line-height: 60px;
  margin: 0 -15px;
}
.basket .fa-times {
  color: #d52527;
}
.basket .fa-check {
  color: #008000;
}
.basket .basket__delete-button {
  cursor: pointer;
  color: #787A87;
}
.basket .basket__action {
  display: flex;
  padding: 10px;
  border: 1px solid #cbcbcb;
  border-radius: 6px;
  align-items: center;
  width: 85%;
  font-weight: bold;
}
@media (max-width: 768px) {
  .basket .basket__action {
    display: inline-block;
    padding: 0 5px;
    width: unset;
  }
}
@media (max-width: 990px) {
  .basket .basket__action {
    padding: 7px 5px;
    width: 100%;
  }
}
@media (max-width: 1200x) {
  .basket .basket__action {
    padding: 7px 5px;
    width: 100%;
  }
}

body.basket__wait .js__btn-buy {
  position: relative;
  background-color: #fff !important;
  border-color: transparent !important;
  cursor: wait !important;
}
body.basket__wait .js__btn-buy:after {
  content: "" !important;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border-top: 2px solid #999;
  border-right: 2px solid transparent;
  animation: loading-spin 0.6s linear infinite;
  display: inline-block;
  position: absolute;
  bottom: 6px;
  left: 50%;
  top: 0 !important;
  margin-left: -10px;
}

.submitted-order-info .basket .basket__body > div.row > div:last-of-type {
  position: relative;
  top: auto;
  left: auto;
  margin: 0;
  padding: 0;
}
.submitted-order-info .basket .basket__body > div.row > div:last-of-type:before {
  background-color: #f0f0f0;
  margin-left: 10px;
  text-indent: 6px;
  width: 80px;
}
@media (max-width: 768px) {
  .submitted-order-info .panel-body {
    padding-right: 0;
    padding-left: 0;
  }
}

@media (max-width: 1200px) {
  #Body .toggle-basket:after {
    display: none;
  }
}
.basket__fetching {
  position: relative;
  background-color: #fff !important;
  border-color: transparent !important;
  cursor: wait !important;
}
.basket__fetching:after {
  content: "" !important;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border-top: 2px solid #999;
  border-right: 2px solid transparent;
  animation: loading-spin 0.6s linear infinite;
  display: inline-block;
  position: absolute;
  bottom: 6px;
  left: 50%;
  top: 0 !important;
  margin-left: -10px;
}
