﻿@charset "UTF-8";
/* Following media queries are based on Bootstrap 3.x breakpoints */
/* Following media queries are based on Bootstrap 3.x breakpoints */
.toggle-basket {
  margin: 3px;
  height: 44px;
  line-height: 42px;
  background-color: #fff;
  color: #333; }
  .toggle-basket:before {
    content: '\f07a';
    font-family: FontAwesome;
    font-size: 28px;
    height: 44px;
    line-height: 42px;
    cursor: pointer;
    display: inline-block;
    width: 42px;
    text-align: center;
    transform: scale(-1, 1);
    background-color: #FF8500;
    color: #fff; }
  .toggle-basket:after {
    content: 'محتویات سبد:';
    display: inline-block;
    font-size: 11px;
    position: relative;
    top: -4px;
    margin-right: 10px; }
  .toggle-basket span {
    display: inline-block;
    float: left;
    position: relative;
    margin-left: 18px;
    font-size: 20px;
    top: 13px; }
  .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;
    top: 3px;
    margin: 0;
    z-index: 1000; }

.scrolling-down .toggle-basket {
  position: fixed;
  top: 0;
  margin: 2px 0 0 0 !important;
  z-index: 1000; }
  @media screen and (max-width: 768px) {
    .scrolling-down .toggle-basket {
      width: 150px;
      right: 17px; } }

.basket-preview {
  background-color: #FF8500;
  border: 2px solid #ddd;
  bottom: 20px;
  left: 20px;
  position: fixed;
  z-index: 998;
  font-size: 13px;
  font-weight: 100;
  transform: translateX(-1000px);
  transition: transform .5s, opacity .4s;
  opacity: 0;
  overflow: hidden;
  padding: 10px;
  height: 290px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
  color: #333; }
  .basket-preview ul {
    list-style: none; }
  .basket-preview .row {
    margin: 0 0 5px 0;
    background-color: #fff;
    line-height: 30px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    border-radius: 2px;
    color: #000; }
  .basket-preview #basket-preview {
    height: 175px;
    overflow: auto; }
    .basket-preview #basket-preview > span {
      background-color: #e0dddd;
      height: 32px;
      line-height: 30px;
      border-radius: 2px;
      display: block; }
    .basket-preview #basket-preview .row {
      background-color: #fff;
      height: 44px;
      line-height: 44px; }
      .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%;
        white-space: nowrap;
        padding-right: 12px;
        padding-left: 12px; }
        @media (max-width: 1199px) {
          .basket-preview #basket-preview .row > div {
            font-size: 12px; } }
        .basket-preview #basket-preview .row > div:nth-child(2) > div {
          line-height: 16px;
          overflow: hidden;
          text-overflow: ellipsis; }
      .basket-preview #basket-preview .row a {
        color: #111;
        display: block;
        overflow: hidden;
        text-overflow: ellipsis; }
        .basket-preview #basket-preview .row a:hover, .basket-preview #basket-preview .row a:focus {
          text-decoration: none;
          color: #FF8500; }
  .basket-preview i.fa-times {
    cursor: pointer;
    font-size: 20px;
    position: relative;
    top: 2px;
    color: black; }
    .basket-preview i.fa-times:hover {
      color: #d52527; }
  .basket-preview input {
    width: 100%;
    line-height: 28px;
    text-align: center;
    border: 0 none;
    background-color: #dfdfdf;
    color: black; }
  .basket-preview > a {
    border: 2px solid #000;
    background-color: #ddd;
    bottom: 10px;
    color: #000;
    line-height: 30px;
    position: absolute;
    right: 10px;
    text-align: center;
    padding: 0 10px;
    z-index: 10; }
    .basket-preview > a:hover, .basket-preview > a:focus {
      text-decoration: none; }
  .basket-preview .basket-preview__report {
    position: absolute;
    right: 110px;
    bottom: 4px;
    bottom: 18px;
    color: #000; }
  .basket-preview .price {
    color: #d52527; }

.basket {
  font-size: 12px;
  line-height: 30px;
  font-weight: 100; }
  .basket .basket__header,
  .basket .basket__body,
  .basket .basket-wrap__empty {
    padding: 0 15px; }
    @media (max-width: 767px) {
      .basket .basket__header,
      .basket .basket__body,
      .basket .basket-wrap__empty {
        padding: 0; } }
  @media (max-width: 767px) {
    .basket .basket__header {
      display: none; } }
  .basket .basket__header [class*=col-] {
    background-color: #f0f0f0;
    font-size: 94%;
    white-space: nowrap;
    height: 30px;
    line-height: 30px; }
  .basket .basket__custom-products {
    border-top: 1px solid #ddd;
    margin-top: 4px;
    padding-top: 4px;
    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: 1px solid #ccc;
      border-left: 0 none;
      text-align: center;
      background-color: #fff; }
      .basket [class*=col-]:last-child {
        border-left: 1px solid #ccc; } }
  .basket [class*=col-] img {
    margin-top: 10px; }
  @media (max-width: 767px) {
    .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: 767px) {
    .basket .basket__body > div.row > div {
      margin: 1px 0;
      padding-right: 0;
      background-color: #f9f9f9;
      height: auto;
      line-height: 30px; }
      .basket .basket__body > 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 > div.row > div img {
        max-width: 160px;
        margin: auto; }
      .basket .basket__body > div.row > div:nth-child(1) {
        line-height: 0; }
        .basket .basket__body > div.row > div:nth-child(1):before {
          content: '';
          float: none;
          width: 0;
          border: 0 none; }
      .basket .basket__body > div.row > div:nth-child(5) {
        padding-left: 15px; }
      .basket .basket__body > div.row > div input {
        width: 50px;
        height: 30px;
        background-color: #f0f0f0; }
      .basket .basket__body > div.row > div:last-of-type {
        position: absolute;
        top: 0;
        left: 0;
        margin: 0;
        padding: 0; }
        .basket .basket__body > 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-]:first-child {
          background-color: #F0F0F0; } }
  .basket .basket__body [class*=col-] {
    overflow: hidden;
    height: 130px;
    line-height: 130px;
    border-top: 0 none; }
    .basket .basket__body [class*=col-] input {
      background-color: #f7f7f7;
      border: 0 none;
      box-shadow: 0 0 1px rgba(0, 0, 0, 0.1) inset;
      color: #3765a3;
      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 .body__price {
    padding: 0; }
  @media (min-width: 768px) {
    .basket .body__report [class*=col-] {
      border: 1px solid #ccc;
      border-top: 0 none;
      background-color: #fff;
      height: 40px;
      line-height: 40px; }
      .basket .body__report [class*=col-]:first-child {
        background-color: #f0f0f0;
        border-left: 0 none; } }
  @media (max-width: 767px) {
    .basket .body__report > .row {
      margin-bottom: 5px;
      margin-top: 0; }
      .basket .body__report > .row > div {
        display: inline-block; }
        .basket .body__report > .row > div:first-child {
          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 {
    position: absolute;
    width: 34px;
    height: 34px;
    cursor: pointer;
    top: 50%;
    margin: -17px 0 0 -17px;
    left: 50%; }
    .basket .basket__delete-button:before, .basket .basket__delete-button:after {
      position: absolute;
      top: 50%;
      left: 0px;
      content: '';
      display: block;
      width: 34px;
      height: 2px;
      background-color: #d52527; }
    .basket .basket__delete-button:before {
      transform: rotate(-45deg); }
    .basket .basket__delete-button:after {
      transform: rotate(45deg); }

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; }

.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; }
