/* 和凛 商品レビューウィジェット（自社収集） */
.wr-widget {
  max-width: 640px;
  margin: 30px auto;
  padding: 28px 22px;
  background: linear-gradient(180deg, #fff8f6 0%, #fff 60%);
  border: 1px solid #ffe3e8;
  border-radius: 20px;
  font-family: -apple-system, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: #4a3b3e;
}
.wr-heading {
  text-align: center;
  margin-bottom: 18px;
}
.wr-heading h4 {
  font-size: 19px;
  margin: 0 0 6px;
  color: #c9718a;
  letter-spacing: .02em;
}
.wr-heading p {
  font-size: 13px;
  color: #a68a8f;
  margin: 0;
}

.wr-summary {
  display: none;
  text-align: center;
  margin: 4px 0 22px;
  padding: 10px;
  background: #fff0f3;
  border-radius: 14px;
}
.wr-summary .wr-stars { color: #f0a94e; font-size: 20px; letter-spacing: 2px; }
.wr-summary .wr-avg { margin-left: 6px; font-weight: bold; color: #c9718a; }
.wr-summary .wr-count { margin-left: 6px; font-size: 12px; color: #a68a8f; }

.wr-empty {
  text-align: center;
  color: #b7a2a6;
  font-size: 13px;
  padding: 8px 0 18px;
}

.wr-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }
.wr-card {
  background: #fff;
  border: 1px solid #fce8ec;
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 2px 10px rgba(220, 150, 165, 0.08);
}
.wr-card-stars { color: #f0a94e; font-size: 16px; letter-spacing: 1px; margin-bottom: 6px; }
.wr-card-comment { line-height: 1.75; font-size: 14.5px; margin: 6px 0 10px; white-space: pre-wrap; }
.wr-card-photo {
  max-width: 100%;
  max-height: 260px;
  border-radius: 12px;
  display: block;
  margin: 10px 0;
  object-fit: cover;
}
.wr-card-meta { font-size: 12px; color: #b7a2a6; }

.wr-form-wrap {
  background: #fff;
  border: 1.5px dashed #f5c3cf;
  border-radius: 18px;
  padding: 22px 20px;
}
.wr-form-title {
  font-weight: bold;
  font-size: 15px;
  text-align: center;
  margin: 0 0 4px;
  color: #c9718a;
}
.wr-form-sub {
  text-align: center;
  font-size: 12.5px;
  color: #a68a8f;
  margin: 0 0 18px;
}
.wr-field { margin-bottom: 14px; }
.wr-field label {
  display: block;
  font-size: 12.5px;
  color: #8a6b70;
  margin-bottom: 5px;
  font-weight: bold;
}
.wr-field input[type="text"],
.wr-field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid #f0d4da;
  border-radius: 12px;
  font-size: 14px;
  background: #fffbfb;
  font-family: inherit;
}
.wr-field input[type="text"]:focus,
.wr-field textarea:focus {
  outline: none;
  border-color: #f0a9ba;
  background: #fff;
}
.wr-field textarea { resize: vertical; }

.wr-star-input { display: flex; gap: 6px; font-size: 30px; }
.wr-star-input button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: #e6d3d6;
  line-height: 1;
  transition: transform .1s;
}
.wr-star-input button:hover { transform: scale(1.15); }
.wr-star-input button.is-active { color: #f0a94e; }

.wr-photo-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff0f3;
  border: 1px solid #f5c3cf;
  color: #c9718a;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  cursor: pointer;
  font-weight: bold;
}
.wr-photo-btn:hover { background: #ffe3e8; }
.wr-photo-preview {
  display: none;
  max-width: 140px;
  max-height: 140px;
  border-radius: 12px;
  margin-top: 10px;
  object-fit: cover;
}
.wr-photo-remove {
  display: none;
  font-size: 12px;
  color: #b7a2a6;
  background: none;
  border: none;
  text-decoration: underline;
  cursor: pointer;
  margin-top: 6px;
}

.wr-submit {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 13px;
  background: linear-gradient(135deg, #f2a6b8, #eb8fa6);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 15px;
  font-weight: bold;
  letter-spacing: .05em;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(235, 143, 166, 0.35);
}
.wr-submit:hover { filter: brightness(1.04); }
.wr-submit:disabled { opacity: .6; cursor: default; }

.wr-message { text-align: center; font-size: 13px; margin-top: 12px; min-height: 1.2em; }
