/* Shared review card styles — dashboard + /reviews + product page. */

.review-card-wrap { width:100%; min-width:0; }

.review-card {
  background:#f3f4f5;
  border-radius:12px;
  padding:24px;
  width:100%;
  box-sizing:border-box;
  transition:background 0.2s;
}

.review-card-header {
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  margin-bottom:16px;
}
.review-card-who {}
.review-card-name { font-size:15px; font-weight:600; color:#191c1d; }
.review-card-date { font-size:12px; color:#737785; margin-top:2px; }
.review-card-stars { color:#eab308; font-size:18px; line-height:1; flex-shrink:0; }

.review-card-inner {
  background:#fff;
  border-radius:8px;
  padding:24px;
  box-shadow:0 1px 3px rgba(0,0,0,0.06);
  display:flex;
  gap:24px;
  align-items:flex-start;
}
.review-card-thumb {
  max-width:160px;
  width:auto;
  height:auto;
  max-height:200px;
  border-radius:6px;
  flex-shrink:0;
}
.review-card-content { flex:1; min-width:0; }
.review-card-product-name {
  display:block;
  font-size:13px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:0.05em;
  margin-bottom:10px;
  text-decoration:none;
}
.review-card-body {
  font-size:15px;
  color:#191c1d;
  line-height:1.7;
  margin:0;
}

.review-card-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.review-card-photo {
  display: block;
  line-height: 0;
}
.review-card-photo img {
  max-width: 240px;
  max-height: 320px;
  width: auto;
  height: auto;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
  display: block;
}

.review-card-reply {
  display:flex;
  gap:12px;
  align-items:flex-start;
  margin-top:16px;
  padding:14px 16px;
  background:#f9f9fa;
  border-radius:8px;
}
.review-card-reply .fa-reply { color:#999; font-size:14px; margin-top:2px; flex-shrink:0; }
.review-card-reply strong {
  display:block;
  font-size:12px;
  font-weight:600;
  color:#555;
  margin-bottom:4px;
}
.review-card-reply p { margin:0; font-size:14px; color:#333; line-height:1.6; }

/* Dashboard-only: row becomes clickable to edit. */
.dash-reviews-list .review-card { cursor:pointer; }
.dash-reviews-list .review-card:hover { background:#e7e8e9; }

/* Public lists — stack cards with breathing room. */
.field--name-field-reviews .comment + .comment,
.view-all-reviews .views-row + .views-row { margin-top:24px; }
