﻿@charset "UTF-8";
/* Following media queries are based on Bootstrap 3.x breakpoints */
/* @extend */
.farashop__checkout {
  position: relative; }
  .farashop__checkout button,
  .farashop__checkout input[type=submit] {
    background-color: #787a87;
    border: 1px solid #787a87;
    border-radius: 4px;
    color: white;
    cursor: pointer;
    display: inline-block;
    line-height: 32px;
    padding: 0 25px;
    font-size: 12px; }
    .farashop__checkout button:hover, .farashop__checkout button:focus, .farashop__checkout button:active, .farashop__checkout button:hover:active, .farashop__checkout button:focus:active,
    .farashop__checkout input[type=submit]:hover,
    .farashop__checkout input[type=submit]:focus,
    .farashop__checkout input[type=submit]:active,
    .farashop__checkout input[type=submit]:hover:active,
    .farashop__checkout input[type=submit]:focus:active {
      border: 1px solid #888a95;
      background-color: #888a95; }
  .farashop__checkout .checkout__rules-checkbox {
    padding: 0 20px;
    text-align: left; }
    @media (min-width: 1200px) {
      .farashop__checkout .checkout__rules-checkbox {
        text-align: unset; } }
    @media (max-width: 767px) {
      .farashop__checkout .checkout__rules-checkbox {
        margin-bottom: 15px; } }
    .farashop__checkout .checkout__rules-checkbox input {
      margin-left: 4px;
      position: relative;
      top: 3px; }
      .farashop__checkout .checkout__rules-checkbox input + label {
        margin-left: 10px;
        cursor: pointer;
        font-size: 12px; }
    .farashop__checkout .checkout__rules-checkbox .input[type=checkbox] ~ .text-danger {
      float: right;
      position: relative;
      right: -4px;
      top: 10px; }
    .farashop__checkout .checkout__rules-checkbox > i {
      color: #787a87;
      font-size: 23px;
      vertical-align: middle;
      cursor: pointer; }
  .farashop__checkout .checkout__arrows button:before, .farashop__checkout .checkout__arrows button:after {
    font-family: FontAwesome;
    font-size: 20px;
    vertical-align: middle; }
  .farashop__checkout .checkout__arrows button:first-child {
    float: inline-start; }
    .farashop__checkout .checkout__arrows button:first-child:before {
      content: "\f105";
      margin-inline-end: 10px; }
  .farashop__checkout .checkout__arrows button:last-child {
    float: inline-end; }
    .farashop__checkout .checkout__arrows button:last-child:after {
      content: "\f104";
      margin-inline-start: 10px; }
  .farashop__checkout .farashop__location .flex > label {
    width: 55px; }
  .farashop__checkout.checkout__default:after {
    content: '';
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border-top: 2px solid #aaa;
    border-right: 2px solid transparent;
    animation: loading-spin .6s linear infinite;
    display: inline-block;
    margin-left: 5px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: 50px;
    margin-left: -17px; }
  .farashop__checkout.checkout__default.loaded:after {
    display: none; }
  .farashop__checkout.checkout__default > div:first-child {
    display: flex; }
    .farashop__checkout.checkout__default > div:first-child > div {
      font-size: 12px;
      margin: 40px 0 20px;
      position: relative;
      text-align: center;
      color: #aaa;
      width: 100%;
      padding-top: 16px; }
      .farashop__checkout.checkout__default > div:first-child > div.step__active:before {
        background-color: #787a87;
        color: #fff; }
      .farashop__checkout.checkout__default > div:first-child > div.step__active:after,
      .farashop__checkout.checkout__default > div:first-child > div.step__active ~ div:after {
        background: repeating-linear-gradient(to right, #ddd, #ddd 10px, #f9f9f9 10px, #f9f9f9 20px); }
      .farashop__checkout.checkout__default > div:first-child > div:before {
        font-family: FontAwesome;
        font-size: 26px;
        line-height: 26px;
        background-color: #ddd;
        border-radius: 50%;
        content: "";
        display: block;
        position: absolute;
        right: 50%;
        top: -36px;
        z-index: 2;
        padding: 10px;
        transform: translateX(50%); }
      .farashop__checkout.checkout__default > div:first-child > div[data-rule="basket"]:before {
        content: "\f07a"; }
      .farashop__checkout.checkout__default > div:first-child > div[data-rule="login-register"]:before {
        content: "\f007";
        padding: 10px 14px; }
      .farashop__checkout.checkout__default > div:first-child > div[data-rule="postal-payment"]:before {
        content: "\f0d1"; }
      .farashop__checkout.checkout__default > div:first-child > div[data-rule="review"]:before {
        content: "\f0e2"; }
      .farashop__checkout.checkout__default > div:first-child > div[data-rule="factor"]:before {
        content: "\f00c"; }
      .farashop__checkout.checkout__default > div:first-child > div[data-rule="address"]:before {
        content: "\f041";
        padding: 10px 16px; }
      .farashop__checkout.checkout__default > div:first-child > div:after {
        background-color: #ddd;
        content: "";
        display: block;
        height: 3px;
        position: absolute;
        right: 50%;
        top: -11px;
        width: 100%;
        z-index: 1; }
      .farashop__checkout.checkout__default > div:first-child > div:last-child:after {
        width: 0; }
  .farashop__checkout.checkout__default .checkout__step {
    position: relative;
    display: none;
    z-index: 2; }
    .farashop__checkout.checkout__default .checkout__step.step__active {
      display: block; }
    @media (max-width: 767px) {
      .farashop__checkout.checkout__default .checkout__step .panel-body.js__main-basket {
        padding-right: 0;
        padding-left: 0; } }
  .farashop__checkout.checkout__default[data-user-id="-1"] .checkout__step.small-box.step__active ~ .checkout__arrows {
    width: 100%;
    margin: 0 auto; }
    @media (min-width: 992px) {
      .farashop__checkout.checkout__default[data-user-id="-1"] .checkout__step.small-box.step__active ~ .checkout__arrows {
        width: 60%; } }
  .farashop__checkout.checkout__default .checkout__arrows button {
    color: #787a87;
    background-color: white;
    border: 1px solid #787a87; }
    .farashop__checkout.checkout__default .checkout__arrows button:hover {
      color: white;
      background-color: #787a87; }
  .farashop__checkout.checkout__default .postal-method__container li span {
    text-align: left; }
  .farashop__checkout.checkout__default .required-star {
    position: absolute;
    right: 4px;
    top: 8px; }
  .farashop__checkout.checkout__default .panel-title {
    font-size: 15px; }
  .farashop__checkout.checkout__default.checkout__wait {
    position: relative; }
    .farashop__checkout.checkout__default.checkout__wait:before {
      content: '';
      display: block;
      background-color: rgba(255, 255, 255, 0.95);
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 99; }
    .farashop__checkout.checkout__default.checkout__wait:after {
      content: '';
      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;
      margin-left: 5px;
      position: absolute;
      top: 50%;
      left: 50%;
      margin: -10px 0 0 -10px;
      z-index: 100; }
  .farashop__checkout.checkout__default.only-downloadable .postal-method__container .checkout-panel:after, .farashop__checkout.checkout__default[data-only-downloadable=true] .postal-method__container .checkout-panel:after {
    content: 'محتوای سبد خرید شما پس از پرداخت قابل دریافت خواهد بود.';
    position: relative;
    top: -15px;
    right: 15px; }

body.ltr .farashop__checkout.checkout__default .postal-method__container li span {
  text-align: right; }

body.ltr .farashop__checkout.checkout__default > div:first-child > div:after {
  right: unset;
  left: 50%; }

body.ltr .farashop__checkout .checkout__rules-checkbox {
  float: right; }

body.ltr .checkout__arrows button:first-child {
  float: left; }

body.ltr .checkout__arrows button:last-child {
  float: right; }

body.rtl .checkout__arrows button:first-child {
  float: right; }

body.rtl .checkout__arrows button:last-child {
  float: left; }

.farashop__custom-login .label-wrap {
  white-space: nowrap; }

@media (max-width: 767px) {
  .js__checkout__step-review .js__price-per-row {
    display: none; } }

.fs-auth {
  width: 100%;
  margin: 0 auto; }
  @media (min-width: 992px) {
    .fs-auth {
      width: 60%; } }

.fs-auth__login .fs-auth__body {
  flex-direction: column; }
  @media (min-width: 480px) {
    .fs-auth__login .fs-auth__body {
      display: flex;
      flex-direction: row; } }

.fs-auth__login .fs-auth__image {
  display: none; }
  @media (min-width: 480px) {
    .fs-auth__login .fs-auth__image {
      width: 35%; } }

@media (min-width: 480px) {
  .fs-auth__login .fs-auth__form {
    width: 100%;
    /*width: 65%;*/
    align-self: center; } }

.fs-auth__register .fs-auth__body {
  flex-direction: column; }
  @media (min-width: 768px) {
    .fs-auth__register .fs-auth__body {
      display: flex;
      flex-direction: row; } }

.fs-auth__register .fs-auth__image {
  display: none; }
  @media (min-width: 768px) {
    .fs-auth__register .fs-auth__image {
      width: 35%; } }

@media (min-width: 768px) {
  .fs-auth__register .fs-auth__form {
    width: 100%;
    /*width: 65%;*/
    align-self: center; } }

.postalpayment__container {
  display: flex;
  flex-direction: column; }
  @media (min-width: 768px) {
    .postalpayment__container {
      flex-direction: row;
      justify-content: space-between; } }
  .postalpayment__container label {
    margin-bottom: 0; }

.postal-method__container, .payment-method__container {
  display: flex;
  flex-direction: column; }
  .postal-method__container input[type="radio"] + label, .payment-method__container input[type="radio"] + label {
    font-size: 13px; }
  .postal-method__container .checkout-panel, .payment-method__container .checkout-panel {
    height: 100%; }
  @media (min-width: 768px) {
    .postal-method__container, .payment-method__container {
      width: 49.5%; } }

.postal-method__container {
  margin-bottom: 15px; }
  @media (min-width: 768px) {
    .postal-method__container {
      margin-bottom: unset; } }
  .postal-method__container li {
    display: flex;
    align-items: center;
    margin-bottom: 5px; }
    .postal-method__container li label {
      display: block;
      width: 80%; }
      @media (min-width: 480px) {
        .postal-method__container li label {
          display: flex;
          align-items: center; } }
      .postal-method__container li label img {
        display: block;
        margin-inline-end: 10px; }
        .postal-method__container li label img[src=""] {
          display: none; }
        @media (min-width: 480px) {
          .postal-method__container li label img {
            display: unset; }
            .postal-method__container li label img[src=""] {
              display: none; } }
      .postal-method__container li label p {
        margin-bottom: 0;
        font-size: 12px;
        color: #C2C2C2; }
        @media (min-width: 480px) {
          .postal-method__container li label p {
            margin-inline-start: 20px; } }
    .postal-method__container li span {
      width: 20%; }

.payment-method__container .checkout-panel__body {
  display: flex;
  flex-direction: column; }
  @media (min-width: 1200px) {
    .payment-method__container .checkout-panel__body {
      flex-direction: row;
      align-items: flex-start; } }

@media (min-width: 1200px) {
  .payment-method__container ol {
    width: 40%; } }

@media (min-width: 1200px) {
  .payment-method__container .bank-list__wrap {
    width: 60%; } }

.payment-method__container .bank-list__wrap table {
  border: 1px solid #ccc;
  background-color: #efe9e9;
  border-radius: 5px;
  border-collapse: unset; }
  .payment-method__container .bank-list__wrap table tr {
    display: flex;
    justify-content: space-around; }
    .payment-method__container .bank-list__wrap table tr td:only-child {
      width: 100%; }
    .payment-method__container .bank-list__wrap table tr td {
      border-top: 0; }
      .payment-method__container .bank-list__wrap table tr td img[src=""] {
        display: none; }

.payment-method__container li {
  margin-bottom: 10px;
  display: flex;
  align-items: center; }
  .payment-method__container li label {
    display: flex;
    align-items: center; }
    .payment-method__container li label img {
      margin-inline-end: 10px; }
      .payment-method__container li label img[src=""] {
        display: none; }

.checkout-review button,
.checkout-review input[type=submit] {
  background-color: #00C83C;
  color: #fff;
  border: 1px solid #00C83C;
  padding: 4px 25px; }
  @media (min-width: 1200px) {
    .checkout-review button,
    .checkout-review input[type=submit] {
      display: block;
      width: 100%; } }
  .checkout-review button:hover,
  .checkout-review input[type=submit]:hover {
    color: white;
    background-color: #00e745; }

#colorbox .checkout-review__rules {
  height: 100%; }
  #colorbox .checkout-review__rules .checkout-panel {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%; }
  #colorbox .checkout-review__rules .checkout-panel__body {
    overflow: auto; }

.user-address__item {
  display: flex;
  flex-wrap: wrap;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid #ECECEC; }

.user-address__radio-box {
  width: 8%; }
  @media (min-width: 480px) {
    .user-address__radio-box {
      width: 5%; } }
  @media (min-width: 1200px) {
    .user-address__radio-box {
      width: 3%; } }

.user-address__content {
  width: 92%; }
  @media (min-width: 768px) {
    .user-address__content {
      width: 85%; } }
  @media (min-width: 1200px) {
    .user-address__content {
      width: 87%; } }
  .user-address__content div {
    display: flex;
    margin-bottom: 10px; }
    .user-address__content div:first-child {
      margin-bottom: 15px; }
      .user-address__content div:first-child span {
        width: 100%; }
    .user-address__content div h3, .user-address__content div span {
      font-size: 14px;
      margin: 0;
      line-height: 16px; }
    .user-address__content div h3 {
      display: none;
      color: #ccc;
      width: 30%; }
      @media (min-width: 768px) {
        .user-address__content div h3 {
          width: 25%;
          display: unset; } }
      @media (min-width: 992px) {
        .user-address__content div h3 {
          width: 20%; } }
      @media (min-width: 1200px) {
        .user-address__content div h3 {
          width: 15%; } }
    .user-address__content div span {
      width: 90%; }
      @media (min-width: 480px) {
        .user-address__content div span {
          width: 94%; } }
      @media (min-width: 768px) {
        .user-address__content div span {
          width: 75%; } }
      @media (min-width: 992px) {
        .user-address__content div span {
          width: 80%; } }
      @media (min-width: 1200px) {
        .user-address__content div span {
          width: 85%; } }
    .user-address__content div i {
      width: 10%;
      font-size: 16px;
      color: #ccc; }
      @media (min-width: 480px) {
        .user-address__content div i {
          width: 6%; } }
      @media (min-width: 768px) {
        .user-address__content div i {
          display: none; } }

.user-address__editbtn {
  width: 100%;
  margin-inline-start: 8%;
  margin-top: 10px; }
  @media (min-width: 480px) {
    .user-address__editbtn {
      margin-inline-start: 5%; } }
  @media (min-width: 768px) {
    .user-address__editbtn {
      width: 10%;
      margin-inline-start: unset;
      margin-top: unset;
      text-align: center; } }
  .user-address__editbtn a, .user-address__editbtn i {
    color: #909090; }
  .user-address__editbtn a {
    vertical-align: top; }
  .user-address__editbtn i {
    font-size: 20px; }

.user-address__addbtn {
  display: flex;
  justify-content: center;
  padding: 20px 0; }
  .user-address__addbtn a {
    background-color: #787a87;
    color: white;
    border: 1px solid; }
    .user-address__addbtn a:hover {
      background-color: #888a95; }
    .user-address__addbtn a:focus {
      background-color: #888a95;
      color: white;
      border: 1px solid #888a95; }
