﻿@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 rgb(136.2, 137.96, 149.4);
  background-color: rgb(136.2, 137.96, 149.4);
}
.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 0.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"][data-guest]:not([data-guest=true]) .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"][data-guest]:not([data-guest=true]) .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.order-submit {
  color: white;
  background-color: #00C83C;
}
.farashop__checkout.checkout__default .checkout__arrows button.order-submit:hover {
  background-color: #00e745;
}
.farashop__checkout.checkout__default .checkout__arrows button:hover {
  color: white;
  background-color: #787a87;
}
.farashop__checkout.checkout__default .postal-method__container li span {
  text-align: right;
}
.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 0.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;
}
.farashop__checkout .delivery-times {
  width: 100%;
  margin-top: 5px;
  filter: blur(1px);
  pointer-events: none;
  grid-area: 2/1/span 1/span 3;
  overflow: hidden;
  padding: 0 10px;
}
.farashop__checkout .delivery-times .delivery-time {
  text-align: center;
  background: rgba(239, 233, 233, 0.5294117647);
  border-radius: 6px;
  margin: 0 2px;
  position: relative;
  border: 1px solid #ccc;
  transition: 300ms;
  padding: 4px;
}
.farashop__checkout .delivery-times .delivery-time label {
  width: 100%;
  display: flex;
  margin: 0;
  justify-content: center;
}
.farashop__checkout .delivery-times .delivery-time input[type=radio] {
  position: absolute;
  right: 4px;
  visibility: hidden;
  top: calc(50% - 12px);
}
.farashop__checkout .delivery-times .delivery-time__reach-capacity-text {
  display: none;
}
.farashop__checkout .delivery-times .delivery-time__full {
  pointer-events: none;
  filter: contrast(0.8);
  transform: scale(0.85) translateY(5px);
}
.farashop__checkout .delivery-times .delivery-time__full .delivery-time__reach-capacity-text {
  display: block;
  position: absolute;
  top: -24px;
  width: 100%;
  text-align: center;
  right: 0;
  white-space: nowrap;
  color: #000000;
}
@media (max-width: 479px) {
  .farashop__checkout .delivery-times .delivery-time__full .delivery-time__reach-capacity-text {
    font-size: 13px;
  }
}
.farashop__checkout .delivery-times .slick-list {
  padding: 10px 0;
}
.farashop__checkout .delivery-times .slick-prev {
  right: -10px;
}
.farashop__checkout .delivery-times .slick-next {
  left: -10px;
}
.farashop__checkout .delivery-times .slick-prev, .farashop__checkout .delivery-times .slick-next {
  background: rgba(221, 221, 221, 0.5803921569);
  width: 30px;
  height: 30px;
  top: calc(50% - 15px);
  z-index: 10;
  border-radius: 50%;
  border: 1px solid #ccc;
}
.farashop__checkout .delivery-times .slick-prev.slick-disabled, .farashop__checkout .delivery-times .slick-next.slick-disabled {
  visibility: hidden;
}

.slick-arrow.slick-prev::before {
  content: "\f105";
  font-size: 20px;
  vertical-align: middle;
  color: black;
  font-family: FontAwesome;
}

.slick-arrow.slick-next::before {
  content: "\f104";
  font-size: 20px;
  vertical-align: middle;
  color: black;
  font-family: FontAwesome;
}

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:first-child:before {
  content: "\f104";
}
body.ltr .checkout__arrows button:last-child {
  float: right;
}
body.ltr .checkout__arrows button:last-child:after {
  content: "\f105";
}

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 .radio__selected {
  position: relative;
}
.postalpayment__container .radio__selected::before {
  content: "";
  position: absolute;
  inset: 0px;
  border: 2px dashed rgba(70, 140, 70, 0.7);
  border-radius: 6px;
  animation: scale 300ms ease-in-out forwards;
}
@keyframes scale {
  from {
    transform: scale(1.05);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
.postalpayment__container label {
  margin-bottom: 0;
}
.postalpayment__container li.radio__selected .delivery-times {
  filter: none;
  pointer-events: unset;
}

.postal-method__container, .payment-method__container {
  display: flex;
  flex-direction: column;
}
.postal-method__container input[type=radio], .payment-method__container input[type=radio] {
  width: 20px;
  height: 20px;
  margin: 0;
}
.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 {
  background: none;
  height: 100%;
}
@media (min-width: 768px) {
  .postal-method__container, .payment-method__container {
    width: 49.5%;
  }
}
.postal-method__container li, .payment-method__container li {
  padding: 0 10px;
  margin-bottom: 10px;
  border-radius: 6px;
  background: white;
  box-shadow: 0 1px 3px 1px rgba(0, 0, 20, 0.08);
  border: 4px dashed rgba(199, 199, 199, 0.1490196078);
}
.postal-method__container li::before, .payment-method__container li::before {
  inset: -4px !important;
}
.postal-method__container li > label, .payment-method__container li > label {
  padding: 10px 0;
}
@media (max-width: 479px) {
  .postal-method__container .checkout-panel__body, .payment-method__container .checkout-panel__body {
    padding: 0;
  }
}

.postal-method__container {
  margin-bottom: 15px;
}
@media (min-width: 768px) {
  .postal-method__container {
    margin-bottom: unset;
  }
}
.postal-method__container li {
  margin-bottom: 5px;
  display: grid;
  grid-template-rows: auto auto;
  grid-template-columns: 20px 60% auto;
  align-items: center;
}
.postal-method__container li label {
  display: block;
  grid-area: 1/2/span 1/span 1;
}
@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 {
  grid-area: 2/span 3;
}
.postal-method__container li > input {
  grid-area: 1/1/span 1/span 1;
}

.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: 100%;
  }
}
@media (min-width: 1200px) {
  .payment-method__container .bank-list__wrap, .payment-method__container .installment-plans__wrap {
    width: 100%;
    margin-right: 10px;
  }
}
.payment-method__container .bank-list__wrap input, .payment-method__container .installment-plans__wrap input {
  visibility: hidden;
  position: absolute;
}
.payment-method__container .bank-list__wrap label, .payment-method__container .installment-plans__wrap label {
  display: block;
}
.payment-method__container .bank-list__wrap table tr, .payment-method__container .installment-plans__wrap table tr {
  display: flex;
  justify-content: space-around;
  flex-direction: column;
  padding: 10px;
  padding-bottom: 0;
  background-color: rgba(239, 233, 233, 0.5);
  border-radius: 6px;
}
.payment-method__container .bank-list__wrap table tr td:only-child, .payment-method__container .installment-plans__wrap table tr td:only-child {
  width: 100%;
}
.payment-method__container .bank-list__wrap table tr td, .payment-method__container .installment-plans__wrap table tr td {
  background-color: #efe9e9;
  border-radius: 6px;
  border-top: 0;
  margin-bottom: 10px;
  background: rgba(239, 233, 233, 0.5294117647);
  padding: 10px;
  border: 1px solid #ccc;
}
.payment-method__container .bank-list__wrap table tr td img[src=""], .payment-method__container .installment-plans__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;
  width: 80%;
}
.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: rgb(0, 230.6, 69.18);
}

#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: rgb(136.2, 137.96, 149.4);
}
.user-address__addbtn a:focus {
  background-color: rgb(136.2, 137.96, 149.4);
  color: white;
  border: 1px solid rgb(136.2, 137.96, 149.4);
}
