/* RomsFull-Components-v2.0.css | Autor: Robinson Avila | By: WinDroidMODs */

/* ===== COMENTARIOS ===== */
.comments { margin-top: 30px; }
.comments h4.title { font-family: 'Oswald', sans-serif; font-size: 1.2rem; margin-bottom: 20px; color: #f5f5f5; display: flex; align-items: center; gap: 10px; }
.comments h4.title::before { content: ''; width: 4px; height: 20px; background: linear-gradient(135deg, #FF5722 0%, #E64A19 100%); border-radius: 3px; }
.comment { display: flex; gap: 1rem; padding: 14px 0; border-bottom: 1px solid #1e1e2e; }
.comment-avatar { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; flex-shrink: 0; border: 2px solid #1e1e2e; }
.comment-avatar img { width: 100%; height: 100%; object-fit: cover; }
.comment-block { flex: 1; min-width: 0; }
.comment-header { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin-bottom: 0.5rem; }
.comment-author { font-weight: 600; color: #f5f5f5; font-size: 0.9rem; }
.comment-time { font-size: 0.72rem; color: #9e9e9e; }
.comment-content { font-size: 0.9rem; line-height: 1.65; color: #e0e0e0; }
.comment-content a { color: #FF5722; }
.comment-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 0.6rem; }
.comment-reply-button { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.78rem; color: #FF5722; cursor: pointer; background: transparent; border: 1px solid #1e1e2e; padding: 4px 12px; border-radius: 20px; font-family: inherit; transition: all .25s; }
.comment-reply-button:hover { background: rgba(255,87,34,0.08); border-color: #FF5722; }
.comment-toggle-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 14px 22px; background: #0f0f0f; border: 1px solid #1e1e2e; border-radius: 12px; color: #FF5722; font-family: inherit; font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: all .25s; margin-top: 1.5rem; }
.comment-toggle-btn:hover { background: rgba(255,87,34,0.05); border-color: #FF5722; transform: translateY(-1px); }
.comment-form-wrapper { display: none; margin-top: 1.5rem; }
.comment-form-wrapper.show { display: block; }
.comment-form { padding: 22px; background: #0f0f0f; border-radius: 12px; border: 1px solid #1e1e2e; }
#comment-editor { width: 100% !important; min-height: 200px; background: #000000; border: 1px solid #1e1e2e; border-radius: 10px; }
.reply-notice { display: none; margin-bottom: 1rem; padding: 0.75rem 1rem; background: rgba(255,87,34,0.08); border-left: 4px solid #FF5722; border-radius: 8px; color: #FF5722; font-size: 0.88rem; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.reply-notice.show { display: flex; }
.cancel-reply-btn { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.78rem; font-weight: 600; padding: 0.35rem 1rem; border-radius: 50px; background: rgba(239, 68, 68, 0.1); border: 1px solid #ef4444; color: #ef4444; cursor: pointer; transition: all .25s; margin-left: auto; font-family: inherit; }
.cancel-reply-btn:hover { background: rgba(239, 68, 68, 0.2); }

/* ===== RESPUESTAS ANIDADAS ===== */
.comment-replies-label { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.8rem; color: #FF5722; cursor: pointer; background: transparent; border: none; font-family: inherit; }
.comment-replies-label:hover { color: #E64A19; }
.comment-replies-label i { font-size: 0.9rem; }
.comment-toggle { display: none; }
.comment-toggle:not(:checked) ~ .comments-replies { display: none; }
.comments-replies { margin-top: 1rem; padding-left: 1.5rem; border-left: 2px solid #1e1e2e; display: flex; flex-direction: column; gap: 1rem; }

/* ===== BREADCRUMBS ===== */
.breadcrumbs { font-size: 0.82rem; margin-bottom: 14px; color: #9e9e9e !important; padding: 10px 14px; background: #0f0f0f !important; border: 1px solid #1e1e2e !important; border-radius: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.breadcrumbs a { color: #FF5722 !important; }
.breadcrumbs .separator { margin: 0 4px; color: #9e9e9e !important; }
.breadcrumbs .current { color: #f5f5f5 !important; font-weight: 500; }

/* ===== WIDGET WHATSAPP ===== */
#whatsapp-floating-widget { position: fixed; bottom: 30px; left: 30px; z-index: 9999; }
#whatsapp-floating-widget a { display: flex; align-items: center; justify-content: center; background: #25D366; color: #fff; width: 60px; height: 60px; border-radius: 50%; text-align: center; box-shadow: 0 4px 20px rgba(37,211,102,.3); position: relative; text-decoration: none; transition: transform 0.3s, background 0.3s; }
#whatsapp-floating-widget a:hover { background: #128C7E; transform: scale(1.1); }
.whatsapp-icon { width: 32px; height: 32px; display: block; }
#whatsapp-floating-widget .tooltip { position: absolute; left: 75px; top: 50%; transform: translateY(-50%); background: #25D366; color: #fff; padding: 8px 15px; border-radius: 25px; font-size: 14px; white-space: nowrap; opacity: 0; transition: all .3s ease; pointer-events: none; visibility: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.1); }
#whatsapp-floating-widget .tooltip:after { content: ''; position: absolute; right: 100%; top: 50%; transform: translateY(-50%); border-width: 6px; border-style: solid; border-color: transparent #25D366 transparent transparent; }
#whatsapp-floating-widget a:hover .tooltip { opacity: 1; visibility: visible; left: 85px; }

/* ===== TEMA CLARO (componentes) ===== */
body.light-theme .comments h4.title { color: #111111; }
body.light-theme .comment { border-bottom-color: #e2e8f0; }
body.light-theme .comment-avatar { border-color: #e2e8f0; }
body.light-theme .comment-author { color: #111111; }
body.light-theme .comment-time { color: #64748b; }
body.light-theme .comment-content { color: #111111; }
body.light-theme .comment-reply-button { border-color: #e2e8f0; }
body.light-theme .comment-toggle-btn { background: #ffffff; border-color: #e2e8f0; }
body.light-theme .comment-form { background: #f9f9f9; border-color: #e2e8f0; }
body.light-theme #comment-editor { background: #ffffff; border-color: #e2e8f0; }
body.light-theme .breadcrumbs { background: #ffffff !important; border-color: #e2e8f0 !important; color: #64748b !important; }
body.light-theme .breadcrumbs .current { color: #111111 !important; }
body.light-theme .comment-replies-label { color: #FF5722; }
body.light-theme .comments-replies { border-left-color: #e2e8f0; }

@media (max-width: 768px) {
  #whatsapp-floating-widget { left: 15px; bottom: 20px; }
  #whatsapp-floating-widget a { width: 55px; height: 55px; }
  .whatsapp-icon { width: 28px; height: 28px; }
  #whatsapp-floating-widget .tooltip { left: 65px; font-size: 13px; }
  #whatsapp-floating-widget a:hover .tooltip { left: 70px; }
}
