﻿@charset "UTF-8";
/* Following media queries are based on Bootstrap 3.x breakpoints */
.basket-preview {
  background-color: #f7f7f7;
  bottom: 20px;
  left: 20px;
  position: fixed;
  z-index: 990;
  overflow: hidden;
  padding: 10px;
  height: 290px;
  -webkit-box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
  font-size: 13px;
  font-weight: normal;
  -webkit-transform: translateX(-1000px);
  transform: translateX(-1000px);
  -webkit-transition: opacity .4s,-webkit-transform .5s;
  transition: opacity .4s,-webkit-transform .5s;
  transition: transform .5s,opacity .4s;
  transition: transform .5s,opacity .4s,-webkit-transform .5s;
  opacity: 0;
  border: 2px solid #0060b7; }
  .basket-preview ul {
    list-style: none;
    padding: 0;
    margin: 0; }
  .basket-preview a {
    color: inherit; }
  .basket-preview .basket-preview__row {
    background-color: #fff;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    padding: 5px 0; }
  .basket-preview .basket-preview__header {
    margin-bottom: 10px; }
    .basket-preview .basket-preview__header > div {
      background-color: #0060b7;
      color: #fff; }
      .basket-preview .basket-preview__header > div > div:nth-child(1) {
        flex-basis: 80px;
        margin-right: 15px;
        flex-shrink: 0; }
      .basket-preview .basket-preview__header > div > div:nth-child(2) {
        margin: 0 10px; }
      .basket-preview .basket-preview__header > div > div:nth-child(3) {
        flex-basis: 110px;
        margin-right: auto;
        flex-shrink: 0;
        padding-right: 10px; }
      .basket-preview .basket-preview__header > div > div:nth-child(4) {
        flex-basis: 40px; }
  .basket-preview .basket-preview__body {
    height: 180px;
    overflow: auto; }
    .basket-preview .basket-preview__body .basket-preview__row {
      margin-bottom: 5px; }
      .basket-preview .basket-preview__body .basket-preview__row:last-child {
        margin-bottom: 0; }
      .basket-preview .basket-preview__body .basket-preview__row > div {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center; }
        .basket-preview .basket-preview__body .basket-preview__row > div:nth-child(1) {
          flex-basis: 80px;
          margin-right: 5px;
          height: 26px;
          flex-shrink: 0; }
        .basket-preview .basket-preview__body .basket-preview__row > div:nth-child(2) {
          overflow: hidden;
          margin: 0 20px 0 10px; }
        .basket-preview .basket-preview__body .basket-preview__row > div:nth-child(3) {
          flex-basis: 110px;
          margin-right: auto;
          flex-shrink: 0; }
        .basket-preview .basket-preview__body .basket-preview__row > div:nth-child(4) {
          flex-basis: 40px;
          -webkit-box-pack: center;
          -ms-flex-pack: center;
          justify-content: center; }
    .basket-preview .basket-preview__body input {
      width: 100%;
      height: 100%;
      min-width: 0;
      border: 1px solid #303030;
      text-align: center;
      background-color: #303030;
      color: #fff; }
    .basket-preview .basket-preview__body .basket__extra-title {
      display: block;
      font-family: tahoma;
      font-size: .86em;
      color: #555; }
    .basket-preview .basket-preview__body > span {
      background-color: #f90;
      width: 100%;
      display: block;
      padding: 6px 0 8px; }
  .basket-preview i.fa-times {
    font-size: 1.4em;
    cursor: pointer; }
    .basket-preview i.fa-times:hover {
      color: red; }
  .basket-preview i.fa-plus {
    background-color: #3f3f3f;
    color: #eee;
    display: block;
    height: 100%;
    padding: 0 6px;
    cursor: pointer; }
    .basket-preview i.fa-plus:before {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-align: center;
      -ms-flex-align: center;
      align-items: center;
      height: 100%; }
    .basket-preview i.fa-plus:hover {
      background-color: #474747; }
    .basket-preview i.fa-plus:active {
      background-color: #373737; }
  .basket-preview i.fa-minus {
    background-color: #3f3f3f;
    color: #eee;
    display: block;
    height: 100%;
    padding: 0 6px;
    cursor: pointer; }
    .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 i.fa-minus:hover {
      background-color: #474747; }
    .basket-preview i.fa-minus:active {
      background-color: #373737; }
  .basket-preview .basket-preview__report {
    position: absolute;
    right: 10px;
    bottom: 10px;
    color: #111; }
    .basket-preview .basket-preview__report a {
      display: inline-block;
      background-color: #0060b7;
      padding: 4px 15px 8px;
      margin-left: 10px;
      color: #fff; }
      .basket-preview .basket-preview__report a:hover {
        background-color: #00539e;
        text-decoration: none; }
      .basket-preview .basket-preview__report a:focus {
        background-color: #00539e;
        text-decoration: none; }
  .basket-preview > i {
    position: absolute;
    left: 10px;
    bottom: 10px;
    font-style: normal;
    cursor: pointer;
    background-color: #0060b7;
    color: #fff;
    padding: 4px 15px 8px; }
    .basket-preview > i:hover {
      background-color: #00539e; }
    .basket-preview > i:focus {
      background-color: #00539e; }
    .basket-preview > i:before {
      content: 'بستن'; }

@media (max-width: 479px) {
  .basket-preview {
    left: 0;
    bottom: 10px; } }

@media (max-width: 767px) {
  .basket-preview .basket-preview__header > div > div:nth-child(3) {
    display: none; }
  .basket-preview .basket-preview__body {
    height: 160px; }
    .basket-preview .basket-preview__body .basket-preview__row > div:nth-child(3) {
      display: none; }
    .basket-preview .basket-preview__body .basket-preview__row > div:nth-child(4) {
      margin-right: auto; }
  .basket-preview .basket-preview__report span {
    display: block; } }

.toggle-basket {
  margin: 24px 0 0;
  height: 36px;
  line-height: 30px;
  background-color: #0060b7;
  color: #333;
  border-radius: 5px;
  overflow: hidden; }
  .toggle-basket:before {
    content: '\f07a';
    font-family: FontAwesome;
    font-size: 23px;
    height: 36px;
    line-height: 35px;
    cursor: pointer;
    display: inline-block;
    width: 42px;
    text-align: center;
    transform: scale(-1, 1);
    background-color: #1975ca;
    color: #fff;
    position: relative;
    top: 0px;
    right: -1px; }
  .toggle-basket:after {
    content: 'سبد خرید';
    display: inline-block;
    font-size: 14px;
    position: relative;
    top: -5px;
    margin-right: 10px;
    color: white; }
  .toggle-basket span {
    display: inline-block;
    float: left;
    position: relative;
    margin-left: 13px;
    font-size: 13px;
    top: 6px;
    background-color: #4681d4;
    border-radius: 50%;
    height: 23px;
    width: 21px;
    text-align: center;
    line-height: 26px;
    color: white; }
  .toggle-basket.active:before {
    content: '\f00d'; }
  .toggle-basket.active + div {
    transform: translateX(0);
    opacity: 1; }
    .toggle-basket.active + div li {
      position: relative; }
  .toggle-basket.sticky {
    position: fixed;
    z-index: 1000;
    margin: 4px;
    top: 0; }

.basket {
  width: 100%;
  font-size: 12px;
  line-height: 30px;
  font-weight: 100;
  background-color: #fff;
  padding: 10px 35px;
  border-radius: 6px; }
  @media (max-width: 479px) {
    .basket .basket__header,
    .basket .basket__body,
    .basket .basket-wrap__empty {
      padding: 0; } }
  .basket .basket__header {
    border-bottom: 1px solid #787A87; }
    @media (max-width: 479px) {
      .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: 479px) {
    .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: 479px) {
    .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: 479px) {
    .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: 479px) {
      .basket .basket__action {
        display: inline-block;
        padding: 0 5px;
        width: unset; } }
    @media (max-width: 767px) {
      .basket .basket__action {
        padding: 7px 5px;
        width: 100%; } }
    @media (max-width: 991px) {
      .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 .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: 767px) {
  .submitted-order-info .panel-body {
    padding-right: 0;
    padding-left: 0; } }

#Body .wi-notify__box {
  top: 50px; }

@media (max-width: 768px) {
  .basket__custom-products {
    margin-right: 30px; } }

.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 .6s linear infinite;
    display: inline-block;
    position: absolute;
    bottom: 6px;
    left: 50%;
    top: 0 !important;
    margin-left: -10px; }
