/* ============================================================
   NayServes product reviews — styles (signature style)
   © 2026 NayServes
   ============================================================ */
.ns-reviews {
  --ns-bg: #ffffff; --ns-card: #ffffff; --ns-head: #f4eefc; --ns-border: #e7dff5;
  --ns-pink: #ff5fa8; --ns-lav: #7d5cc9; --ns-mint: #5ef2c2; --ns-title: #2b2250; --ns-text: #4c4470; --ns-muted: #8b82a8;
  --ns-on-pink: #2b1438;
  font-family: 'Outfit', system-ui, sans-serif;
  color: var(--ns-text);
  max-width: 980px;
  margin: 0 auto;
}
.ns-reviews *, .ns-reviews *::before, .ns-reviews *::after { box-sizing: border-box; }
.ns-pix { font-family: 'Silkscreen', monospace; text-transform: uppercase; letter-spacing: .12em; }
.ns-h { font-family: 'Bebas Neue', 'Fredoka', sans-serif; color: var(--ns-title); letter-spacing: .02em; margin: 0; }

/* layout */
.ns-r-top { display: grid; grid-template-columns: 320px 1fr; gap: 22px; align-items: start; }
@media (max-width: 760px) { .ns-r-top { grid-template-columns: 1fr; } }
.ns-panel { background: var(--ns-card); border: 2px solid var(--ns-border); border-radius: 22px; padding: 22px; }

/* summary */
.ns-r-score { display: flex; align-items: center; gap: 14px; }
.ns-r-avg { font-family: 'Bebas Neue', sans-serif; font-size: 72px; line-height: .9; color: var(--ns-title); }
.ns-r-count { margin-top: 6px; font-size: 14px; color: var(--ns-muted); }
.ns-r-bars { margin-top: 18px; display: grid; gap: 8px; }
.ns-r-bar { display: grid; grid-template-columns: 34px 1fr 30px; gap: 10px; align-items: center; font-size: 13px; }
.ns-r-bar .ns-pix { font-size: 11px; color: var(--ns-lav); }
.ns-r-track { height: 10px; border-radius: 10px; background: var(--ns-head); overflow: hidden; }
.ns-r-fill { height: 100%; background: linear-gradient(90deg, var(--ns-pink), var(--ns-lav)); border-radius: 10px; }
.ns-r-bar span:last-child { text-align: right; color: var(--ns-muted); }

/* pixel stars */
.ns-stars { display: inline-flex; gap: 3px; vertical-align: middle; }
.ns-star { width: 18px; height: 18px; display: block; }
.ns-star.on path { fill: var(--ns-pink); }
.ns-star.off path { fill: #e3d9f5; }
.ns-stars.lg .ns-star { width: 26px; height: 26px; }

/* buttons */
.ns-btn { font: 800 15px 'Outfit', sans-serif; border: 0; cursor: pointer; border-radius: 999px; padding: 12px 20px; transition: transform .12s, box-shadow .12s; }
.ns-btn:focus-visible { outline: 3px solid var(--ns-lav); outline-offset: 3px; }
.ns-btn.pink { background: var(--ns-pink); color: var(--ns-on-pink); box-shadow: 0 6px 18px rgba(255, 95, 168, .35); }
.ns-btn.pink:hover { transform: translateY(-1px); }
.ns-btn.ghost { background: transparent; color: var(--ns-title); border: 2px solid var(--ns-border); }
.ns-btn.ghost:hover { border-color: var(--ns-pink); }
.ns-btn[disabled] { opacity: .6; cursor: wait; }
.ns-r-write { width: 100%; margin-top: 18px; }

/* form */
.ns-r-form { display: none; }
.ns-r-form.open { display: block; }
.ns-r-form h3 { font-size: 34px; }
.ns-field { margin-top: 14px; }
.ns-field label, .ns-field .ns-label { display: block; font-weight: 800; font-size: 14px; color: var(--ns-title); margin-bottom: 7px; }
.ns-field small { font-weight: 600; color: var(--ns-muted); }
.ns-field input, .ns-field textarea {
  width: 100%; font: 600 15px 'Outfit', sans-serif; color: var(--ns-title);
  background: var(--ns-head); border: 2px solid var(--ns-border); border-radius: 12px; padding: 11px 14px;
}
.ns-field textarea { min-height: 120px; resize: vertical; }
.ns-field input:focus, .ns-field textarea:focus { outline: none; border-color: var(--ns-pink); }
.ns-counter { text-align: right; font-size: 12px; color: var(--ns-muted); margin-top: 4px; }
.ns-pick { display: inline-flex; gap: 6px; }
.ns-pick button { background: none; border: 0; padding: 2px; cursor: pointer; border-radius: 6px; }
.ns-pick button:focus-visible { outline: 3px solid var(--ns-lav); }
.ns-pick .ns-star { width: 34px; height: 34px; }
.ns-pick-label { margin-left: 10px; font-size: 12px; color: var(--ns-lav); }
.ns-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ns-err { color: #d93a82; font-weight: 700; font-size: 13px; margin-top: 6px; min-height: 1em; }
.ns-r-actions { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.ns-r-thanks { display: none; text-align: center; padding: 26px 10px; }
.ns-r-thanks.show { display: block; }
.ns-r-thanks h3 { font-size: 40px; }

/* list */
.ns-r-listhead { display: flex; justify-content: space-between; align-items: center; margin: 30px 0 14px; gap: 12px; flex-wrap: wrap; }
.ns-r-listhead h3 { font-size: 40px; }
.ns-select { font: 700 14px 'Outfit', sans-serif; color: var(--ns-title); background: var(--ns-card); border: 2px solid var(--ns-border); border-radius: 12px; padding: 9px 12px; }
.ns-r-list { display: grid; gap: 14px; }
.ns-r-card { background: var(--ns-card); border: 2px solid var(--ns-border); border-radius: 20px; padding: 18px 20px; }
.ns-r-card-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ns-ava { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-family: 'Silkscreen', monospace; font-size: 18px; color: #fff; background: linear-gradient(135deg, #c9a8ff, var(--ns-pink)); flex: none; }
.ns-r-name { font-weight: 800; color: var(--ns-title); }
.ns-r-date { font-size: 12px; color: var(--ns-muted); }
.ns-badge { font-size: 10px; padding: 4px 8px; border-radius: 6px; background: var(--ns-mint); color: #1c1736; }
.ns-badge.sample { background: #ffd1a8; }
.ns-r-card-stars { margin-left: auto; }
.ns-r-title { margin: 12px 0 6px; font-weight: 800; font-size: 17px; color: var(--ns-title); }
.ns-r-body { margin: 0; line-height: 1.6; white-space: pre-line; overflow-wrap: anywhere; }
.ns-r-empty { text-align: center; padding: 30px; color: var(--ns-muted); }
.ns-r-more { display: block; margin: 18px auto 0; }
.ns-r-demo { margin-top: 14px; font-size: 12px; text-align: center; color: #b86a2a; }

/* ---------- latest-review chat bubbles (home page) ---------- */
.ns-review-bubbles {
  --ns-head: #f4eefc; --ns-border: #e7dff5; --ns-pink: #ff5fa8; --ns-lav: #7d5cc9; --ns-mint: #5ef2c2; --ns-title: #2b2250; --ns-text: #4c4470;
  display: flex; flex-direction: column; gap: 12px; font-family: 'Outfit', system-ui, sans-serif;
}
.ns-bubble-row { display: flex; align-items: flex-end; gap: 10px; }
.ns-bubble-row.right { flex-direction: row-reverse; }
.ns-bubble { position: relative; background: #fff1f8; color: #3a2f66; border: 2px solid #ffd9ea; border-radius: 18px 18px 18px 4px; padding: 10px 14px; max-width: 88%; }
.ns-bubble-row.right .ns-bubble { border-radius: 18px 18px 4px 18px; background: #f5efff; border-color: #e6dafc; }
.ns-bubble p { margin: 4px 0 0; font-size: 14px; line-height: 1.45; }
.ns-bubble-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ns-bubble .ns-r-name { color: #2b2250; font-size: 14px; }
.ns-bubble .ns-star { width: 13px; height: 13px; }
.ns-bubble .ns-star.off path { fill: #d9cdf5; }
.ns-bubble-empty { color: var(--ns-lav); font-size: 14px; text-align: center; padding: 18px; border: 2px dashed var(--ns-border); border-radius: 16px; }.ns-badge.etsy { background: #ffe1cf; color: #a3400f; }
.ns-bubble-product { margin-top: 4px; font-family: 'Silkscreen', monospace; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; color: #8b82a8; }