/* =========================================================
   MEHFARO REAL CUSTOMER REVIEWS V1
========================================================= */


/* ---------------- PUBLIC REVIEWS ---------------- */

.reviews-section .reviews-grid {
  align-items: stretch;
}

.mf-review-loading,
.mf-review-empty {
  grid-column: 1 / -1;
  width: 100%;
  padding: 34px 22px;
  border: 1px solid rgba(24, 33, 37, .10);
  border-radius: 20px;
  background: rgba(255, 255, 255, .86);
  text-align: center;
}

.mf-review-empty span {
  display: block;
  margin-bottom: 8px;
  font-size: 34px;
  color: #c88a13;
}

.mf-review-empty strong {
  display: block;
  font-size: 17px;
}

.mf-review-empty p {
  margin: 6px 0 0;
  font-size: 13px;
  opacity: .72;
}


.reviews-grid .mf-real-review-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 210px;
  padding: 22px !important;
  border: 1px solid rgba(200, 138, 19, .22) !important;
  border-radius: 20px !important;
  background:
    rgba(255, 255, 255, .92) !important;
  box-shadow:
    0 14px 32px rgba(23, 31, 35, .07);
}


.mf-public-review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}


.mf-public-review-stars {
  color: #d39111;
  font-size: 19px;
  letter-spacing: 2px;
}


.mf-verified-review {
  padding: 5px 8px;
  border-radius: 999px;
  background: #e8f7f3;
  color: #117d72;
  font-size: 10px;
  font-weight: 800;
}


.mf-public-review-text {
  flex: 1;
  margin: 0 !important;
  color: #172126;
  font-size: 14px !important;
  line-height: 1.65 !important;
  font-weight: 600;
}


.mf-public-review-customer {
  display: flex;
  align-items: center;
  gap: 10px;
}


.mf-review-avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 50%;
  background: #172126;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}


.mf-public-review-customer strong {
  display: block;
  font-size: 12px;
}


.mf-public-review-customer small {
  display: block;
  margin-top: 2px;
  color: #6b7478;
  font-size: 10px;
}


/* ---------------- ORDER CHAT REVIEW CARD ---------------- */

.mf-order-review-card {
  width: calc(100% - 16px);
  margin: 12px 8px 18px;
  padding: 16px;
  border: 1px solid rgba(200, 138, 19, .28);
  border-radius: 18px;
  background:
    linear-gradient(
      145deg,
      #fffdf8,
      #fff
    );
  box-shadow:
    0 12px 26px rgba(19, 30, 34, .08);
}


.mf-order-review-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}


.mf-order-review-head small {
  display: block;
  margin-bottom: 4px;
  color: #c1820e;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .13em;
}


.mf-order-review-head strong {
  display: block;
  color: #162126;
  font-size: 15px;
  line-height: 1.3;
}


.mf-order-review-head span {
  display: block;
  margin-top: 4px;
  color: #687277;
  font-size: 10px;
}


.mf-review-verified {
  flex: 0 0 auto;
  padding: 5px 7px;
  border-radius: 999px;
  background: #e7f7f3;
  color: #0e8175 !important;
  font-size: 9px !important;
  font-weight: 800;
}


.mf-order-review-stars {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-top: 16px;
}


.mf-order-review-stars button {
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #c8a76c;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transition:
    transform .15s ease,
    color .15s ease;
}


.mf-order-review-stars button:hover {
  transform: scale(1.08);
}


.mf-order-review-stars button.selected {
  color: #d39111;
}


.mf-order-review-rating-text {
  min-height: 18px;
  margin-top: 3px;
  color: #70797d;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
}


.mf-order-review-text {
  width: 100%;
  min-height: 80px;
  margin-top: 10px;
  padding: 11px 12px;
  border: 1px solid #d7dcde;
  border-radius: 12px;
  outline: 0;
  resize: vertical;
  background: #fff;
  color: #172126;
  font: inherit;
  font-size: 12px;
  line-height: 1.5;
}


.mf-order-review-text:focus {
  border-color: #15877d;
  box-shadow:
    0 0 0 3px rgba(21, 135, 125, .10);
}


.mf-order-review-submit {
  width: 100%;
  min-height: 40px;
  margin-top: 10px;
  border: 0;
  border-radius: 12px;
  background: #167f76;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}


.mf-order-review-submit:disabled {
  opacity: .45;
  cursor: not-allowed;
}


.mf-order-review-complete {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}


.mf-review-check {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 50%;
  background: #16877d;
  color: #fff;
  font-weight: 900;
}


.mf-order-review-complete small {
  display: block;
  color: #16877d;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .12em;
}


.mf-order-review-complete strong {
  display: block;
  margin-top: 3px;
  color: #d39111;
  font-size: 17px;
  letter-spacing: 1px;
}


.mf-order-review-complete p {
  margin: 6px 0 0;
  color: #313b3f;
  font-size: 12px;
  line-height: 1.5;
}


@media (max-width: 520px) {

  .mf-order-review-card {
    margin-left: 4px;
    margin-right: 4px;
    width: calc(100% - 8px);
    padding: 13px;
  }

  .mf-order-review-head {
    display: block;
  }

  .mf-review-verified {
    display: inline-block !important;
    margin-top: 8px !important;
  }

  .mf-order-review-stars {
    gap: 2px;
  }

  .mf-order-review-stars button {
    width: 34px;
    height: 34px;
    font-size: 28px;
  }
}
