/* ── MeraRanng Engage Styles ── */
:root {
  --mre-red: #c0392b;
  --mre-light: #fdf0ee;
  --mre-border: #f0d5d2;
  --mre-text: #2d2d2d;
  --mre-muted: #666;
  --mre-radius: 14px;
}

/* ── Share Bar ── */
.mre-share-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 16px 20px;
  background: #f9f9f9;
  border-radius: var(--mre-radius);
  margin: 28px 0 20px;
  border: 1px solid #eee;
}
.mre-share-label {
  font-size: 13px;
  color: var(--mre-muted);
  font-weight: 500;
  margin-right: 4px;
}
.mre-wa-btn, .mre-tw-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.15s;
  border: none;
  cursor: pointer;
}
.mre-wa-btn {
  background: #25d366;
  color: #fff !important;
}
.mre-wa-btn:hover { background: #1da851; transform: translateY(-1px); }
.mre-tw-btn {
  background: #000;
  color: #fff !important;
}
.mre-tw-btn:hover { background: #333; transform: translateY(-1px); }

/* ── Reactions ── */
.mre-reactions {
  padding: 22px 24px;
  background: var(--mre-light);
  border: 1px solid var(--mre-border);
  border-radius: var(--mre-radius);
  margin: 20px 0;
  text-align: center;
}
.mre-react-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--mre-text);
  margin-bottom: 14px;
}
.mre-react-btns {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.mre-react {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  background: #fff;
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 10px 14px;
  cursor: pointer;
  transition: all 0.18s;
  min-width: 58px;
}
.mre-react:hover {
  border-color: var(--mre-red);
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(192,57,43,.12);
}
.mre-react.mre-active {
  border-color: var(--mre-red);
  background: #fff5f4;
}
.mre-emoji { font-size: 24px; line-height: 1; }
.mre-rcount {
  font-size: 12px;
  font-weight: 600;
  color: var(--mre-muted);
}
.mre-react.mre-active .mre-rcount { color: var(--mre-red); }

/* ── Newsletter inline block ── */
.mre-newsletter-inline {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  padding: 24px;
  background: linear-gradient(135deg, #fff5f4 0%, #fff 100%);
  border: 1.5px solid var(--mre-border);
  border-radius: var(--mre-radius);
  margin: 20px 0 28px;
}
.mre-nl-icon { font-size: 32px; flex-shrink: 0; margin-top: 2px; }
.mre-nl-text { flex: 1; min-width: 180px; }
.mre-nl-text strong { font-size: 16px; color: var(--mre-text); display: block; margin-bottom: 4px; }
.mre-nl-text p { font-size: 13px; color: var(--mre-muted); margin: 0; line-height: 1.5; }
.mre-nl-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  flex: 2;
  min-width: 240px;
}
.mre-nl-input {
  flex: 1;
  min-width: 140px;
  padding: 10px 14px;
  border: 1.5px solid var(--mre-border);
  border-radius: 50px;
  font-size: 13px;
  outline: none;
  transition: border-color .15s;
  background: #fff;
  color: var(--mre-text);
}
.mre-nl-input:focus { border-color: var(--mre-red); }
.mre-nl-btn {
  padding: 10px 22px;
  background: var(--mre-red);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s;
}
.mre-nl-btn:hover { background: #a93226; }
.mre-nl-msg {
  width: 100%;
  font-size: 13px;
  padding: 4px 0;
  display: none;
}
.mre-nl-msg.success { color: #27ae60; }
.mre-nl-msg.error   { color: var(--mre-red); }

/* ── Push prompt bar (shown after subscribe) ── */
.mre-push-bar {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: #1a1a2e;
  border-radius: var(--mre-radius);
  margin: 16px 0;
  flex-wrap: wrap;
}
.mre-push-bar p {
  flex: 1;
  margin: 0;
  font-size: 13px;
  color: #f0ede8;
  min-width: 180px;
}
.mre-push-btn {
  padding: 8px 18px;
  background: #e8c97e;
  color: #1a1a2e;
  border: none;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s;
}
.mre-push-btn:hover { background: #c4a55a; }

/* ── Mobile responsive ── */
@media (max-width: 600px) {
  .mre-share-bar { padding: 12px 16px; }
  .mre-newsletter-inline { flex-direction: column; gap: 12px; padding: 18px; }
  .mre-nl-form { min-width: 100%; }
  .mre-react { min-width: 48px; padding: 8px 10px; }
  .mre-emoji { font-size: 20px; }
  .mre-reactions { padding: 16px 12px; }
}
