body {
  font-family: "Lato", sans-serif;
  background: #f6f9fc;
  margin: 0;
  padding: 20px;
  color: #0b1220;
}
.mrv-recensioni-wrapper {
  max-width: 1000px;
  margin: auto;
  padding: 20px;
}
h1 {
  font-family: "Quicksand", sans-serif;
  text-align: center;
  color: #1697c7;
  font-size: 2rem;
  margin-bottom: 10px;
}
.intro {
  text-align: center;
  margin-bottom: 40px;
  font-size: 1.1rem;
  color: #333;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  justify-items: center;
}
.review {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  padding: 12px;
  transition: transform 0.2s ease;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}
.review:hover {
  transform: translateY(-3px);
}
.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 0.9rem;
  color: #555;
}
.review-name {
  font-weight: bold;
  color: #0b1220;
}
.product-ref {
  font-size: 0.8rem;
  color: #1697c7;
  margin-top: -2px;
  margin-bottom: 6px;
  display: block;
}
.badge {
  background: #e6f7f1;
  color: #28a745;
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 6px;
  margin-left: 8px;
}
.date {
  font-size: 0.8rem;
  color: #888;
}
.stars {
  margin: 6px 0 12px;
  display: flex;
}
.stars svg {
  width: 18px;
  height: 18px;
  fill: #f5b50a;
  margin-right: 2px;
}
.review-text {
  font-size: 1rem;
  line-height: 1.5em;
  color: #333;
  font-style: italic;
}
.review-form-box {
  margin: 60px auto;
  padding: 30px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}
.review-form-box h2 {
  text-align: center;
  color: #1697c7;
  margin-bottom: 20px;
}
.review-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.review-form label {
  font-weight: bold;
  font-size: 0.95rem;
}
.review-form input,
.review-form textarea {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-family: "Lato", sans-serif;
  font-size: 1rem;
  resize: none;
}
.review-form button {
  background: #1697c7;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 14px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
  font-family: "Quicksand", sans-serif;
}
.review-form button:hover {
  background: #1179a1;
}

/* Media query per dispositivi mobili: forza una colonna e centra le card */
@media (max-width: 600px) {
  .reviews-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .review {
    max-width: 520px;
    margin: 0 auto;
    width: calc(100% - 32px);
  }
  .mrv-recensioni-wrapper {
    padding: 12px;
  }
}
