/*
 * The Reviews section at the foot of a product page (js/ej-reviews.js,
 * 2026-10-28). Not part of the Claude Design export; colours, type and the
 * thin top rule are taken from the "You might also like" section above it so
 * the two read as one page.
 */
.ej-rv {
  margin-top: -48px;
  padding: 32px 0 96px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: inset 0 1px 0 rgba(232, 218, 203, 0.14);
  color: #F5EBE2;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}
.ej-rv-h { margin: 0; font-family: Syne, sans-serif; font-size: 20px; font-weight: 700; color: #F5EBE2; }

.ej-rv-stars { display: inline-flex; gap: 2px; font-size: 15px; line-height: 1; letter-spacing: 0; }
.ej-rv-stars .on { color: #F0B6C9; }
.ej-rv-stars .off { color: rgba(245, 235, 226, 0.22); }
.ej-rv-stars.big { font-size: 20px; }

.ej-rv-sum { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; color: #C9A9A5; }
.ej-rv-none { color: #A98795; font-weight: 500; }

.ej-rv-write { display: flex; flex-direction: column; align-items: flex-start; }
.ej-rv-note { max-width: 620px; font-size: 14.5px; line-height: 1.6; color: #C9A9A5; }
.ej-rv-thanks {
  padding: 14px 18px; border-radius: 14px; background: #2A0C1B; color: #F5EBE2;
  box-shadow: inset 0 0 0 1px rgba(240, 182, 201, 0.25);
}
.ej-rv-thanks strong { color: #F0B6C9; }
.ej-rv-link {
  padding: 0; border: none; background: none; color: #F0B6C9; font: inherit; font-weight: 700;
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}

.ej-rv-go {
  height: 44px; padding: 0 22px; border: none; border-radius: 999px; background: #D98BA8; color: #2A0C1B;
  font-family: inherit; font-size: 14px; font-weight: 700; cursor: pointer;
}
.ej-rv-go:hover { background: #E7A2BC; }
.ej-rv-go:disabled { opacity: 0.6; cursor: default; }
.ej-rv-cancel {
  height: 44px; padding: 0 18px; border: none; border-radius: 999px; background: #2A0C1B; color: #F0B6C9;
  font-family: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer;
}
.ej-rv-cancel:hover { background: #3A1226; }

.ej-rv-form {
  width: min(620px, 100%); box-sizing: border-box; display: flex; flex-direction: column; gap: 8px;
  padding: 20px; border-radius: 18px; background: #1B0E28; border: 1px solid #33203F;
}
.ej-rv-label { margin-top: 6px; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #A98795; }
.ej-rv-label span { text-transform: none; letter-spacing: 0; font-weight: 500; }
.ej-rv-in {
  width: 100%; box-sizing: border-box; padding: 11px 14px; border-radius: 12px; border: 1px solid #33203F;
  background: #150B20; color: #F5EBE2; font-family: inherit; font-size: 15px; line-height: 1.5;
}
textarea.ej-rv-in { resize: vertical; min-height: 110px; }
.ej-rv-in:focus { outline: none; border-color: #D98BA8; }

.ej-rv-picker { display: flex; gap: 4px; }
.ej-rv-pick {
  width: 40px; height: 40px; padding: 0; border: none; border-radius: 10px; background: none;
  font-size: 28px; line-height: 1; color: rgba(245, 235, 226, 0.22); cursor: pointer;
}
.ej-rv-pick.on { color: #F0B6C9; }
.ej-rv-pick:focus-visible { outline: 2px solid #D98BA8; }

.ej-rv-ups { display: flex; flex-wrap: wrap; gap: 10px; }
.ej-rv-up { position: relative; width: 76px; height: 76px; border-radius: 10px; overflow: hidden; background: #2A0C1B; }
.ej-rv-up img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ej-rv-up button {
  position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; padding: 0; border: none; border-radius: 999px;
  background: rgba(21, 11, 32, 0.85); color: #F5EBE2; font-size: 15px; line-height: 1; cursor: pointer;
}
.ej-rv-add {
  display: inline-flex; align-items: center; justify-content: center; height: 76px; padding: 0 16px; border-radius: 10px;
  border: 1px dashed #5A3A55; color: #F0B6C9; font-size: 13px; font-weight: 700; cursor: pointer;
}
.ej-rv-add:hover { border-color: #D98BA8; }

.ej-rv-err { margin-top: 4px; font-size: 13.5px; font-weight: 600; color: #F7A1A1; }
.ej-rv-actions { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.ej-rv-small { margin: 4px 0 0; font-size: 12.5px; color: #A98795; }

.ej-rv-list { display: flex; flex-direction: column; gap: 0; max-width: 760px; }
.ej-rv-item { display: flex; flex-direction: column; gap: 8px; padding: 18px 0; box-shadow: inset 0 1px 0 rgba(232, 218, 203, 0.08); }
.ej-rv-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ej-rv-title { font-size: 15px; font-weight: 700; color: #F5EBE2; }
.ej-rv-body { margin: 0; font-size: 15px; line-height: 1.7; color: #C9A9A5; white-space: pre-line; overflow-wrap: anywhere; }
.ej-rv-who { font-size: 12.5px; font-weight: 600; color: #A98795; }
.ej-rv-verified { color: #D98BA8; }
.ej-rv-photos { display: flex; flex-wrap: wrap; gap: 8px; }
.ej-rv-thumb { width: 84px; height: 84px; padding: 0; border: none; border-radius: 10px; overflow: hidden; background: #2A0C1B; cursor: zoom-in; }
.ej-rv-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.ej-rv-lb {
  position: fixed; inset: 0; z-index: 95; display: flex; align-items: center; justify-content: center;
  padding: 24px; box-sizing: border-box; background: rgba(10, 4, 16, 0.86); cursor: zoom-out;
}
.ej-rv-lb img { max-width: 100%; max-height: 100%; border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); }
.ej-rv-lb button {
  position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border: none; border-radius: 999px;
  background: #1B0E28; color: #F5EBE2; font-size: 24px; line-height: 1; cursor: pointer;
}

@media (max-width: 560px) {
  .ej-rv { padding-bottom: 72px; }
  .ej-rv-form { padding: 16px; }
  .ej-rv-thumb { width: 72px; height: 72px; }
}
