@font-face {
  font-family: "vazir";
  src: url("../font/Vazir.ttf");
}

* {
  margin: 0;
  padding: 0;
  font-family: "vazir";
  box-sizing: content-box;
  font-size: 10px;
}
.mainContainer {
  width: auto;
  max-width: 1140px;
  padding: 0 90px !important;
}
.shop_cart__row__name {
  display: flex;
  justify-content: center;
  align-items: start;
  flex-direction: column;
}
.delete_modal_item button {
  background-color: #eb3437;
  outline: none;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #eb3437;
  width: 20px;
  height: 20px;
  transition: all 0.3s ease-in-out;
  border-radius: 50%;
  margin: 0 5px;
}
.delete_modal_item button:hover {
  background-color: white;
  color: #eb3437;
  border-radius: 5px;
}
@media screen and (max-width: 750px) {
  .mainContainer {
    padding: 0 !important;
  }
}
.show_discount_details {
  color: #eb3437;
}
.anchor_none_style:hover {
  text-decoration: none !important;
  color: #eb3437 !important;
}
.shop_cart {
  z-index: 99999;
}
.shop_cart__row {
  direction: rtl;
}
*::-webkit-scrollbar {
  display: none;
}

.total_price {
  margin-top: 1rem;
}

/* .total_price h4,
.total_price h4 span {
  font-weight: 700 !important;
} */

.total_price span {
  font-size: 1.5rem;
}

.flex-wrapper {
  display: flex;
  flex-flow: row nowrap;
}

.single-chart {
  width: 100%;
  width: 6rem;
  position: relative;
  justify-content: space-around;
}

.circular-chart {
  display: block;
  width: 100%;
  margin: 10px auto;
}

.circle-bg {
  fill: none;
  stroke: #eee;
  stroke-width: 3.8;
}

.circle {
  fill: none;
  stroke-width: 2.8;
  stroke-linecap: round;
  animation: progress 1s ease-out forwards;
}

@keyframes progress {
  0% {
    stroke-dasharray: 0 100;
  }
}

.circular-chart.red-circle .circle {
  stroke: #eb3437;
}

.circular-chart.green-circle .circle {
  stroke: #4cc790;
}

.circular-chart.yellow-circle .circle {
  stroke: #e5c63c;
}

.circular-chart.gray-circle .circle {
  stroke: #a8a8a8;
}

.percentage {
  fill: #666;
  font-family: Vazir;
  text-anchor: middle;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 12px !important;
}
.btn-shopcart {
  border: none;
  border-radius: 1rem;
  padding: 0.8rem 0.8rem;
  font-weight: 900;
  position: relative;
  width: 9rem;
  font-size: 1.3rem;
  margin: 0 0.5rem;
}

.btn_red {
  background-color: #eb3437 !important;
  color: #faf9fb !important;
}
/* .btn_red.showSpinner {
  background-color: blue !important;
} */
.btn_red.showSpinner svg {
  display: none;
}
.btn_red.showSpinner {
  display: inline-block;
  width: 32px;
  height: 32px;
  pointer-events: none;
  box-sizing: border-box;
  user-select: none;
}
.btn_red.showSpinner:after {
  content: " ";
  display: block;
  width: 20px;
  height: 20px;
  margin: 0px;
  border-radius: 50%;
  border: 2px solid #fff;
  border-color: #fff transparent #fff transparent;
  animation: lds-dual-ring 1.2s linear infinite;
}
/* .showSpinner {
  background-color: blue !important;
} */

.btn_default {
  background-color: #faf9fb;
  color: #333;
}
/* My Css */
#shop_cart .table {
  border-collapse: separate;
  border: 2px solid #dee2e6;
  border-radius: 15px;
  margin-bottom: 0;
}
#shop_cart .table th,
td {
  vertical-align: bottom;
  border-bottom: 2px solid #dee2e6;
  border-left: 2px solid #dee2e6;
  border-top: none;
}
#shop_cart .table thead th:last-child {
  border-left: none;
}
#shop_cart .table td:last-child {
  border-left: none;
}
#shop_cart .table td {
  border-top: none;
  border-bottom: none;
}
.shop_cart__row__detail a {
  font-size: 1.5rem;
  width: 100%;
  position: relative;
  display: block;
  text-decoration: none;
  color: #333;
  top: 50%;
  transform: translateY(-50%);
}
.shop_cart__row__detail a span {
  font-size: 1.3rem;
}
.skeleton_min_height {
  min-height: 32rem !important;
}
.shopCartBadge {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -8px;
  border: 1px solid white;
  background-color: #eb3437;
  font-size: 13px;
  left: 10px;
  border-radius: 50%;
}
@media (min-width: 750px) {
  .checkout_address {
    width: calc(33% - 1rem);
    position: relative;
  }
  .modal-dialog {
    max-width: unset !important;
    width: 100% !important;
  }
  .shop_cart {
    background-color: white;
    padding: 2rem;
    max-width: 700px;
    width: 80% !important;
    margin: auto;
    left: 50% !important;
    height: auto !important;
    top: 50% !important;
    transform: translate(-50%, -50%);
    border-radius: 1.5rem;
  }
  .shop_cart .modal-content {
    border: none;
    text-align: center;
    background-color: transparent;
  }
  .shop_cart .modal-content__title {
    font-size: 1.5rem;
    /* font-weight: 700; */
  }
  .shop_cart .modal-content__title span {
    font-size: 2rem;
  }
  .shop_cart .modal-content__carts {
    overflow-y: auto;
    /* Add the ability to scroll */
    max-height: 36.8rem;
    padding: 0 0.3rem;
  }
  .shop_cart .modal-content__carts::-webkit-scrollbar {
    display: none;
  }
  .shop_cart .modal-content .modal-footer {
    margin-top: 1rem;
    text-align: right;
  }
  .shop_cart .modal-content .modal-footer button {
    width: 12rem;
    font-size: 1.3rem;
  }
  .shop_cart .modal-content .modal-footer__btns {
    margin: auto;
  }
  .shop_cart .modal-content .modal-footer__btns .btn_default {
    border: 1px solid #dedede;
  }
  .shop_cart h2 {
    text-align: center;
    margin-bottom: 2rem;
  }
  .shop_cart__row {
    border: none;
    border-radius: 1.5rem;
    width: 100%;
    position: relative;
    z-index: 950;
    background-color: #faf9fb;
    margin: 0.9rem 0 !important;
    padding: 1rem 0 !important;
    box-shadow: 0px 0px 6px #d6d6d6;
    text-align: center;
  }
  .shop_cart__row div {
    padding: 0;
  }
  .shop_cart__row__img img {
    width: 6rem;
  }
  .shop_cart__row__name h4 {
    margin-bottom: 5px !important;
  }
  .shop_cart__row__name label {
    margin: 0 !important;
  }
  .shop_cart__row__name {
    /* margin-top: 1.2rem; */
    text-align: right;
  }
  .checkout_row_price {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 70%;
  }
  .shop_cart__row__price {
    text-align: left;
    position: relative;
  }
  .checkout_row_price p {
    background-color: #eb3437;
    margin-bottom: 0;
    color: white;
    width: 70%;
    font-size: 1.1rem;
    border: none;
    border-radius: 1rem;
    padding: 0.8rem 0rem;
    position: relative;
    text-align: center;
    top: unset !important;
    transform: none !important;
  }
  .shop_cart__row__price p span {
    font-size: 1.2rem;
  }
  .shop_cart__row__price p {
    background-color: #eb3437;
    color: white;
    font-size: 1.1rem;
    border: none;
    border-radius: 1rem;
    padding: 0.8rem 0rem;
    position: relative;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
  }
  .shop_cart__row__detail {
    position: relative;
  }
  .shop_cart__row__detail p {
    font-size: 1.5rem;
    width: 100%;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
  }
  .shop_cart__row__detail p span {
    font-size: 1.5rem;
  }
  .shop_cart__detail-row {
    position: relative;
    z-index: 900;
    border: none;
    border-bottom-left-radius: 1.5rem;
    border-bottom-right-radius: 1.5rem;
    width: 95%;
    margin: 0 auto;
    margin-top: -1rem;
    margin-bottom: 0.9rem;
    text-align: center;
    padding: 2.5rem 0 1rem 0;
    box-shadow: 0px 0px 6px #d6d6d6;
    background-color: #faf9fb;
  }
  .shop_cart__detail-row__menu {
    padding: 0;
  }
  .shop_cart__detail-row__menu__item {
    display: inline-block;
    margin: 0 1.5rem 0.2rem 1.5rem;
  }
  .shop_cart__detail-row__menu__item:hover {
    cursor: pointer;
  }
}
.blazored-modal-content {
  height: 100%;
}
.calc_discount {
  height: 40px;
  border-radius: 12px;
  width: 70px;
  font-size: 14px;
}
.shopCartItemSkeleton {
  width: 100%;
  height: 90px;
}
.shopCartItemSkeleton {
  min-height: 90px;
  width: 100%;
  display: block;
}
@media (max-width: 750px) {
  .modal-dialog {
    max-width: unset !important;
  }
  .shopCartBadge {
    /* top: -11px;
    left: -6px; */
  }
  .checkout_address {
    width: calc(100% - 1rem) !important;
  }
  .calc_discount {
    width: 100% !important;
    margin-top: 20px !important;
    height: 40px !important;
    border-radius: 12px !important;
  }
  .checkout_discount_row_label {
    margin-top: 0 !important;
  }
  .checkout_discount_row_score {
    margin-top: 0 !important;
  }
  .shop_cart {
    background-color: white;
    padding: 1rem !important;
    width: 95% !important;
    margin: auto !important;
    left: 50% !important;
    height: auto !important;
    top: 50% !important;
    overflow: auto !important;
    transform: translate(-50%, -50%) !important;
    border-radius: 1.5rem !important;
  }
  /* .delete_modal_item {
    text-align: right;
  }
  .delete_modal_item button {
    width: auto !important;
    padding: 2px 7px !important;
    margin: 0 0.5rem;
  } */
  .shop_cart .modal-content {
    border: none;
    text-align: center;
    background-color: transparent;
  }
  .shop_cart .modal-content__title {
    font-size: 1.5rem;
    /* font-weight: 700; */
  }
  .shop_cart .modal-content__title span {
    font-size: 2rem;
  }
  .shop_cart .modal-content__carts {
    overflow: hidden scroll;
    /* Add the ability to scroll */
    max-height: 38.7rem;
    padding: 0 0.3rem;
  }
  .shop_cart .modal-content__carts::-webkit-scrollbar {
    display: none;
  }
  .shop_cart .modal-content .modal-footer {
    margin-top: 1rem;
    text-align: center;
  }
  .shop_cart .modal-content .modal-footer button {
    width: 12rem;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
  }
  .shop_cart .modal-content .modal-footer__btns {
    margin: auto;
  }
  .shop_cart .modal-content .modal-footer__btns .btn_default {
    border: 1px solid #dedede;
  }
  .shop_cart h2 {
    text-align: center;
    margin-bottom: 2rem;
  }
  .shop_cart__row {
    border: none;
    border-radius: 1.5rem;
    width: 100%;
    position: relative;
    z-index: 950;
    background-color: #faf9fb;
    margin: 0.9rem 0 !important;
    padding: 1rem 0 !important;
    /* padding: 1rem !important; */
    box-shadow: 3px 0px 6px #d6d6d6;
    text-align: center;
  }
  .shop_cart__row div {
    padding: 0;
  }
  .checkout__row__img {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .checkout__row__img img {
    width: 85%;
    /* padding-right: 15%; */
    position: relative;
    top: unset !important;
    left: unset !important;
    transform: none !important;
  }
  .shop_cart__row__img img {
    width: 85%;
    /* padding-right: 15%; */
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .shop_cart__row__name {
    /* margin-top: 1.2rem; */
    text-align: right;
  }
  .shop_cart__row__name h4 {
    /* padding-right: 1rem; */
  }
  .shop_cart__row__name p {
    /* padding-right: 1rem; */
    /* padding-left: 0.5rem; */
  }
  .shop_cart__row__price {
    padding: 0 5px !important;
    box-sizing: border-box;
    text-align: left;
    position: relative;
  }
  .checkout_row_price {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .checkout_row_price p {
    background-color: #eb3437;
    color: white;
    /* width: 70%; */
    width: 100% !important;
    margin-bottom: 0;
    font-size: 0.9rem;
    border: none;
    width: 6rem;
    border-radius: 0.6rem;
    padding: 0.8rem 0rem;
    position: relative;
    text-align: center;
    top: unset !important;
    transform: unset !important;
  }
  .shop_cart__row__price p {
    background-color: #eb3437;
    color: white;
    font-size: 0.9rem;
    border: none;
    /* width: 6rem; */
    width: auto;
    border-radius: 0.6rem;
    padding: 0.8rem 0rem;
    position: relative;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
  }
  .shop_cart__row__detail {
    position: relative;
  }
  .shop_cart__row__detail p {
    font-size: 1.5rem;
    width: 100%;
    padding-right: 0.5rem;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
  }
  .shop_cart__row__detail p span {
    display: none;
  }
  .shop_cart__detail-row {
    position: relative;
    z-index: 900;
    border: none;
    border-bottom-left-radius: 1.5rem;
    border-bottom-right-radius: 1.5rem;
    width: 95%;
    margin: 0 auto;
    margin-top: -1rem;
    margin-bottom: 0.9rem;
    text-align: center;
    padding: 2.5rem 0 1rem 0;
    box-shadow: 3px 0px 6px #d6d6d6;
    background-color: #faf9fb;
  }
  .shop_cart__detail-row__menu {
    padding: 0;
  }
  .shop_cart__detail-row__menu__item {
    display: inline-block;
    margin: 0 1.5rem 0.2rem 1.5rem;
  }
  .shop_cart__detail-row__menu__item:hover {
    cursor: pointer;
  }
}
.cursor-pointer {
  cursor: pointer !important;
}

@media screen and (max-width: 576px) {
  .shop_cart__row__img,
  .shop_cart__row__price {
    padding-right: 1rem !important;
  }
  .checkout_row_price {
    margin-top: 10px;
  }
  .checkout_row_detail {
    margin-top: 10px;
  }
  /* .delete_modal_item {
    padding-right: 1rem !important;
  } */
}

@media screen and (max-width: 1200px) {
  .checkout_address {
    width: calc(50% - 1rem);
  }
  .checkout_add_address {
    margin-top: 13px !important;
  }
}
