/* Store reviews widget (Judge.me look) */
.osr-rev-section {
  background: #eef3f8;
  padding: 60px 0 80px;
  color: #121212;
  letter-spacing: .3px;
}

.osr-rev-wrap {
  margin: 0 auto;
}

.osr-rev-heading {
  margin: 0 0 8px;
  text-align: center;
  font-family: agenda, sans-serif;
  font-size: 24px;
  line-height: 32px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: #000;
}

.osr-rev-summary {
  text-align: center;
}

.osr-rev-stars {
  display: inline-flex;
  gap: 2px;
  vertical-align: middle;
}

.osr-rev-star {
  display: block;
}

.osr-rev-summary .osr-rev-star {
  width: 18px;
  height: 18px;
}

.osr-rev-based {
  margin: 4px 0 14px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: underline;
}

.osr-rev-write {
  display: inline-block;
  padding: 7px 16px;
  background: #fff;
  border: 1px solid #333;
  color: #000;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0;
  min-height: 0;
  line-height: 1.4;
  margin: 0;
  box-shadow: none;
}

.osr-rev-write:hover {
  background: #000;
  color: #fff;
}

.osr-rev-form-wrap {
  max-width: 640px;
  margin: 24px auto 0;
}

.osr-rev-form {
  background: #fff;
  border: 2px solid #000;
  border-radius: 12px;
  padding: 22px;
  box-shadow: 5px 4px 0 #000;
}

.osr-rev-form-title {
  margin: 0 0 12px;
  font-weight: 700;
  font-size: 16px;
}

.osr-rev-rate {
  display: inline-flex;
  flex-direction: row-reverse;
  margin-bottom: 12px;
}

.osr-rev-rate input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.osr-rev-rate label {
  font-size: 28px;
  color: #cfcfcf;
  cursor: pointer;
  padding: 0 2px;
  line-height: 1;
}

.osr-rev-rate input:checked~label,
.osr-rev-rate label:hover,
.osr-rev-rate label:hover~label {
  color: #e3186c;
}

.osr-rev-form-row {
  display: flex;
  gap: 10px;
}

.osr-rev-form input[type=text],
.osr-rev-form input[type=email],
.osr-rev-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid rgba(0, 0, 0, .5);
  border-radius: 6px;
  background: #fff;
  margin: 0 0 10px;
  font-size: 14px;
  box-shadow: none;
}

.osr-rev-note {
  font-size: 12px;
  margin: 0 0 12px;
}

.osr-rev-submit {
  width: 100%;
  height: 44px;
  background: #000;
  color: #cdd949;
  border: 0;
  font-family: agenda, sans-serif;
  font-size: 18px;
  text-transform: uppercase;
  cursor: pointer;
  margin: 0;
  letter-spacing: .6px;
}

.osr-rev-tools {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 20px;
  margin-top: 26px;
}

.osr-rev-sort {
  justify-self: start;
  appearance: none;
  -webkit-appearance: none;
  padding: 7px 34px 7px 14px;
  margin: 0;
  border: 1px solid #333;
  border-radius: 6px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23333'/%3E%3C/svg%3E") no-repeat right 12px center;
  font-size: 16px;
  line-height: 1.3;
  height: auto;
  width: auto;
  box-shadow: none;
  cursor: pointer;
  color: #000;
}

.osr-rev-hist {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.osr-rev-hrow {
  display: grid;
  grid-template-columns: auto 190px 36px 48px;
  align-items: center;
  column-gap: 8px;
  font-size: 16px;
  font-weight: 700;
}

.osr-rev-hrow .osr-rev-star {
  width: 15px;
  height: 15px;
}

.osr-rev-bar {
  display: block;
  height: 10px;
  background: #fff;
  border: 1px solid #c9c9c9;
}

.osr-rev-bar i {
  display: block;
  height: 100%;
  background: #e3186c;
}

.osr-rev-pct {
  text-align: right;
}

.osr-rev-list {
  margin-top: 30px;
  border-top: 1px solid rgba(0, 0, 0, .08);
}

.osr-rev-item {
  display: grid;
  grid-template-columns: 34% 1fr;
  gap: 0;
  padding: 20px 0;
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.osr-rev-left {
  display: flex;
  align-items: center;
  gap: 8px;
  align-self: start;
}

.osr-rev-left .osr-rev-star {
  width: 15px;
  height: 15px;
}

.osr-rev-date {
  font-size: 16px;
  font-weight: 700;
}

.osr-rev-author {
  font-size: 16px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.osr-rev-badge {
  display: inline-block;
  background: #fdc311;
  color: #fff;
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 2px;
}

.osr-rev-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.osr-rev-body {
  font-size: 16px;
  line-height: 20px;
}

.osr-rev-pics {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.osr-rev-pics img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

.osr-rev-more {
  text-align: center;
  margin-top: 26px;
}

.osr-rev-loadmore {
  padding: 8px 18px;
  background: #fff;
  border: 1px solid #333;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 700;
  cursor: pointer;
  margin: 0;
  min-height: 0;
  text-transform: none;
  letter-spacing: 0;
  box-shadow: none;
  color: #000;
}

.osr-rev-loadmore:hover {
  background: #000;
  color: #fff;
}

@media (max-width: 749px) {
  .osr-rev-heading {
    font-size: 20px;
    line-height: 28px;
  }

  .osr-rev-tools {
    grid-template-columns: 1fr;
  }

  .osr-rev-sort {
    justify-self: center;
  }

  .osr-rev-hist {
    align-items: center;
  }

  .osr-rev-hrow {
    grid-template-columns: auto 1fr 36px 46px;
    width: 100%;
    max-width: 320px;
  }

  .osr-rev-item {
    grid-template-columns: 1fr;
    row-gap: 8px;
  }

  .osr-rev-form-row {
    flex-direction: column;
    gap: 0;
  }
}