/* ================================================================
   MURO — wall popup styles (from _muro.scss, not in app.scss)
   ================================================================ */

body.modal-open { overflow: hidden; touch-action: none; }

/* ── Promo overlay ── */
.p-muro-page .promo-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.6); display: none; align-items: center; justify-content: center; z-index: 9999; padding: 16px; }
.p-muro-page .promo-overlay.is-open { display: flex; }

.p-muro-page .promo-modal { width: 100%; max-width: 520px; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,.25); display: flex; flex-direction: column; }
.p-muro-page .promo-header { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-bottom: 1px solid #eee; }
.p-muro-page .promo-title { font: 600 16px/1.2 inherit; margin: 0; }
.p-muro-page .promo-close { appearance: none; border: 0; background: transparent; font-size: 48px; line-height: 1; cursor: pointer; color: #000; font-weight: bold; }

/* ── Flexslider dentro del popup ── */
.p-muro-page .flexslider { margin: 0; border: 0; touch-action: pan-y; }
.p-muro-page .flexslider .slides img { width: 100%; display: block; -webkit-user-drag: none; user-select: none; -webkit-touch-callout: none; }
.p-muro-page .slide-caption { padding: 12px 14px 16px; }
.p-muro-page .slide-caption h3 { margin: 0 0 6px; font: 700 18px/1.2 inherit; }
.p-muro-page .slide-caption p  { margin: 0; color: #444; font: 400 14px/1.45 inherit; }

.p-muro-page .flex-control-paging li a { width: 10px; height: 10px; }
.p-muro-page .flex-direction-nav a:before { content: none !important; }
.p-muro-page .flex-direction-nav a { position: absolute; top: 50%; transform: translateY(-50%); width: 60px !important; height: 60px !important; line-height: 40px !important; text-align: center; background: none; font-size: 60px !important; font-weight: bold; color: #E27E26 !important; border-radius: 999px; opacity: 0; text-decoration: none; }
.p-muro-page .flexslider:hover .flex-direction-nav a { opacity: 0; }
.p-muro-page .flexslider:hover .flex-direction-nav .flex-next:hover,
.p-muro-page .flexslider:hover .flex-direction-nav .flex-prev:hover { background: none; }
.p-muro-page .flex-nav-prev a.flex-prev { left: 8px; }
.p-muro-page .flex-nav-next a.flex-next { right: 8px; }
@media (hover: none) {
  .p-muro-page .flex-direction-nav a { opacity: 1; }
}

/* ── Acciones por slide ── */
.p-muro-page .promo-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; border-top: 1px solid #eee; padding: 10px 12px; }
.p-muro-page .action-btn { display: inline-flex; align-items: center; gap: 8px; border: 0; background: transparent; padding: 10px 12px; border-radius: 999px; cursor: pointer; font: 600 14px/1 inherit; color: #222; transition: background .15s ease, transform .08s ease; touch-action: manipulation; }
.p-muro-page .action-btn:active { transform: scale(0.98); }
.p-muro-page .action-btn svg { width: 25px; height: 25px; display: block; }
.p-muro-page .action-like.is-liked { color: #e53935; }
.p-muro-page .action-like.is-liked svg path { fill: currentColor; }
.p-muro-page .action-count { font-weight: 600; cursor: pointer; }

.p-muro-page .action-plus { border: 0; background: transparent; font-weight: 900; font-size: 18px; line-height: 1; padding: 6px 8px; cursor: pointer; color: #444; border-radius: .5rem; opacity: .5; }
.p-muro-page .action-plus:disabled { cursor: default; opacity: .35; }
.p-muro-page .action-plus:hover:not(:disabled) { opacity: .85; background: rgba(0,0,0,.06); }
.p-muro-page .icon-24 { width: 24px; height: 24px; display: block; }

/* ── Comentarios por slide ── */
.p-muro-page .comment-wrap { display: none; padding: 8px 12px 12px; border-top: 1px solid #eee; position: relative; z-index: 1; }
.p-muro-page .comment-wrap.is-open { display: block; }
.p-muro-page .comment-form { display: flex; gap: 8px; }
.p-muro-page .comment-form textarea { flex: 1; min-height: 64px; resize: vertical; border: 1px solid #ddd; border-radius: 8px; padding: 8px; font: inherit; }
.p-muro-page .comment-form button[type="submit"] { align-self: flex-end; border: 0; border-radius: 8px; padding: 8px 12px; background: #111; color: #fff; font-weight: 700; cursor: pointer; font-size: 13px; }
.p-muro-page .comment-close { border: 0; background: transparent; color: #000; cursor: pointer; padding: 0; border-radius: 6px; font: 900 16px/1 inherit; font-size: 22px; position: absolute; margin-right: -30px; }
.p-muro-page .comment-close:hover { background: #f2f2f2; }
.p-muro-page .btn-comment { touch-action: manipulation; }
.p-muro-page .wall-card { position: relative; z-index: 2; }

/* ── Sheet de likes / comentarios ── */
.p-muro-page .likes-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.4); display: none; align-items: flex-end; justify-content: center; z-index: 10000; padding: 16px; }
.p-muro-page .likes-overlay.is-open { display: flex; }
.p-muro-page .likes-sheet { width: 100%; max-width: 520px; background: #fff; border-radius: 16px 16px 12px 12px; box-shadow: 0 10px 40px rgba(0,0,0,.25); overflow: hidden; display: flex; flex-direction: column; max-height: 70vh; }
.p-muro-page .likes-header { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid #eee; }
.p-muro-page .likes-header h3 { margin: 0; font: 700 16px/1 inherit; }
.p-muro-page .likes-close { border: 0; background: transparent; font-size: 22px; cursor: pointer; }
.p-muro-page .likes-list { list-style: none; margin: 0; padding: 0; overflow: auto; }
.p-muro-page .likes-item { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid #f4f4f4; }
.p-muro-page .likes-item img { width: 36px; height: 36px; border-radius: 999px; object-fit: cover; }
.p-muro-page .likes-meta { display: flex; flex-direction: column; }
.p-muro-page .likes-meta .name { font-weight: 700; font-size: 14px; }
.p-muro-page .likes-meta .sub { color: #666; font-size: 12px; }
.p-muro-page .likes-footer { padding: 10px 14px; border-top: 1px solid #eee; }
.p-muro-page #likesLoadMore,
.p-muro-page #commentsLoadMore { width: 100%; border: 1px solid #ddd; background: #fafafa; border-radius: 8px; padding: 8px 12px; cursor: pointer; }
.p-muro-page #likesLoadMore:disabled,
.p-muro-page #commentsLoadMore:disabled { opacity: .6; cursor: default; }
.p-muro-page .likes-empty { padding: 14px; color: #666; }

/* ── Responsive ── */
@media (max-width: 420px) {
  .p-muro-page .promo-modal { max-width: 94vw; }
  .p-muro-page .promo-header,
  .p-muro-page .slide-caption { padding: 10px; }
  .p-muro-page .flex-direction-nav a { width: 40px !important; height: 40px !important; line-height: 40px !important; font-size: 24px !important; }
  .p-muro-page .action-btn { padding: 10px; }
}
